Commit Graph

159 Commits

Author SHA1 Message Date
saijanai.kuhn
39ca984d97 2008-10-28 04:33:55 +00:00
saijanai.kuhn
89beef6783 block.block_type vs block.type issues 2008-10-28 04:24:54 +00:00
saijanai.kuhn
7a8a2db145 Added string arrays and class methods to output human understandable variable types 2008-10-28 04:21:36 +00:00
saijanai.kuhn
1d2a6912f6 Changed block.typ-e to block.block_type to make instance name consistent throughout libraries. Added/changed some extra formatting code in __main__ and test functions 2008-10-28 04:17:11 +00:00
saijanai.kuhn
86fba6151a More deubgged code. This may have been committed already, but I took debugging print calls out and gave slightly more clear explanations for things 2008-10-28 04:09:09 +00:00
saijanai.kuhn
134ebc0d3f Added output variables _as_string for disp0lay convenience. Added var_type paramter for tracking the type for dispaly convenience. 2008-10-27 23:20:36 +00:00
saijanai.kuhn
826dc963b1 reformatted template file to work with Lock's Q&D parser. Tao is working on a better solution in the long run using a generic parser based on the indra code/ 2008-10-27 23:10:18 +00:00
saijanai.kuhn
a962a39d8a This is a drop-i replacement for the original test_packets.py script. It adds a test for the ObjectUpdate packet, simple timing, and a sample pretty printer routine for packets. Only tested with the ObjectUpdate packet, however 2008-10-27 23:08:21 +00:00
tao.takashi
ccdf69cf5c fixed version number and dependancies 2008-10-18 14:16:52 +00:00
tao.takashi
b81eec4a9a fixed base class 2008-10-18 14:15:51 +00:00
enus.linden
e61c01d262 oops, left test nonsense in ad.py 2008-10-15 20:22:24 +00:00
enus.linden
e47aa2bb21 updated rez_avatar/place param to public_region_seed_capability per http://wiki.secondlife.com/wiki/OGP_Teleport_Draft_5 2008-10-15 19:43:03 +00:00
saijanai.kuhn
17c24fd4b9 Corrected issue with zero-deencode where the packet number of was evaluated before decoding was done. 0xff ff 00 01 94 was being evaluated as 0xff ff 00 01 (TestMessage) instead of 0xff ff 00 94 (UpdateRegionHandle) 2008-10-15 16:25:30 +00:00
enus.linden
2cb390ec64 adding some minimal logging to messaging 2008-10-14 17:08:19 +00:00
enus.linden
8910c39a9e don't show passwords in logfiles, you never know who is watching 2008-10-07 16:50:32 +00:00
enus.linden
d197a7ac6e adding intial exceptions to message dir, replaced locklainns exceptions with custom ones 2008-10-01 08:42:11 +00:00
enus.linden
1973924b4e updates 2008-10-01 07:40:20 +00:00
enus.linden
c80357599f starter for legacy login unittest 2008-10-01 07:39:49 +00:00
enus.linden
326809d1a5 cleaning up some exceptions 2008-10-01 07:39:09 +00:00
enus.linden
9b2d132005 cleaning up some exceptions 2008-10-01 07:37:34 +00:00
enus.linden
fbfd119550 oops, we ned this file 2008-09-24 16:15:22 +00:00
enus.linden
7c9ca1a04b checking in initial legacy login work 2008-09-24 09:25:10 +00:00
enus.linden
88c0856af1 a little cleanup of region uri parsing, updating the tests for public_seed 2008-09-24 05:55:47 +00:00
enus.linden
c778864793 updates to accomodate Draft 3 of the OGP spec, http://wiki.secondlife.com/wiki/OGP_Draft_3 2008-09-24 04:49:43 +00:00
enus.linden
5417a25761 yep, i hate print statements 2008-09-20 05:05:29 +00:00
enus.linden
afceb61a6d typo fix 2008-09-20 05:04:07 +00:00
enus.linden
435e40bf6c fixing cap name in test 2008-09-17 04:10:12 +00:00
enus.linden
948ca79efa fixing broken .cfg file comments 2008-09-16 17:22:33 +00:00
enus.linden
0c5e9b67ea oh me, adding a bunch of license info to a bunch of files. i hope i don't break anything 2008-09-16 06:26:17 +00:00
enus.linden
4d6f2cd99d initial logging and exception handling changes 2008-09-16 00:03:48 +00:00
enus.linden
2785fe5e11 adding logging and exceptions to agentdomain.py and regiondomain.py 2008-09-05 19:48:18 +00:00
tao.takashi
59ae660704 added docstrings and made double underscores single ones as this is Python standard 2008-09-03 23:16:01 +00:00
tao.takashi
586bd74fda some cleanups and removed a dummy method. 2008-09-03 23:09:24 +00:00
tao.takashi
5663a8050f added docstring to class 2008-09-03 23:06:04 +00:00
tao.takashi
e1cfa90873 deleted msgdict.py as it seems not to be needed anymore. That stuff is now handled by template_parser etc. 2008-09-03 23:05:12 +00:00
tao.takashi
23446625ca some code beautifications 2008-09-03 23:00:27 +00:00
tao.takashi
6a6dd5fdb1 The big message system renaming:
- renamed all files starting with message_ to a name without message_
- exception: msgdict as dict is a reserved word
- moved all tests into the message/ directory
- changed all tests to use the new names
- changed all modules to use the new names
- shortened imports to not use the full path (pyogp.lib.base. but only the short path)
- removed makepacketdict.py as it's not needed anymore
- moved the data/ directory into message/ as it's local to the msg system

and some small cleanups on the way.

please run the tests!

I haven't adjusted pyogp.interop yet, Enus wanted to look after it.
2008-09-03 22:55:07 +00:00
tao.takashi
2126d9ca7f nop 2008-09-03 22:51:03 +00:00
tao.takashi
810e3d641e added distinction for plain and md5 credentials by adding a type attribute and making the deserializer notice the right fields in the credential LLSD string.
This is not the best solution though, better would be if the credential LLSD would contain a field saying
what sort of credential it is instead that we need to test for md5-password or password occurrence.
2008-09-03 22:50:19 +00:00
tao.takashi
841712246b added logging to the example. It's now used instead of the prints. The script also shows how to use it. If you pass -q nothing will be logged but it might be quite boring as nothing will happen.
I also removed the unnecessary class around the example.
2008-09-03 17:35:06 +00:00
tao.takashi
b12dd96db0 - added exceptions to caps.py - added tests for testing exceptions - added some tests for cap.GET() and cap.POST() - added name to caps string representation and fixed login.txt to not fail because of it 2008-08-28 22:16:33 +00:00
tao.takashi
29e2a5f272 added more details and string representations 2008-08-28 22:15:27 +00:00
tao.takashi
d6d34892a8 completely removed USE_REDIRECT and friends as the LL AD has been fixed by now and it's not needed anymore. 2008-08-27 20:37:02 +00:00
locklainn.linden
e23f2c5cf0 fixed client test bugs and added to chat 2008-08-27 18:57:08 +00:00
enus.linden
857637e1ea setting USE_DIRECT = False in agentdomain.py, to sync up with the removal of the 302 in the AD auth 2008-08-26 17:39:53 +00:00
locklainn.linden
6c9a65ce81 found a bug in dispatcher, returned False and not None, also chatwindow in 2008-08-25 17:31:51 +00:00
locklainn.linden
045e58b832 removed test debugging prints 2008-08-25 15:44:15 +00:00
locklainn.linden
118bd15dcc fixed deserialization bug, all tests pass now 2008-08-25 15:40:21 +00:00
locklainn.linden
57b218c134 chatting in place, found a bug in serialization 2008-08-25 15:34:04 +00:00
locklainn.linden
0e23b3c584 MERGE - locklainn - message system refactoring 2008-08-25 14:22:36 +00:00