Teravus Ovares (Dan Olivares)
895c612647
* When the RegionCombinerModule is active add an extra set of borders with Infinite distances around the whole AABB of the region
2009-08-31 16:29:27 -04:00
dr scofield (aka dirk husemann)
27b378ca8b
switching Archiver to "new" region module scheme
2009-08-31 17:25:16 +02:00
dr scofield (aka dirk husemann)
5209305615
oops. fixing missing argument.
2009-08-31 12:05:14 +02:00
dr scofield (aka dirk husemann)
86521adb7e
adding log message to vector render to inform about default font being used
2009-08-31 11:35:49 +02:00
dr scofield (aka dirk husemann)
953581698d
- making font name used by VectorRenderModule configurable: can be set
...
via
[VectorRender]
font_name = "Comic Sans MS"
in OpenSim.ini
- adding osSetFontName OSSL function
2009-08-31 10:30:10 +02:00
Jeff Ames
bbef5c344e
Remove typo version of ReplaceableInterface property from RegionCombinerModule.
2009-08-31 14:16:16 +09:00
Teravus Ovares (Dan Olivares)
59c8a02a24
* When the RegionCombinerModule is off, make borders have an infinite aabb perpendicular to the cardinal
2009-08-30 00:22:38 -04:00
Teravus Ovares (Dan Olivares)
2f40161f38
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-29 23:50:24 -04:00
Teravus Ovares (Dan Olivares)
efe737b895
Ok, merging the RegionCombinerModule with master.
2009-08-29 23:49:48 -04:00
Teravus Ovares (Dan Olivares)
33f36c9010
* Rename the RegionCombiner Module from PhysicsCombiner
2009-08-29 23:39:27 -04:00
Teravus Ovares (Dan Olivares)
3ccf3aba89
* Fixes looking up parcel permissions in virtual regions.
2009-08-29 16:24:03 -04:00
Teravus Ovares (Dan Olivares)
d45f871d8f
* Only lock the Borders when they're being changed, otherwise one avatar's movement could hinder another avatar's movement.
2009-08-29 03:36:41 -04:00
Melanie
1a6b30e092
Add a slow cache cleaner thread. By default, the thread starts a cleanup
...
sweep every 10 minutes. If any texture data is older than 12 hours, it is
regenerated and the memory cache is refreshed. After each decode, the thread
delays for 5 seconds.
2009-08-29 05:54:38 +01:00
Melanie
2a5b9f7740
the beginning of some changes to the decode cache to address concerns about
...
system load. This commit effectively disables expiration.
2009-08-29 05:29:54 +01:00
Melanie
4b2e62fd3c
Make the j2kDecodeCache expire after 50 minutes (configurable). Alse allows
...
setting the path for it. This commit introduces NEW DEFAULT BEHAVIOR. To
retain the old behavior (eternal cache) you will need to change your OpenSim.ini
and set the timeout to 0.
2009-08-29 04:35:18 +01:00
Arthur Valadares
3d6edc04a3
Implements osDrawPolygon, similar to already implemented osDrawFilledPolygon
2009-08-28 17:48:03 -03:00
Teravus Ovares (Dan Olivares)
ac718843d9
* Allow corner prim crossings. Previously this was only on a single cardinal direction
...
* Some leg work in getting avatar teleports into 'virtual regions' moved to the proper region.
2009-08-28 14:45:17 -04:00
Justin Clark-Casey (justincc)
33004b613d
Standardize FlotsamAssetCache header
...
Add mcortez to CONTRIBUTORS
Other minor tidy of CONTRIBUTORS
2009-08-28 18:12:30 +01:00
Justin Clark-Casey (justincc)
18c5dc0953
Try to cache system folders if they aren't already there when one is requested
...
This operation can be performed legitimately on standalones without a logged in user
2009-08-28 17:19:45 +01:00
Justin Clark-Casey (justincc)
7ff4c2e50b
Pull out distinct cache system folders and drop cache methods in InventoryCache
2009-08-28 17:07:17 +01:00
Justin Clark-Casey (justincc)
7f8df4242b
Correct build break
2009-08-28 12:58:10 +01:00
Justin Clark-Casey (justincc)
d649194be3
minor: formatting and comments
2009-08-28 12:52:40 +01:00
Justin Clark-Casey (justincc)
cf58c0ab08
minor: remove some commented out iar test code
2009-08-28 12:01:21 +01:00
Teravus Ovares (Dan Olivares)
65dda8a795
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-27 19:36:52 -04:00
Justin Clark-Casey (justincc)
d704e62b39
Remove OpenSim.ini comments from the top of FlotsamAssetCache.cs to avoid duplication and divergence with config-include/FlotsamCache.ini.example
2009-08-27 21:49:32 +01:00
Justin Clark-Casey (justincc)
40fbdaaac4
Apply http://opensimulator.org/mantis/view.php?id=3829
...
Fix file access violation on Flotsam cache
Thanks mcortez
2009-08-27 21:25:16 +01:00
Teravus Ovares (Dan Olivares)
54e05a083d
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-26 11:48:05 -04:00
Arthur Valadares
efb287f28f
Implemented osPenCap, that sets EndCap and StartCap to Pen. This allows using arrow, diamond, round and flat caps.
...
* Made image request safer, if it can't find an image for any reason, draws a square where the image should be and a message alerting the user.
2009-08-25 10:32:45 -03:00
Arthur Valadares
9c9fa51b0f
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim into arthursv
2009-08-25 10:28:22 -03:00
Diva Canto
b03eeeb9f6
* Fixes mantis http://opensimulator.org/mantis/view.php?id=4044 . Turns out folders were never being removed from trash when they were singled out for purging in trash. They were being removed when Trash was purged as a whole. That behavior is now fixed for the new InventoryService set.
...
* Removed left-overs from AssetInventoryServer.
2009-08-22 10:24:26 -07:00
Arthur Valadares
7923fd29a0
Adds osDrawPolygon to OSSL. Works a little different then other OS Drawing functions, this one has no start and end point, but a number of points that will form the desired polygon. Only FilledPolygon implemented so far.
...
* Also added some LSL transparent type conversion, as it's done in LSL scripting (string to integer, float to string, etc)
2009-08-21 21:12:22 -03:00
Teravus Ovares (Dan Olivares)
e1b38ff001
* It turns out that Physics heightmap values were being stored in managed memory in _heightmap and using multiple heightmaps caused them all to overwrite each other and the last one was the heightmap for all of the regions. This fixes that. It also reduces the terrain resolution to half.
2009-08-21 13:22:49 -04:00
Jeff Ames
158ad39df0
Add copyright header. Formatting cleanup.
2009-08-21 15:47:55 +09:00
Teravus Ovares (Dan Olivares)
c9b52cd0b6
* Adds PhysicsCombiner Module
...
* May rename this later
2009-08-20 23:25:40 -04:00
Adam Frisby
01f394d203
* Fleshes more of NPCModule out.
...
* Implements some OSSL commands:
key osNpcCreate(string user, string name, vector position, key cloneFrom);
void osNpcMoveTo(key npc, vector position);
void osNpcSay(key npc, string message);
void osNpcRemove(key npc);
* Untested. Requires ThreatLevel.High.
2009-08-21 11:14:55 +10:00
Teravus Ovares (Dan Olivares)
181b992b4a
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-20 19:25:52 -04:00
Melanie
297393f349
Remove a load-order dependency in inventory transfer that was biting
...
Windows users
2009-08-20 21:05:00 +01:00
Melanie
4c8bcd2ff6
Add some output (at DEBUG level) to the message transfer module to aid
...
in tracking down an initialization failure.
2009-08-20 20:19:08 +01:00
Diva Canto
6e35ddb0e9
Fixes GetItem and GetFolder for SQLite. Turns out some methods were no-op in SQlite. Fixes most grief in
...
http://opensimulator.org/mantis/view.php?id=4035
http://opensimulator.org/mantis/view.php?id=4027
2009-08-19 17:35:42 -07:00
Teravus Ovares (Dan Olivares)
289439c832
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-19 14:43:18 -04:00
Diva Canto
d519f1885f
Added MoveItems, which is most useful upon viewer-delete inventory operation. Moving a batch of items is a 1-time operation. Made it async anyway, so that the viewer doesn't wait in case the DB layer is dumb (which is the case currently).
2009-08-19 10:56:08 -07:00
Diva Canto
4382f28efc
Async purge so that the client thread doesn't wait.
2009-08-19 00:33:02 -07:00
Diva Canto
c5af39239f
A better purge of trash folder.
2009-08-19 00:13:51 -07:00
Diva Canto
e5f33e7505
GetFolderItems implemented. It's not being called, but it might.
2009-08-18 22:36:03 -07:00
Diva Canto
124f66bfc2
jhurliman's patch in http://opensimulator.org/mantis/view.php?id=4024
2009-08-18 22:17:47 -07:00
Teravus Ovares (Dan Olivares)
311b51a184
*remove conflicts
2009-08-18 11:09:43 -04:00
Diva Canto
d7aa622050
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 15:28:16 -07:00
Diva Canto
df889855ec
Commented out one IAR test, because it's failing and needs attention from justincc or arthursv. I think the mock inventory service needs a little bit more beef.
2009-08-17 15:16:21 -07:00
Melanie
9ad3e72ae1
Did I say that i don't like git? Remove some stuff that shouldn't have
...
gone in.
2009-08-17 22:06:51 +01:00
Diva Canto
fa8a94577a
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-17 05:55:38 -07:00
Melanie
644db1e540
Add System.Xml reference to the console project
2009-08-17 09:40:38 +01:00
Diva Canto
e02062051d
Making attachments work again. Tons of debug more. This needs more testing and a lot of cleaning.
2009-08-16 16:17:19 -07:00
Jeff Ames
ad02aefaee
Fix argument index in log4net call. ( fixes #4003 )
2009-08-17 01:46:00 +09:00
Diva Canto
6808b9109e
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim into inventory-connector
2009-08-16 08:59:58 -07:00
Jeff Ames
9d9fcac038
Misc cleanup.
2009-08-16 17:14:21 +09:00
Teravus Ovares (Dan Olivares)
30ce56e721
Merge branch 'master' of ssh://MyConnection/var/git/opensim
2009-08-15 13:10:21 -04:00
Teravus Ovares (Dan Olivares)
8000812700
* part one of adding physics combining
2009-08-15 13:10:10 -04:00
Diva Canto
cd444c1e82
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-14 14:04:15 -07:00
Justin Clark-Casey (justincc)
e17a2331a0
* Re-enable TestLoadIarV0_1ExistingUsers()
2009-08-14 20:38:56 +01:00
Justin Clark-Casey (justincc)
ff28ecee1b
Re-enable TestSaveIarV0_1()
...
Implement more parts of TestAssetService
2009-08-14 20:07:13 +01:00
Justin Clark-Casey (justincc)
a668a5b0d3
Add standard doc and standard doc formatting to IAssetService
2009-08-14 19:59:42 +01:00
Diva Canto
46116864b9
Returning UUID.Zero is scene and user profile service are null in GetSession. This doesn't fix the underlying problem of these things being null -- they shouldn't be.
2009-08-14 11:50:42 -07:00
Diva Canto
bb513c1d88
Changed the way to get to the profile service. Changed GetSystemsFolder in HGBroker.
2009-08-14 11:32:25 -07:00
Justin Clark-Casey (justincc)
957962b482
Remove NRE catching on TestReplicateArchivePathToUserInventory() since race failure now appears to have gone
2009-08-14 19:06:24 +01:00
Diva Canto
c56e51a6e3
More debug messages.
2009-08-14 10:29:29 -07:00
Diva Canto
70d7c97e94
Doing session lookup in the right way.
2009-08-14 09:57:18 -07:00
Diva Canto
332d1b5f2f
Additional debug messages, and bug fix in RemoteInventoryServiceConnector.cs, where the scene reference wasn't being set.
2009-08-14 08:43:46 -07:00
Diva Canto
034c9cf606
Added GetAssetPermissions. Few last bugs nixed. This is ready for testing.
2009-08-13 17:34:15 -07:00
Diva Canto
5246dc33dc
Renamed QueryItem/QueryFolder to GetItem/GetFolder. The word 'query' starting to get on my nerves.
2009-08-13 14:10:12 -07:00
Diva Canto
6b9cc6c48d
Inventory redirects from CachedUserInfo to InventoryService COMPLETE!
2009-08-13 11:30:29 -07:00
Diva Canto
6a0f7c2275
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-13 06:31:24 -07:00
Melanie
3669115d60
Some small fixes
2009-08-13 13:25:33 +01:00
Melanie
0f3f2e1dc0
Add reference to the profile module in the avatar profiles handler, plus
...
an example of how to override legacy core data with data retrieved from
the profile module
2009-08-13 13:19:12 +01:00
Diva Canto
b0292d59a5
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-12 20:40:49 -07:00
Diva Canto
7aa54593e0
Redirected all calls to CachedUserProfile methods to the inventory service. Redirection of the RootFolder property is still todo. This compiles but probably inventory will be inconsistent.
2009-08-12 20:39:48 -07:00
Jeff Ames
50f29752f5
Formatting cleanup. Add copyright headers.
2009-08-13 11:48:39 +09:00
Diva Canto
41ad610f3e
* Added two new packet handler implementations for inventory ops. This is starting to work! - but can't be activated incrementally, the flip needs to be global for all inventory ops.
...
* Added a base inventory connector that does common processing of inventory among all reference connector implementations. E.g. AddItem requires additional processing before being forwarded to service.
* Added if (m_Enabled) upon RemoveRegion
2009-08-12 13:11:15 -07:00
Diva Canto
b3b506cba2
Better test for dropping inventory cache and writing out debug messages.
2009-08-12 09:31:33 -07:00
Diva Canto
10d923dbea
Fixes a race condition in EQ processing that was making EQs pop up again upon client close.
...
Commented remote call on GetSystemFolders again, so that it's not live yet.
2009-08-11 16:47:36 -07:00
Diva Canto
bf3f376b10
Fixed test for detecting when user is no longer in sim.
2009-08-11 12:55:46 -07:00
Diva Canto
764ec7ba0a
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-11 12:31:02 -07:00
Justin Clark-Casey (justincc)
fdd0ce68b3
Do new inventory module setup, which is why the test was failing (not the original race condition, hopefully!)
...
Still always catching the NRE for now pending analysis
2009-08-11 20:09:35 +01:00
Diva Canto
dc897b2288
Merged with origin, and resolved one conflict in LoginServiceTests.cs
2009-08-11 10:51:49 -07:00
Diva Canto
263f32a493
Improved test for system folders. Removed log messages.
2009-08-11 10:42:44 -07:00
Diva Canto
31419a70ce
System folders inventory cache added to OUT inventory modules. This tracks agents in and out of *sims* in order to fetch/drop their system folders from the cache. Also added region-side support for fetching the system folders from the inventory service. Nothing of this is called yet.
2009-08-11 10:30:03 -07:00
Justin Clark-Casey (justincc)
2dbdb7e036
Re-enable TestReplicateArchivePathToUserInventory() but stop it failing on the NRE for now
...
Add temporarily logging for diagnosis
2009-08-11 17:49:52 +01:00
Justin Clark-Casey (justincc)
655438a59d
Apply http://opensimulator.org/mantis/view.php?id=1448
...
Store and retrieve user profile url at runtime
Not yet persisted
Thanks Fly-Man
2009-08-11 17:29:15 +01:00
Justin Clark-Casey (justincc)
f9b60f5c34
Disable test again. Ho hum.
2009-08-11 17:05:01 +01:00
Justin Clark-Casey (justincc)
39c9f681ab
re-enable just TestReplicateArchivePathToUserInventory() for now to find out if the race condition has been vanquished
2009-08-11 16:55:45 +01:00
Justin Clark-Casey (justincc)
226c082ed4
Establish CachedUserInfo.OnInventoryReceived event so that region/test inventory code can be written with the async inventory fetch
2009-08-11 16:45:16 +01:00
Arthur Valadares
18aa2ea0c5
* Improves SceneSetupHelper to allow the tester to choose a real or mock, inventory and asset, service modules. The boolean startServices was replaced with realServices string. If the string contains the word asset, it will start a real asset module, if it contains inventory, it starts a real inventory. Otherwise, it use mock (NullPlugin-like) objects, for tests that don't really need functionality.
...
* SetupScene is now actually sharing the asset and inventory modules if the tester wishes to have multiple regions connected. To link regions, just start SetupScene with the same CommunicationManager for all scenes. SceneSetupHelper will hold a static reference to the modules and won't initialize them again, just run the scenes through the modules AddRegion, RegionLoaded and PostInitialize.
* With the recent changes, both asset and inventory (and in the future, user) services should always be asked from the scene, not instantiated alone. The tests should reflect this new behavior and always start a scene.
2009-08-11 12:07:54 -03:00
Diva Canto
cdcbc48534
Added two new methods to IIventoryService -- GetFolderForType and GetFolderContent. Some meat to it, but not completed. None of this code is called anywhere yet.
2009-08-10 20:31:51 -07:00
Diva Canto
9f95ec4998
Merge branch 'master' of ssh://diva@opensimulator.org/var/git/opensim
2009-08-10 16:02:33 -07:00
Diva Canto
0c47f8e7ab
Changed RequestRootFolder to GetRootFolder
2009-08-10 16:02:09 -07:00
Melanie
eba23048ca
Replace the Replaceable modules name
2009-08-10 23:08:22 +01:00
Diva Canto
0d8284c7a1
Removed IAssetCache.
...
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
2009-08-10 08:14:57 -07:00
Diva Canto
a5a5e44246
Re-removing 2 lines that got added back on Melanie's commits. git hickup.
2009-08-09 15:17:42 -07:00
Melanie
474f58faf5
Finish the renaming and mae things compile again
2009-08-09 22:25:15 +01:00
Melanie
11d72f270d
Rename UserData to UserAccount data
2009-08-09 21:53:11 +01:00
Diva Canto
6a6dd66129
More removal of HG2 code, this time authentication module and handlers.
2009-08-09 14:21:47 -07:00
Teravus Ovares (Dan Olivares)
bff26ccdbb
* More tweaking of the various services to work with nonstandard region sizes. * Now, what's available of the terrain will show and it'll be truncated if it's larger on Linden Clients. Parcel minimum is 64 (256/4) for the client to accept it.
2009-08-08 00:10:19 -04:00
Teravus Ovares (Dan Olivares)
2b990a61bf
This is the second part of the 'not crash on regionsize changes'. This lets you configure region sizes to be smaller without crashing the region. I remind you that regions are still square, must be a multiple of 4, and the Linden client doesn't like anything other then 256. If you set it bigger or smaller, the terrain doesn't load in the client, the map has issues, and god forbid you connect it to a grid that expects 256m regions.
2009-08-07 20:31:48 -04:00
Teravus Ovares (Dan Olivares)
c8a68fb3fb
* Remove hard coded 256 limitations from various places. There's no more 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
2009-08-07 18:40:56 -04:00
Diva Canto
53ba245967
HGAuthenticationService must be a singleton, because it has in-memory state. This makes this singleton register with IScene, so that other parts can retrieve its reference.
2009-08-06 18:43:53 -07:00
Justin Clark-Casey (justincc)
07e6a492a1
Disable all IAR tests for now due to possible failure-causing race condition
2009-08-06 19:35:52 +01:00
Justin Clark-Casey (justincc)
bc6de6f5f0
Disable TestReplicateArchivePathToUserInventory() pending more investigation
2009-08-05 20:05:22 +01:00
Justin Clark-Casey (justincc)
07e00e110d
Reinstate TestLoadIarV0_1ExistingUsers(), removing unnecessary wait
2009-08-05 19:38:45 +01:00
Justin Clark-Casey (justincc)
9e5736eeec
insert a little more debug info for TestReplicateArchivePathToUserInventory()
2009-08-05 19:06:07 +01:00
Justin Clark-Casey (justincc)
f8d8f07cb4
Remove waiting in TestReplicateArchivePathToUserInventory() since local inventory loading is synchronous
...
Insert a little more debugging info in case the occasional failure reoccurs
2009-08-05 18:59:44 +01:00
Justin Clark-Casey (justincc)
1b65bd5861
Recomment TestReplicateArchivePathToUserInventory() for now due to occasional test fail
2009-08-05 18:21:22 +01:00
Justin Clark-Casey (justincc)
9e0f1b7fef
reinstate TestSaveIarV0_1()
2009-08-05 18:01:18 +01:00
Justin Clark-Casey
e5904c3883
remove some more mono compiler warnings
2009-08-05 17:39:32 +01:00
Justin Clark-Casey
190bdc8a2e
* Remove some mono compiler warnings
2009-08-05 17:33:23 +01:00
Justin Clark-Casey
3323413f53
reinstate TestReplicateArchivePathToUserInventory()
2009-08-05 17:17:20 +01:00
Teravus Ovares
4cbf0444df
* Tweak the caps manager so that the NPCAvatar works again.
2009-08-01 14:26:00 +00:00
Jeff Ames
4ce5c894cf
Add copyright header. Formatting cleanup.
2009-08-01 05:11:47 +00:00
Teravus Ovares
ae8d3ab22e
* Fix a locking issue in the EventQueue
2009-07-31 20:53:35 +00:00
Teravus Ovares
23a8895d29
* Fixed another potential httpserver leak.
2009-07-30 18:16:00 +00:00
Melanie Thielker
22a533b675
Thank you, dmiles, for a patch that allows more differentiated script
...
permissions for YP scripts.
2009-07-30 15:38:42 +00:00
Teravus Ovares
a8246bc57e
* Remove and comment out old and unneeded parts of the old TextureDownload and UserTextureDownloadService modules.
...
* These have been mostly replaced by the PriorityQueue sender in LLClientView (it was still using threads and poll processing!)
* Thread Reduction!
* Might have been sending more image packets then necessary previously, texture times 2. We'll see if this reduces the texture packet load.
2009-07-30 06:27:45 +00:00
Teravus Ovares
f727f26bcc
* An attempt to fix mantis #3953
2009-07-29 20:32:54 +00:00
Melanie Thielker
cbeebc209d
Thank you, coyled, for a patch to change Flotsamcache path generation
...
to avoid directory overflow.
2009-07-29 17:21:36 +00:00
Teravus Ovares
032aeb8b5d
* Adds the ability to have a thread efficient long poll service (such as the eventqueue)
...
* If this doesn't melt the Http Server, this will significantly reduce the number of threads in use on regions with many users.
* Adds AddPollServiceHTTPHandler, and RemovePollServiceHTTPHandler to BaseHttpServer
* Generic enough to be used for many long poll services, not only the EventQueue.
2009-07-29 02:15:45 +00:00
Melanie Thielker
b008865110
Thank you, mcortez, for a patch to correct a folder bloat issue in the
...
Flotsam Asset Cache.
Fixes mantis #3950
2009-07-28 17:20:51 +00:00
Teravus Ovares
64bd9a3354
* Updates libOMV to version 0.7.0
...
* Uses mantis #3811 as a base (thanks jhuliman) with changes.
* E-mail regarding interface changes sent to the opensim-dev list
* Archive: https://lists.berlios.de/pipermail/opensim-dev/2009-July/007219.html
2009-07-25 15:49:10 +00:00
Arthur Valadares
7bf59c551e
* Updates RESTInterregionComms and LocalInterregionComms to the new region module interface. This fixes an issue where region references were being added but weren't being deleted,
...
causing those "unnotified circuit" messages.
* Also fixes tests accordingly
- Fixes Mantis #3452
- Fixes Mantis #3388
- Fixes Mantis #3871
- Related to Mantis #3493
2009-07-23 16:57:41 +00:00
Jeff Ames
a133e83f3a
Formatting cleanup.
2009-07-23 15:32:11 +00:00
Melanie Thielker
4b84bdb77e
Thank you, patnad, for a patch to advance the UrlModule's functionality.
...
Mantis #3712
2009-07-22 22:16:37 +00:00
Teravus Ovares
b6caf1606d
* If the world map module encounters an error, not all of the objects will be created and will therefore be null in the finally clause. Therefore, only dispose of objects that are not null in the finally clause.
...
* fixes mantis #3848
2009-07-17 21:13:50 +00:00
Justin Clarke Casey
5815162d7e
minor: remove some mono compiler warnings
2009-07-15 20:49:58 +00:00
MW
75bfbc14fc
Test commit to see if commit is working for me, as another core developer is reporting problems.
2009-07-15 10:11:00 +00:00
MW
a7043ebf53
Attempt to make it so items rezzed from inventory aren't half in the ground or half in the prim they are being rezzed on top off. This is currently only correct for single prims (not link groups) and unrotated prims. Next step is to fix for link sets and rotated prims.
...
This needs a lot more testing to find use cases where it might be wrong (like half way up a hill?)
2009-07-13 12:08:14 +00:00
Melanie Thielker
8ecfc9a717
Committing the interface change and the addition to the modules to get
...
the ball rolling on replacable modules. No user functionality yet
2009-07-10 20:17:13 +00:00
Melanie Thielker
c310fb11f4
Remove all references to HttpServer from CommsManager (all incarnations)
...
Change all uses of the HttpServer properties to use the new singleton
2009-07-10 02:22:26 +00:00
Dahlia Trimble
5ba499a759
comment out some excessively verbose eventqueue debugging messages
2009-07-05 07:17:12 +00:00
Melanie Thielker
412b555c27
Restore some lost functionality tot he combat module. Code that used to
...
reside in the economy module was lost in the shuffle when that was moved
to forge. Now it's where it belongs.
2009-07-02 02:46:40 +00:00
Sean Dague
3dc2010da6
From: Chris Yeoh <yeohc@au1.ibm.com>
...
Attached is a patch that changes the oar file saving of creation date/time to an integer
instead of a string. I did this after justincc emailed me saying there is a problem
with internationalisation doing it the old way and I said I'd fix it. Its been
tested with MySQL and I've made the changes for MSSQL but that hasn't been well tested.
2009-06-29 15:05:12 +00:00
Dr Scofield
652bcf91d5
- fixes a "collection out of sync" exception in the ODE physics
...
engine, caused by an "avatar infinite position" occurring under
heavy load.
- fixes "value too small" exception in ChatModule
2009-06-25 07:39:48 +00:00
Melanie Thielker
9d07584ea1
Allow "Take Copy" with copy only permissions if you own the object. Trans
...
is only required when taing an object you don't own, now.
Fixes Mantis #3838
2009-06-24 23:45:21 +00:00
Melanie Thielker
77ebb7c9f3
Committing RemoteUserServiceConnector out connector, local user service
...
connector and the glue code.
2009-06-22 13:14:48 +00:00
Jeff Ames
65d48a5e60
Formatting cleanup, ignore some generated files.
2009-06-22 11:04:09 +00:00
Jeff Ames
142b481e03
Update svn properties.
2009-06-22 10:07:27 +00:00
Melanie Thielker
7d4f541d43
Suppress exception dump when informing friends in another region about login
...
or logoff. Regions come and go and we can't throw just because someone
took their region off the grid, or crashed.
2009-06-21 22:40:21 +00:00
Melanie Thielker
e4d26d7bfa
When a shared module hooks OnClientClosed, it has no way of finding
...
out which client connection has closed. So, in multi-region sims, things
can get messy fast.
This introduces a second parameters, which is a Scene object ref. Minor
adjustments to custom modules may be required due to this change.
2009-06-19 20:46:17 +00:00
Dahlia Trimble
19b52d13e2
Thanks cmickeyb for a patch that checks for null assets in Cenome asset cache - Mantis #3819
2009-06-19 17:08:23 +00:00
Dahlia Trimble
00d042f3d1
Thanks Michelle Argus for Mantis #0003742 : Terrain editor - Flatten tool lowers Land
2009-06-18 23:02:12 +00:00
Arthur Valadares
f243dddc04
* Corrected CAPS namespaces
...
* "luke, use the sed"
2009-06-18 14:33:35 +00:00
diva
ce7de3581c
Implementation of a simple authentication service + in connector in route to making HGInventory (client access) work in standalone again. This is the refactoring of what was/is there, but done in the new model. Not complete yet, but key authentication works. It should be enough to make HGInventory work again soon.
2009-06-17 03:52:39 +00:00
diva
6cb7ecd99c
Renamed two of the in connector modules, to make things consistent.
2009-06-15 00:29:37 +00:00
diva
54d44e370b
Removing the OpenSim.SimulatorServices project. All of those region modules are now in CoreModules/ServiceConnectorsIn, where they belong.
2009-06-15 00:17:17 +00:00
diva
380f59d0ff
Factoring out "land_data" / RequestLandData that was hanging off of IGridServices, erroneously. Not sure when this is used, but now it is implemented in the new model of service connectors. Hopefully it works.
2009-06-14 23:00:23 +00:00
Melanie Thielker
664dd58cd9
Fixes Mantis #3793 . Committing thomax/Snoopy's patch to allow deeding of objects, with changes:
...
- Set OwnerID = GroupID for deeded objects.
- Close a security loophole that would have allowed a user with deed rights in a group to deed ANY object to that group, even if it's not owned by them and/or not set to that group
- Set LastOwnerID correctly. Handle objects vs. prims correctly.
2009-06-14 21:44:34 +00:00
Jeff Ames
8d0eb3307f
Update svn properties.
2009-06-14 21:37:50 +00:00
diva
6abffedab5
Renamed Region/CoreModules/ServiceConnectors to Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-14 19:44:56 +00:00
diva
a0b68178b8
Bug fix in remote neighbour connector.
2009-06-14 16:26:14 +00:00
diva
7a9c85526c
Pulled out HelloNeighbour into its own service, INeighbourService, which may get more functions as we go along. It's a very simple service and service connectors, and it served primarily to establish the design of services that dependent on Scenes and that must always have a local connector. More refactoring coming, as this showed how to do it right.
2009-06-14 15:35:09 +00:00
Justin Clarke Casey
9f2ddfd167
* Temporarily resolve another problem in http://opensimulator.org/mantis/view.php?id=3741 by disabling the loading of OAR creation information
2009-06-12 20:00:26 +00:00
Justin Clarke Casey
f9782a1085
* minor: removing some logging stuff accidentally left in on the last commit
2009-06-12 15:45:38 +00:00
Justin Clarke Casey
45342067f5
* Move standalone login setup in LLStandaloneLoginmodule to RegionLoaded() from AddRegion()
...
* This is necessary to avoid a dependency problem where LLStandaloneLoginModule references IInventoryService before the LocalInventoryServiceConnector is registered
* Correct some copypasta log messages in LocalInventoryServiceConnector
2009-06-12 15:41:53 +00:00
Justin Clarke Casey
cb6baacc31
* minor: remove one mono warning
2009-06-12 14:29:42 +00:00
Justin Clarke Casey
874df490fb
* fix build break: sigh, must remember to build before committing
2009-06-12 14:23:31 +00:00
Justin Clarke Casey
4e526778b7
* minor: make control file loading code consistent
2009-06-12 14:18:01 +00:00
Justin Clarke Casey
15b8641bef
* minor: if OAR saving receives assets after timeout, just print warning, don't accidentally go on to process them
2009-06-12 14:00:50 +00:00
Justin Clarke Casey
86043c431f
* minor: remove warning from unused field
2009-06-12 13:37:08 +00:00
Arthur Valadares
d4ed7b03af
* Fixed a few more async calls. Still not uncommented, some asserts still failing
2009-06-11 20:50:23 +00:00
diva
2afd733229
Fixes mantis #3803 . Thanks jhurliman.
2009-06-11 20:27:13 +00:00
diva
6c1d6283e6
Small improvement in the IAR tests, but these tests are still showing random behavior, so they are still commented out.
2009-06-11 19:12:20 +00:00
diva
156604e28e
InterServiceInventoryService references *almost* completely removed from the simulator. Only a couple left, not important. Also updated the login tests -- Justin, this time I was able to fix this by myself :)
2009-06-11 03:00:25 +00:00
diva
6242b01ac8
Removing the default reading of AssetCaching on all cache modules.
2009-06-10 16:48:26 +00:00
Melanie Thielker
b465dd7eb3
Reverse the default setting in Flotsam Asset Cache. Nothing should be the default
2009-06-10 15:36:44 +00:00
diva
1874c635ea
Commenting the IAR tests for now until we understand how to set up things in this new inventory model.
2009-06-10 15:18:07 +00:00
diva
0f367bd7bb
Heart surgery no.2: the inventory service hooks.
...
Several improvements in the connectors themselves.
Several improvements in configurations.
Needed to add a hack in IUserService and UserManagerBase, to be removed when that service is refactored.
2009-06-10 13:18:32 +00:00
Jeff Ames
a23d64dec1
Formatting cleanup.
2009-06-10 04:28:56 +00:00
diva
ca52c3ef26
Letting the Flotsam cache be enabled even when [AssetCache] section is missing. Thank you mcortez!
2009-06-09 20:20:30 +00:00
Jeff Ames
a7fcacf8f3
Formatting cleanup. Ignore some generated files.
2009-06-09 18:07:35 +00:00
Jeff Ames
135ff63c3d
Update svn properties.
2009-06-09 17:48:22 +00:00
Melanie Thielker
9c726fb178
Thank you Snoopy, for a patch that implements group permissions.
...
Applied with changes:
- removed spammy debug message
- corrected tab formatting
2009-06-09 08:15:34 +00:00
Dr Scofield
759636f37e
From: Alan Webb <alan_webb@us.ibm.com>
...
This change addresses two issues:
[1] It adds a flag field to the blendface call which allows the
caller to indicate whether or not the generated asset is
temporary, and whether or not the asset being replaced should
be explicitly retired fromt the memory cache. The decimal
values correspond to:
0 - Permanent asset, do not expire old asset
1 - Permanent asset, expire old asset
2 - Temporary asset, do not expire old asset
3 - Temporary asset, expire old asset
'3' corresponds to the default behavior seen today, and is
the continued behavior of the non-blendface calls.
[2] The dynamic texture routines are highly-asynchronous and can
be scheduled simultaneously on a multi-core machine. The nature
of the texture management interfaece is such that updates may
be lost, and the nature of asynchornous operation means that
they may be processed out of order. A lock has been added to
ensure that updates are at least atomic. No attempt has been
made to enforce ordering. The lock applies to the SceneObjectPart
being updated and is held for the lifetime of the TextureEntry
used to carry texture updates (the one instance carries all
faces supported by the prim).
Users of these services should remember that the dynamic texture
call is asynchronous and control will be returned *before* the
texture update has actually occurred. As a result, a isubsequent
GetTexture call may not return the expected asset id. A script
must wait for the corresponding TEXTURE_CHANGED event before
retrieving any texture information.
2009-06-09 06:39:27 +00:00
Melanie Thielker
0356fef9ab
Updating the flotsam asset cache. Thank you, mcortez!
...
Fixes Mantis #3784
2009-06-08 20:09:49 +00:00
diva
b87f982a7e
Bug fix. Adding the asset to the cache after a DB get.
2009-06-08 19:35:36 +00:00
diva
16d5003274
Added more functions to IInventoryService. Unsure about whether all of these are really necessary.
2009-06-08 03:09:24 +00:00
diva
1ad237a8a7
First draft of inventory service connectors, and service implementation. No handlers yet, this is just the OUT part for now. It's not active and nothing in the simulator uses this yet. Just checking it in to start sharing with others. There are a couple of interesting software design points that could use other devs opinions.
...
Hopefully I added all needed files.
2009-06-07 19:00:55 +00:00
Justin Clarke Casey
593942b195
* Fix problem where known missing assets would stop save oar ever completing
...
* Issue was that region server was silently dropping an XmlException caused by trying to deserialize the blank asset service response
* So make asset service return http status NOT FOUND rather than OK in accordance with REST
* and interpret this correctly in the async response so that a null object is sent back
* This means that this fix won't be active until both region simulator and server reach this revision
2009-06-05 16:14:22 +00:00
Justin Clarke Casey
bfea077508
* Add oar saving timeout
...
* If an oar save fails to get responses to all asset requests to the asset service then timeout after 60 seconds
* Timeout executes abort, since missing assets in an OAR seems bad
* This means that oar saves won't permanently hang and instead can be retried if something goes wrong with the asset service
* This is not a solution to mantis 3714. Hopefully a fix will be along shortly since I can now consistently reproduce that problem
2009-06-05 13:48:43 +00:00
Melanie Thielker
9f932a4205
Thank you, thomax, for a patch to provide finer-grained access control to
...
scripting.
Fixes Mantis #2862
2009-06-05 09:47:42 +00:00
Melanie Thielker
f992db6807
Committing mcortez's FlotsamAssetCache after several positive reviews.
...
Thank you, mcortez!
2009-06-05 04:58:55 +00:00
diva
ffac6f94f0
Changed a comment to reflect changes in config.
2009-06-04 18:41:19 +00:00
Jeff Ames
c6cef4bad5
Comment out unused variables / private fields to avoid compiler warnings.
2009-06-04 03:58:04 +00:00
Jeff Ames
5f923f0632
Add copyright headers.
2009-06-04 01:09:18 +00:00
Jeff Ames
007016ecd2
Update svn properties.
2009-06-04 00:51:02 +00:00
Dr Scofield
717fd3b5b9
From: Chris Yeoh <yeohc@au1.ibm.com>
...
This patch adds oar file date and time (UTC) meta data to an oar file
when it is created. It also adds a unique ID, though this id does not
in anyway identify the machine that the oar file was created on.
When an oar file with this meta data is loaded this extra information
is saved with the region settings and available via LSL through:
- osLoadedCreationDate()
- osLoadedCreationTime()
- osLoadedCreationID()
If there is no meta data these fields will be blank. Subsequent oar
file loads will erase the information for the previous oar file
load. Persistence has only been implemented for MySQL, the other
backends need updating.
Overall this allows us to much more easily identify the specific version of
software that clients are using. Its very straightforward to edit the oar file
to change the ID string to be something more human friendly.
Included in the patch is a new file OpenSim/Data/MySQL/Resources/030_RegionStore.sql
required for the MySQL DB migration.
btw I had a chat with justincc about this a few weeks ago since he
wrote the oar file import/export and he sounded happy to accept
something that included date/time information but didn't want anything
that would silently leak private information like machine names.
2009-06-03 12:48:04 +00:00
Dr Scofield
074b66ddcf
From: Chris Yeoh <yeohc@au1.ibm.com>
...
- fixes wild swings in memory usage related to usage of GetDrawStringSize()
We've been seeing wild swings in memory usage and a large chunk of
memory leak. From analysing this it's pretty clear that the mono
garbage collector is rather buggy! When exercised heavily it looks
like it frees more than its meant to resulting in crashes.
GetDrawStringSize() measures the size in pixels of text. To do this
memory for an image is allocated and used to call the GDI text
measure functions. Although no reference to the temporary memory
for the measuring is kept, it takes quite a while for the mono
garbage collector to clean up - so if lots calls to
GetDrawStringSize() are made at once there can be a spike in memory
usage. If the garbage collector is not fast enough then the GDI
layer runs out of memory. It also looks like the garbage collector
is not always reclaiming all of the memory.
I've attached an OpenSim patch which works around the garbage collector
issues. Instead of dynamically allocating memory for measuring
text sizes, it serialises (on a per region basis) access to a single
block of memory. The effect of this is to be nicer to the garbage
collector as it has a lot less work to do, at the cost of some
theoretical loss in performance (nothing noticeable with our tests
which hit it pretty hard).
OpenSim still does leak memory slowly, but it is a lot more stable
with this patch. I suspect that either the garbage collector misses
bits of freed memory or the GDI/cairo layer leaks a bit each time a
texture is created. Thats going to be a lot harder to hunt down, but
for reference if someone has OpenSim running on Windows it would be
interesting to see if it has the same problem as it would tell us if
its a mono/GDI problem or an OpenSim problem.
2009-06-03 12:39:44 +00:00
Dr Scofield
25a0a56570
From: Alan Webb <alan_webb@us.ibm.com>
...
Modify dynamic texture handling so that an explicitly targetted
face is not scheduled for immediate expiration. The requirement
for precaching explicitly requires these assets to persist. They
do however remain temporary.
This approach leaves the legacy mode of operation (ALL_SIDES)
unchanged in this respect.
2009-06-03 12:21:14 +00:00
Dahlia Trimble
9e3b592fa3
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-03 08:41:08 +00:00
Dahlia Trimble
528db43326
revert r9765 due to too many errors on some compilers. Affects Mantis #3759
2009-06-03 02:03:11 +00:00
Dahlia Trimble
b38be1a7fd
Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache (Mantis #3759 )
...
See the files: bin/config-include/GridCommon.ini.example and bin/config-include/StandaloneCommon.ini.example to configure and enable this caching method.
2009-06-02 22:42:47 +00:00
Justin Clarke Casey
5c42143a7b
* Add simple original xml serialization test
2009-06-02 15:24:29 +00:00
Justin Clarke Casey
412295ccde
* Add simple original sog xml serialization test
2009-06-01 18:03:51 +00:00
Justin Clarke Casey
f6badc528b
* minor: change the name of one serialization method to match its counterpart
2009-06-01 17:38:11 +00:00
Justin Clarke Casey
ecbeb5cea1
* Fix race condition in save oar
2009-06-01 16:00:46 +00:00
Jeff Ames
840de6c036
Minor: Change OpenSim to OpenSimulator in older copyright headers and LICENSE.txt.
2009-06-01 06:37:14 +00:00
Jeff Ames
35b450d41d
Add copyright headers, formatting cleanup, ignore some generated files.
2009-05-31 18:35:00 +00:00
Jeff Ames
db2c4ab94c
Update svn properties.
2009-05-31 16:26:18 +00:00
diva
822c2176df
Forgot to add this to my last commit 2 days ago. Async in the HGBroker too.
2009-05-30 16:22:15 +00:00
Justin Clarke Casey
4aad6a07ff
* refactor: Remove redundent prim id attribute on Scene.AddSceneObject()
2009-05-29 21:01:18 +00:00
Justin Clarke Casey
6eb191c87b
* Add save xml2 serialization test
2009-05-29 20:20:47 +00:00
Justin Clarke Casey
9021bb231c
* minor: move common serialization test code into fixture setup
2009-05-29 16:27:43 +00:00
Justin Clarke Casey
fa04937a82
* Add xml2 load test
2009-05-29 16:11:33 +00:00
diva
1e9cb2f8fc
Making the delegate handlers async in async Get, to make things consistent. Them being synchronous in certain cases (asset in cache, for example) may account for slowness reported by folks in osgrid when they have the cache module on. Turns out that some of the provided handlers do non-trivial processing (the ones coming from J2KImage, for example), which means that the several asset requests that hit the cache end up being synchronous. The jury is still out on this.
2009-05-29 01:26:53 +00:00
diva
0094556d04
Instrumenting GlynnTuckerCache to find out the hit rate.
2009-05-28 21:04:10 +00:00
Adam Frisby
5db649538a
* Tweak to above
2009-05-28 19:20:49 +00:00
Adam Frisby
2feb218817
* Makes grid announcements more prominent.
2009-05-28 19:19:10 +00:00
Adam Frisby
4b151b83a8
* Oops. Forgot Initialise needs tweaking between IRegionModule and ISharedRegionModule.
2009-05-28 19:03:27 +00:00
Adam Frisby
561d6c1cdc
* Converts recently added OGSRadmin to IRegionModule because I cant be arsed figuring out Mono.Addins.
2009-05-28 18:59:18 +00:00
Adam Frisby
940b5567a0
* Adds OGS RAdmin class. Adds primitive remote admin functions for gridservers to perform on region servers. Used for grid-wide announcements, etc.
2009-05-28 18:27:08 +00:00
Adam Frisby
a7b49084ad
* May make the terrain flatten brush behave like Second Life(tm)'s client expects. May break everything. You decide!
2009-05-28 15:27:15 +00:00
diva
e0ef697402
Adding the GlynnTucker cache module as the default choice in .ini's.
...
Minor log message change in the module itself.
2009-05-27 16:11:23 +00:00
Jeff Ames
a576cca59e
Update svn properties.
2009-05-27 14:30:33 +00:00
diva
ce5225e6dc
Experimental alternative cache module implementation, using GlynnTucker.Cache.dll.
2009-05-26 21:24:18 +00:00
Melanie Thielker
0b9076cd17
Revert a change I made to get a better URL because it failes under mono
2009-05-26 01:38:32 +00:00
Melanie Thielker
2f74a7e3a6
Couple of tweaks to the URL module: handle script reset gracefully and
...
stop crashing http server threads.
2009-05-26 01:27:22 +00:00
Justin Clarke Casey
582c20b1c4
* reseparate inventory item creator id and creator uuid
...
* unfortunately, while the client requires uuids and we want to be able to have arbitrary string ids, these cannot be kept in sync
* I think the problems last time were due to a serialization change
* So the major inteface version has been bumped to take care of any lingering issues here.
* This means that region servers beyond this revision can only connect to similarly uptodate grid services, and vice versa
2009-05-25 19:54:47 +00:00
Dr Scofield
eaa89f5a03
oops: wrong "path" in addin.xml
2009-05-25 12:27:17 +00:00
Dr Scofield
d4d9d8ed8f
converting CapabilitiesModule to new region module scheme
2009-05-25 11:11:04 +00:00
Melanie Thielker
4e64bf9360
Prevent group deeded objects from being returned by the group return option
...
unless the user has that permission through the group.
2009-05-24 17:29:40 +00:00
Melanie Thielker
ca75c101ec
Allow the perms module to inspect and modify the list of objects to return
...
for more fine-grained control
2009-05-24 17:20:47 +00:00
Melanie Thielker
c028d0a3c1
Make group permissions control what a user can return.
2009-05-24 16:55:34 +00:00
Melanie Thielker
f3f7d60367
Add a new permissions check for bulk object returns.
2009-05-24 16:11:35 +00:00
diva
fb6d314d4d
This should make HG asset transfers work much better. It now uses HGUuidGatherer, which is a subclass of UuidGatherer. Hence, on-line HG asset transfers use exactly the same UUID collection code as save oar/xml. If it doesn't work, it's Justin's fault :D
2009-05-23 17:51:13 +00:00
Adam Frisby
31baeef469
* Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
...
* If you have something using XmlRpc that isn't in core, change your method signature from:
(XmlRpcRequest request)
to:
(XmlRpcRequest request, IPEndPoint remoteClient)
2009-05-23 06:05:20 +00:00
Justin Clarke Casey
a3145e4e5a
* Reintroduce save iar test, which wasn't working because the asset service hadn't been manually post intiailized
2009-05-22 19:59:45 +00:00
Dr Scofield
3b689e506f
From: Alan Webb <alan_webb@us.ibm.com>
...
Changes to support client-side image pre-caching in the region. This
commit adds an additional calling sequence to the DynamicTexture data
and URL calls. The new interface allows a dynamic image to be loaded
into a specific object face (rather than the mandatory ALL_SIDES
supported today.
This is in part fulfilment of ticket #458 .
2009-05-22 16:22:49 +00:00
Dr Scofield
1d02636c27
cleaning out warnings.
...
NOTE: we currently have a gazillion warnings caused stuff flagged as
"obsolete" (OGS1 stuff) --- what's up with that?
2009-05-22 14:57:00 +00:00
Dr Scofield
912be7a2ac
converting Chat module and Concierge module to new style region modules
2009-05-22 14:25:50 +00:00
Dr Scofield
1df80943b0
dropping sex from SceneBanner...
2009-05-22 14:21:44 +00:00
diva
da170cde46
Cleaning up a few HG things. HG Posts may now work in grids, but if the home grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.
2009-05-22 04:23:59 +00:00
Melanie Thielker
20383a61b8
Thank you, StrawberryFride, for a patch to fix SceneBan behavior.
...
Applied with changes (commented the logging entirely, since Linux defaults
to debug level)
Fixes Mantis #3689
2009-05-20 11:27:15 +00:00
Jeff Ames
e0bc5c5db2
Add copyright headers, formatting cleanup.
2009-05-20 01:32:06 +00:00
Justin Clarke Casey
01ca3a91ad
* Take another attempt at http://opensimulator.org/mantis/view.php?id=3191
...
* Return something more sensible if a file isn't found
2009-05-19 19:41:01 +00:00
Dr Scofield
8559f9bbba
From: Alan Webb <alan_webb@us.ibm.com>
...
The image render module is returning everything twice. Once with
data, once with null. This change adds a return to stop this
behavior. This was not apparent until I added a message to the
catching routine which issued a warning message when no data was
returned.
2009-05-19 18:34:04 +00:00
Melanie Thielker
88f17010b7
Add initializing m_scene if it's not null. Marking MyScene as [Obsolete]
...
because it will be removed soonish. This is NOT the way to go.
Thanks, mpallari, for pointing this out.
Fixes Mantis #3684
2009-05-19 16:26:20 +00:00
Melanie Thielker
23d902be42
Remove the old asset cache and local services and the configurations for them
2009-05-18 23:18:04 +00:00
diva
df16532858
Bug fix and config rename.
2009-05-18 23:15:50 +00:00
diva
13da5a9fba
Finished HG Service Store. Not fully functional because of problems with asset.ID insisting on being a UUID string.
2009-05-18 20:04:59 +00:00
Justin Clarke Casey
1cc9d1fd8d
* minor: another attempt at http://opensimulator.org/mantis/view.php?id=3191
...
* didn't realize that we were getting back plain old exceptions
2009-05-18 18:44:55 +00:00
Justin Clarke Casey
29671fc103
* Resolve http://opensimulator.org/mantis/view.php?id=3191
...
* Catch directory exception on load oar as well as file exception
2009-05-18 18:22:15 +00:00
Justin Clarke Casey
ad7214620f
* Re-enable save oar test by loading asset data plugins from test mock class
...
* Actually spit out the exception caught by the plugin loader - not much point having plugins throw exceptions if we are just going to ignore them
2009-05-18 17:46:14 +00:00
Melanie Thielker
2534078380
Refactor: Change "Servers" to "Server", since the can only be one. Break
...
the handlers out of the asset server context into a generic scope.
2009-05-18 12:36:59 +00:00
Melanie Thielker
cb2ce61876
Move the connectors under services for reasons of application logic. Remove
...
the user server skeleton in preparation for introducing a generic server
2009-05-18 11:43:37 +00:00
Dr Scofield
e3f2cfa1ca
From: Alan Webb <alan_webb@us.ibm.com>
...
Fixes:
[1] Sharing exception on remote OAR management
[2] Occasional 505 error talking to Tomcat
[3] Occasional mono aborts caused by mlog in the
script engine's app domain (mono 2.4)
2009-05-18 10:04:28 +00:00
Charles Krinke
74f1c16c49
Thank you kindly, Jonc, for a patch that solves
...
the issue of a console command 'export-map file.jpg'
having the map flipped when exported.
2009-05-17 18:09:39 +00:00
diva
720e2bc5d9
Renaming [ServiceConnectors] back to [Modules].
2009-05-17 15:37:50 +00:00
Jeff Ames
5cfd84c924
Update svn properties.
2009-05-17 10:26:00 +00:00
diva
aac8ca0411
HG asset transfers starting to work -- GETs only for now.
2009-05-17 01:38:43 +00:00
Homer Horwitz
99cf8e3f5a
Send the owner name, not the client name on SendDialog.
...
This modifies IClientAPI.SendDialog slightly.
Fixes Mantis #3661 .
2009-05-16 16:01:25 +00:00
Justin Clarke Casey
c11e047410
* Resolve bug where save oar would never complete if any assets were missing
2009-05-15 20:20:55 +00:00
diva
5e4fc6e91e
Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
...
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems:
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Justin Clarke Casey
6277156044
* When saving an oar, save assets when immediately received rather than storing them all up in memory
...
* Hopefully this will remove out of memory problems when saving large oars on machines without much memory
* It may also speed up saving of large oars
2009-05-14 20:37:54 +00:00
Justin Clarke Casey
02bac7fea4
* refactor: move SceneXmlLoader into subpackage
2009-05-14 18:46:17 +00:00
Justin Clarke Casey
303aa4b65e
* refactor: move bottom part of 'xml2' serializaton to separate class
2009-05-14 18:08:54 +00:00
Justin Clarke Casey
d10b5e29bc
* refactor: break some of xml2 serialization out of sog
2009-05-14 16:33:04 +00:00
Melanie Thielker
d843b897b2
Move the connector for the new asset server to a connectors project. Inherit
...
the region module version from this. This enables inter-server connections
to reuse connetor code from region modules.
2009-05-14 06:18:18 +00:00
Melanie Thielker
50b305b006
Honor the temp and local asset flags
2009-05-14 03:07:00 +00:00
Melanie Thielker
13298fef0b
Fix up some URL details
2009-05-13 20:57:26 +00:00
Melanie Thielker
8bea196b5b
Add the port to the generated URL. For some reson this still doesn't want to
...
receive requests.
2009-05-13 20:45:28 +00:00
Melanie Thielker
fb3d5770dd
Make the LSL HTTP server create and give out URLs to scripts
2009-05-13 20:32:14 +00:00
Melanie Thielker
1196f3eac7
Add most of the meat to the LSL HTTP server
2009-05-13 04:04:26 +00:00
Melanie Thielker
ba8850f254
Plumb request and return URL functions.
...
Implements llRequestURL, llRequestSecureURL, llReleaseURL
2009-05-13 03:09:30 +00:00
Melanie Thielker
80ce08d8b2
Add a skeleton for the LSLHttpServer
2009-05-13 02:54:13 +00:00
Melanie Thielker
88371e4f98
Fix interface registration/deregistration mechanics
2009-05-12 23:49:42 +00:00
Melanie Thielker
55dd6d4334
Make the accet cache module actually register the interface
2009-05-12 23:21:03 +00:00
Melanie Thielker
c582d54272
Correct addin XML
2009-05-12 19:50:09 +00:00
Melanie Thielker
c2bcd5845f
Commit the addin XML for the Core Asset Cache
2009-05-12 17:01:04 +00:00
Dr Scofield
c81c9e712c
fixing SocketException when IP address cannot be resolved
2009-05-12 14:57:42 +00:00
Melanie Thielker
68da7d1a43
Correctly reset the group ownership flag when a parcel is reclaimed.
2009-05-12 13:48:55 +00:00
Melanie Thielker
e1750c8c7c
Hook up deed permissions checking to the land module
2009-05-12 13:41:30 +00:00
Melanie Thielker
32ac388363
Add permission mechanisms for group deeding land
2009-05-12 13:29:38 +00:00
Charles Krinke
c1d680b6c3
Thank you kindly, Patnad, for a patch that:
...
This is to handle the changes in the v1.23 viewer
of LL regarding the adult rating. With this patch
a region can be changed to the adult rating from
LL viewer v1.23 and above.
2009-05-12 03:30:37 +00:00
Melanie Thielker
16efb78698
Changes to the new user system to add the modularity developed for the asset
...
system
2009-05-11 22:54:09 +00:00
Adam Frisby
6dcafec22d
* Implements IP and DNS based ban facilities to OpenSim.
...
* User interface is ... primitive at best right now.
* Loads bans from bans.txt and region ban DB on startup, bans.txt is in the format of one per line. The following explains how they are read;
DNS bans are in the form "somewhere.com" will block ANY matching domain (including "betasomewhere.com", "beta.somewhere.com", "somewhere.com.beta") - make sure to be reasonably specific in DNS bans.
IP address bans match on first characters, so, "127.0.0.1" will ban only that address, "127.0.1" will ban "127.0.10.0" but "127.0.1." will ban only the "127.0.1.*" network
2009-05-11 19:23:51 +00:00
Melanie Thielker
461e213a39
Plumb the HG asset broker. More naming changes to clarify things. Lots more
...
config options.
2009-05-11 02:59:26 +00:00
Melanie Thielker
225252f48e
Add the HG asset module skeleton
2009-05-10 22:55:44 +00:00
Melanie Thielker
65c0996a9c
Use the new async handling class to actually make the new asset service's
...
async request perform asynchronously
2009-05-10 16:51:14 +00:00
Melanie Thielker
dc4f31db1a
Create an async form of the RestObjectPoster. Rename the file (but not the
...
class!) to SynchronousRestObjectRequester. Add CacheBuckets parameter to
cache
2009-05-10 16:20:25 +00:00
Melanie Thielker
1a910b6e1d
Connect up the new asset cache and introduce an asynchronous call path
...
for asset retrieval (full asset only) to ease migration to the new system
2009-05-10 14:03:06 +00:00
Melanie Thielker
d8e1842d25
Add some asset cache plumbing. Change the generic cache from UUID to string
...
keys to allow caching the new crop of URI identified objects.
2009-05-10 12:27:05 +00:00
Melanie Thielker
14a6880352
Fix the build break
2009-05-10 00:40:08 +00:00
Melanie Thielker
13b2ff83df
Small asset cache addition. Comment a debug output left in CAPS
2009-05-10 00:30:51 +00:00
Melanie Thielker
89d921c3b2
COmmitting the asset cache skeleton
2009-05-09 23:47:20 +00:00
Teravus Ovares
dac793ea47
* Break out the SampleMoneyModule to a new namespace
...
* Create the OpenSim.Region.ReplaceableModules namespace for modules that we intend to have people replace (see readme)
* Create the OpenSim.Region.ReplaceableModules.MoneyModule namespace
* Put our current Sample MoneyModule in this namespace. (more modifications here next commit)
2009-05-09 05:21:56 +00:00
Melanie Thielker
b3d29aaeb3
Make remote assets work through the new server system
2009-05-09 04:03:32 +00:00
Melanie Thielker
b2b13c5a42
Plumb the remote asset hookup, all but the actual requests
2009-05-09 03:08:11 +00:00
Melanie Thielker
c1e7352d75
Add the asset service connectors and sample config. READ WARNINGS!!!
2009-05-09 02:49:55 +00:00
Justin Clarke Casey
567e0d032c
* break out 'xml2' deserialization from sog
2009-05-08 19:18:37 +00:00
Sean Dague
6b88a205d6
another possible cause of some of the inventory wierdness is the 1/2 implemented
...
OSP resolver, and the caching of the uuid seperate from the string that is a UUID.
Change this behavior back to something that ensures the data for the 2 is the same.
Put the 2 unit tests that depend on the new behavior into ignore state.
2009-05-08 15:40:39 +00:00
Sean Dague
6d36985bbc
remove misleading comment
2009-05-07 19:37:25 +00:00
Sean Dague
ce0a84cbc0
instrument most of the tests with a new InMethod function that may help us figure
...
out where that pesky deadlock is during test runs.
2009-05-07 19:07:08 +00:00
Justin Clarke Casey
7440681062
minor: Inconsquential change to provoke another build
2009-05-07 13:59:38 +00:00
Dr Scofield
3312938f6b
From: Alan Webb <alan_webb@us.ibm.com>
...
logs error message on empty data in DynamicTextureModule
2009-05-07 11:58:45 +00:00
Charles Krinke
c84abfa9b1
Thank you kindly, Fly-Man- for a patch that:
...
Adding more SL likeness for Email module in CORE.
I've added some SL likeness to the Email module so
that it looks more like emails going out in the
same standard as SL uses
2009-05-06 02:29:29 +00:00