aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-19When a shared module hooks OnClientClosed, it has no way of findingMelanie Thielker5-5/+5
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-19Thanks cmickeyb for a patch that checks for null assets in Cenome asset ↵Dahlia Trimble1-3/+7
cache - Mantis #3819
2009-06-18Thanks Michelle Argus for Mantis #0003742: Terrain editor - Flatten tool ↵Dahlia Trimble2-37/+21
lowers Land
2009-06-18* Corrected CAPS namespacesArthur Valadares7-12/+12
* "luke, use the sed"
2009-06-17Implementation of a simple authentication service + in connector in route to ↵diva3-3/+119
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-15Renamed two of the in connector modules, to make things consistent.diva3-4/+4
2009-06-15Removing the OpenSim.SimulatorServices project. All of those region modules ↵diva6-0/+619
are now in CoreModules/ServiceConnectorsIn, where they belong.
2009-06-14Factoring out "land_data" / RequestLandData that was hanging off of ↵diva4-1/+254
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-14Fixes Mantis #3793 . Committing thomax/Snoopy's patch to allow deeding of ↵Melanie Thielker1-1/+16
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-14Update svn properties.Jeff Ames2-283/+283
2009-06-14Renamed Region/CoreModules/ServiceConnectors to ↵diva13-24/+25
Region/CoreModules/ServiceConnectorsOut. No functional changes.
2009-06-14Bug fix in remote neighbour connector.diva2-2/+3
2009-06-14Pulled out HelloNeighbour into its own service, INeighbourService, which may ↵diva5-136/+284
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-12* Temporarily resolve another problem in ↵Justin Clarke Casey1-2/+4
http://opensimulator.org/mantis/view.php?id=3741 by disabling the loading of OAR creation information
2009-06-12* minor: removing some logging stuff accidentally left in on the last commitJustin Clarke Casey1-3/+2
2009-06-12* Move standalone login setup in LLStandaloneLoginmodule to RegionLoaded() ↵Justin Clarke Casey1-4/+7
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* minor: remove one mono warningJustin Clarke Casey2-2/+1
2009-06-12* fix build break: sigh, must remember to build before committingJustin Clarke Casey1-2/+1
2009-06-12* minor: make control file loading code consistentJustin Clarke Casey2-18/+12
2009-06-12* minor: if OAR saving receives assets after timeout, just print warning, ↵Justin Clarke Casey1-0/+2
don't accidentally go on to process them
2009-06-12* minor: remove warning from unused fieldJustin Clarke Casey1-5/+0
2009-06-11* Fixed a few more async calls. Still not uncommented, some asserts still ↵Arthur Valadares2-3/+40
failing
2009-06-11Fixes mantis #3803. Thanks jhurliman.diva3-4/+4
2009-06-11Small improvement in the IAR tests, but these tests are still showing random ↵diva1-1/+4
behavior, so they are still commented out.
2009-06-11InterServiceInventoryService references *almost* completely removed from the ↵diva1-1/+1
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-10Removing the default reading of AssetCaching on all cache modules.diva2-2/+2
2009-06-10Reverse the default setting in Flotsam Asset Cache. Nothing should be the ↵Melanie Thielker1-1/+1
default
2009-06-10Commenting the IAR tests for now until we understand how to set up things in ↵diva1-4/+4
this new inventory model.
2009-06-10Heart surgery no.2: the inventory service hooks. diva5-201/+60
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-10Formatting cleanup.Jeff Ames5-10/+10
2009-06-09Letting the Flotsam cache be enabled even when [AssetCache] section is ↵diva1-8/+9
missing. Thank you mcortez!
2009-06-09Formatting cleanup. Ignore some generated files.Jeff Ames4-58/+58
2009-06-09Update svn properties.Jeff Ames2-796/+796
2009-06-09Thank you Snoopy, for a patch that implements group permissions.Melanie Thielker1-131/+246
Applied with changes: - removed spammy debug message - corrected tab formatting
2009-06-09From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-30/+45
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-08Updating the flotsam asset cache. Thank you, mcortez!Melanie Thielker1-438/+523
Fixes Mantis #3784
2009-06-08Bug fix. Adding the asset to the cache after a DB get.diva1-1/+5
2009-06-08Added more functions to IInventoryService. Unsure about whether all of these ↵diva3-0/+83
are really necessary.
2009-06-07First draft of inventory service connectors, and service implementation. No ↵diva3-0/+858
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-05* Fix problem where known missing assets would stop save oar ever completingJustin Clarke Casey1-1/+3
* 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* Add oar saving timeoutJustin Clarke Casey2-1/+128
* 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-05Thank you, thomax, for a patch to provide finer-grained access control toMelanie Thielker1-0/+69
scripting. Fixes Mantis #2862
2009-06-05Committing mcortez's FlotsamAssetCache after several positive reviews.Melanie Thielker1-0/+438
Thank you, mcortez!
2009-06-04Changed a comment to reflect changes in config.diva1-1/+1
2009-06-04Comment out unused variables / private fields to avoid compiler warnings.Jeff Ames1-1/+1
2009-06-04Add copyright headers.Jeff Ames1-9/+27
2009-06-04Update svn properties.Jeff Ames1-382/+382
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield2-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.
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield1-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.
2009-06-03From: Alan Webb <alan_webb@us.ibm.com>Dr Scofield1-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.