aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment (follow)
Commit message (Collapse)AuthorAgeFilesLines
* IRCBridgeModule (and ChatModule before the refactoring) didn't succeed in Dr Scofield2008-05-235-6/+880
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-238-941/+1068
|
* 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-234-32/+50
| | | | | | | 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-225-10/+150
|
* make VS compile Scene.csSean Dague2008-05-221-1/+1
|
* don't trust appearance assetid, instead do an inventorySean Dague2008-05-222-7/+6
| | | | | | | lookup any time we get it from the server. This should preventent unwearable appearance.
* * Documentation for load/save xml methodsJustin Clarke Casey2008-05-221-1/+38
| | | | | | | | | | * 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-221-2/+3
|
* Fix for Mantis 1340. Thanks Melanie!Adam Johnson2008-05-221-1/+1
|
* * Minor: Tidy ups and logging tweaks.Justin Clarke Casey2008-05-221-1/+2
|
* * Refactor: Move enhancement of version string with operating system ↵Justin Clarke Casey2008-05-221-16/+1
| | | | | | | | 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-221-6/+6
| | | | | | | | 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-211-2/+5
| | | | | | | | | "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.
* * 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.
* Clean out some crufty in AvatarFactoryModule Sean Dague2008-05-212-13/+12
| | | | | | | | | | Fix RequestUpdateInventoryItem so that asset changes generate a new asset, which is needed for editing appearance to do the right thing. Persistant appearance seems to work after this, except you need to rebake textures some times.
* this removes use of the mapper for wearables, and I can confirm thingsSean Dague2008-05-211-2/+1
| | | | | | | get saved to the database. There are still issues on wearing things after a cleared cache that I'm looking at now.
* * Fixed needing to alter your sculptie sometimes to get physics to generate ↵Teravus Ovares2008-05-211-1/+4
| | | | | | | a collision mesh for it. * Sculpties load on startup reliably now and successfully generate a collision mesh as soon as the sculpt texture is available.
* move SceneEvents.cs to EventManager.cs, as that's actuallySean Dague2008-05-201-0/+0
| | | | | | the name of the contained class.
* i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield2008-05-202-4/+8
| | | | | | | | | | | provide OSHttpRequest and OSHttpResponse to our REST handler. also, this adds proper RestPlugin.IsGod() checking against the X-OpenSim-Godkey HTTP request header. last, i added XML doc comments to RestPlugin.cs
* From: Jeremy Bongio <jbongio@us.ibm.com>Sean Dague2008-05-204-18/+18
| | | | | | | | | | House cleaning ... Rather than using the variable name EntityList, the variable name EntitieList was being used. Here's a patch to fix it.
* Add copyright notices.Jeff Ames2008-05-207-12/+172
| | | | | Fix spelling typo (Thanks ChrisDown for pointing this out)
* fix crash in standalone mode for initial appearance setupSean Dague2008-05-192-6/+12
|
* Thank you kindly, Melanie for a patch that avoids a nullCharles Krinke2008-05-191-1/+1
| | | | | | ref in inventory give and also now causes items to appear in the correct folders now, no longer in the root folder.
* i can haz pantz?Sean Dague2008-05-191-16/+15
| | | | | | | | | | | | | | You sure can. This change set restores pants (and the rest of the default appearance) in grid mode. The root issue had to do with serializing multi-faced textures to the grid server. This also restores the lookup path through the avatar factory module, as that seems the reasonable place to have it live. Some clean up patches are coming later as well, plus testing on standalone, but this should be in a good kicking around state for grid users.
* Attempt to fix incorrect animations when using ODE (bugs #1320 / #1321)Jeff Ames2008-05-191-9/+16
|
* Rework some of the animation logic in an attempt to resolve #1318Jeff Ames2008-05-191-38/+25
|
* Formatting cleanup, minor refactoring. Fixed some comparisons of value ↵Jeff Ames2008-05-185-32/+23
| | | | types and null.
* * minor: Just a few documentation odds and endsJustin Clarke Casey2008-05-182-5/+10
|
* * Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule.Adam Frisby2008-05-182-9/+42
|
* * Fixed a logic error in previous commit. Darn these long ↵Teravus Ovares2008-05-181-2/+2
| | | | client(param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param,param); methods!
* * Group type stuff. Nothing spectacular. two packets, sorta almost semi ↵Teravus Ovares2008-05-186-10/+94
| | | | half tiny amount implemented.
* Thank you very kindly, Melanie for: Charles Krinke2008-05-171-2/+3
| | | | | | | The money module witll register (claim) an interface slot, even when disabled. This patch fixes it so that it will not register to supply this interface unless it's activated.
* while this doesn't fix the initial no pants issue in grid (which still ↵Sean Dague2008-05-172-23/+32
| | | | | | | | baffles me) it does make setting appearance in grid stick.
* 0001303: [PATCH] Make prim owner and data show for prims not owned. From ↵Teravus Ovares2008-05-171-3/+3
| | | | Melanie. Thanks Melanie!
* * Tweaked patch mantis 1302 and committing it.Teravus Ovares2008-05-175-13/+51
|
* Formatting cleanup.Jeff Ames2008-05-176-50/+50
|
* * Committing patch from mantis 0001297: [PATCH] Fix behavior of child prim ↵Teravus Ovares2008-05-164-23/+68
| | | | inventories. Also enables 'New Script' button. from Melanie. Thanks Melanie!
* minor change to justin's previous fix that should stillSean Dague2008-05-161-3/+4
| | | | | | prevent his crashes
* * Patch from Melanie. Mantis 1294: Fix broken wearables icon display in ↵Teravus Ovares2008-05-162-2/+7
| | | | prim inventories. From Melanie! Thanks Melanie.
* * Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded ↵Teravus Ovares2008-05-161-3/+4
| | | | assets on disk write from Melane. Thanks Melanie!
* * Eliminate occurences of "Got a texture uuid ... with no sender object to ↵Justin Clarke Casey2008-05-161-2/+16
| | | | handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
* * Removing unnecessary LLUUID.Zero check from AssetCacheJustin Clarke Casey2008-05-161-1/+6
| | | | | | * This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
* Minor cleanup.Jeff Ames2008-05-163-19/+8
|
* Formatting cleanup.Jeff Ames2008-05-1650-1116/+1116
|
* appearance now survives logout. Tommorrow will involve movingSean Dague2008-05-161-1/+2
| | | | | | | the MSSQL and MYSQL mappers back in under datastores and looking at doing gid bits for this