Commit Graph

353 Commits (e719bd4d5c41be2389670b964bfd543ba09898b6)

Author SHA1 Message Date
Teravus Ovares 2a3bdde0fa * Adds llSetStatus(STATUS_ROTATE_X | STATUS_ROTATE_Y | STATUS_ROTATE_Z,TF)
* Currently if you apply that to only one or two axis you get unpredictable and sometimes explosive results.
* Three axis works well enough to play with it anyway.   More work is needed here.
* Fixed an incorrectly named method in ODE.NET
2008-04-23 15:32:19 +00:00
Teravus Ovares 567a05a9e2 * ODE Update! If you roll your own, make sure to download the lib source again from http://opensimulator.org/svn/opensim-libs/trunk
* Gracefully handles two asserts that were being pesky.
2008-04-22 17:24:00 +00:00
Adam Frisby 8cf42ddb84 * Added support for periodic autosaves - added to SvnBackupModule. Will cause a SVN revision to be saved every X minutes. (Default = 15)
* Added 'Autosave' options to OpenSim.ini.Example 
* Added 'ImportOnStartup' option to OpenSim.ini.example
2008-04-21 04:11:56 +00:00
Adam Frisby a0fc29878e * Added a directory for the SVN module. More about to come.* SVNBackupModule
* See OpenSim.ini.example settings for how to use
* Only compatible with svn:// and http:// authentication for the moment (and only using simple authentication). SSL/SSH key support is supported by the library used (SvnDotNet), but is not yet supported in OpenSim.
* Use the command "svn save" to make a copy of your regions to SVN. Presently this is not an automatic process, but such a feature is on the todo list.
* It will in your repository create a subdirectory for each region with the regions UUID, inside there it will create a 'terrain load' compatible 'heightmap.r32', and a load-xml2 compatible 'objects.xml' plus information files.
* Untested on Linux, some compatibility work may be needed by Linux peoples. The dependencies will be the same as for SvnDotNet which is supposedly mono-compatible.
2008-04-17 13:20:06 +00:00
Adam Frisby d552c141ab * Committing a whole bunch of binaries needed for SvnDotNet to function. Namely the apache portable runtime project. Under Apache 2.0 License. 2008-04-17 10:39:18 +00:00
Adam Frisby ebb4ac6853 * Committing PumaCode SvnDotNet DLL library - a C# binding for SVN access.
* Required for upcoming work on a specialised module.
* Added license file (LGPL) to ThirdPartyLicenses/
2008-04-16 05:17:56 +00:00
Sean Dague 6f8ff32630 From: Dr Scofield <hud@zurich.ibm.com>
ansgar and i have been working on an asterisk voice module that will allow
   us to couple opensim with an asterisk VoIP gateway.

   the patch below consists of
     * AsteriskVoiceModule region module: alternative to the plain-vanilla
       VoiceModule, will make XmlRpc calls out to an asterisk-opensim
       frontend
     * asterisk-opensim.py frontend, living in share/python/asterisk, takes
       XmlRpc calls from the AsteriskVoiceModule
          * account_update: to update/create a new SIP account (on
            ProvisionVoiceAccountRequest)
          * region_update: to update/create a new "region" conference call
            (on ParcelVoiceInfo)
     * a asterisk-opensim test client, living in share/python/asterisk, to
       exercise astersik-opensim.py
   this still does not give us voice in OpenSim, but it's another step on
   this path...
2008-04-15 14:24:15 +00:00
Sean Dague 62d02e079e From: dirk husemann <hud@zurich.ibm.com>
attached is a patch set that
     * adds further robustness checks for the CreateUser and CreateRegion
       XmlRpc
     * fixes SceneManager.TryGetScene(IPEndPoint, Scene) --- contrary to my
       expectation IPEndPoint.Address is not sufficient for a comparision,
       IPEndPoint.Address.Address (the long representation) does work
       however.
     * add [RemoteAdmin] section to OpenSim.ini.example
     * fixes XML doc comments
       good night,
       dirk
2008-04-15 14:18:37 +00:00
Teravus Ovares be93c0f29a * Fix a bug in the friends module that causes a friend not to appear online when they were.
* A few things for testing.
* This makes a modification to the region registration with the grid server so that the region can send it a chosen password to identify itself.  It will not cause any errors, if either one are not updated.
2008-04-13 22:47:12 +00:00
Adam Frisby 00b8e04ece * Added a "regionload_regionsdir" option to OpenSim.ini which determines where Region.XML files are stored. If not set, it will default to the usual location. 2008-04-11 04:21:29 +00:00
Teravus Ovares 06967e230f * Updates BetaGridLikeMoneyModule
* Several people have asked for a way to limit uploads, so I've decided to show people how to do this in the BetaGridLikeMoneyModule.
* Configure it in OpenSim.ini using the [Economy] header.  See the bottom of the OpenSim.ini.example for more information.
* This also fleshes out the Economy API a bit more.
2008-04-10 09:36:55 +00:00
Sean Dague c522da0434 added NHibernate stanza to the config which reduces our verboseness
to reasonable levels
2008-04-08 18:08:08 +00:00
Jeff Ames c412a476c2 Update value in OpenSim.ini.example to new DLL name. 2008-04-08 16:22:14 +00:00
Justin Clarke Casey 90422db35a * Update code to use patched libsecondlife.dll which removes the problem where the AssetType enum was 'Primitive' rather than 'Object'
* The libsecondlife patch was also applied to libsecondlife itself in r1714
* Many, many thanks to Dr Schofield (IBM) for his help on this :)
2008-04-08 14:39:29 +00:00
Teravus Ovares e409892a9c * Updated ODE.NET bindings to the ODE library.
* Fixed some Tapers with Cylinders in the Meshmerizer
2008-04-07 22:11:41 +00:00
Charles Krinke 927003de33 Thank you kindly Diva & KMeisthax for adding the beginnings
of search capability to OpenSim in the form of a configurable
module.
2008-04-07 13:50:05 +00:00
Jeff Ames 9e7785fb03 Update Mac OS X ODE binary to opensim-libs r41. 2008-04-06 01:52:17 +00:00
Teravus Ovares 1fb98e22c1 * ODE Library hackery.
* You know the drill if you roll your own ODE. (h ttp://opensimulator.org/wiki/PhysicsEngines )
2008-04-05 20:18:27 +00:00
Charles Krinke d225e50965 Add four nHibernate dll's into bin/ 2008-04-04 21:37:00 +00:00
Sean Dague 5e32d86b87 move NullStorage => OpenSim.Data.Null to be consistant with
where other data storage assemblies are.
2008-04-03 21:07:03 +00:00
Justin Clarke Casey 042cd57e94 * From: Dr Scofield <hud@zurich.ibm.com>
* This patch removes voice code into a region module.  This required the implementation of events and other code to allow region modules to register their own caps handlers, and should allow different voice module implementations.
* CAVEAT: This does not provide complete voice support, it merely provides the hooks so that it can be plugged in.
2008-04-03 15:44:20 +00:00
Jeff Ames de56074b58 Update OS X libode binary to opensim-libs r36. 2008-04-02 21:58:04 +00:00
Sean Dague 26293d6d9e change references to OpenSim.Data 2008-04-02 15:40:00 +00:00
Teravus Ovares b790a16e98 * Updating the version of the ODE library. (big update). The Mac library needs to be updated still.
* Adding some XMPP stuff that's incomplete.
2008-04-02 01:03:31 +00:00
Justin Clarke Casey 44a5f6647d * Make it a little clearer that the voice config options won't actually do anything yet 2008-03-31 18:52:49 +00:00
Justin Clarke Casey 106fd2f616 * From: Dr Scofield <hud@zurich.ibm.com>
* (and Ansgar/Ansi)
* Fleshes out the voice stubs to better interact with the viewer CAPS requests - no actual voice support yet!
* In his own words
"the attached patch enhances the existing voice support by returning a proper voice account user and password and is preparing the config file so that we can specify a SIP server (not yet working). currently the SIP is hardcoded. the next step is to refactor voice support into a region module. working on that. "
2008-03-31 18:41:24 +00:00
Jeff Ames 2d7e0a4d4a Modify NAnt target in Prebuild to copy .mdb files to bin in debug configuration. (bug #55)
Use 'mono --debug OpenSim.exe' to get line number output on stack traces.
2008-03-31 06:45:54 +00:00
Jeff Ames 8af0c9a1af Update svn properties. 2008-03-31 03:29:34 +00:00
lbsa71 f52886f8f5 * Added competely untested MSSQLMapper
* Added the new mapper to the mapper factory
* Made choice of mapper configurable
* This means, in hteory, that we can persist avatar appearance on MSSQL as well
2008-03-30 21:04:45 +00:00
Teravus Ovares 0a9782494c * Updating ODE Libraries to release / dNODEBUG
* If you compile your own libraries, be sure to follow the updated directions on http://opensimulator.org/wiki/PhysicsEngines
* The previous libs are now -debug for people who wish to work on the ODELibrary and want the feedback.
2008-03-29 21:31:03 +00:00
Jeff Ames e3ca113075 Add "warnings as errors" support for nant and monodevelop to Prebuild (though monodevelop may ignore this). 2008-03-25 07:49:31 +00:00
Jeff Ames 79209c4297 Merged changes in Prebuild trunk up to r258 into OpenSim's Prebuild.
Hopefully this should make merging upstream easier.
Building with NAnt should still work, but Visual Studio is untested.
2008-03-17 20:55:21 +00:00
Justin Clarke Casey 297887e1fc * Change opensim.ini.example guidance on asset_database setting to be "local" or "grid"
* See OpenSim.ini.example for more details
* The old sqlite/mssql settings were redundant and effectively ignored anyway.  Hence, there's no need for you to change your current settings, which will still work
* In fact, asset_database should probably be moved to [Network] since it's meaningless for standalone installations
2008-03-13 01:01:28 +00:00
Justin Clarke Casey 879f51dab4 * Change opensim.ini.example to flesh out database *_plugin options
* Making each have sqlite (uncommented) and mysql (commented) strings
2008-03-13 00:39:53 +00:00
Teravus Ovares 27ff09cb2b * Updated LibSL _packets_.cs to latest revision. AKA New Packets.
* Added the DataBlockExtended From the Message Template Data Block to the Media Update Request manually.
* Set TickCount public from internal (whenever LibSL regenerates _packets_.cs this needs to be done)
2008-03-12 22:39:15 +00:00
lbsa71 7ef240e01e * Applied patch #681 from tyre
* This fixes three broken default assets
Thanks, tyre!
2008-03-07 14:56:07 +00:00
Jeff Ames 6d774339d9 More compiler warning cleanup.
Removed verbose flag, since it doesn't do anything any more.
2008-02-29 10:51:40 +00:00
Jeff Ames 28a07ed2e8 Backported MACOSX OS identifier into Prebuild. 2008-02-27 05:22:47 +00:00
Tedd Hansen 05dd1759c7 I keep forgetting that my Linux OpenSim has the wrong version of libopenjpeg-libsl-2.1.2.0.so 2008-02-24 15:56:22 +00:00
Tedd Hansen b533517037 eol 2008-02-24 15:55:04 +00:00
Adam Frisby f710dec6cd * Reduced size of 'startup complete message' by several thousand lines. 2008-02-23 02:40:20 +00:00
Tedd Hansen f06a6573bb One more: Async LSL command thread is also shared now. 2008-02-22 22:24:12 +00:00
Tedd Hansen 0fb4374c1a Better timing of MaintenanceThread's tasks (uses less CPU)
Updated OpenSim.ini.example
2008-02-22 19:46:13 +00:00
Jeff Ames f02b314765 Fix exception when reading OpenSim.ini file. 2008-02-20 18:32:41 +00:00
Tedd Hansen 69b1edebf6 Added to OpenSim.ini.example:
; Should avatars in neighbor
 sims see objects in this sim?
see_into_this_sim_from_neighbor=True
2008-02-19 18:41:26 +00:00
Dalien Talbot 905251fc07 More distinct startup logo + include the link to FAQ. 2008-02-19 01:03:03 +00:00
Dalien Talbot 75fe826d57 A bit more prominent sign of start up completion :-) thanks HashBox for the ASCII! 2008-02-18 23:31:48 +00:00
Charles Krinke 3df36523cb Thank you very much, Hashbox for:
Changed the public IsAdministrator back to protected, 
now checks Config to see whether it is allowed to run or not. 
Defaults to false (not allowed).
To use add the following to OpenSim.ini
[LL-Functions]
AllowosConsoleCommand=true
2008-02-18 03:14:31 +00:00
Tedd Hansen 94ecea52da Back with old libopenjpeg-libsl-2.1.2.0.so 2008-02-17 11:59:11 +00:00
Tedd Hansen f6aebe8aab SVN propset thingie 2008-02-17 11:54:11 +00:00
Charles Krinke 9e828ab168 Thank you very much, Taoki for additions to pCampBot to improve walking, talking
and adding additional sentences for communications with pCampBot.
2008-02-17 01:57:07 +00:00
Tedd Hansen 169032b4a4 Fixed ScriptEngine config in OpenSim.ini.example that was out of place.
Added some info to failure on GridServices listening port so people can see what actually went wrong.
Moved most of the function/event execution module to a baseclass so other execution methods (instead of reflection) can be used with custom script modules run by ScriptEngine.Common.
+ some accumulated patches
2008-02-16 07:53:02 +00:00
Justin Clarke Casey 57cfd5e8d1 * Two (combined) patches from Dr Schofield (dirk husemann). Ta very much :)
* Patch 1 stops OpenSim.32BitLaunch.exe and ScriptEngines/Default.lsl being deleted on nant clean
* Patch 2 resolves a building problem with pCampBot
* This will require a prebuild rerun
2008-02-15 11:11:03 +00:00
lbsa71 4880bd121e * Split out MSSQLManager Test/Init into each provider.
* Made regions table name configurable (MSSQL only)
* Added a note in ini.example pointing out that the sql resources have to change if you change table names
* Removed duplicate picker method from GridData interface
[Provided by openlifegrid.com]
2008-02-13 13:39:51 +00:00
lbsa71 bcd3a5b28b * Introduced customizable table names on MySQL and MSSQL UserData plug-ins.
[Provided by openlifegrid.com]
2008-02-13 12:06:09 +00:00
Teravus Ovares d773ca5147 * Made physical prim stable enough for the general population to turn on. (though I still don't recommend it for welcome regions unless object build is off.
* Updated the ode.dll for windows with a more reasonable stack space reserve.  Linux users will need to type ulimit -s 262144 before starting up OpenSimulator if using Physical Prim to protect against stack collisions. or run the included ./bin/opensim-ode.sh to start up OpenSimulator in ODE mode.
* Added internal collision score and am keeping track of 'high usage' prim.
* Tweaked collisions some more
* Tested up to 460 physical prim in extremely close quarters (which was previously impossible in OpenSim).  After 460 in tight quarters, physics slows down enough to make it hard to do any moving, however..  non physics things still work, such as logging on to the simulator, etc.
2008-02-13 07:50:15 +00:00
Sean Dague fdc42481ed default to appending for log files per Mantis 530, and per
previous OpenSim behavior.
2008-02-12 00:39:08 +00:00
Tedd Hansen d1e0b642f4 * Renamed and moved avatar appearance config keys. Everyone who has appearance persistence needs to set new params for it (check OpenSim.ini.example)
New keys "appearance_persist" and "appearance_connection_string" are now under [Startup].
* Reorganized OpenSim.ini slightly
2008-02-11 18:04:12 +00:00
Teravus Ovares e6453d9b9d * Changed child_get_tasks to see_into_this_sim_from_neighbor.
* Turned on see_into_this_sim_from_neighbor by default.
* Fix Race Condition with parts being added to a group while the simulator is starting up.
2008-02-11 05:19:54 +00:00
Justin Clarke Casey 42c5a49572 Move TESTING.txt from bin to root 2008-02-08 18:11:47 +00:00
Adam Frisby f9094fe066 * Forced nunit.framework.dll into the repo 2008-02-08 17:56:41 +00:00
Adam Frisby 9d0cc904cb * Added TESTING.txt 2008-02-08 17:55:23 +00:00
Jeff Ames 9bfd4ec83d Missed the appender change on the previous log4net config file sync. 2008-02-07 04:59:29 +00:00
Jeff Ames 87e2dd7c80 Convert pCampBot to use log4net 2008-02-07 04:53:42 +00:00
Jeff Ames c2c5cd42ec Sync other log4net config files with region server config. 2008-02-07 04:31:44 +00:00
Sean Dague caa255bcdf make a couple more changes to get us back very close to old color scheme 2008-02-06 20:59:31 +00:00
Sean Dague b3e85daf02 pass 1 on getting colors back to the console 2008-02-06 20:32:37 +00:00
Jeff Ames 7801227547 Shortened console log messages. 2008-02-06 17:08:30 +00:00
Sean Dague da0655b3a5 change the console logging format a little bit to look more like
it did before (still no colors)
2008-02-06 16:51:00 +00:00
Jeff Ames 355d0fdb95 Revert color console changes until a cross-platform method is found. 2008-02-06 07:36:14 +00:00
Jeff Ames d76d604ce9 Added colors back to console output.
Fixed line duplication in console output.
2008-02-06 03:52:36 +00:00
Jeff Ames 6ed5283bc0 Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O.
This is mostly an in-place conversion, so lots of refactoring can still be done.
2008-02-05 19:44:27 +00:00
Tedd Hansen 1d95f0521d Reverted MySQLDataStore.cs to not use static mutexes any more, patch didn't work anyway.
Added js to OpenSim.ini.example.
2008-02-05 12:18:50 +00:00
MW 755ad9e3e0 First part of avatar persistence, currently only really works in standalone mode (with accounts_authenticate set to true), it also only currently has a mysql database connector. (sqlite one will follow soon). It also uses the tribalmedia database system, so this needs checking to see if the old problems with mono have been fixed.
To use, see the appearance section in opensim.ini.example, set "persist = true", then add the correct connection string for your database.(see mysql-AvatarAppearance.sql in share folder for a example of the table mysql table structure).
This could possible be used in a very small grid, but would mean each region server would need to connect to the same mysql database. 
But the work to move the code to one of the grid servers shouldn't be too much.
2008-02-04 12:04:02 +00:00
Adam Frisby 760ece2595 * Chat Message format patch from kinoc (#443) Thanks! 2008-02-04 10:23:13 +00:00
Teravus Ovares ab2c7ea371 * Made sure the excuses are up to date and properly attributed.(pCampBot uses them) 2008-02-03 17:46:39 +00:00
Teravus Ovares b0c6baaeb0 * Adding the PhysicsCamperBot load testing app to the SVN in it's own folder. You'll have to build it separately to take advantage of it. *read the Readme file*. The bots created by this application roam around amusingly to simulate load.
* Be smart, Don't use this on a public grid, lest you get banned permanently.
2008-02-03 04:13:46 +00:00
Teravus Ovares 2d6c21e8fc * Added Full support for llSetTextureAnim. To ckrinke: Let the fountains of Wright Plaza flow!
* Fixed another bug in LibSL.  This is the same version, as before just with a bug fix.
2008-02-02 08:11:14 +00:00
Tedd Hansen 785b641272 fixed a timing bug in config re-read. Apparently there is 1000000000 ns in one second... 2008-02-02 07:53:13 +00:00
Tedd Hansen 2db5de3e72 Added commands to change config file from console:
CONFIG SET section key value value value
CONFIG GET section key
CONFIG SAVE (it saves, but does it save correctly?:)

ScriptEngine will react correctly to any config change made while it is running.
2008-02-02 07:35:51 +00:00
Jeff Ames b1a6f4821b Updated svn properties. 2008-02-02 07:13:37 +00:00
Tedd Hansen b089ccfa3d Hopefully fixed MySQL DB crash on startup issue (so we can remove 3 sec wait).
Added option to try alternate UDP ports if the one configured is in use.
UDP packets are now bound to the actual outside IP address and hopefully won't "randomly" select IP on multihomed systems.
2008-02-02 06:34:07 +00:00
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