Commit Graph

3781 Commits (a73e3b4e3fdb6b563dddaa7f67d5fe69e65ca752)

Author SHA1 Message Date
Teravus Ovares 4448fd4b2f * Handle parcel telehub location corruption gracefully. DBNull
* mySQL this time.
2008-06-20 18:46:43 +00:00
Teravus Ovares f8b1785467 * Handle parcel telehub location corruption gracefully. DBNull 2008-06-20 17:07:01 +00:00
Teravus Ovares e02a2e31e0 * Patch from nlin to enable DIF state file writing from the ODEPlugin
* Rebuilt libode.so, ode.dll
* If you roll your own ODE library, make sure to update your opensim-libs.
2008-06-20 04:57:32 +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
Charles Krinke d976ee477b Mantis#1573. Thank you kindly, Mikem for a patch to our
LSL subroutine implementation to solve an infinite loop
in llParseString2List() under certain circumstances.
2008-06-20 00:00:09 +00:00
Sean Dague ccc2adb331 fixed to inventory for nhibernate that actually make it so I can
log in using it as the driver for users, assets, inventory.  User
driver is still missing a lot of function.
2008-06-19 22:11:04 +00:00
Sean Dague c2e2997a99 more work towards nhibernate working with mysql, not there yet,
but moving in the right direction.
2008-06-19 21:20:23 +00:00
Charles Krinke 786fd3534d Mantis#1572. Thank you kindly, Lulurun for a patch that addresses:
In function "ReadInExtraParamsBytes", parameter "data" is used without a boundary check.
if data.Length==0, an "out of index" exception will be thrown.
2008-06-19 21:00:09 +00:00
Charles Krinke 838ffd7792 Mantis#1543. Thank you kindly, Jonc for a patch that:
Implements terrain bake from Region/Estate dialog and 
respects estate settings during terraforming
2008-06-19 20:57:00 +00:00
Teravus Ovares 1d91613679 * Patch from Dahlia - 0001576: Exception of type 'System.OutOfMemoryException' was thrown .Void set_Capacity(Int32), with regards to sphere mesh. Thanks Dahlia!
* Also allows a sphere to be hollow with no cuts or dimples. (walking around inside the sphere).
2008-06-19 17:21:17 +00:00
Justin Clarke Casey f69f696181 * Temporary workaround for mantis 1568. If the avatar apperance factory now throws any exception, we will carry on with the default appearance rather than terminating the client login 2008-06-19 17:03:59 +00:00
Sean Dague 40f32a9271 oops, build break. needed to include another reference. 2008-06-19 15:44:33 +00:00
Sean Dague d28a5a4de7 add migrations support for mysql log store. This should complete
all the mysql bits for migration.
2008-06-19 15:42:57 +00:00
Sean Dague fcd7cf5e4a fix an edge case with migrations in the region store.
Add migration support to gridstore.
2008-06-19 15:03:00 +00:00
Sean Dague c2dc1636a6 oops, it helps to reference the *right* migration 2008-06-19 14:46:54 +00:00
Teravus Ovares e6ce30d4f1 * 0001571: (PATCH) patch to implement editable sphere meshes for meshmerizer/ode (Initial Implementation) from Dahlia! Thanks Dahlia!!!
* The included patch implements the editor parameters twist, dimple, path cut, and profile cut to the sphere mesh for meshmerizer. The mesh will default back to the geodesic sphere if the parameters are adjusted to beyond a reasonable arbitrarily chosen threshold that would expose too many inverted normals on the mesh.
2008-06-19 04:17:04 +00:00
Teravus Ovares cb29926e3c * Refactors call to OutPacket out of AssetCache and into LLClientView 2008-06-18 23:04:15 +00:00
Sean Dague 6dea8f3435 clean up the nhibernate definitions to work with mysql
integrate migration support into nhibernate
2008-06-18 21:14:19 +00:00
Sean Dague b58dc7fb33 add mysql migrations for nhibernate driver 2008-06-18 21:08:16 +00:00
Charles Krinke b6667e7224 Mantis#1567. Thank you kindly, Dmiles for a patch that addresses:
Add a .Trim() that was forgotten in a previous patch titled:
[PATCH] Adds an API for for plugins to create new Console commands and Help
2008-06-18 21:07:40 +00:00
Sean Dague 6711adb8b1 add inventory store migration 2008-06-18 20:51:42 +00:00
Teravus Ovares 1fcb7c2db4 * By popular demand, skipping trees from the map tile generation routine. Skipping these because we have no good representation, they just appear as blocks that obscure the rest of the map items. 2008-06-18 16:27:27 +00:00
Sean Dague eda34a6d3a revert 5134. Changing these bitmaps to 24bit just breaks things, and they never display
on the client.
2008-06-18 14:04:24 +00:00
Jeff Ames a728417eda Minor formatting cleanup. 2008-06-18 03:50:39 +00:00
Sean Dague 7a11f6f1e2 make neb happy. I found where we initialized the dynamic textures to
32bit images and changed them to 24bit images.
2008-06-18 02:35:53 +00:00
Sean Dague 6d30d71256 change the default drawing font from Times -> Arial, as
san serif fonts are a bit easier on the eyes on textures.
Add a new "FontName" attribute that can be used to override
the font type.
2008-06-18 02:23:27 +00:00
Sean Dague c01ebb281b tweak dynamic texture stuff after the meeting today. This should
now preserve the bulk of the texture attributes, and force on full
bright.  Not tested yet, but shouldn't bother most people.
2008-06-17 23:01:48 +00:00
Justin Clarke Casey 16d0a895cb * Refactor: Move the responsibility for applying physics and sending the initial client update to Scene.AddSceneObject() from some of the SceneObjectGroup constructors
* I think this has been done cleanly from inspection and testing, but if prim creation or load suddenly starts playing up more than usual, please open a mantis
* This also has the effect of stopping the archiver generating ghost in-world prims
* Some code dupliction also removed
2008-06-17 20:36:21 +00:00
Justin Clarke Casey 33d32355a1 * refactor: Remove largely duplicate code from SceneXmlLoader.CreatePrimFromXml2() 2008-06-17 17:23:00 +00:00
Jeff Ames 255b87464a Update svn properties. 2008-06-17 08:14:58 +00:00
Teravus Ovares a401b03ab0 * Increase WEBMAP tile jpeg quality.
* I'm not sure if this method works on Linux..    but I guess I'll find out :P
2008-06-17 00:55:30 +00:00
Justin Clarke Casey cb70299092 * Fix a bug in the archiver where I didn't realize a shape still needs its default texture as well as its face textures 2008-06-16 22:43:30 +00:00
Teravus Ovares 53c9ce46b3 * Enables binary data in BaseHttpServer with 'image' in content type.
* Enables regular jpeg map images to be served directly from the region.
* EX: http://192.168.1.127:9000/index.php?method=regionImagecc4583cd269b41bfa525dd198e19a5c5
* This is actually HTTP server address + port + index.php?method=regionImage<REGIONUUID, no dashes>
* The Webmap image location gets printed on the console when the simulator starts up.
* JPEG data is cached so we only create the webjpeg once.
2008-06-16 22:06:55 +00:00
Justin Clarke Casey 1898674254 * minor: Get rid of rogue "Current node RootPart" message in the SceneObjectGroup 2008-06-16 22:03:15 +00:00
Justin Clarke Casey 4c2171ec82 * Allow archiver to save and load objects within other objects to arbitrary levels
* This currently has various bugs which are more to do with the way its been hacked together than the feature itself (e.g. on save-oar, ghost prims will appear of the saved 
contained items).  These will be found and eliminated in subsequent patches.
* Not yet ready for use
2008-06-16 21:59:39 +00:00
Sean Dague be79b56cc3 I really didn't expect that one to work out of the box, but just managed
to get NHibernate + MySQL + Assets working.
2008-06-16 19:58:48 +00:00
Sean Dague bdb0dddfcf set CommandTimeout = 0 in the migration commands so that long
migrations (like converting asset ids) don't run into the 
normal 30 second kill switch.
2008-06-16 19:39:08 +00:00
Sean Dague e1409e0c04 be a bit more verbose about what we are doing on the migration
side so that people don't think we're hung.
2008-06-16 19:33:08 +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 caa6b8467d futzing around on the NHibernate side again trying to connect
migrations into it.
2008-06-16 18:53:55 +00:00
Justin Clarke Casey e31de6707f * refactor: Fission ArchiveWriteRequest into prepare and execute classes 2008-06-16 17:13:28 +00:00
Sean Dague 94034d665d change some messages on the migrations front to be
more clear
2008-06-16 16:03:37 +00:00
Justin Clarke Casey ba69cc31e5 * Refactor: Break out AssetsRequest to a separate file in the Archiver module 2008-06-16 15:36:01 +00:00
Sean Dague ec78a2871b the beginning of the great id format migration. This makes
asset uuids no longer binary.  I've tested this migration a
few times, and it seems working in all the scenarios I've found
but it wouldn't hurt to backup your asset db before running this
as it does touch a very sensitive part of our content system.
2008-06-16 14:10:51 +00:00
Teravus Ovares 11d68ce0f5 * 0001558: [PATCH] Add support for full collision geometry feature set for linear path prims (patch attached) By Dahlia. Thanks Dahlia!
* This update re-does the cube/cylinder/prism prims to dynamically add faces as twist is used.
2008-06-15 19:34:48 +00:00
Charles Krinke c04e284854 Change VersionInfo string from
"Opensimulator release (0.5.8)" to
"Opensimulator trunk (post 0.5.8)"
as we move forward with trunk again.
2008-06-15 01:08:55 +00:00
Charles Krinke b226855d34 Change VersionInfo string from:
"OpenSimulator trunk (post 0.5.7)" to
"OpenSimulator release 0.5.8" in preparation
for tagging this minor release.
2008-06-14 23:51:35 +00:00
Justin Clarke Casey c9a983a85e * minor: A few miscellaneous doc comments before I break and start on something else 2008-06-14 20:52:42 +00:00
Teravus Ovares 5cccd4f6e5 * Vintage 2, a good year. 2008-06-14 20:33:03 +00:00
Teravus Ovares 7ca868dca5 * Fixes: 0001554: r5106 update fails to load on some regions with NullRef error on volume portion of maptile drawing routine. 2008-06-14 20:04:48 +00:00
Justin Clarke Casey 4af6286512 * Start recording asset request failures
* This includes problems such as connection failures and timeouts.  It does not include 'asset not found' replies from the asset service.
2008-06-14 17:47:25 +00:00
Teravus Ovares 6bea792436 * Enables maptile display in grid mode for simulators that are not on the same instance.
* Only generates a new maptile after a refresh interval
* Maptile names have the UnixTimeSinceEpoch that they were generated and the regionUUID they're from, so you can know which ones are no longer necessary.
* Updates RegionInfo, so backup your /bin/Region/*.xml files.
2008-06-14 02:39:27 +00:00
Sean Dague b47dd07932 save_assets_to_file path shouldn't always assume uploaded
content are images and use .jp2 for the file extension.
2008-06-13 19:41:13 +00:00
Justin Clarke Casey d6519924ba * refactor: catch asset service request exceptions at the AssetServerBase level rather than in the GridAssetClient
* this is to enable logging of asset request exceptions soon
2008-06-13 18:04:01 +00:00
Justin Clarke Casey ea52e71205 * minor: Remove LINK_SET debug Console Writeline
* only appeared in DotNetEngine's LSL_BuildIn_Commands.cs
* Nice spot Ewe Loon (http://opensimulator.org/mantis/view.php?id=1548)
2008-06-13 17:11:33 +00:00
Justin Clarke Casey b799031010 * minor: Print out uptime as well as stats in periodic diagnostics logging, so it's easier to tell which isntances each print out of information is from 2008-06-13 16:58:24 +00:00
Justin Clarke Casey 34746f5485 * Double timeout on region registration XMLRPC call to the grid service 2008-06-13 16:32:32 +00:00
Justin Clarke Casey 520da0d9ff * minor: comment out confusing DefaultTimeout field in RestClient, which is currently not actually used 2008-06-13 16:23:31 +00:00
Justin Clarke Casey 8f69a0ab3d * If appropriate, start printing out the inner exception from the grid -> region status check, so we can tell a bit better what the problem was 2008-06-13 16:17:27 +00:00
Sean Dague 6c23acf41b add indexes for sqlite inventory 2008-06-13 14:27:46 +00:00
Charles Krinke 3b4c2c1ff1 A little minor cleanup and harmonizing between LSL_BuiltIn_Commands.cs
and its copy LSL_ScriptCommands.cs
2008-06-13 01:54:53 +00:00
Jeff Ames 64f01ade04 Update svn properties, clean up formatting, refactor out duplicate hard-coded port numbers. 2008-06-13 00:21:53 +00:00
Sean Dague 1451d6fb9a look mom, migrations in action. This adds a couple of indexes
to mysql regions that should help on performance of some of the
selects.  We should start capturing more data on performance bits
to figure out where else we are missing indexes and add them via
migrations as well.
2008-06-12 20:48:06 +00:00
Teravus Ovares 5219eb7420 * Split the World Map code into a module.
* Implemented a hack so regions beyond the 10,000m range will show the map without having to click on the map before they'll start to show.   The hack shows regions around the one you're in, but it won't show the one you're in..  you still need to click on the map to get that (not sure why yet).   Additionally, the map still only shows pictures for regions that are hosted on the same instance (no change).
2008-06-12 20:19:42 +00:00
Sean Dague 202a4bec13 Fix mysql migrations. This is tested with an existing up to date schema,
and no schema.  It should also work with a non up to date schema as well.

Btw, meetings in which I can get code done are the right kind of meetings.
2008-06-12 18:44:58 +00:00
Justin Clarke Casey 7cdedcaf0e * minor: Remove and tidy duplicate 'storing object to scene' messages in log 2008-06-12 18:18:59 +00:00
Justin Clarke Casey 8714833986 * refactor: For new objects, move attach to backup to occur when adding to a scene, rather than on creation of the group
* Adding to a scene is now parameterized such that one can choose not to actually persist that group
* This is to support a use case where a module wants a scene which consists of both objects which are persisted, and ones which are just temporary for the lifetime of that server instance
2008-06-12 17:49:08 +00:00
Justin Clarke Casey 74017a4331 * refactor: rename CreatePrimFromXml to CreatePrimFromXml2 2008-06-12 16:54:04 +00:00
Sean Dague e1140a4f9b this, in theory, adds migration support to mysql for all
data sources besides the grid store.  It is only lightly tested
so the less adventurous should wait a couple of checkins before
upgrading.
2008-06-12 15:47:33 +00:00
Sean Dague cee071ea60 check in region store initial migration definition,
now on to integrating this approach into the mysql
driver.  Beware the next couple of checkins.
2008-06-12 15:21:34 +00:00
Sean Dague 4387744a78 check in migration files for mysql 2008-06-12 14:44:52 +00:00
Teravus Ovares 049cfe80e4 * Insulate maptile volume draw routine against TextureEntry oddities. 2008-06-12 11:06:31 +00:00
Teravus Ovares 2b6487c832 * Added Prim drawing to the mainmap tile generation.. you can see blocks representing the prim now on the mainmap.
* It isn't perfect since the blocks are square, however it's pretty good.
* Performance is also pretty good, however, if it takes too long for you, you can disable it in the OpenSim.ini 
* You can see how long it takes in milliseconds on the console when it finishes.
2008-06-12 01:11:57 +00:00
Sean Dague 6c1fce6147 check in working migration code fore SQLite. This
is now using migrations instead of the old model to
create tables.  Tested for existing old tables, 
and for creating new ones.
2008-06-11 21:01:33 +00:00
Sean Dague 68b98aecab updated resources for current sqlite schema for migrations 2008-06-11 20:04:01 +00:00
Teravus Ovares 2883656bbc For people receiving: Exception: System.ArgumentException: Value of -2147483648 is not valid for red, I've added the following message;
[MAPIMAGE]: Your terrain is corrupted in region {0}, it might take a few minutes to generate the map image depending on the corruption level
And, I've also kept it from crashing...
2008-06-11 19:45:17 +00:00
mingchen 0896cb53d4 *Parcel Prim Count Maximums moved to their own functions so modules can override the default method of calculating how many prims a parcel can have. 2008-06-11 17:31:43 +00:00
Charles Krinke 7821cca2f5 Mantis#1514. Thank you kindly, Boscata for an InventoryServer patch
to allow the InventoryServer to work with MSSQL..
2008-06-11 14:02:16 +00:00
Charles Krinke aba396cb32 Mantis#1528. Thank you kindly, Boscata for:
MSSQL Avatar appearance solved.
Appearance functions and modified table.
2008-06-11 13:57:32 +00:00
Justin Clarke Casey f07b761583 * Drop periodic stats logging back down to 60 minutes to reduce console spam.
* Please feel free to comment if the periodic logging is causing you problems in some way - I'm loathe to add yet another switch to OpenSim.ini but will if it proves necessary
2008-06-11 11:25:29 +00:00
Johan Berntsson 6b77f1141d Mantis 1370. Thanks lulurun for the patch 2008-06-11 04:19:30 +00:00
Justin Clarke Casey 3356423e50 * Fix the string substitutions in the last commit 2008-06-11 01:33:08 +00:00
Justin Clarke Casey 42e54537aa * From inspecting OSGrid WP logs, it appears one particular client is failing because they are giving an illegal initial position to ScenePresence.MakeRootAgent()
* If we detected an illegal position (x, y outside region bounds or z < 0), then print out the illegal position and substitute an emergency <128, 128, 128> instead
2008-06-11 01:31:39 +00:00
Justin Clarke Casey ce9d0799ae * Add 'show info' command to all servers, which prints the directory in which the server was started
* This is potentially useful if you're using screen on a region console without knowing where it was originally started from
2008-06-11 00:41:07 +00:00
Justin Clarke Casey c2054d225e * minor: Reduce statistic log snapshots to every 20 minutes to get more information 2008-06-10 23:47:33 +00:00
Justin Clarke Casey 928b32054c * minor: Report cache figures in rounded up KB instead of with decimal places in show stats
* trade easier readability for pointless accuracy
2008-06-10 23:42:42 +00:00
Justin Clarke Casey 3794f25ebd * minor: Properly clear the pushed asset cache statistics where the clear-assets command is used on the region console
* stop waiting for garbage collection when GC total memory used is requested, in case the periodic request of this lags the sim
2008-06-10 23:35:04 +00:00
Justin Clarke Casey 686f16cedd * If a server has statistics, print these out to the log every hour to get some idea of how these evolve
* When returning GC.GetTotalMemory(), force collection first in order to get more accurate figures
2008-06-10 23:19:38 +00:00
Sean Dague be400d1bd0 I'm going to need the Version property to manage
migrating from the old to the new system.  Silly legacy
code.
2008-06-10 23:17:18 +00:00
Sean Dague 68cda63761 update of migration code to be more sane on version
tracking, and support sub types that we'll need for
nhibernate.
2008-06-10 22:57:20 +00:00
Jeff Ames fb9a338bc4 Update svn properties. 2008-06-10 22:54:19 +00:00
Charles Krinke 9b43668bf3 Mantis#1529. Thank you kindly, Grumly57 for a patch to
xengine to:
Replaces "presence.Name" => "presence.ControllingClient.Name" to return avatar's name.
2008-06-10 22:41:39 +00:00
Justin Clarke Casey 184a288b4d * Add memory currently allocated to OpenSim to 'show stats' statistics
* This is the GC.GetTotalMemory() method, which I'm guessing does not include memory used by the VM (hence the memory usage reported in top on linux would be much higher)
2008-06-10 18:10:57 +00:00
Charles Krinke 53cc63e243 Mantis#1501. Thank you kindly, Nebadon, for a patch that
addresses the 'terrain fill 0' error.
2008-06-10 16:02:18 +00:00
Jeff Ames 5910a49da6 Update svn properties. Formatting cleanup. 2008-06-10 08:35:46 +00:00
Teravus Ovares 8a93358405 * This completes ObjectDuplicateOnRay.
* In English, that means that Copy Selection works now, including Copy Centers and Copy Rotates.
2008-06-10 00:18:00 +00:00
Sean Dague c62f081380 actually create and populate the migrations table correctly. 2008-06-09 22:20:28 +00:00
Sean Dague 69fb4ee208 migrations seem to not break anything at this point.
Tomorrow I'll start trying to integrate them into sqlite
to see if this works right for table migration.
2008-06-09 22:01:21 +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 2e2dde71f2 fill out some more migration facilities 2008-06-09 19:37:13 +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 db151bcec7 *Fixed bug that caused failure when System.Console.Readline returns null (no stdin)
*Fixed bug that would crash the simulator if there were two physics/meshing engines loaded with the same name.
2008-06-09 15:20:08 +00:00
mingchen c3292a9afa *Patched CreateItemsTable.sql (MSSQL). Patch by Kyle and Chris from G2. 2008-06-09 14:48:28 +00:00
Jeff Ames dfb63b5623 Update svn properties. Formatting cleanup. 2008-06-09 08:46:33 +00:00
Charles Krinke 0d07cf9ddd Mantis#1469. Thank you kindly, Mikem for a patch that addresses:
Currently LSL code such as below does not compile on OpenSim, but compiles fine in Second Life:
list mylist = [];
mylist += [1, 2, 3];
mylist += "four";
list newlist = mylist + 5.0;
The problem is that the LSL_Types.list class does not have an operator for adding a string to a list.
I am including a patch which implements adding a string, integer or float to a list.
I am also including tests. The file LSL_TypesTestList.cs belongs in 
OpenSim/Tests/OpenSim/Region/ScriptEngine/Common/.
2008-06-09 01:06:59 +00:00
Teravus Ovares 6ecb7c05b3 * Fixed it so you can do a lot more llDetected* methods in many additional situations and have it work.
* script Collision reporting works now in DotNetEngine
2008-06-08 22:53:52 +00:00
Teravus Ovares c53892aa90 * Added compiler pre-processor, #if SPAM to SensorRepeat... so if you really want to see, "[AsyncLSL]: GetSensorList missing localID" and SetSensorEvent, then you can #define SPAM 2008-06-08 21:15:44 +00:00
Teravus Ovares 524998ba3e * Fixes llDetectedKey. 2008-06-08 19:54:49 +00:00
Charles Krinke aca872499f Added a "if(entity != null)" before the call to
UpdateEntityMovement() to try to preclude the 
occaisional System.NullReferenceException in scene.
2008-06-08 17:36:41 +00:00
Charles Krinke de11c09794 Mantis#1498. Thank you Melanie for an XEngine patch that addresses:
The attatched patch makes the changed() event fire properly and 
lets scripts run properly. 
NOTE: All existing state files must be deleted:
rm ScriptEngines/*/*.state
2008-06-08 14:51:59 +00:00
Charles Krinke 4ea9183b66 Mantis#1499. Thank you kindly, DMiles for a patch that:
was incorrectly sending the command along with the args to the CommandDelegate
help was getting lost on top of normal help & help was getting missed except 
in an exact match (and only returning the first)
2008-06-08 00:34:00 +00:00
Charles Krinke 0e5f2b3293 Mantis#1496. Thank you kindly, Melanie for a patch that:
Adds full implementation of all llDetected* functions for sensors, 
collisions and touches. Adds changed(CHANGED_REGION_RESTART) event 
to allow restarting of eye-candy functionality not currently 
persisted with the prim.
2008-06-07 22:37:48 +00:00
Charles Krinke 6ce9a8ecdd Mantis#1495. Thank you kindly, Kinoc for:
0001495: [PATCH] Adds an API for for plugins to create 
new Console commands and Help
2008-06-07 22:02:28 +00:00
mingchen cde42cdbfd Potential Fix #1 for 0001392: Shift+Drag now causes an unhandled 'Object reference not set to an instance of object' exception 2008-06-07 17:48:45 +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 2b83aa931c Mantis#1476. Thank you kindly, Melanie for a patch that:
0001476: [PATCH] Allow larger script state files to be loaded
The previous limitation on load file size was too small for 
larger script projects
2008-06-07 15:46:43 +00:00
Charles Krinke 80079e14e3 Mantis#1475. Thank you kindly, Kinoc for a patch that:
This patch brings the Yield Prolog in sync with the YP r669.
Biggest item is support for functions asserta and assertz , 
providing dynamic databases.
2008-06-07 15:43:16 +00:00
mingchen 5ab5991676 *Fixing another object counting bug 2008-06-07 00:24:43 +00:00
mingchen 0fe363ba65 *Made Object Counting correct with linked objects and turned the previously protected functions that only return object counts to public so it can be easily used by outside classes. 2008-06-06 23:20:02 +00:00
Teravus Ovares bd2361ae33 * llSetPrimitiveParams PRIM_FLEXIBLE is now supported. 2008-06-06 22:44:48 +00:00
Teravus Ovares 8c507b633b * Added Light control from script in LLSetPrimitiveParams. 2008-06-06 22:28:52 +00:00
Teravus Ovares ed41ba8a3d * Added a configuration option for allowing god script lsl methods.. such as llSetObjectPermMask. By default it's off. 2008-06-06 21:39:42 +00:00
Sean Dague 6a66caa02e revert 5028, as this approach to 1 nick per avatar isn't going to work,
however, I think I understand now how to make it work.  I just don't want
to have this broken for people this weekend.
2008-06-06 20:42:12 +00:00
Sean Dague 2cfdfaeaa5 experimental IRC changes, because it's friday, and I'm curious if this
will work.
2008-06-06 20:21:25 +00:00
Teravus Ovares be44969927 * Adds semi broken PRIM_FLEXIBLE support for prim. It's semi-broken because it won't do the setting of the prim flexi from not-flexi, however, it'll tweak the parameters of an already existing flexi prim. 2008-06-06 19:58:39 +00:00
Teravus Ovares e099d5b013 * How tall are you? Certainly not 127 meters! 2008-06-06 14:33:01 +00:00
Teravus Ovares 37373dbde2 * true and not true or - not true and not true and. 2008-06-06 13:33:45 +00:00
Teravus Ovares 7137b13498 * This limits avatar to the heightfield height if they teleport or cross a border to a position below it. After teleporting, you can go under the terrain if you like as usual. 2008-06-06 13:24:40 +00:00
Teravus Ovares c892ddcd20 * This wraps the autopilot request to the client's sit response. An interesting, but successful way to do it.
* This also takes care of a few error situations that were previously never seen.
2008-06-06 12:51:20 +00:00
Teravus Ovares 3cbc01ee88 * Fixes incorrect message server startup prompt 2008-06-06 08:05:09 +00:00
Teravus Ovares e9a444917a Fixes scale property with regards to the physics engine. 2008-06-06 08:03:12 +00:00
Johan Berntsson 9002329a7d Fixed a build problem with r5019 (Mikems patch) 2008-06-06 05:28:26 +00:00
Jeff Ames fbd37c420f Minor formatting cleanup. 2008-06-06 01:19:15 +00:00
mingchen de0bd2b5a0 MSSQL Inventory Fix. Patch by Kyle and Chris from G2 2008-06-06 00:56:51 +00:00
Jeff Ames 2818dd800e Update svn properties. 2008-06-06 00:25:43 +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
Charles Krinke f9a67ab5f0 Mantis#1460. Thank you, CMickeyb for a patch that addresses:
I'm getting an unhandled exception in openxmlrpcchannel during simulator initialization.
I have two objects in different regions that open remote data channels in the state_entry event. 
It appears that the state_entry call is executing before the postinitialize method is called in 
xmlrpcmodule (the exception occurs because m_openChannels is not initialized).
2008-06-05 20:18:15 +00:00
Charles Krinke d66de83938 Mantis#1459. Thank you kindly, CMickeyb for a patch that:
the function that reports errors in event handling is not computing the 
line numbers correctly for windows paths (and probably linux paths). 
As a result, the conversion to int throws an exception.
note... i'm not sure why we extract the line number, convert it to an int, 
then convert it back to a string... but hey... :-)
2008-06-05 19:30:35 +00:00
lbsa71 901b9365ba * Applied 9085B_[5004]_xengine_abort_regression.patch from #1437
Thank you, Melanie. And Thank you ckrinke. Bigups!
2008-06-05 14:31:07 +00:00
Charles Krinke 3b764dd34f Mantis#1438. Thank you kindly, Melanie for a patch that:
This patch implements the llLoopSound patch from Xantor for the XEngine
2008-06-05 14:22:53 +00:00
Charles Krinke dab3a53920 Mantis#1437. Patch 3 of 4. Thank you kindly, Melanie for:
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:18:53 +00:00
Charles Krinke bbabd68c7c Mantis#1437. Patch 2 of 4. Thank you kindly, Melanie for:
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:17:22 +00:00
Charles Krinke e3c14e9b24 Mantis#1437. Patch one of four. Thank you kindly, Melanie for:
Corrects the XEngine's script startup semantics.
Completes llRequestAgentData
Implements llDetectedLink
Fixes a few minor issues
2008-06-05 14:15:15 +00:00
Charles Krinke e2d87b04e3 Mantis#1455. Thank you kindly, Mikem for a patch that addresses
the client thread terminating when creating a new script.
2008-06-05 14:03:08 +00:00
Charles Krinke c289c2b6d4 Mantis#1450. Thank you kindly, Boscata for a patch that addresses:
I have detected a bug of conversion data type in OpenSim.Data.MSSQL.MSSQLInventoryData.addInventoryItem(InventoryItemBase item)
in the GroupOwned field.
My sollution is to change the flield to bit in the table. In the 
readInventoryItem(IDataReader reader) change too item.Flags = 
(uint) reader["flags"]; to item.Flags = Convert.ToUInt32(reader["flags"]);
Now Inventory runs fine.
2008-06-05 13:57:58 +00:00
Charles Krinke 3a4b54adaa Mantis#1451. Thank you kindly, Mikem for a patch that addresses:
LSL scripts in which a float type is cast to a string or a string type 
is cast to a float do not compile. When the script is translated from 
LSL to C#, the LSL float type is translated into double. There is no 
string <-> double cast in C#, so compilation fails.
There is a LSLFloat type, however it seems unfinished and is not used.
I am attaching a patch that implements the LSLFloat type. I have also 
added two methods to the LSLString type to facilitate float <-> string casts.
2008-06-05 13:54:20 +00:00
Teravus Ovares e12baa5eb3 * This sends collision events to the script engine.
* Unfortunately, there's some kludges with the Async manager and the llDetected functions that I have yet to decipher...  so llDetected functions don't work with collision events at the moment....
2008-06-05 13:24:59 +00:00
Teravus Ovares 622cd3db8b * Don't create ghost prim when rezzing objects from inventory 2008-06-05 10:44:46 +00:00
Jeff Ames 3b9fb61bde Update svn properties. 2008-06-05 05:43:22 +00:00
Justin Clarke Casey 78d7d6edb0 * minor: Yet another minor logging message tweak following on from the last commit 2008-06-05 02:12:44 +00:00
Justin Clarke Casey 7f10e5f338 * minor: Increase verbosity of "new user request denied" incoming session warning for debugging purposes 2008-06-05 01:55:45 +00:00
Justin Clarke Casey 677e2ca330 * refactor: rename now inaccurate textureUuids to assetUuids
* 5000 commits in this repository!
2008-06-05 01:29:52 +00:00
Justin Clarke Casey 1f605da761 * If a client thread crashes, make an attempt to notify the client and clean up the resources 2008-06-05 01:20:17 +00:00
Justin Clarke Casey 73c1157027 * exprimental: Export and reimport all items within a prim except Objects
* Not yet ready for public use
2008-06-05 00:29:02 +00:00
Justin Clarke Casey 7352bd7b99 * Change archiver 'textures' dir back to 'assets' 2008-06-05 00:01:38 +00:00
Justin Clarke Casey 168f9367cb * Dearchive using assets metadata rather than assuming everything is a texture
* However, still not actually archiving anything except textures
2008-06-04 23:57:27 +00:00
Jeff Ames ed19c429b1 Update svn properties. 2008-06-04 22:31:47 +00:00
Justin Clarke Casey 1d745cca17 * Start writing out assets metadata file for archiver
* Ignoring it on reload as of yet
2008-06-04 18:50:58 +00:00
Dr Scofield caee0288fb * adding XmppPresenceStanza and deserialization/reification support
having reached the intermediate level of .NET's XmlSudoku, i've
  now figured out how to do deserialization using different 
  XmlSerializers (this stuff begins to grow on me, sigh).

  [still not used code, work-in-progress]

* adding convenience property on OSHttpRequest.cs (from awebb)
2008-06-04 18:09:55 +00:00
Sean Dague 0cacdd370c change clientCircuits_reverse to a synchronized hash table. This
removes a lock on every SendPacketTo call, which was shown to have 
good performance benefits by the IBM China Research Lab.
2008-06-04 17:43:07 +00:00
Justin Clarke Casey 6e2f3bd3fb * Start recording abnormal client thread terminations 2008-06-04 16:30:44 +00:00
Teravus Ovares 11246c284f * Added a check for a non-finite heightfield array value passed to the ODEPlugin. This may, or may not fix anything. 2008-06-04 16:27:35 +00:00
Charles Krinke 994932bb60 Mantis#1447. Thank you kindly, Kinoc for a patch that:
llKey2Name fix to show avatar name instead of "Basic Entity"
One line fix. Replaces "presence.Name" => 
"presence.ControllingClient.Name" to return avatar's name.
2008-06-04 14:47:12 +00:00
Charles Krinke 687090f79a Mantis#1441. Thank you kindly, Kinoc for a patch that:
This patch adds the prolog interperter helper object ONLY for YP code, 
and not every script compiled. 
Mirrors the other languages like JS and VB more closely.
2008-06-04 14:40:17 +00:00
Charles Krinke e75cccec76 Mantis#1440. Thank you kindly, Melanie for a patch that
"Hooks up the plumbing from previous patch"
2008-06-04 14:37:16 +00:00
Charles Krinke bc32395775 Mantis#1446. Thank you kindly, Grumly57 for a patch
that solves "trees are too small when rezzed"
2008-06-04 14:34:35 +00:00
Charles Krinke d635b526e5 Mantis#1439. Thank you kindly, Melanie for a patch that
plumbs in the events for on_rez.
2008-06-04 14:31:36 +00:00
Dr Scofield 67dee6410d * fleshing out XMPP entities, adding XmppWriter and XmppSerializer
having spent the last couple of days wrestling with .NET XmlSerializer
  and trying to get it to do what is required by XMPP (RFC 3920 & 3921)
  this is the preliminary result of that wrestling (you should see the
  other guy!): XmppSerializer allows us to serialize Xmpp stanza (and
  theoretically deserialize [or reify] them), XmppWriter helps avoiding
  various gratuitous crap added in by off-the-shelf XmlSerializer.

  this is currently not used anywhere but the plan is to use it for 
  at least an XMPPBridgeModule.
2008-06-04 13:06:24 +00:00
MW 964ce083ff applied patch from mantis #1268 , thanks mikem 2008-06-04 12:16:26 +00:00
Teravus Ovares 99e7a2a380 * From Dahlia
* Committing : 0001449: Patch implements X and Y Top Shear parameters for torus prim physical mesh generation (PATCH attached) 
* The included patch implements the X and Y Top Shear parameter adjustments to the mesh generator for the torus prim physical mesh. These are approximations as I was unable to determine their exact function but they appear to generate meshes which quite closely duplicate their counterparts in the viewer. 
* Thanks Dahlia!!!!
2008-06-04 10:57:05 +00:00
Jeff Ames 4ec4e16c80 Formatting cleanup, minor refactoring, svn properties. 2008-06-04 09:59:27 +00:00
Justin Clarke Casey 0a2d399cad * If a ThreadAbortException reaches AuthUser() then let it pass through unmolested
* These are only thrown on client shutdown anyway
* This stops the console (harmlessly) spewing stack traces when a client logs off
2008-06-04 01:25:31 +00:00
Justin Clarke Casey 8983877664 * minor: Remove my own stupidity in the last doc comment - it wouldn't actually be all that tricky to try better clean up on a client thread crash. Haven't actually implemented
this, though
2008-06-03 21:00:37 +00:00
Justin Clarke Casey 723c9eccad * minor: Change comment on last commit. My English - not so good. 2008-06-03 20:55:56 +00:00
Justin Clarke Casey a987840191 * Stop the crash to bash of the entire region server when a client thread fails by catching the exception in AuthUser() instead of letting it propogate out of the thread 2008-06-03 20:27:52 +00:00
Justin Clarke Casey 48322cec96 * experimental: archive out and reload textures within a prim's inventory
* no other prim items are archived yet
2008-06-03 17:17:24 +00:00
Justin Clarke Casey 4106b2a601 * Change single assets/ archiver directory to be textures/ instead 2008-06-03 16:52:44 +00:00
Sean Dague afd59e862e temporarily disable the last bit of code as it prevents startup on
mono.  Need to sort that out with DJ shortly.
2008-06-03 13:58:54 +00:00
Sean Dague e713a3c62a From: Dong Jun Lan <landj@cn.ibm.com>
Set udp flags correctly to prevent "Socket forcibly closed by host"
errors.
2008-06-03 13:49:58 +00:00
Justin Clarke Casey 1a60fe7a4e * minor: Attempted method documentation clarifications related to last two commits 2008-06-03 08:34:38 +00:00
Justin Clarke Casey 512c0c67a6 * Remove what should be unnecessary locking in InnerScene.GetEntitites() 2008-06-03 08:17:33 +00:00
Justin Clarke Casey f45fa84905 * Remove what should be unnecessary locking of GetScenePresences()
* May help with mantis 1434 though I doubt it
2008-06-03 08:11:04 +00:00
Teravus Ovares 61e2254be2 * This should fix presence issues. 2008-06-03 07:12:09 +00:00
Teravus Ovares 52491d4fca * It's probably safe to remove the 'Warning Duplicate packet detected Packet Dropping.' message 2008-06-03 05:44:28 +00:00
Sean Dague 5f6b26d9ba provide slightly more sane defaults in the file based asset loader 2008-06-02 20:28:26 +00:00
Sean Dague 7f6fcdc77b remove the prolog parser from all LSL/C# scripts (it was adding overhead
to every script in most environments).  This will break prolog
support.  Prolog code needs to generate it's template script more like 
how javascript does.
2008-06-02 20:27:40 +00:00
Teravus Ovares 1f2ad8c525 * Fixed default ports on the MessagingServer config. 2008-06-02 18:22:15 +00:00
Justin Clarke Casey 615e64696f * experimental: Once we've received all the required assets from the asset service, launch the actual writing of the archive on a separate thread (to stop tieing up the asset cache received notifier thread) 2008-06-02 17:54:43 +00:00
Justin Clarke Casey 4453c8bc5c * experimental: Make OpenSim archiver save and reload all prim textures when not all faces have the same texture 2008-06-02 17:23:13 +00:00
Teravus Ovares f6ac7f7f61 * Submitting 3 files for the messagingserver that I've kept to myself. 2008-06-02 16:37:28 +00:00
Justin Clarke Casey a1395b90be * Add 'show version' help information into base OpenSim server 2008-06-02 16:28:04 +00:00
Teravus Ovares 3991908db5 * This update enables grid wide presence updates.
* You'll need to start-up the MessageingServer and set it up.   It sets up like any of the other grid servers.
* All user presence data is kept in memory for speed, while the agent is online.   That means if you shutdown the messaging server or the messaging server crashes, it forgets who's online/offline.
* Occasionally the region-cache will get stale if regions move around a lot. if it gets stale, run clear-cache on the messaging server console to clear the region cache.
2008-06-02 16:16:07 +00:00
Teravus Ovares 42c5dca989 * Fixes a bug saving the current sun phase to the estate_settings file. 2008-06-02 10:01:02 +00:00
Dr Scofield 1fb16688d1 cleanup: uncommenting null-op else tree in TaskInventoryItem.cs 2008-06-02 08:43:05 +00:00
Teravus Ovares 832d609b44 PATCH : 0001431: corrections to torus physical mesh for default hollow shape and taper orientation along path.
--------- From Dahlia!  Thanks Dahlia!!!
the attached patch reinstates the default hollow shape of the physics mesh of the torus prim type and corrects the orientation of the effects of taper on the profile along the path.
2008-06-02 08:31:34 +00:00
Teravus Ovares c0f631dbdb * While I couldn't reproduce it, I was able to see how it *might* happen, so therefore; fix to: 0001058: Physics crash when changing Type of Prim intersecting with ground. 2008-06-02 08:13:13 +00:00
Teravus Ovares e0b821f875 * This enables grid-wide instant messaging in a peer to peer with tracker style way over XMLRPC.
* Friend status updates are still only local, so you still won't know before instant messaging someone if they're online.
* The server each user is on and the user server must be updated or the instant message won't get to the destination.
2008-06-01 14:13:29 +00:00
Teravus Ovares d20cae2d03 * Committing more unfinished stuff. Nothing significant at the moment. IM related. 2008-06-01 10:05:22 +00:00
Teravus Ovares 52c55c8c23 * Applying Dahlia's patch : 0001429: Patch to fix prism physical mesh and add path start and end to skew z offset of circular path prim meshes (PATCH attached)
* Apparently this fixed a bug in my code that caused PushX to appear to work and pushX didn't appear to work after the patch..   so I fixed that after applying this patch and PushX actually works now.
2008-06-01 04:33:07 +00:00
Jeff Ames d22a54a195 Update svn properties. 2008-06-01 03:01:33 +00:00
Teravus Ovares ff6c89f199 * Committing some stuff I'm working to make it so I can commit an upcoming patch from Dahlia. IM type stuff. No big deal, not done. 2008-06-01 02:43:50 +00:00
Justin Clarke Casey fbaeb081aa * Move most bookending startup/shutdown messages to BaseOpenSimServer so they appear in non-console servers too 2008-06-01 02:02:20 +00:00
Justin Clarke Casey 15d41c2fc2 * Fix build break by eliminating remaining IScenePermissions references - must remember to nant clean
* Hook all server startups into base opensim server startup method
2008-06-01 01:34:46 +00:00
Justin Clarke Casey 0392b4fdc3 * Put IScenePermissions out of its misery 2008-06-01 01:25:03 +00:00
Justin Clarke Casey 45fef8589d * Move log version printing up into BaseOpenSimServer 2008-06-01 01:22:19 +00:00
Justin Clarke Casey 8e1d338656 * Refactor: Split opensim background server into a separate class 2008-06-01 01:01:16 +00:00
Teravus Ovares 65db9eadef * Updates permission module so that GenericCommunicationPermission returns true. Instant messages, inventory transfers use this.. and it was always returning false. 2008-06-01 00:37:44 +00:00
Justin Clarke Casey 0c21f90ba7 * Duh, actually returning from the CreateAsset method once we know the asset exists would be better than carrying on 2008-05-31 21:54:13 +00:00
Justin Clarke Casey 7752211376 * Remove the mysql logging noise I accidentally left in a few commits ago 2008-05-31 21:53:17 +00:00
Justin Clarke Casey 8bc5cbb2bc * Enable loading of textures in OpenSim archives with load-oar/save-oar
* Right now, this only saves and reloads textures that have been applied to the entire prim (not ones which have been applied to individual faces).
* This is work in progress - it is currently experimental, hacky, inefficient, completely unsupported and liable to change rapidly at short notice :)
2008-05-31 21:48:14 +00:00
Justin Clarke Casey d703e2004f * Change MySQL to check whether an asset already exists before inserting it into the database 2008-05-31 21:44:57 +00:00
Justin Clarke Casey 161dfe9b68 * minor: comment out old debugging messages in task inventory item restoration routines 2008-05-31 21:21:46 +00:00
Justin Clarke Casey abaf8e7a37 * Put in preparatory code to restore whole prim textures on archive load
* No user functionality yet
2008-05-31 21:20:04 +00:00
Charles Krinke 47cc1fcf46 Mantis#1428. Thank you kindly, fdg for a patch that solves:
When you copy an item in inventory and paste it, the name gets lost. 
Also when you use "Save as" in the Appearance Editing window the 
created item in inventory has always the name "New <item-type>", 
regardless of what you typed in as name.
2008-05-31 20:47:14 +00:00
Justin Clarke Casey 8cb5ec5fdd * Make version information common to all servers
* Now all servers respond to the "show version" command on the console
2008-05-31 20:35:12 +00:00
lbsa71 ce234eee37 * Made UpdateUserCurrentRegion a bit more forgiving. 2008-05-31 20:01:09 +00:00
Justin Clarke Casey 01f933c273 * Propogate OpenSimMain hack to stop mono-addins scanning warnings to the grid managing
* This hack just temporarily sends console output to /dev/null when we make the relevant addins calls, restoring it afterwards
2008-05-31 19:13:38 +00:00
lbsa71 7f9967d310 * Enabled the Yield Prolog Script Engine 2008-05-31 18:47:26 +00:00
Justin Clarke Casey 5873ad3760 * minor: Add copyright statement 2008-05-31 18:43:19 +00:00
Justin Clarke Casey 6e5b416d14 * Remove rogue ? to get things compiling again 2008-05-31 18:36:45 +00:00
Charles Krinke 25b7d9944d Mantis#1314. Thank you kindly, Kinoc for YieldProlog.
I have added everything *except* the patch to 
.../LSL/Compiler.cs. The Compiler.cs patch has a 
namespace issue. Lets make a second patch to close
the gap.
2008-05-31 17:52:44 +00:00
Teravus Ovares febe78d062 * Implements UserServer logoff in a few situations
* User tries to log-in but is already logged in.  Userserver will send message to simulator user was in to log the user out there.
* From the UserServer, admin types 'logoff-user firstname lastname message'.
* Some regions may not get the message because they're not updated yet.
2008-05-31 12:18:29 +00:00
Charles Krinke f2f183b307 Mantis#1425. Thank you kindly, Melanie for a patch that:
0001425: [PATCH] Correct llResetOtherScript() behavoir in XEngine
2008-05-31 00:45:37 +00:00
Teravus Ovares 2d540514f4 * If you check fixed sun, in the estate tools 'terrain tab', the sun will fix in the location you set. (however the checkbox doesn't get re-populated properly yet, so it'll uncheck again even though the message got through to the server) 2008-05-30 23:53:20 +00:00
Teravus Ovares f433927722 * You can set the sun phase via the estate tools now. It doesn't persist across reboots though. 2008-05-30 23:41:51 +00:00
Justin Clarke Casey bc56efd1d2 * Hook up archive loading to load in prim xml data
* This now has equivalent functionality to load-xml2 - no asset data is restored yet
2008-05-30 18:32:18 +00:00
Justin Clarke Casey 83f390e421 * Refactor: Change multiple requests for a module interface to use a stored reference instead. 2008-05-30 18:01:28 +00:00
Justin Clarke Casey 4f237f3ae3 * Crudely migrate SceneXmlLoader into the Serializer module 2008-05-30 17:52:14 +00:00
Charles Krinke 84b4158205 Mantis#1422. Thank you kindly, Xantor for your llLoopSound()
patch and I apologize for my confusion with the interim 
patch earlier.
2008-05-30 16:37:17 +00:00
Justin Clarke Casey 6265ea371e * Stop the IRC module throwing a nre on shutdown if it isn't actually being used 2008-05-30 16:16:03 +00:00
Justin Clarke Casey ea4982e453 * Successfully pick out prims.xml file from archive 2008-05-30 16:08:28 +00:00
Charles Krinke 48d0084e53 Mantis#1422. Thank you kindly, Xantor for a patch that :
- volume doesn't change with a new llLoopSound(same sound, new volume);
- SendFullUpdateToClients sends 0's in all sound related fields when 
there's no sound on the prim, thereby improving the amount of data being 
sent out on these prims (fixes zeropack)
- Removed some code duplication between llStartSound, llLoopSound and llParticleSystem() calls
2008-05-30 15:34:54 +00:00
Justin Clarke Casey f26eeab3d4 * Read all files from tar archive
* No reload functionality implemented yet
2008-05-30 15:18:40 +00:00
Dr Scofield 9590e671e6 while investigating why IRCBridgeModule.Close() was having no effect, i
noticed that Scene.Close() will only call Close on non-shared region
modules. i've now added code to SceneManager.Close() to collect all
shared region module from each scene before calling Scene.Close()
on it and then, once, all Scenes are closed, go through the list of
collected shared region modules and close them as well. SceneManager.Close()
is only called when we initiate a shutdown --- i've verified that a
Scene restart does not trigger the shutdown of shared modules :-)

also, this adds a couple of bug fixes to the IRCBridgeModule (which
after all didn't take kindly to being closed) as well as a check to
InterregionModule's Close() call.

finally, this fixes the RestPlugin's XmlWriter so that it no longer
includes the "xsd=..." and "xsi=..." junk.
2008-05-30 12:29:30 +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
Teravus Ovares 334d05db05 * Fixed a dangling event hook that I added.
* Added a Non-finite avatar position reset.    This will either handle the <0,0,0> avatar gracefully, or send the avatar to 127,127,127 if that also doesn't work.  ( I've only been able to reproduce this error once on my development workstation )
2008-05-30 11:25:21 +00:00
Jeff Ames 0462510956 Update svn properties. Formatting cleanup. 2008-05-30 08:35:57 +00:00
Dr Scofield 5b0d47dddb thanks krtaylor for a
Patch to cleanup some incorrect parsing, boundry conditions 
	and error checking in the llGetNotecardLine and 
	llGetNumberOfNotecardLines functions.
2008-05-30 07:38:45 +00:00
Teravus Ovares d2aa2be788 * Added helper method to the Sun module to Get the Linden hour based on the math in the sun module. This populates the sun phase slider on the terrain tab in the estate tools according to the current sun phase. Display purposes only for now. Need to go the other way for setting the sun phase based on the linden hour in the estate tools. 2008-05-30 05:25:50 +00:00
Teravus Ovares cdfb1f3623 * Updated sun module to only send sun updates to root agents. Because it was sending updates to both root and child agents, you'll still get sun jitter until this revision is adopted by every region nearby. 2008-05-30 00:48:57 +00:00
Teravus Ovares 9cefda83d6 * Caches UUIDName requests
* Looks up UUIDNames for script time and colliders in a separate thread.
* Hopefully this'll allow you to look at top scripts on a region that has a lot of scripts without crashing your client thread.
2008-05-29 23:36:37 +00:00
Teravus Ovares 45c6523904 * Fixes a few taper/top-sheer situations that were previously having issues. 2008-05-29 20:50:38 +00:00
Teravus Ovares 918f887c0c * Applying Dahlia's interim path curve patch. it adds initial support for some tori/ring parameters. Thanks Dahlia!
* Some situations do not match the client's render of the tori, we know and are working on it.   This is an initial support patch, so expect it to not be exact.
* Some tapers are acting slightly odd.  Will fix.
2008-05-29 20:20:50 +00:00
Charles Krinke e2361548cb Mantis#1416. Thank you very much, Melanie for a patch that:
Createa a method to find out if a prim inventory contains scripts
2008-05-29 19:09:21 +00:00
Teravus Ovares 61c7130341 * Ruling out another potential cause of zombie-ism 2008-05-29 16:36:11 +00:00
Teravus Ovares 83bd85ce7f * Fix string literal with URL + LLcommand();
* Added 'detected around: value' when a x.Y detect occurs to help debug.
* Fixed object text is too long to store to the database (wikilith)
2008-05-29 16:21:41 +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
Sean Dague 22c7845e0c attempting to get to the bottom of unresponsive grids servers by
adding back in a few messages on exceptions.
2008-05-29 15:01:26 +00:00
Charles Krinke a84456c239 Mantis#1411. Thank you kindly for Dataserver.cs and a patch
that adds function stub to request region info by name and
adds llRequestSimulatorData() and the dataserver event
2008-05-29 13:55:02 +00:00