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
Sean Dague
5557f0b772
reformat spacing on some property declarations. Take away the virtual
...
attribute as that was a left over of an nhibernate approach that
isn't used in the current nhibernate code anyway.
2008-09-12 21:00:29 +00:00
Justin Clarke Casey
bf3190538e
* Patch http://opensimulator.org/mantis/view.php?id=2158
...
* RemoteAdmin SaveXMLMethod
* My tiny mind isn't quite sure how this is useful, but the load xml equivalent is already there, so what the hell :)
* Thanks Olish.
2008-09-12 21:00:05 +00:00
Justin Clarke Casey
f1e4001c90
* Make fix to MSSQLRegionData.cs in LoadLandObjects as recommended by Garrett Hussey in Re: [Opensim-dev] MSSQL runtime error in latest build..
...
* Thanks!
2008-09-12 20:53:21 +00:00
Justin Clarke Casey
62d1eba3b2
* Patch http://opensimulator.org/mantis/view.php?id=2167
...
* Force ClickAction persistence even if other object properties are not edited
* Thanks nlin!
2008-09-12 20:42:04 +00:00
Justin Clarke Casey
2d7aca6d9d
* Add userstore sql upgrade I carelessly forgot to check in a couple of revisions ago
...
* Hopefully there wasn't a problem anyway, since the look at stuff isn't enabled yet
2008-09-12 20:38:20 +00:00
Justin Clarke Casey
2fcc131ef3
* Patch http://opensimulator.org/mantis/view.php?id=2163
...
* Add prim ClickAction persistence to SQLite
* This will require a prebuild
* Thanks nlin!
2008-09-12 20:37:07 +00:00
Justin Clarke Casey
52a4c4d82f
* Check in first part of http://opensimulator.org/mantis/view.php?id=2073
...
* This patch aims to introduce look at direction persistence between logins. It won't be active until the second part of the patch is committed in about two weeks time. At
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database. As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
2008-09-12 20:12:03 +00:00
Dahlia Trimble
febb781779
remove hidden faces inside prim meshes to improve memory use and startup time
2008-09-12 19:42:26 +00:00
Sean Dague
4b7e287ab2
because UUID supports equality, we can do a straight equals instead of
...
convert to string and match.
2008-09-12 18:46:55 +00:00
Tedd Hansen
85a0e03984
Note to self: VisualSVN not fully compatible with OpenSim prebuild :)
2008-09-12 18:46:52 +00:00
Sean Dague
d312f10420
use new style asserts. They are much easier to read.
2008-09-12 18:46:44 +00:00
Tedd Hansen
b41acfb4cf
Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case)
2008-09-12 18:42:02 +00:00
Teravus Ovares
18f490a30c
* Fix a missing .UUID in llInstantMessage
2008-09-12 18:17:01 +00:00
Sean Dague
9349cf3149
move the actual [Test] methods for databases to OpenSim.Data.Tests
...
classes. This did mean loosing 1 unit test that was actually testing
an sqlite function directly instead of the interface.
2008-09-12 18:13:43 +00:00
Sean Dague
1f42c89480
change order in prebuild.xml so this works in nant on a clean
...
checkout.
2008-09-12 17:45:02 +00:00
Sean Dague
96c720b04a
be more clever and move the bulk of the db tests for inventory into
...
OpenSim.Data.Tests, then subclass with custom init bits for sqlite.
As I've only been testing the plugin interfaces anyway, this should
make it very easy to write only a little bit of code to use these
tests for other databases. It will also give us the framework for
definining the datastore behavior and making sure that all the databases
do the same thing.
2008-09-12 16:05:06 +00:00
Sean Dague
a408b58209
add the m_host.AddScriptLPS(1); line. I'm not actually sure what it
...
does, but it seems every other function here has it, so it is probably
needed.
2008-09-12 15:04:16 +00:00
Sean Dague
1b333a0f58
From: Rob Smart <SMARTROB@uk.ibm.com>
...
Implement an osParseJSON method useful for handling simple JSON returns
from http requests. This will only work in C# at this point.
2008-09-12 15:04:13 +00:00
Charles Krinke
8d6096b815
Mantis#2165. Thank you kindly, CMickeyB for a patch that:
...
patch is attached that replaces the o(n^2) algorithm currently
used to build the inventory cache with an o(n) algorithm using
hash tables. the patch also adds some additional error handling.
2008-09-12 03:33:26 +00:00
Justin Clarke Casey
64e5ff2f59
* minor: CONTRIBUTORS adjustments
2008-09-12 01:09:18 +00:00
Justin Clarke Casey
90ec9c46d5
* Move the ResetChildPrimPhysics() calls to after physics have been applied to the parts rather than after each individual part
...
* From looking at the code there shouldn't be any difference, and this appears to speed up prim loading and make a certain failure case (where prims seem to be going out of
bounds on startup) less of a problem.
* However, if I've been bad please revert this patch
2008-09-12 00:45:24 +00:00
Justin Clarke Casey
3f1dbae8e4
* minor: various doc and tidy up, logging increase to make it clearer which prim is failing a border crossing
2008-09-12 00:37:59 +00:00
Melanie Thielker
ecc24c3c63
Revert 6242 because of a possible licensing issue
2008-09-12 00:33:24 +00:00
Melanie Thielker
7a63fe7c07
Add the UUIDs of the standard animations. Thanks, Ewe Loon!
2008-09-12 00:23:41 +00:00
Sean Dague
7d61559058
more inventory folder tests
2008-09-11 20:52:35 +00:00
Sean Dague
45df1aaa64
add some folder create and list tests
2008-09-11 18:49:37 +00:00