aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changed a comment to reflect changes in config.diva2009-06-041-1/+1
|
* Comment out unused variables / private fields to avoid compiler warnings.Jeff Ames2009-06-041-1/+1
|
* Add copyright headers.Jeff Ames2009-06-041-9/+27
|
* Update svn properties.Jeff Ames2009-06-041-382/+382
|
* From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-06-032-0/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2009-06-031-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-06-031-2/+5
| | | | | | | | | | | 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.
* Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache ↵Dahlia Trimble2009-06-032-0/+383
| | | | | | | | (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.
* revert r9765 due to too many errors on some compilers. Affects Mantis #3759Dahlia Trimble2009-06-032-382/+0
|
* Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache ↵Dahlia Trimble2009-06-022-0/+382
| | | | | | | (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.
* * Add simple original xml serialization testJustin Clarke Casey2009-06-022-11/+75
|
* * Add simple original sog xml serialization testJustin Clarke Casey2009-06-012-17/+18
|
* * minor: change the name of one serialization method to match its counterpartJustin Clarke Casey2009-06-013-6/+130
|
* * Fix race condition in save oarJustin Clarke Casey2009-06-014-28/+50
|
* Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames2009-06-01121-121/+121
| | | | LICENSE.txt.
* Add copyright headers, formatting cleanup, ignore some generated files.Jeff Ames2009-05-312-46/+73
|
* Update svn properties.Jeff Ames2009-05-311-123/+123
|
* Forgot to add this to my last commit 2 days ago. Async in the HGBroker too.diva2009-05-301-1/+1
|
* * refactor: Remove redundent prim id attribute on Scene.AddSceneObject()Justin Clarke Casey2009-05-291-1/+1
|
* * Add save xml2 serialization testJustin Clarke Casey2009-05-291-3/+70
|
* * minor: move common serialization test code into fixture setupJustin Clarke Casey2009-05-291-6/+17
|
* * Add xml2 load testJustin Clarke Casey2009-05-292-2/+143
|
* Making the delegate handlers async in async Get, to make things consistent. ↵diva2009-05-291-2/+2
| | | | 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.
* Instrumenting GlynnTuckerCache to find out the hit rate.diva2009-05-281-0/+29
|
* * Tweak to aboveAdam Frisby2009-05-281-1/+1
|
* * Makes grid announcements more prominent.Adam Frisby2009-05-281-1/+4
|
* * Oops. Forgot Initialise needs tweaking between IRegionModule and ↵Adam Frisby2009-05-281-0/+2
| | | | ISharedRegionModule.
* * Converts recently added OGSRadmin to IRegionModule because I cant be arsed ↵Adam Frisby2009-05-281-1/+17
| | | | figuring out Mono.Addins.
* * Adds OGS RAdmin class. Adds primitive remote admin functions for ↵Adam Frisby2009-05-281-0/+102
| | | | gridservers to perform on region servers. Used for grid-wide announcements, etc.
* * May make the terrain flatten brush behave like Second Life(tm)'s client ↵Adam Frisby2009-05-281-1/+5
| | | | expects. May break everything. You decide!
* Adding the GlynnTucker cache module as the default choice in .ini's.diva2009-05-271-1/+1
| | | | | Minor log message change in the module itself.
* Update svn properties.Jeff Ames2009-05-271-126/+126
|
* Experimental alternative cache module implementation, using ↵diva2009-05-262-0/+127
| | | | GlynnTucker.Cache.dll.
* Revert a change I made to get a better URL because it failes under monoMelanie Thielker2009-05-261-1/+1
|
* Couple of tweaks to the URL module: handle script reset gracefully andMelanie Thielker2009-05-261-1/+10
| | | | | | stop crashing http server threads.
* * reseparate inventory item creator id and creator uuidJustin Clarke Casey2009-05-251-3/+0
| | | | | | | | | * 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
* oops: wrong "path" in addin.xmlDr Scofield2009-05-251-2/+2
|
* converting CapabilitiesModule to new region module schemeDr Scofield2009-05-252-5/+23
|
* Prevent group deeded objects from being returned by the group return optionMelanie Thielker2009-05-241-2/+22
| | | | | | unless the user has that permission through the group.
* Allow the perms module to inspect and modify the list of objects to returnMelanie Thielker2009-05-242-5/+5
| | | | | | for more fine-grained control
* Make group permissions control what a user can return.Melanie Thielker2009-05-241-0/+32
|
* Add a new permissions check for bulk object returns.Melanie Thielker2009-05-242-0/+12
|
* This should make HG asset transfers work much better. It now uses ↵diva2009-05-231-1/+1
| | | | 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
* * Pipes requestors IP address through all XmlRpcRequest delegates. This is ↵Adam Frisby2009-05-234-5/+8
| | | | | | | | | | 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)
* * Reintroduce save iar test, which wasn't working because the asset service ↵Justin Clarke Casey2009-05-221-11/+9
| | | | hadn't been manually post intiailized
* From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield2009-05-222-50/+105
| | | | | | | | | | 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.
* cleaning out warnings.Dr Scofield2009-05-222-4/+4
| | | | | | NOTE: we currently have a gazillion warnings caused stuff flagged as "obsolete" (OGS1 stuff) --- what's up with that?
* converting Chat module and Concierge module to new style region modulesDr Scofield2009-05-222-21/+49
|
* dropping sex from SceneBanner...Dr Scofield2009-05-221-1/+1
|
* Cleaning up a few HG things. HG Posts may now work in grids, but if the home ↵diva2009-05-221-11/+24
| | | | grid is a standalone, this still doesn't work -- something wrong with RegionAssetService's DB connection.