Commit Graph

4459 Commits (7a52b35c574da5180131e1b5df613c4df09a5065)

Author SHA1 Message Date
Sean Dague 7a52b35c57 fix crash in standalone mode for initial appearance setup 2008-05-19 20:33:54 +00:00
Charles Krinke 01b5425a2d Thank you kindly, Melanie for a patch that avoids a null
ref in inventory give and also now causes items to appear
in the correct folders now, no longer in the root folder.
2008-05-19 20:05:10 +00:00
Sean Dague 9808f39b6f i can haz pantz?
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 19:08:59 +00:00
Dr Scofield 4b622ec881 (from awebb)
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 18:30:25 +00:00
Dr Scofield af46963176 i'm dropping VerifyGod() and adding IsGod(OSHttpRequest) instead, which 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.
2008-05-19 17:54:31 +00:00
Dr Scofield 3e8adc0d78 (from awebb)
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-19 17:35:29 +00:00
Jeff Ames 7b0ca6ea30 Attempt to fix incorrect animations when using ODE (bugs #1320 / #1321) 2008-05-19 14:49:20 +00:00
Jeff Ames a4d84a6aed Update ODE binary for OS X to opensim-libs r43 2008-05-19 13:47:58 +00:00
Jeff Ames 259ddcfe1a Update svn properties. Minor formatting cleanup. 2008-05-19 13:26:42 +00:00
Dr Scofield 4e93228e25 fixing exception when RestPlugin not configured. refactors RestRegionPlugin, adds error checking. 2008-05-19 11:52:51 +00:00
Dr Scofield d725d1208b adding OSHttpRequest and OSHttpResponse which wrap HttpListenerRequest and 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-19 11:38:35 +00:00
Jeff Ames dfe8e2c502 Rework some of the animation logic in an attempt to resolve #1318 2008-05-19 04:14:43 +00:00
Adam Frisby 7ed86b429a * Committing a change to our build script to generate doxygen documentation with each build. Thanks MikeM. (Issue#1279) 2008-05-18 23:23:39 +00:00
Jeff Ames 6ec680918b Formatting cleanup, minor refactoring. Fixed some comparisons of value types and null. 2008-05-18 23:06:50 +00:00
Jeff Ames 901e97f821 Update svn properties. 2008-05-18 21:54:13 +00:00
Teravus Ovares e57c2b47a8 * This fixes the Sculpty seam. Unfortunately not all sculpties will survive. A tiny fraction of them will turn into a torus. 2008-05-18 21:05:48 +00:00
Justin Clarke Casey f6add412d6 * Refactor: Eliminate empty if clause from AssetCache.GetAsset() 2008-05-18 19:56:25 +00:00
Justin Clarke Casey 682fc23e32 * minor: Just a few documentation odds and ends 2008-05-18 19:51:58 +00:00
Tedd Hansen aa5b26a4d3 Cleanup: Removed LSOEngine source again as it will not be used. 2008-05-18 14:10:51 +00:00
Adam Frisby c22b388f83 * Patch #1312 from Melanie - Abstracts Money Module to IMoneyModule. 2008-05-18 10:23:31 +00:00
Teravus Ovares 529553c77e * Fixed a logic error in previous commit. Darn these long 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! 2008-05-18 03:32:17 +00:00
Teravus Ovares 2bd03b7c8c * Group type stuff. Nothing spectacular. two packets, sorta almost semi half tiny amount implemented. 2008-05-18 03:21:22 +00:00
Charles Krinke 89056c492d Thank you very kindly, Melanie for:
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.
2008-05-17 22:06:11 +00:00
Charles Krinke 4fde2e602c Thank you kindly, KMeisthax for: Moving the PostInitialize() code to the
Initialize() section that runs when the module is grabbing config data. 
This is run before any Providers are created and thus makes sure we don't 
get any more startup crashes.
2008-05-17 21:05:08 +00:00
Teravus Ovares 74fb5e1a94 * whoops, misplaced / where should have been \ 2008-05-17 18:48:06 +00:00
Teravus Ovares 6bcb0e8685 * Update on the script engine LSL parser. Blocks all static objects and method references. 2008-05-17 18:37:51 +00:00
Charles Krinke f6a4f8844f Thank you very much KMeisthax for DataSnapshot 1.1
to enhance search capability on OpenSim sims using
external search engines such as Metaversink.com and
others.
2008-05-17 15:47:08 +00:00
Sean Dague 06b1535ec5 while this doesn't fix the initial no pants issue in grid (which still baffles me)
it does make setting appearance in grid stick.
2008-05-17 12:45:43 +00:00
Teravus Ovares fbc98ca537 0001303: [PATCH] Make prim owner and data show for prims not owned. From Melanie. Thanks Melanie! 2008-05-17 02:07:38 +00:00
Teravus Ovares 349a17f664 * Tweaked patch mantis 1302 and committing it. 2008-05-17 00:16:16 +00:00
Jeff Ames a5f08b430d Formatting cleanup. 2008-05-17 00:06:35 +00:00
Teravus Ovares aa5197304e * Committing patch from mantis 0001297: [PATCH] Fix behavior of child prim inventories. Also enables 'New Script' button. from Melanie. Thanks Melanie! 2008-05-16 23:11:00 +00:00
Sean Dague ebb0cc5dd7 minor change to justin's previous fix that should still
prevent his crashes
2008-05-16 23:03:36 +00:00
Teravus Ovares abc06daefd * Patch from Melanie. Mantis 1294: Fix broken wearables icon display in prim inventories. From Melanie! Thanks Melanie. 2008-05-16 22:57:46 +00:00
Teravus Ovares a510033df5 * Applying patch in mantis 0001293: [PATCH] Fix a bug that corrupts uploaded assets on disk write from Melane. Thanks Melanie! 2008-05-16 22:50:37 +00:00
Teravus Ovares 00a1f0bab0 * This finishes the ODE options section of the OpenSim.ini.example. I've added 44 configurable options!
* This includes if you want to mesh sculpties and the Level of detail on the sculptie meshing for non physical and a separate LOD on physical sculpties.
* The options range from gravity..  to avatar movement speed, to friction management..  to object density.. to update throttling.
2008-05-16 20:16:33 +00:00
Sean Dague f99b4cbe3b prime the wearables structure, which should fix the exception
FluxOne found.
2008-05-16 19:24:28 +00:00
Sean Dague 7e17a444f0 it helps when both sides of the xml-rpc server agree on the method names 2008-05-16 19:06:58 +00:00
Sean Dague 8a7ae313be it helps to actually create the database if the connect
string is provided.  My bad.
2008-05-16 18:43:53 +00:00
Sean Dague 843be1e93d some more wrapping of errors in user service on appearance for
safety
2008-05-16 18:40:16 +00:00
Sean Dague a5fb011041 in theory implement the backend of appearance for grid.
testers encouraged so I can track down issues.
2008-05-16 18:23:13 +00:00
Justin Clarke Casey 6812de9af2 * Minor: For no particularly good reason, make all console prompts conform to the same prompt scheme 2008-05-16 18:19:02 +00:00
Justin Clarke Casey 63ddbfb979 * Eliminate occurences of "Got a texture uuid ... with no sender object to handle it..." by properly dealing with the situation where a client still has queued texture requests when it logs out 2008-05-16 18:10:04 +00:00
Sean Dague 244c776487 front end of OGS1 Appearance bits. Now I need to write the
back end.
2008-05-16 18:02:20 +00:00
Justin Clarke Casey c2581c9577 * Cache knowledge in the region server that the asset service has reported 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 17:47:34 +00:00
Justin Clarke Casey 772f88d2e5 * Removing unnecessary LLUUID.Zero check from AssetCache
* 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-16 16:37:31 +00:00
Sean Dague 6a526fcb6f add to / from hash mapping for grid serialization 2008-05-16 16:01:36 +00:00
Sean Dague a3b10caa07 starting to put appearance into grid comms. now I know why
everyone hates OGS1
2008-05-16 14:48:09 +00:00
Sean Dague 0076ed40ff in theory, this moves the appearance mapper to live
under the MySQLUserData.  There is a lot of in theory here
so testing would be appreciated.
2008-05-16 14:30:25 +00:00
Sean Dague e6d4c8f0c9 move AppearanceTableMapper to OpenSim.Data.Base. The mapper
stuff should probably be collapsed soon, as it takes up 4 assemblies
now.
2008-05-16 14:05:12 +00:00