Commit Graph

216 Commits (599f8b884b073e68e1e472ab09d6e1c3728fd40a)

Author SHA1 Message Date
Tedd Hansen e06ee9fd4b Added load/unload queue size limit
Added option to share script load/unload thread between regions
Added event execution queue size limit
+ some bugfixes from all the changes
2008-02-02 03:11:06 +00:00
Tedd Hansen 8ccc12d642 Added OpenSim.32BitLaunch.exe that can be used on 64-bit systems to run OpenSim in 32-bit mode.
Added VISUAL BASIC.NET-support
//cs, //lsl and //vb as first characters of script will determine what compiler is used.
Compile warnings are no longer treated as errors. Script will still run.
Added a few useless and useful config options:
Write script source to harddisk for debug, Default compile language, Allowed compilers (languages), compile in release or debug mode, clean up old scripts on startup
Loads of warnings for incorrect config
2008-02-02 02:35:56 +00:00
Tedd Hansen 34d21ac94b Added some error checking to MaintenanceThread, no-crash (just log) loading of script engines, and support to load multiple script engines 2008-02-02 00:09:55 +00:00
Tedd Hansen d02a90823f SCRIPTING STILL BROKEN
Added comments and regions, restructured code
Changed a lot of AppDomain junk from console from using Console.Write to Log.Verbose and set it to #if DEBUG
All modules should now refresh their configuration runtime
Made all logging in ScriptEngine.Common get script name from actual engine
Renamed LSLLongCmdHandler to AsyncLSLCommandManager
Added auto-recover with 5 sec throttle for new MaintenanceThread
2008-02-01 23:36:36 +00:00
Tedd Hansen a6726b0c9d SCRIPT SUPPORT IS STILL BROKEN.
Bugfix: Scripts exceeding max and set to be killed were not killed, only removed.
Added ability to re-read configuration while OpenSim is running
All regions now sharing one MaintenanceThread
New MaintenanceThread:
- checks for script execution timeout
- re-reads config
- starts/stops threads if thread active count becomes too high/low compared to config
Speed increase on event execution:
- Reuse of try{}catch{} blocks
- Time calculation on event execution
2008-02-01 22:18:55 +00:00
Tedd Hansen 0c0286911d Config option to set number of scripts per AppDomain 2008-02-01 20:52:00 +00:00
Tedd Hansen e14c8f59f7 Added config options:
ScriptThreadPriority to set script thread priority
DeactivateScriptOnTimeout to remove script if it is executing too long
2008-02-01 20:45:15 +00:00
Tedd Hansen a9c1f3fdb4 Experimental
Moved DotNetScriptEngine configuration to config file.
Added option to share script execution threads between regions.
2008-02-01 20:12:25 +00:00
Teravus Ovares bec71977ab * Added more supported feature to particlesystems. While this appears to have a libsl update... it's really a fix to the libsl version we're already using because of a bug in the particlesystem implementation
* Added two new simstat counters in the simstat enum for the RCCS.  (I'll find something cool to put in them)
* fixed a time waster in ODEPlugin.cs
2008-02-01 04:22:20 +00:00
Jeff Ames 8f5c55c79b Updated ODE lib for OS X (built from opensim-libs r27) 2008-01-30 09:27:25 +00:00
Teravus Ovares 9722b6ad53 Updating ODE.NET as the version I used possibly caused the slowness. 2008-01-30 08:58:44 +00:00
Teravus Ovares cb05b76b83 * This update restores *nix support
* This stability optimization is disabled on Apple Computers until the .dylib library is updated.
2008-01-30 07:46:48 +00:00
Teravus Ovares fc9b3ec5a8 * Experimental ODE Update to make ODE more stable
* WARNING: This update will break *nix support. Will be restored in the next revision
2008-01-30 07:09:58 +00:00
Jeff Ames 20215c3d30 Rewrote svn properties handling script in python. Added more file types. 2008-01-26 10:34:49 +00:00
Justin Clarke Casey 2df8918aed * Persistent prim inventory script storage is now turned on by default
* Persistence of things apart from scripts will be implemented later on - I at least want to do some work with asset server stats so loading can be monitored first.
* No MSSQL implementation as of yet
* Progress can be followed at http://opensimulator.org/wiki/OpenSim:Prim_Inventory_Persistence
* Please let me know if you see issues resulting from this change.
2008-01-23 16:44:03 +00:00
Teravus Ovares dca31797da * 32bit Linux libode update
* Improves heightfield collisions
2008-01-13 23:47:09 +00:00
Teravus Ovares 30714c044e * HeightField handling update in ODE. Should improve the terrain pits. So far, only windows lib updated. Need to do the Linux version.
* Update also checked into opensim-libs
2008-01-13 22:11:49 +00:00
alondria 6108f1529f Changed URL in example to avoid RIAA issues. 2008-01-12 07:06:23 +00:00
Justin Clarke Casey edf006e28a Fill out and add wiki link to OpenSim.ini.example for prim inventory persistence 2008-01-11 19:05:19 +00:00
Teravus Ovares 901f403823 * Just an update to the default login form 2008-01-10 23:31:37 +00:00
Teravus Ovares a962653e04 * After fighting with it a bit more, Opensim is now compatible with the most recent release client(RC) on the linden labs download page.
* Don't forget, you need -loginuri *and* -loginpage
* Ex: -loginpage http://10.1.1.2:8002/?method=login -loginuri http://10.1.1.2:8002/
* The ?method=login is important, don't forget to add it
* If you customize your http_loginform.html file, be sure to keep the form post address as is.
2008-01-10 04:37:03 +00:00
Justin Clarke Casey 3ab0007d3e Minor spelling change on NotecardsAssetSet.xml. The example notecard should now load up properly 2008-01-10 00:49:31 +00:00
Jeff Ames 82af9b7a78 Set svn:eol-style. 2008-01-09 23:28:50 +00:00
Teravus Ovares 85fe8ed085 * This update enables the web_login method.
* Remember, the client doesn't support web_login to other grids in the current RC, however the next RC will.
2008-01-09 22:05:28 +00:00
Sean Dague 411d06c94e moving Region store for SQLite into the OpenSim.Framework.Data.SQLite
namespace to mirror what is done with MySQL.  This will require a 
configuration change for people using SQLite for prims which is given
as an example in OpenSim.ini.example
2008-01-09 18:41:20 +00:00
Teravus Ovares e1aa83e965 * Added a hashtable based HTTP processor in preparation of the web_login_key
* Added the web_login_key to the users table
* Added happy configurable http error message pages
* This update is large enough to have 'awe' value..    so backup your users or weep.
* Not tested on MSSQL, even though I added code to update the tables!
2008-01-09 04:13:04 +00:00
Brian McBee 19ed64b114 Third part of CharlieO's library rework. We now have library organization! Thanks CharlieO! 2008-01-09 03:52:07 +00:00
Brian McBee 35b0c2e9df More inventory work for CharlieO. Final patch to make it all work yet to come. 2008-01-07 01:03:46 +00:00
Brian McBee a14d9500de For CharlieO: new folders created for new asset set stuff. Mantis 313 2008-01-06 20:27:57 +00:00
Tedd Hansen 089af4903a Checked in my own Mono.Addins.dll by mistake. Here is correction. 2008-01-05 20:09:08 +00:00
Tedd Hansen 0fb0a6816d Only one queue is used for load/unload of scripts.
So loading/unloading of scripts are now done in same sequence as they are called.
2008-01-05 20:05:29 +00:00
Tedd Hansen 966f639ad6 Changes to ScriptServer to (hopefully) make it compile on both .Net and Mono.
Some debug info for startup added to find bugs. ++
2008-01-05 15:48:02 +00:00
Tedd Hansen 198dea28ad Full .dll-name in config option for ScriptEngine. Loading only scriptengine specified in config.
ScriptServer will still not start!
2008-01-02 15:58:33 +00:00
Teravus Ovares b4c9b6bd19 * You can add and remove a friend in standalone now within the same simulator. It saves.
* You can add and remove a friend in grid mode now within the same simulator.  It doesn't save yet.
* I got rid of Mr. OpenSim as a friend..   he bothers me /:b...
2008-01-01 06:12:04 +00:00
Justin Clarke Casey b8975ecbd9 Make it possible for new inventory 'libraries' to be added without changing the default OpenSimLibrary files. Additional library folders and items can be added in a separate
directory 
and linked in by an entry to inventory/Libraries.xml
2007-12-31 23:20:49 +00:00
Justin Clarke Casey e0cf45fe21 Move unused inventory files into the attic 2007-12-31 20:09:47 +00:00
Justin Clarke Casey 60fa75ac04 Standard library folders can now be configued in the xml in inventory/OpenSimLibrary - no hardcoded changes are required. For some reason, all the folders are currently
showing up as texture folders, even though they are configured with the same types as the agent inventory folders.  This should be resolved soon.
2007-12-31 03:33:21 +00:00
Justin Clarke Casey 7d04cf8d4e Shift default OpenSim library into its own directory 2007-12-30 19:05:11 +00:00
Teravus Ovares 32438ab1b9 * This update rolls back the packetpool and LibSL changes. Please retest and then patch these changes back in. Currently it's not quite ready for 0.5. The down side to this action, is that we loose some performance to the garbage collector for now. Given that the target date for 0.5 is *Two days* from now, I'm taking the initiative to work towards a real stable version.
* This update also fixes scripting and some weird physics reactions
2007-12-30 06:18:17 +00:00
Justin Clarke Casey 40e89678b7 Make inventory items nominate explicit inventory folders rather than hardcoding 2007-12-29 19:41:50 +00:00
Justin Clarke Casey 1b1649791f Allow OpenSim operators to specify their own asset sets without needing to change the default OpenSim set. Equivalent changes to allow operators to also specify their own
standard inventory library directories and items to follow.
2007-12-29 19:01:55 +00:00
Teravus Ovares 376d80cba2 * Patch from Melanie that fixes an inventory folder duplication. Thanks Melanie 2007-12-28 23:34:49 +00:00
Justin Clarke Casey 505067658a Migrate opensim default assets up another directory in preparation for extraction of hardcoded asset locations into xml 2007-12-28 22:49:32 +00:00
Justin Clarke Casey 27f7f76d04 Move OpenSimAssetSet assets file up into assets pending further changes 2007-12-28 22:32:52 +00:00
Justin Clarke Casey 7cf9a8d4f9 Move inventory contents configuration files to bin/inventory folder 2007-12-28 18:01:20 +00:00
Adam Johnson 79496381fc Patch from Johan: LibSL updated to the latest revision (1568) and all packets are now
recycled to improve performance and memory usage.
2007-12-28 08:51:39 +00:00
Teravus Ovares 5bd5770ed2 * Patch from Melanie. Thanks Melanie!
* This patch addresses a regression where 5 default textures, including the default "new prim" texture, would not be shown unless in viewer cache.
* Further, it supplies a new plywood texture as the base texture, which is purpose-made from locally photo-sourced material (means i took a picture and made it into a tile), which is closer in appearance and color to the Linden one.
* It changes the default new prim texture UUID to match the UUID generated by the viewer when "default" is clicked, which is a texture UUID hardcoded in some scripts as well, so it would cause compatibility issues if not addressed.
* The patch fixes a number of UUID duplications (same UUID for asset and inventory items) and capitalization issues in the XML files.
* It also includes new versions of 4 other textures, which were no longer loadable in grid mode.
2007-12-28 05:36:28 +00:00
Justin Clarke Casey 997a2907e2 Move hardcoded texture library inventory items out into OpenSimLibrary/xml. However, even before these change the five textures moved
are not displaying (which is why default cubes are coming up as grey plywood unless you happen to have that texture cached).  These
were working before so they must have broken in the last month.  Might be something to do with the fact that these identify (using file
under linux) as jpeg2000 files, while all the other working textures identify simply as data.
2007-12-27 15:17:22 +00:00
Teravus Ovares b64deca32f * Masochistically updated libsecondlife.dll to r1550
* after some tweaking to the UDPServer all appears to be well
* Added what 'was' the GetType(bytes,packetEnd,zeroBuffer) to the UDPServer. (it was removed as a static method from Packet)
2007-12-22 14:02:50 +00:00
Justin Clarke Casey c4987f14e2 Make xml filename capitalizations consistent with actual capitalizations 2007-12-21 17:44:59 +00:00