Commit Graph

307 Commits

Author SHA1 Message Date
enus.linden
e2fa197b2f pairing down settings in base, adding a test to cover it 2009-09-03 19:34:54 +00:00
enus.linden
3d0a4aece7 adding a package specific test wrapper 2009-09-03 19:04:41 +00:00
kotler.linden
879f187f34 Merge from smoke_test r 2606:2710 2009-09-01 20:54:43 +00:00
enus.linden
27ea7d3228 eliminating the import error due to multiple packages with the pyogp namespace 2009-09-01 16:50:03 +00:00
enus.linden
6040d7240b making logging changes 2009-09-01 16:34:23 +00:00
enus.linden
f54290d7e7 removing event queue client related code and tests from base 2009-08-31 23:23:24 +00:00
enus.linden
2838cae0c5 removing tests living in the wrong package 2009-08-31 23:21:37 +00:00
enus.linden
bfc6b5bb28 specifying the right eventlet in base 2009-08-29 00:53:10 +00:00
enus.linden
41fee8a893 removing components from base that will llive in client 2009-08-28 16:48:12 +00:00
enus.linden
b629f37fda moving the license info to the header of the file 2009-08-20 22:57:24 +00:00
enus.linden
5e74d799cc moving LICENSE.txt and CONTRIBUTORS.txt into the proper locations 2009-08-19 04:55:34 +00:00
kotler.linden
b3db3a8f47 Merge from asset_upload 2550:2592 2009-08-10 18:46:31 +00:00
kotler.linden
953f4ef900 Added comment to verify whether fix is correct 2009-07-21 18:27:00 +00:00
kotler.linden
c2789241f9 fix to packet parser '.' bug 2009-07-21 18:21:21 +00:00
kotler.linden
c8f5d9e601 bug fixes to get appearance working again 2009-07-21 17:32:11 +00:00
enus.linden
322d4046bf removing packets.py, updating test_region to remove the dependency on packets.py 2009-07-20 23:42:05 +00:00
enus.linden
55cf7be2ba removing dependencies to packets.py from assets and appearance 2009-07-20 23:34:00 +00:00
enus.linden
d8a0ac44cd removing packets.py dependencies from objects.py 2009-07-20 23:19:00 +00:00
enus.linden
9dbe018e1d removing packets.py dependencies from region.py, various pylint related updates 2009-07-20 21:23:08 +00:00
enus.linden
fc4be46f14 removing packets.py references from parcels.py and making pylint related cleanup changes along the way 2009-07-17 19:38:38 +00:00
enus.linden
b79ce7d085 removed packets.py dependency from inventory.py, refactored some but preserved the apis for the most part... will need to really come through and clean up a lot of this once this mundane work is done 2009-07-17 07:30:49 +00:00
enus.linden
3b6b6896c3 further refactoring of groups.py, creating methods which send related messages separate from the conveneince functions which wrap them 2009-07-16 20:26:44 +00:00
enus.linden
d27cb5a311 removed references to packet.py in groups.py, refactored a bit for pylint 2009-07-15 20:58:42 +00:00
enus.linden
5854e1f089 clean up of event_queue.py to a small degree, plus a couple of method renames (notably MessageHandler()._handle() to handle() 2009-07-15 17:25:34 +00:00
enus.linden
ba8ded0d4e couple of silly tweaks to agentmanager.py to make pylint happy 2009-07-15 05:58:15 +00:00
enus.linden
baddedd598 updates to agent.py, porting class instances sourced from packets.py to generic Message() instances. various updates throughout to make pylint happier (see https://wiki.secondlife.com/wiki/PyOGP_Client_Library_Development#Using_pylint). a couple of updates to region.py and event_system.py where 'private' methods were not really treated as such, and the naming scheme was updated. a couple of tests were updated as well, and all tests are passing. Home() was slightly refactored to prepare for actual usae, e.g. teleport_home, or Home().teleport() 2009-07-14 23:50:42 +00:00
kotler.linden
9e68832b99 Fixes for PYO-62 and PYO-65, also fixed the test_appearance unittest, renamed types.py to msgtypes.py to remove the conflict with the python lib types 2009-07-14 21:01:45 +00:00
enus.linden
20c2adaba5 adding parsing of login start_location parameter passed in as 'uri:region&128&128&22' plus a couple of related tests in test_legacy_login 2009-07-13 21:21:42 +00:00
joshua.linden
ec34ac2ed5 Specify correct flag for flying. (Oddly, the effect seems reversed in-world. Requires more investigation.) 2009-07-07 22:47:48 +00:00
kotler.linden
14ae34a9ca standardization of datamanager constructors 2009-07-07 17:43:50 +00:00
joshua.linden
e19e8c1792 * Use the PCode enum instead of magic numbers * Watch out for "None" values when applying ObjectUpdates to agent * Add AgentDynamicsUpdate app event * Handle 48-, 32-, and 16-byte ObjectUpdates * Add basic sit/stand/fly methods to agent, with associated enums
Not reviewed
2009-07-07 17:02:33 +00:00
kotler.linden
e9b1a931a5 remerge of kotler_tests 2009-07-07 00:15:55 +00:00
kotler.linden
9af7338fcd reverting the merge 2009-07-06 23:29:38 +00:00
kotler.linden
89a9630f69 merge from kotler_tests 2009-07-06 22:13:36 +00:00
joshua.linden
b34dc93a6a Don't fire callback until all names are received, in case the reply spans multiple packets. 2009-06-19 17:23:03 +00:00
joshua.linden
76821fe99d * Added basic money operations (get balance callback, app events, give_money method, enums) * Added equality operator for datatypes.UUID 2009-06-18 00:04:42 +00:00
joshua.linden
b12435f2c2 * Fire app events for friend online/offline notifications * Provide agent id --> name mapping service, with a (per-agent) cache
Caveat for callers that want to combine the two: you may get online notifications immediately on login, before an agent name callback could fire.
2009-06-17 18:41:15 +00:00
joshua.linden
96b03ee9cd Fix name of "buddy-list" login parameter (not used by default) 2009-06-17 17:23:30 +00:00
joshua.linden
0a26e0916f Fix two warnings reported by PyChecker - a class name typo (!) and a stylistic error. 2009-06-15 18:08:42 +00:00
joshua.linden
d0333cd517 Remember (per-agent) mapping of region name --> region handle, to avoid subsequent map lookups 2009-06-15 17:47:04 +00:00
joshua.linden
b9467983f7 Get teleport round-tripping working (e.g. sim A to sim B to sim A again)
* Close off old event queues on teleport complete
* Clean up event queue shutdown
* Correct usage (I think?) of 'done' flag in event queue POST and send terminating "hasta la vista" ack

Not reviewed; will pester enus.linden when he's available
2009-06-15 17:11:54 +00:00
joshua.linden
a52172ccc2 * Allow packing Vectors w/o requiring packet populating code to convert to tuple * Initial stab at cross-region teleport. Arriving is still buggy so don't use it yet. 2009-06-12 18:19:56 +00:00
joshua.linden
481909e8b4 Expose the start_location login response ("home", "last", "safe", "url") to clients. 2009-06-11 19:21:19 +00:00
joshua.linden
c6f6b8995b Bug fix: _post_to_legacy_loginuri sets self.response, doesn't return it, so caller needs to do the right thing.
This corrects logins with pending transforms.

Reviewed by enus.linden
2009-06-11 18:29:40 +00:00
enus.linden
b7ccabe726 renaming _register() to register() on MessageHandler and AppEventHandler, fixing a couple of EventQueue derived message related bugs 2009-06-05 22:22:13 +00:00
joshua.linden
e9e91d16b1 Fix dipatching of messages. Paired w/ enus.linden 2009-06-05 22:00:36 +00:00
joshua.linden
70c9d342c4 Renamed 2009-06-05 21:16:18 +00:00
enus.linden
d3ad0d5e2f merging pyogp.lib.base/branches/combined_message_handling to trunk. moved the original Message to MessageBase, then combined as a subclass of MessageBase the deprecated UPDPacket and new Message class. PacketHandler and EventQueueHandler are now merged into MessageHandler. various changes made to accommodate, various files/classes removed. tests were passing in the branch merging in, will check tests and sample scripts after an svn up with the commit in it 2009-06-05 21:02:59 +00:00
joshua.linden
86f0422be8 Added handle_signals named parameter to Agent, so app can delegate signal handling or not. Defaults to True (Agent should catch SIGINT) for compatibility. 2009-05-26 17:12:54 +00:00
enus.linden
a4fd9c25b1 goodbye example directory (moved to apps) 2009-05-15 21:51:12 +00:00