Commit Graph

344 Commits (24f0d97075595251ecae8a4c86bbd180885c338f)

Author SHA1 Message Date
Justin Clarke Casey 5a3827c317 * Put tests dll *after* the code it relies on. (repeat to self: always do nant clean after fiddling with prebuild.xml) 2008-10-09 19:32:55 +00:00
Justin Clarke Casey 285ae803e2 * minor: initialize udp server in unit test 2008-10-09 18:00:38 +00:00
Justin Clarke Casey 919d907a3d * Create project for LindenUDP ClientStack tests
* No functional tests yet
2008-10-09 16:52:33 +00:00
Dr Scofield a1f3409032 cleaning up OSHttpRequest removing old Http stuff. also adding test
case for OSHttpRequest (not very fancy yet, but still).
2008-10-06 19:42:03 +00:00
Jeff Ames f6699892dc Update svn properties, minor formatting cleanup. 2008-09-30 05:26:57 +00:00
Justin Clarke Casey 4daaac662f * Apply http://opensimulator.org/mantis/view.php?id=2295
* Updated MSSQL to reflect resend changes 
* Added the new columns in prims table.
* Created a implementation for getting gestures.
* Remove configurable table names for user. 
* Thanks Ruud Lathorp
2008-09-29 15:22:48 +00:00
Homer Horwitz 0e10c85617 Continue working on the new EventQueueGetModule. Not finished (or even working)
yet. This shouldn't break anything, but is work in progress, so be careful.
Contains a new file; do your runprebuilds.
2008-09-27 18:33:54 +00:00
Melanie Thielker d8c470343e Compiler Connection! One world, one compiler! 2008-09-26 16:11:53 +00:00
Melanie Thielker 12a6b7c835 Yay! Common/ is gone! One API is achieved! 2008-09-26 15:34:23 +00:00
Melanie Thielker c21a8b9969 Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.
The binaries are still different, but that is only a small step away now.
The OSSLPrim has been removed. This commit will breal all scripts
using Prim.Scale(), etc, syntax. It was not secure and will have to
be brought back in another form.
2008-09-26 02:51:00 +00:00
Melanie Thielker f926d917cb Fix script engine name parsing for DotNetEngine to make that actually work
Add a reference for Windows builds
2008-09-25 17:54:44 +00:00
Dr Scofield 60618c1895 temporarily disabling HttpServer related stuff (take #2: Exclude takes
regex not shell glob)
2008-09-25 09:20:01 +00:00
Dr Scofield c7f08c9c54 temporarily excluding OSHttp*.cs from prebuild.xml until they are
adapted to the new HttpServer.dll --- thx to dahlia for checking the
new HttpServer code in and it's my fault that the build didn't suceed,
well, actually, i blame it on our IP legal nazghuls... ;-)
2008-09-25 08:45:26 +00:00
Melanie Thielker f3c8963c86 Convergence is almost complete. This brings the diff between the API to < 10k
and makes it use a common set of types in both engine. Fixes the issues with
running both engines and HTTP requests / listens / timers etc..
Also fixes a couple of minor Scene issues and a CTB by nullref.
2008-09-25 05:13:44 +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 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
Melanie Thielker 488cb16619 Reorder projects in prebuild.xml to enable dependecies from DNE to Shared 2008-09-23 14:30:47 +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
Tedd Hansen 2dbb32ff15 One small bug fixed, now it compiles. 2008-09-21 00:10:37 +00:00
Tedd Hansen 752d3f3879 EXPERIMENTAL: Early commit of new Script Engine Component System 2008-09-21 00:03:13 +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
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
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
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 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
Sean Dague 737fcf322b fix an issue where we got coliding namespaces that prevented a sim start 2008-09-08 21:49:52 +00:00
Sean Dague 5913fcc8e8 rejigger tests out of OpenSim.Region.Environment and into OpenSim.Region.Environment.Tests.dll 2008-09-08 21:08:01 +00:00
Sean Dague ce0a8d7bef changes to Test directory structure per opensim-dev conversation 2008-09-08 20:34:45 +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 c37004291a Mantis#1234. Thank you HomerHorwitz for a patch that:
The big libomv patch introduced a small regression: 
OpenSim doesn't build on monodevelop anymore. The 
attached patch fixes this in prebuild.xml.
2008-09-06 22:11:27 +00:00
Teravus Ovares 7d89e12293 * This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point.  Regular people should let the dust settle.
* This has been tested to work with most basic functions. However..   make sure you back up 'everything' before using this.  It's that big!  
* Essentially we're back at square 1 in the testing phase..  so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Sean Dague d363661a7e complete rationalization of unit tests that we currently run 2008-09-04 22:11:13 +00:00
Sean Dague fb9bd7dec6 normalize naming for OpenSim.Tests.Framework.dll 2008-09-04 22:06:18 +00:00
Melanie Thielker 82aa9ba2b5 Remove self-referential build dependency that breaks build under
Windows
2008-08-27 23:55:46 +00:00
Melanie Thielker 6e3367d68c Refactor XScriptInstance to IScriptInstance and move into Shared/. Now
engines that want to use the XEngine's instance handling and state
persistence can do so. IScriptInstance is optional, but it does
require the SmartThreadPool if it is used.
2008-08-27 22:38:36 +00:00
Melanie Thielker ccd74f888b Some complex re-ordering to make prebuild do what needed to be done.
It is now possible to use module interfaces without referencing Scene.
Place those interfaces in OpenSim/Region/Interfaces. They may not
use any refs from OpenSim.Region.Environment as parameters.
This resolves a circular library ref introduced in r5949
2008-08-23 02:30:07 +00:00
Melanie Thielker 5d6f92fb96 Patch #9171
Disallow bulk uploads if money module is present and upload cost
is set and the user hasn't got sufficient funds.
2008-08-23 00:44:06 +00:00
Mike Mazur 2c6d8ba501 Remove trailing whitespace in prebuild.xml. 2008-08-20 00:38:08 +00:00
Mike Mazur 894f3045ed Convert LoadBalancer and RegionProxy plugins to use XML manifests. Fixes
"Plugin Error: Node 'Type' not allowed" messages during region server startup.
2008-08-19 09:24:12 +00:00
Teravus Ovares 9f2928efe6 * osmantis test. Speak, we want you to. 2008-08-18 20:12:13 +00:00
Jeff Ames 6bdbf30906 Thanks HomerHorwitz for a patch to remove old Common.Communications references from prebuild.xml (bug #1977) 2008-08-18 01:10:06 +00:00
Justin Clarke Casey 992b04a23e * Move GridInfoService into Framework.Communications and eliminate Common.Communications for now (since this was the only class in that project) 2008-08-16 20:42:43 +00:00
Justin Clarke Casey 79efe37a99 * minor: rip out userserver stress project which never got filled out 2008-08-16 20:31:07 +00:00
Melanie Thielker 1c40f4d951 Remove a project that had no buiness being in there 2008-08-16 02:31:58 +00:00
Melanie Thielker 328ab79b78 Refactor a lot of direct calls to OGS1 to use the cached version instead.
Scripts can now no longer DOS the user server and there are a lot fewer
gratuitious lookups of user profile data.
2008-08-16 02:00:36 +00:00
Mike Mazur 1040f3f454 Remove FunSL client stack as it's under development and often won't compile.
This effectively undoes commits 5771 and 5769 as well as parts of the
formatting cleanup commits 5774 and 5775.
2008-08-08 05:57:14 +00:00
Dr Scofield ae13fec655 From: alan webb <alan_webb@us.ibm.com>
this adds image conversion features to the REST inventory/asset code.
2008-08-06 15:20:45 +00:00
Mike Mazur f180fa57e7 Create FunSLUDP client stack. At the moment it's only a copy of the LindenUDP
client stack.
2008-08-06 01:34:50 +00:00
Mike Mazur d367f0bf0c Thanks, zaki, for a patch that embeds plugin manifest files into plugin dlls. Fix issue 1876. 2008-08-06 01:20:31 +00:00
Dr Scofield 03efaff60e moving GridInfo application plugin into a common standalone/grid
service, adding a plain REST GET handler returning XML (no LLSD),
adding appropriate add handler calls to OpenSimBase and UserServer.
2008-07-28 12:18:48 +00:00
Mike Mazur 82fa53a486 -copy LSL_Types tests from Common/ to Shared/
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Dr Scofield b5f23b4c9c first cut at a GridInfo plugin (mantis #1825). Currently just spits
out everything in the [GridInfo] section :-D Also, not yet LLSD but
XmlRpc, LLSD via GET will follow. OpenSim.ini.example contains sample
values and explanation. Oh, and default values provided are 

       platform: OpenSim
       mode: standalone | grid

have fun.
2008-07-25 16:56:46 +00:00
Justin Clarke Casey 77297ed6cc * Separate out OGS1 calls used between services (rather than from region to services) into a separate assembly to parallel OpenSim.Region.Communications.OGS1 2008-07-24 15:56:50 +00:00
Johan Berntsson 344c9caeb6 thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service) 2008-07-23 06:59:02 +00:00
Jeff Ames f18b80741a Update svn properties. Minor formatting cleanup. 2008-07-23 01:37:08 +00:00
Justin Clarke Casey b2b5675bd4 * refactor: move new inventory service call by user server to OGS1 with all the other service calls
* will post to mailing list about moving this shortly
2008-07-22 17:43:09 +00:00
lbsa71 9dbb6f28bc * eliminated some warnings and added some const and readonlies
* refactored some member names for readability and ccc (code convention conformance)
* took away two refs from Rest.Inventory since
   * System.IO is part of System
   * System.Xml.Serialization is part of System.Xml
2008-07-21 10:02:55 +00:00
Mike Mazur e0e0db3660 Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763). 2008-07-18 04:51:41 +00:00
Charles Krinke 33971a7ce8 Mantis#1681. Thank you kindly, Vytek for a patch that:
Adds additional support for llEmail().
2008-07-12 17:23:30 +00:00
Dahlia Trimble 501f3ebd5d Thanks to mikem for a patch that resolves a reference error when building SVN r5406 with Visual Studio 2008-07-10 08:21:46 +00:00
Charles Krinke 38da8960e9 Mantis#1707. Thank you, Melanie for a patch that:
This patch limits the maximum size of prims that can be created using libsl bots 
or modified clients to 65536mper side. It also limits LSL functions to that size.
If a prim is already physical, the enforced constraint is 10m.
A prim that is larger than 10m cannot be turned physical, either via script or UI.
Linksets are handled correctly, so scaling of physical linksets is constrained by 
the size of it's largest component prim. Also, turning linksets physical is based 
on the size of it's largest ptim.
2008-07-10 03:13:29 +00:00
lbsa71 35f5db2a1c * Added missing reference to Tools.dll 2008-07-08 09:29:42 +00:00
Johan Berntsson 27d9aeab0c Patch from Mike: added unit tests for the LSL compiler 2008-07-08 08:42:17 +00:00
Johan Berntsson a73e3b4e3f another patch from Mike: the llscript compiler is now available in XEngine as well. Thanks Mike 2008-07-08 03:02:11 +00:00
Sean Dague de69ecfaae remove build references to what I believe to be the very old MSSQL
datastore tucked down in the Region namespace.  This is based on
the assumption that OpenSim.Data.MSSQL is what is actually used by
anyone, and prevents us from having to refactor 2 different MSSQL store
paths when futzing with SOP functions.
2008-07-07 20:04:51 +00:00
Johan Berntsson 382fb8cea6 The new llScript-cs parser. Thanks Mike 2008-07-04 08:59:41 +00:00
Dr Scofield d40bea4a8e From: Alan M Webb <awebb@vnet.ibm.com>
This adds REST services for inventory access. It also allows inventory
uploads.
2008-07-02 09:02:30 +00:00
Charles Krinke ca8d1d57e1 Mantis#1591. Thank you graciously, Sempuki for a patch that:
Currently module loading is done ad-hoc. I propose creating a simple 
loader class that leverages Mono.Addins (and perhaps the new .NET 
addins when they become available in mono). Attached is a basic 
patch for review that compiles into HEAD, but doesn't yet replace 
any existing ad-hoc loaders.
2008-06-27 02:15:57 +00:00
lbsa71 6b7930104b * Applied patch from Melanie, mantis issue #1581 - "Refactor LSL language, api and compiler out of XEngine"
"First stage in a major Script Engine refactor, that will result in the LSL implementaions ebing reconverged. Not there yet, but one major part is done."
Thank you, Melanie!
2008-06-24 21:09:49 +00:00
Johan Berntsson 20e4036853 Implemented plugin support for ClientStack, with LindenUDP as the default plugin. This makes it easy for developers to experiment with alternative communication protocols 2008-06-20 01:35:54 +00:00
Sean Dague 340ef33e2e fix nhibernate driver so that it starts (based on the appearance
changes it wouldn't come up).
include embedded dialect specific sql files for nhibernate migrations
figure out how to get the raw db connection so that migrations can
work with nhibernate.
create initial migration for NHibernate + SQLite + Assets.
2008-06-16 19:22:00 +00:00
Sean Dague 504ab4477d move Migration support into OpenSim.Data, because it
really turned out to be small enough to not need it's own
assembly
2008-06-09 21:40:16 +00:00
Sean Dague c30e9ff0f1 more work in progress migration code, still a while before
this becomes useful
2008-06-09 19:11:49 +00:00
Sean Dague 283cc90566 start in on the shell for a generic database versioning module. My
intent is to create an easier way to manage database table versions
like the model used for ruby on rails migrations.
2008-06-09 18:24:07 +00:00
mingchen 00769429f0 *Updated prebuild.xml for support with monodevelop 2008-06-08 20:26:39 +00:00
Adam Johnson 990225a4ba Patch for mantis#1493: Several patches to xengine. Thanks Melanie! 2008-06-07 17:43:07 +00:00
Charles Krinke 16707b741e Mantis#1451. Thank you kindly, mikem for additional
tests for LSL types and strings.
2008-06-05 23:36:59 +00:00
Teravus Ovares 1a47ff8094 * This is Melanie's XEngine script engine. I've not tested this real well, however, it's confirmed to compile and OpenSimulator to run successfully without this script engine active. 2008-05-30 12:27:06 +00:00
Dr Scofield d7ec686691 this is a snapshot of the OSHttpServer work-in-progress. it's an initial skeleton,
far from complete, just want to check in early and often.
2008-05-29 15:46:54 +00:00
Justin Clarke Casey 2e758172f0 * Fix circular dependency from last checkin by passing version as a parameter to Scene rather than referencing VersionInfo directly
* Butt ugly solution
2008-05-22 00:18:33 +00:00
Justin Clarke Casey 9263f07d70 * Send VersionInfo string instead of the hardcoded Scene string to the "About Second Life" box
* This is the same string as printed out on the opensim region console at startup, so it should now include the svn revision number (if available)
* This dialog box takes an awful long time to come up on my local system - no idea why that is.  However, that also seems to have been the case before this revision.
2008-05-21 23:52:02 +00:00
Tedd Hansen aa5b26a4d3 Cleanup: Removed LSOEngine source again as it will not be used. 2008-05-18 14:10:51 +00:00
Sean Dague 06b1535ec5 while this doesn't fix the initial no pants issue in grid (which still baffles me)
it does make setting appearance in grid stick.
2008-05-17 12:45:43 +00:00
Sean Dague 0076ed40ff in theory, this moves the appearance mapper to live
under the MySQLUserData.  There is a lot of in theory here
so testing would be appreciated.
2008-05-16 14:30:25 +00:00
Sean Dague e6d4c8f0c9 move AppearanceTableMapper to OpenSim.Data.Base. The mapper
stuff should probably be collapsed soon, as it takes up 4 assemblies
now.
2008-05-16 14:05:12 +00:00
Teravus Ovares 2a988f187e * Refactored IConfigSource into Physics plug-ins and Scene. We can get rid of some of the parameters we pass to it's constructor now like, 'm_allowPhysicalPrim', 'seeIntoOtherRegions', etc.. so on
* The main purpose of this is to provide configuration options for ODE and other physics plug-ins that are advanced enough to be able to be configured.
2008-05-14 23:15:25 +00:00
Justin Clarke Casey e246d6e515 * Start recording as a statistic the number of times we start blocking repetitive client requests for the same missing texture
* This is to maintain some visibility on the problem, since I removed the intentionally irritating log messages for this
2008-05-14 23:09:17 +00:00
Justin Clarke Casey 1b90238f28 * Start recording initial complete avatar inventory retrieval failures from the region server
* In theory, this should be a somewhat useless statistic since the user server will already have tried to use the inventory service to retrieve the avatar's skeleton.  If this 
fails, login is halted completely.
* Nonetheless I'm recording it anyway just to see whether it happens (yes, I'm too lazy to scan the logs...)
2008-05-14 22:23:17 +00:00
Justin Clarke Casey 0f50162961 * Refactor additional stats collection common code into base opensim server
* If extra stats not sent to the viewer are available on an opensim server, they are now uniformly accessible using the 'show stats' command
2008-05-14 21:53:40 +00:00
Sean Dague 4a07038bbe From: Dr Scofield <DrScofield@xyzzyxyzzy.net>
the attached patch set adds the (still work-in-progress but already
working) RestPlugin base class and the RestRegionPlugin code. we are using
XML serialization.

currently working:

GET /admin/regions/                 -> returns UUID list of known regions
   GET /admin/regions/<UUID>    -> returns detailed region information

we'll be adding support for POST/DELETE/PUT and also for
/admin/regions/<UUID>/name etc.
2008-05-14 19:13:54 +00:00
Justin Clarke Casey 550018f02d * As part of the region registration process, the grid service now requests the status of the region using the region http uri just passed in
* If the status cannot be retrieved, then the region startup will terminate.
* The aim of this is for earlier detection of situations where the region can send messages out but cannot accept incoming requests (often due to firewall issues)
* This is currently an extremely simplistic check which completely trusts whatever http uri is given by the region
* This contact may be problematic, though since the user service needs to be able to contact the region http uri, it doesn't seem unreasonable for the grid to have to be able to do so too at this stage
* This change will require a prebuild
2008-05-13 13:36:21 +00:00
Teravus Ovares 7e275bfa37 * Wrote a method to get the OpenJpeg data of a sculpt texture asset and save it to the prim shape.
* Added some stuff around sculpted prim meshes..   but it's just there so the project compiles now.
2008-05-09 01:28:54 +00:00
Adam Frisby 8a48516bcf * Spring cleaning, round 3029 2008-05-08 05:09:35 +00:00
Adam Frisby 80cbd468ea * Some refactorings.
* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
2008-05-08 04:34:02 +00:00
Adam Frisby 5843f595a7 * Fixed some compiler warnings
* Fixed prebuild.xml to remove DB4o references (more compiler warnings)
2008-05-07 21:42:23 +00:00
Jeff Ames be024e1e93 Restored svn:keywords to prebuild.xml.
Set svn properties script to ignore this property from now on.
Update svn properties on some other file types.
Minor formatting cleanup.
2008-05-06 22:14:15 +00:00
Sean Dague 1edb7992f1 fixed the dos line endings 2008-05-02 19:21:33 +00:00
Sean Dague 859d71ecfb remove db4o from prebuild. It isn't removed from the tree yet,
but at least this gets it out of our way when adding new interfaces.
2008-05-01 20:05:14 +00:00
Adam Frisby 4ef6f53a11 * Adding unit test support to Environment for modules.
* Written some unit tests for Terrain Module as an example.
2008-05-01 13:59:58 +00:00