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
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