Commit Graph

4671 Commits (afd59e862e8c6c289f179526261b312008caf3b3)

Author SHA1 Message Date
Sean Dague e3efe1de16 attempt to fix mysql mapper usage 2008-05-20 22:37:18 +00:00
Sean Dague 70ada9181d move SceneEvents.cs to EventManager.cs, as that's actually
the name of the contained class.
2008-05-20 20:39:44 +00:00
Dr Scofield a53cea6b7e i'm extending the RestStreamHandler.Handler(...) signature to actually
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-20 16:51:45 +00:00
Sean Dague 185eff8d0d From: Jeremy Bongio <jbongio@us.ibm.com>
House cleaning ...

Rather than using the variable name EntityList, the variable name
EntitieList was being used. Here's a patch to fix it.
2008-05-20 16:19:35 +00:00
Jeff Ames 535d64b66b Add copyright notices.
Fix spelling typo (Thanks ChrisDown for pointing this out)
2008-05-20 15:38:49 +00:00
Dr Scofield 60ceef7ea2 my last "simplification" of the the if-then-else logic in BaseHttpServer 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-20 12:58:27 +00:00
Jeff Ames b7c8020a3e Update svn properties. 2008-05-20 04:35:04 +00:00
Sean Dague ceadfb6eb7 remove the appearance lines from the OpenSim.ini.example. They
don't do anything now.
2008-05-19 21:50:56 +00:00
Sean Dague 6d2f6be82b autocreate appearance table if it isn't there 2008-05-19 21:47:31 +00:00
Sean Dague 419adadc46 prep for changes need to create the appearance tables
by default
2008-05-19 21:39:02 +00:00
Sean Dague 29fb93d243 fix a constant that meant pants still weren't working. now
you really can have pants.
2008-05-19 21:24:39 +00:00
Sean Dague d1c4fc94e7 make the super class conveniance appearance stuff virtual
so they can be overrided correctly by subclasses
2008-05-19 20:49:57 +00:00
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