Commit Graph

4753 Commits (504ab4477dc21e2fb3ef319d45eeb5e69a6e7227)

Author SHA1 Message Date
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 3703034511 * minor: doc tweak on last commit 2008-06-02 18:20:30 +00:00
Justin Clarke Casey c61b779e97 * Add information and documentation about web region loading to OpenSim.ini.example
* Also a very little bit of tidying up of this file - it's becoming a bit of a junkyard
2008-06-02 18:18:20 +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 89fa5fd67e Fixed half completed comment in OpenSim.ini.example. 2008-06-02 10:19:22 +00:00