Commit Graph

6381 Commits (3ac76db76b378525c001027596df9edbf4ed021e)

Author SHA1 Message Date
Melanie Thielker f13a48fe1c Fix regex for string->int cast to accept leading spaces and a sign 2008-09-02 06:43:16 +00:00
Melanie Thielker 14a218dbc9 Temporarily disable the unit tests for Shared/ until they can be updated. 2008-09-02 06:19:55 +00:00
Melanie Thielker 2fbebbb644 First batch of the unit test changes for the new constants semantics
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02 06:02:14 +00:00
Melanie Thielker b7a4613a0d Correct the representation of the automatic null string 2008-09-02 04:23:01 +00:00
Melanie Thielker e2a0a04beb Remove the ((bool)()) cast, since it can make c# barf 2008-09-02 04:15:06 +00:00
Melanie Thielker 61978649ec Change some chat output functions so that text is truncated at
1000 chars to avoid the exception thrown by libomv at 1100 chars.
Change string->int conversion so it copes with non-numeric chars
after the number and no longer uses a float to parse the value.
2008-09-02 03:43:18 +00:00
Dahlia Trimble a5e7807612 Y top shear accuracy improvements in circular path prim meshes 2008-09-02 01:54:08 +00:00
Melanie Thielker 146f469524 Add an explicit cast to bool for the if expression so that any base types
that slip in will not cause it to break
2008-09-02 00:03:16 +00:00
Melanie Thielker 0e7bac07f6 Thank you, Ewe Loon, for a patch that fixes various aspects of
llSetPrimitiveParams and llSetLinkPrimitiveParams
2008-09-01 23:35:52 +00:00
Melanie Thielker a5d2674a43 This is an attempt to fix the handling of constants in LSL.
It wraps constants in new LSLType(x), so that lists with
constant values are processed correctly. Contains changes to
the lsl.parser.cs that are not (yet) reflected in opensim-libs,
since this experimental patch affects XEngine only. Also contains
nuts.
2008-09-01 23:33:12 +00:00
Melanie Thielker bfeb3881f2 Another attempt at fixing XEngine llSetPrimitiveParams: Make it accept
LSLIntegers in lists, and attempt to address the scope issue on TRUE
and FALSE with readonly static linkage
2008-09-01 21:54:04 +00:00
Melanie Thielker b6bb5f944f Mantis #2095
Thank you, RuudL, for a complete adaptation of migration and estate
data to MSSQL, and the updating of the RegionData handling in MSSQL.
2008-09-01 17:10:01 +00:00
Melanie Thielker ddd68a0537 Mantis #2072
Griefer protection! When running without serverside permissions, let only
the owner edit attachments. Having everyone able to do it just isn't right.
2008-09-01 12:56:53 +00:00
Dahlia Trimble f4035840d2 compensates profile placement effects of Y hole size on X top shear for circular path prim meshes 2008-09-01 08:19:47 +00:00
Dahlia Trimble 9cf9c08696 Improvement in mesh accuracy in X Top Shear parameter for circular path prims 2008-09-01 06:00:07 +00:00
Melanie Thielker 805deb5a9b Attempt to fix an issue I havebeen seeing, where asset server failure
results in a memory leak which will make the region crash and burn
after a while.
2008-08-31 10:42:35 +00:00
Justin Clarke Casey cd5f8cf9ec * Pragma out deprecation warning and comment out to remove other warnings in the OGP module
* Thanks to Teravus for the heads up on this.
2008-08-30 22:02:04 +00:00
Justin Clarke Casey d3510def00 * If a general alert message is sent out, only send it to avatars in the scene (not child agents).
* This foxed me in the osgrid meeting last week
2008-08-30 21:52:09 +00:00
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