Commit Graph

747 Commits (xassetservice)

Author SHA1 Message Date
Tleiades Hax 6a8d8f54e8 Step one on the long march towards grid based inventory. Introduction of an InevntoryServer 2007-10-30 22:42:34 +00:00
Tleiades Hax 5e7dba7268 Very early first implementation of grid based assets.
Run this on a major grid, and weep
2007-10-26 11:46:27 +00:00
Tleiades Hax 60e4541865 Created a generic RESTClient component, which simplifies querying for resources from REST based web-services.
Currently it supports a barebones scheme for specifying the path of the resource and querying asynchroneously. POST method is still wacky and a good solid scheme for handling timeout still remain.
2007-10-25 09:26:47 +00:00
Tleiades Hax f6279beafb Fixed a situation where a reference to OpenSim.Region.ScriptEngine.DotNetEngine caused a circular reference in VS-2005 2007-10-21 09:53:32 +00:00
Tleiades Hax 6653f97a48 2007-10-21 09:51:15 +00:00
Sean Dague 139994757c changes to pass nini config object to the modules that get
loaded so that they may read out any bits they are interested in
2007-10-19 20:27:34 +00:00
MW 5144742e95 updated prebuild.xml 2007-10-15 09:00:18 +00:00
lbsa71 77459edb70 * Chillken Patch #417 - upgraded version numbers to 0.4 - thanks Chillken! 2007-10-15 06:03:04 +00:00
Tleiades Hax 1232eb1c58 Asset server implementation. Again one of these "plumbing" releases, where no real functionality has been introduced, but ground work has been made, enabling the asset server, and preparing the sim server to query the asset server.
Introduced an "IPlugin" interface, which plugins can inherit from.
2007-10-13 07:26:21 +00:00
MW 4c25008850 Applied patch 485, inventory patch from tleiades (thanks again). 2007-10-08 10:30:15 +00:00
MW 6a43889f65 removed the OpenSim.Region.ScriptEngine.DotNetEngine reference from OpenSim.Region.Environment, as it created a round reference problem. And it doesn't seem like it was needed 2007-10-06 08:34:28 +00:00
Tedd Hansen 6dd923b01d Some more work on new ScriptEngine. 2007-10-05 19:56:44 +00:00
Sean Dague 29aa41daa0 Code from Illumious Beltran (IBM) implementing more LSL
The functions implemented are:

llListen
llListenControl
llListenRemove
llOpenRemoteDataChannel
llCloseRemoteDataChannel
llRemoteDataReply

The events implemented are:

listen
remote_data
2007-10-05 19:33:26 +00:00
lbsa71 5a65521203 == The "right name and place" commit ==
* Moved InventoryData to Framework.Types/InventoryItemBase.cs
* Moved UserData to Framework.Interfaces/IUserData.cs
* Moved UserProfileData to Framework/Types/UserProfileData.cs
* Deleted ass-backwards Framework dependency on Framework.Data (now it's the other way round)
* Changed some namespaces to reflect file structure
2007-10-05 10:14:42 +00:00
lbsa71 2054ea5f4e * Deleted erroneous ref 2007-10-02 03:58:17 +00:00
dan miller a0265300aa Hollow prims (box only), thanks Gerard! Enjoy 2007-09-29 03:56:36 +00:00
lbsa71 863195612b Reverting back to 2017 since 2018 were causing Linux breakage; reopening Tleiades patch 444 and 445. 2007-09-27 14:57:43 +00:00
lbsa71 8143c597fc * Tleiades grid mode inventory (#444) - thanx Tleiades!
* updated to rev 1413 on libsecondlife.dll and libsecondlife.dll.config (#423)
2007-09-27 13:25:45 +00:00
Sean Dague 2528c28211 fix order issue with prebuild.xml, we need to build Local before
building OGS1.
2007-09-25 08:31:46 +00:00
lbsa71 197a07ccad * Added missing project ref 2007-09-25 06:59:34 +00:00
lbsa71 1302ef44e3 * Started major restructusing of comms to prepare for better grid and region functionality
* Working towards one shared set of services
* Killed off two projects with very little functionality
2007-09-24 07:30:30 +00:00
Tedd Hansen 59f0920a8f Stand Alone ScriptEngine: early framework, ongoing planning (don't touch yet, will go through major reorganizing). Still a LOT of things needs to be solved... 2007-09-22 13:15:52 +00:00
lbsa71 6961013c24 * CHANGED SOME CONSOLE COMMAND BEHAVIOURS
* Normalized 'change-region' so (almost) all commands are context sensitive (use 'root' or '..' to set 'all scenes' context)
  * 'terrain-sim' is thusly obsolete, use 'change-region', followed by 'terrain'
  * Introduced SceneManager to administrate operations on group of scenes and moved relevant funcs there.
    * In it, there's a ForEach(Action<Scene>) that either passes all scenes, or only current scene depending on context.
  * Changed default prim backup (save-xml/load-xml) xml to "prim-backup.xml"
  * Changed Disable/EnablePermissions to BypassPermissions = true/false;

Also:
  * Removed unused and non-existent project ref
2007-09-17 06:57:17 +00:00
Sean Dague 4cb8108fae added version 2007-09-16 18:32:58 +00:00
Brian McBee 279177219e Fixed missing Axiom references. 2007-09-16 13:02:16 +00:00
MW e2e13a9756 Added part 3 of Darok's BulletX patch. The bulletX plugin is now a project in the opensim build/solution. To use change the physics setting in opensim.ini to "modified_BulletX". At the moment I have been unable to test this as when using the bulletX plugin for me opensim is using 100% of processor. 2007-09-11 07:04:05 +00:00
MW 5020e4e602 Cut down on the number of compile warnings. Now down to 5: 4 are related to unused events on IClientAPI and 1 is a unused variable in LSL_BuiltIn_Commands (which I'll leave to Tedd, as he will know if it will be used in the future or not). 2007-09-08 08:12:19 +00:00
MW c16aafee09 Taken the old scripting engine out of Region.Environment and moved it into a separate module: OpenSim.Region.ExtensionsScriptModule (named as such because the purpose of it is to script server extensions, rather than "user scripting" like Tedd's engine.) 2007-08-28 18:30:28 +00:00
MW 8e3b2392d1 Start of trying to make Region/Scene more modular.
Added preliminary IRegionModule interface.
Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way.
Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule. 
Moved most of the code from  Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular. 
Stopped Child agents showing up as part of the "show users" command.
2007-08-28 14:21:17 +00:00
MW 653a4ff22d Deleted a few old files that are no longer used.
Deleted the GridInterfaces projects, and for now moved the old local asset server into Framework.Communications, as we prepare to rewrite the asset cache and asset server.
Deleted Framework.manager as I am sure this is no longer in use.
2007-08-27 15:34:21 +00:00
Tedd Hansen f444fe4f87 Moved OpenSim.Region.ScriptEngine.Common.dll from bin\ScriptEngine\ to bin\ folder - hopefully solves compile problem on Linux. 2007-08-18 21:10:40 +00:00
Tedd Hansen 551f2af39f LSL Compiler now only referring required assemblies (DotNetEngine and Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken. 2007-08-18 20:53:13 +00:00
Tedd Hansen 6d10c65358 Moved LSL_BuiltIn_Commands_Interface.cs to a separate library (OpenSim.Region.ScriptEngine.Common). Fixed last compile error (forgot to include LSL_BuiltIn_Commands.cs). 2007-08-18 18:53:03 +00:00
Tedd Hansen 1284369a32 Started on AppDomains for ScriptEngine. Moved llFunctions in LSL_BaseClass.cs to LSL_BuiltIn_Commands.cs. Changed how scripts are loaded. 2007-08-18 18:18:14 +00:00
Tedd Hansen f2dd6c86f7 Added RAIL.dll
Updated DotSets.dll and Mono.PEToolkit.dll
Started on microthreading - currently display exception during startup
2007-08-17 18:39:04 +00:00
lbsa71 c47bca94d2 * Exploring Group/Part from an app perspective. 2007-08-15 16:57:47 +00:00
Tedd Hansen 2a892eb736 Removed some debugging. Removed *.lso from project include in prebuild.xml. 2007-08-14 16:25:22 +00:00
Tedd Hansen afaa12a9e2 ScriptEngine: Some error handling, logs to logger 2007-08-14 15:59:36 +00:00
MW a228b5984e Start of Inventory service, currently only (partially) functional in standalone mode and using sqlite).
In standalone mode, if you have account authenticate turned on (setting in opensim.ini) then when you create a new account, a set of inventory is created for that account and stored in database (currently only a set of empty folders). Then during login the database is search for that set and sent to the client in the login response.
More functions will be added soon, like creating new folders (and a bit later items) from the client inventory window.
2007-08-14 13:54:46 +00:00
Tedd Hansen fd63c0cd32 Code comments and cleanup, correct datatypes for key, vector, rotation, (hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc 2007-08-12 17:37:37 +00:00
lbsa71 7f393791e7 * Removed magic exclusion of MonoSqlite data store from prebuild
* Renamed project back to base.
2007-08-12 08:11:28 +00:00
MW 114807b9d1 Made account Authentication optional in "sandbox/standalone" mode. Just change "standalone_authenticate = false" to be true in OpenSim.ini. Then as per grid mode, you can use the "create user" command to create new accounts. 2007-08-11 11:59:51 +00:00
MW 79f0ac82e3 Some cleaning up and removed a few old files no longer in use.
Temporary have had to rename the OpenSim.DataStore.MonoSqlite project to OpenSim.DataStore.MonoSqlite1, as I'm not sure what was done to stop the old project name being included in the VS2005 solution.
Also some config changes:
OpenSim now has a INI (OpenSim.ini) file that it will read some config settings from (if the ini file exists).
Added Mono.Data.SqliteClient.dll so that we can use the same code for sqlite on Windows and mono/linux. (from what I can tell Mono class libraries have a MIT license so there should be no problems with us including this dll).
So now to get the basic prim storage working , you need to first create the sqlite database file from the sqlite3-prims.sql in share directory. Then in the OpenSim.ini file, change the storage_plugin so it points to OpenSim.DataStore.MonoSqlite1.dll (storage_plugin = OpenSim.DataStore.MonoSqlite1.dll). Then in your region.xml files change the DataStore value so it is the name of your database file (at the moment you need a different sqlite3 database file for each region).
2007-08-10 17:22:54 +00:00
MW 427431ba17 Fixed a couple of mistakes. 2007-08-10 14:01:05 +00:00
MW 94c7e41ef1 Made a few changes so that once we enable the sqlite data store (simple line change in OpenSimMain), then basic ( with a few limits at moment) prim database backup will work. 2007-08-10 13:59:19 +00:00
Tedd Hansen 320635fdb8 Forgot to remove reference to .dll that was merged 2007-08-09 19:03:57 +00:00
Tedd Hansen 6829c45cb3 ScriptEngine just needs 2 events hooked up and llSay() implemented to work. See TODO.txt for details. 2007-08-09 18:57:41 +00:00
Tedd Hansen bf69aca961 Merged OpenSim.ScriptEngine.DotNetEngine.Compiler.LSL into OpenSim.ScriptEngine.DotNetEngine to avoid the compile error 2007-08-09 18:03:24 +00:00
Sean Dague e19fa01caa add MonoSqlite storage module, this might break windows folks, need
to test lbsa's patch on that one
2007-08-08 20:33:40 +00:00
MW cf203cf5ee The startup set of assets in the local asset server can now be set from a xml file (OpenSimAssetSet.xml). (remember to make changes to the set, you will also need to delete the old asset .yap file, so that it is recreated).
Also the set of items in the OpenSim inventory Library can also now be set from a xml file (OpenSimLibrary.xml).
2007-08-08 17:11:02 +00:00
Sean Dague 45c2922db3 update prebuild to work with new script stuff 2007-08-08 15:40:18 +00:00
MW a3b1a61e6a Removed System.Windows.Form reference from DotNetEngine.Compiler.LSL , it didn't seem to be needed anyway. 2007-08-08 15:26:19 +00:00
Tedd Hansen 356f59ac45 Added ScriptEngine to solution (prebuild.xml) 2007-08-08 14:36:54 +00:00
lbsa71 9bdeb8af6f * SimpleApp works again:
* NetworkServersInfo settable without config file
  * DefaultHomeLoc throws if getted before setted
  * Removed nonsensical sandbox distinction
  * Refactored default config file creation

* Some more small refactorings on shapes
2007-08-06 10:48:40 +00:00
MW f1e10e555d clean up of startup config settings (command line args etc),
Now using the Nini configuration library (suggest we look into using this for the rest of our config handling, as it provides a standard interface for command line args, INI files, Xml files, .NET config files, and windows registry). 
One IMPORTANT change is that to TO START GRIDMODE , you need to now use -gridmode=true .
Also need someone to test it under mono. (there is a dll that has been compiled under mono available, just hoping that we don't have to deal with separate dlls for windows and linux.
2007-08-04 18:15:48 +00:00
Brian McBee 599a6d32ee Changes to prepare for future possible configuration of separate logdir, configdir, datadir. 2007-08-03 18:01:55 +00:00
Brian McBee 56197451fe 2007-08-02 18:35:35 +00:00
Adam Frisby 50250a3a3a * Highly experimental: Added DB4o DataStore support. Untested. 2007-07-29 07:54:49 +00:00
mingchen 87bddd32df *Added configuration plugin (OpenSim.Framework.Configuration.HTTP.dll) that fetches a file from a remote server
*Right now, values are not saved back to the remote server, but that will be changed
*Removed some warnings from invalid references that were not used anyways
2007-07-23 19:30:33 +00:00
MW 70fa302042 * Some work in progress code: Inventory cache, start of inventory server/service, userprofile cache, inventory handling. (non of it is enabled yet (or at least it shouldn't be).
* Fixed some of the problems with crossing regions when flying: you should no longer sink to ground level when crossing (should keep roughly your right height). Should no longer sometimes get sent back to the centre of the current region when attempting to border cross. But instead sometimes you will find you avatar stop at the edge of region and you will need to start moving again to retry the crossing (which should then work). This code is partly based on Babblefrog's issue #212 patch. [I think I have some ideas of how to solve the stopping at edges problem, just want to get the inventory code done first]
* Capabilities code has now been moved to the OpenSim.Framework.Communications project as some of the caps code will be tightly tied to inventory/asset handling and it was causing a two way reference problem when it was in its own project/dll.

This is a Big commit as I was going to keep my inventory work local until I had it in a working state, in case it brakes anything, but its getting harder to keep in sync with svn.
2007-07-22 11:44:36 +00:00
Adam Frisby f84937367f * Deleted libTerrain-BSD.dll
* Added libTerrain to BasicTerrain directly as a subfolder
2007-07-21 22:25:42 +00:00
Adam Frisby 32aacd4f36 * Issue#209 - Terrain Hills Patch (Thanks Babblefrog)
* Issue#208 - Region crossing should be using External host (Thanks Babblefrog)
* Issue#207 - Prebuild.xml contains path errors (Thanks Gareth)
2007-07-21 07:23:00 +00:00
mingchen ed69e84874 *Moved XmlConfiguration to its own project
*Made it possible to load a configuration interface by DLL
*Deleted the 1024 config files until they are updated
2007-07-19 20:39:33 +00:00
Adam Frisby f29acf95b0 * Removed yet more compiler warnings
* Dropped old ILocalStorage storage engines.
2007-07-19 00:29:50 +00:00
mingchen 222becc879 *New Configuration System, much easier and less buggy compared to the original system in place
*View RegionInfo.cs for an example on how it works!
*This hopefully copies all the files over, but who knows :)
2007-07-18 23:15:08 +00:00
lbsa71 497ab5d7ab * RegionApplicationBase restructuring now complete
* Still has some weird bug in SimpleApp though.
2007-07-16 23:25:35 +00:00
Sean Dague 2a3c79df83 changed to native line ending encoding 2007-07-16 15:40:11 +00:00
Adam Frisby e44c9007ec * More prebuild.xml changes. 2007-07-15 18:33:59 +00:00
Adam Frisby 2604add4dd * Fiddling with prebuild.xml 2007-07-15 18:26:19 +00:00
Adam Frisby 8fc1dfec79 * Added loading methods for NullStorage. 2007-07-15 15:40:50 +00:00
Adam Frisby f65c3d5a31 * Typo in prebuild.xml 2007-07-15 15:00:21 +00:00
Adam Frisby 275d8c0247 * Adding example "NullStorage" DataStore engine. 2007-07-15 14:58:23 +00:00
MW 5a909a2054 Set up parcel manager and the master avatar in SimpleApp. 2007-07-14 14:48:36 +00:00
MW a04602d9c1 Added AddPreCompiledScript method to ScriptManager.
Done some work on lbsa71's simpleApp(hope he doesn't mind):
now have the avatar showing up and the terrain and his pulsating box (well except its not a box, as there seems to be something wrong with our PrimitiveBaseShape..DefaultBox() settings). 
Also noticed a few other problems that I had to work around, so these need looking into.
2007-07-14 13:18:02 +00:00
lbsa71 9775f3b94b * Merged solutions again; welcome home, boys! 2007-07-13 15:44:46 +00:00
MW 7198d7980d Next time maybe I should check it still compiles before committing. 2007-07-12 15:30:09 +00:00
MW 2ceff87a02 More work on UserProfile and inventory cache (still currently not enabled).
Asset uploading over CAPS now works, and although inventory isn't really working yet, this should now at least enables texturing of prims.
2007-07-11 17:47:25 +00:00
MW 9d989612b0 updated libsecondlife.dll to a 1.18 version (from the libsecondlife aditi branch, so when they have a trunk version that is 1.18 ready, best to update again).
Started some work on a userProfile/inventory cache.
2007-07-11 14:39:03 +00:00
MW 7f03246653 Gird mode in sugilite should now work in so far as you should be able to login and move between regions in the same instance. Moving to regions in a different instance of opensim still needs implementing (working on it now).
Also trying to look at the map in grid mode will crash the server.
2007-07-10 17:56:31 +00:00
lbsa71 19c01bfb52 * Yeah; forgot; we haven't implemeted 'depends' in prebuild nant target; so be sure to specify projects in the right order. 2007-07-09 22:53:17 +00:00
lbsa71 400a1c6b08 * another stab at #176 2007-07-09 22:27:03 +00:00
lbsa71 ab21b707c8 Taking a stab at #176 2007-07-09 22:14:20 +00:00
lbsa71 4adf4c57d4 2007-07-08 12:10:32 +00:00
mingchen 583f2a9de8 *Removed SimProfile.cs as it is no longer needed (in favor of SimProfileData)
*Added simulator_data_request XMLRPC method to request data from the grid server about a sim instead of faking its login
*Login is progressing, now just getting an XML error (http://pastebin.com/942515) -- if you can fix this, throw MingChen in IRC a Private Message
2007-07-05 15:15:28 +00:00
lbsa71 71f1b2d878 * Added conceptual LlsdMethod Demo to SimpleApp (work in progress) 2007-07-02 20:44:39 +00:00
lbsa71 686f6a8331 * Fixed Issue #161 by using PhysicsScene.Null instead of BasePhysicsScene
* Hid NullPhysicsScene for great justice
* Fixed broken Grid build
2007-07-02 08:03:11 +00:00
lbsa71 5e805656db Fixed SimpleApp - aka thankgoditssundaycommit
* Updated SimpleApp with various introduced dependencies
* Extracted ScenePrescence creation in Scene
* removed try-catchall from UserManagerBase (that actually hid a bug)
* Refactored RegionInfo
  * handle is calculated
  * it will explode upon accessing x,y,ip,port,externalip if not explicitly initialized
* Removed superfluous 'ref' keywords
* Removed a shitload of 'catch Exception e' that causes build warnings
* Lots of small refactorings, renames et c
* Ignored some bins
2007-07-01 13:17:27 +00:00
Adam Frisby 135e9b1f53 * Removed J# language support because it has issues with Mono. 2007-06-28 19:35:20 +00:00
mingchen 108d89f894 *Master User is now set up
*Added support for getting user profile information from remote grid server (untested)
*Updated prebuild.xml
2007-06-28 16:17:20 +00:00
MW 3456d951d8 Imported the scripting changes, so now should be up to date with sugilite. 2007-06-28 13:13:17 +00:00
mingchen 0232f01a58 *Moved all the classes into their own file from LLSDHelpers.cs
*Some folder renaming to follow project Name
*Updated prebuild.xml
2007-06-27 19:43:46 +00:00
mingchen 9eaecabdd0 *Moved VersionInfo.cs to its correct place in OpenSim.csproj
*Added OpenSim.Region.Caps
*Updated prebuild.xml and ran prebuild
2007-06-27 19:04:23 +00:00
mingchen 1a6f58f337 *Fixed OpenGridServices.sln and prebuild.xml
*NameSpaceChanges branch now fully compiles!
2007-06-27 18:28:45 +00:00
mingchen 2261e4ec2a *Fixed all renaming for OpenGridServices.sln, still a reference issue in prebuild.xml though 2007-06-27 18:04:07 +00:00
mingchen 1dcc814b70 *More compile fixes (should be it on OpenSim.sln) 2007-06-27 17:20:45 +00:00
mingchen fe120533ef *Updated prebuild.xml and ran prebuild again
*Removed .user, .suo, and unneccessary files in /bin/Physics/
*OpenSim.sln should compile with nant and on windows now
2007-06-27 17:12:32 +00:00
MW 646bbbc84b Some work on restructuring the namespaces / project names. Note this doesn't compile yet as not all the code has been changed to use the new namespaces. Am committing it now for feedback on the namespaces. 2007-06-27 15:28:52 +00:00