aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework (unfollow)
Commit message (Collapse)AuthorFilesLines
2008-05-23Thank you kindly, Melanie, for:Charles Krinke1-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.
2008-05-22changing more 'raw' HTTP status codes to OSHttpStatusCodes.Dr Scofield1-0/+2
2008-05-22here are further enhancements to the IHttpAgentHandler and to BaseHttpServer ↵Dr Scofield3-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.
2008-05-22* Fix mantis 1325. This is a minor issue where 'show assets' would not work ↵Justin Clarke Casey1-8/+14
fully in the region console
2008-05-22* Minor: Tidy ups and logging tweaks.Justin Clarke Casey1-1/+1
2008-05-21* Provide relief for mantis 1263, 1202, 679Justin Clarke Casey1-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.
2008-05-20i'm extending the RestStreamHandler.Handler(...) signature to actually Dr Scofield4-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
2008-05-20Add copyright notices.Jeff Ames4-3/+111
Fix spelling typo (Thanks ChrisDown for pointing this out)
2008-05-20my last "simplification" of the the if-then-else logic in BaseHttpServer ↵Dr Scofield1-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.
2008-05-19fix a constant that meant pants still weren't working. nowSean Dague1-2/+2
you really can have pants.
2008-05-19Thank you kindly, Melanie for a patch that avoids a nullCharles Krinke1-0/+24
ref in inventory give and also now causes items to appear in the correct folders now, no longer in the root folder.
2008-05-19i can haz pantz?Sean Dague1-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.
2008-05-19(from awebb)Dr Scofield1-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.
2008-05-19(from awebb)Dr Scofield2-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.
2008-05-19adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and ↵Dr Scofield9-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.
2008-05-18* This fixes the Sculpty seam. Unfortunately not all sculpties will ↵Teravus Ovares1-2/+6
survive. A tiny fraction of them will turn into a torus.
2008-05-18* Refactor: Eliminate empty if clause from AssetCache.GetAsset()Justin Clarke Casey1-4/+1
2008-05-18* Group type stuff. Nothing spectacular. two packets, sorta almost semi ↵Teravus Ovares1-1/+3
half tiny amount implemented.
2008-05-17* Tweaked patch mantis 1302 and committing it.Teravus Ovares1-2/+9
2008-05-17Formatting cleanup.Jeff Ames1-24/+24
2008-05-16* Committing patch from mantis 0001297: [PATCH] Fix behavior of child prim ↵Teravus Ovares1-1/+1
inventories. Also enables 'New Script' button. from Melanie. Thanks Melanie!
2008-05-16* Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded ↵Teravus Ovares1-0/+2
assets on disk write from Melane. Thanks Melanie!
2008-05-16prime the wearables structure, which should fix the exceptionSean Dague1-0/+8
FluxOne found.
2008-05-16* Eliminate occurences of "Got a texture uuid ... with no sender object to ↵Justin Clarke Casey1-1/+1
handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out
2008-05-16* Cache knowledge in the region server that the asset service has reported ↵Justin Clarke Casey3-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
2008-05-16* Removing unnecessary LLUUID.Zero check from AssetCacheJustin Clarke Casey2-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
2008-05-16add to / from hash mapping for grid serializationSean Dague1-0/+74
2008-05-16Minor cleanup.Jeff Ames1-4/+3
2008-05-16Formatting cleanup.Jeff Ames60-745/+745
2008-05-16appearance now survives logout. Tommorrow will involve movingSean Dague1-0/+10
the MSSQL and MYSQL mappers back in under datastores and looking at doing gid bits for this
2008-05-15fix bad default initializationSean Dague1-0/+2
2008-05-15remove my UserAppearance object, switch all code to useSean Dague4-235/+7
AvatarAppearance instead.
2008-05-15add the rest of my UserAppearance created methods toSean Dague1-0/+117
AvatarAppearance
2008-05-15minor refactor of some properties for readabilitySean Dague1-35/+35
2008-05-15refactoring to move AvatarAppearance into Framework andSean Dague1-0/+217
move the appearance sending bits to ScenePresence
2008-05-14* Start recording as a statistic the number of times we start blocking ↵Justin Clarke Casey1-6/+29
repetitive client requests for the same missing texture * This is to maintain some visibility on the problem, since I removed the intentionally irritating log messages for this
2008-05-14* Minor: Fussy little wording change on inventory service failureJustin Clarke Casey1-1/+1
2008-05-14* Start recording initial complete avatar inventory retrieval failures from ↵Justin Clarke Casey1-1/+23
the region server * In theory, this should be a somewhat useless statistic since the user server will already have tried to use the inventory service to retrieve the avatar's skeleton. If this fails, login is halted completely. * Nonetheless I'm recording it anyway just to see whether it happens (yes, I'm too lazy to scan the logs...)
2008-05-14* Refactor additional stats collection common code into base opensim serverJustin Clarke Casey6-8/+72
* If extra stats not sent to the viewer are available on an opensim server, they are now uniformly accessible using the 'show stats' command
2008-05-14* Refactor: Renaming non viewer statistics classes from Reporters to ↵Justin Clarke Casey5-27/+30
Collectors - this seems more intuitive
2008-05-14From: Dr Scofield <DrScofield@xyzzyxyzzy.net>Sean Dague1-0/+5
the attached patch set adds the (still work-in-progress but already working) RestPlugin base class and the RestRegionPlugin code. we are using XML serialization. currently working: GET /admin/regions/ -> returns UUID list of known regions GET /admin/regions/<UUID> -> returns detailed region information we'll be adding support for POST/DELETE/PUT and also for /admin/regions/<UUID>/name etc.
2008-05-14From: Dr Schofield <hud@zurich.ibm.com>Justin Clarke Casey3-7/+7
Rename SearializableRegionInfo to SerializableRegionInfo (class was already named correctly)
2008-05-14* Added standard copyright and removed un-necessary using of ↵Teravus Ovares1-0/+28
libsecondlife.Packets
2008-05-14* Adding the very bare minimum for the client to register user as having the ↵Teravus Ovares2-0/+55
group OpenSimulator Tester. This allows us to start examining and implementing the vary many unhandled group packets.
2008-05-14More formatting cleanup.Jeff Ames2-3/+9
2008-05-14Formatting cleanup.Jeff Ames8-10/+10
2008-05-14* Added 3 warnings in response to the warnings. Adam, read the warnings.Teravus Ovares1-1/+1
2008-05-14* Refactored OutPacket out of ScenePresence Teravus Ovares1-3/+8
* Down to 65 warnings.
2008-05-14* Refactored OutPacket and FirstName/LastName out of Friends Module.Teravus Ovares1-2/+4
2008-05-14Update svn properties.Jeff Ames1-59/+59