aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
...
* * Refactor: Collapses parts of different code paths in scene used when ↵Justin Clarke Casey2008-05-254-40/+27
| | | | deleting and unlinking an object
* * Refactor: Collapse some multiple remove object pathsJustin Clarke Casey2008-05-246-58/+68
| | | | | | * Push some delete functionality into InnerScene to match what's already there for adding objects
* * Refactor: Remove some unused methods in Scene/InnerSceneJustin Clarke Casey2008-05-242-26/+0
|
* * Refactor: Change previous commits Object methods to SceneObject methods ↵Justin Clarke Casey2008-05-249-23/+30
| | | | instead, on the basis that this is less likely to cause confusion with c#'s base object type
* * Refactor: Renaming various *Entity*() methods to *Object*() methods on the ↵Justin Clarke Casey2008-05-248-22/+46
| | | | basis that they all take SOG parameters to improve code readability for now
* * Refactor: Push some dictionary initialization down from Scene into InnerSceneJustin Clarke Casey2008-05-242-10/+14
|
* * Refactor: Make some inner scene dictionaries internal rather than publicJustin Clarke Casey2008-05-241-2/+2
|
* * Fixes endless loop in the Land Module when selecting any object.Teravus Ovares2008-05-244-75/+110
| | | | | * Fixes returning objects when the object owner hasn't been in the simulator since the simulator started up last.
* * Get the xml2 entities serialization representation in the archiver moduleJustin Clarke Casey2008-05-245-26/+71
| | | | | | | * Not yet reusing serialization module - this will happen in the future * No user functionality yet
* * If the SVN build version is not available, state this in the About box ↵Justin Clarke Casey2008-05-241-2/+6
| | | | explicitly, rather than leaving it out completely and possible engendering confusion
* * Bump reported svn trunk revision number up to 0.5.7Justin Clarke Casey2008-05-241-1/+1
|
* * Temporary fix for mantis 1374Justin Clarke Casey2008-05-241-1/+11
| | | | | | * If the agent throttle byte array is unexpectedly empty, then log a warning and drop the packet
* This enables return from the parcel object owner display.Teravus Ovares2008-05-2411-47/+161
| | | | | 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.
* * Implements selected object return.Teravus Ovares2008-05-243-110/+313
| | | | | * 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.
* * an attempt to resolve the teleport + attachment = crashTeravus Ovares2008-05-241-4/+19
|
* forgot to actually remove IRCBridgeModule.FindClientRegion()Dr Scofield2008-05-231-32/+0
|
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-236-8/+884
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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().
* *Refactor of the LandManagementModule that allows OpenSim to run without itmingchen2008-05-239-942/+1069
|
* i've refactored the ChatModule into two modules: ChatModule and IRCBridgeModule.Dr Scofield2008-05-233-727/+70
| | | | | | | | | | | | | 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...
* Thank you kindly, Melanie, for:Charles Krinke2008-05-236-35/+73
| | | | | | | Nothing huge, but the new button code for producing a new script does well, but the script will not allow for name change once created. It reverts back to new script.
* Thank you kindly, Melanie, for a patch which:Charles Krinke2008-05-234-1/+17
| | | | | | | | | Previously, upload charging was possible only for UPD uploads. This is because UDP uploads are charged by the viewer, while in CAPS, this was changed to be server side, so hackers couldn't avoid paying the upload charge. This patch adds a method to allow implementation of this serverside charge.
* * minor: Remove unused variables causing warnings in SceneJustin Clarke Casey2008-05-221-7/+7
|
* * Plug in stubbed out archiver moduleJustin Clarke Casey2008-05-226-12/+154
|
* * Add (DEPRECATED) to load-xml/save-xml region console helpJustin Clarke Casey2008-05-221-2/+2
|
* make VS compile Scene.csSean Dague2008-05-221-1/+1
|
* don't trust appearance assetid, instead do an inventorySean Dague2008-05-223-38/+58
| | | | | | | lookup any time we get it from the server. This should preventent unwearable appearance.
* change to how initial terrain data is sent. Instead of sending the 64 ↵MW2008-05-221-10/+46
| | | | | | | packets in rapid fire as quickly as possible. The terrain data sending is now done in a threadpool worker thread over ~10 seconds with a thread.sleep between each packet sending. this hasn't been tested thoroughly, so it might not actually help with the atom bomb terrain (missing patches) but its a simple thing to revert if it makes things worse for anyone. 10 seconds is roughly the time between the region handshake completing and you being in world where you can see your avatar. So normally the terrain still should have loaded by time you get in the region, although it is possible that sometimes you might see the very end of the terrain load just after you arrive.
* * Limiting the Quaternion reset to x=y=z=w=0Teravus Ovares2008-05-221-4/+4
|
* add a lock on the update, this should have been there before.Sean Dague2008-05-221-2/+13
| | | | | | still not convinced this will help, but it was wrong.
* we should be return null in these 2 places, though this won'tSean Dague2008-05-221-2/+2
| | | | | | help with the timeouts.
* catch case where avatar might have been child agentSean Dague2008-05-221-1/+6
|
* * Documentation for load/save xml methodsJustin Clarke Casey2008-05-223-1/+57
| | | | | | | | | | * Insert the very rough beginning stubs for a save/load OpenSim archive facility that will load/save prim assets (textures & inventory) as well as the prim details themselves (our existing xml facilities). * This won't be ready for even rough testing for quite some time. * I'm doing this directly in the region server for now since this will be quicker to get something working (hence giving me the Serotonin boost that I need). However, there are very good arguments for later also including it (or moving it entirely) to the separate export executable which Sean stubbed out some time ago.
* changing more 'raw' HTTP status codes to OSHttpStatusCodes.Dr Scofield2008-05-222-2/+5
|
* Fix for Mantis 1340. Thanks Melanie!Adam Johnson2008-05-221-1/+1
|
* Mantis 1357 Patch - Thanks mikem!Adam Johnson2008-05-221-4/+8
|
* here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield2008-05-227-45/+392
| | | | | | | | | | | | | (from awebb) i've added the OSHttpStatusCodes enumeration of HTTP status codes, have adapted BaseHttpServer to use those. then RestPlugin now has proper Failure handling returning proper HTTP status codes. Regions/POSTHandler is work-in-progress.
* Added "show regions" to the CL help screen. Mantis 1123Adam Johnson2008-05-221-0/+1
|
* Adding basic show users functionality back in to console. Mantis 1212Adam Johnson2008-05-221-0/+36
|
* * Prevent an error from stopping startup when decoding the sculpt mesh j2k ↵Teravus Ovares2008-05-221-2/+12
| | | | fails.
* * Fix mantis 1325. This is a minor issue where 'show assets' would not work ↵Justin Clarke Casey2008-05-221-8/+14
| | | | fully in the region console
* * Minor: Tidy ups and logging tweaks.Justin Clarke Casey2008-05-223-4/+5
|
* * Refactor: Move enhancement of version string with operating system ↵Justin Clarke Casey2008-05-223-23/+25
| | | | | | | | information from Scene to OpenSimMain * This also means the operating system info will show up in the region console (and hence the logs)
* * Fix circular dependency from last checkin by passing version as a ↵Justin Clarke Casey2008-05-224-9/+9
| | | | | | | | parameter to Scene rather than referencing VersionInfo directly * Butt ugly solution
* * Send VersionInfo string instead of the hardcoded Scene string to the ↵Justin Clarke Casey2008-05-214-12/+14
| | | | | | | | | "About Second Life" box * This is the same string as printed out on the opensim region console at startup, so it should now include the svn revision number (if available) * This dialog box takes an awful long time to come up on my local system - no idea why that is. However, that also seems to have been the case before this revision.
* * Deprecate load-xml and save-xml in favour of load-xml2/save-xml2.Justin Clarke Casey2008-05-211-0/+4
| | | | | | * Please file a mantis if you are not able to use load-xml2/save-xml2 but can successfully use load-xml/save-xml
* * Provide relief for mantis 1263, 1202, 679Justin Clarke Casey2008-05-211-23/+49
| | | | | | | | | | | | * If a caller attempts to set PrimitiveBaseShape.ProfileCurve with a HollowShape or ProfileShape component which is not a valid enum, a warning is spat out and a default shape subtituted * This does not solve any underlying problem if we're missing some enum values (though it's not obvious what these are), but it should allow save-xml2/load-xml2 to be used without causing invalid enum value related exceptions. The checks will also guard against badly behaved clients. * This change alters the order of shape values in the xml, since it appears properties are serialized after fields (at least this is the case in mono). .net native deserialization can cope with this it appears, though people manipulating xml manually may need to adapt (if there are any). * This may be a good argument against relying on .net [de]serialization for our xml format.
* * Going to the C# syntactic sugar way of handling the backup event delegates.Teravus Ovares2008-05-211-8/+2
|
* * Sets backup bool volatile for extra protection against two backup ↵Teravus Ovares2008-05-211-1/+1
| | | | processes running.
* * This update causes the backup process to run in a separate thread.Teravus Ovares2008-05-216-37/+85
| | | | | | | | * Concurrency issues are resolved because each object makes a memory-only copy of itself and backs up the copy. * Because of the way this is done, the latest at the time of the backup gets backed up (no functionality change) * You can move *thousands of objects at a time* and the sim doesn't freeze and wait for the backup to complete. * This can be enhanced more by dedicating the thread as opposed to starting it when the backup process starts.
* implement in memory appearance cache for sqlite. ThisSean Dague2008-05-211-3/+12
| | | | | | isn't db backed, but will hang around between reboots.