Sean Dague
c3f66be405
light mysql user tests
2008-09-24 21:17:00 +00:00
Sean Dague
2ef1b194fd
expose it for real, missed the public keyword
2008-09-24 21:16:58 +00:00
Sean Dague
b4f204e526
expose MySQLUserData class so that it can be tested
2008-09-24 21:16:56 +00:00
Sean Dague
dabb311711
remove configurable table names from the mysql user driver. That
...
doesn't work in a world of migrations anyway, and is only cruft that
will confuse people.
2008-09-24 21:16:47 +00:00
Homer Horwitz
fe9aea258f
Add persistence of active gestures. This needs an UGAIM update to work.
...
Active gestures are sent as part of the login-response. Added
fetchActiveGestures to SQLite and MySQL; added an empty one for MSSQL and
NHibernate. Using the empty ones won't cause errors, but doesn't provide
persistence either, of course.
2008-09-24 21:12:21 +00:00
Sean Dague
cffb975dd9
light the mysql region tests
2008-09-24 21:03:11 +00:00
Sean Dague
6392671335
let the asset tests run on MySQL. Interesting difference here, the
...
sqlite driver can handle .Data = Null, the mysql driver can not. We
should decide which is the right behavior and adjust code for it.
2008-09-24 20:43:32 +00:00
Sean Dague
70d6cb8570
remove a bunch of out of date inline ALTER table commands that would only
...
confuse people.
2008-09-24 20:43:27 +00:00
Melanie Thielker
fb7a29a5ef
Rename lots of stuff in DNE to reduce source code differences in the
...
LSL implementation files. Rename lots of stuff in XEngine for the same
reason. Move methods between interfaces. Just refactor stuff.
2008-09-24 13:18:06 +00:00
Dr Scofield
5787480655
From: alan webb (alan_webb@us.ibm.com)
...
cleanups.
2008-09-24 12:04:58 +00:00
Dr Scofield
201805172f
cleanups, fixing REST appearance services.
2008-09-24 11:39:08 +00:00
Melanie Thielker
a042302100
Mantis #2250
...
Make ambiguous implicit conversion from LSLInteger to uint explicit
2008-09-24 11:16:53 +00:00
Melanie Thielker
218902bedc
Decouple AsyncCommands from XEngine and the script instance. Make
...
all methods needed outside the API ststic. Async command processing
is now wholly internal to the API. This sets the stage for the next
convergence step.
2008-09-24 02:58:05 +00:00
Jeff Ames
3f79e6b3e7
Update svn properties, formatting cleanup.
2008-09-23 23:14:00 +00:00
Sean Dague
1aab81e235
couple of minor test cleanups to see if this gets us past the bamboo hump
2008-09-23 21:56:38 +00:00
Teravus Ovares
ab4e48e57d
leyla found a capitalization error in one of the OGP messages. Thanks leyla!
2008-09-23 21:24:38 +00:00
Melanie Thielker
48da2c24a2
Add the missing file
2008-09-23 21:23:23 +00:00
Sean Dague
a70efd1fdf
create the first attempted mysql test. This only runs locally if you
...
have a database configured as opensim-nunit with user opensim-nunit /
password opensim-nunit that has full perms on the database.
2008-09-23 21:03:03 +00:00
Melanie Thielker
bbb962f64e
Refactor BuiltIn_Commands_BaseClass to ScriptBaseClass to ease the later
...
code merging and transition to Shared/
2008-09-23 20:20:40 +00:00
Melanie Thielker
1e7a820bd1
Remove some debug output
2008-09-23 20:04:03 +00:00
Melanie Thielker
88277366bf
Switches the direct event postings in the API file over to the Shared/
...
new style of parameter passing, using the IEventReceiver interface.
2008-09-23 20:02:32 +00:00
Teravus Ovares
0651efaafa
* OGP GET, look for Accept header application/llsd+xml with an optional ?q=
2008-09-23 19:28:24 +00:00
Teravus Ovares
480377e853
* Fix a null reference exception that I introduced
2008-09-23 19:16:02 +00:00
Sean Dague
9a17d2b1fd
remove log4net references, see if that helps fix bamboo
2008-09-23 19:11:06 +00:00
Teravus Ovares
439dd6cf8f
* Get Requests for OGP don't have a Content-type: application/llsd+xml, they have an Accept: application/llsd+xml.
2008-09-23 18:41:26 +00:00
Sean Dague
908f1bcbe2
check in stubbing for mysql tests. This is ignored with
...
Assert.Ignore() for now, so it won't change anything, but
I want to make sure it doesn't break the bamboo infrastructure
in it's current state.
2008-09-23 18:38:25 +00:00
Melanie Thielker
6425680cff
Add IEventReceiver to DNE - a consolidation series patch
2008-09-23 17:33:00 +00:00
Melanie Thielker
420a645036
Remove Common/LSL_Types.cs. Both script engines now use a single version
...
of the types, located in OpenSim/Region/ScriptEngines/Shared/LSL_Tyoes.cs
Also changes the compiler in DotNetEngine to use that. You _will_ need to
let your region recompile all your scripts!
2008-09-23 15:14:15 +00:00
Dr Scofield
29950ba419
this add POST support for asset services (howto forthcoming) and fixes
...
a couple of minor bugs.
2008-09-23 15:07:20 +00:00
Melanie Thielker
8ac4437d9a
Add constants wrapping code from XEngine to DNE. This syncs up the parsers
...
between the engines again. Also, committed r60 in opensim libs with the
parser source changes.
2008-09-23 14:17:32 +00:00
Melanie Thielker
d95794d05c
Refactor XEngine parser as per suggestions from mikem
2008-09-23 13:28:17 +00:00
Melanie Thielker
aef2afd3be
Add file missed in last commit (which never completed)
2008-09-23 12:49:31 +00:00
Melanie Thielker
dffa6567e8
Alter tests to match up with the results after tyre's patch
2008-09-23 12:17:21 +00:00
Melanie Thielker
44e566260c
Mantis #2243
...
Thank you, tyre, for a patch that refactors LSL to use a unified set of
method signatures and type names, reorders methods and removes unused
and adds new method stubs.
2008-09-23 11:41:34 +00:00
Melanie Thielker
525f66b6f1
Small fix to eliminate a beauty spot
2008-09-23 03:49:07 +00:00
Melanie Thielker
70d264ee6c
Update the permissions system to handle scripts and notecards the way
...
it was meant to. No functional changes, just better code
2008-09-23 03:36:16 +00:00
Teravus Ovares
611ffa3f60
* Update in OGP draft 3 protocol spec with regards to seed region requests running over GET instead of POST and the rez_avatar/request cap being wrapped in the capabilities map.
2008-09-23 01:54:04 +00:00
Melanie Thielker
48672c7fd6
Move script and notecard open perms checks from ClientView to the
...
perms module
2008-09-22 22:33:00 +00:00
Justin Clarke Casey
878166622b
* Remove some old libsecondlife workarounds as suggested by jhurliman in http://opensimulator.org/mantis/view.php?id=2236
2008-09-22 20:16:11 +00:00
Justin Clarke Casey
8e00e933a4
* Apply http://opensimulator.org/mantis/view.php?id=2234
...
* Exceptions can thrown by llGetOwnerKey()
* Thanks idb
2008-09-22 20:09:06 +00:00
Melanie Thielker
c64551710e
Remove the ugly-as-sin "interop" hack script perms fudging in
...
object inventory
2008-09-22 14:03:42 +00:00
Melanie Thielker
a882fddb07
Remove comment in perms module after consulting with awebb
2008-09-22 14:01:41 +00:00
Melanie Thielker
908a1932a8
Fix a small logic error in my perms module changes
2008-09-22 13:03:54 +00:00
Melanie Thielker
d7a98925ce
Create CanEditObjectInventory to preserve the ability
...
to have different permissions on inventory and object
edits. This may be needed by the viewer on public grids
2008-09-22 12:52:56 +00:00
Dr Scofield
7def786ef4
cleanups in inventory REST code. also, disables digest authentications
...
for inventory REST calls for the time being, as firefox, curl, and
also python's urllib2 cannot authenticate using digest auth.
fix permission checking for prim inventory to be the same as for
normal edit ops.
2008-09-22 11:20:09 +00:00
Melanie Thielker
b8a39a4dde
Remove the script engine identifier tag, so the compiler just sees
...
the language specifier. Makes language specifiers work again with
script engine specifiers.
2008-09-22 11:18:49 +00:00
Dahlia Trimble
232aa783ad
Disabled use of ODE internal geometry to see if it affects the "waves finger" error
2008-09-22 02:33:48 +00:00
Melanie Thielker
79ac01fb0c
Prevent scripts from running under multiple engines at once
2008-09-22 02:11:40 +00:00
Melanie Thielker
1602ba6175
Allows to use the new script engine feature. Begin your script with
...
//XEngine: or //DotNetEnine: , optionally followed by a language
like //XEngine:lsl, and it will be run on the chosen engine.
2008-09-21 22:16:17 +00:00
Melanie Thielker
94aaf67dfa
Change the scirpt engine loading mechanism. Script engines are now
...
ordinary region modules and are able to coexist in one instance.
See http://opensimulator.org/wiki/ScriptEngines for details. There were
changes to OpenSim.ini.example, please note DefaultScriptEngine.
Also see the User docs and FAQ on the Wiki. Default is DotNetEngine.
2008-09-21 21:47:00 +00:00
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