Commit Graph

6805 Commits (204ef95843908a3c5e27ae42b5ffcb0a235a9552)

Author SHA1 Message Date
Melanie Thielker 83b030229e Mantis #2232
Thank you, idb, for a patch that fixes an overflow issue in casting
string -> int for both engines, and adds tests!
2008-09-21 15:54:58 +00:00
Homer Horwitz 0105171fc4 The viewer only stores a screenshot on "Set home to here" if the alert that
follows show the text "Home position set.". Changed the message accordingly.
2008-09-21 13:31:30 +00:00
Melanie Thielker 8407d7fbd2 Mantis #2230
The result of constants arithmetic can be a CLI type. This allows floating
point CLI types to be parsed out of lists properly.
2008-09-21 12:18:30 +00:00
Tedd Hansen 4ce0e6d822 bugfix for shutdown 2008-09-21 09:04:39 +00:00
Dahlia Trimble 52af9b3fd7 ODE was using a box collision shape for some spheres - changed those cases to now use a mesh instead. 2008-09-21 08:12:52 +00:00
Melanie Thielker 85586bb7b2 Change XEngine startup to enable it to run as a normal region module
rather than a special one
2008-09-21 02:52:12 +00:00
Jeff Ames c8349e21c4 Update svn properties, minor formatting cleanup. 2008-09-21 02:41:22 +00:00
Melanie Thielker b597cbf39d Fix an exception in new ScriptEngine loader where a region would
throw on quit if there was no script engine loaded by the loader
2008-09-21 02:26:08 +00:00
Tedd Hansen ec494275a2 More locks, try's and disable some things in SEC - maybe it won't crash now. :) 2008-09-21 01:09:54 +00:00
Tedd Hansen 9c8aeff27c Some error handling to avoid errors in SEC 2008-09-21 00:42:27 +00:00
Tedd Hansen 2dbb32ff15 One small bug fixed, now it compiles. 2008-09-21 00:10:37 +00:00
Melanie Thielker 70be30fbaa Completely revert the notecard uploading changes I made, since they
appear to break script saves in prims for some.
2008-09-21 00:05:33 +00:00
Tedd Hansen 752d3f3879 EXPERIMENTAL: Early commit of new Script Engine Component System 2008-09-21 00:03:13 +00:00
Melanie Thielker a8785f5b2c And re-reverse the names from last commit 2008-09-20 22:11:53 +00:00
Melanie Thielker e4bead4edc Remove CAPS notecard updating, as LL isn't supporting it and the viewer
is not playing nice
2008-09-20 22:04:59 +00:00
Melanie Thielker 82d79e3b0b Partially implement notecard saves in task inventory. Still makes the
notecard go read-only, but changes are saved.
2008-09-20 20:56:39 +00:00
Melanie Thielker 5557fb9dd2 XEngine: Fix loading lists from saved state 2008-09-20 20:07:10 +00:00
Justin Clarke Casey 41728f8a33 * Tidy up OGS1GridServices
* Remove what should be unnecessary RemoteException catches when executing local backend calls
2008-09-20 19:55:49 +00:00
Justin Clarke Casey 23ea8f5221 * refactor: remove unnecessary packet null check in LLClientView
* if a packet was really null it would be caught by the general exception handler at the top of the client thread, which would also provide more information and attempt a clean 
shutdown
2008-09-20 19:05:00 +00:00
Melanie Thielker e7064c0b19 Fix up some ScriptBase details 2008-09-20 18:17:04 +00:00
Homer Horwitz f352d6ed9b - Consistency fix: Like llGetNumberOfNotecardLines, llGetNotecardLine returns NULL_KEY on error now
- Conformance fix: If the notecard can't be found, shout on DEBUG_CHANNEL as the docs state
- Bug fix: Don't let llGetNotecardLine throw an exception on freshly created notecards
2008-09-20 17:32:58 +00:00
Teravus Ovares 42f04233a4 * Fix build error, (maybe)
* Might break something..     hard to say..      0.o
2008-09-20 17:17:41 +00:00
Melanie Thielker 5a1be7835c XEngine: Fix llGetListEntryType to return the correct type for the LSL types.
Change serialization to omit types it can't deal with.
2008-09-20 16:24:36 +00:00
Melanie Thielker f8f1bc6199 Add <expire> tag to data snapshot to give the search server an idea
of when to query this node again
2008-09-20 16:15:10 +00:00
Homer Horwitz 4d8544dada Fix Mantis #2215: llGetNotecardLine() not detecting EOF under DNE 2008-09-20 14:46:09 +00:00
Sean Dague 6a691df1a6 remove some extraneous debug messages from migrations 2008-09-20 12:44:39 +00:00
Tedd Hansen 2c7a7f8cff Removing empty folder 2008-09-20 11:25:14 +00:00
Teravus Ovares 12946e3327 * One more tweak in the OGP module to support OGP draft3.
* Recognize the proper cap message for rez_avatar/rez in the response cap.
2008-09-19 23:59:49 +00:00
Teravus Ovares 293a822f74 * Implements an experimental method to define which region you want to go to in your 'region domain' in OGP. 2008-09-19 21:37:49 +00:00
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