Commit Graph

3586 Commits (3a111650cbaf3294d9d12bfb1fa00ab91600991d)

Author SHA1 Message Date
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