Salad Dais
ccfb641cc2
Add pixel artist example addon
2021-06-12 15:44:26 +00:00
Salad Dais
220d8ddf65
Add confirmation helper for InteractionManager API
2021-06-12 15:15:34 +00:00
Salad Dais
235bc8e09e
Change TextureEntry type signatures to play nicer with type checker
2021-06-12 15:15:03 +00:00
Salad Dais
41fd67577a
Add ability to wait on object-related events
2021-06-12 10:43:16 +00:00
Salad Dais
8347b341f5
Give default values for TextureEntry fields
2021-06-12 10:26:52 +00:00
Salad Dais
9d5599939e
Add MCode enum definition
2021-06-12 08:54:34 +00:00
Salad Dais
4ddc6aa852
Remove unloaded addon scripts from sys.modules
2021-06-11 19:44:35 +00:00
Salad Dais
cb8c1cfe91
Only generate lowercase hostnames in register_wrapper_cap()
...
Hostnames are case insensitive and passing a URL through urlparse()
will always give you a lowercase domain name.
2021-06-11 17:52:03 +00:00
Salad Dais
52679bf708
HTTPAssetRepo: Don't throw when trying to serve invalid UUID
2021-06-11 17:51:45 +00:00
Salad Dais
216ffb3777
Add integration test for mitmproxy interception
2021-06-10 23:22:59 +00:00
Salad Dais
d4c30d998d
Allow handling Firestorm Bridge responses, use to guess avatar Z pos
2021-06-09 02:02:09 +00:00
Salad Dais
003f37c3d3
Auto-request unknown objects when an avatar sits on them
...
We need to know about an avatar's parent to get their exact position
due to the Object.Position field always being relative to the parent.
2021-06-08 23:44:08 +00:00
Salad Dais
d64a07c04c
Better guard to prevent accidental lazy serializable hydration
2021-06-08 18:57:57 +00:00
Salad Dais
82b156813b
Add more name accessors to Avatar class
2021-06-08 18:57:24 +00:00
Salad Dais
b71da8f5a4
Add option to automatically request missing cached objects
2021-06-08 18:41:44 +00:00
Salad Dais
5618bcbac1
Add new persistent (Proxy)Settings object, use to pass down settings
2021-06-08 16:55:19 +00:00
Salad Dais
24abc36df2
Correct AgentState enum definition
2021-06-07 12:56:39 +00:00
Salad Dais
9ceea8324a
Fix templates.py reloading by importing importlib
2021-06-07 12:56:21 +00:00
Salad Dais
a2d5414691
Add more ObjectManager tests
2021-06-07 08:10:28 +00:00
Salad Dais
135ce06452
Rewrite ObjectManager to have WorldObjectManager own objects
...
This simplifies a lot of the interdependencies between the
WorldObjectManagers and region ObjectManagers.
2021-06-07 05:31:54 +00:00
Salad Dais
12862fcd02
Keep Avatar wrappers around rather than regenerating them when queried
...
Allows callers to keep around a reference to an Avatar object and get
updated position and validity information without having to poll the
ObjectManager itself.
2021-06-05 14:23:49 +00:00
Salad Dais
9ab5c8a907
Update VFS impl type hints
2021-06-05 14:20:26 +00:00
Salad Dais
3887e0a23c
Add note about VOCache
2021-06-04 09:31:54 +00:00
Salad Dais
49f7ba960f
Move tons more things to lib.base and lib.client
...
Put an abstract session and region implementation in client so things
that could be logically shared between client/proxy can be.
ObjectManager moved to client with proxy-specific details in
ProxyObjectManager.
2021-06-04 09:31:54 +00:00
Salad Dais
f2ee6f789f
Correct region handle change comments in ObjectManager
2021-06-03 20:51:38 +00:00
Salad Dais
9df0224fbf
Split CapsClient into proxy and non-proxy version
2021-06-03 08:02:11 +00:00
Salad Dais
59493e021c
Move XferManager and TransferManager to base
2021-06-03 07:04:06 +00:00
Salad Dais
7b98c0b261
Split out human str formatting for Messages
2021-06-03 07:03:54 +00:00
Salad Dais
a39d025a04
Move Circuit and Message to lib.base
...
Fairly invasive, but will help make lib.base useful again. No
more Message / ProxiedMessage split!
2021-06-03 07:00:32 +00:00
Salad Dais
0bf1e84da4
Make XferManager tests exercise both upload and download paths
2021-06-02 20:02:31 +00:00
Salad Dais
3d8da0af65
Remove TransferManager dependency on ProxiedRegion
2021-06-02 20:01:47 +00:00
Salad Dais
abf730cea5
serializer -> serialize
2021-06-02 12:07:58 +00:00
Salad Dais
0a45cd3739
Remove XferManager dependency on ProxiedRegion
2021-06-02 11:44:06 +00:00
Salad Dais
af17525071
Remove Circuit dependency on parent Region
2021-06-02 11:44:06 +00:00
Salad Dais
c1d795e850
Add XferManager tests
2021-06-02 02:48:13 +00:00
Salad Dais
984ac257a5
Rename ensure_ancestors_loaded(), add timeout tests
2021-06-01 22:51:57 +00:00
Salad Dais
9b970f07e5
Add session-level lookup_avatar
2021-06-01 22:35:49 +00:00
Salad Dais
d6a6fb4a91
Add ability to send EventQueue messages to message builder
2021-06-01 21:08:22 +00:00
Salad Dais
fd747c9615
Switch to importing hippolyzer.lib.base.templates
...
Should help deal with automatic template reloading issues since
mtime wasn't changing on `lib.proxy.templates`.
2021-06-01 08:24:17 +00:00
Salad Dais
69dd1ca9ce
Unpack fixed point coords in particles as vectors
2021-06-01 01:39:42 +00:00
Salad Dais
2c914b43b0
Add better type hints to Object
2021-06-01 01:39:14 +00:00
Salad Dais
626e59f22c
Fix TextureEntry serialization
2021-05-31 13:33:16 +00:00
Salad Dais
8c614404d8
Improve NameCache implementation, share viewer name cache
2021-05-31 12:24:08 +00:00
Salad Dais
c0e91273fd
Fix cache location detection case
2021-05-31 10:25:12 +00:00
Salad Dais
ebc02f9a22
Make object handling happen at the world level, fix region handoffs
...
The previous model didn't really map to how Indra handles objects:
In Indra Local IDs are only really used to look up the FullID, and
that's used to look at a global object list.
This moves to a model where the world (Session) owns the object, and
objects can be freely moved between regions without killing the world's
reference to it.
The two ID design for objects was a mistake in my opinion, but whatever.
2021-05-30 14:24:39 +00:00
Salad Dais
f57087bf6c
Clear timed-out futures in ObjectManager
2021-05-29 10:47:13 +00:00
Salad Dais
6c6ea66989
Allow awaiting object update / property requests
2021-05-29 08:51:15 +00:00
Salad Dais
6cc25118b9
Faster cap URL lookup
...
Was taking up 15% of proxy time, so worth optimizing.
2021-05-29 06:19:09 +00:00
Salad Dais
3aa5215587
Don't trigger a message parse when invalidating caches
2021-05-29 06:18:49 +00:00
Salad Dais
ccb29f8eeb
Simplify Object definition
2021-05-29 05:29:53 +00:00