Commit Graph

5658 Commits (c9b5641c499d23ff6674cafa1026b88ade1debec)

Author SHA1 Message Date
Justin Clarke Casey 64821ac0a1 * Implement asynchronous assets request for archiving
* No user functionality yet
2008-05-27 14:21:32 +00:00
Charles Krinke 2cea74181a Thank you very much, Xantor for a patch that:
If a request is made for an asset which is not in the cache yet, 
but has already been requested by something else, queue up the 
callbacks on that requester instead of swamping the asset server 
with multiple requests for the same asset.
2008-05-27 13:40:00 +00:00
Dr Scofield 1d3d739da4 fixes a CTB when IRCBridgeModule is not configured. 2008-05-27 13:16:44 +00:00
Dr Scofield 34f1741866 cleaning up: coding style guidelines violation in RestPlugin.cs.
adding support for enabled = true|false for IRCBridgeModule
2008-05-27 12:24:29 +00:00
Dr Scofield 077c6b816b updating URL for LSL status. 2008-05-27 08:42:48 +00:00
Dr Scofield a2f8f58f7d I'm dropping the ISimChat interface as that has now been
replaced by EventManager events. 

also, i've added instructions to README.txt about running 
runprebuild.sh and on how to report bugs.

plus some minor fixes (dropping m_log statement left over 
from debugging llOwnerSay, nicer catch of exception in 
IRCBridgeModule
2008-05-27 08:21:59 +00:00
Adam Frisby 392375d34b * Assigns a random UUID to a region if the Sim UUID is null. 2008-05-26 22:11:56 +00:00
Adam Frisby 77281ed85c * Potential fix for Mantis#167, 332 - MySQL Thread collision. 2008-05-26 21:53:32 +00:00
Adam Frisby de06c85259 * Patch from jhurliman - Implements a binary search in the LLRAW exporter which dramatically speeds up exports. 2008-05-26 21:39:01 +00:00
Charles Krinke ed717ec181 Thank you kindly, Melanie for a patch for script reset
that creates the event handler chain ready to hook by script engines
2008-05-26 16:16:48 +00:00
Dr Scofield 30a9469757 disabling m_log again. 2008-05-26 15:53:04 +00:00
Dr Scofield 1bb1d5d9b0 This cleans up a merge mess from the earlier checkin and implements llOwnerSay()
via the newly created Scene.SimBroadcast() call.
2008-05-26 15:37:31 +00:00
Dr Scofield 42cdf3c240 Adding OnChatBroadcast event logic to EventManager providing
a clean interface for Sim broadcasts. Added SimBroadcast support to 
ChatModule.

Removing all code from IRCBridgeModule dealing with agent/client directly.

Cleaning up ChatModule.

Polishing IRC messages, adding support for "/me" (both directions).
2008-05-26 11:56:04 +00:00
Justin Clarke Casey bf7c557f57 * Minor: method documentation fiddling in SceneObjectGroup 2008-05-26 02:17:03 +00:00
Justin Clarke Casey 0719c87b83 * Break out baby archiving code into separate class ready for async asset requesting
* No user functionality yet
2008-05-26 02:12:32 +00:00
Justin Clarke Casey 5c8a93c426 * Extract and boil down necessary texture UUIDs for an archive of the scene prims
* no user functionality yet
2008-05-26 01:50:40 +00:00
Justin Clarke Casey d500209da0 * Refactor: Where possible, change visibility on InnerScene methods to protected internal on the basis that they shouldn't be manipulated by outsiders 2008-05-26 01:06:50 +00:00
Justin Clarke Casey a28ca7b78b * Refactor: remove code duplication between add ScenePresence methods in InnerScene 2008-05-26 00:47:36 +00:00
Justin Clarke Casey 73a28a56da * Refactor: Separate out RemoveScenePresence and add into InnerScene to match existing AddScenePresence 2008-05-26 00:38:04 +00:00
Jeff Ames 5d77625e9a Update svn properties. Formatting cleanup. 2008-05-25 23:27:38 +00:00
Teravus Ovares c20f7d6171 * A hacky Top Scripts display. It isn't accurate as far as ms accounting, however you can use it to help find out what scripts are causing your simulator to cry.
* Access it from the Estate tools/Debug tab.
2008-05-25 20:50:45 +00:00
Charles Krinke 76a3bde76e Thank you very much, Melanie for a patch that:
If the m_controllingClient member if a ScenePresence is 
null, that would cause a CTB. This patch fixes it.
2008-05-25 19:29:25 +00:00
Charles Krinke 83bfd29af8 Thank you very much, Xantor for a patch that:
Copying, reseting, dragging scripts cause unnecessary recompilation, 
slowing down the simulator and filling up the ScriptEngines directory 
with compiled .dll and misc. files.
This patch keeps track of compiled assets since the last simulator restarts, 
and only recompiles new assets. (editing a script generates a new asset, 
so no problems there).
2008-05-25 19:26:21 +00:00
Charles Krinke 36b8196f7a Thank you kindly, Tiffany for a patch that helps:
Drag copy a prim and the prim that is moved, persists. 
The prim that is created does not survive a restart.
2008-05-25 19:21:21 +00:00
Charles Krinke 5ac682ddf9 Thank you kindly, Grumly57 for a patch to improve
XMLRPCModule.cs: RemoteDataReply() and XMLRpcResponse()
2008-05-25 17:58:10 +00:00
Teravus Ovares 042c9ed4d8 * Adds Top Colliders when using ODE. Access it from the estate tools/debug tab. 2008-05-25 11:22:05 +00:00
Teravus Ovares 29092d3999 * phantom sculpties don't request the sculpt texture anymore. 2008-05-25 04:15:32 +00:00
Teravus Ovares c29409dc24 * Yet another way to optimize the sculpt mesh generator 2008-05-25 02:56:00 +00:00
Teravus Ovares f57cb17494 * kill a potentially large float array. 2008-05-25 02:50:17 +00:00
Teravus Ovares d3b013be1c * Releases Pinned vertex/index list in ODE on next mesh request. 2008-05-25 02:39:58 +00:00
Justin Clarke Casey 86c46e92cd * Disabling isSelected check on object persistence backup (at least temporarily), since it appears we sometimes either don't receive or don't register deselect packets when
prims are shift copied.
* A better long term solution may be to address the problem of why we're not always seeing the deselects
2008-05-25 01:09:14 +00:00
Justin Clarke Casey bc92d72828 * Refactor: Collapses parts of different code paths in scene used when deleting and unlinking an object 2008-05-25 00:09:08 +00:00
Justin Clarke Casey 0ee69707ea * Refactor: Collapse some multiple remove object paths
* Push some delete functionality into InnerScene to match what's already there for adding objects
2008-05-24 23:11:07 +00:00
Justin Clarke Casey 10564469c8 * Refactor: Remove some unused methods in Scene/InnerScene 2008-05-24 22:48:21 +00:00
Justin Clarke Casey f3067ce6f9 * Refactor: Change previous commits Object methods to SceneObject methods instead, on the basis that this is less likely to cause confusion with c#'s base object type 2008-05-24 22:45:13 +00:00
Justin Clarke Casey 79eecd3d25 * Refactor: Renaming various *Entity*() methods to *Object*() methods on the basis that they all take SOG parameters to improve code readability for now 2008-05-24 22:10:14 +00:00
Justin Clarke Casey 42693f3b20 * Refactor: Push some dictionary initialization down from Scene into InnerScene 2008-05-24 21:57:00 +00:00
Justin Clarke Casey d53db1d69b * Refactor: Make some inner scene dictionaries internal rather than public 2008-05-24 21:36:27 +00:00
Teravus Ovares cd79be569c * Fixes endless loop in the Land Module when selecting any object.
* Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
2008-05-24 21:13:44 +00:00
Justin Clarke Casey dd4100db4c * Get the xml2 entities serialization representation in the archiver module
* Not yet reusing serialization module - this will happen in the future
* No user functionality yet
2008-05-24 19:21:57 +00:00
Justin Clarke Casey 58e71b8507 * If the SVN build version is not available, state this in the About box explicitly, rather than leaving it out completely and possible engendering confusion 2008-05-24 18:27:57 +00:00
Justin Clarke Casey e5e666bb41 * Bump reported svn trunk revision number up to 0.5.7 2008-05-24 18:21:28 +00:00
Justin Clarke Casey 0b7f82153b * Temporary fix for mantis 1374
* If the agent throttle byte array is unexpectedly empty, then log a warning and drop the packet
2008-05-24 18:17:31 +00:00
Teravus Ovares 375673ec90 This enables return from the parcel object owner display.
There's some oddness with the parcel counts, but if you can get past the oddness, you can return objects under an owner that you have permission to return.
2008-05-24 11:10:21 +00:00
Teravus Ovares 3965fa2ff3 * Implements selected object return.
* If user is in the same sim with you, they'll get an inventory update, if not....  oh well, they'll have to clear their cache potentially before they'll see it.
2008-05-24 09:40:14 +00:00
Teravus Ovares c98fb26789 * an attempt to resolve the teleport + attachment = crash 2008-05-24 03:19:57 +00:00
Dr Scofield b3e413bef7 forgot to actually remove IRCBridgeModule.FindClientRegion() 2008-05-23 16:10:11 +00:00
Dr Scofield 09188d5d10 IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in
finding out which region a new avatar was logging in to; the same problem
occurred when the client/avatar logged out. the reason was mani-fold:

- Scene.AddNewClient(...) would call SubscribeToClientEvents(client)
  which would subscribe to all client events and then call 
  TriggerOnNewClient(...) BEFORE the ScenePresence object had even been
  created and added. i've moved the TriggerOnNewClient() call to the
  end of Scene.AddNewClient()
- Scene.AddNewClient(...) is called with child == true; a later call
  to ScenePresence.MakeRootAgent() will turn child to false. When
  OnNewClient is triggered, child is still true, causing IRCBridgeModule's
  FindClientRegion to ignore the ScenePresence of the new avatar.

i've changed IRCBridgeModule to still use OnNewClient and also OnLogout
and OnConnectionClosed but only to signal that the avatar has logged on
(logged off respectively). to track whether an avatar has actually entered
a region i've added EventManager.OnMakeRootAgent (complementing 
OnMakeChildAgent). 

also, i've cleaned up the internal IRCModule code a bit. currently it 
still uses IClientAPI.SendChatMessage() which replicates the code in
ChatModule, that needs to be changed to use TriggerOnChatFromWorld().
2008-05-23 16:07:47 +00:00
mingchen d04443b4fe *Refactor of the LandManagementModule that allows OpenSim to run without it 2008-05-23 15:12:15 +00:00
Dr Scofield bf23e5d66c i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.
ChatModule is now only doing in-world chat. IRCBridgeModule is only doing, well,
bridging chat to/from IRC. Both modules are now using a new OnChatFromWorld event
handler (which Scene.PacketHandler is feeding for chat from in-world instead of 
going via the Interface method). This refactoring will allow us to easily add
other bridge modules (e.g., an XMPP bridge module).

there is still a bug in IRCBridgeModule (inherited from the old ChatModule)
where FindClientRegion does not really find the client region...
2008-05-23 10:24:26 +00:00