Commit Graph

5209 Commits (26fd0595d7ebd150df798c63c8bcfd6b7cf3425c)

Author SHA1 Message Date
Charles Krinke 26fd0595d7 Mantis#1598. Thank you kindly, Matth for a patch that addresses:
The previous implementation of llEuler2Rot was not mathematically 
incorrect, but it was an awkward way of posing the problem that 
led to a few degenerate cases which were not handled correctly - 
for example, PI rotations around X and Z axes were wrong. I put 
some comments in the source about how I arrived at the current 
implementation, which I think is easier to read, and gives 
results that match SL.
2008-07-17 19:11:56 +00:00
Sean Dague 6084a7ea3e Revert "git merge"
This reverts commit 80e1c3742a3ba7eb9aa1686a242b36f64331095a.
2008-07-17 18:59:10 +00:00
Sean Dague dd144e12ba git merge 2008-07-17 18:59:06 +00:00
Sean Dague 1c0f27b013 finish NHibernate mapping for prims, and it even seems to work 2008-07-17 18:59:04 +00:00
Sean Dague 43df32c52c fix the null case for deep copy 2008-07-17 18:59:02 +00:00
Sean Dague 0a01be9a86 more safety checks 2008-07-17 18:59:01 +00:00
Sean Dague db9e6584bf add a null check for safety 2008-07-17 18:58:58 +00:00
Sean Dague d5e0a3a184 got basic region object saves working time for lunch 2008-07-17 18:58:47 +00:00
Sean Dague 9aa0302e5b early remove calls 2008-07-17 18:53:38 +00:00
Dr Scofield 6ca23c1123 rearranging variables in OSHttpRequest and adding Query property. 2008-07-17 16:51:23 +00:00
Charles Krinke e8412dcd42 Mantis#1736. Thank you kindly, StrawberryFride for a patch that:
Many issues with handling connections in MSSQL, have rearchitected to 
ensure that connections are always opened and closed in a timely fashion 
& disposed of cleanly, and removed unnecessary lock statements. SQL 
Server performance seems to have improved considerably as a result, 
and various timeout errors seem to have been fixed.
2008-07-17 13:43:31 +00:00
Dr Scofield ed4241583f morphing OSHttpHandler interface into an abstract base class. adding
HTTP method matching support. adapting OSHttpXmlRpcHandler
accordingly. dropping OSHttpXmlProcessor delegate in favour of good
old XmlRpcMethodHandler delegate (was the same signature).
2008-07-17 12:54:15 +00:00
Sean Dague 2a30e85c97 added index to ParentID on prims, as this is sorted on for prim loading.
This should speed up initial load of prims, especially on primy regions.
2008-07-16 22:16:46 +00:00
Sean Dague 40ab5f2085 clean up mappings for parent id 2008-07-16 21:28:01 +00:00
Sean Dague 6adac3bd5a getting close on saving prims via nhibernate 2008-07-16 21:27:59 +00:00
Sean Dague 44d0b7c724 make ParentUUID be a cached value, but allow setting it for
short term storage (needed to rebuild SOGs)
2008-07-16 21:27:57 +00:00
Sean Dague d3190236cc fix RegionStore creation so that the .sql file works 2008-07-16 21:27:55 +00:00
Sean Dague 194ffb4d88 made SOP have a blank setter for 2 convenience properties.
Got RegionStore mapping to the point that nhibernate would start, though
definitely not complete
2008-07-16 21:27:52 +00:00
Sean Dague 58a0d0bb32 be a little more discriminating on firing ShapeChanged script events
so that we don't get them on every object construction.
2008-07-16 18:29:03 +00:00
Sean Dague a61cc1fcac add pidb files to gitignore 2008-07-16 15:19:10 +00:00
Sean Dague d9523b4e1a change fields to private so everyone will use properties 2008-07-16 15:18:13 +00:00
Sean Dague f3173735fa Revert "refactoring of PrimitiveBaseShape to properties"
This reverts commit 60e13a9997da89d224fbe8a97ab42bfc6114a45f.
2008-07-16 15:10:35 +00:00
Sean Dague 1e447478b8 refactoring of PrimitiveBaseShape to properties 2008-07-16 14:41:57 +00:00
Sean Dague e2d02cbf65 further property refactoring of PrimitiveBaseShape 2008-07-16 14:41:53 +00:00
Sean Dague c6b1a190bc refactoring primitive base shape to use properties 2008-07-16 14:41:49 +00:00
Sean Dague 309e479ac4 work in progress on nhibernate 2008-07-16 14:40:19 +00:00
Charles Krinke 0106f96716 Mantis#1755. Thank you kindly, Matth for a patch that solves:
When using math operators +,-,*,/ in an LSL script with an LSLFloat 
and an integer literal the wrong result is returned. This patch 
adds operators to the LSLFloat type to handle this case.
2008-07-16 14:30:22 +00:00
Dr Scofield 1e39bfb036 squashing warnings critters 2008-07-16 09:42:14 +00:00
Charles Krinke 4350613f1d Mantis#1746. Thank you kindly, nlin for pointing out that
I needed to apply the patch a little better then last night
for: Dot product operator in LSL_Types.cs incorrectly returns 
a component-wise vector multiplication; it should return a 
scalar dot product. Thanks to M. Igarashi for the patch.
2008-07-16 03:07:54 +00:00
Johan Berntsson 337a46474a Updated files for the loadbalancer web interface 2008-07-16 03:04:45 +00:00
Mike Mazur 18aa58c63b Fix issue 1582. The maximum allowable length for a string passed to SimChat is 1500. If it was longer than 1500, it was being truncated to 1501 characters. This caused an exception and prevented the errors from reaching the console and the user in-world. 2008-07-16 01:19:32 +00:00
Charles Krinke 620f7926f3 Mantis#1753. Thank you kindly, Kinoc for a patch that:
Brings Yield Prolog up to date with sourceforge version 0.9.10
Patched applies to both DotNet and XEngine.
2008-07-16 01:00:40 +00:00
Sean Dague 2f46ab5096 add migration for SceneGroupID to char(36) plus add an index. This
should actually speed up deletes substantially, especially for large
regions, as this was a table scan before.
2008-07-15 20:06:58 +00:00
Sean Dague b5efb49d74 added new ParentUUID property to map out from SOP.
Updated some nhibernate parts, started in on migration.
2008-07-15 18:57:18 +00:00
Justin Clarke Casey d75cacb050 * Expose client statistics to the console via 'show stats'
* Potentially useful for diagnostics without needing to log in a client
* Packet queue statistics commented out for now pending a better way to cope with the information overload
2008-07-15 18:07:23 +00:00
Dr Scofield 00c15eb0c4 cleanup: fixing CamelCase issue with RestDeserialiseHandler. 2008-07-15 13:33:31 +00:00
Dr Scofield 8b933e53c0 fixes handler scoring method. XmlRpc code path now fully working with
HttpServer. :-)
2008-07-15 13:06:30 +00:00
Dr Scofield 788c3c497b removes a Console.WriteLine(...) remnant. 2008-07-15 13:02:10 +00:00
Dr Scofield 5d0b6343a0 killing a lonesome warning that managed to creep in... 2008-07-15 12:02:49 +00:00
Dr Scofield b77bcb6660 fixes a couple of issues i introduced yesterday, one of them MapBlock queries crashing. 2008-07-15 11:46:13 +00:00
Charles Krinke 4848dcf0e3 I had to revert the Mantis#1746 patch as although the local build
with Windows compiled, the automated build failed.
2008-07-15 03:17:45 +00:00
Charles Krinke ff16a886c1 Mantis#1746. Thank you kindly, nlin & M.Igarashi for a patch that:
Dot product operator in LSL_Types.cs incorrectly returns a 
component-wise vector multiplication; it should return a scalar 
dot product. Thanks to M. Igarashi for the patch.
2008-07-15 03:06:38 +00:00
Charles Krinke 8fcd9532ab Mantis#1745. Thank you kindly, Lulurun for a patch that:
Fixes simulator webmap functionality.
2008-07-15 02:59:23 +00:00
Sean Dague edbf997e29 added RegionID get property 2008-07-14 21:39:30 +00:00
Justin Clarke Casey 8e3f83b1c8 * Change load-oar/save-oar status to highly experimental.
* See http://opensimulator.org/wiki/OpenSim_Archives for more details.
* These commands can now be used on an experimental basis.  save-oar saves the entire current region (prim data, assets, prim inventory items, terrain) to a single tar.gz file.
* load-oar loads an opensim archive and entirely replaces the current region (at the moment).
2008-07-14 20:56:53 +00:00
Charles Krinke b100b841b3 Mantis#1739. Thank you kindly, Grumly57 for an additional patch that:
Changed code to include Melanie's advice about X-SecondLife-Region, 
then put the exact same content format as a llHTTPRequest issued by 
other grids.
2008-07-14 17:47:12 +00:00
Justin Clarke Casey 177001cdfc * On an archive load, make the master avatar the owner of all scene objects for now 2008-07-14 16:44:50 +00:00
Justin Clarke Casey 9cb4ba9d6b * For now, when loading an archive all the existing scene objects get deleted by default 2008-07-14 16:23:59 +00:00
Dr Scofield 31e5d348f6 adding support for Xml2 serialization format to XmlRpcLoadXMLMethod. 2008-07-14 14:40:39 +00:00
Charles Krinke 00791594ad Mantis#1739. Thank you kindly, Grumly57 for a patch that:
Implements X-SecondLife-* HTTP Headers for llHTTPRequest
2008-07-14 13:51:54 +00:00