Commit Graph

271 Commits (923cc9f62fedfb5e13c8133831b71815ef697805)

Author SHA1 Message Date
Tedd Hansen 41516fa2c3 Last patch was a disaster... reset terrain whenever bug occurred. Trying again with some modifications on Mutex. 2008-02-02 05:28:39 +00:00
Tedd Hansen 1fa510d26d And one more patch before sleep
This annoying sleep during startup-problem still sometimes causes exceptions, so added some retry...
2008-02-02 05:14:50 +00:00
Tedd Hansen b57d9be856 Re-enabled AllowedCompilers function
Added notice in OpenSim.ini that config refresh function is disabled
2008-02-02 05:07:02 +00:00
Tedd Hansen a004ea5f17 Almost forgot to check in:
OpenSim.32BitLaunch.exe is a 32-bit application that loads OpenSim.exe using .Net framework, hence it is JIT-compiled to 32-bit.
Use this app to start OpenSim on 64-bit systems (works great on Vista 64 :))
2008-02-02 05:03:28 +00:00
Tedd Hansen 7bd3ecfc2a Bugfixes. Now it even reads configuration before it uses it! ;) 2008-02-02 04:35:08 +00:00
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
Brian McBee ab673a1f8d Fixed that we weren't actually loading in some of the Library assets. Thanks Sakai! 2007-12-21 16:20:04 +00:00
lbsa71 0770b0f5cb * Updated vs2008 target ProductVersion to "9.0.21022"
* Updated exe
2007-12-20 11:34:32 +00:00
Jeff Ames be2ad79e52 Added patch from Johan. First attempt to solve the LibSL.Packet GC problem. Works with LibSL rev>1532 2007-12-20 05:43:02 +00:00
Jeff Ames 36a8f70931 Extended svn:eol-style to check some other file types. 2007-12-20 01:01:42 +00:00
Jeff Ames cff2fb3640 Updated asset_database options in OpenSim.ini.example 2007-12-19 09:23:36 +00:00
Jeff Ames d4e7987abf Moved mssql_connection.ini to an .example file as well.
Added the two _connection.ini files to svn:ignore
2007-12-15 23:44:48 +00:00
Sean Dague 733a14aa9e move mysql_connection.ini to mysql_connection.ini.example
to prevent people checking in their own copies of this.
2007-12-15 22:10:44 +00:00
Justin Clarke Casey bc510162b3 revert accidental checkin of my own mysql_connection.ini 2007-12-15 22:00:40 +00:00
Justin Clarke Casey 019d662606 Put out a more comprehensible message when user authentication fails than the current NullReferenceException based one 2007-12-15 21:58:07 +00:00
MW 6df9f21a5f fixed OpenSim.ini.example to include a inventory_server_url = http://127.0.0.1:8004 entry, seems that is the cause of a lot of people's inventory problems. 2007-12-14 12:42:23 +00:00
Sean Dague f773733fcb From Michael Osias (IBM)
This patch makes some enhancements to the llRemoteData functions.  The
module is now a shared module, and allows remote data channels to be
created among multiple regions in the same sim.  The port is controlled
from the remoteDataPort property under the [Network] section in
OpenSim.ini.  If this setting is not present or = 0, the module is
disabled and no port is opened.  llRemoteData commands have not effect
when module is disabled.
2007-12-13 19:50:21 +00:00
Jeff Ames 8297da56f2 updated libopenjpeg-libsl-2.1.2.0.dylib 2007-12-07 09:56:42 +00:00
MW 167846311a updated openjpeg-libsl.dll 2007-12-07 09:47:36 +00:00
Adam Johnson 3d938f76b7 Updates to LibSL revision 1498. Thanks Johan! 2007-12-07 08:54:31 +00:00
Jeff Ames 6abe37e71d added timer_Script to OpenSim.ini.example 2007-12-07 02:14:17 +00:00
Teravus Ovares 71fd737a66 * Applied MSSQL Patch from akokko, Thanks! akokko
* This hasn't been tested in MSSQL mode, however it's been checked to make sure it doesn't cause any issues with mySQL/SQLlite
2007-12-05 15:53:58 +00:00
lbsa71 90611ebf8d * took a stab at #54 2007-12-04 13:43:11 +00:00
Sean Dague 4c28554d88 update prebuild
Nant files now obey the target out of prebuild.xml, so Linux users will be able to build as Debug
Nant clean target now does the right thing (doesn't wipe out all of bin/)

Prebuild's own prebuild system is broken due to the .exe workaround added a while ago, will
register a bug for that seperately.
2007-11-28 16:24:28 +00:00
Teravus Ovares 545404e3ec * Experimental updated Linux ODE library 2007-11-24 21:23:28 +00:00
lbsa71 34fa2a4db4 * added ttensy but important piece of knowledge to MySQL provider in OpenSim.ini.example 2007-11-19 13:13:28 +00:00
lbsa71 7d26d8ffd0 * Added example MySQL connectionstring to OpenSim.ini.example 2007-11-19 13:10:44 +00:00
Jeff Ames d10c79d421 first stab at implementation of CopyInventoryItem 2007-11-18 13:50:46 +00:00
Jeff Ames e3998230cc added dummy POS physics plugin 2007-11-16 10:25:27 +00:00
Jeff Ames 488cf2ea9f added libs for ode and openjpeg for intel mac osx to bin 2007-11-16 03:21:48 +00:00
lbsa71 3aed77bd2c *** BIG CHANGES : REGION STORAGE MOVED : UPDATE YOUR OpenSim.ini FROM OpenSim.ini.example **
* Now moved region storage from region to application, so we have one storage per application, instead of one per region.
* Changed so that the region store providers use connectionstrings, not filenames
* Removed various unfit fields and properties (call me Darwin)
2007-11-15 19:53:10 +00:00
lbsa71 57ff76850d * Added MySQLDataStore (adapted from MonoSqlite
* Made startup a little bit more forgiving on dll load
* Minor renamings and musings
2007-11-15 15:32:28 +00:00
Jeff Ames 3c3d586d2a removed duplicate cloud.jp2 from bin directory 2007-11-14 06:52:39 +00:00
Brian McBee d6e62b2d46 Whoops! Missing cloud texture. 2007-11-14 06:25:51 +00:00
Brian McBee 666bd6f06e Another try: Fix moon bleeding over into linden grid. Need to clear your cache to fix it. 2007-11-14 06:00:03 +00:00
Jeff Ames 3d10dbf233 added IDs for all built-in animations 2007-11-13 02:30:43 +00:00
Teravus Ovares d9d35f9fd7 * Implemented Walk Vs Run in ODE. Also helps make the walk look smoother.
* All thanks to unimplemented packet listing :D
2007-11-12 23:46:26 +00:00
Teravus Ovares 5952441fcc * Added a lot of Glue to help with reporting proper collisions.
* ODE - Fixed the iscolliding property to report a static true when colliding.
* Added reporting of collisions to call UpdateMovementAnimations
* Added Jump - air animation (with arms outstretched).
* Added Fall Animations
* ODE - Added a small amount of X, Y motion control while jumping or Falling
* ODE - Avatar movement animations are still a bit odd sometimes, and had to get this up there.
2007-11-12 21:45:49 +00:00
Jeff Ames ad002835d3 enable typing animation for chat, maybe 2007-11-12 20:25:59 +00:00
Teravus Ovares 9b6e747d78 * Sets ZeroMesher as default. (If you want to cut and hollow, you'll need to uncomment the Meshmerizer in OpenSim.ini)
* Fixes a geometry issue in ODE when using ZeroMesher
2007-11-12 16:22:23 +00:00
Jeff Ames 008e4a2be8 set svn:eol-style, reset default config 2007-11-12 14:54:13 +00:00
Teravus Ovares cdd903c173 * Applied Gerhard's Meshing patch (Thanks! Gerhard)
* Addition of Gerhard's ZeroMesher.
* Addition of meshing OpenSim.ini parameter
* Some modifications to the Meshmerizer
* Meshmerizer set to default meshing plugin because ZeroMesher needs a memory locking fix.  We'll switch it back after the memory locking issue is resolved.
2007-11-12 12:43:01 +00:00
Jeff Ames db174dfa20 set svn:eol-style 2007-11-11 09:19:21 +00:00
Brian McBee 98fd8f099b Better moon with new improved alpha-channel action! 2007-11-11 02:52:38 +00:00
Brian McBee f1f3298473 moon 2007-11-11 02:02:35 +00:00
Teravus Ovares ec77e1eb17 * adds flag in OpenSim.ini for disabling physical prim. Look at OpenSim.ini.example in the bin folder for an example. 2007-11-11 00:08:18 +00:00
Teravus Ovares e9e72fe907 * Added an internal throttle on ODE physics updates
* Added a ThrottleUpdates member to PhysicsActor to expose 'throttle' ability to the Scene.
* Updated the ode.dll file with a fix to invalid data passed to ODE's heightfield collision calculator.
2007-11-09 21:01:55 +00:00
Sean Dague 114945b842 make Sun progression configurable for the Sim from OpenSim.ini 2007-11-09 19:53:23 +00:00
Jeff Ames a9b5732c33 reformatted OpenSimAssetSet.xml (whitespace only) 2007-11-08 09:16:24 +00:00
Jeff Ames 0c770af51a fixed case of name key in OpenSimAssetSet.xml 2007-11-08 08:49:24 +00:00
darok f016ef76db Update of libraries MonoXnaCompactMaths and Modified BulletX cause an update on MonoXnaCompactMaths. The method CreateFromRotation in Quaternion Class (MonoXnaCompactMaths) has been changed to make rotations work properly. See OpenSim libs. 2007-11-07 20:49:31 +00:00