aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-06-03From: Chris Yeoh <yeohc@au1.ibm.com>Dr Scofield8-2/+168
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.
2009-06-03Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache ↵Dahlia Trimble6-0/+3520
(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-03Thanks aduffy70 for Mantis #3762: A patch to fix llGround, llGroundNormal, ↵Dahlia Trimble1-42/+80
and llGroundSlope
2009-06-03revert r9765 due to too many errors on some compilers. Affects Mantis #3759Dahlia Trimble6-3519/+0
2009-06-03add body to an empty getter/setterDahlia Trimble1-1/+8
2009-06-03fix a int[] declarationDahlia Trimble1-1/+1
2009-06-02Thank you Imaze Rhiano for a patch that implements Cenome Memory Asset Cache ↵Dahlia Trimble6-0/+3512
(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-02Thank you kindly, MattSetzer, for a patch that solves a Mantis:Charles Krinke1-2/+16
This appears to be due to the fact that no asset cache has been configured, possibly as a result of the configuration changes that have been made recently. I've attached a patch to display a message to that effect rather than throwing an error.
2009-06-02Thank you kindly, jonc, for a patch that:Charles Krinke1-2/+2
Grid mode only. Serialization and deserialization of byte representing Access Level is failing unless byte is ToString'd first on Grid Server.
2009-06-02* Pried apart the ODE tests. This fixes mantis #3212lbsa711-0/+0
2009-06-02* Add simple original xml serialization testJustin Clarke Casey2-11/+75
2009-06-02Explicitly set the changed status of the prim groups affected in a delinkMelanie Thielker1-0/+1
Mantis #2484
2009-06-01* Allow for lowercase searching in standalone mode, when case sensitiveArthur Valadares1-1/+15
search fails. This allows compability to libOMV bots, that always lowercase region names. * Uncertain if this should/could propagate to grids
2009-06-01* Removed some commented-out codelbsa712-50/+0
2009-06-01Only save crashes to disk if save_crashes in OpenSim.ini is true (false by ↵Jeff Ames1-17/+20
default).
2009-06-01* Making silent logoff of old hung sessions for new connections default forArthur Valadares4-15/+7
StandAlone users. Not touching grid.
2009-06-01* Add simple original sog xml serialization testJustin Clarke Casey3-21/+22
2009-06-01* minor: change the name of one serialization method to match its counterpartJustin Clarke Casey4-7/+131
2009-06-01* Fix race condition in save oarJustin Clarke Casey5-32/+52
2009-06-01Fixed AvatarCreationModule (I think)MW1-1/+1
2009-06-01trying to get panda to be able to read the AvatarCreationModule MW1-544/+544
2009-06-01part 1 of trying to get panda to be able to read the AvatarCreationModule MW1-545/+545
2009-06-01Some changes to the AvatarCreationModule to reduce the number of database ↵MW1-69/+86
reads/writes. Still requires more work in this area.
2009-06-01Minor: Change OpenSim to OpenSimulator in older copyright headers and ↵Jeff Ames891-891/+891
LICENSE.txt.
2009-05-31reduce verbosity of sculpt map cache messages to reporting cache failures onlyDahlia Trimble1-2/+2
2009-05-31Thank you kindly, StrawberryFride for a patch that:Charles Krinke1-7/+50
Added in some key code to read properties from MSSQL for user profiles which fixes issues of users having trouble editing estate settings on a grid where estate managers are not god, and fixes the option of enabling grid god functionality on MSSQL grids. I have applied this to trunk only. I need someone else to examine and apply to 0.6.5-Post-Fixes, or give me some direction, please.
2009-05-31Add copyright headers, formatting cleanup, ignore some generated files.Jeff Ames22-104/+563
2009-05-31Update svn properties.Jeff Ames7-2376/+2376
2009-05-31* Adds MRM scripting commands, World.Objects.Create(Vector3 position) and ↵Adam Frisby2-0/+22
World.Objects.Create(Vector3 position, Quaternion rotation). These rez a 'default box' object at the specified coordinates, and return the associated IObject.
2009-05-31Fix IRCd init check for config sectionMike Mazur1-3/+3
The IRCStackModule used Nini.Config.ConfigCollection.Contains() to determine whether the "IRCd" section was present in the config. This ConfigCollection, however, stores an ArrayList of IConfig objects, not strings, so calling Contains("IRCd") always returns false since "IRCd" is a string, not an IConfig object.
2009-05-30Slashing trailing slashes.diva1-1/+1
https://lists.berlios.de/pipermail/opensim-dev/2009-May/006673.html
2009-05-30Forgot to add this to my last commit 2 days ago. Async in the HGBroker too.diva1-1/+1
2009-05-30Added option (on my default) to the clone avatar function so that the ↵MW3-123/+164
clothes and attachments that the target avatar is wearing, to begin with, are removed. So the end result isn't a merger of those clothes/attachments and the ones the template avatar is wearing. Added IPAddress ListenIPAddress property to BaseHttpServer so that the listening/binding IP can be set.
2009-05-30Made it so ( by default) the Clone avatar function, propagates the ↵MW1-21/+28
permissions on the cloned items. This needs further testing to make sure all permissions are set correctly.
2009-05-30a few small changes to AvatarCreationModuleMW1-14/+17
2009-05-30Added a AvatarCreationModule to the user server. This handles the "cloning" ↵MW3-0/+512
of a existing avatar's inventory to another avatar's inventory (the base method will also create the inventory for a new avatar if the avatar doesn't alreayd have any inventory). The code also sets the target avatar as wearing whatever the template avatar was wearing (including attachments). The idea is to allow the use of this to give new avatars a more interesting avatar (and inventory set) than the current default. I have include a console command that will clone the inventory from one existing user (template avatar) to another existing avatar (target avatar). The format of the command is : "clone avatar <templateAvatarFirstName> <templateAvatarLastName> <targetAvatarFirstName> <targetAvatarLastName>" (to use this console command on new accounts, the "create user" command will need to be used first) While the code was designed for hooking up to a remote call from a web interface, I have left the hookup code out of this commit, as I believe most use cases will want to handle it differently. Also added a "trusted handler" to the inventory server to allow the user server to create new folders in a user's inventory. All this is in the old UGAIM servers so will need porting to the new servers.
2009-05-30* Tweaks to /WHO listings.Adam Frisby1-9/+23
2009-05-30* You are likely to be eaten by a grue.Adam Frisby2-61/+162
* Enable with [IRCd] Enabled=true (will listen on port 6666).
2009-05-30* More TweaksAdam Frisby3-9/+44
2009-05-30* More IRCClientView fiddling. Now implements IClientAPI & IClientCore.Adam Frisby3-182/+245
2009-05-30* May partially implement a C# IRCd & IRCClientStack.Adam Frisby3-0/+1487
2009-05-29* Adds World.Audio.* to MRMAdam Frisby3-1/+48
* This includes methods such as PlaySound which take a Position as an argument, allowing you to trigger sounds arbitrarily across the scene without needing a parent object in the position.
2009-05-29* Protip: When you click 'make public' in resharper, note to save before ↵Adam Frisby1-1/+1
committing.
2009-05-29* Implements Sound on Objects for IObject in MRMAdam Frisby3-1/+29
* Method: IObject.Sound.Play(UUID sound, double volume) * More feature-packed API to come soon. (I want a World.Sound with arbitrary positioning)
2009-05-29* Allows standalone region users to skip the "You must wait 5 minutes to log ↵Arthur Valadares3-5/+28
again" message and allow the region to kick the old user and log the new one without reporting any failure. Default is still to show message and fail login
2009-05-29* Bug fix: Fixes an exception when Scene.RemoveClient is called to remove on aArthur Valadares1-117/+117
non-existing ScenePresence avatar. Also removed trailing white spaces.
2009-05-29* refactor: little tweaks to trigger another buildJustin Clarke Casey1-4/+15
2009-05-29* refactor: Remove redundent prim id attribute on Scene.AddSceneObject()Justin Clarke Casey3-11/+5