aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * Implements UserServer logoff in a few situationsTeravus Ovares2008-05-317-7/+54
| | | | | | | * User tries to log-in but is already logged in. Userserver will send message to simulator user was in to log the user out there. * From the UserServer, admin types 'logoff-user firstname lastname message'. * Some regions may not get the message because they're not updated yet.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-304-19/+24
|
* * Added helper method to the Sun module to Get the Linden hour based on the ↵Teravus Ovares2008-05-301-1/+3
| | | | math in the sun module. This populates the sun phase slider on the terrain tab in the estate tools according to the current sun phase. Display purposes only for now. Need to go the other way for setting the sun phase based on the linden hour in the estate tools.
* * Caches UUIDName requestsTeravus Ovares2008-05-291-9/+52
| | | | | | * Looks up UUIDNames for script time and colliders in a separate thread. * Hopefully this'll allow you to look at top scripts on a region that has a lot of scripts without crashing your client thread.
* this is a snapshot of the OSHttpServer work-in-progress. it's an initial ↵Dr Scofield2008-05-293-0/+191
| | | | | | | | skeleton, far from complete, just want to check in early and often.
* attempting to get to the bottom of unresponsive grids servers bySean Dague2008-05-291-21/+32
| | | | | | adding back in a few messages on exceptions.
* let Grid Servers specify a connect string in their configuration.Sean Dague2008-05-281-0/+6
|
* Mantis#1406. Thank you kindly, Xantor for a patch that:Charles Krinke2008-05-281-1/+1
| | | | | | | | | llLoopSound sends out one packet to clients in view, so it doesn't work anymore when clients enter later on, or the prim is modified in any way. Solution: Stored sound data on prim, send full update instead. llStartSound and llLoopSound now accept both LLUUIDs to a sound as well as object inventory sound names. llStopSound clears prim data and sends full update.
* Formatting cleanup.Jeff Ames2008-05-283-24/+28
|
* Thank you very much, Xantor for a patch that:Charles Krinke2008-05-271-1/+34
| | | | | | | | 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.
* * Assigns a random UUID to a region if the Sim UUID is null.Adam Frisby2008-05-263-1/+15
|
* Thank you kindly, Melanie for a patch for script resetCharles Krinke2008-05-261-0/+2
| | | | | that creates the event handler chain ready to hook by script engines
* This cleans up a merge mess from the earlier checkin and implements ↵Dr Scofield2008-05-261-0/+13
| | | | | | | | llOwnerSay() via the newly created Scene.SimBroadcast() call.
* Update svn properties. Formatting cleanup.Jeff Ames2008-05-2511-62/+62
|
* * Adds Top Colliders when using ODE. Access it from the estate tools/debug tab.Teravus Ovares2008-05-252-0/+60
|
* This enables return from the parcel object owner display.Teravus Ovares2008-05-241-0/+3
| | | | | 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.
* Thank you kindly, Melanie, for:Charles Krinke2008-05-231-1/+1
| | | | | | | 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.
* changing more 'raw' HTTP status codes to OSHttpStatusCodes.Dr Scofield2008-05-221-0/+2
|
* here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield2008-05-223-21/+220
| | | | | | | | | | | | | (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.
* * 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-221-1/+1
|
* * 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.
* i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield2008-05-204-6/+15
| | | | | | | | | | | 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
* Add copyright notices.Jeff Ames2008-05-204-3/+111
| | | | | 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.
* fix a constant that meant pants still weren't working. nowSean Dague2008-05-191-2/+2
| | | | | | you really can have pants.
* Thank you kindly, Melanie for a patch that avoids a nullCharles Krinke2008-05-191-0/+24
| | | | | | 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-1/+1
| | | | | | | | | | | | | | 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.
* (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.
* adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and ↵Dr Scofield2008-05-199-19/+338
| | | | | | | | | HttpListenerResponse respectively. enhancing IStreamHandler and IStreamedHandler interfaces so that OSHttp{Request,Response} get passed in, allowing RestHandlers to set response status code, redirections, etc.
* * This fixes the Sculpty seam. Unfortunately not all sculpties will ↵Teravus Ovares2008-05-181-2/+6
| | | | survive. A tiny fraction of them will turn into a torus.
* * Refactor: Eliminate empty if clause from AssetCache.GetAsset()Justin Clarke Casey2008-05-181-4/+1
|
* * Group type stuff. Nothing spectacular. two packets, sorta almost semi ↵Teravus Ovares2008-05-181-1/+3
| | | | half tiny amount implemented.
* * Tweaked patch mantis 1302 and committing it.Teravus Ovares2008-05-171-2/+9
|
* Formatting cleanup.Jeff Ames2008-05-171-24/+24
|
* * Committing patch from mantis 0001297: [PATCH] Fix behavior of child prim ↵Teravus Ovares2008-05-161-1/+1
| | | | inventories. Also enables 'New Script' button. from Melanie. Thanks Melanie!
* * Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded ↵Teravus Ovares2008-05-161-0/+2
| | | | assets on disk write from Melane. Thanks Melanie!
* prime the wearables structure, which should fix the exceptionSean Dague2008-05-161-0/+8
| | | | | | FluxOne found.
* * Eliminate occurences of "Got a texture uuid ... with no sender object to ↵Justin Clarke Casey2008-05-161-1/+1
| | | | handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
* * Cache knowledge in the region server that the asset service has reported ↵Justin Clarke Casey2008-05-163-15/+33
| | | | | | | | an asset to be missing * This prevents repeated requests for the same missing asset to the asset server, hopefully reducing the load a little
* * Removing unnecessary LLUUID.Zero check from AssetCacheJustin Clarke Casey2008-05-162-64/+63
| | | | | | * This revision also includes a very temporary fix for the fact that NREs are received because of a missing avatar apperance in grid mode
* add to / from hash mapping for grid serializationSean Dague2008-05-161-0/+74
|
* Minor cleanup.Jeff Ames2008-05-161-4/+3
|
* Formatting cleanup.Jeff Ames2008-05-1660-745/+745
|
* appearance now survives logout. Tommorrow will involve movingSean Dague2008-05-161-0/+10
| | | | | | | the MSSQL and MYSQL mappers back in under datastores and looking at doing gid bits for this
* fix bad default initializationSean Dague2008-05-151-0/+2
|
* remove my UserAppearance object, switch all code to useSean Dague2008-05-154-235/+7
| | | | | | AvatarAppearance instead.
* add the rest of my UserAppearance created methods toSean Dague2008-05-151-0/+117
| | | | | | AvatarAppearance
* minor refactor of some properties for readabilitySean Dague2008-05-151-35/+35
|