Commit Graph

269 Commits

Author SHA1 Message Date
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
enus.linden
96a0ec690c removing entry points from the pyogp.lib.base buildout 2009-05-15 21:19:22 +00:00
joshua.linden
fd6e287e6a Hooked up spatial chat events.
Reviewed by Enus Linden
2009-05-15 19:04:47 +00:00
joshua.linden
5efb4bd313 Add static Vector3.dist_squared Remove a stray print 2009-05-15 16:16:32 +00:00
joshua.linden
a4ec193554 Added copy() methods to datatypes Added accessors for parcels from the manager Made request_current_parcel_properties() by default not re-request if current parcel is mapped 2009-05-13 21:43:14 +00:00
joshua.linden
1a5963b4e9 Implement a parcel map. After a call to parcelmgr.request_all_parcel_properties(), parcelmgr.parcel_map[x][y] will retrieve a parcel's LocalID by location (4m granularity, so x and y are in 0...63). parcelmgr.parcel_map_full will be true once the map is fully populated; before that is true, parcel_map will contain 0 for some locations. 2009-05-13 00:07:29 +00:00
joshua.linden
7cb3345025 Usage and positional argument checking 2009-05-12 19:57:09 +00:00
enus.linden
3826659acb continuing work on the parcel related methods 2009-05-12 04:20:01 +00:00
joshua.linden
8719d6186b Strip null terminators from strings when unpacking Handle unicode-type strings (UTF-8 encode during packing) Add null terminators when packing Don't let get_data_as_string() mangle data Support differing length of packed vs. unpacked data
Reviewed by Enus Linden
2009-05-11 22:03:53 +00:00
enus.linden
478c562478 working on parcel storage and messaging, not complete, but partial implementation and some functionality neing introduced 2009-05-11 18:30:33 +00:00
enus.linden
7970c6ba85 indicating that the _update_properties method on Object() is an internal method via the underscore 2009-04-30 06:52:08 +00:00
enus.linden
49d8d7c72b left an artifact, removing 2009-04-28 05:19:07 +00:00
enus.linden
57272c14e4 removing pkg_resources dependency with standard file/string handles 2009-04-28 05:16:30 +00:00
enus.linden
95c5f8b947 adding pkg_resournce pull down for when the system does not yet have it 2009-04-27 23:57:47 +00:00
enus.linden
273ee5a6ba moving docs out of the base lib 2009-04-27 22:55:40 +00:00
enus.linden
ea5c1a62eb merging inventory-extension branch into trunk 2009-04-27 22:48:01 +00:00
enus.linden
65df28e3b4 merge back as follows: -r2063:HEAD https://svn.secondlife.com/svn/linden/projects/2008/pyogp/pyogp.lib.base/branches/callback-refactor, moving callback handlers to class methods vs global functions. also fixed some tests :) 2009-04-06 21:29:17 +00:00
whump.linden
f71e360662 Reviewed with enus.linden Changes to support DeRezObject back to inventory See examples/sample_object_create_permissions.py 2009-04-03 22:00:50 +00:00
enus.linden
85928bc6cb moving inventory related callbacks to agent.py, since the packet_handler has moved it's home. 2009-04-02 22:24:16 +00:00
enus.linden
f1b067ca27 removing config data from sample_agent_manager 2009-04-02 18:15:25 +00:00
enus.linden
c0f568bd9a adding packet counters, plus 'completed' ability to connect to neighboring regions via udp and event queue 2009-04-01 23:49:16 +00:00
enus.linden
31db582aad removing files that had been intended for the wx-base branch 2009-03-31 15:20:26 +00:00
saijanai.kuhn
ade5bf6a16 checking in I hope 2009-03-31 02:16:05 +00:00
enus.linden
84116923c3 some test fixes and a bug fix re: grid_x and grid_y 2009-03-30 18:26:21 +00:00
enus.linden
1aa50b3b71 ficing broken login initialization 2009-03-30 16:16:26 +00:00
enus.linden
42b0f285bd adding a prototype agent manager for handling multiple agent logins 2009-03-27 21:48:13 +00:00
enus.linden
af6d78eb9f adding first pass at group chat, needs cleanup. worked on enabling child simulators, but it doesnt work yet 2009-03-26 20:10:13 +00:00
whump.linden
ffe429e43b Demo script to create multiple objects, will all possible combinations of next owner permissions. 2009-03-26 02:05:49 +00:00
whump.linden
4ae6a8ff6d Added helper methods for setting Next Owner permissions. 2009-03-26 02:02:29 +00:00
whump.linden
c09a3985f2 Extending sample_object_create_edit.py to edit object permissions (+ Copy) 2009-03-25 22:14:40 +00:00
whump.linden
735d143b10 Fixes to update renaming and description methods. Split out static classes in permissions. 2009-03-24 23:21:47 +00:00
enus.linden
bbe9777df6 updating some objects methods, adding more attributes to Object(), and a new script 2009-03-24 23:01:16 +00:00
whump.linden
4066ed24ef Removing settimeout on socket since it is now wrapped. 2009-03-24 17:55:35 +00:00
whump.linden
f19221b0d7 Handle case where inventory item in packet has non-existent parent folder 2009-03-24 02:33:00 +00:00
whump.linden
2f27b527e1 Updating agent.Position references to use datatypes.Vector3 2009-03-24 02:23:57 +00:00
enus.linden
b714ff6a67 adding test for parsing and handling of an ObjectUpdateCompressed packet 2009-03-22 06:53:48 +00:00
enus.linden
31c3ff3d23 oops, had broken a test in test_objects. Fixed. 2009-03-22 06:48:47 +00:00
enus.linden
123b816e6c added the conversion of a Vector, UUID, Quaternion data type to bytes 2009-03-22 06:44:24 +00:00
enus.linden
0d6e32d2df got ObjectProperties parsing done properly, and now seem to bt storing objects nicely. creating new ones as needed, updating exising ones (did need to change the management schema around a bit. One thing I have noticed, is that Tracebacks that one normally would see appear hidden when going through a callback. this is not cool. we need to get to the bottom of this and fix it. debugging code that doesn't complain when it breaks sucks 2009-03-22 05:37:11 +00:00