Commit Graph

66 Commits

Author SHA1 Message Date
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
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
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
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
435e40bf6c fixing cap name in test 2008-09-17 04:10:12 +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
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
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
locklainn.linden
e23f2c5cf0 fixed client test bugs and added to chat 2008-08-27 18:57:08 +00:00
locklainn.linden
045e58b832 removed test debugging prints 2008-08-25 15:44:15 +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
tao.takashi
25a3ca3113 - fixed tests by adding seed_capability to place_avatar result - added missing requirements to pyogp.lib.base 2008-08-21 20:48:19 +00:00
tao.takashi
7767de6f3a changed the string exception to a class based exception 2008-08-10 16:10:20 +00:00
tao.takashi
ea58da6e26 added credential test to test suite 2008-08-10 16:09:42 +00:00
tao.takashi
84f204719c added new test file for credential tests. I also added tests for testing md5 based credentials. This can also serve as documentation. 2008-08-10 16:08:47 +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
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
tao.takashi
679afc09c8 added a test for real packet data 2008-08-04 18:31:53 +00:00
locklainn.linden
760832baea message system begun being tested 2008-08-04 16:24:14 +00:00
locklainn.linden
853e96a554 message system mostly in, just needs to be tested and checked for accuracy 2008-08-01 21:02:55 +00:00
locklainn.linden
e290c1377c 2008-08-01 15:41:34 +00:00
tao.takashi
98a4d2b9e9 added tests for capturing errors 2008-08-01 15:26:00 +00:00
locklainn.linden
6af0cdc8e6 message system reading from message.xml for message flavors 2008-08-01 13:50:11 +00:00
locklainn.linden
4b5a1fdc1b added an llsd builder and more stubs for the message system, now only to implement it 2008-07-31 20:58:51 +00:00
locklainn.linden
e83be80e6d reader fully tested (again, says only 80ish percent, but testrunner includes method defs as untested code) 2008-07-29 15:46:27 +00:00
locklainn.linden
950558377a more tests for the reader, added data_unpacker 2008-07-29 15:10:59 +00:00
locklainn.linden
6864ba9666 committing updates with 1 failure 2008-07-28 20:16:44 +00:00
locklainn.linden
795fc5fce8 reader well on its way 2008-07-28 18:08:28 +00:00
tao.takashi
67bcfb4b1b added deserializer for credentials plus a test for it (and the serializer as well). Also cleaned up unused interfaces. 2008-07-27 19:54:54 +00:00
locklainn.linden
1ae7a086d7 test for builder 2008-07-25 20:14:59 +00:00
locklainn.linden
1b1d20d6ac message code moved into its own package 2008-07-25 13:24:25 +00:00
locklainn.linden
6857444a27 seems nearly all the message template building code is tested and covered (would be 100% if the testrunner didn't include import statements and class method definitions) 2008-07-24 19:52:35 +00:00
tao.takashi
03f309b012 merged trunk mrtopf-networking to trunk, grokified it, fixed a bug when not finding a serializer and added a test for it. Capabilities now also have a POST method for POSTing data to them. GET, etc. is pending. 2008-07-24 19:25:02 +00:00
locklainn.linden
6979ace54b moved networked tests 2008-07-24 14:20:25 +00:00
tao.takashi
c3528af70e merged branch mrtopf-grokified into trunk. For making it work I resolved some obvious conflicts and changed the message parser classes to new style classes. 2008-07-23 20:03:40 +00:00
locklainn.linden
38c775429a added data packer, fixed and tested more of the builder (serializer first run test) 2008-07-23 19:57:15 +00:00
locklainn.linden
be05b84108 tests passed now. removed getters and setters and broke some stuff 2008-07-23 19:38:37 +00:00
locklainn.linden
455310f7bc builder nearly done. Tests all pass, but need more tests. 2008-07-23 19:25:46 +00:00
locklainn.linden
b56d100787 almost finished the builder, and the tests for it mostly pass (will once its finished) 2008-07-22 20:13:59 +00:00
locklainn.linden
fd3dbd5530 template parser now doing the header decomposition. Message types added and now used (no more strings). Sizes also added to the variables. 2008-07-22 15:18:35 +00:00
locklainn.linden
195a8ac3c9 first pass at the message builder 2008-07-22 13:33:35 +00:00
locklainn.linden
33c2f9cff8 writing the tests for the message builder, added message types 2008-07-21 21:12:23 +00:00
locklainn.linden
784ae4c35a renamed test_packets.py to test_template_parser.py for better naming 2008-07-21 18:43:32 +00:00