Commit Graph

67 Commits

Author SHA1 Message Date
enus.linden
0018d6299d adding struct.error handling vi new exception 2009-02-10 00:42:51 +00:00
enus.linden
b37f925a20 updated log messages 2009-02-10 00:40:12 +00:00
enus.linden
2f4cb4fc22 added some more fine grain logging control, update to packet parser 2009-02-06 06:45:03 +00:00
enus.linden
71af1552f3 merging r1733:1769 from enus-event-handling, which adds events, packet handlers, and packet builders, and some cruft 2009-02-05 23:26:52 +00:00
enus.linden
a0566e6477 adding current message_template.msg, cleaned so it parsed completely. we need to update template_parser.py to make this unnecessary 2009-01-30 00:25:38 +00:00
enus.linden
dd0db18bd9 updating message* files 2009-01-29 22:46:34 +00:00
enus.linden
f8fcb086c9 removing a silly print statement, working on eventlet for the messaging stream 2009-01-06 04:48:54 +00:00
enus.linden
d34a200e42 merging the merge-enus-zca-removal branch into trunk of pyogp.lib.base 2008-11-26 06:00:42 +00:00
enus.linden
79bb226c6e replacing tabs with 4 spaces to hopefully encourage better formatting standards and to make for easiermerges in the future 2008-11-11 00:24:53 +00:00
saijanai.kuhn
25179277d9 block.block_type vs block.type issue 2008-10-28 04:39:09 +00:00
saijanai.kuhn
98f2fdf552 Handler for MVT_FIXED type 2008-10-28 04:35:30 +00:00
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
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
d197a7ac6e adding intial exceptions to message dir, replaced locklainns exceptions with custom ones 2008-10-01 08:42:11 +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
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
locklainn.linden
e23f2c5cf0 fixed client test bugs and added to chat 2008-08-27 18:57:08 +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
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
locklainn.linden
54f7d57ae4 event queue get for sim and AD in place 2008-08-14 14:24:30 +00:00
locklainn.linden
41b2fdcbca testing 2008-08-13 13:35:45 +00:00
tao.takashi
52c336a27d commented debug print out 2008-08-10 16:09:22 +00:00
locklainn.linden
b37ce9f5f2 seems to be more stable 2008-08-08 19:33:23 +00:00
locklainn.linden
2f1cdc53db presence started, now to find the av cloud 2008-08-08 17:57:05 +00:00
locklainn.linden
fcb4d98ea4 trying to establish presence 2008-08-08 16:20:48 +00:00
locklainn.linden
e39b341f18 all tests pass 2008-08-08 14:18:47 +00:00
locklainn.linden
42fcd8f8ea ms tests fixed for endian 2008-08-08 14:03:08 +00:00
locklainn.linden
f546d4c073 less clutter in prints 2008-08-07 20:19:45 +00:00
locklainn.linden
4b83cf89f5 UDP communication with SIM! 2008-08-07 20:02:45 +00:00
locklainn.linden
4c3229031e better endian packing and unpacking 2008-08-07 18:51:21 +00:00
locklainn.linden
225cd923bd moved over message frequency-num combo to the builder, removed from parser 2008-08-07 18:48:08 +00:00
locklainn.linden
d5c29ec5ed sending acks tested 2008-08-05 19:15:52 +00:00
locklainn.linden
1fed103f68 all tests pass! even the packet test data 2008-08-05 15:53:04 +00:00
locklainn.linden
052064b4eb message system tested, both sending and receiving 2008-08-04 19:38:25 +00:00
locklainn.linden
760832baea message system begun being tested 2008-08-04 16:24:14 +00:00