Commit Graph

7264 Commits (26fd6c741f74b51f6bd090b4e6e5140d28936c2b)

Author SHA1 Message Date
Justin Clarke Casey 26fd6c741f * Resolve http://opensimulator.org/mantis/view.php?id=2743 and http://opensimulator.org/mantis/view.php?id=2739 by no longer bothering to store or retrieve the local parentID in
the region database
* The original issue is that the now randomly generated local ids do not fit into the int parentID datatype
* However, as far as I know it's actually pointless to store this local parent ID anyway (we already store the groupUUID), especially as we don't bother to store the localID (as 
opposed to UUID itself).
* Conservatively, the actual column will be removed in a later commit
2008-12-02 14:59:52 +00:00
lbsa71 5588cb3e92 * reverted 7561 as the logger reference should always be private to the class. Thanks sdague for the protip! 2008-12-02 14:09:45 +00:00
MW 8f7c2ba91b changed UserManagerBase. IInterServiceInventoryServices m_interServiceInventoryService from private to protected 2008-12-02 13:15:10 +00:00
Melanie Thielker 5a7ffb7298 Remove some of the XEngine chattiness 2008-12-02 12:12:50 +00:00
MW 11169c0e71 Made BaseOpenSimServer.ShutdownSpecific() public. As the OpenSimBase.Shutdown() includes a Environment.Exit(0); which is not always wanted when shutting down, like from a windows service. 2008-12-02 11:40:22 +00:00
MW b62b9af6b0 Added two new "trusted" url handlers to the Inventory server, to allow the user server to get a list of items in a folder and add a new item. 2008-12-02 11:15:08 +00:00
Melanie Thielker bf4ccf3858 Catch all possible exceptions in the mysql module. It throws non-mysql
exceptions as well.
2008-12-02 01:50:15 +00:00
Homer Horwitz 4480d5527b Fix Mantis#2527. Permissions returned false for editing non-root SOPs. Now,
they will use the SOG the SOP belongs to (as it was for the root-SOP already).
2008-12-01 22:28:17 +00:00
Sean Dague 047e54acbc don't close eventqueues when you leave a region. This really does seem
to fix the A -> B -> A issue.  Because the code is very reuse friendly,
it shouldn't cause much additional memory bloat in the sims.

I'm sure this isn't the right fix, but it is progress, and confirms that
the close path while leaving a region is part of the issue.
2008-12-01 21:03:55 +00:00
Justin Clarke Casey 18ba6c3510 * minor: A few tiny bits of documentation and log message cleanup before starting something different 2008-12-01 20:28:00 +00:00
Justin Clarke Casey 2cf0be7d58 * Assume that asset data in a reset inventory post is not inlined by default
* This means that the xml of a get request can be used as the input with a few value tweaks, instead of having to explicitly put inline="false" in the output xml
2008-12-01 19:23:12 +00:00
Melanie Thielker 733faf9748 Fix the terrain loader 2008-12-01 19:08:58 +00:00
Justin Clarke Casey e31b8be54d * minor: remove 2 mono compiler warnings 2008-12-01 19:02:16 +00:00
Melanie Thielker 5727146d61 More reverts. Revert the MySQL database module. This caused more issues
than it solved by trying to use, and then exhausting, the connection pool
2008-12-01 18:59:13 +00:00
Justin Clarke Casey 80520206fc * Unforunately it turns out not to be that simple. Revert the rest of r7560 for now. 2008-12-01 18:42:14 +00:00
Justin Clarke Casey 3b143088c0 * Temporarily revert nhibernate.dll to the previous one
* This resolves problems on Linux detailed in http://opensimulator.org/mantis/view.php?id=2734 where System.Data.Oracle libraries can't be found
* On a quick look I can't see that these exist on mono 1.9.1
2008-12-01 18:27:24 +00:00
Justin Clarke Casey 4699cd7957 * stop inventory item creation via REST falling over on any included assets that are not inline (UUID only)
* make rest inventory item xml output use 'invtype' for inventory type rather than just 'type'.  This makes it symmetrical with input xml
2008-12-01 18:09:04 +00:00
Justin Clarke Casey 5a0fa4f34c * minor: fix log message printed when unrecognized elements are found in inventory rest input xml 2008-12-01 17:49:52 +00:00
Sean Dague c8abe037a5 fix the "I get no textures if I teleport back to a region I've been in
before" issue.  This involves the EventQueueGet module so I'm not sure
this is the right fix but it appears to work.

When the ScenePresence leaves force a close on it.  The reuse of the
queues doesn't seem to be working, so the forced close causes a new one
the next time in.  This does appear to work.
2008-12-01 16:55:39 +00:00
Sean Dague 21b1218737 attempt to modify the event queue for greater debugging 2008-12-01 16:49:26 +00:00
Charles Krinke 01fc0492d0 Mantis#2730. Thank you kindly, StrawberryFride for a patch that:
MSSQL Fix to accommodate random ParentIDs. uint values now 
cleanly converted to ints and vice versa to hopefully prevent 
outofrange exceptions on prim storage.
2008-12-01 15:03:57 +00:00
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