Commit Graph

7443 Commits (56f1b03cd0eccb8549b3f87f76b2a9494239b585)

Author SHA1 Message Date
MW 67c260fdcc Added a Catch(InvalidOperationException) to BaseHttpServer.HandleRequest(). Which is thrown due to errors in the XML deserializing. Without this catch is it easy to bring down any of the opensim servers on purpose by just sending corrupt xml to them. 2008-12-01 11:23:27 +00:00
lbsa71 5d290cda4a * Making log available for subclasses 2008-12-01 10:06:10 +00:00
Adam Frisby 4ed7ca62b1 * From Mantis#2701 - Implements NHibernate data adapter, adds support for MsSql2005 to NHibernate.
* Patch courtesy of Adminotech and realXtend. Thanks!
2008-12-01 07:50:38 +00:00
Melanie Thielker 6c86823803 Mantis #2729
Add a check for script reset permissions to the permissions module
2008-12-01 03:40:41 +00:00
Melanie Thielker ddf765f840 Make the permissions module hook CanResetScript suitable for use 2008-12-01 03:32:48 +00:00
idb 098f16fe31 Remove duplicated avatar height calculation in lsl functions.
Use height calculation in Basic Physics and Physics of Simplicity so that avatars larger than the default walk with straight legs and shorter walk on the ground.
2008-12-01 00:49:36 +00:00
Melanie Thielker d1841ca94d Mantis #2584 (again)
Next step of diva's TP fixes and HG support
2008-11-30 23:36:56 +00:00
Homer Horwitz 96921c402c Try to fix Mantis#2727. SQLite seems to be able to store bigger numbers in
an INTEGER column (using 6 bytes), but the mapping was wrong.
Question: Should we move localIDs to int instead of uint to save some bytes?
2008-11-30 22:27:22 +00:00
idb e102ed3ce1 Mantis #2716 Null when linking across objects across two regions.
Now silently fails to link prims in different regions.
2008-11-30 21:19:53 +00:00
Melanie Thielker 379d44fd6d Fix prim crossings, again. 2008-11-30 09:03:55 +00:00
Melanie Thielker 38380def17 More changes to the MySQL adapter. take advantage of pooling and run lock-free.
This should finally kill the "There is already an open data reader associated
with this connection, which must be closed first" error that makes people's
builds not save
2008-11-30 05:20:19 +00:00
Dahlia Trimble 07ee2c3504 Revert r7548 and r7549 until someone with prebuild-fu can help structure the dependencies 2008-11-30 03:52:18 +00:00
Teravus Ovares 71474f3092 * try a prebuild fix to the primmesher thing 2008-11-30 03:46:39 +00:00
Teravus Ovares 8bb1b4ad58 * try a prebuild fix to the primmesher thing 2008-11-30 03:41:50 +00:00
Dahlia Trimble 37afd69feb Removed remaining meshing code
Add PrimMesher.dll r21
All meshing tasks are now passed through Meshmerizer and handled by PrimMesher.dll
2008-11-30 03:13:02 +00:00
Jeff Ames 077314cdd3 Update svn properties. Add copyright header. Minor formatting cleanup. 2008-11-30 00:51:40 +00:00
Melanie Thielker d579246257 Explicitly Dispose() all cmd objects 2008-11-29 21:24:54 +00:00
Homer Horwitz aaba3c342f Fix usage of reflection where it isn't necessary. 2008-11-29 19:50:53 +00:00
Homer Horwitz 6408626c97 Revert justincc's try to change the licence char-by-char AGAIN!!! :P 2008-11-29 19:50:33 +00:00
Melanie Thielker b6fef0fdb8 Add configuration values for scripted prim region crossing 2008-11-29 14:26:42 +00:00
Melanie Thielker af5e9147f0 Start scripts in attachments only after a successful attach. Elimininate
a gratuitious asset fetch when region crossing.
2008-11-29 14:16:09 +00:00
Melanie Thielker b8e8a33d60 Mantis #2584
Applying a patch from Diva. This patch introduces significant improvements
in teleporting. Thank you, Diva.
2008-11-29 13:49:20 +00:00
Melanie Thielker 1b3a3ffc77 Finally make attachments stay put. Randomize local ID generation to
prevent adjacent sims from using identical Local IDs for the attachment
Thanks to Mana Janus (Hippo Viewer) for providing the crucial bit of
information, namely that, due to a bug in the viewer, adjacent sims can't
use the same local ids.
2008-11-29 13:17:21 +00:00
Melanie Thielker a00d346aab Add the lifetime management back into the LSL_Api, since that will also
expire and take the scripts down
2008-11-29 11:20:06 +00:00
Dahlia Trimble fdd2388331 Update meshing code to sync with current PrimMesher.cs on forge.
Migrate sculpt meshing code to primMesher version. This should result in more accurate physical sculpted prim proxies.
Remove much obsolete code from Region/Physics/Meshing
2008-11-29 11:02:14 +00:00
Melanie Thielker 1952a67ceb Comment the ScriptSponsor and restore the indefinite lifetime for
scripts until that can be better debugged
2008-11-29 07:10:00 +00:00
Melanie Thielker e1153394c1 Stop attachments from twisting away. Thismakes attachments phantom, which
is the proper way to handle this
2008-11-29 07:05:33 +00:00
Melanie Thielker 179d114daa Try to prevent attachments twisting/moving 2008-11-29 04:01:46 +00:00
Melanie Thielker ef4a80eeaf Should have tried with something other than attachments. Make normal prim
render again :)
2008-11-29 03:18:06 +00:00
Melanie Thielker 287c724b55 A try to better attachment crossing. 2008-11-29 01:33:10 +00:00
Justin Clarke Casey 7823ca5c8b * minor: Stop startup complaining about a missing MyAssetSet.xml all the time by creating a blank file 2008-11-28 21:12:20 +00:00
Justin Clarke Casey 8527f23c59 * Stop console misleadingly reporting an error if it cannot find a startup commands file 2008-11-28 21:09:20 +00:00
Justin Clarke Casey 4356fc1006 * minor: remove mono compiler warning 2008-11-28 21:05:35 +00:00
Justin Clarke Casey 5f9ccd486f * test: Extend take object test to finally check that the object made it into user inventory and that it was removed from the scene 2008-11-28 20:58:12 +00:00
Teravus Ovares c9a5215d6d * Fixes Location == Location, and Location != Location 2008-11-28 20:37:21 +00:00
Justin Clarke Casey dfbec673a4 * simplify AddNewClient since making this root without using MakeRootAgent() no longer sets everything up properly 2008-11-28 20:11:17 +00:00
Teravus Ovares 86b75d1617 * Committing a new test, that will fail until someone decides to fix Location == Location. Obviously, if that is failing then many other things that test location will fail. 2008-11-28 20:07:13 +00:00
Teravus Ovares 414bf2aaf1 * The equals override of 'Location' is not working as expected. This caused sim restarts to fail because the test that searches for and shutsdown the UDP server listener for that region never found and shutdown the udp server. hence the error message, "only one listener on port".
* This is a high profile candidate for a unit test. (big)
2008-11-28 19:44:44 +00:00
Justin Clarke Casey 71e05a5707 * test: Add a wodge of code in order to be able to slightly extend a test to deliver a taken object to a user inventory folder without throwing an exception
* test doesn't actually double check for the presence of the item yet
2008-11-28 19:39:46 +00:00
Justin Clarke Casey abfb7bd2cf * test: Separate out async deletion methods to test delete and take copy separately.
* The take copy test doesn't currently actually test the take
2008-11-28 17:41:45 +00:00
Justin Clarke Casey df9b0e9e11 * refactor: Replace derez destiation magic numbers with an enumeration 2008-11-28 17:18:10 +00:00
Justin Clarke Casey a199d9b955 * minor: remove unused JId class 2008-11-28 16:10:30 +00:00
Justin Clarke Casey 18974b7766 * refactor: rename UserServiceAdmin to UserAdminService 2008-11-28 16:04:01 +00:00
Justin Clarke Casey 63851f1441 * refactor: move ResetUserPassword into UserServiceAdmin 2008-11-28 15:47:01 +00:00
Justin Clarke Casey 7b49c711e9 * minor: Eliminate unused paramter in LocalUserServices constructors 2008-11-28 15:40:44 +00:00
Justin Clarke Casey 0862627b34 * refactor: move CreateUser into UserServiceAdmin 2008-11-28 15:34:30 +00:00
lbsa71 27d9e715c0 * Changed name of auth function to better reflect actual use 2008-11-28 12:31:30 +00:00
Melanie Thielker 09281fb55c Correct wrong inverted logic on settings goup 2008-11-28 09:54:27 +00:00
Melanie Thielker dd3f87ceb5 Revert setting the parent local is explicitly, as that caused even more
failures
2008-11-28 04:50:50 +00:00
Melanie Thielker 0afbb6cb3e Omit parcel checks for attachments. 2008-11-28 04:31:39 +00:00