aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-03-05remove unnecessary hash local variableJustin Clark-Casey (justincc)1-2/+0
2012-03-03Make asset compression optional. Currently set to false and not ↵Justin Clark-Casey (justincc)1-16/+24
configurable from outside MySQLXAssetData.
2012-03-03Implement basic gzip compression for xassetdataJustin Clark-Casey (justincc)1-10/+41
Whether this is worthwhile is debatable since here we are not transmitting data over a network In addition, jpeg2000 (the biggest data hog) is already a compressed image format. May not remain.
2012-03-03If asset data already exists with the required hash then don't rewrite itJustin Clark-Casey (justincc)1-17/+59
2012-03-02Perform asset storage transactionallyJustin Clark-Casey (justincc)1-57/+69
2012-03-02comment out "[CAPS]: ScriptTaskInventory Request" log spamJustin Clark-Casey (justincc)1-1/+1
2012-03-02Make xassetservice execute one query to retrieve the asset, not twoJustin Clark-Casey (justincc)1-28/+4
2012-03-02Remove outdated comment about checking attachment prims in ↵Justin Clark-Casey (justincc)1-3/+1
Scene.PipeEventsForScript()
2012-03-02Allow a script to receive events if its root prim is in an area where it's ↵Justin Clark-Casey (justincc)1-4/+1
allowed to run rather than checking its own prim. This allows scripts to run in child prims that are outside region boundaries. This is an interim patch applied from http://opensimulator.org/mantis/view.php?id=5899 though it does not resolve that bug Thanks tglion!
2012-03-02ScenePresence line endings and fix AllowMovement default to true.Dan Lake1-30/+30
2012-03-02minor: remove mono compiler warningJustin Clark-Casey (justincc)1-2/+1
2012-03-02Make XAssetService a de-duplicating asset service.Justin Clark-Casey (justincc)2-0/+443
This is an extremely crude implemenation which almost works by accident. Nevertheless it does work. It can be tested with the instructions at http://opensimulator.org/wiki/Feature_Proposals/Deduplicating_Asset_Service#Testing It does not interact at all with the existing asset service or any data stored there. This code is subject to change without notice and should not be used for anything other than gawking.
2012-03-01Send the right name and creation date on the BasicProfileModule.Diva Canto1-2/+11
2012-03-01In ScenePresence, removed several private variables used to store public ↵Dan Lake1-108/+44
parameters. They were only used by the get/set and make code harder to refactor.
2012-03-02Start by adding XAssetService as a copy of the existing AssetService.Justin Clark-Casey (justincc)2-2/+218
This is the start of exploring the creation of a bundled OpenSimulator asset service that does de-duplication and possibly file storage of assets. Along the lines of coyled's SRAS, but not intended to replace, merely to act as a more performant bundled default. Might end up nicking stuff from kcozen's patch at http://opensimulator.org/mantis/view.php?id=5429 More details at http://opensimulator.org/wiki/Feature_Proposals/Deduplicating_Asset_Service Feedback and discussion welcome as commits are made.
2012-03-02minor: Rename pCampbot console prompt to "pCampbot" rather than "Region"Justin Clark-Casey (justincc)1-1/+1
2012-03-02Provide feedback on bot login states in pCampbotJustin Clark-Casey (justincc)1-0/+7
2012-03-02Move SenseRepeaters.Count check inside the SenseRepeatListLock.Justin Clark-Casey (justincc)1-4/+4
No methods in the List class are thread safe in the MS specification/documentation
2012-03-02lock SenseRepeatListLock when added a new sensor during script reconstitution.Justin Clark-Casey (justincc)1-1/+3
This is already being done in the other place where a sensor is added. Adding a sensor whilst another thread is iterating over the sensor list can cause a concurrency exception.
2012-03-01Adds an OSSL command for regular expression-based string replacement. ParametersMic Bowman3-0/+32
are osReplaceString(string source, string patter, string replace, integer count, integer start) The count parameter specifies the total number of replacements to make, -1 makes all replacements.
2012-03-01Fix indexing on string trimBlueWall1-1/+1
Thanks to zadark for pointing this out, smxy for deciphering the ?: operator and Plugh for the fix \o/ yay for IRC
2012-03-01Use a fully stubbed out MockConsole for unit tests rather than inheriting ↵Justin Clark-Casey (justincc)2-23/+38
from CommandConsole. This is so that the static MainConsole.Instance doesn't retain references to methods registered by scene and other modules to service commands. This prevents the scene from being garbage collected at the end of a test. This is not the final thing preventing GC - next up is the timer started by SimStatsReporter that holds a reference to Scene that prevents end of test gc.
2012-02-29Flick master up to 0.7.4Justin Clark-Casey (justincc)1-1/+1
2012-02-29Revert "Fix authentication for OpenID provider"BlueWall1-2/+2
This reverts commit 9f597c2d423a80279c4aed042be8a991eedefa21. Fixing OpenID causes issues with other parts of the code.
2012-02-29Fix authentication for OpenID providerBlueWall1-2/+2
2012-02-29Don't start pCampbot if the user doesn't supply bot firstname, lastname stub ↵Justin Clark-Casey (justincc)1-0/+4
and password
2012-02-29Use correct casing of RegionSettings.Sandbox in the various database modules.Justin Clark-Casey (justincc)3-4/+4
MySQL and MSSQL have it as Sandbox, sqlite as sandbox. In various different places in every plugin the wrong casing is used... Consistency, who needs it? Or one day sqlite can change to Sandbox.
2012-02-28Call Dispose() via using() on SqliteCommands in WebStatsModule after use.Justin Clark-Casey (justincc)1-99/+98
2012-02-28Fixed two typos. White space cleanups.Kevin Cozens1-16/+16
Signed-off-by: nebadon <michael@osgrid.org>
2012-02-27Some clean up in WebUtil, remove unused ServiceRequest function.Mic Bowman1-71/+7
2012-02-25HG: Remove async in posting assets to foreign grid. Mono hates concurrency ↵Diva Canto1-1/+1
there.
2012-02-25PRIM_SCULPT_FLAG_INVERT, PRIM_SCULPT_FLAG_MIRROR implementedPixelTomsen2-4/+8
http://opensimulator.org/mantis/view.php?id=5763
2012-02-25Remove EXPERIMENTAL tags from load iar/save iar commands.Justin Clark-Casey (justincc)1-3/+0
2012-02-24llGetLinkMedia, llSetLinkMedia, llClearLinkMedia implementation mantis: ↵PixelTomsen3-27/+105
http://opensimulator.org/mantis/view.php?id=5756 http://opensimulator.org/mantis/view.php?id=5755 http://opensimulator.org/mantis/view.php?id=5754
2012-02-24Take watchdog alarm calling back outside the m_threads lock.Justin Clark-Casey (justincc)2-5/+18
This is how it was originally. This stops a very long running alarm callback from causing a problem.
2012-02-24Rename Watchdog.GetThreads() to GetThreadsInfo() to reflect what it actually ↵Justin Clark-Casey (justincc)2-2/+2
returns and for consistency.
2012-02-24Get rid of some of the identical exception catching in Scene.Update().Justin Clark-Casey (justincc)1-17/+1
2012-02-24Stop spurious scene loop startup timeout alarms for scenes with many prims.Justin Clark-Casey (justincc)10-26/+65
On the first frame, all startup scene objects are added to the physics scene. This can cause a considerable delay, so we don't start raising the alarm on scene loop timeouts until the second frame. This commit also slightly changes the behaviour of timeout reporting. Previously, a report was made for the very first timed out thread, ignoring all others until the next watchdog check. Instead, we now report every timed out thread, though we still only do this once no matter how long the timeout.
2012-02-24In osSetSpeed(), if no avatar for a uuid is found then don't attempt to set ↵Justin Clark-Casey (justincc)1-1/+3
speed.
2012-02-24llLinkSitTarget implementation http://wiki.secondlife.com/wiki/LlLinkSitTargetPixelTomsen3-5/+33
2012-02-23Load appropriate 32-bit/64-bit Windows sqlite dll if using WebStatsModule.Justin Clark-Casey (justincc)1-0/+3
This should resolve http://opensimulator.org/mantis/view.php?id=5901
2012-02-23Try to resolve some problems with viewers crashing after hitting parcel ↵Justin Clark-Casey (justincc)3-16/+41
banlines or freezing on the banline. This involves 1) On forcible teleport, call m_scene.RequestTeleportLocation() rather than ScenePresence.Teleport() - only EntityTransferModule now should call SP.Teleport() 2) When avatar is being forcibly moved due to banlines, use a 'stop movement' tolerance of 0.2 to requested position rather than 1 This prevents the avatar sometimes being stuck to banlines until they teleport somewhere else. This aims to fix some problems in http://opensimulator.org/mantis/view.php?id=5822
2012-02-23Add a position parameter to region crossing of objects. This avoids theMelanie8-18/+25
potential bad update that places an object at the opposite side of the origin sim for a moment before actually crossing it. Especially important in grids like OSG where lag between sims is high.
2012-02-22Remove two spurious m_sceneGraph != null checks in Scene.cs. It's set in ↵Justin Clark-Casey (justincc)1-8/+2
constructor and never subsequent set to null.
2012-02-21Restore the taskItem null check that I accidentally blatted in 5397a6dJustin Clark-Casey (justincc)1-0/+9
This is a valid check because the caller could supply an invalid uuid.
2012-02-21Fix:LINK_ROOT flag for llGetLinkName() by SinglePrimPixelTomsen1-1/+1
2012-02-21Fix problem with dragging child part inventory item to user inventory.Justin Clark-Casey (justincc)2-30/+4
This fixes the problem by fixing the permissions module to look at root part permissions rather than having to do this for every caller. Resolves http://opensimulator.org/mantis/view.php?id=5569
2012-02-21Revert "Fix:Cannot drag inventory from child prim into inventory ↵Justin Clark-Casey (justincc)1-8/+4
http://opensimulator.org/mantis/view.php?id=5569" This reverts commit 15ce73caca9ea6448e34b95d344cbbf5c9507f6d. As per the COMMENTS in http://opensimulator.org/mantis/view.php?id=5569, I was going to fix this in a more general way.
2012-02-21Fix:Cannot drag inventory from child prim into inventory ↵PixelTomsen1-4/+8
http://opensimulator.org/mantis/view.php?id=5569
2012-02-21Load 32-bit or 64-bit BulletSim Windows library automatically as appropriate.Justin Clark-Casey (justincc)1-0/+3
This uses the same approach as ODE. radams, if this doesn't work for you please feel free to revert.