Diva Canto
e9e4c009b4
This makes compression of fatpacks actually work. Previously they always failed. See comment in WebUtil.
2011-05-11 20:44:03 -07:00
Justin Clark-Casey (justincc)
9988bff9e3
Add a smidgen of method doc about the fact that item links reuse the asset id item slot
2011-05-12 03:18:53 +01:00
Justin Clark-Casey (justincc)
ac12ace6f1
Prevent viewer 2 from creating a duplicate outfit inventory links.
...
I believe this is safe since there is a 1-1 correspondence between link item and worn item (i.e. you can't be wearing the same item at two spots simultaneously in one outfit).
This should stop lots of duplicate links being created when viewer 2 is used.
However, this doesn't prevent broken inventory links, which I believe is timing related since the effect is not consistent (e.g. keep relogging and the viewer should end up seeing them correctly) . I think we actually see this problem on viewer 1 as well.
It might be easier just to implement the Fetch*2 inventory caps which are documented at http://wiki.secondlife.com/wiki/Inventory_API . WebFetch* has been deprecated by Linden Lab since viewer 2.5.1 and according to the sl wiki, "has numerous bugs".
2011-05-12 02:46:13 +01:00
Huaiyu (Kitty) Liu
ef66b29e95
Removed Bucket Sync code from SceneObjectPart. Bucket Sync should be gone now.
2011-05-11 16:42:38 -07:00
Huaiyu (Kitty) Liu
6c945ae38f
Removed calling of AddOrUpdateObjectBySynchronization from Scene and SceneGraph.
...
Removed Bucket Sync related code from SceneObjectGroup.
2011-05-11 16:23:31 -07:00
Huaiyu (Kitty) Liu
4fc36b0748
Rewrote sender and receiver of SymmetricSyncMessage.MsgType.NewScript, where
...
per property encoding is used.
2011-05-11 15:56:55 -07:00
Huaiyu (Kitty) Liu
ba948251fe
Removed BucketSync code from RegionSyncModule.
2011-05-11 14:45:01 -07:00
Huaiyu (Kitty) Liu
7aaacbc4a6
Removed IScriptEngineToSceneConnectorModule interface.
...
Removed SendNewObject, SendDeleteObject, SendLinkObject, and SendDelinkObject that used Bucket Sync info.
2011-05-11 14:25:22 -07:00
Huaiyu (Kitty) Liu
ff5c86c90a
More code cleaning following last commit (removed code that was commented out).
2011-05-11 14:11:35 -07:00
Huaiyu (Kitty) Liu
a7d7ca9b0f
Removed ScriptEngine to Scene asymmetric sync code, and LocX,LocY in SOG.
...
Also, removed QuickInfo related code from RegionSyncUtil.cs.
2011-05-11 14:04:34 -07:00
Diva Canto
7fa2489a6e
Revert "Functional improvement: close the stream. Non-functional: add debug messages to find out why updates are getting an error. WARNING: MASSIVE CONSOLE SPAM ON TPs."
...
This reverts commit 5548f83750
.
2011-05-11 13:15:27 -07:00
Huaiyu (Kitty) Liu
9b955d8e95
Removed code in SceneGraph, SceneObjectGroup and SceneObjectPart that were either commented
...
out before, or no longer in use.
Base for removing BucketSyncInfo.
2011-05-11 12:03:02 -07:00
Huaiyu (Kitty) Liu
8497ecd28d
Removed DSG added code for some properties that were not included in legacy SceneObjectSerializer implementation.
...
The file now is almost back to its legacy shape, with a few DSG edits.
2011-05-11 11:37:32 -07:00
Huaiyu (Kitty) Liu
c979fdd3cb
Added checking if PhysActor is null or not in passing list of updated properties, especially for code (e.g. ScheduleGroupForTerseUpdate) that
...
pass SceneObjectPartSyncProperties.Orientation as an updated property.
2011-05-11 11:27:51 -07:00
Diva Canto
af2e12d2b4
One more debug message. Don't use this unless your name is nebadon.
2011-05-11 10:43:50 -07:00
Diva Canto
5548f83750
Functional improvement: close the stream. Non-functional: add debug messages to find out why updates are getting an error. WARNING: MASSIVE CONSOLE SPAM ON TPs.
2011-05-11 10:21:42 -07:00
Huaiyu (Kitty) Liu
9f6c0e7622
Added code to handle the case where attachement objects are received, but the avatar they
...
attach to is not created locally yet.
2011-05-10 16:27:25 -07:00
Diva Canto
47735468d2
Somewhat reverting the last commit. The viewer ignores 255's on tiles that were previously on, so we need to send 254 (offline) explicitly. Also removing the +/-4 for HGMap, because it makes the map flicker.
2011-05-10 09:02:25 -07:00
Diva Canto
e1a4a8d857
Changed the Access flag on HGMap to 255 (does not exist) and clarified the other value 254 too. Meanings taken from libomv.
2011-05-09 18:28:16 -07:00
Diva Canto
7e2b35bbb3
Fixes gray tiles around +/-4 when user clicks on an empty tile. Affects regions above 4096 primarily.
2011-05-09 11:35:41 -07:00
Diva Canto
8a5f6dc7a5
Fixes gray tiles on map search for viewers 1.
2011-05-09 10:25:42 -07:00
Diva Canto
c0a69bfaab
The map is seriously broken. This doesn't fix it, but at least provides one more piece of data that seems to be required -- agent flags, which seem to be different in Viewer 2. WARNING: changes IClientAPI.
2011-05-08 22:50:04 -07:00
Melanie
fd66903f74
Convert the prim count module into a permissionsmodule
2011-05-09 03:16:01 +01:00
E. Allen Soard
527b4e7c7e
Incremental - Just did some cleanup of comments and class name change to clean up from using BareBonesNonShared as a template.
2011-05-09 03:14:54 +01:00
E. Allen Soard
279ed08de1
Incremental patch to add config options to enable/disable the prim limits module to OpenSim.ini. EnforcePrimLimits is set to false by default to emulate the current behavior.
2011-05-09 03:14:48 +01:00
E. Allen Soard
65d595597d
Adds an optional module to enforce prim limits on a given parcel Takes into account acculmitive prim allowance when multiple parcels are owned by the same avatar on the same region. Does not handle prims that are moved by a script or account for temporary objects at the time of creation. other wise handles all tested cases including: Creating a new object from the build menu Moving an object from another parcel duplicating an object via shift move rezing an object from a script
2011-05-09 03:14:41 +01:00
Melanie
2b88d8f93f
Add commands to delete objects by name, UUID, creator or owner
2011-05-09 01:28:23 +01:00
Diva Canto
00f10c900a
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2011-05-08 16:51:41 -07:00
Diva Canto
3a5e841b0b
Fix content-type to be application/x-www-form-urlencoded
2011-05-08 16:51:04 -07:00
Diva Canto
a650c74d23
Comment verbose debug message in GetTexture
2011-05-08 16:50:36 -07:00
Melanie
c8b9558039
Also compress the actual fatpacks
2011-05-08 23:52:31 +01:00
Melanie
e345f03895
Remove a spammy debug I left in. Disable TP cancel button at the point
...
of no return.
2011-05-08 22:05:33 +01:00
Melanie
1be67914fa
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
2011-05-08 20:20:40 +01:00
Melanie
9688db2f68
Enable compressed (gzip) fatpack transfers.
2011-05-08 20:20:00 +01:00
Diva Canto
25809caaeb
Mantis #5472
2011-05-08 09:28:15 -07:00
Diva Canto
72fb0d5b93
Mantis #5470 -- add forgotten MSSQL's GridUserStore. Thank you MrMonkE
2011-05-07 14:56:59 -07:00
Justin Clark-Casey (justincc)
d4fcba08af
Add module with "appearance show" command.
...
At the moment, this command just asks the AvatarFactory to perform the existing baked texture check for each avatar in the simulator and returns "OK" or "corrupt".
This is for debugging purposes
2011-05-07 01:06:55 +01:00
Diva Canto
737add1683
Removed SimpleRegionInfo, which was obsolete and not used anywhere.
2011-05-06 17:02:46 -07:00
dahlia
eaa33cf478
adjust avatar terse update packet filter distance error threshold based on avatar speed
2011-05-06 16:56:54 -07:00
Justin Clark-Casey (justincc)
b140aef87a
refactor: simplify ConfigSettings
2011-05-06 22:51:36 +01:00
Justin Clark-Casey (justincc)
04ecd748d9
remove further mono compiler warnings
2011-05-06 22:47:41 +01:00
Justin Clark-Casey (justincc)
3d095e84d6
minor: remove mono compiler warnings
2011-05-06 22:45:03 +01:00
Justin Clark-Casey (justincc)
f5ec332474
remove obsolete [StandAlone] config section parsing, none of which was actually used since being superseded by the connector architecture in 0.7
2011-05-06 22:41:07 +01:00
Justin Clark-Casey (justincc)
913e6b70c6
minor: slightly shorten "show digest" printing code
2011-05-06 22:13:56 +01:00
Justin Clark-Casey (justincc)
621279e498
on asset "show digest" command, print out the asset type name (e.g. texture) as well as its number
2011-05-06 22:04:26 +01:00
Justin Clark-Casey (justincc)
9ff94a3a44
Say which filename an asset has been dumped to on a successful dump
2011-05-06 21:58:41 +01:00
Justin Clark-Casey (justincc)
2ef8e03773
Change command help text for "show capabilities" to "show caps", as this is the actual command that has to be typed on the console.
...
Thanks to makopoppo for the patch - http://opensimulator.org/mantis/view.php?id=5467
2011-05-06 21:21:02 +01:00
Justin Clark-Casey (justincc)
7c3e8a106b
Merge branch 'master' of https://github.com/allquixotic/opensim-autobackup
2011-05-06 20:51:55 +01:00
Diva Canto
74e981e796
One more bug fix concerning library items that weren't being copied to user's inventory. Also commented verbose debug message.
2011-05-06 09:56:27 -07:00
Diva Canto
50c0069f7d
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2011-05-06 09:09:13 -07:00
Diva Canto
eafc01cf8f
Bug fix: iars under Library weren't being loaded.
2011-05-06 09:08:24 -07:00
BlueWall
68bb0f81e2
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
2011-05-05 20:07:19 -04:00
Justin Clark-Casey (justincc)
fd44540c02
add descriptive explanations for region restart functionality
2011-05-06 01:06:28 +01:00
BlueWall
e4e95706d5
Add support for llRequestSecureURL() if ssl is enabled
2011-05-05 19:57:10 -04:00
BlueWall
8ca7938753
Adding ssl support
...
Adding ssl support for "Out of Band" applications such as the remote
admin module or Robust services
2011-05-05 19:56:54 -04:00
Justin Clark-Casey (justincc)
8755a48cde
fix command display for debugging 'emergency-monitoring'
2011-05-06 00:34:04 +01:00
Justin Clark-Casey (justincc)
46baadbb65
remove the NDesk.Options using since didn't end up needing it
2011-05-06 00:22:19 +01:00
Justin Clark-Casey (justincc)
bc49a0bc5d
Add "dump asset" command to the asset service for debugging purposes.
...
This command dumps the asset with the given id to a file with the same name.
2011-05-06 00:09:08 +01:00
Dan Lake
9556e0079b
Merge branch 'master' into dev
...
Conflicts:
OpenSim/Region/ClientStack/Linden/Caps/ObjectCaps/UploadObjectAssetModule.cs
OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
OpenSim/Region/Framework/Scenes/Scene.cs
2011-05-05 14:24:27 -07:00
Huaiyu (Kitty) Liu
75c97acab8
Added a few "try, catch" phrases to help catch errors when sync'ing new objects or updating prim properties.
2011-05-05 12:23:37 -07:00
Huaiyu (Kitty) Liu
f5e648f54a
Added AddNewSceneObjectByRez, which when called, won't trigger RegionSyncModule.SyncNewObject.
...
The caller of AddNewSceneObjectByRez will trigger that later when all object properties have
been set.
Also, added calling aggregateScriptEventSubscriptions() after AddNewSceneObjectBySync(), so that
collision events in PhysActor, after it is created, are subscribed.
2011-05-05 10:22:16 -07:00
Melanie
f5bb6edd85
Squish a warning
2011-05-05 13:01:46 +01:00
Diva Canto
e8944d6c31
Test m_Enabled on RemoveRegion.
2011-05-04 20:40:25 -07:00
Diva Canto
6d34932775
Merge branch 'master' into caps
2011-05-04 20:30:33 -07:00
Huaiyu (Kitty) Liu
854cb58d6d
Revised SetSOPPropertyValue in RegionSyncModule.cs:
...
added calling aggregateScriptEventSubscriptions() after SOP.AggregateScriptEvents is set.
for properties AttachedAvatar and AttachmentPoint, do extra work besides copying the property values.
Propogation of colission event and attachment (attached after avatar login) both working now.
2011-05-04 14:36:18 -07:00
Diva Canto
6c503e75ac
Put the previous state back in the attachments in case the agent transfer fails.
2011-05-04 12:04:35 -07:00
Diva Canto
df7dacd004
Fixes mantis #5461 .
2011-05-04 11:34:18 -07:00
Diva Canto
a0f3b23065
Merge branch 'master' into caps
2011-05-04 07:31:32 -07:00
dahlia
4c59d57596
use getters instead of member variables in velocity network filter code and add some more descriptive comments.
2011-05-04 03:29:06 -07:00
dahlia
13ab00e45a
adjust terse avatar update filtering to send updates when distance traveled does not match expected distance, rather than at a fixed time period. this should smooth avatar motion somewhat when moving in a straight line and velocity is constant.
2011-05-03 19:47:50 -07:00
Huaiyu (Kitty) Liu
cd70c3ff56
Merge branch 'dev_perPropertyTS' into dev
...
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
2011-05-03 16:55:23 -07:00
Huaiyu (Kitty) Liu
04d406a7c8
Added code to sync each SOP's LocalFlags property. Also, in DeselectPrim, feed the list of updated properties as FullUpdate,
...
instead of only the IsSelected property, since SOP's Name, Description and some other properties might just have been edited
by a user.
2011-05-03 14:48:14 -07:00
Huaiyu (Kitty) Liu
4afd3f6602
Commented out some debug messages.
2011-05-03 14:38:21 -07:00
Huaiyu (Kitty) Liu
4acd23f0f9
In SyncOutPrimUpdates(), calling UpdatePrimSyncInfoByLocal again before calling
...
SendPrimPropertyUpdates, to make sure local updates are sync'ed into
RegionSyncModule's cache.
2011-05-03 14:25:05 -07:00
Huaiyu (Kitty) Liu
eeb09f33e3
Add locking on m_primSyncInfoLock in InitPropertiesBySync and InitPropertiesSyncInfoFromOSDMap.
2011-05-03 13:54:59 -07:00
Huaiyu (Kitty) Liu
f8bf6c2cc4
Removed a few debug messages from previous commit, then the problem shows up again. It seems due to the script
...
engine, after rezzing the pebbles and changing their shapes, the cached values in RegionSyncModule not properly
sync'ed with SOP's data.
2011-05-03 13:37:55 -07:00
Huaiyu (Kitty) Liu
54ba7a61f8
Added back some debug messages, seems now shapes are sync'ed properly again.
2011-05-03 13:16:39 -07:00
Diva Canto
98b84802e4
Changed the defaults, so that it behaves exactly is it has been behaving (no WebFetch cap by default).
2011-05-02 20:19:36 -07:00
Diva Canto
ac9697edbe
Fixed: EventQueueGet and other caps were being wrongly deregistered. Also CapabilitiesModule was being instantiated twice (damn Mono.Addins).
2011-05-02 19:45:47 -07:00
Huaiyu (Kitty) Liu
c07c46c147
For debugging shape not sync'ed properly problem: adding back debug messages in
...
CompareHashedValue_UpdateByLocal
HandleUpdatedPrimProperties
2011-05-02 16:48:25 -07:00
Huaiyu (Kitty) Liu
7157398d77
For debugging shape not sync'ed properly problem: adding back debug messages in
...
CompareHashedValue_UpdateByLocal
SetSOPPropertyValue
2011-05-02 16:39:03 -07:00
Diva Canto
6b52c1d6cd
Fix the GetTexture path to /CAPS/GetTexture for now until we have real capabilities.
2011-05-02 16:16:10 -07:00
Huaiyu (Kitty) Liu
bceafb4291
removed a bunch of debug messages, which were added to debug why shape was not synchronizing properly.
2011-05-02 15:17:17 -07:00
Diva Canto
883f21dd02
WebFetchInventoryDescendents working. Tested with robust.
2011-05-02 14:33:34 -07:00
Diva Canto
2d403d5b18
Merge branch 'master' into caps
2011-05-02 11:56:51 -07:00
Diva Canto
aba9ffdbd0
Refactored the GetMesh module into a handler and a module, to be the same as GetTexture.
2011-05-02 11:56:40 -07:00
Diva Canto
f7d3720126
Increased timeout for fat UpdateAgent to 200secs. Nebadon's 3800-prim alien avatar takes 6secs to transfer between sims on the same machine...
2011-05-02 09:20:08 -07:00
Diva Canto
51d0b8b4e9
Oops, forgot this one.
2011-05-02 09:06:21 -07:00
Diva Canto
8cc547c277
Turns out that it's a bad idea to let Agent position updates linger for a long time on certain versions of mono. It's better to abort them if they take too long. So timeout is now an argument. Currently: 20secs for CreateAgent, 100secs for UpdateAgent (fat), 10 secs for UpdateAgent (Position); all of these divided by 4, for ReadWrite, as Mic had before.
2011-05-02 09:04:34 -07:00
Diva Canto
10180760b7
Works!
2011-05-02 08:48:55 -07:00
Sean McNamara
0995fedcac
AutoBackupModule: Implement per-region settings in Regions.ini.
2011-05-02 04:32:31 -04:00
Sean McNamara
fffd42f5cb
Merge git://opensimulator.org/git/opensim
2011-05-02 02:23:18 -04:00
Sean McNamara
2aab033aaa
First pass at fixing justincc's feedback v2 ( http://opensimulator.org/mantis/view.php?id=5440 )
...
Fixing everything here (I think) except the per-region config. That's next.
2011-05-02 02:20:50 -04:00
Diva Canto
2d21052fa3
Start to drill down on GetTexture. Read the config and do different things.
2011-05-01 19:09:08 -07:00
Diva Canto
f79400e94c
Broke down Caps.cs into a generic Caps object that simply registers/unregisters capabilities and a specific bunch of capability implementations in Linden space called BunchOfCaps.
...
Renamed a few methods that were misnomers.
Compiles but doesn't work.
2011-05-01 18:22:53 -07:00
Diva Canto
275046cf02
Change GetTextureModule.cs to conform to the new IRegion module interface. NOTHING OF THIS WORKS. Compiles.
2011-05-01 12:03:00 -07:00
Diva Canto
126d2adeba
Move CapabilitiesModule back to CoreModules. This one belongs there.
2011-05-01 12:02:07 -07:00
Diva Canto
f10666c7ba
How this might look like from a configuration perspective. Changes OpenSimDefaults.ini.
2011-05-01 10:07:54 -07:00
Diva Canto
8cc9d22b89
Merge branch 'master' into caps
2011-05-01 09:31:26 -07:00
Diva Canto
bbe41c75e1
Fixed confusing OSDMap that comes as the response of QueryAccess in the case it fails.
2011-05-01 09:30:23 -07:00