aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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.
* Clean out some crufty in AvatarFactoryModule Sean Dague2008-05-213-193/+18
| | | | | | | | | | 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-219-124/+151
| | | | | | | get saved to the database. There are still issues on wearing things after a cleared cache that I'm looking at now.
* IZ QUATERNION NORMALIZE TO 0? NOWAI! KTHXBYETeravus Ovares2008-05-211-0/+10
|
* renaming GETRestRegionPlugin to GETHandler as that's what it really is.Dr Scofield2008-05-211-0/+0
|
* create some direct sql calls for appearanceSean Dague2008-05-211-0/+109
|
* * 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.
* attempt to fix mysql mapper usageSean Dague2008-05-201-1/+7
|
* 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-2011-24/+110
| | | | | | | | | | | 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-2022-41/+592
| | | | | Fix spelling typo (Thanks ChrisDown for pointing this out)
* my last "simplification" of the the if-then-else logic in BaseHttpServer ↵Dr Scofield2008-05-201-1/+1
| | | | | | | | | placed the return in the "if (request.UserAgent != null)" branch in the wrong place: as a result BaseHttpServer would not do anything if the user agent header field was present....ARGH! BAAAAAAD.
* Update svn properties.Jeff Ames2008-05-200-0/+0
|
* remove the appearance lines from the OpenSim.ini.example. They Sean Dague2008-05-191-5/+0
| | | | | | don't do anything now.
* autocreate appearance table if it isn't thereSean Dague2008-05-192-0/+18
|
* prep for changes need to create the appearance tablesSean Dague2008-05-191-4/+1
| | | | | | by default
* fix a constant that meant pants still weren't working. nowSean Dague2008-05-191-2/+2
| | | | | | you really can have pants.
* make the super class conveniance appearance stuff virtualSean Dague2008-05-192-4/+4
| | | | | | so they can be overrided correctly by subclasses
* fix crash in standalone mode for initial appearance setupSean Dague2008-05-193-7/+16
|
* Thank you kindly, Melanie for a patch that avoids a nullCharles Krinke2008-05-192-1/+25
| | | | | | 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-196-127/+129
| | | | | | | | | | | | | | 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.
* (from awebb)Dr Scofield2008-05-191-1/+10
| | | | | | | | | | | Fixes a bug in BaseRequestHandler. If the length of the patter is equal to, or greater than, the length of the actual request path, then an exception is thrown. System using is added to support use of String.Empty. Exception is used to ensure most efficient operation on (assumed to be most common) successful case.
* i'm dropping VerifyGod() and adding IsGod(OSHttpRequest) instead, which ↵Dr Scofield2008-05-191-5/+11
| | | | | | | | | | | actually now takes a look at the HTTP request header and retrieves x-opensim-godkey (if it exists) and compares that against the godkey from OpenSim.ini. also, this makes AddStreamHandler() virtual so that it can be overridden.
* (from awebb)Dr Scofield2008-05-192-26/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds an additional handler to the existing BaseHttpServer. It does not affect any of the existing behaviors except insofar as the new handler may be selected. It is selected first because its Agent-oriented nature means that it should not be pre-empted. The new handler type is defined by IHttpAgentHandler in Framework/Servers and has two interface methods: Match and Handle. The Match function returns a boolean result based upon examination of information presented in the User-Agent header. The Handle function expects to get the request and response instances associated with the flow. The handler is responsible for ALL activity associated with the request except in the event of an unhandled exception, in which case the HandleAgentRequest routine will generate a 500 status message and close the stream. There are two immediateley apparent (and VERY easy to implement) improvements that could be made: 1. The Match call could be allowed to operate over the entire request context., rather than just agent identity. 2. The Handler could return a boolean indication of whether or not the request was actually handled, and if not, the remaining handler mechanism could take a shot at it. This would eliminate issues arising from pre-empted streams.
* Attempt to fix incorrect animations when using ODE (bugs #1320 / #1321)Jeff Ames2008-05-191-9/+16
|
* Update ODE binary for OS X to opensim-libs r43Jeff Ames2008-05-191-0/+0
|
* Update svn properties. Minor formatting cleanup.Jeff Ames2008-05-195-24/+13
|
* fixing exception when RestPlugin not configured. refactors RestRegionPlugin, ↵Dr Scofield2008-05-194-80/+288
| | | | adds error checking.
* adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and ↵Dr Scofield2008-05-1912-24/+351
| | | | | | | | | HttpListenerResponse respectively. enhancing IStreamHandler and IStreamedHandler interfaces so that OSHttp{Request,Response} get passed in, allowing RestHandlers to set response status code, redirections, etc.
* Rework some of the animation logic in an attempt to resolve #1318Jeff Ames2008-05-191-38/+25
|
* * Committing a change to our build script to generate doxygen documentation ↵Adam Frisby2008-05-182-2/+1369
| | | | with each build. Thanks MikeM. (Issue#1279)