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
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
Sean Dague
380af0b939
added simple add / exists folder check
2008-09-11 18:49:10 +00:00
Teravus Ovares
23e52993fb
* This updates the OGP module to support both the revision 2 and revision 3 of the OGP protocol. (Assuming I understood it correctly)
...
* This also removes the host--> ip pre-resolve workaround.
2008-09-11 18:21:00 +00:00
Sean Dague
7ba9bfc8ad
add a few more SQLite Asset tests.
2008-09-11 17:52:11 +00:00
Justin Clarke Casey
f3497d9f57
* Start loading prims after region module configuration rather than before
...
* In some circumstances, loading prims can invoke region modules
2008-09-11 13:56:25 +00:00
lbsa71
e04ce96cee
* Removed some legacy commenting
2008-09-11 11:41:52 +00:00
lbsa71
aa12787a17
* Added small convenience function to recursively calculate total amounts of items loaded under library inventory node
2008-09-11 11:39:43 +00:00
Sean Dague
0a9c6aecb5
added very basic stubs for User and Inventory db creates and empty
...
calls to make sure they worked
2008-09-10 21:36:20 +00:00
Sean Dague
a90d2b491f
fix typo in name of test db
2008-09-10 21:36:12 +00:00
Sean Dague
121398732a
add basic sniff tests for SQLite Asset store. Initializes a db,
...
stores an asset, fetches that asset, make sure it has the name
we gave it. All simple stuff, but should catch the more egregious
breaks.
2008-09-10 20:33:13 +00:00
Sean Dague
71f2176c4b
add a simple update attribute test for SOG & SQLite
2008-09-10 20:33:02 +00:00
Sean Dague
cc7ff3ac2e
added in a few more tests
2008-09-10 19:14:12 +00:00
Sean Dague
3f73884674
the explicit log4net configure attempt was maybe breaking bamboo, get
...
rid of that.
2008-09-10 18:17:10 +00:00
Sean Dague
f970597194
added the first couple of sqlite tests. we'll see how bamboo
...
handles them.
2008-09-10 17:49:41 +00:00
Sean Dague
1799913593
add shell for SQLite testing. No tests yet.
...
add another nant target for test-xml to get the verbose
version
2008-09-10 17:49:37 +00:00
Charles Krinke
9af5a44c91
Revert the two debug log statements from r6212 as described in Mantis 2126.
2008-09-10 14:12:56 +00:00
Melanie Thielker
a68e34b558
Mantis #511
...
Allow parsing of hexadecimal int constants from strings.
Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10 06:14:38 +00:00
Jeff Ames
b9b996be38
Update svn properties, minor formatting cleanup.
...
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Charles Krinke
03672c35e4
Thank you kindly, CMickeyB for a patch that adds a
...
couple of debug statements for null items while we
diagnose our interrmittent inventory issues. I looked
at this and it seems helpful to others. We can back it
later if desired.
2008-09-10 03:27:09 +00:00
Charles Krinke
7305dadba2
Mantis#2153. Thank you kindly, Godfrey for a patch that solves:
...
osSetDynamicTextureData() produces error on console if
ExtraParams passed empty string
2008-09-10 03:19:57 +00:00
Charles Krinke
291aa9fa10
Implementation of llDetectedGroup for DotNetEngine.
2008-09-10 02:25:02 +00:00
Charles Krinke
796fedb1e9
*Almost* have a complete implementation of llDetectedGroup.
...
One member missing, so a portion is commented out.
2008-09-10 02:10:25 +00:00
Charles Krinke
6b10725f20
Implementation for llDetectedLinkNumber in DotNetEngine.
2008-09-10 01:54:25 +00:00
Mike Mazur
e0d092ec53
Thanks, nlin, for a patch implementing persistence for "When Left Clicked"
...
object property. Fix issue 2149.
2008-09-10 00:19:36 +00:00
Teravus Ovares
fac18f608d
* Fixes Sqlite crash bug when saving a prim.
2008-09-09 23:42:44 +00:00
Sean Dague
6f15ec2d46
possible fix for EARTH SHATTERING KABOOM! when trying to save a prim
2008-09-09 20:45:21 +00:00
Sean Dague
017a6f5511
fix an automatically stripped out UUID from SQLiteManager
...
fix some spacing in SQLiteRegionData
2008-09-09 20:23:10 +00:00
Sean Dague
66dad4ab03
hopefully fix embedded inventory for sqlite
2008-09-09 18:44:54 +00:00
Sean Dague
f141751cf9
From: alan_webb@us.ibm.com
...
Make CHANGED constants consistent with LSL, and consistent across the
code base
2008-09-09 14:51:41 +00:00
Sean Dague
37557da706
From: alan_webb@us.ibm.com
...
Fix an invalid bounds check in Builtin_Commands
2008-09-09 14:51:30 +00:00
Adam Frisby
c95bdb83c0
* Adds OnGenericMessage and SendGenericMessage functionality to IClientAPI.
...
* Please don't break the build. *fingers crossed*
2008-09-09 05:25:29 +00:00
Melanie Thielker
4f85a9aa72
Fix llResetScript() and the reset button to actually restore global
...
variables to their initializer values, rather then zeroing them.
Also handles lists properly now.
2008-09-09 04:16:52 +00:00
Melanie Thielker
3ee91cb3c6
Preserve link numbers when items are taken into inventory and re-rezzed.
2008-09-09 03:48:09 +00:00
Jeff Ames
fae34bb10c
Update svn properties, formatting cleanup.
2008-09-09 01:26:48 +00:00
Melanie Thielker
3e1441afe1
Fix state xxx within state xxx itself triggering a state "change" to
...
same state
2008-09-09 01:24:58 +00:00
Melanie Thielker
084ea99be6
Fix string -> int cast to variable
2008-09-09 01:01:45 +00:00
Melanie Thielker
75380bc1aa
Fix delimiter access from list for llParseStringKeepNulls
2008-09-09 00:43:14 +00:00
Melanie Thielker
19c9ea8ca0
Fix an inventory naming regression
2008-09-08 23:54:52 +00:00
Melanie Thielker
6ca7afabca
Remove casting nastiness in LSL_Api
2008-09-08 23:13:59 +00:00
Melanie Thielker
1034c1cdc1
Correct state handling and state event masks. Prims will now show
...
touch, pay, etc script states correctly.
2008-09-08 22:19:06 +00:00
Sean Dague
ce0a8d7bef
changes to Test directory structure per opensim-dev conversation
2008-09-08 20:34:45 +00:00
Melanie Thielker
41a68ca5db
Fix component order on a quaternion for the sit target. This caused
...
sit positions to be upside down until the script was reset.
2008-09-08 19:57:28 +00:00
Melanie Thielker
6447d7132f
Adapt the unit tests to the new list rules, change some casts to
...
new method for testing
2008-09-08 19:29:16 +00:00
Melanie Thielker
e7abde70a2
Mantis #2147
...
Thank you, ralphos, for a patch the adapts llSetColor and friends to
a change in the underlying types.
Also, thank you for a much cleaner way of casting types out of
lists, which I will adopt throughout.
2008-09-08 18:15:36 +00:00
lbsa71
8388fe0669
* some if inversions and added {}'s for readability
2008-09-08 14:30:35 +00:00
Melanie Thielker
f2de15bffc
Mantis #2144
...
Adjust XEngine llSetAlpha to a change in the underlying type
2008-09-08 12:30:48 +00:00
Melanie Thielker
1732baca0e
Mantis #2145
...
Fix a number of casting issues in XEngine's API
2008-09-08 11:49:17 +00:00
Dr Scofield
3f9cc28103
fix: warnings from libomv
2008-09-08 10:28:59 +00:00
Mike Mazur
3cf92cb511
Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8.
2008-09-08 08:20:19 +00:00
Melanie Thielker
490ac0be00
Implement proper persistence of the following prim properties:
...
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08 02:40:20 +00:00
Charles Krinke
4822e79759
Implement llEjectFromLand.
2008-09-08 02:24:30 +00:00
Charles Krinke
13f7d5a4b2
I inadvertently edited out llGroundSlope, llGroundNormal
...
and llGroundContour in the last checkin and this replaces
them again in LSL_BuiltIn_Commands.cs.
2008-09-08 02:05:56 +00:00
Charles Krinke
d0920a2247
Add implementation for llSetSoundRadius().
2008-09-08 02:01:36 +00:00
Mike Mazur
993384d348
Remove trailing whitespace.
2008-09-08 01:42:47 +00:00
Charles Krinke
9ef43d3e22
Add Adam's llGroundSlope, llGroundNormal and
...
llGroundContour into our Common/LS:L_BuiltIn_Commands
file.
2008-09-08 01:27:16 +00:00
Adam Frisby
f3d4f62d0a
* Implements llGroundSlope, llGroundNormal and llGroundContour in LSL_Api.cs - these functions are orthogonal to each other and the core implementation is in GroundSlope.
...
* Please note that this implementation has not been mathematically verified to be correct-as-described, it is probable that this implementation may produce differing results to Linden Lab. Testing (and test data) would be appreciated.
2008-09-07 22:56:43 +00:00
Charles Krinke
68e8f3a160
Revert the removal of the commented out
...
scriptsleep calls.
2008-09-07 22:08:40 +00:00
Melanie Thielker
669f553400
Xengine patch to force a persistence save on script creation. This prevents
...
duplicate delivery of state_entry if a region is restarted just after
saving the script. Changes script state saves to no longer abort long-
running event handlers. Queues the save instead. Adds shutdown handler
to save script state on irderly shutdown
2008-09-07 22:01:25 +00:00
Melanie Thielker
e3338bac20
Mantis #2138
...
Thank you, HomerHorwitz, for a patch that fixes llGetKey()
2008-09-07 20:15:15 +00:00
Melanie Thielker
58d79b33ff
Mantis #2142
...
Thank you, HomerHorwitz, for a patch that fixes landmark teleport
and about landmarks with the new OMV types.
2008-09-07 20:09:11 +00:00
Charles Krinke
0c7e87ee5e
Return 0 for no wind and 0 for no clouds from
...
both llWind and llCloud and remove the
"NotImplemented" status leaving us with about
74 "NotImplemented" LSL-C# wrapper functions.
2008-09-07 17:32:38 +00:00
Teravus Ovares
3f55b03bbf
* Fixes linking using the new types.
...
quaternions are not communicative!
2008-09-07 13:24:23 +00:00
Mike Mazur
ec13642e1a
Convert TestStringsWithEscapedQuotesAndComments to use concatenated expected string.
2008-09-07 08:00:41 +00:00
Justin Clarke Casey
108f3b89f5
* On a failing login, don't bother trying the default region if it's the same as the original login region
2008-09-07 05:29:12 +00:00
Justin Clarke Casey
42661a8a97
* Increase expect_user XMLRPC timeout from 6 to 30 seconds
...
* This may possibly (est. 20% change) help the situation that we see on OSGrid meetings when a region stops accepting logins, which appears to be because it never receives the expect_user request
2008-09-07 05:21:03 +00:00
Justin Clarke Casey
815278531a
* Improve login failure handling.
...
* Now it should properly inform the user and stop a login if a region server could not be contacted in order to expect a user (the last commit didn't actually quite work correctly)
2008-09-07 05:07:57 +00:00
Justin Clarke Casey
260b141306
* refactor: Remove duplication in UserLoginService where most of the emergency region login code is a cut and paste job of the preceding normal region login code
...
* also, properly tell the user if no region can be contacted, rather than letting the login proceed only to fail later when authentication fails on the region side
* copying and pasting code... it makes me cry inside... so sad...
2008-09-07 04:20:47 +00:00
Charles Krinke
94195c4927
Clean up some of the nonsensical use of ScriptSleep
...
inside our LSL-C# wrapper subroutines.
2008-09-07 04:00:44 +00:00
Justin Clarke Casey
b9acf3ac5e
* minor: for now, print out the exception if logging into the initially selected region fails, rather than swallowing it
2008-09-07 03:34:44 +00:00
Justin Clarke Casey
78f831ef52
* minor: Clean up of logging messages to make following the client login process easier
...
* documentation
2008-09-07 03:22:33 +00:00
Justin Clarke Casey
ea8c18f63d
* minor: just minor doc and tidy up
2008-09-07 00:47:08 +00:00
Charles Krinke
aaf7f80dd1
Remove a few of the commented out "NotImplemented"
...
calls from our LSL-C# wrappers.
2008-09-07 00:42:46 +00:00
Charles Krinke
b85a29d1b8
Mantis#2136. Thank you kindly, HomerHorwitz for a patch that:
...
libomv corrected the endianess of some Helper methods, which
broke the fake parcelID computation for "About Landmark".
The attached patch fixes this.
2008-09-06 23:08:08 +00:00
Teravus Ovares
3378b502c5
* This changes gridcomms types back to our home grown wholy controlled types.
...
* These are different types then the OMV types because changing them causes just about all grid comms to break. If these were the libOMV types, then libOMV couldn't change them ever again after that.. or we'd have a breakage whenever they changed them.
* This might introduce a map issue. Still checking it out.
2008-09-06 22:28:51 +00:00
Teravus Ovares
a97155b106
* Addresses the same issue as last commit on SceneObjectGroup border crossings
2008-09-06 19:40:04 +00:00
Teravus Ovares
6fc23adbc2
* Fixes a few type changes that caused the XML Format to break.
...
* Testers, please try rezzing your inventory on this revision and sending me feedback in mantis.
* Users, it's not time to update yet. The dust still hasn't settled.
2008-09-06 19:21:41 +00:00
Tedd Hansen
e0264f67d6
Brushing rust of ye old commit
2008-09-06 18:49:36 +00:00
Melanie Thielker
9e545c9984
Mantis #2133
...
Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
2008-09-06 14:58:23 +00:00