Justin Clarke Casey
451bd5a0ca
* minor: warnings removal
2008-09-21 20:56:39 +00:00
Charles Krinke
37da083de5
Mantis#2233. Thank you kindly, Idb, for a patch that solves:
...
The constants for llGetParcelDetails were missing
for DotNetEngine and XEngine.
2008-09-21 20:51:55 +00:00
Justin Clarke Casey
3782d6aab7
* minor: Remove some of the redundant asset id storage for now
2008-09-21 20:44:54 +00:00
Justin Clarke Casey
8fb3523ef7
* Start recording asset request times after a cache miss. This is very primtive at the moment - only the last time is kept for some classes of request
...
* This can be seen as "Latest asset request time after cache miss" in show stats on the region console
2008-09-21 20:29:06 +00:00
Justin Clarke Casey
70e8097e31
* Eliminate the need to copy asset request lists in the asset cache when an asset is received or missing
...
* Also eliminates a race condition
2008-09-21 18:53:58 +00:00
Justin Clarke Casey
52f0c8d15d
* minor: tidy up of AssetCache, remove currently pointless storing of thread reference
2008-09-21 17:49:52 +00:00
Homer Horwitz
0f020a7cd2
Fix another reason for #2218
2008-09-21 17:01:58 +00:00
Justin Clarke Casey
1a71a3a567
* Fix http://opensimulator.org/mantis/view.php?id=2189
...
* Allow a grid mode region simulator to properly shutdown even if the grid service is offline
2008-09-21 16:58:14 +00:00
Homer Horwitz
f6071c030d
Don't attach attachements to child agents. This coincidentially fixes a race
...
condition that was the reason for mantis #2218 .
2008-09-21 16:07:41 +00:00
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
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
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
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
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
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
Homer Horwitz
d7d1bee4a7
MessageServer gets the agent position (positionx/y/z) as float, not as int in
...
the login_to_simulator message. Changed parsing accordingly (#2190 ).
2008-09-14 13:57:25 +00:00
Melanie Thielker
2819559499
Mantis #2124
...
Thank you, RuudL, for a patch that brings MSSQL up to the same
implementation level as MySQL.
2008-09-14 13:23:02 +00:00
Adam Frisby
3476dd56ea
* Converted a number of methods within the login processes from private to protected.
...
* Made several methods virtual to allow derivative overrides.
* Minor cleanups.
2008-09-14 04:13:15 +00:00
Charles Krinke
1d5e870ee2
Thank you kindly, CMickeyb for a patch that:
...
Moved intialization of appearance from the SendInitialData
event handler into CompleteMovement handler. That ensures
that m_appearance is initialized before the inventory is
retrieved (so there is a place to check on attachments).
2008-09-14 02:56:51 +00:00
Adam Frisby
e946b40fdd
* Minor fixes and cleanups around code being used for Rex Module work.
2008-09-14 01:49:47 +00:00
Charles Krinke
f2d60976d0
Mantis#2183. Thank you kindly, Ewe Loon for a patch that addresses:
...
after using llTakeControls my sim receives about 200 messages per second,
l of which get queued , this could be because there is no lag as the viewer
and sim are on the same computer. The patch I have included checks to see if
the "Changed" param is 0 then searches the EventQueue for Control messages
being sent to the same localid, if it finds a message already in the Queue
and Changed==0 then the new message is only notifing you the key is being held,
since there is already a message the new one isnt needed so it isnt added
to the queue.
2008-09-14 00:47:45 +00:00
Homer Horwitz
37e6ce24a2
Fixed several cases of inverted colors and alpha in DNE and XEngine.
...
Added clamping to 0.0 - 1.0 for R, G, B, and A.
2008-09-13 22:48:30 +00:00
Teravus Ovares
af899e50c2
* Adds regiondata and estatedata persistence in Sqlite. This commit is actually an assist. 99% of the work was already done by Melanie.
2008-09-13 22:29:36 +00:00
Jeff Ames
b4141f9e56
Formatting cleanup.
2008-09-13 22:07:07 +00:00
Homer Horwitz
54e1988d85
Fixing a bug in DNE which caused the face-colors to be inverted when set via script.
2008-09-13 21:54:07 +00:00
Jeff Ames
6e6465f6c1
Update svn properties. Minor formatting cleanup. Fix some minor typos. Remove some old dead code.
2008-09-13 21:39:26 +00:00
Homer Horwitz
1ab0c0192f
Fix another missing UUID before a ToString().
2008-09-13 21:14:24 +00:00
Teravus Ovares
e8d51b76fe
* Fixes SQLite load crash.
...
* added primary key to regionsettings table in the cached table
* initialized the data adapter.
* Still untested fully, so watch out!
2008-09-13 21:01:21 +00:00
Melanie Thielker
9b9f1bc191
Add region settings support to SQLite (untested!)
2008-09-13 20:37:36 +00:00
Melanie Thielker
8830b8b72c
Mantis #2018
...
Read animation data from avataranimations.xml to allow default animations
to be started and stopped by name from scripts.
2008-09-13 19:51:56 +00:00
Homer Horwitz
ae9e4e8144
Update avatar-position while avatar is sitting and the prim is moved ( #2159 ).
...
I decided to make ParentPosition a public property in ScenePresence, because
that's exactly what happens (the parent position changes on prim move).
2008-09-13 18:42:09 +00:00
Melanie Thielker
91e3463582
Remove the cruft of accessing a private member of another module's class
...
from DataSnapshot and replace it with a best practices approach, making
it much less dependent on the land module's internal structure and types.
2008-09-13 17:50:02 +00:00
Melanie Thielker
e45db5917b
Fix a typo in the DataSnapshot module
2008-09-13 16:53:58 +00:00
Melanie Thielker
99f1e1d107
Mantis #2182
...
Thank you, tyre, for a patch that fixes the sender UUID in scripted IM
2008-09-13 16:34:29 +00:00
Melanie Thielker
dccdeb57bb
Fix some string to float casting nastiness. The "train script" now
...
works. Also makes llGetFreeMemory return the constant 16384.
LLGetFreeMemory is useless in SL, as it never goes up, only down.
So, the only thing it is used for, in practice, is to detect an imminent
stack/heap collision, a danger we don't have.
2008-09-13 16:16:08 +00:00
Melanie Thielker
fdb24c46ac
Provide a GetApi method on the IScriptEngine to get a named API reference
...
This allows cross-api method calls on the implementation and also allows
"Meta APIs" that only provide common functionality to other APIs
2008-09-13 14:40:42 +00:00
Melanie Thielker
9222c5154e
Change all LSL functions to return LSL types instead of base types.
...
Remove some unused osFunctions that were left in the LSL function
file from the separation way back when. Inline the osSetParcelMediaURL
code to get rid of the osFunction. Really need to add a way for one API
to call another.
2008-09-13 13:47:23 +00:00
Melanie Thielker
7f3a98b76d
Fix string parameters to functions taking lists as arguments. LSL
...
functions return CLI strings, which, in the case of lists, don't
get wrapped. Therefore, the list had to be able to deal with
that CLI type here. The correct fix would be to change all LSL
function returns to LSL types.
2008-09-13 12:58:44 +00:00
Dahlia Trimble
8a8b01d1b8
Circular path prim meshes are now joined where the path ends meet if they match. This may have a minor improvement in memory and speed performance, but it's mainly for viewer applications and it also syncs the c# version of PrimMesher with my python sandbox version.
2008-09-13 10:22:17 +00:00
Sean Dague
39902fef77
wrap log4net configure in try block so that it will run if you don't have a
...
.config (which no one does). Dropping in the .config lets you see that debug
messages, which is handy while writing tests and figuring out why things don't
behave like you would guess.
2008-09-13 02:29:04 +00:00
Sean Dague
fcc716104b
2 more InventoryItem tests, plus see if I can leave the log4net
...
configure in there to help me get debug messages while developing.
2008-09-13 02:06:23 +00:00
Homer Horwitz
8ae8bec4d1
Changed "show users" command to display only root agents, "show users full" to
...
display root and child agents (mantis #2171 ).
2008-09-12 22:39:17 +00:00
Justin Clarke Casey
9cdd9e215c
* Patch http://opensimulator.org/mantis/view.php?id=2172
...
* Patch attached that adds the check for uninitialized appearance when inventory items are received and processed. Also attempts to ensure that appearance is initialized even
when the profile cache has not been built.
* This will not fix the race condition, but should at least remove the unhandled exception that is being reported in Mantis 0002126.
* Thanks cmickeyb
2008-09-12 21:32:45 +00:00
Justin Clarke Casey
1edee634ca
* minor: spelling mistake and message tidying on Migration messages
2008-09-12 21:24:11 +00:00
Justin Clarke Casey
0dc1018ca1
* minor: Remove warnings
...
* leaving in the ones to do with ScriptBase since these actually indicate coding bugs that I don't have the time/brainpower to fix at the moment
2008-09-12 21:20:24 +00:00
Sean Dague
ecc2a0f866
add first round of folder tests
2008-09-12 21:00:40 +00:00