Commit Graph

5863 Commits (669f55340005a450fc236db3b9d660878062219c)

Author SHA1 Message Date
Justin Clarke Casey c713ec8223 * Committed patch in mantis 623
* Unpatched code certainly looks bizarre - attempts to add a new client if we encountered a failure in processing a packet.  No apparant ill effects on a sniff test.
* Thanks openlifegrid
2008-08-30 21:33:55 +00:00
Justin Clarke Casey e4ec9829cd * Apply cmickeyb's patch from mantis 2068
* llParseString functions throw exception when passed a list of variables 
* Thanks!
2008-08-30 21:12:58 +00:00
Justin Clarke Casey d2344b5626 * Oops, add landmarks to region archive loading/saving
* Hopefully this will resolve mantis 2049
2008-08-30 21:05:09 +00:00
Adam Frisby 2133fa56e7 * Added new MySQLSuperManager support for the grid servers.
* In theory, login and a large number of grid functions should now at least be multithreaded.
2008-08-30 19:35:22 +00:00
Justin Clarke Casey 3faadb3f5c * minor: Tiny doc addition to trigger another build that hopefully won't fail
* I can't see why the last compile failed - hoping it's some kind of glitch
2008-08-30 18:29:37 +00:00
Justin Clarke Casey 49ec6dd882 * squash some obvious warnings
* a couple more remain that preferably the original coders should look at in more detail (obsolete warnings in the ogp module and not overriding warnings in the script 
engine)
2008-08-30 18:09:38 +00:00
Justin Clarke Casey 645d2c49e1 * Remove unused OpenSim/Framework/RegionHandle.cs as per Homer's suggestion in mantis 2082. Thanks. 2008-08-30 17:57:48 +00:00
Justin Clarke Casey 8f31c47f2f * Apply patch in mantis 2083
* TimeStamp field of the AgentMovementCompletePacket in LLClientView.MoveAgentIntoRegion contained a fixed number. The attached patch changes this to a current 
timestamp.
* Thanks HomerHorwitz
2008-08-30 17:51:12 +00:00
Adam Frisby 72b0a53ada * Fixed #2807 Again, Whoops. 2008-08-30 16:46:51 +00:00
Adam Frisby e471a33961 * Fix for Mantis #2087, Standalone MySQL broken with threading improvements. (Didnt realise this code was being shared with the gridservers) 2008-08-30 14:27:28 +00:00
Adam Frisby b63922dcfe * Minor fix to previous threading patch, every nTH request would previously have been delayed for 1000ms. This has been fixed. 2008-08-30 13:46:04 +00:00
Adam Frisby 0a5280edb5 * Added new "SuperManager" class for MySQL connections, for allowing multiple concurrent MySQL threads.
* Implemented SuperManager inside of UserData. This means the userserver when running on MySQL will use 10 connections (+1 system connection) to handle requests, preventing the previous mire of locking resulting in singlethreadedness.
* This requires testing and grids relying on stability should not upgrade to this revision until it's been properly tested.
2008-08-30 13:38:46 +00:00
Adam Frisby 618ccd4ebc * Ditto, UserServer/Main.cs 2008-08-30 13:06:58 +00:00
Adam Frisby d0397af998 * More cleanup, including UserManager. 2008-08-30 13:03:38 +00:00
Adam Frisby 50a62145ad * Initial inspection of UserLoginService.cs, cleaned up source code slightly to make it easier to work with. 2008-08-30 12:58:54 +00:00
Adam Frisby f57f4d1ab8 * Added "File Asset Client" to OpenSim Asset Server-types.
* You can replace "grid" as the asset system with "file" to save and load all your assets from a directory on your hard disk. Files are serialised to XML and saved in the format "/<dir>/0x/0x/0x/0000-0000-000000-0000-0000.xml"
* Directory <dir> is sharing the Asset Server URL path, use a normal path here instead (ie C:\xyz or /var/assets/). 
* This probably wont work well in grid mode unless every sim has access to the same directory. This is mostly intended for standalone usage where quick and convenient access to assets is required.
2008-08-30 04:42:23 +00:00
Mike Mazur 766dded703 Update TESTING.txt documentation. 2008-08-30 01:38:41 +00:00
Charles Krinke e3308c0fa5 Mantis#2084. Thank you kindly, HomerHorwitz for a patch that:
Addresses the problem of ghost avatars. The problem was child-agents 
sending data. Due to symmetry reasons, I considered that wrong. 
Whenever an avatar A1 in region R1 looks at avatar A2 in adjacent 
region R2, we have two possibilities to communicate: A2-root sends 
to A1-child (both in region R2), or A2-child sends to A1-root 
(both in region R1). Currently, the children send data in some cases, 
and I guess the viewer gets puzzled about that and switches the child 
to root as consequence (at least partly), so it becomes visible.
2008-08-30 01:21:18 +00:00
Melanie Thielker fda5457996 Maintis #2078
Thank you, ralphos, for a patch that corrects the handling of compiler
warnings in the XEngine, which were erronoeously reported as errors!
2008-08-29 19:57:01 +00:00
Charles Krinke 9fc67f1908 Mantis#2067. Thank you kindly, HomerHorwitz for a patch that:
Found that during my ghost-hunt: Add some logging and you see that the 
counting down happens twice (once at the place that is removed by the 
patch, and once caused by the actual removal of the root-/child-agent 
during LLClientView.Close). With the patch applied, I end up with correct 
numbers, i.e. with 0 roots and 0 children after everyone has logged out.
2008-08-29 14:21:31 +00:00
Melanie Thielker ee0a5caa30 Fix an issue where the client supplies an empty name and it was applied
to the inventory item, causing the item to wind up without a name.
2008-08-29 11:03:58 +00:00
Dahlia Trimble 35ad484b6b fixed some ugliness in the conversion from the new mesher format to the old that should speed up region startup a little and maybe even use less memory if the GC decides to play friendly with the other kids. 2008-08-29 08:19:47 +00:00
Melanie Thielker 10b2a4597a Mantis #1903
Thank you, cmickeyb, for a patch that fixes inventory folder retrieval.
2008-08-28 20:56:53 +00:00
MW bd525d4da0 commented out the SurfaceInfoBlock read code in libsecondlife packet.cs 2008-08-28 16:06:55 +00:00
MW 571f296fe1 another attempt to fix the surfaceInfoBlock issue 2008-08-28 15:44:57 +00:00
MW 8d3fc87303 change the size limit on TranferPacket in libsl from 1100 back to 1500 (which is was in old libsl) 2008-08-28 15:16:52 +00:00
MW d220d9e24b Doh! fixed silly mistakes in last commit 2008-08-28 14:54:08 +00:00
MW f6614c10bf attempt to fix problem with missing surfaceInfoBlocks in the objectgrab packets sent by < 1.21 clients. 2008-08-28 14:46:25 +00:00
Jeff Ames 3bf8858727 Update svn properties, formatting cleanup. 2008-08-28 14:41:54 +00:00
Melanie Thielker 086284da55 Thannk you, Ralphos, for a patch the corrects an improper cast in
llSetPrimitiveParams
2008-08-28 14:08:09 +00:00
Sean Dague 605ceb6176 Fix for Bug #2065: New check out crashes on sqlite migration
I apparently missed one drop tables statement that was actually needed
when I did the cleaning to make this work for old sqlite versions.
2008-08-28 12:47:55 +00:00
MW 0c7a53d7c4 updated our libsl, _packet_.cs to the current version from openmv
Update with a bit of caution as not fully tested yet.
2008-08-28 12:39:06 +00:00
Melanie Thielker 5dac6242bd Thank you, salahzar, for a patch that adds some more functions
from DotNetEngine into XEngine.
2008-08-28 10:42:22 +00:00
Dr Scofield 1828091528 create-region didn't know about regionload_regionsdir... 2008-08-28 10:01:56 +00:00
Dr Scofield 0921dafddf adds XmlRcpLoadOAR support to RemoteAdminPlugin.cs 2008-08-28 09:34:47 +00:00
Teravus Ovares 47127abfb6 * Added hack so that if the default OpenSimulator ParentEstateId(100) is being sent through rez_avatar, it'll be swapped out with 1. This ensures that when the map recognizes the parent estate id parameter on the linden grid, it'll work as expected. This also has the effect of making it impossible to send a Parent Estate ID with 100 over OGP from OpenSimulator (Sorry Owner of estate 100). 2008-08-28 08:25:47 +00:00
Teravus Ovares 88b3df9d52 * OGP update, deserialize the parameter array properly in rez_avatar
* Tweak rez_avatar data so it's easier to update when OGPr3 comes out
2008-08-28 08:13:35 +00:00
Dr Scofield 4a3523bc67 this fixes the crash reported by mantis #2046: user server crashing if
no OpenSim.ini file found by GridInfoService. GridInfoService now will
just issue a warning that GridInfo will NOT be available to your users 
if no OpenSim.ini file is available. due to the static nature of 
UserConfig (configuration options hardcoded) i don't think it's currently
an option to move GridInfo into user_server.xml but if anyone wants to 
look into this i'd be delighted...
2008-08-28 07:37:16 +00:00
Dahlia Trimble 49f9bd8b68 Added some exceptions for bad profile cut parameters 2008-08-28 06:41:32 +00:00
Melanie Thielker 53f78a1087 Thank you, A_Biondi, for patch to porperly apply the new item name
when copying within agent inventory
2008-08-28 02:36:40 +00:00
Melanie Thielker bf4d1fbb8d Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,
which is a thin wrapper around a IWorkItemResult from the SmartThreadPool.
However, it is very easy to reimplement on top of basic threading and therefore
makes the IScriptInstance class independent of the specific threading
implementation.
2008-08-28 00:37:22 +00:00
Melanie Thielker 82aa9ba2b5 Remove self-referential build dependency that breaks build under
Windows
2008-08-27 23:55:46 +00:00
Dahlia Trimble 1a83384f90 re-enable new PrimMesher module for mesh creation for standard (non-flexy) prims. 2008-08-27 23:43:53 +00:00
Dahlia Trimble 2c842652c1 ODEPlugin now frees source mesh data after conversion to pinned lists to save memory 2008-08-27 23:39:50 +00:00
Dahlia Trimble e593a333c7 adds releaseSourceMeshData() method to IMesh and Mesh for freeing mesh data after conversion to pinned lists. 2008-08-27 23:37:14 +00:00
Melanie Thielker 5525a3ecb4 Thank you, salahazar, for a patch that corrects the behavior of
llDetectedLink(). Also a small refactor to remove an interface member
from IScriptEngine.
2008-08-27 22:53:58 +00:00
Melanie Thielker 6e3367d68c Refactor XScriptInstance to IScriptInstance and move into Shared/. Now
engines that want to use the XEngine's instance handling and state
persistence can do so. IScriptInstance is optional, but it does
require the SmartThreadPool if it is used.
2008-08-27 22:38:36 +00:00
Melanie Thielker a2985b5655 Refactor Executor into the script app domain and IScript. This changes
an implicit reference into a proxied one and further reduces memory
consumption of XEngine
2008-08-27 21:36:03 +00:00
Teravus Ovares f900553b58 * Updates OGP module to define a default starting point
* An attempt to solve an intermittan SSL Certificate validation error causing communications havok.
2008-08-27 20:27:18 +00:00
Sean Dague 3465a5772a cleaning out cruft from pre-Migration days 2008-08-27 19:24:48 +00:00