Commit Graph

6776 Commits (f57d1307ab32fcd999a1df5437cdb6c2354ac7ed)

Author SHA1 Message Date
Homer Horwitz 025441d722 Small formatting cleanup, before chi11ken notices. Me bad. 2008-09-19 21:32:41 +00:00
Sean Dague 6dd2841ed8 add in bits to attempt to enable log4net on these tests to help when debugging 2008-09-19 20:53:42 +00:00
Justin Clarke Casey 7eb3b5a578 * minor: eliminate the current warnings
* you'd think from all this that I was one of those fanatically tidy people.  I can assure you from looking around my bedroom/study that this is not the case :)
2008-09-19 20:39:30 +00:00
Justin Clarke Casey e518fe5d34 * Enables logins to regions on a grid once they have finished starting up (this does not include script startup). 2008-09-19 20:02:19 +00:00
Sean Dague 858d8416b4 add a region settings test 2008-09-19 20:00:09 +00:00
Justin Clarke Casey fb5014cf5b * Duh, forgot I had undone some of the changes I meant to include in the previous commit 2008-09-19 19:07:20 +00:00
Justin Clarke Casey 4c7ddd2c71 * Remove one possible deadlock situation as seen today
* On script rez, XEngine was taking an m_scripts lock and then later on an m_parts lock when looking for a part by local id
* In the meantime, a scene object being deleted would take an m_parts lock and then later on try to take an m_scripts lock when it tried to trigger script removal
* There may be better ways to resolve this, but I believe that in general, we must always take an m_parts lock before an m_scripts lock
2008-09-19 18:50:19 +00:00
Sean Dague 7ac264c2f0 convert to using proper .net tempfiles, should have done this
initially.
2008-09-19 17:47:37 +00:00
Justin Clarke Casey 5fb7b485b2 * Only allow logins on standalone when the sim has completed it's initial startup (script startup doesn't count here)
* There was a small window where region logins were allowed before modules were loaded - avatars logins that hit this window could have caused bad things to happen.
* A similar change will follow for grid mode sometime soon
2008-09-19 17:41:21 +00:00
Melanie Thielker 5d3fe9f8cd Guard LLRezObject against NaN 2008-09-19 17:34:35 +00:00
Melanie Thielker 592f98c4aa Mantis #2217
Guard against NaN being returned from llRotBetween. Return a zero rotation
if the result is NaN.
2008-09-19 17:00:17 +00:00
Melanie Thielker 092ad53dc7 Fix issue introduces by a fix in 6256. Fixes mantis #2214 2008-09-19 13:11:55 +00:00
Dahlia Trimble e6afb28355 re-enabled some ODE internal proxies for some simple prim types to try to save some more memory 2008-09-19 09:13:27 +00:00
Teravus Ovares 468b7426c3 * Tweaked handler code to recognize LibOMV's LLSD Login by post content.
* OK for public consumption.
2008-09-19 01:36:02 +00:00
Teravus Ovares 610313ea64 * Added null exception handler where we couldn't locate a user data record in the cache for the user
* More OGP tweaks to make it play nice in an error condition.
* Still Experimental.
2008-09-19 01:11:40 +00:00
Teravus Ovares a1217410e5 * Switches content type from application/xml+llsd to application/llsd+xml on outgoing requests.
* Monitors / for getting the seed cap for rez_avatar/request on application/llsd+xml && application/xml+llsd && !application/xml
* Experimental, this might break LibOMV temporarily.
2008-09-19 00:13:16 +00:00
Melanie Thielker 48c2ef7e12 Fix llParcelMedia queries. Correct types and add a missing ToString() (XEngine) 2008-09-18 20:23:18 +00:00
Homer Horwitz e2564f2563 Add a db.Dispose before calling Delete on the SQLite database.
On Windows, you are not able to delete a file while there is
still a handle to it open.
2008-09-18 20:15:04 +00:00
Homer Horwitz 1c08f46ec3 - Add Dispose method to IRegionDataStore
- Add necessary dummy Dispose-methods where they are missing
- Implement the SQLite Dispose-methods
(currently only used for unit tests, in the next commit)
2008-09-18 20:10:09 +00:00
Justin Clarke Casey 48978ba3e0 * Apply http://opensimulator.org/mantis/view.php?id=2212
* Update llGetNumberOfNotecardLines() and llGetNotecardLine() to use dataserver on dotnetengine
* Thanks M.Igarashi
2008-09-18 18:58:39 +00:00
Justin Clarke Casey 8ff1bc5b03 * Make the ode simulation update loop print out the stack if an exception occurs (at least, this is what will happen on linux) 2008-09-18 18:54:42 +00:00
Melanie Thielker 6cfe4784cb Reverse yes and no for the parcel's "public" property to make it accurately
reflect parcel status
2008-09-18 18:54:27 +00:00
Melanie Thielker 903fbd1f06 XEngine: fix collisions, add event coalescing for collision events.
Fix a nasty concurrency issue that could cause a high event frequency
to start more than one thread pool job for a single script.
2008-09-18 18:50:39 +00:00
Teravus Ovares e6f3181d3a * Updates the SQLite region database to support the same properties that the MySQL version does for the table, prims.
* If this causes any unit tests to fail, the tests need to be updated.
2008-09-18 17:47:29 +00:00
Melanie Thielker 584704edd3 Remove redundant permissions check in OSSL_Api.cs 2008-09-18 17:06:47 +00:00
Melanie Thielker f856977c7b Fix list reset behavior, and thereby squash one warning 2008-09-18 17:04:02 +00:00
Dr Scofield 0dff3f2383 From: Robert Smart (SMARTROB@uk.ibm.com)
Patch for new scripting method osParseJSON.

also, a couple of warning bugs killed.
2008-09-18 16:53:26 +00:00
Jeff Ames ac083becd9 Update svn properties, minor formatting cleanup. 2008-09-18 16:07:06 +00:00
Dr Scofield e3a3ce7628 code formatting cleanup. 2008-09-18 15:54:27 +00:00
Dr Scofield eeb5381bbb and this actually adds the appearance code itself (and not just the
check-in message)
2008-09-18 15:50:52 +00:00
Dr Scofield 978b8af777 Adds REST interface for setting avatar appearance. cleans up a couple
of places in the REST inventory code.
2008-09-18 15:49:52 +00:00
Dr Scofield 03f246d6fe adds support to delete a region completely and offers that
functionality via the console command "delete-region" and also via
RemoteAdminPlugin.

minor typo fix.
2008-09-18 15:44:05 +00:00
Sean Dague 232d1af663 add some comments and some try blocks around object storage
in the hopes this will help debug why this is failing for some people.
2008-09-18 15:39:22 +00:00
Melanie Thielker 23c217dd7b Kan-Ed fix series.
Correct a condition where a prim is linked before it has been persisted
for the first time and is then persisted through it's former SOG with
a bad offset position.
2008-09-18 15:24:16 +00:00
Melanie Thielker 4cb430eb33 Mantis #2213
Thank you, nlin, for a patch that prevents physical prims from being
created twice when rezzed from a script.
2008-09-18 12:50:01 +00:00
Melanie Thielker bf0b7eaecb Another pointless multiplication/division removed 2008-09-18 12:44:18 +00:00
Melanie Thielker 1160731100 XEngine API refactor. Fully implement ALL_SIDES with sanity checks.
Correct color handling functions to no longer return the inverse color.
Remove pointless * 256 / 256 legacy constructs.
2008-09-18 12:37:44 +00:00
Melanie Thielker deaf0e3814 Kan-Ed fix series.
XEngine: Change a number of methods to use the new link part method.
Fix ALL_SIDES for llSetColor, llSetTexture, llSetAlpha, llSetPrimitiveParams,
llGetPrimitiveParams(PRIM_TEXTURE, PRIM_COLOR).
2008-09-18 03:38:20 +00:00
Melanie Thielker 553d554e2c Kan-Ed fix series.
XEngine: Introduce a common method to determine link parts to work on.
Fix llSetLinkColor method.
2008-09-18 02:54:17 +00:00
Melanie Thielker 66febc47ad Kan-Ed fix series. Fix up llRezAtRoot and llRezObject, fix llCreateLink
to send a full update and do a persistence save.
2008-09-17 23:50:21 +00:00
Melanie Thielker 386c3e41f0 Add various XML elements to the data snapshot. Changes by Fly-Man and
myself. Fix a crash in DataSnapshot when no master avatar and no
estate owner is set (e.g. "Mainland").
2008-09-17 23:08:46 +00:00
Melanie Thielker 7e8320bada Kan-Ed fix series. Fix llTakeControls to behave as documented.
XEngine fixes: prevent queue overruns, prevent spamming when no key
is down. Release controls when conflicting permissions are requested
or permissions are refused later. Release when prim or script are deleted.
Fixes Scene script instance deletion semantics.
2008-09-17 22:00:56 +00:00
Homer Horwitz 0ad5d8c0e7 Adding currentLookAt to useragents table in SQLite. This complements the
MySQL change from http://opensimulator.org/mantis/view.php?id=2073
2008-09-17 19:21:28 +00:00
Tedd Hansen e94d6f12ee More ScriptEngine cleanup 2008-09-17 16:46:23 +00:00
Teravus Ovares c8869d6adf * SSL Documentation update from Lexa 2008-09-17 13:59:44 +00:00
Justin Clarke Casey c9c59c68f1 * Apply http://opensimulator.org/mantis/view.php?id=2207
* Attached patch implements llRequestAgentData for DotNetEngine. (It already is implemented in XEngine.)
* Thanks Y. Nitta
2008-09-17 13:18:48 +00:00
Justin Clarke Casey 6bcdc82a46 * Apply http://opensimulator.org/mantis/view.php?id=2206
* Fix/implement LSL group-related functions llDetectedGroup, llSameGroup 
* Thanks nlin
2008-09-17 13:14:07 +00:00
Jeff Ames 5c165c9bdd Update svn properties, minor formatting cleanup. 2008-09-16 23:21:50 +00:00
Sean Dague ad379ed136 Added some terrain tests, and found a fun race condition in the sqlite
terrain driver in the process, which is now fixed.  yay for unit tests!
2008-09-16 19:51:14 +00:00
Sean Dague fe7a1af2bd we can use equals on strings because they are comparible, and
this is the prefered way of doing these tests.
2008-09-16 19:48:21 +00:00