aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-08-11Fixed mistakes related to confusion between Environment.TickCount ↵Oren Hurvitz2-3/+3
(milliseconds) and TimeSpan.TicksPerXXX (10000 x milliseconds)
2015-08-11Log scripts that have processed many events: this is probably an indication ↵Oren Hurvitz1-0/+8
of a problem
2015-08-11Removed unused code that checked wait_timeout in MySQLEstateDataOren Hurvitz1-34/+0
2015-08-11Fixed calling "debug xengine log" without the 'level' parameter: this should ↵Oren Hurvitz1-1/+1
show the current log level; not crash
2015-08-11Prevent a crash if "debug jobengine log" is entered without a log levelOren Hurvitz1-0/+6
2015-08-11Better handling of invalid XML: a) prevent infinite loop on EOF; b) better ↵Oren Hurvitz5-69/+115
logging If the XML was truncated for some reason then ExecuteReadProcessors() would get into an infinite loop, using high CPU. Now it detects EOF (and several other error cases) and aborts. The rest of the changes just improve logging of XML in case of errors, so that we can see what the bad XML is.
2015-08-11Fixed mistakes in string format specifiers (e.g., "{0)" instead of {0}")Oren Hurvitz2-2/+2
2015-08-09BulletSim: rearrange code and add different locking to eliminate chancesRobert Adams3-43/+40
of race conditions and, especially, race conditions when an object is removed and quickly re-added to a scene. This hopefully reduces the occurance of problems when avatars TP within a region -- the main problem being the loss of collisions.
2015-08-09BulletSim: update the motion actors so they completely clean themselvesRobert Adams7-29/+41
when Dispose() is called. This reduces chance of object leakage when destroying objects. Rearrange initialization and shut down of BSActorLockAxis so it is consistant with other actors.
2015-08-08Corrected spelling of SQLITE. Fixes mantis #7675.Kevin Cozens1-1/+1
2015-08-08Convert the enum to int before casting it to string for DB queryDiva Canto1-1/+1
2015-08-08Fixed failing testDiva Canto1-14/+5
2015-08-08WARNING: massive refactor to follow libomv's latest changes regarding ↵Diva Canto37-225/+238
inventory folders. The newest version of libomv itself is committed here. Basically, everything that was using the AssetType enum has been combed through; many of those uses were changed to the new FolderType enum. This means that from now on, [new] root folders have code 8 (FolderType.Root), as the viewers expect, as opposed to 9, which was what we had been doing. Normal folders are as they were, -1. Also now sending folder code 100 for Suitcase folders to viewers, with no filter. All tests pass, but fingers crossed!
2015-08-07Have osAvatarName2Key check the cache first, even for foreign usersOren Hurvitz2-23/+47
Another change: removed the second call to userManager.AddUser(). UserManagementModule won't modify an existing record.
2015-08-07max-agent-groups supportCinder2-2/+19
Robust now tells viewers what the maximum number of groups is. Viewers show this limit to the users, and enforce it. The default is 42, which is what viewers had assumed was the maximum number before this update. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-08-06BulletSim: clean up some code for axis locking. No functional change.Robert Adams1-74/+13
2015-08-06BulletSim: rearrange code and add some tests to try and resolve theRobert Adams2-6/+7
initialization race conditions reported in Mantis 6792. When a region is initializing it seems that the prim initialization code can be interrupted part way through then taints are processed for prims that are not completely there.
2015-08-04create osGetAvatarHomeURIChristopher3-0/+40
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-04Make osAvatarName2Key() able to get names from unknown HG usersChristopher1-4/+40
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-08-03In the AgentCircuitData of HG users, set the last name to include the portOren Hurvitz1-1/+1
E.g., instead of "first.last @grid.example.com", the name is now "first.last @grid.example.com:8002"
2015-08-03Merged the two "Version 2" migrations in PGSQLOren Hurvitz1-6/+0
2015-08-03PGSL Presence migration to correct a double version 2 migration that existedGeir Nøklebye1-0/+10
The migration file had a version 2 migration defined twice and therefore the LastSeen field most likely never was defined in the presence file. This migration adds the field and migrates the table to version 4. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-08-03Removed unused variableOren Hurvitz1-2/+0
2015-08-02Add an option to processes physics collisions using FireAndForget.Robert Adams2-3/+48
Off by default but set with [Startup]ShouldUseFireAndForgetForCollsions=true There is a problem with physics colliions sometimes stopping. One suspicion is that the long callback path from the physics engine into the script engine is causing problems. Enabling this feature passes the collision into the script engine on a separate thread and not the main simulation thread. Tester can enable this and see if the collsions stay around. If they still fail, this commit should be reverted and another solution looked for.
2015-08-02Add HGFSAssetService to the HypergridService to provide HG support for FSAssets.AliciaRaven2-5/+194
2015-08-02osKey2Name returns now correct values for HG users who are not on the region.Christopher1-10/+18
Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-08-01Mantis #7657: similar fixes for FSAssets.Diva Canto1-1/+28
2015-08-01Mantis #7657 and #7514. This should alleviate the problem of bad object ↵Diva Canto4-4/+47
assets being passed around via HG and archives. No guarantees that all the leaks have been found, but at least it detects and fixes these bad assets upon: (1) storing and getting assets over HG -- assuming the core HG asset service is being used (not the case with OSGrid!) (2) importing assets via OAR and IAR Instantiation of bad assets now should also work, instead of producing an exception, but the bad assets themselves aren't being fixed in the DB. That should be done with a cleaning tool -- see Perl script in Mantis #7657. Virus!
2015-08-01Mantis #7664: Added IHypergridLinker interface to establish a contract about ↵Diva Canto2-2/+8
what implementers need to provide publicly. This is used by 3rd-party addons such as Wifi.
2015-07-31Show last online status of group members from the PresenceService in group ↵Cinder3-48/+80
profiles Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-07-31Eliminated several warningsOren Hurvitz7-3/+15
2015-07-31XMLRPCModule now actually aborts the worker thread when requestedOren Hurvitz1-2/+6
2015-07-31PGSQL migrations for IM_Store, UserProfiles, removal of casting exception ↵Geir Nøklebye4-1/+33
for UserProfiles and adding double precision to PGSQL Manager PGSQL migrations for IM_Store, UserProfiles, removal of casting exception for UserProfiles and adding double precision to PGSQL Manager. Fixes the Offline IM to Email toggle and prepares for fixing Offline IM. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-07-31Fixed bad log messageOren Hurvitz1-1/+1
This fixes http://opensimulator.org/mantis/view.php?id=7661
2015-07-26Fixed bug introduced in 4735514. The project didn't compile.Oren Hurvitz1-1/+1
2015-07-26Update PGSQL groups handler to accept search queries from the viewerGeir Nøklebye3-17/+26
Update PGSQL groups handler to accept search queries from the viewer. Fixed malformed query strings. Signed-off-by: Oren Hurvitz <orenh@kitely.com>
2015-07-26Fixed not being charged to create classifeids on money enabled regionsQuill Littlefeather1-2/+14
Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-23Removed unused code related to DNS lookupsOren Hurvitz2-38/+0
2015-07-23Add quotes aroung LandFlags as PGSQL seems to choke on the word whenMelanie Thielker1-1/+1
it's bare.
2015-07-22Added locking to HypergridLinker, to prevent problems if multiple linking ↵Oren Hurvitz1-6/+14
requests for the same region are handled simultaneously
2015-07-22Added logging in places where regions are searched for by their locationOren Hurvitz5-20/+60
This commit also fixes the log message "Region already exists in coordinates <{0},{1}>": it was actually showing the *requested* coordinates, instead of the coordinates of the previously-existing link.
2015-07-21BulletSim: fix cut-and-paste typo in constraint frame setting.Robert Adams1-1/+1
This code is in the XNA module so it does not affect the normal Bullet configuration .
2015-07-21Prevent two maptiles being generated at startup, one for v1 and another for ↵AliciaRaven2-1/+9
v2-3 service. * v1 Service (WorldMapModule) is called directly by scene on startup. This patch moves the initial map registration of the v2-3 service (MapImageServiceModule) to that point so they can share the bitmap instead of doubling the work of Warp3D and exasperate its memory leak issues. Signed-off-by: Michael Cerquoni <nebadon2025@gmail.com>
2015-07-14Correcting errors in previous change: MySQL needs int unsigned, notMelanie Thielker2-3/+3
unsigned int. PGSQL has no unsigned types, changing to bigint.
2015-07-14Mantis #7629: Change LandFlags column to unsigned. Thanks, Jim!Melanie Thielker2-0/+16
2015-07-13Prevent multiple instances of the FSAssets service causing problems. Protect ↵AliciaRaven1-33/+46
against secondary instances registering duplicate console commands Also prevents multiple instances each starting a writer thread which will cause major file access exceptions as they fight over the contents of the spool directory. Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-13Fixed the whitespace in Scene.csOren Hurvitz1-515/+515
The whitespace in this file was fubared recently
2015-07-12Bringing FSAssets more inline with current OpenSim standards. * If no ↵AliciaRaven4-54/+198
connection string found in assets config, fallback to using default database config * Create database storage interface to allow other db connectors to be written at some point * Add MySQL migrations file to create the initial db table * Added new config option named DaysBetweenAccessTimeUpdates to reduce db load by only updating access times when fetching assets if the last access time was over the threshold. This idea was taken from XAssets service. * Change log message headers to indicate FS assets is the source not just assets Signed-off-by: Melanie Thielker <melanie@t-data.com>
2015-07-11More cleanup, add missing refs to prebuild, remove refs to stuff notMelanie Thielker1-3/+0
used. Will NOT compile.
2015-07-11Some cleanup, add prebuild project, correct pathMelanie Thielker2-4/+0