Commit Graph

6391 Commits (dedc1baeb7f77afa292b851efd73aeae955ac725)

Author SHA1 Message Date
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
Homer Horwitz e3cbde0f39 Mantis #904: Thanks jonc, for a patch that adds "useragents" table to
SQLite and stores the logout position in standalone mode.
Note: This adds a migration for SQLite, so do your runprebuild
2008-09-16 18:59:13 +00:00
Justin Clarke Casey 0e6e8624ad * Apply http://opensimulator.org/mantis/view.php?id=2205 with a few small tweaks
* LSL Conformance: llSetPayPrice should accept more than four arguments in list
* Thanks kcozens!
2008-09-16 18:49:57 +00:00
Sean Dague 2ff91dac41 add an inventory change test. 2008-09-16 18:33:49 +00:00
Justin Clarke Casey ad7df5b500 * Apply http://opensimulator.org/mantis/view.php?id=2204 (with a small tweak)
* Attached patch implements LSL llGetAgentSize() for DotNetEngine and XEngine.
* Thanks Y. Nitta!
2008-09-16 17:57:34 +00:00
Justin Clarke Casey c6dfc99f22 * Apply http://opensimulator.org/mantis/view.php?id=2203
* Implementation of LSL llBreakLink and llBreakAllLinks
* Thanks Y. Nitta!
2008-09-16 17:48:57 +00:00
Justin Clarke Casey 7212b06ca9 * Add Y. Nitta to OpenSim contributors
* possibly annoy people by rearranging contributors alphabetically - it was really bothering me that they weren't in order...
2008-09-16 17:44:40 +00:00
Justin Clarke Casey 6b0097039a * Apply http://opensimulator.org/mantis/view.php?id=2202
* llGround causes Array out of bounds exception in KanEd#11 script 
* Thanks Y. Nitta!
2008-09-16 17:41:01 +00:00
Justin Clarke Casey f437c4d8c9 * minor: oops, remove a warning I just inserted myself - naughty boy 2008-09-16 17:35:35 +00:00
Justin Clarke Casey ec4189b722 * If an individual scene object throws an exception while storing, deal with this locally rather than letting it propogate up the stack
* This will allow other scene objects to persist and stop the exception taking down the whole region server
2008-09-16 17:30:30 +00:00
Justin Clarke Casey 0b52453762 * Change XEngine default configuration values to match those in OpenSim.example.ini
* Particularly important for max threads since setting this to 2 was causing all events to wait behind the regularly sleeping maintenance event
2008-09-16 16:41:46 +00:00
Justin Clarke Casey 7f3bfa277b * minor: method documentation 2008-09-16 16:37:16 +00:00
Melanie Thielker f46fc508d1 Mantis #1843
Applying DotNetEnine part of this patch. Thank you, nlin!
Corrects ad hoc key list comparison.
2008-09-16 10:26:54 +00:00
Jeff Ames eee31c6f28 Minor formatting cleanup. 2008-09-16 10:15:09 +00:00
Dr Scofield 03e3f88059 From: mike pitman <pitman@us.ibm.com>
New patch (terrainedit2.patch) is attached that passes unit tests (
and in fact supplies the new unit test to pass..:) The previous
failure was due to the change of the brush size to be linear instead
of exponential, and the fact that the test parameters were assuming
the exponentional brush size.

This patch also removes dependency on 'duration' argument for
adjustment step size. This should address the widely differing reports
of instability with terrain editing.

Note: 'doing this right' implies ultimately reading the parameters
from the ini file, which this patch does not do.
2008-09-16 07:19:22 +00:00
Melanie Thielker ae63b2d2ca Finish up OSSL enable/disable options in XEngine.
Now each function can be allowed, subject to threat level, disabled,
or restricted to certain UUIDs.
2008-09-15 23:50:07 +00:00
Melanie Thielker 2df0499da7 Refactor the os functions allowed check into the threat check method 2008-09-15 22:52:23 +00:00
Justin Clarke Casey a28a478546 * minor: recomment the console c# script printout I accidentally left in on the last ocmmit 2008-09-15 20:58:16 +00:00
Justin Clarke Casey 2b9e115fd7 * minor: eat up some yummy warnings 2008-09-15 20:50:57 +00:00
Justin Clarke Casey d0aabcb186 * Add "reset user password" command to user server
* Some copy and pasting has occurred because it's difficult to properly refactor some bits at present.  I'm very ashamed and it will disappear at some future point.
2008-09-15 19:17:10 +00:00
Justin Clarke Casey ddaa90d270 * refactor: collapse UpdateUserProfileProperties() into existing UpdateUserProfile
* the methods were identical except that the Properties one did a check for the user profile beforehand.  However, every caller was doing this already anyway.
2008-09-15 19:02:34 +00:00
Justin Clarke Casey 6791ac3958 * oops! Add interface file I forgot in the last checkin 2008-09-15 18:35:52 +00:00
Justin Clarke Casey c2ee263999 * refactor: Break out IUserServiceAdmin out of IUserService since admin methods don't need to be implemented on Grid hosted region servers 2008-09-15 18:23:36 +00:00
Justin Clarke Casey 9170361bee * Complete refactoring accidentally left unfinished so that all server help requests flow through the ShowHelp() method 2008-09-15 17:45:48 +00:00
Justin Clarke Casey 6d289c3ae0 * Add "reset user password" command to standalone region console
* Grid user server implementation to follow shortly
2008-09-15 17:29:11 +00:00
Melanie Thielker bf8b70ebeb Add the option to use Allow_osFunction = false for each OS function
in the XEngine section
2008-09-15 15:36:51 +00:00
Melanie Thielker 2eac6c17f4 Add more granularity and a risk asessment system to the OSSL API in XEngine.
Adds the fix from Mantis #2197 in it's new form.
Stage one of the scripting security changes, more to come.
2008-09-15 15:25:48 +00:00
Dr Scofield 4d88246a3f reverting r6302 2008-09-15 14:49:22 +00:00
Charles Krinke 5164fa2411 Mantis#2197. Thank you kindly, Tyre, for a patch that:
adds the new function osTeleportAgent().
2008-09-15 14:32:02 +00:00
Jeff Ames ab30c6dc62 Update svn properties, minor formatting cleanup, fix a compiler warning. 2008-09-15 14:21:57 +00:00
Dr Scofield 0e2edbb5d4 From: mike pitman <pitman@us.ibm.com>
fixes the terrain spikes, and is the result of mostly a tuning
operation on the smooth and flatten tools. I dug in and found that the
spikes apparently result from smooth's overly aggressive iteration
steps toward the average curvature, which leads to an instability that
blows up the heights. I introduced a scaling factor to dampen the
'duration' parameter which tames progress and seems to keep things
stable.
2008-09-15 13:44:58 +00:00
Teravus Ovares e4ca8e613a * Remove a hack I put into OGP so that I could test OGP over SSL with the SeedCap response not being SSL 2008-09-14 23:46:38 +00:00
Teravus Ovares cdced699fb * Made Seed CAP response respect the SSL setting. 2008-09-14 23:39:35 +00:00
Teravus Ovares dbbbec48df * This update makes configuring SSL a little easier on Windows XP. It also makes it possible to run a HTTPS server on the region. It also has a junk Certification authority for test purposes.
* There are still a lot of things that are hard coded to use http.   They need to be fixed.
* Also includes directions
* A standard junk PEM file to append to app_settings/CA.pem in the client so SSL will work
2008-09-14 18:39:17 +00:00
Homer Horwitz 4ba7ce5981 Added some further clipping to color- and alpha-values. 2008-09-14 15:46:54 +00:00
Melanie Thielker de44f765e3 Mantis #2186
Prevent illegal color values from being set.
2008-09-14 15:18:58 +00:00