Commit Graph

4833 Commits (ec16750a87bffd647ce211b502b709c4a236c45b)

Author SHA1 Message Date
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
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
Sean Dague 066715415a getting rid of pre-Migration cruft 2008-08-27 19:24:46 +00:00
Sean Dague c75f1fcde8 we are now past change 6000, so getting rid of pre-Migration cruft 2008-08-27 19:24:45 +00:00
Sean Dague b625a36ae5 we are now past change 6000, so getting rid of the pre-Migration
upgrade cruft
2008-08-27 19:24:40 +00:00
Melanie Thielker 1a3f83c94b Erm - make the distanc factor really work....
(wipes egg off face)
2008-08-27 19:12:17 +00:00
Melanie Thielker bc78a6335b Mantis #2058
Remove the physics representation of link set child prims when the
link set is deleted.
2008-08-27 19:06:07 +00:00
Sean Dague fc81ddc1d1 From: Richard Alimi <ralimi@us.ibm.com>
The following patch fixes the import of assets via the REST interface to
use the proper Base64->Bytes conversion. The previous conversion did not
work correctly for binary data, in particular for textures.
2008-08-27 18:59:42 +00:00
Sean Dague 5bf5e1c320 remove legacy pre-Migration database upgrade routines 2008-08-27 18:51:43 +00:00
Sean Dague 49df787665 remove the legacy pre-Migration database upgrade paths 2008-08-27 18:51:42 +00:00
Sean Dague ba16a27ab0 remove pre-Migration upgrade paths 2008-08-27 18:51:40 +00:00
Sean Dague 53afa23608 we're past checkin 6000, so now cleaning up all the cruft of the pre
migration database upgrade paths.  This is coming in in stages.
2008-08-27 18:51:36 +00:00
Melanie Thielker a12f652347 Make the check on inventory cache clearing more robust. Addresses
Mantis #1975 in a broader way. This may or may not prop up
secure inventory a bit better, but I still recommend to disable it
2008-08-27 17:50:07 +00:00
Sean Dague f87f8b3b9f get rid of the "drop if exists" lines in this old migration, as those
tables shouldn't exist yet, and the exists keyword is relatively new in
sqlite.  This has been breaking a lot of people on Suse Enterprise Linux,
for instance.
2008-08-27 17:32:02 +00:00
Melanie Thielker 788dff7090 Implements the r6005 foes for XEngine as well 2008-08-27 17:19:56 +00:00
Melanie Thielker 1ac6bb3107 Add ScriptDistanceLimitFactor to OpenSim.ini to allow modifcation of
LSL's arbitrary 10 m limit on object movement.
Also implements the 10 m maximum rezzing distance, subhect to the same
factor.
2008-08-27 17:12:55 +00:00
Dahlia Trimble 36d1720fde reverting to prior meshing methods until some physics timing issues can be resolved 2008-08-27 09:49:13 +00:00
Dahlia Trimble 65c82c2494 Added some exception trapping to PrimMesher 2008-08-27 08:03:52 +00:00
Dahlia Trimble cf951d4d04 Added some exception handling to help catch some possibly corrupt prims 2008-08-27 07:30:14 +00:00
Dahlia Trimble 3481a977f0 Meshmerizer now uses new PrimMesher class for meshing all standard (non-sculpty) prims. This should result in more accurate meshes, lower memory consumption, and eliminate several lockup modes. 2008-08-27 06:53:09 +00:00
Dahlia Trimble 8be249bc68 Completion of new PrimMesher class 2008-08-27 06:39:39 +00:00
Dahlia Trimble fce83731ad Modified Mesh object to allow alternative mesher interfacing 2008-08-27 06:29:34 +00:00
Charles Krinke 363989195a Mantis#1518. Thank you kindly, Zaki for a patch that:
Issue is caused by the terrain height not being queried before 
teleporting within the region. Teleporting between regions is 
correct. Adding the neccessary checking to intra-region TP code.
2008-08-27 02:49:47 +00:00
Charles Krinke e2b0852c93 Mantis#2052. Thank you kindly, Avdleeuw for a patch that:
After having built revision 5992, OpenSim would start while 
issuing some errors regards updates to user profiles (Master 
Avatar, and other manually added avatars). Issue 2027 dealt 
with the MySQL part. This issue deals with the SQLite part.
2008-08-27 02:45:10 +00:00
Charles Krinke 84cdebe470 Mantis#2047. Thank you kindly, Simsim for a patch that addresses:
avatar sitting on the object can not telport to other regions.
2008-08-27 02:40:14 +00:00
Melanie Thielker 670719cb76 Mantis #1903
Thank you, cmickeyb, for a patch that prevents the loss of folders received
out of sequence, and the items within.
2008-08-27 00:40:36 +00:00
Justin Clarke Casey 8462c8c497 * Eliminate commented out code no longer needed, as discussed on the ml 2008-08-26 18:44:34 +00:00
Justin Clarke Casey f0448e299d * On loading archives, report an error if an asset does not have the expected filename format 2008-08-26 18:14:10 +00:00
Teravus Ovares d48d928858 * One more tweak to the application/xml vs application/llsd+xml routine 2008-08-26 06:05:43 +00:00
Teravus Ovares 1015ca3863 * It turns out that Mono doesn't currently support setting the Certificate validation handler, however, it throws a NotImplemented exception.
* Added Try/Catch/Message
2008-08-26 05:41:07 +00:00
Teravus Ovares b3a6f8d688 * Workaround for application/llsd+xml requests coming in as application/xml
* When OGP is active, disable SSL certificate chain validation.  I'll add more options here to come, as well as a way to test against a group of known certificate subjects.
2008-08-26 05:20:46 +00:00
Teravus Ovares 9f635e354b * Fixed a bug that occurred if your home region wasn't logged in, in standalone. It wouldn't let you in even if your destination region is online with a 'region x not found' message.
* The purpose of the check was to ensure that your home region was sent to your client properly when you connected.    However, the desired result is that if the home region is down, but the destination region is online, the user should still get in.
* Changes: if the home region isn't available, set the message to the client so that the home region is the destination region.
2008-08-26 03:07:24 +00:00
Justin Clarke Casey 4aa204c8ea * minor: zap some more compilation warnings 2008-08-25 23:32:06 +00:00
Teravus Ovares 43ab833be0 Documentation, headers and all the normal stuff 2008-08-25 23:31:50 +00:00
Justin Clarke Casey c4d6a928c9 * Append thread information on to the end of period diagnostics information
* This is working towards finding out why many more client threads are hanging about on wright plaza than there are actual agents
2008-08-25 23:27:08 +00:00
Justin Clarke Casey 4a475ca2be * minor: refactor thread report into a method that returns a string rather than displays information directly 2008-08-25 23:21:07 +00:00
Justin Clarke Casey 71e8a9a12f * minor: upgrade version info to post 0.5.9 2008-08-25 22:09:02 +00:00
Justin Clarke Casey ba2130046f * minor: Comment out the remaining unhandled packet messages in LLClientView, except for unidentified packets
* These make it more difficult to read the logs, and I don't think they help all that much
2008-08-25 22:01:51 +00:00
Justin Clarke Casey ad262444dc * minor: some logging conformance, code documenting 2008-08-25 21:55:44 +00:00
Charles Krinke a055d3c2e8 Mantis#2045. Thank you kindly, Tyre for a patch that:
This patch adds even more LSL compatibility to llSetPos() As stated in the 
wiki http://wiki.secondlife.com/wiki/LlSetPos, [^] movement should also be 
capped to 10m per call for unattached root prims.
Beside this issue the attached patch adds (hopefully) all known LSL script 
delays (as ScriptSleep(), but still commented out) to LSL_BuiltIn_Commands.cs 
and LSL_Api.cs and a lot of format cleanup.
2008-08-25 21:39:36 +00:00
Justin Clarke Casey 3d2069f3d9 * zap compilation warnings 2008-08-25 21:35:22 +00:00
Justin Clarke Casey 7402c2d288 * Deal with a WebException thrown if a grid server cannot be contacted for region information 2008-08-25 21:26:58 +00:00
Melanie Thielker 24456e846c Add the same delay factor in the XEngine section for the XEngine 2008-08-25 18:07:29 +00:00
Melanie Thielker 64e4c34c1a Add ScriptDelayFactor under LL-Functions in OpenSim.ini. Defaulted
at 1.0, it allows delays to function as coded. Smaller values will
reduce, larger values will increase the delays. A value of 0 is
permitted and results in on delay being applied.
2008-08-25 17:50:44 +00:00
Jeff Ames 41f616627f Update svn properties. 2008-08-25 14:40:10 +00:00
Melanie Thielker fc9a1f0f45 Fix osAvatarPlayAnimation to actually do what it says on the box 2008-08-25 13:53:49 +00:00
Melanie Thielker cf7020d73c Mantis #2044
Thank you, salahzar, for a patch that corrects the behavior
of PRIM_TYPE in llGetPrimitiveParams() and improves LSL
conformance in llGetNumberOfSides();
2008-08-25 11:58:55 +00:00
Teravus Ovares c67c56ca94 * Fix to OGP Region to Region teleports. Yay. 2008-08-25 09:13:52 +00:00
Teravus Ovares 2912aafe25 * This commit incorporates the heart of the OpenGridProtocol patch that is currently on Forge in a nice, friendly modular format.
* There are a lot of changes and this is quite experimental.  It's off by default, but you can turn it on by examining the bottom of the opensim.ini.example for the proper OpenSim.ini settings.    Remember, you still need an agent domain..  
* Furthermore, it isn't quite right when it comes to teleporting to remote regions (place_avatar)
2008-08-25 07:35:17 +00:00
Charles Krinke 032a4ee9b5 Mantis#2043. Thank you kindly, Ralphos for a patch that addresses:
The version of llSetLinkPrimitiveParams in LSL_BuiltIn_Commands.cs 
has not been kept in sync with the additional functionality made 
recently to the llSetLinkPrimitiveParams implementation in
LSL_Api.cs which includes support for setting glow, full bright and 
other privative parameters. A patch to LSL_BuiltIn_Commands.cs is 
provided the incorperates this functionality (duplicated).
2008-08-24 18:37:51 +00:00
Charles Krinke d2f2ec12fd Mantis#2027. Thank you kindly, HomerHorwitz for a patch that addresses:
Analysis shows that the XMLRPC-request contains an empty string (<string />) 
for the custom_type parameter, which is deserialized wrongly to a null-value, 
thus leading to the exception above. The attached patch (against r5967) fixes 
the symptom and uses "" for customType in that case.
2008-08-24 18:32:39 +00:00
Melanie Thielker a7a385937e Completing the item sale series, this one implements sell contents.
All item sale modes are now complete.
2008-08-24 16:41:23 +00:00
Charles Krinke d190f1d2dc Mantis#2041. Thank you kindly, HomerHorwitz for a patch that:
The attached patch fixes that your home-location icon is 
displayed on the region you logged in, not on your home-region.
2008-08-24 15:54:10 +00:00
Melanie Thielker ec9137c4fa Mantis #2028
Thank you, salahzar, for a patch that implements llGetNumberOfSides()
for the DotNetEngine.
2008-08-24 14:04:02 +00:00
Melanie Thielker d5b48ecbe1 Selling a copy of a prim (prim vendor) now works.
Sack of bolts to go with the nuts?
2008-08-24 07:16:47 +00:00
Melanie Thielker 07cb1d4f0e Selling an object in-place (as original) now works. Builders can
now ply their trade. Is that nuts?
2008-08-24 06:39:54 +00:00
Melanie Thielker c9b5641c49 Plumb the data path for all those eye candy values. Saves texture
animation, target omega, looped sound, script access pin, allowed
drop state and sale data. Loads it, too. Not all tested.
Code: No Nuts. Data: Cannot Guarantee Nut Free.
2008-08-24 05:25:26 +00:00
Melanie Thielker f9ec65bc21 Add the fields for the eye candy and sale featires to the prims table.
No user functionality yet.
Run prebuild. Contains a Migration. May contain nuts.
2008-08-24 03:15:02 +00:00
Dahlia Trimble 29407a43f5 more progress on new meshing routines 2008-08-24 01:23:04 +00:00
Melanie Thielker 63b6ab467a Implements 80% of object buy (prim vendor). You can't buy the object yet,
and the for sale setting doesn't survive a sim restart, but this is most
of the plumbing.
2008-08-24 00:51:21 +00:00
Charles Krinke 89f2148f56 Mantis#2036. Thank you kindly, HomerHorwitz for a patch that:
Not enough logging. Added IP endpoing of request to the log 
messages on lookup-failure
2008-08-23 21:44:57 +00:00
Charles Krinke 5725fb5984 Mantis#2036. Thank you kindly, HomerHorwitz for a patch that:
This patch adds some more informative logging if the region isn't found.
2008-08-23 20:31:32 +00:00
Charles Krinke 4c40a680fa Mantis#2032. Thank you kindly, Tyre for a patch that:
This small patch provides the required changes to populate 
the columns agentIP and agentPort in table "agents"
Tested with mysql (but should work for all supported db engines)
2008-08-23 18:40:07 +00:00
Melanie Thielker bfc911f814 Change to no longer check funds on temp texture uploads.
This fixes the "no funds" message on rebake.
2008-08-23 16:43:34 +00:00
Melanie Thielker d2d9808742 Thank you, salahzar, for a patch that adds llGetNumberOfSides and will
also enable LSLconformance on some texture functions as well.
Applied the part of the patch in Shared/.
The part for Common/ needs to be reworked to remove the reference
into Shared/
2008-08-23 16:15:17 +00:00
Dahlia Trimble 72f74acdbf more work on new meshing routines... 2008-08-23 10:28:35 +00:00
Dahlia Trimble df14889635 some initial work on new prim meshing routines (incomplete) 2008-08-23 08:33:00 +00:00
Melanie Thielker ccd74f888b Some complex re-ordering to make prebuild do what needed to be done.
It is now possible to use module interfaces without referencing Scene.
Place those interfaces in OpenSim/Region/Interfaces. They may not
use any refs from OpenSim.Region.Environment as parameters.
This resolves a circular library ref introduced in r5949
2008-08-23 02:30:07 +00:00
Melanie Thielker 5d6f92fb96 Patch #9171
Disallow bulk uploads if money module is present and upload cost
is set and the user hasn't got sufficient funds.
2008-08-23 00:44:06 +00:00
Teravus Ovares 50bf3618a3 * Homer's amazing terrain MapTileRenderer. Thanks Homer!
* By default, texture rendering is on.  This may be affected by using secure assets since your region hasn't registered with the gridserver before it asks for texture assets.  It might also be affected by a slow asset server,  so consider this release experimental.
* Defined interface IMapTileTerrainRenderer.
* Extracted "old" shaded maptile terrain rendering into ShadedMapTileRenderer;
  streamlined it a bit and added "highlight" rendering to its "shadow"
  rendering.
* Added "new" terrain-texture based maptile terrain rendering
  (TexturedMapTileRenderer); made TerrainUtil.InterpolatedNoise public
* Adapted MapImageModule to allow switching between those two by configuration
* Added configuration option to OpenSim.ini.example
2008-08-22 22:04:43 +00:00
Justin Clarke Casey f0ffbf5b38 * Allow an exception generated in ProcessOutPacket to travel up the stack
* It is dealt with correctly further up, at which point the user is also notified and the failure recorded as a statistic
2008-08-22 21:41:05 +00:00
Dr Scofield d972d22788 bug fixes:
- GridInfoServices was not paying attention to location of ini file
- typo in RemoteAdminPlugin
2008-08-22 11:09:38 +00:00
Dr Scofield cf5ee5eaa1 - fixes a bug in RemoteAdminPlugin where CreateRegion would not pay
attention to regionload_regionsdir from OpenSim.ini

- fixes a type on RegionLoaderFileSystem
2008-08-22 09:00:32 +00:00
Dahlia Trimble 0f6b899ec7 Cleaned up some warnings 2008-08-22 07:25:53 +00:00
Dahlia Trimble 261876fd47 Commented out the float array "normals" in the Mesh object and all references to save memory as it was unused 2008-08-22 07:06:33 +00:00
Charles Krinke d433567178 Mantis#904. Thank you kindly, Jonc for a patch that solves:
LocalLoginService does not send the last position coords in 
the login response. This patch fixes the issue.
2008-08-21 14:23:29 +00:00
Charles Krinke 5a85f22110 Mantis#1990. Thank you kindly, Nlin and M.Igarashi for a patch that:
This patch improves LSL conformance by inserting a 0.2 second delay 
into llSetPos/llSetRot, as the function specification states. 
Thanks to M. Igarashi for the patch.
2008-08-21 14:18:40 +00:00
Dr Scofield ff2eb24022 - corrects statement about {asset,user,inventory} source configuration
as those all work with MySQL (and are in fact required it seems);
  adds examples as well

- adds region_file_template functionality for the create_region XmlRpc
  call of RemoteAdminPlugin

- cleans up and fixes typo in UserProfileData
2008-08-21 11:04:57 +00:00
Dr Scofield 2363cd2113 fixing Rest/Inventory stuff again. changes somehow got lost locally. 2008-08-20 15:28:51 +00:00
Dr Scofield 61e6d72cbc oops. forgot. 2008-08-20 10:11:58 +00:00
Dr Scofield 5e83a75815 From: Alan Webb <alan_webb@us.ibm.com>
cleanups of the REST inventory code.
2008-08-20 10:11:11 +00:00
Mike Mazur 2b83169c4b Adding unit test for issue 2006, though it's commented out as those compiler
tests tend to tank on our continuous build server.
2008-08-20 06:09:11 +00:00
Melanie Thielker f206ffd5a8 Mantis #2003 - thank you, SachaMagne, for a patch that implements
the first part of gesture persistence.
----------------------------------------------------------
Attachments no longer vanish on walking crossing. Teleport is still
problematic, but will now be blocked with message "Inconsistent
attachment state" rather than losing the attachment. Detach to be
able to TP in that case.
2008-08-20 01:48:51 +00:00
Jeff Ames 07b04213d7 Update svn properties, minor formatting cleanup. 2008-08-19 22:41:39 +00:00
Melanie Thielker b28bac016a Fixes the previous commit of llMakeLink for Shared/ 2008-08-19 22:01:59 +00:00
Melanie Thielker f2055a3524 Mantis #2001
Thank you, nlin, for a patch that implements part of llCreateLink
- DotNetEngine implementation by nlin.
- Shared/ port by me.
2008-08-19 21:37:12 +00:00
Melanie Thielker fc83af4bf6 Add the default region texture UUIDS back in that were lost in
the shuffle. Translate LLUUID.Zero to the default textures on set.
This should fix the default button in the viewer.
2008-08-19 21:18:48 +00:00
Melanie Thielker 40fa68d3e5 Mantis #1999
Allow the sim owner to add estate managers to any estate on the sim
2008-08-19 20:55:34 +00:00
Melanie Thielker 5cb0d4fcac Packet type exclusion (Mantis #2004)
Exclude SimStats packets from ack appending.
2008-08-19 19:44:49 +00:00
Melanie Thielker 41440e184b Attachment persistence (Mantis #1711)
Change user server to handle attachment assets record properly. Ensure
that attachments are not re-rezzed on region crossing. Persistence
will NOT WORK with earliser UGAI!!
Change region server to match.
2008-08-19 18:34:46 +00:00
Melanie Thielker c71d6f05a7 Moves one file to it's proper location 2008-08-19 15:16:48 +00:00
Melanie Thielker e5cdba1cb4 Fix region crossings and access to inventory after changing regions within
the same simulator
2008-08-19 15:09:35 +00:00
Jeff Ames 5c360e7374 Update svn properties, minor formatting cleanup.
Remove old comment in SnapshotStore pointed out by ChrisDown (bug #2000)
2008-08-19 13:07:24 +00:00
Melanie Thielker 29530f3029 Attachment persistence!!! Patch #9170 (Mantis #1171)
Attachments now persist across logouts. Mostly untested.
2008-08-19 07:11:58 +00:00
Teravus Ovares b4355e4564 * This reverts a change where m_regions[RegionHandle] was replaced instead of removed in LocalBackEndServices It used to be like the change above a long long time ago but we found that it caused intermittent neighbor connectivity issues. I added comments above it so that it's looked at more closely next time. 2008-08-19 07:04:47 +00:00
Mike Mazur 225067d8b6 Sync OpenSim/Region/ScriptEngine/{Common,Shared}/LSL_Types.cs. 2008-08-19 05:30:10 +00:00
Mike Mazur a513cba60b Apply Godfrey's patch (originally in r5872) to Shared/LSL_Types.cs as well. 2008-08-19 05:25:07 +00:00
Jeff Ames bea7d4d81a Update svn properties, formatting cleanup. 2008-08-19 02:59:27 +00:00
Melanie Thielker 6d2e1ad6ba Attachment persistence!!! Patch #9169 (Mantis #1171)
Attachments now save to MySQL. No reattach on login yet.
2008-08-19 02:12:40 +00:00
Justin Clarke Casey a179089d1c * If two regions have configuration information that conflicts (save xy location, same uuid or same internal ip port) then complain loudly and don't start up 2008-08-18 21:46:07 +00:00
Justin Clarke Casey 9e6b38078a * Properly dispose of the reader after readAttachments() has finished with it in the Mysql User data manager 2008-08-18 21:18:59 +00:00
Justin Clarke Casey 9650632cd1 * It appears that sometimes some IClientAPI reference is not being released, resulting in continual execution of the CheckConnectivity timer method
* For now, just turn off this timer when we close the connection
* Also some minor help refactoring creeps in to this revision.
2008-08-18 21:14:38 +00:00
Melanie Thielker 6614eee4d4 Change LowpriorityTask to be ThrottleType.Task | ThrottleType.LowPriority to make the flag nature of this value more clear. 2008-08-18 18:59:06 +00:00
Melanie Thielker 05506cff49 Avatar Attachment persistence!! Patch #9168 (Mantis #1171)
Plumbs in attachment persistence and adds the tables. Currently MySQL
only, no user functionality yet.
2008-08-18 17:22:36 +00:00
Teravus Ovares eaeed632e0 * maptile - just flatten it.. we'll worry about projection later.. 2008-08-18 10:58:54 +00:00
Teravus Ovares 2ef4ccf89e * Slightly better implementation of prim volume drawing on the maptile using projection of an oriented bounding box. This isn't quite right yet. Experimental. It takes about 3 times longer then the previous version, however produces better results. 2008-08-18 08:25:58 +00:00
Teravus Ovares f842ad4192 * Maptile prim volume drawing change from manually drawing the rectangles using Bitmap.setpixel to a drawing2d graphics context.
* Z-sort the prim volumes before drawing.
2008-08-18 03:25:23 +00:00
Teravus Ovares c31b0a54a4 * Text/comment cleanup in MapImageModule 2008-08-18 01:38:11 +00:00
Jeff Ames 84a0a6645e Fix another compiler warning, based on a patch submitted by Leaf. (bug #1978) 2008-08-18 01:30:42 +00:00
Jeff Ames 642f6fd979 Fix compiler warning due to incomplete refactoring in r5901. 2008-08-18 01:08:38 +00:00
Jeff Ames 6ef9d4da90 Formatting cleanup. 2008-08-18 00:39:10 +00:00
Jeff Ames 531f6c01eb Update svn properties, minor formatting cleanup. 2008-08-17 23:07:14 +00:00
Melanie Thielker 35dde94f01 Change the deselect processing to prevent gratuituous full update
when an attachment is deselected.
2008-08-17 22:38:52 +00:00
Charles Krinke c200644bd9 Mantis#1974. Thank you BlueWall for a patch that:
adds handling for PRIM_PHYSICS, PRIM_PHANTOM in 
llSetPrimitiveParams()
2008-08-17 20:38:40 +00:00
Melanie Thielker fe1d78bb78 Add some locking on m_undo in SceneObjectPart 2008-08-17 19:17:44 +00:00
Melanie Thielker 5d6a42a22e Add an invalidate method to the cache class. 2008-08-17 19:10:32 +00:00
Teravus Ovares 0683a07081 * Turned on the MapImageModule as opposed to the code in Scene for generating the map image. Copied the code in Scene into the MapImageModule, made a few tweaks to get it to work with the module's interface.
* Refactored a few things in Scene to make maptile saving easier to understand.
* Added comments to describe the 'clever code' assetcache update without the gridasset being updated so as to lessen possible confusion in patches in the future.
* If the MapImageModule isn't loaded, default to the code in Scene still.
2008-08-17 18:59:58 +00:00
Melanie Thielker 40abeed7d4 Add the IInventoryModule interface and a sample method call
to Scene.INventory.cs
2008-08-17 18:41:13 +00:00
Melanie Thielker 1db8f6fbad Patch for Adam: Add two new permissions options to Opensim.ini.example
and the permissions module
2008-08-17 05:05:06 +00:00
Teravus Ovares 910f9d10d6 * half of the attachmentpoint skull fix
* There's still a full object update coming when you release the attachment after modifying it that's killing it sometimes.
2008-08-17 03:09:47 +00:00
Jeff Ames 796ccd3d37 Update svn properties, minor formatting cleanup. 2008-08-17 02:31:45 +00:00
Charles Krinke 60a676251a Mantis#1971. Thank you kindly, BlueWall for a patch that:
The included patch enable handling for PRIM_FULLBRIGHT in 
llSetPrimitiveParams().
2008-08-16 21:31:36 +00:00
Teravus Ovares 7c8cc345cd * re-order an operation to check for NaNs in the maptile shadow routine. 2008-08-16 20:54:51 +00:00
Justin Clarke Casey d7f2c454f1 * Rename *DataStore classes to *RegionData to align with SQLite 2008-08-16 20:50:43 +00:00
Justin Clarke Casey 992b04a23e * Move GridInfoService into Framework.Communications and eliminate Common.Communications for now (since this was the only class in that project) 2008-08-16 20:42:43 +00:00
Justin Clarke Casey 79efe37a99 * minor: rip out userserver stress project which never got filled out 2008-08-16 20:31:07 +00:00
Justin Clarke Casey c602d76b79 * Insert a new 'set log level [level] command on the console'
* The primary immediate use is to provide a means of temporarily reducing log output on the console when executing console commands
* Changing the log level on the console is not permanent and does not affect the log information being put into OpenSim.log
* This could have been done by putting in a threshold level on the Console appeneder in OpenSim.exe.config and implementing config watching in the code.
* But I think that it's a little more user friendly to make this doable via the console.
2008-08-16 20:24:08 +00:00
Charles Krinke 701ee43e46 Mantis#1960. Thank you kindly, Tyre for a patch that:
This small patch enables updates to the lastLogin information in the `users` table
2008-08-16 20:02:51 +00:00
Teravus Ovares a6fdcffa3b * One more terrain shadow debug helper. 2008-08-16 19:58:25 +00:00
Charles Krinke 7a90385f1c Mantis#1970. Thank you kindly, HomerHorwitz for a patch that:
This patch improves fetching of inventory from several minutes 
to a few seconds.
2008-08-16 19:37:30 +00:00
Charles Krinke b6c6572ee1 Mantis#1969. Thank you kindly, Tyre for a patch that:
Type casting the normalized vector 'lookat' to int results to <0,0,0>.
This patch also adds an overload to RequestNeighbourInfo (currently unused) 
that will come handy for some features I'm working on.
2008-08-16 19:34:12 +00:00
Charles Krinke d9cc908471 Mantis#1965. Thank you kindly, HomerHorwitz for a patch that:
Places touched:
- Added two events for in-packets to LLCLientView: RegionHandleRequest and
  ParcelInfoRequest
- Added sending of two out-packets to LLCLientView: RegionIDAndHandleReply and
  ParcelInfoReply.
- Scene handles the RegionHandleRequest, LandManagementModule the
  ParcelInfoRequest
- Added inter-region request for LandData by RegionHandle and local position.
  This was implemented as XML-RPC request. The returned LandData isn't
  complete, it only contains the data necessary for answering the
  ParcelInfoRequest
- Added new CAPS (0009) for RemoteParcelRequest and some methods for LandData
  handling to LandManagementModule
- Added methods for fake parcelID creation and parsing to Util
- Fixed missing implementation of interface methods.
- Added new file:
    OpenSim/Framework/Communications/Capabilities/LLSDRemoteParcelResponse.cs
  NOTE: This is part of the patch, too.
Due to the many places touched, I would consider this patch as experimental.
2008-08-16 19:20:14 +00:00
Teravus Ovares f191f38a3e * Fix a rare maptile shading error, terrain difference mod 1 = 0 + abs = oops. 2008-08-16 19:03:29 +00:00
Jeff Ames 6fa26f5b41 Update svn properties, minor formatting cleanup. 2008-08-16 17:26:25 +00:00
Teravus Ovares 80186a68df * Adds Slightly better terrain shading to maptile generation. 2008-08-16 06:09:45 +00:00
Melanie Thielker 682ffef101 Reshuffle to eliminate prim owner lookups unless gridgods are enabled 2008-08-16 05:41:40 +00:00
Melanie Thielker e5a7ba5df4 Guard against the null UUID being queried from the userserver
repeatedly.
2008-08-16 03:18:21 +00:00
Melanie Thielker 9807a86398 Guard against a null ref in the permissions module when a profile
fetch fails.
2008-08-16 02:57:47 +00:00
Charles Krinke 5ed5d0788b Mantis#1890. Thank you kindly, Godfrey, for a patch that addresses:
llListSort() sorts integers and floats in ASCII order rather than numeric order
2008-08-16 02:39:46 +00:00
Charles Krinke 35f0e6f6f4 Mantis#1964. Thank you kindly, BlueWall for a patch that:
Parch adds PRIM_BUMP_SHINY handling to llSetPrimitiveParams
2008-08-16 02:33:26 +00:00
Charles Krinke 9a6bdd9701 Mantis#1963. Thank you kindly, Krtaylor for a patch that solves:
XEngine missing string constructor for LSLInteger and LSLFloat
2008-08-16 02:28:30 +00:00
Melanie Thielker 328ab79b78 Refactor a lot of direct calls to OGS1 to use the cached version instead.
Scripts can now no longer DOS the user server and there are a lot fewer
gratuitious lookups of user profile data.
2008-08-16 02:00:36 +00:00
Melanie Thielker 437b4a8aaa Perils of copypaste. Missing references. 2008-08-15 23:35:01 +00:00
Melanie Thielker 32f90a028f Fix repeated user profile info lookups. Redirect those lookups to cache. 2008-08-15 23:29:34 +00:00
Melanie Thielker 04488d9d38 Plumb in the partner and the account title fields for profile info. 2008-08-15 22:49:26 +00:00
Melanie Thielker c1fa7592c7 Pantis #1957
Thank you, Leaf, for a patch that implements llGetAnimationList()
XEngine implementation added by myself.
2008-08-15 21:18:08 +00:00
Melanie Thielker 72b8c1af1c Plumb the user flags all the way through to the profile. userFlags in
the database is now intepreted as follows: low byte = user flags.
Next byte, low nibble: Deternines the text (Resident, Lifetime, etc)
shown. No customn text support yet.
2008-08-15 19:19:24 +00:00
Melanie Thielker 63856f6330 Mantis #1951
Trigger a persistence save when only name or description have
changed.
2008-08-15 16:51:26 +00:00
Melanie Thielker 9f8ff36348 Mantis #1961
Thank you, BlueWall, for a patch that adds PRIM_GLOW
2008-08-15 16:26:56 +00:00
Melanie Thielker 3e7e0c8ced Small fox in the database, god level was being overwritten with the user
flags value
2008-08-15 14:33:43 +00:00
Melanie Thielker dfc553d0a4 Fix up master avatar handling for estate owners. Introduces a new
hierarchical rights structure. MasterAvatar: Owner of the region server
(may be null), net gods (users with GodLevel 200), Estate owner
(from database). Look at Opensim.ini.example to enable net gods.
Estate owner will default to master avatar.
2008-08-15 13:13:39 +00:00
Jeff Ames 53b0ef82b3 Minor formatting cleanup. 2008-08-15 10:29:17 +00:00
Melanie Thielker 6717839d65 Fixes a case where neighboring region info cannot be obtained
and the region server tries to output the region information
using the unobtainable RegionInfo.
Caused a crash in GS1GridServices.cs, line 928
2008-08-15 10:26:03 +00:00
Jeff Ames dde21314e7 Update svn properties, formatting cleanup, fix a couple compiler warnings. 2008-08-15 10:24:04 +00:00
Melanie Thielker e1620c5cc3 Fixes a case where, when inventory is not currently accessible due
to other issues, detaching an attachment would cause an exception.
2008-08-15 10:07:45 +00:00
Dr Scofield d96701a0e4 From: Richard Alimi <ralimi@us.ibm.com>
The following patch allows an asset to be added via the REST interface.
2008-08-15 07:45:23 +00:00
Dr Scofield 08c5c71200 From: Richard Alimi <ralimi@us.ibm.com>
The following patch implements adding prims to a region using the Xml2
format.
2008-08-15 07:33:58 +00:00
Dr Scofield 9df18bb544 From: Richard Alimi <ralimi@us.ibm.com>
The following patch implements retrieving prims in Xml2 format via the REST
interface.  For example:
  http://localhost:9000/admin/regions/<region-uuid>/prims/

It also allows an additional parameter which specifies a bounding box.  If
this parameter is specified, only prims within the bounding box are
retrieved.  For example:

http://localhost:9000/admin/regions/8cd759b4-e077-489d-9a34-e1ff70ef65dd/prims/0,0,0,128,128,128
will retrieve only the prims whose positions are in the bounding box with
corners (0,0,0) and (128,128,128).
2008-08-15 07:28:28 +00:00
Dr Scofield 8d479fe5af From: Richard Alimi <ralimi@us.ibm.com>
The following patch makes some enhancements to loading/saving the Xml2
format.

- Add streamed version of functionality for saving prims to Xml2
  format. The streamed version (optionally) allows for saving the
  prims whose positions appear within a particular bounding box.

- Expose stream versions of LoadPrimsFromXml2 and SavePrimsToXml2 in
  the Scene class

- Extend loading from Xml2 (the streamed version) to optionally start
  scripts for the loaded scene objects)
2008-08-15 07:20:38 +00:00
Dr Scofield 8606a86d5c From: Richard Alimi <ralimi@us.ibm.com>
The following patch allows spaces in usernames and passwords in HTTP Basic
authentication for REST services.
2008-08-15 07:14:17 +00:00
Dr Scofield e6e01cee17 From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that disables the addition of the Content-Length
HTTP response header when a chunked response is being sent.
2008-08-15 07:09:48 +00:00
Mike Mazur 60acc370fc Thanks, krtaylor, for a patch that fixes llListSort() and llListRandomize() failing with stride less than 1. Fix issue 1893. 2008-08-15 00:55:16 +00:00
Melanie Thielker 4041194db9 Refactor: Make the tree creation function take a UUID for the owner
Change the tree populator module to supply a sensible value
2008-08-14 21:31:38 +00:00
Melanie Thielker 7161689a97 Adds UserFlags and GodLevel to the user data store and plumbs then in.
This will have no effect unless both the UGAI and the region are
this revision or later
2008-08-14 19:59:32 +00:00
Melanie Thielker c2f1771c63 Make the estate owner work. Changes permissions checks to allow the
estate owner user the ability to add and remove estate managers,
and have EM rights outside of that.
2008-08-14 18:08:22 +00:00
Melanie Thielker 35aeb9010a Mantis #1953
Thank you, HomerHorwitz, for a patch that changes login location handling
to use the sim UUID if it has already been stored.
2008-08-14 16:48:51 +00:00
Melanie Thielker 17715da311 Add the UserStore migrations to the TP fixes patch 2008-08-14 11:15:11 +00:00
Dahlia Trimble 230c80be54 Thanks, BlueWall, for a patch that:
Binary distributions of OpenSim are not able to get the version info because they lack the ../.svn/entries file. This file exists in the ./bin./svn directory, which would be in a binary distribution. The included patch changes the path from ../.svn/entries to .svn/entries, which allows the version information to be show in "help/about"
2008-08-14 10:23:00 +00:00
Dahlia Trimble 1bf60fa1ac updated some prim parameters to project maintained versions 2008-08-14 08:59:13 +00:00
Melanie Thielker e3157e61aa Mantis #1946
Thank you, HomerHorwitz, for a patch that corrects and improves TP
to landmark and home position handling.
2008-08-14 00:04:37 +00:00
Justin Clarke Casey fb4eb05ae1 * minor: make it clear on the console when a client is being logged out because that client has not responded to pings 2008-08-13 21:45:17 +00:00
Melanie Thielker 0a18d544c5 Mantis #1936
Thank you, gsky, for a patch that corrects the threading model
to use the multithreaded apartment in the grid servers and
region server.
2008-08-13 19:22:32 +00:00
Charles Krinke 9f9e7d98ea Mantis#1942. Thank you kindly, Tyre for a patch that:
updates llTriggerSound() so it accepts an object inventory name too
This adds the same functionality like Xantor's patch for llPlaySound()
2008-08-13 15:01:45 +00:00
Charles Krinke 4a2d5d92cc Mantis#1941. Thank you kindly, Tyre for a patch that
makes progress in extracting the line number of LSL
script execution errors.
2008-08-13 14:58:26 +00:00
Charles Krinke 3278ab8397 Mantis#1856. Thank you kindly, HomerHorwitz for a patch that:
Fixes this Mantis bug with llTakeControls() & ControllingClient() API.
2008-08-13 14:52:14 +00:00
Melanie Thielker dd1fc5e3fe Add a Find(Predicate) method to the cache to look for items by data
other than LLUUID.
2008-08-13 14:34:33 +00:00
Charles Krinke bf363c0ded Mantis#1934. Thank you Tyre for a patch that:
This patch implements the LSL script function 
llTeleportAgentHome()
2008-08-13 14:24:37 +00:00
Charles Krinke 9d93668a0a mantis#1927. Thank you kindly, Leaf for a patch that:
Makes progress on fixing scripts in child prims of
attachments not being scheduled for execution.
2008-08-13 14:19:59 +00:00
Charles Krinke 323ada012d Mantis#1931. Thank you kindly, Kinoc for a patch that:
* Yield Prolog 1.0.1 Released : it passes all but 9 of the 
421 tests in the ISO Prolog test suite (97.8%) .
* support dynamic predicates and rules.
* support 'import' to use external static functions 
improves connection to C# functions
* Matches Yield Prolog r831
2008-08-13 14:13:49 +00:00
Melanie Thielker e46248ab17 Thank you, tyre, for a patch that fixes a null reference in LSL
function llOverMyLand().
2008-08-13 14:13:46 +00:00
Charles Krinke 6ccb9948ab Mantis#1925. Thank you, homerHorwitz for a patch that:
This fixes the coordinates returned by doing a 
llRequestInventoryData on a landmark.
2008-08-13 14:06:21 +00:00
Melanie Thielker 4b6097756f Port the llParcelMediaQuery forward to the new Shared/ directory
Add a Dictionary for faster lookup of cached items.
2008-08-13 12:20:49 +00:00
Dr Scofield db2481e62a From: Omar Vera Ustariz <ustariz@de.ibm.com>
This patch implements a subset of the llParcelMediaCommandList()
function.
2008-08-13 10:29:27 +00:00
Mike Mazur ba822fe2ab Revert "Thanks, lulurun, for a patch that clears and refreshes and outdated user"
This reverts commit r5823.
2008-08-13 07:51:59 +00:00
Mike Mazur cd89864f4c Thanks, lulurun, for a patch that clears and refreshes and outdated user
profile cache (issue 1919).
2008-08-13 06:08:26 +00:00
Melanie Thielker 71cc458610 Make the estate owner UUID from the database have the same rights
as the region master avatar, unless it's LLUUID.Zero (the default).
2008-08-13 01:17:44 +00:00
Melanie Thielker fa9afd4c91 Fix data format for last commit 2008-08-12 23:15:51 +00:00
Melanie Thielker b0fbef81d0 Minor patch: fix an instance where the estate name, as displayed on the
Covenant page of the estate dialog, could be shown as the master avatar's
name, or even as Test User
2008-08-12 22:55:47 +00:00
Jeff Ames c65415d320 Thanks HomerHorwitz for a patch to enable the Stand Up button when sitting on the ground. (bug #1932) 2008-08-12 21:38:52 +00:00
Justin Clarke Casey 4e555b87f3 * Stop warnings about non existent scene presences/entities being removed on client log off
* This is being done by preventing close from being called twice on child agent closure (nres which would have been thrown are being swallowed).  
* However, it should be possible to do much better cleanup on this code in the future
2008-08-12 19:00:13 +00:00
Mike Mazur 8ea92c0669 Thanks, lulurun, for a patch that addresses inventory problems that occur
occasionally, but are fixed on restart (issue 1919).
This patch introduces the following changes:
1. when a user teleports out of Region A, remove that user's profile
from the Region A user profile cache
2. when a user crosses between regions out of Region A, remove that
user's profile from the Region A user profile cache
3. the user profile cache's session ID member can now be set (written),
and is updated each time a connection with a new avatar is established (ie: a
new avatar enters the region)
4. when a region server looks up a user profile and a cache miss
occurs, fetch the user profile from the user server first instead of
immediately returning null
2008-08-12 06:21:02 +00:00
Melanie Thielker 44adeb4ec8 Remove "static" from the AsyncCommand Manager to make it work properly
in multiple region per sim setups
2008-08-12 02:31:57 +00:00
Jeff Ames f894f5d87b Minor formatting cleanup. 2008-08-12 00:08:41 +00:00
Melanie Thielker f9945bf87f Patch #9163 - Refactor initial packet sending out of InnerScene into
ScenePresence. Pace prim delivery to about 200 updates/s max. Break
a long-held lock that caused the notorious MapBlockQuery XMLRPC timeout
on agent login. Eliminate 60 second timeout at "Waiting for region handshake".
Fix region crossing/teleport response. Fix appearance in primmy regions.
2008-08-11 23:20:14 +00:00
Justin Clarke Casey b627c9c066 * minor: replace hard tabs with soft 4 space tabs in previous patch 2008-08-11 21:33:04 +00:00
Charles Krinke 2cee5abcac Mantis#1921. Thank you kindly, Leaf for a patch that:
llRezObject changed to llRezAtRoot. llRezObject implemented 
to call llRezAtRoot until I can figure out how to calculate 
a bounding box. Partial implementation of llPushObject 
(no angular impulse applied)
2008-08-11 21:27:31 +00:00
Charles Krinke 54af3b4f4d Mantis#1903. Thank you kindly, CMickeyb for a patch that:
patch attached replaces the tree walk algorithm used to build the 
folder hierarchy with a single database query. That is, we replace 
1 database query per folder with 1 query for the root folder's 
properties and 1 query to retrieve the entire collection of folders for a user.
2008-08-10 16:44:25 +00:00
Charles Krinke a9f1561380 Mantis#1910. Thank you kindly, HomerHorwitz for a patch that:
In case you run the server with   mono --debug OpenSim.exe
line numbers are reported as <filename>:<linenumber>, so no 
"at line" is found. That led to an exception, which is caught 
since r5766. The attached patch fixes this for mono;
2008-08-10 16:39:04 +00:00
Melanie Thielker 9b7e66ceda Attempt to address Mantis #1905, #1909
Prevent re-sequencing of resent packets. Thanks, ckrinke, for
catching that, it is what was happening.
2008-08-10 16:37:45 +00:00
Melanie Thielker 5acfc79c50 Patch #9024
Bringing in an old private patch, increasing region registration timeout
to 90 seconds. That allows regions witj > 10000 prims to register
successfully. Running them.... well, YMMV
2008-08-10 12:51:31 +00:00
Jeff Ames 20e8e0ebae Update svn properties, minor formatting cleanup. 2008-08-10 00:44:33 +00:00
Justin Clarke Casey 5b5159d1ec * Resolve mantis 1911 without reintroducing warnings 2008-08-09 22:34:04 +00:00
Justin Clarke Casey 03f9a3e1d6 * if the user uuid is present, preserve ownership information when loading an archive
* if the uuid isn't present, ownership is given to the region's master avatar
2008-08-09 22:04:42 +00:00
Justin Clarke Casey d0480a87c3 * Remove warnings 2008-08-09 21:24:27 +00:00
Justin Clarke Casey 6630706dd9 * Reinstate grid receive and send keys to user server config
* Looks like these weren't so unused after all - oops!
* Remove message from grid server config
2008-08-09 21:01:33 +00:00
Justin Clarke Casey e73b9c5f0a * minor: oops, forgot the code that actually ends up eliminating the unused configuration elements from the last checkin 2008-08-09 20:43:14 +00:00
Justin Clarke Casey 0fd2bde111 * minor: remove unused grid send/receive keys from user server configuration 2008-08-09 20:41:18 +00:00
Justin Clarke Casey f1c897695b * minor: Remove unused message from the asset server configuration 2008-08-09 20:30:56 +00:00
Justin Clarke Casey 52d5369a87 * minor: get rid of send and receive keys from inventory server
* these are not used
2008-08-09 19:59:01 +00:00
Justin Clarke Casey a78e5ea142 * Change _Config.xml node selection code to allow comments 2008-08-09 19:51:49 +00:00
lbsa71 d4b8e06d55 * Added a little more log info in LLUDPServer 2008-08-09 18:37:20 +00:00
Justin Clarke Casey 3242b09344 * Make session security (secure inventory) configuration FALSE by default
* This will not affect existing configurations where the configuration question has already been answered
2008-08-09 18:33:45 +00:00
Justin Clarke Casey 00473fcfee * minor: remove redundant welcome message from inventory grid server configuration 2008-08-09 17:40:48 +00:00
Justin Clarke Casey adfccd0ee0 * Add line to log notifying of inventory -> user grid server trust failure
* add code comments
2008-08-09 17:09:37 +00:00
lbsa71 6849f45660 * Shielded against various forms of Malformed data crashes - if there is an error in packet creation, we just log and ignore it
* If there's a Socket.AlreadyInProgress, just silently ignore this one
* Tried to refactor the Reset and BeginRecieve logic into something a little more readable, little less duplicated
2008-08-09 05:26:33 +00:00
Charles Krinke 87c5b0b926 Mantis#1521. Thank you kindly, HomerHorwitz for a patch that:
Increases the functionality of the particle system on both
script engines.
2008-08-08 18:27:24 +00:00
Charles Krinke 10822a139f Mantis#1521. Thank you kindly, Lmmz for a patch that:
Improves the implementation of the particle system.
2008-08-08 15:16:30 +00:00
Melanie Thielker 2248ad2ed2 Patch #9161
Increase GetUserProfile timeout from 6 to 30 seconds. Because 
the worker thread fo the XMLRPC data pump sits on a lock
while the system starts, regions with upwards of 6000 prims
throw and exception when that thread gets blocked for more
than 6 seconds, due to this timeout, and won't start.
2008-08-08 13:46:24 +00:00
Melanie Thielker b5a9b904dc Sorry, thoughtI had added that :/
Missing file from pervious commit
2008-08-08 12:19:11 +00:00
lbsa71 96fa85cd9f * Removed unused m_bAvailable 2008-08-08 11:38:21 +00:00
Melanie Thielker eaff580abe Patch #9160
Refactor proxy encode/decode methods out of the PacketPool into
their own class.
2008-08-08 11:04:24 +00:00
lbsa71 22f09fbd21 * All CheckRegion within an instance would use the same, global, bool for 'Available', which would lead to intermittent failures on parallell teleport requests.
* Solidified CheckRegion somewhat, adding a second try if the first failed.
2008-08-08 10:59:32 +00:00
Mike Mazur 97d5b5a1eb De-coupling the IClientAPI interface and ClientManager class from the
libsl/libomv Packet, as other client stacks could use other data types to pass
packets around. Starting with InPacket() here, more to come.
2008-08-08 09:19:23 +00:00
Jeff Ames 657af5e611 Update svn properties, minor formatting cleanup. 2008-08-08 06:39:35 +00:00
Mike Mazur 1040f3f454 Remove FunSL client stack as it's under development and often won't compile.
This effectively undoes commits 5771 and 5769 as well as parts of the
formatting cleanup commits 5774 and 5775.
2008-08-08 05:57:14 +00:00
Melanie Thielker c4eac71e54 Committing first draft of the universal cache. This is by no means
finished, but it does work for memory caching items in aggressive
mode. Supports several paramters, including TTL.
2008-08-07 16:40:50 +00:00
Melanie Thielker 39e68833b2 Patch #9159
Complete the support for dupe tracking. Eliminate one of the "Eternal
caches".
2008-08-07 15:32:39 +00:00
Charles Krinke 6b7fb1712c Mantis#1894. Thank you kindly, HomerHorwitz for a patch that:
When a region is re-registered (e.g. because of region restart), 
it is removed from m_regions. If I understood that correctly, 
the old entry should be replaced, instead.
2008-08-07 15:21:50 +00:00
Charles Krinke e8293801c5 Mantis#1901. Thank you kindly, Nlin for a patch that:
More sitting fixes: Inconsistent sitting position on 
rezzed prims that have no sit target set.
2008-08-07 15:15:57 +00:00
Charles Krinke 9a8569160f Mantis#1899. Thank you kindly, Cmickeyb for a patch that:
attached are some patches to either comment out direct 
console writes or to convert them to log writes
2008-08-07 15:12:33 +00:00
Charles Krinke b72cc7df01 Mantis#1888. Thank you kindly, Tyre for a patch that:
This patch adds the missing parcel and region flag constants 
for LSL scripts. Tested with .Net and XEngine
2008-08-07 15:02:29 +00:00
Melanie Thielker 51f90af4b7 Patch #9158
Refactor packet sending into LLPacketHandler. Change packet sequencing
and ack lists to ensure packet sequences conform to wire order.
2008-08-07 14:48:45 +00:00
Jeff Ames 0718aa0b7f Minor formatting cleanup. 2008-08-07 12:55:46 +00:00
Dr Scofield ae13fec655 From: alan webb <alan_webb@us.ibm.com>
this adds image conversion features to the REST inventory/asset code.
2008-08-06 15:20:45 +00:00
Dr Scofield 5248c18b7d From: alan webb <alan_webb@us.ibm.com>
This fixes a sitting problem which popped up on loading regions from
archive and turned out to be caused by the fact that the archiving
mechanisms all preserve the sit-target information that is set in the
object at the time the image is captured. This caused the new region
to pick a sit-target prim that did not correspond to the prim on which
the script was running, so the script's changed event is driven with
an invalid avatar UUID.

I have modified the ArchiveReadRequest class so that any sit information
that survives the archiving process is deleted before the object is
instantiated. This change has just been checked in.
2008-08-06 14:46:38 +00:00
Mike Mazur 548bcc265f Rename namespace to FunSL. 2008-08-06 01:38:25 +00:00
Mike Mazur f180fa57e7 Create FunSLUDP client stack. At the moment it's only a copy of the LindenUDP
client stack.
2008-08-06 01:34:50 +00:00
Mike Mazur d367f0bf0c Thanks, zaki, for a patch that embeds plugin manifest files into plugin dlls. Fix issue 1876. 2008-08-06 01:20:31 +00:00
Justin Clarke Casey b018d6e84f * oops, fix build break from last checkin 2008-08-05 20:50:53 +00:00
Justin Clarke Casey 200c77ad15 * possible fix for event queue problems (exceptions and event count max exceeded issues) seen in osgrid meeting today
* From the logs, I'm guessing probable cause is that an exception generated by a bad index given to substring error line number conversion stopped the script being killed, leading to continuous events that filled up the log (maybe)
* Someone will need to go back and fix this properly
2008-08-05 20:47:36 +00:00
Justin Clarke Casey 6b1a5c33af * Fix probable cause of one of the bugs seen in the osgrid office hours today
* If a text string is too long we actually need to truncate to 254 chars rather than 255, since the Helpers.StringToField conversion will stick a \0 on the end
2008-08-05 20:34:34 +00:00
Justin Clarke Casey 9e6fadddcc * Add / as a shortcut to select the root region 2008-08-05 18:16:09 +00:00
Justin Clarke Casey de0a6e7f2b * Try and make the contents of the region prompt more obvious by returning to printing the selected region after a change attempt has been made. 2008-08-05 17:52:06 +00:00
Justin Clarke Casey f2c456c23d * Make currently selected region appear in the region console prompt
* This region is used for single region commands (such as save-xml2)
2008-08-05 17:28:23 +00:00
Justin Clarke Casey 32486dcaf5 * refactor: change console base 'component name' to 'default prompt' since that's the only thing it's being used for 2008-08-05 17:06:35 +00:00
Justin Clarke Casey b46e6e2130 * refactor: change method name 2008-08-05 17:03:06 +00:00
Justin Clarke Casey 1da9902294 * refactor: clean up code for selecting regions on the region console 2008-08-05 17:00:35 +00:00
Justin Clarke Casey 07019c6a84 * minor: slightly pointlessly increase the verbosity of the message given when a queued deletion from scene to inventory fails because the root part of the group has been zapped 2008-08-05 16:37:06 +00:00
Melanie Thielker 5469c0d6f8 Fix one more instance of a bad bit value for the collision event 2008-08-04 21:30:12 +00:00
Melanie Thielker c1e7b45e18 Fix wrong bitmask value in script engine that would make a mess of
the ObjectFlags. Good catch, gsky, thank you!
2008-08-04 17:52:00 +00:00
Melanie Thielker 244a9282d0 Addresses Mantis #1886
Forces the landmark and menu flags to be always set, like in previous
releases. This will cause the parcel based restriction on setting
landmarks to have no effect, until it is implemented properly
2008-08-04 15:19:10 +00:00
Charles Krinke dba4d357c8 Mantis#1877. Thank you kindly, Sache Magne for a patch that:
This patch allows the operator to see the region currently served.
A message "Serving region : xxxxx" appears under help or any show commands.
2008-08-02 02:53:11 +00:00
Justin Clarke Casey ec8f2d836c * minor: correct spelling, remove warning 2008-08-01 21:15:38 +00:00
Melanie Thielker 12c5bfa3e0 Estate series, patch 9 (#9157)
Adds the new access semantics and the new flag (allow only age verified)
Plumbs in the abuse email address from sim to viewer. The other way around,
libomv appears to be lacking support for the data field in the packet.
Includes a migration, run prebuild!
2008-08-01 21:08:00 +00:00
Justin Clarke Casey c952dd465c * minor: add to the thread tracker the thread with which the thread tracker tracks threads 2008-08-01 20:52:32 +00:00
Justin Clarke Casey e32c0930c2 * Register main thread as console thread with thread tracker 2008-08-01 20:29:05 +00:00
Justin Clarke Casey 89898a2a6a * minor: get rid of count number from 'show threads' display since they all have IDs 2008-08-01 20:21:49 +00:00
Justin Clarke Casey 3fc942558e * start tracking viewer session threads 2008-08-01 20:16:28 +00:00
Justin Clarke Casey 5350cec0b3 * minor: log message twiddling 2008-08-01 20:05:26 +00:00
Justin Clarke Casey 10e0df0a2d * correct bug from last commit - for now don't drop cached user profile when an agent is downgraded to a child agent
* since upgrading to a root agent doesn't currently re-retrieve the user profile
2008-08-01 19:24:48 +00:00
Justin Clarke Casey 43b2ff1d11 * Drop cached inventory from the local region when a user crosses out into a remote region
* May resolves inventory problems that occur when the user moves between two regions`
* e.g. if the user moves to a second region, adds an inventory item, moves back to the original region then tries to manipulate that item
* Not yet implemented for teleport
2008-08-01 18:49:48 +00:00
Justin Clarke Casey de4e3bfede * minor: eliminate some unused variables in InventoryFolderImpl 2008-08-01 16:22:26 +00:00
Dahlia Trimble 88fba448a1 reinstates torus profile zflip which was mistakenly removed in patch 1870 2008-08-01 05:48:24 +00:00
Dahlia Trimble 1d3677eb9b Thank you jhurliman for a meshmerizer patch that replaces the quaternion->matrix->vertex*matrix->vertex code with a direct transformation. 2008-08-01 05:45:58 +00:00
Melanie Thielker c9b39972ca Add the missing migration files :/ 2008-08-01 02:54:28 +00:00
Charles Krinke ab778c4114 Mantis#1859. Thank you kindly, Lmmz for a patch that:
Implements llForceMouselook().
2008-08-01 02:33:28 +00:00
Melanie Thielker 43f3b9ad7b Patch #8 in the estate series. Introduces the concept of an estate
owner (alongside the master avatar) and provides storage fo the
abuse email address. No user functionality yet.
This patch includes a migration.
2008-08-01 02:14:34 +00:00
Mike Mazur 6f975f6eeb Thanks, Zaki, for a patch that addresses unhandled exceptions in the
PluginLoader when servers are started in parallel.
2008-08-01 01:14:40 +00:00
Mike Mazur 15669281fa Apply updated patch from issue 1871. Thanks sempuki. 2008-07-31 23:53:24 +00:00
Justin Clarke Casey 6d15f25026 * Allow an individual item to be specified as well as a folder in save-inv
* No user functionality yet (and not for some time)
2008-07-31 18:32:57 +00:00
Justin Clarke Casey 900a656420 * refactor: rearrange path inventory manipulation so that input tidying can be used for item paths as well 2008-07-31 18:23:17 +00:00
Justin Clarke Casey 465e77b618 * refactor: eliminate unused SubFoldersCount 2008-07-31 17:35:47 +00:00
Justin Clarke Casey a62b906a7b * allow inventory folders to be located by path
* first pass method impl
2008-07-31 17:32:13 +00:00
Justin Clarke Casey 078643a017 * refactor: Change CachedUserInfo.HasInventory to HasReceivedInventory to make actual function clearer 2008-07-31 16:05:50 +00:00
Justin Clarke Casey 58af0fabeb * minor: reduce coupling by passing in only session id to CachedUserInfo 2008-07-31 15:53:07 +00:00
Charles Krinke 1f7fde9436 Mantis#1868. Thank you kindly, HomerHorwitz for a patch that:
0001868: llXorBase64StringsCorrect leads to error if second string 
shorter than first which was an off by one error.
2008-07-31 15:11:44 +00:00
Melanie Thielker c441a03ea3 Thank you, HomerHorwitz, for a patch that implements llSetCameraParams/llClearCameraParams.
Fixes Mantis #1867
2008-07-31 12:31:31 +00:00
Melanie Thielker 244ad2e614 Thank you, HomerHorwitz, for a patch that add PERMISSION_CONTROL_CAMERA
Fixes Mantis #1861
2008-07-31 12:25:18 +00:00
Melanie Thielker b3e19359d9 Thank you, sacha magne, for a patch that prevents sim chat from
being heard across whole grids.
Fixes Mantis #1855
2008-07-31 10:58:15 +00:00
Melanie Thielker af3e2c6e1c Thank you, sacha magne, for a patch that implements
llRequestSimulatorData("simname", DATA_SIM_RELEASE)
Fixes Mantis #1866
2008-07-31 10:51:30 +00:00
Mike Mazur ddf126321c Thanks, M. Igarashi & nlin, for a patch that implements unary minus operator
for Vector3 type. Fix issue 1872.
2008-07-31 09:34:13 +00:00
Mike Mazur 2270b25265 Thanks, sempuki, for a patch that moves all Grid Server's plugins to
PluginLoader. Fix issue 1871.
2008-07-31 09:24:28 +00:00
Mike Mazur 16cf5aa2b8 Allow the list hack from issue 1863 to compile, however its behavior is
different than in SL. See http://opensimulator.org/mantis/view.php?id=1863 for
details.
2008-07-31 07:11:49 +00:00
Mike Mazur 57ec7a26cd -make ZERO_VECTOR and ZERO_ROTATION static readonly properties so they can be
used in scripts
-cast from bool to LSL{Integer,Float,String} so functions such as `integer
isZero(integer x) { return (x == 0); }` work
-progress on issue 1863
2008-07-31 07:11:41 +00:00
Mike Mazur 56c4cc39ff Allow assignments in if/while/do-while control statements. Fix issue 1862. 2008-07-31 04:13:46 +00:00
Mike Mazur eef3864278 Fix issue 1860; exception thrown in the parser on if/if-else/for/while/do-while
statements with no body.
2008-07-31 01:27:33 +00:00
Mike Mazur 1c8f490573 More LSL_Types implicit/explicit cast changes. Fix issue 1854. 2008-07-31 00:29:19 +00:00
Melanie Thielker 3a2caa1f9a Thank you, HomerHorwitz, for a patch that
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
2008-07-30 22:37:42 +00:00
Dr Scofield 5095b4c212 From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that causes the ensuing http_response event (after
an llHTTPRequest) to include the HTTP status code returned from the server
(if available). The patch also sets the body parameter for the
http_response event to be set as the status description returned by the
server.
2008-07-30 16:47:25 +00:00
Dr Scofield 96d1891c71 From: Richard Alimi <ralimi@us.ibm.com>
The following is a patch that causes HTTP connections made by llHTTPRequest
to be closed once the response is read.
2008-07-30 16:21:01 +00:00
Adam Frisby 2f8acdbe50 * Applying Mantis #1852 - Plugin Provider refactoring. Courtesy of Ryan/Sempuki. 2008-07-30 08:17:19 +00:00
Melanie Thielker c80493ed4d Prevent acks from being appended to viewer effect packets, since
that has been known to cause an exception in libomv ^^
2008-07-29 22:40:23 +00:00
lbsa71 8edab95bad * Refactored some heavily duplicated RequestSimProfileData functions
* Changed InventoryUrl and GridServerURL type to Uri instead of string - to address '/' issues.
2008-07-29 19:52:58 +00:00
Justin Clarke Casey d84a6bca55 * minor: temporarily command out variables to prevent compile warnings 2008-07-29 18:16:17 +00:00
Justin Clarke Casey 19a5e56d55 * add file path parameter to save-inv (in development) 2008-07-29 18:14:58 +00:00
Justin Clarke Casey d13c9161c9 * find user on save-inv 2008-07-29 18:11:58 +00:00
Justin Clarke Casey aa59dfb1d2 * minor: route create user through underlying super class method rather than calling communications manager directly 2008-07-29 18:01:12 +00:00
Justin Clarke Casey e595959d97 * refactor: move create user console command parsing down to OpenSim.cs from CommunicationsManager 2008-07-29 17:39:15 +00:00
Justin Clarke Casey e7b3e7b749 * Put in stub code for inventory backup.
* No user functionality yet (and not for quite some time)
2008-07-29 14:28:08 +00:00
Charles Krinke bfa1fd768b Mantis#1849. Thank you kindly, Kinoc for a patch that:
- LLSDLoginMethod should error out in similar way to XMLRPC login for already logged in condition
- Have LLSDLoginMethod mirror the sequence of the XMLRPC for easier side by side compare
- Log messages report which process XML or LLSD generated them for easier debugging
2008-07-29 03:43:31 +00:00
Dr Scofield 0512895eea Trying to guestimate sensible default values for GridInfoService if no
[GridInfo] section is supplied by OpenSim.ini; also adding log warning
if that is the case.
2008-07-28 14:28:26 +00:00
Dr Scofield f25af1f9e6 dropping GridInfo prototype, now properly implemented as
GridInfoService.
2008-07-28 12:31:46 +00:00
Dr Scofield 03efaff60e moving GridInfo application plugin into a common standalone/grid
service, adding a plain REST GET handler returning XML (no LLSD),
adding appropriate add handler calls to OpenSimBase and UserServer.
2008-07-28 12:18:48 +00:00
Mike Mazur f6fa4ada4e When casting strings to int, use double.Parse() as strings may be floats. With
this commit, issue 1822 should be fixed.
2008-07-28 07:46:53 +00:00
Mike Mazur d959c65b91 -implement LSLString -> Quaternion explicit cast
-sync Shared/LSL_Types.cs with Common/LSL_Types.cs
-get the test script in issue 1822 to compile
2008-07-28 02:36:26 +00:00
Mike Mazur a61e1ea7dc Adding explicit cast from LSLFloat to LSLInteger. Work on issue 1822. 2008-07-28 02:36:22 +00:00
Mike Mazur 82fa53a486 -copy LSL_Types tests from Common/ to Shared/
-fix some whitespace/formatting
2008-07-28 02:36:18 +00:00
Melanie Thielker 40bb4edf8c Refresh LSLTypes.cs in Shared/ from the one in Common/, which was
more complete.
2008-07-28 01:33:21 +00:00
Adam Frisby e2ce142669 * Added a check for Infinite or NaN values before updating a heightfield. This may slow down terraforming when it debug mode - feedback appreciated. 2008-07-28 00:43:01 +00:00
Melanie Thielker 9fca0aca64 Reinstate the configuration option on XEngine's use of the lexical
compiler. Changes the default in OpenSim.ini.example to "true" to
allow for a broader user base for testing.
2008-07-28 00:40:35 +00:00
Mike Mazur 9e58ce60c0 Use new LSL compiler by default in DotNetEngine and XEngine. Fix issues 1651, 1339. 2008-07-27 23:53:18 +00:00
Melanie Thielker 50f2e88c99 Re-fix r5681. Sorry for the inconvenience. We will now return you
to your scheduled scripting.
2008-07-27 20:32:22 +00:00
Melanie Thielker 8cd0c90dab Addresses Mantis #1611
Set thread culture for event processing threads in DotNetEngine.
XEngine already had this. Maybe someone with a French OS can verify
the fix.
2008-07-27 19:54:43 +00:00
Melanie Thielker 6c3db99a27 Addresses Mantis #1688
Changes erroneous return value of llGetLinkname() to "" for nonexistent
prims. Corrects an issue where the root prim of a linked set, upon
delink, retains the part number 1.
2008-07-27 19:32:43 +00:00
Melanie Thielker 839e9c94e8 Prevents Mantis #1829
Add array size check to packet from viewer to prevent OOB exception
2008-07-27 19:12:40 +00:00
Jeff Ames 2ec23f934a Update svn properties. 2008-07-27 17:15:41 +00:00
Charles Krinke e4ef774875 Mantis#1831.Thank you kindly, Francis for a patch that addresses:
Not all combinations of list order equally likely with llListRandomize()
2008-07-27 16:21:51 +00:00
lbsa71 f417a03414 Mantis#1817. Thank you kindly, sacha magne, for a patch that:
* Fixes a simulator crash when an asset file is missing on loading asset library.
2008-07-27 13:59:07 +00:00
lbsa71 1784918034 * Added safeguard to ensure valid inventoryserver uri. 2008-07-27 13:34:34 +00:00
Mike Mazur e17520621c Log to console if C# line/column lookup fails. 2008-07-27 10:41:44 +00:00
Mike Mazur 11a3fbf4aa Conversion from double to LSLInteger needs to be explicit. Fix issue 1826. 2008-07-27 07:09:33 +00:00
Mike Mazur 6267db0c4c Implement LSLFloat {+,-,*,/} LSLFloat operations. Fix issues 1532, 1701, 1824 &
1832.
2008-07-27 05:42:47 +00:00
lbsa71 8e869b2fff * Changed a number of field names to ccc (public members shouldn't be called m_) 2008-07-26 21:22:15 +00:00
Dahlia Trimble c12d4d21e3 Modified ResetChildPrimPhysicsPositions() to allow archiving and physics to coexist peacefully (as per justincc's recommendations) 2008-07-26 19:51:17 +00:00
Melanie Thielker 2a1bc318b0 The hazards if unclean sourc trees. Yours truly got bitten this time.
Re-fix the re-fix from a clean build. This makes the region based
settings work as advertised
2008-07-26 18:54:59 +00:00
Melanie Thielker 3b1efa4348 Re-Fix the fix 2008-07-26 18:46:04 +00:00
Melanie Thielker 1321bd25b8 Fix Mantis #1830
Makes region settings save on second and subsequent sim restarts
after upgrading.
2008-07-26 18:03:50 +00:00
Dahlia Trimble 287674296e reinstated ResetChildPrimPhysicsPositions() as some prims had bad/missing proxies without it 2008-07-26 01:58:13 +00:00
Dahlia Trimble c512120389 Attempt to update viewer for some physics status changes in SOP 2008-07-25 20:45:06 +00:00
Dahlia Trimble 3035f5cb64 Re-enables testing for config option mesh_sculpted_prim which was inadvertently disabled in a prior modification (oops) :) 2008-07-25 20:29:37 +00:00
Justin Clarke Casey 0d488ad489 * minor: just realized I managed to get the save xml/xml2 messages the wrong way around 2008-07-25 18:08:45 +00:00
MW a7db55717b enabled a config option to inventory server to be able to stop it doing the SessionId lookup to the user server. As this ties a inventory server to one userserver/grid.
doing the look up is still enabled by default.
2008-07-25 17:59:34 +00:00
Justin Clarke Casey d954f46a0a * Stop the HasGroupChanged flag being reverted for newly restored prims which need to be persisted to the db
* This should stop the problem where linked prims loaded via an archive did not survive server restart
* It may address mantis 1819 though the symptoms don't look consistent
2008-07-25 17:48:58 +00:00
Dr Scofield c724e38433 oops. forgot to add addin.xml for GridInfoPlugin. also, slight
reordering of plugin initialisation to ensure that it will return base
information about grid, even if [GridInfo] config section is not
there.
2008-07-25 17:06:26 +00:00
Dr Scofield b5f23b4c9c first cut at a GridInfo plugin (mantis #1825). Currently just spits
out everything in the [GridInfo] section :-D Also, not yet LLSD but
XmlRpc, LLSD via GET will follow. OpenSim.ini.example contains sample
values and explanation. Oh, and default values provided are 

       platform: OpenSim
       mode: standalone | grid

have fun.
2008-07-25 16:56:46 +00:00
Justin Clarke Casey fd4e703f25 * Remove dumb bug I put in which meant that an archive save would never complete if there were any missing assets 2008-07-25 15:18:24 +00:00
Dr Scofield f2bc404e70 squasing warning. 2008-07-25 12:59:41 +00:00
Dr Scofield 81cb72b5ad squashing warning. 2008-07-25 12:59:18 +00:00
Dr Scofield f7e636570f adding copyright statement. 2008-07-25 11:31:33 +00:00
Dr Scofield 031e140761 From: Christopher Yeoh <yeohc@au1.ibm.com>
The LL Server sets the CreateSelected flag for a prim when sending a
property update when objects are linked. The following patch 
gets OpenSim to do the same.
2008-07-25 10:13:26 +00:00
Dr Scofield 2d727ebc63 completing rename of ChatFromViewerArgs to OSChatMessage 2008-07-25 10:09:02 +00:00
Dr Scofield 24e15088ea renaming the increasingly ill-named ChatFromViewerArgs to OSChatMessage 2008-07-25 10:05:50 +00:00
Dr Scofield 50bc51b642 From: awebb
test code for REST handlers.
2008-07-25 10:02:21 +00:00
Dr Scofield 7025a8040e From: awebb
Further improvements to the REST handlers.
2008-07-25 09:56:35 +00:00
Mike Mazur 19ad7db5e1 Add casts from integer to float. Fix issue 1822. 2008-07-25 07:50:31 +00:00
Mike Mazur 84cc69573b Thanks, lulurun, for a patch that adds an authenticated session cache to reduce
"check_auth_session" requests from inventory server to user server.
2008-07-25 07:16:27 +00:00
Melanie Thielker 5998fb712a Patch #9155 (Mantis #1793)
Fix a regression that caused the region settings not to save.
Still no SQLite support for region settings. MySQL now functional.
2008-07-25 06:17:43 +00:00
Teravus Ovares 1e7c9e4810 * Fix the ODEPlugin unit test 2008-07-25 05:23:10 +00:00
Mike Mazur e60cf0e67d -add test for newly introduced cast operators (issue 1818)
-fix formatting
-remove CompilerTest test since it seems to fail randomly
2008-07-25 04:47:11 +00:00
Melanie Thielker ac9a221993 Add mingchen's fix for string->float cast to Shared/ 2008-07-25 03:47:55 +00:00
Melanie Thielker 06e0e513cf Add GetGroupPowers() and a dictionary to hold them to ClientView and
IClientAPI. No user functionality
2008-07-25 03:45:17 +00:00
mingchen 6554c7bac5 *Fixes #0001818: typecast string to float 2008-07-25 03:39:38 +00:00
mingchen f2742fb604 *Added CommandIntentions that is used to describe a console commands hazard. HAZARDOUS if it modifies the simulator, NON_HAZARDOUS if it does a command that doesn't modify the simulator but does a background command such as a forced backup, and STATISTICAL if it returns debug or more information.
*This is useful for implementing a protection system from unwanted script execution or for application modules needing to know what a command does.
2008-07-25 02:30:07 +00:00
Dahlia Trimble c1e239dedc llApplyImpulse now accepts any non-zero integer as not FALSE 2008-07-25 02:06:40 +00:00
Dahlia Trimble c67198299e Changed application of constant forces to after PID force is applied. llSetForce() should behave identical to the Linden implementation now. 2008-07-24 21:05:30 +00:00
Justin Clarke Casey cdd3537706 * refactor: Remove now redundant inventory server url being passed to GetInventorySkeleton 2008-07-24 17:19:33 +00:00
Justin Clarke Casey 918c0a4826 * refactor: move remaining user service -> inventory service OGS1 calls into the specific inter service class 2008-07-24 17:10:07 +00:00
Justin Clarke Casey 11385c53e6 * minor: eliminate warnings from LindenUDP 2008-07-24 16:03:17 +00:00
Justin Clarke Casey 77297ed6cc * Separate out OGS1 calls used between services (rather than from region to services) into a separate assembly to parallel OpenSim.Region.Communications.OGS1 2008-07-24 15:56:50 +00:00
Melanie Thielker 740a9a7374 Thank you, Neopallium, for a patch that addresses ack issues in the
client stack. Committed with changes, see Mantis #1810 for details.
2008-07-24 15:52:36 +00:00
Justin Clarke Casey e5e1666c84 * Fix spelling mistake in OGS1SecureInvenotryService 2008-07-24 15:27:21 +00:00
Justin Clarke Casey 29e8fcd13c * minor: Rename IInterGridInventoryServices since it's inter service rather than inter grid 2008-07-24 15:20:57 +00:00
Jeff Ames a4ad6a67b7 Update svn properties. Minor formatting cleanup. 2008-07-24 15:20:47 +00:00
Dr Scofield 1d7e29cc2c oops...forgot to svn add OSHttpHttpHandler.cs last week.
NOTE: this code is work-in-progress, it's not live. it's so far
harmless and just wants to play. it should not bite anyone (yeah,
that's what they all say, i know...)
2008-07-24 14:35:04 +00:00
Dr Scofield e9144b1a3a From: Christopher Yeoh <cyeoh@au1.ibm.com>
The problem I noticed is that when child prims are selected unlike
the Linden server, OpenSim does not return property information - it
only searches the root prims for matches.

What I'm not sure about is whether the parcel prim count taint should
be set or if the root prim should be set as selected (doesn't
seem possible to set the child prim as selected). It does
however fix the problem of the property information
not being sent, so its an improvement (I think!).
2008-07-24 14:18:07 +00:00
Dahlia Trimble f74a9bcdc7 Implements llSetForce() and llGetForce(). These are experimental and the units may not match the Linden implementation. 2008-07-24 07:45:58 +00:00
Mike Mazur d58346e798 Refactor some tests. 2008-07-24 07:23:36 +00:00
Mike Mazur bb777a9c3c Replace the try/catch with a null check. 2008-07-24 05:23:42 +00:00
Mike Mazur 117cc09edc Replace implicit casts from LSLFloat to int and uint which were removed in
r5487.

Also put the unit tests back for Bamboo to execute them, let's see how this
goes.
2008-07-24 05:23:38 +00:00
Melanie Thielker cc5d49d9c1 Addresses Mantis #1810
Collapses two locks into one to avoid a situation were a List is
cloned under two different locks, resulting in a bad index in
.NET code.
2008-07-24 01:38:58 +00:00
Mike Mazur 635b715880 Thanks, cmickeyb, for a patch that addresses secure inventory assuming IP addresses in configuration. Fix issue 1812. 2008-07-24 00:32:06 +00:00
Justin Clarke Casey 9af05d0bc3 * refactor: break out inter grid inventory services further
* more to follow
2008-07-23 22:18:09 +00:00
Sean Dague 1c9551eaae few additional fixed to get prim inventory up on nhibernate 2008-07-23 22:14:37 +00:00
Sean Dague c38b811f5d catch a null case in the convenience RegionID property 2008-07-23 22:14:35 +00:00
Sean Dague 30a77b5b9f implemented prim inventories for nhibernate 2008-07-23 22:14:34 +00:00
Sean Dague 47ad705675 fix column mapping 2008-07-23 22:14:32 +00:00
Sean Dague 6720f4c289 complete the prim inventory mapping 2008-07-23 22:14:31 +00:00
Sean Dague cf317f5c33 refactor TaskInventoryItem Mask -> Permissions to be consistant with how things
are stored in the db.
2008-07-23 22:14:29 +00:00
Sean Dague 3c227390c0 add primitems migration for nhibernate 2008-07-23 22:14:23 +00:00
Justin Clarke Casey 4452ed60f8 * refactor: split out inventory services which are only used between non-region services
* more to follow
2008-07-23 21:40:06 +00:00
Sean Dague aad92e1368 turn fields -> properties in TaskInventoryItem 2008-07-23 19:28:18 +00:00
Melanie Thielker db06e628de Attempt to fix Mantis #1804
Fetches the correct link part to chenge.
Please provide feedback, since I was not able to test all variants of this huge function.
2008-07-23 18:37:43 +00:00
Melanie Thielker f079af87dc Fix Mantis #1759
Corrects reported agent positions.
2008-07-23 18:08:16 +00:00
Sean Dague df361be35f make privates private 2008-07-23 15:58:44 +00:00
Sean Dague 090159defc refactored LandData to use properties, and cleaned up the naming on
the properties a bit to be more consistant with other objects (having things
like .Name .Description, etc).
2008-07-23 15:50:32 +00:00
MW ecd296ad67 Send Animation data for other avatars to new users joining the region (tested on new logins, but need to test that it is triggered on teleports).
This should fix the sitting avatars appearing in a T pose to new users. And possible other animation problems.
2008-07-23 14:26:30 +00:00
Melanie Thielker 76d8cceb92 Fix a race causing a buffer overflow under moderate load 2008-07-23 14:26:08 +00:00
Jeff Ames 80d8e2889e Update svn properties. Formatting cleanup. Remove a compiler warning. 2008-07-23 13:24:25 +00:00
Sean Dague 9e8b456bbc get rid of some LLQuaternion == null checks. Because LLQuaternion is
a struct and not a class, it can't be null.  So these checks were just
generating compiler warnings on unreachable code.
2008-07-23 12:39:16 +00:00
MW 9b51bb545e Changed it so the avatar's rotation is now sent as part of a full avatar update.
This should fix the wrong rotation on existing sitting avatar when logging in bug.
2008-07-23 11:07:59 +00:00
Johan Berntsson ce4bcb5065 The new secure inventory server mode (in r5590) can now be disabled from OpenSim.ini. Default is to use the new mode. 2008-07-23 09:46:04 +00:00
Mike Mazur 003487631d Fix issue 1760. If the inventory item is not found, llSay() and throw an exception. 2008-07-23 08:03:32 +00:00
Johan Berntsson 3b35332957 adding files that were not included in r5589 2008-07-23 07:27:11 +00:00
Johan Berntsson 344c9caeb6 thanks lulurun for a security patch that blocks unathorized access to the inventory server (see http://opensimulator.org/wiki/Security_vulnerability_brought_by_non-check_inventory_service) 2008-07-23 06:59:02 +00:00
Mike Mazur f9e2f41d7c Enable LSL <-> C# source location mapping when reporing compiler errors to the user in-world. This method is not yet perfect but is an improvement in accuracy over the existing method. 2008-07-23 06:53:38 +00:00
Mike Mazur 6256078876 Thanks, sempuki, for a patch that adds .addin.xml for MSSQL and SQLite users. 2008-07-23 05:53:54 +00:00
Mike Mazur a0930aa80d Thanks, sempuki, for a patch that moves control of Mono.Addins from source attributes to external XML files. Fix issues 1682 and 1786. 2008-07-23 03:08:31 +00:00
Mike Mazur ba17b0df27 First version of position mapping between LSL <-> C# implemented. 2008-07-23 02:51:45 +00:00
Melanie Thielker e1c6563174 Guard against wrong packet types being passed into AddNewClient.
Actually, the exception handler seems to be a valid execution
path here, this needs some love.
2008-07-23 01:16:01 +00:00
Melanie Thielker e09ff343fb Make QueuePacket() lock free. Eliminates an unneeded lock() 2008-07-22 22:49:13 +00:00
Melanie Thielker 7fb103d374 Change one packet optimization to cover a case where the resend
queue may block indefinitely when a single packet is not acked
by the viewer and no others cwfromfor that region are pending.
2008-07-22 22:21:20 +00:00
MW b942d18379 renamed ScenePresence.SendFullUpdateToAllClients() to SendInitialFullUpdateToAllClients(), and added a replacement SendFullUpdateToAllClients() method. As the old one (now "Initial") has extra steps in it for sending initial updates/date, Not only was this leading to a lot more data being sent than needed to be, every time it was called. It also seems to have been causing the "other Avatars rotating when you sit down" bug. 2008-07-22 19:56:30 +00:00
Melanie Thielker f112cebde2 Refactor the packet scheduling out of ClientView. Add intelligent
resending, timeouts, packet discarding. Add notification event for
packet discarding. Add priority scheduling for packet queues.
Add outgoing duplicate detection facility. Correct packet sequencing.
Make provisions for automatic server side throttle adjustments (comes
in next installment)
2008-07-22 17:58:42 +00:00
Justin Clarke Casey b2b5675bd4 * refactor: move new inventory service call by user server to OGS1 with all the other service calls
* will post to mailing list about moving this shortly
2008-07-22 17:43:09 +00:00
Justin Clarke Casey a1d481d0f6 * minor: Make create user command appear on the region console only if the region is running standalone 2008-07-22 16:21:16 +00:00
Jeff Ames 186f83692c Update svn properties. Squash a couple of warnings. 2008-07-22 15:01:04 +00:00
Dahlia Trimble 492b25362c Clean up Meshmerizer.cs a bit to make it more readable 2008-07-21 23:08:23 +00:00
Justin Clarke Casey 714e1f6786 * Give new uuids to all the objects loaded in from an archive.
* This should allow multiple copies of an archive to be loaded into different regions on the same region server
* This shouldn't affect existing operations.
2008-07-21 21:10:15 +00:00
Charles Krinke 1ef7a05b3e Mantis#1544. Thank you kindly, Jonc, for a patch that:
Terrain revert using the PaintBrushes appears to work OK, 
however when using 'apply to selection' the RevertArea 
FloodEffect calculates the revert height incorrectly 
unless the strength passed in from the viewer is 1.0
Attaching a patch to correctly reset the selected area 
to the heights in the revertmap.
2008-07-21 19:29:55 +00:00
Justin Clarke Casey d9db56d86b * minor: stick filename being loaded/saved from in save/load xml/oar information messages 2008-07-21 17:52:53 +00:00
Justin Clarke Casey 8948ecbd8b * minor: Make it clearer the region on which save and load xml/oar commands are operating 2008-07-21 17:42:13 +00:00
Justin Clarke Casey b798a9b7a0 * minor: add wiki link to archiving function invocation 2008-07-21 17:33:03 +00:00
Justin Clarke Casey 5bceab785f * Minor: correct change-region typo 2008-07-21 17:23:32 +00:00
Justin Clarke Casey a13a4c6144 * minor: change misleading 'all assets found' message to instead tell how many were actually located 2008-07-21 17:13:32 +00:00
MW 6784cebf57 added support so that the packet tracker can resend packets itself as well as triggering a event. Next step to change the terrain packet resending to use these feature. 2008-07-21 16:21:59 +00:00
MW fb096dfbd5 added experimental packet tracker (LLPacketTracker.cs), which can be told to track a packet and if it hasn't been acked within a set time, trigger a IClientAPI event, that the application/scene can handle. Currently only terrain packet tracking is finished, Tracking for initial Prim packets (first full update for a prim) is being worked on. Future improvements would be to make it a more generic packet tracker with callback delegates instead of events.
Add a test event handler (which would fire after a minute if a terrain packet hadn't been acked) to scene to handle the OnUnackedTerrain event, which currently just resends the terrain patch.
The idea of this packet tracking is for the region level application to be able to know if the client stack gave up on sending a packet.
2008-07-21 15:13:34 +00:00
Charles Krinke cda3206633 Mantis#1801. Thank you kindly, Junta_Kohime for a patch that:
I found a problem trying to get s value directly from a quaternion q.
Compiling a script which directly access to q.s value, caused the 
following error:
CS0103: 'The . symbol cannot be used in LSL except in float values 
or vector components'. Detected around: q.s
I did a small change to allow alphabetic letter "s" to be interpretated 
as valid identifier. This solves the problem.
2008-07-21 13:44:56 +00:00
Charles Krinke a432a07005 Mantis#1798. Thank you kindly, StrawberryFride for a patch that:
Fixes a couple of places where null reference exceptions were 
being caught and ignored rather than null checks being performed.
2008-07-21 13:40:08 +00:00
lbsa71 9dbb6f28bc * eliminated some warnings and added some const and readonlies
* refactored some member names for readability and ccc (code convention conformance)
* took away two refs from Rest.Inventory since
   * System.IO is part of System
   * System.Xml.Serialization is part of System.Xml
2008-07-21 10:02:55 +00:00
Dahlia Trimble ce90e2ecce some optimizations in quaternion normalization in llRot2Fwd, llRot2Left, and llRot2Up. llAxes2Rot now uses these functions for sign error correction instead of vector*quat products. 2008-07-21 09:36:22 +00:00
Dahlia Trimble 08f3d212ce does some verification of the quaternion returned by llAxes2Rot and modifies the sign of the s term if a discrepency is found. This helps llAxes2Rot more closely match the Linden implementation. 2008-07-21 05:34:31 +00:00
Charles Krinke bedd28e02e Mantis#1797. Thank you kindly, StrawberryFride for a patch that solves:
Shutdown command on region server was presenting an error, failing to 
send detach region for all regions, and failing to shut down
2008-07-20 22:19:39 +00:00
Charles Krinke 681433c4b7 Mantis#1796. Thank you kindly, StrawberryFride for a patch that:
Agent table code (INSERT / UPDATE, etc) now added to MSSQL provider.
2008-07-20 22:16:50 +00:00
Melanie Thielker 8ae7dc628b Make the max sizes of physical and nonphysical prims configurable in OpenSim.ini
Defaulted to 65536 and 10, respectively
2008-07-20 15:19:26 +00:00
Melanie Thielker 212ab8c6d9 Change SQLite argument marker from the more standard '@' to the ':' supported
but earlier versions of the SQLite dll
2008-07-19 21:01:10 +00:00
Charles Krinke 9ff9279a7c Mantis#1785. Thank you kindly, Junta_Kohime for a patch that"
llAxes2Rot now implemented. Important note: quaternion <x,y,z,s> 
is equal to <-x,-y,-z,-s>. The result may be different from LSL 
output, but it is correct. A problem of rounding caused an error 
of square rooting of zero as negative number, corrected by squaring 
again. Function tested 360° along 3 axes. Vector fwd, left and up 
have to be normalized.
2008-07-19 14:45:10 +00:00
Jeff Ames 19fd2230bf Update svn properties. Fix some inconsistent newlines. 2008-07-19 09:35:48 +00:00
Melanie Thielker 351ee78d2a Quick fix to make the estate ban list effective again, when the region
crossing is also a sim crossing. Prevents the CAPS handler from being set
up for a banned user,making them redmap out.
Dirty hack, temporary until I can work out how to do it right.
2008-07-19 06:20:57 +00:00
Melanie Thielker bcf74416a1 Fix prim link numbers (Mantis #1781)
Implements additional unlink modes (unlink root prim from link set, some
multi-set operations). Linking (single and mutiple) fully implemented.
Consistent numbering of links while in world. Link/delink with predictable
link numbering. Correct link numbers in LSL.
Not all multi-set ops implemented. Link numbers still change when taken and
re-rezzed.
2008-07-19 04:05:34 +00:00
Melanie Thielker a73d87ef16 Introduce a separate connection string for estates, which defaults to the one gi
ven for the region datastore. Removes the flag to store prim inventories, which are now always stored.
2008-07-18 20:50:47 +00:00
Melanie Thielker bbd076544d Patch to fix saving of estate managers list loaded during migration.
No longer teleports an agent home unless their root agent is being banned.
Visual blocking is still in effect.
2008-07-18 19:32:05 +00:00
Dr Scofield 6a7d544497 pulling query handling through the handlers. adding (non-functional,
work-in-progress) HttpHandler.

NOTE: non-active code. does not glow in the dark. non-combustible.
2008-07-18 19:28:52 +00:00
Charles Krinke c0e389cfff Mantis#1778. Thank you kindly, Junta_Kohime for a patch that:
llRot2Left and llRot2Up functions modified, using fast algebric 
calculations instead of vectors and quaternions products. 
The accuracy is the same. Normalization is now implemented.
2008-07-18 19:09:51 +00:00
Melanie Thielker 76840906b5 Patch adds bool IsManager(LLUUID) to IEstateModule.
Returns true whenever the LLUUID references a user who is either an EM or
the region owner.
Please note that ownership is region-scoped, while EM is estate-scoped.
2008-07-18 18:08:34 +00:00
Dr Scofield 449c09234d fixing copy & paste artefact. 2008-07-18 15:36:38 +00:00
Sean Dague 611b56070b add some locks back into the sqlite asset path, as something changed
that is causing a lot of out of order execution on asset fetches on
multi region sims.
2008-07-18 15:34:32 +00:00
Dr Scofield 0ea73384d4 simplifying OSHTtpHandler (a bit), adding query string matching,
adapting OSHttpXmlRpcHandler accordingly.

NOTE: this code is not live.
2008-07-18 15:31:28 +00:00
Sean Dague df1485fc51 remove all the odd quoting, on the off chance this was causing some
of the issue.
2008-07-18 15:19:52 +00:00
Sean Dague d9ba7c8339 put the entire thing inside a transaction. This probably doesn't
help much, but it might.
2008-07-18 15:13:19 +00:00
Sean Dague e2a3be254f fix typo in create index that caused the entire migration to fail.
put some drop table if exist clauses in here to hopefully let this
migration work for people that are in an intermediary broken state
right now.
2008-07-18 15:10:20 +00:00
Sean Dague aec5f0ceed found a better pattern for SaveOrUpdate with nhibernate
cleaned up the asset path a bit
2008-07-18 15:06:24 +00:00
Justin Clarke Casey f8721c3c1c * refactor: break out sog loading code into two parts so that post-deserialization changes can be carried out before adding it to a scene 2008-07-18 14:42:06 +00:00
Dr Scofield a6e2589537 force Culture to en-US in BaseHttpserver.HandleRequest() --- this
fixes mantis #1748 and #1771.
2008-07-18 14:40:07 +00:00
Sean Dague d44dcdf97b remove NHPrim, this turned out to be a bad idea 2008-07-18 13:44:16 +00:00
Justin Clarke Casey 03bd6c91a9 * Fix http://opensimulator.org/mantis/view.php?id=1761
* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 1
2008-07-18 11:51:27 +00:00
Dr Scofield 0171e76246 squashing further warnings. 2008-07-18 10:57:18 +00:00
Dr Scofield 3fb0a08619 fixing warnings in EstateSettings and correcting coding style:
* warning was: 
                 OpenSim/Framework/EstateSettings.cs(277): warning CS0472: The result of comparing `libsecondlife.LLUUID' against null is always `false'. This operation is undocumented and it is temporary supported for compatibility reasons only

* coding style: space before flow control statements please! http://blogs.msdn.com/brada/articles/361363.aspx
2008-07-18 10:33:10 +00:00
Dahlia Trimble 473059905f Commented out a readline that was preventing the sim from shutting down in some cases 2008-07-18 08:22:05 +00:00
Mike Mazur 8b613e677f Implement cast to LSL_Types.LSLInteger from double. Fix issue 1770. 2008-07-18 07:52:44 +00:00
Mike Mazur e0e0db3660 Thanks, sempuki, for a patch that moves all grid plugins to new PluginLoader (issue 1763). 2008-07-18 04:51:41 +00:00
Dahlia Trimble 230a7ecaec masks MySQL password from console startup messages 2008-07-18 03:23:40 +00:00
Melanie Thielker 263633e274 Patch #9151
Makes the estate dialog fully functional. Implements all client facing functionality. Moves estate data from estate_settings.xml, which is used to provide defaults, to the region data store. Creates one estate for each region, and places the region in it. Converts all region bans to estate bans.
2008-07-18 02:40:47 +00:00
Dahlia Trimble f87d2d8a92 added region port number to output of "show regions" command 2008-07-18 02:08:14 +00:00
Mike Mazur 0b92ff4fde Treat LSL_Types as special cases in llList2Integer and llList2Float. This could be implemented many other places, but let's do that on a case-by-case basis. 2008-07-18 02:05:20 +00:00
Charles Krinke bc24c0e5d7 Mantis#1768. Thank you kindly, Junta_Kohime for a patch that:
llRot2Fwd function modified, using fast algebric calculations 
instead of vectors and quaternions products. The accuracy is 
the same. Normalization is now implemented.
2008-07-18 01:20:06 +00:00
Dahlia Trimble 49adb6e09f refactor - commenting out needsMeshing() and all references as createMesh() has the same logic and obsoletes the need for it. 2008-07-18 00:03:28 +00:00
Sean Dague f54828c957 fix build break 2008-07-17 21:07:39 +00:00
Sean Dague 18a5cfd10f terrain is close to working, but I still end up at the bottom of the sea
right now.
2008-07-17 20:58:24 +00:00
Sean Dague 50eab18590 need to synchronize the terrain updates 2008-07-17 20:58:23 +00:00
Sean Dague 4663999c24 first pass at Terrain implementation 2008-07-17 20:58:20 +00:00
Sean Dague 366e09b543 add a Terrain object for the purpose of mapping. This may make sense
to stick up in framework later, but for now we'll just keep it close
to the data.
2008-07-17 19:58:47 +00:00
Sean Dague 8f2154916b if no texture, make it plywood 2008-07-17 19:58:45 +00:00
Sean Dague a580d7ee35 add plywood texture as a constant, as we need it in a couple of places
and it's super cryptic to have random UUIDs hanging out.
2008-07-17 19:58:41 +00:00
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 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