Commit Graph

4833 Commits (ec16750a87bffd647ce211b502b709c4a236c45b)

Author SHA1 Message Date
Sean Dague 5557f0b772 reformat spacing on some property declarations. Take away the virtual
attribute as that was a left over of an nhibernate approach that
isn't used in the current nhibernate code anyway.
2008-09-12 21:00:29 +00:00
Justin Clarke Casey bf3190538e * Patch http://opensimulator.org/mantis/view.php?id=2158
* RemoteAdmin SaveXMLMethod 
* My tiny mind isn't quite sure how this is useful, but the load xml equivalent is already there, so what the hell :)
* Thanks Olish.
2008-09-12 21:00:05 +00:00
Justin Clarke Casey f1e4001c90 * Make fix to MSSQLRegionData.cs in LoadLandObjects as recommended by Garrett Hussey in Re: [Opensim-dev] MSSQL runtime error in latest build..
* Thanks!
2008-09-12 20:53:21 +00:00
Justin Clarke Casey 62d1eba3b2 * Patch http://opensimulator.org/mantis/view.php?id=2167
* Force ClickAction persistence even if other object properties are not edited 
* Thanks nlin!
2008-09-12 20:42:04 +00:00
Justin Clarke Casey 2d7aca6d9d * Add userstore sql upgrade I carelessly forgot to check in a couple of revisions ago
* Hopefully there wasn't a problem anyway, since the look at stuff isn't enabled yet
2008-09-12 20:38:20 +00:00
Justin Clarke Casey 2fcc131ef3 * Patch http://opensimulator.org/mantis/view.php?id=2163
* Add prim ClickAction persistence to SQLite 
* This will require a prebuild
* Thanks nlin!
2008-09-12 20:37:07 +00:00
Justin Clarke Casey 52a4c4d82f * Check in first part of http://opensimulator.org/mantis/view.php?id=2073
* This patch aims to introduce look at direction persistence between logins.  It won't be active until the second part of the patch is committed in about two weeks time.  At 
this point, region servers that haven't upgraded past this revision may run into problems
* This checkin upgrades the user database.  As always, we recommend you have backups in case something goes wrong.
* Many thanks to tyre for this patch.
2008-09-12 20:12:03 +00:00
Dahlia Trimble febb781779 remove hidden faces inside prim meshes to improve memory use and startup time 2008-09-12 19:42:26 +00:00
Sean Dague 4b7e287ab2 because UUID supports equality, we can do a straight equals instead of
convert to string and match.
2008-09-12 18:46:55 +00:00
Tedd Hansen 85a0e03984 Note to self: VisualSVN not fully compatible with OpenSim prebuild :) 2008-09-12 18:46:52 +00:00
Sean Dague d312f10420 use new style asserts. They are much easier to read. 2008-09-12 18:46:44 +00:00
Tedd Hansen b41acfb4cf Cut of remote server as AppDomains and even WCF can do it better (better means less code in this case) 2008-09-12 18:42:02 +00:00
Teravus Ovares 18f490a30c * Fix a missing .UUID in llInstantMessage 2008-09-12 18:17:01 +00:00
Sean Dague 9349cf3149 move the actual [Test] methods for databases to OpenSim.Data.Tests
classes.  This did mean loosing 1 unit test that was actually testing
an sqlite function directly instead of the interface.
2008-09-12 18:13:43 +00:00
Sean Dague 1f42c89480 change order in prebuild.xml so this works in nant on a clean
checkout.
2008-09-12 17:45:02 +00:00
Sean Dague 96c720b04a be more clever and move the bulk of the db tests for inventory into
OpenSim.Data.Tests, then subclass with custom init bits for sqlite.
As I've only been testing the plugin interfaces anyway, this should
make it very easy to write only a little bit of code to use these
tests for other databases.  It will also give us the framework for
definining the datastore behavior and making sure that all the databases
do the same thing.
2008-09-12 16:05:06 +00:00
Sean Dague a408b58209 add the m_host.AddScriptLPS(1); line. I'm not actually sure what it
does, but it seems every other function here has it, so it is probably
needed.
2008-09-12 15:04:16 +00:00
Sean Dague 1b333a0f58 From: Rob Smart <SMARTROB@uk.ibm.com>
Implement an osParseJSON method useful for handling simple JSON returns
from http requests.  This will only work in C# at this point.
2008-09-12 15:04:13 +00:00
Charles Krinke 8d6096b815 Mantis#2165. Thank you kindly, CMickeyB for a patch that:
patch is attached that replaces the o(n^2) algorithm currently 
used to build the inventory cache with an o(n) algorithm using 
hash tables. the patch also adds some additional error handling.
2008-09-12 03:33:26 +00:00
Justin Clarke Casey 90ec9c46d5 * Move the ResetChildPrimPhysics() calls to after physics have been applied to the parts rather than after each individual part
* From looking at the code there shouldn't be any difference, and this appears to speed up prim loading and make a certain failure case (where prims seem to be going out of 
bounds on startup) less of a problem.
* However, if I've been bad please revert this patch
2008-09-12 00:45:24 +00:00
Justin Clarke Casey 3f1dbae8e4 * minor: various doc and tidy up, logging increase to make it clearer which prim is failing a border crossing 2008-09-12 00:37:59 +00:00
Melanie Thielker ecc24c3c63 Revert 6242 because of a possible licensing issue 2008-09-12 00:33:24 +00:00
Melanie Thielker 7a63fe7c07 Add the UUIDs of the standard animations. Thanks, Ewe Loon! 2008-09-12 00:23:41 +00:00
Sean Dague 7d61559058 more inventory folder tests 2008-09-11 20:52:35 +00:00
Sean Dague 45df1aaa64 add some folder create and list tests 2008-09-11 18:49:37 +00:00
Sean Dague 380af0b939 added simple add / exists folder check 2008-09-11 18:49:10 +00:00
Teravus Ovares 23e52993fb * This updates the OGP module to support both the revision 2 and revision 3 of the OGP protocol. (Assuming I understood it correctly)
* This also removes the host--> ip pre-resolve workaround.
2008-09-11 18:21:00 +00:00
Sean Dague 7ba9bfc8ad add a few more SQLite Asset tests. 2008-09-11 17:52:11 +00:00
Justin Clarke Casey f3497d9f57 * Start loading prims after region module configuration rather than before
* In some circumstances, loading prims can invoke region modules
2008-09-11 13:56:25 +00:00
lbsa71 e04ce96cee * Removed some legacy commenting 2008-09-11 11:41:52 +00:00
lbsa71 aa12787a17 * Added small convenience function to recursively calculate total amounts of items loaded under library inventory node 2008-09-11 11:39:43 +00:00
Sean Dague 0a9c6aecb5 added very basic stubs for User and Inventory db creates and empty
calls to make sure they worked
2008-09-10 21:36:20 +00:00
Sean Dague a90d2b491f fix typo in name of test db 2008-09-10 21:36:12 +00:00
Sean Dague 121398732a add basic sniff tests for SQLite Asset store. Initializes a db,
stores an asset, fetches that asset, make sure it has the name
we gave it.  All simple stuff, but should catch the more egregious
breaks.
2008-09-10 20:33:13 +00:00
Sean Dague 71f2176c4b add a simple update attribute test for SOG & SQLite 2008-09-10 20:33:02 +00:00
Sean Dague cc7ff3ac2e added in a few more tests 2008-09-10 19:14:12 +00:00
Sean Dague 3f73884674 the explicit log4net configure attempt was maybe breaking bamboo, get
rid of that.
2008-09-10 18:17:10 +00:00
Sean Dague f970597194 added the first couple of sqlite tests. we'll see how bamboo
handles them.
2008-09-10 17:49:41 +00:00
Sean Dague 1799913593 add shell for SQLite testing. No tests yet.
add another nant target for test-xml to get the verbose
version
2008-09-10 17:49:37 +00:00
Charles Krinke 9af5a44c91 Revert the two debug log statements from r6212 as described in Mantis 2126. 2008-09-10 14:12:56 +00:00
Melanie Thielker a68e34b558 Mantis #511
Allow parsing of hexadecimal int constants from strings.
Also fixes a DBNull value in the touch type field crashing the sim
2008-09-10 06:14:38 +00:00
Jeff Ames b9b996be38 Update svn properties, minor formatting cleanup.
Fix unreachable code due to typo in llDetectedGroup.
2008-09-10 05:17:28 +00:00
Charles Krinke 03672c35e4 Thank you kindly, CMickeyB for a patch that adds a
couple of debug statements for null items while we
diagnose our interrmittent inventory issues. I looked
at this and it seems helpful to others. We can back it 
later if desired.
2008-09-10 03:27:09 +00:00
Charles Krinke 7305dadba2 Mantis#2153. Thank you kindly, Godfrey for a patch that solves:
osSetDynamicTextureData() produces error on console if 
ExtraParams passed empty string
2008-09-10 03:19:57 +00:00
Charles Krinke 291aa9fa10 Implementation of llDetectedGroup for DotNetEngine. 2008-09-10 02:25:02 +00:00
Charles Krinke 796fedb1e9 *Almost* have a complete implementation of llDetectedGroup.
One member missing, so a portion is commented out.
2008-09-10 02:10:25 +00:00
Charles Krinke 6b10725f20 Implementation for llDetectedLinkNumber in DotNetEngine. 2008-09-10 01:54:25 +00:00
Mike Mazur e0d092ec53 Thanks, nlin, for a patch implementing persistence for "When Left Clicked"
object property. Fix issue 2149.
2008-09-10 00:19:36 +00:00
Teravus Ovares fac18f608d * Fixes Sqlite crash bug when saving a prim. 2008-09-09 23:42:44 +00:00
Sean Dague 6f15ec2d46 possible fix for EARTH SHATTERING KABOOM! when trying to save a prim 2008-09-09 20:45:21 +00:00
Sean Dague 017a6f5511 fix an automatically stripped out UUID from SQLiteManager
fix some spacing in SQLiteRegionData
2008-09-09 20:23:10 +00:00
Sean Dague 66dad4ab03 hopefully fix embedded inventory for sqlite 2008-09-09 18:44:54 +00:00
Sean Dague f141751cf9 From: alan_webb@us.ibm.com
Make CHANGED constants consistent with LSL, and consistent across the
code base
2008-09-09 14:51:41 +00:00
Sean Dague 37557da706 From: alan_webb@us.ibm.com
Fix an invalid bounds check in Builtin_Commands
2008-09-09 14:51:30 +00:00
Adam Frisby c95bdb83c0 * Adds OnGenericMessage and SendGenericMessage functionality to IClientAPI.
* Please don't break the build. *fingers crossed*
2008-09-09 05:25:29 +00:00
Melanie Thielker 4f85a9aa72 Fix llResetScript() and the reset button to actually restore global
variables to their initializer values, rather then zeroing them.
Also handles lists properly now.
2008-09-09 04:16:52 +00:00
Melanie Thielker 3ee91cb3c6 Preserve link numbers when items are taken into inventory and re-rezzed. 2008-09-09 03:48:09 +00:00
Jeff Ames fae34bb10c Update svn properties, formatting cleanup. 2008-09-09 01:26:48 +00:00
Melanie Thielker 3e1441afe1 Fix state xxx within state xxx itself triggering a state "change" to
same state
2008-09-09 01:24:58 +00:00
Melanie Thielker 084ea99be6 Fix string -> int cast to variable 2008-09-09 01:01:45 +00:00
Melanie Thielker 75380bc1aa Fix delimiter access from list for llParseStringKeepNulls 2008-09-09 00:43:14 +00:00
Melanie Thielker 19c9ea8ca0 Fix an inventory naming regression 2008-09-08 23:54:52 +00:00
Melanie Thielker 6ca7afabca Remove casting nastiness in LSL_Api 2008-09-08 23:13:59 +00:00
Melanie Thielker 1034c1cdc1 Correct state handling and state event masks. Prims will now show
touch, pay, etc script states correctly.
2008-09-08 22:19:06 +00:00
Sean Dague ce0a8d7bef changes to Test directory structure per opensim-dev conversation 2008-09-08 20:34:45 +00:00
Melanie Thielker 41a68ca5db Fix component order on a quaternion for the sit target. This caused
sit positions to be upside down until the script was reset.
2008-09-08 19:57:28 +00:00
Melanie Thielker 6447d7132f Adapt the unit tests to the new list rules, change some casts to
new method for testing
2008-09-08 19:29:16 +00:00
Melanie Thielker e7abde70a2 Mantis #2147
Thank you, ralphos, for a patch the adapts llSetColor and friends to
a change in the underlying types.
Also, thank you for a much cleaner way of casting types out of
lists, which I will adopt throughout.
2008-09-08 18:15:36 +00:00
lbsa71 8388fe0669 * some if inversions and added {}'s for readability 2008-09-08 14:30:35 +00:00
Melanie Thielker f2de15bffc Mantis #2144
Adjust XEngine llSetAlpha to a change in the underlying type
2008-09-08 12:30:48 +00:00
Melanie Thielker 1732baca0e Mantis #2145
Fix a number of casting issues in XEngine's API
2008-09-08 11:49:17 +00:00
Dr Scofield 3f9cc28103 fix: warnings from libomv 2008-09-08 10:28:59 +00:00
Mike Mazur 3cf92cb511 Use older ExpectedException attribute format. Previously tests were failing on NUnit <2.2.8. 2008-09-08 08:20:19 +00:00
Melanie Thielker 490ac0be00 Implement proper persistence of the following prim properties:
Floating text, Rotation, Texture animation, Particle System
This will make "Eye Candy" scripts work without modification in
XEngine. The use of the CHANGED_REGION_RESTART hack is no longer
needed. Implemented in MySQL only, hovertext also in SQLite.
2008-09-08 02:40:20 +00:00
Charles Krinke 4822e79759 Implement llEjectFromLand. 2008-09-08 02:24:30 +00:00
Charles Krinke 13f7d5a4b2 I inadvertently edited out llGroundSlope, llGroundNormal
and llGroundContour in the last checkin and this replaces
them again in LSL_BuiltIn_Commands.cs.
2008-09-08 02:05:56 +00:00
Charles Krinke d0920a2247 Add implementation for llSetSoundRadius(). 2008-09-08 02:01:36 +00:00
Mike Mazur 993384d348 Remove trailing whitespace. 2008-09-08 01:42:47 +00:00
Charles Krinke 9ef43d3e22 Add Adam's llGroundSlope, llGroundNormal and
llGroundContour into our Common/LS:L_BuiltIn_Commands
file.
2008-09-08 01:27:16 +00:00
Adam Frisby f3d4f62d0a * Implements llGroundSlope, llGroundNormal and llGroundContour in LSL_Api.cs - these functions are orthogonal to each other and the core implementation is in GroundSlope.
* Please note that this implementation has not been mathematically verified to be correct-as-described, it is probable that this implementation may produce differing results to Linden Lab. Testing (and test data) would be appreciated.
2008-09-07 22:56:43 +00:00
Charles Krinke 68e8f3a160 Revert the removal of the commented out
scriptsleep calls.
2008-09-07 22:08:40 +00:00
Melanie Thielker 669f553400 Xengine patch to force a persistence save on script creation. This prevents
duplicate delivery of state_entry if a region is restarted just after
saving the script. Changes script state saves to no longer abort long-
running event handlers. Queues the save instead. Adds shutdown handler
to save script state on irderly shutdown
2008-09-07 22:01:25 +00:00
Melanie Thielker e3338bac20 Mantis #2138
Thank you, HomerHorwitz, for a patch that fixes llGetKey()
2008-09-07 20:15:15 +00:00
Melanie Thielker 58d79b33ff Mantis #2142
Thank you, HomerHorwitz, for a patch that fixes landmark teleport
and about landmarks with the new OMV types.
2008-09-07 20:09:11 +00:00
Charles Krinke 0c7e87ee5e Return 0 for no wind and 0 for no clouds from
both llWind and llCloud and remove the 
"NotImplemented" status leaving us with about
74 "NotImplemented" LSL-C# wrapper functions.
2008-09-07 17:32:38 +00:00
Teravus Ovares 3f55b03bbf * Fixes linking using the new types.
quaternions are not communicative!
2008-09-07 13:24:23 +00:00
Mike Mazur ec13642e1a Convert TestStringsWithEscapedQuotesAndComments to use concatenated expected string. 2008-09-07 08:00:41 +00:00
Justin Clarke Casey 108f3b89f5 * On a failing login, don't bother trying the default region if it's the same as the original login region 2008-09-07 05:29:12 +00:00
Justin Clarke Casey 42661a8a97 * Increase expect_user XMLRPC timeout from 6 to 30 seconds
* This may possibly (est. 20% change) help the situation that we see on OSGrid meetings when a region stops accepting logins, which appears to be because it never receives the expect_user request
2008-09-07 05:21:03 +00:00
Justin Clarke Casey 815278531a * Improve login failure handling.
* Now it should properly inform the user and stop a login if a region server could not be contacted in order to expect a user (the last commit didn't actually quite work correctly)
2008-09-07 05:07:57 +00:00
Justin Clarke Casey 260b141306 * refactor: Remove duplication in UserLoginService where most of the emergency region login code is a cut and paste job of the preceding normal region login code
* also, properly tell the user if no region can be contacted, rather than letting the login proceed only to fail later when authentication fails on the region side
* copying and pasting code... it makes me cry inside... so sad...
2008-09-07 04:20:47 +00:00
Charles Krinke 94195c4927 Clean up some of the nonsensical use of ScriptSleep
inside our LSL-C# wrapper subroutines.
2008-09-07 04:00:44 +00:00
Justin Clarke Casey b9acf3ac5e * minor: for now, print out the exception if logging into the initially selected region fails, rather than swallowing it 2008-09-07 03:34:44 +00:00
Justin Clarke Casey 78f831ef52 * minor: Clean up of logging messages to make following the client login process easier
* documentation
2008-09-07 03:22:33 +00:00
Justin Clarke Casey ea8c18f63d * minor: just minor doc and tidy up 2008-09-07 00:47:08 +00:00
Charles Krinke aaf7f80dd1 Remove a few of the commented out "NotImplemented"
calls from our LSL-C# wrappers.
2008-09-07 00:42:46 +00:00
Charles Krinke b85a29d1b8 Mantis#2136. Thank you kindly, HomerHorwitz for a patch that:
libomv corrected the endianess of some Helper methods, which 
broke the fake parcelID computation for "About Landmark". 
The attached patch fixes this.
2008-09-06 23:08:08 +00:00
Teravus Ovares 3378b502c5 * This changes gridcomms types back to our home grown wholy controlled types.
* These are different types then the OMV types because changing them causes just about all grid comms to break.   If these were the libOMV types, then libOMV couldn't change them ever again after that..  or we'd have a breakage whenever they changed them.
* This might introduce a map issue.   Still checking it out.
2008-09-06 22:28:51 +00:00
Teravus Ovares a97155b106 * Addresses the same issue as last commit on SceneObjectGroup border crossings 2008-09-06 19:40:04 +00:00
Teravus Ovares 6fc23adbc2 * Fixes a few type changes that caused the XML Format to break.
* Testers, please try rezzing your inventory on this revision and sending me feedback in mantis.
* Users, it's not time to update yet.  The dust still hasn't settled.
2008-09-06 19:21:41 +00:00
Tedd Hansen e0264f67d6 Brushing rust of ye old commit 2008-09-06 18:49:36 +00:00
Melanie Thielker 9e545c9984 Mantis #2133
Thank you, Xugu Madison and ChrisDown, for a patch that
fixes linux filename extensions from .Xml back to .xml
2008-09-06 14:58:23 +00:00
Teravus Ovares f342bd1e96 * Replace a Try/catch I commented out while testing/fixing issues. 2008-09-06 08:10:40 +00:00
Teravus Ovares 7d89e12293 * This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point.  Regular people should let the dust settle.
* This has been tested to work with most basic functions. However..   make sure you back up 'everything' before using this.  It's that big!  
* Essentially we're back at square 1 in the testing phase..  so lets identify things that broke.
2008-09-06 07:52:41 +00:00
Dahlia Trimble 7d7f57a94d more unit test cross-platform compatibility tweaks 2008-09-06 04:55:05 +00:00
Melanie Thielker a7e2d14454 Rolling back #6139 because there is no consensus on it's application.
Reverted pending further discussion.
2008-09-06 04:35:33 +00:00
Melanie Thielker b6b1e9e214 Mantis #624
Thank you, openlifegrid, for a patch to move new user connections to
thread pool threads.
Reworked by me to fit current trunk.
I believe that that patch may be beneficial in reducing the cases
in which regions become unresponsive and will no longer accept
new logins.
2008-09-06 04:21:36 +00:00
Dahlia Trimble 01c34d5e04 more unit test tweaks in the name of cross-platform compatibility 2008-09-06 04:01:39 +00:00
Justin Clarke Casey bb2b1b1f61 * Add SampleMoneyModule patch from mantis #2079
* Thanks noralbion
2008-09-06 03:22:09 +00:00
Dahlia Trimble 5446bdff09 Revert changes to TestStringsWithEscapedQuotesAndComments() so it will work in Bamboo instead of windows 2008-09-06 01:22:39 +00:00
Justin Clarke Casey 03581c17e6 * refactor: Make SOG itself responsible for checking whether it's already been deleted on an update request from the regular sweep 2008-09-06 01:10:47 +00:00
Dahlia Trimble 88cdd266ef reformatted some of unit test standards to allow them to work when OpenSim is built in Visual Studio 2008-09-06 00:58:56 +00:00
Justin Clarke Casey 4d86a324f8 * minor: change hard tabs back to spaces in previous commit
* my excuse is that I hadn't used this monodevelop exe before...
2008-09-06 00:55:16 +00:00
Justin Clarke Casey 01878b886c * Fix mantis 2130 - nre occuring sometimes when the regular prim update sweep occurs
* Fold m_deleted and m_isDeleted together (ugh!)
2008-09-06 00:44:50 +00:00
Justin Clarke Casey a4078c280a * Blind fix what looks like a bug in the new land MSSQL code
* The data returned from the db was never inserted in the list to be processed and return
* This is an example where a warning has revealed a bug
2008-09-06 00:11:50 +00:00
Justin Clarke Casey de467f4903 * Remove lots of warnings from the CMS module
* Remove a few other miscellaneous warnings
2008-09-06 00:09:24 +00:00
Charles Krinke 0054bce5ae Mantis#2093. Thank you kindly, Ewe Loon for a patch that:
Solves SetPrimitiveParams, Revolutions not calculated 
properly.
2008-09-05 23:53:44 +00:00
Charles Krinke da244d1e90 Mantis#2048. Thank you kindly, HomerHorwitz for a patch that:
The attached patch (against r6075) fixes it for grid-mode. If the 
home-region isn't available, the stored regionHandle will be used 
to compute the region-coordinates of the home. This will be wrong 
if the home-region has moved, of course, but without the region 
being online we can't request the RegionInfo of it for finding out. 
Doing that (before the patch) and accessing the (null) RegionInfo 
led to a NullReferenceException, which prevented logging in to the 
last location.
2008-09-05 23:38:42 +00:00
Charles Krinke 947242f476 Mantis#2126. Thank you kindly, Ralphos for a patch that addresses:
Types extracted from a LSL_Types.list have to be down-cast initially 
to the exact type of value type object that the Object actually is.
This would make for very cumbersome, ugly code when extracting list 
parameter items in ll functions where a few implicit conversions 
should be applied such as key -> LSLString and LSLInteger -> LSLFloat 
(but not LSLFloat -> LSLInteger). This patch adds a set of GetXXXItem 
member functions to the LLS_Type.list class, where XXX is the name 
of the LSL_Type to be extracted: LSLFLoat, LSLInteger etc. All take 
a single, int parameter that is the item number to be extracted.
2008-09-05 23:26:35 +00:00
Charles Krinke 271bbb2557 Thank you kindly, KrTaylor for a patch that adds:
llParseString functions throw exception when passed a 
list of variables and this patch adds logic to solve
this to LSL_Api.cs
2008-09-05 23:21:02 +00:00
Charles Krinke 24a95507d4 Mantis#2104. Thank you kindly, Godfrey for a patch that:
If the parcel pointed to by the landmark has nothing in the 
Description field (of the General tab in About Land...), a 
NullReferenceException is thrown and the client is logged out.
I added a check to the calls to Helpers.StringToField() in OpenSim.Region.ClientStack.LindenUDP.SendParcelInfo to avoid 
this issue.
2008-09-05 23:04:20 +00:00
Teravus Ovares f5c82186c1 * Adds configurable OGP Name prefix and suffix. See OpenSim.ini.example at the bottom for details. Defaults to an empty string for prefix and '_EXTERNAL' for suffix 2008-09-05 16:54:31 +00:00
Dahlia Trimble 0fc618e7b2 Replaced a lot of trig calls with lookup tables for common prim types in an attempt to improve meshing speed.
Added a new between points interpolation method to improve accuracy of profile cuts in triangle and square profile prims.
2008-09-05 16:38:51 +00:00
Sean Dague d363661a7e complete rationalization of unit tests that we currently run 2008-09-04 22:11:13 +00:00
Sean Dague fb9bd7dec6 normalize naming for OpenSim.Tests.Framework.dll 2008-09-04 22:06:18 +00:00
Sean Dague a0f2e46836 added in find calls
added logging of exceptions, which we'll get quite a few of at this
point most likely
2008-09-04 22:06:16 +00:00
Sean Dague 6e1bcbcf48 remove calls 2008-09-04 22:06:13 +00:00
Sean Dague ff4b6fc1b5 start in on an EntityList class so we can stop doing lots of manipulating
of Entities as a dictionary directly
2008-09-04 17:52:53 +00:00
Sean Dague d8c9e3a7a3 fix some indenting 2008-09-04 15:49:24 +00:00
Sean Dague afac1953a2 minor fixes 2008-09-04 15:35:30 +00:00
Sean Dague 2d6e9139a4 added rollback bit to the help menu 2008-09-04 15:35:29 +00:00
Sean Dague d508b1f082 add some stubbing for ini.example for CMS module 2008-09-04 15:34:09 +00:00
Melanie Thielker eee9c114cb Mantis #2111
Eliminate gretuitious KillObject packets. KillObject is sent to the
viewer for the root part only.
Also prevents the full update on deselect that makes a deleted object
reappear and stay visible until the background deleter got around to it.
We still send 2 KillObject packets for the root prim, that could be 
avoided only at a cost in reliability. One packet seems an acceptable
price to pay for consistency.
2008-09-03 19:28:46 +00:00
Melanie Thielker ef27c8817f Mantis #2112
Thannk you, ralphos, for a patch to clean up list item type handling
and add a missing explicit cast in Shared/
2008-09-03 18:57:06 +00:00
Sean Dague cf7f3df4c2 add standard copyright headers for the project 2008-09-03 18:23:59 +00:00
Sean Dague 8741c58dc6 remove non code files 2008-09-03 18:23:51 +00:00
Sean Dague af5c7e52b1 narrange to do basic cleanup of the CMS module 2008-09-03 18:11:44 +00:00
Sean Dague eee0fa73e0 white space fixes 2008-09-03 18:04:44 +00:00
Sean Dague 9082316757 come up nicer on startup if the opensim.ini section isn't there 2008-09-03 18:04:42 +00:00
Sean Dague 4ddc7d66d6 type change from ChatFromViewerArgs -> OSChatMessage to line up with trunk. 2008-09-03 18:04:41 +00:00
Sean Dague 12beaccec7 Merge branch 'cms' of http://pokgsa.ibm.com/~jbongio/public/opensim 2008-09-03 18:04:37 +00:00
Jeff Ames 9053e8510c Update svn properties. 2008-09-03 14:05:49 +00:00
Melanie Thielker b0965a41d6 Mantis #2097
Thank you, ralphos, for a patch that fixes an InvalidCastException
in llSetPrimitveParams.
2008-09-03 13:22:18 +00:00
Dr Scofield 3d101de375 clean up and fixing a typo. 2008-09-03 11:58:36 +00:00
Melanie Thielker dba779862d Mantis #2107
Thank you, lulurun, for a patch to fix a possible crash when a received
packet contains a quaternion with all members zeroed.
2008-09-03 11:25:11 +00:00
Melanie Thielker 0fc55818ca Mantis #2109
Prevent a null reference exception when reset is pressed on a script
while it's being compiled.
2008-09-03 10:53:25 +00:00
Charles Krinke e044d83679 Mantis#2106. Thank you kindly, HomerHorwitz for a patch that:
The attached patch fixes connectivety checking of root- and
child-agents. If an agent's client isn't sending any packets 
for some time (not even to StartPingCheck packets), we assume 
that we lost connection and try to log them out.
2008-09-03 03:35:54 +00:00
Charles Krinke 98da84c851 Mantis#2105. Thank you kindly, HomerHorwitz for a patch that addresses:
Due to the many problems with not cleaned up child-agents, I thought it 
might make sense to be able to see them on the console. 'show users' on 
the region-server's console now outputs root- and child-agents (with 
"root" or "child" column)
2008-09-03 03:32:29 +00:00
Melanie Thielker e98780fea5 Mantis #2099
Thank you, cmickeyb, for a patch that corrects the database connection
handling in the multithreaded user server.
2008-09-03 02:51:34 +00:00
Sean Dague 36dcedce31 a piece of LSL_API changes got checked in incorectly with 6091. This
fixes that, and should get us back to compile state.
2008-09-02 20:45:46 +00:00
Sean Dague abb0ad36bd apparently I missed one of the old version routines that could be
removed.  Removing that now.
2008-09-02 20:17:57 +00:00
Melanie Thielker 9806c0b374 Committing the missing resource file for MSSQL. Sorry... 2008-09-02 20:05:20 +00:00
Melanie Thielker 52a5425628 Small fix to a cast in list parsing 2008-09-02 14:08:15 +00:00
Melanie Thielker 930b2ec602 Mantis #2102
Thank you, RuudL, for a patch that supplements the previous MSSQL
patch.
2008-09-02 13:43:49 +00:00
Melanie Thielker 2e4a5aa98a Fix and reactivate the unit tests on the XEngine 2008-09-02 13:38:14 +00:00
Dr Scofield 109aa00150 fix: PostInitialise() not being called on script engines (nasty one that)
cleanup: warnings, readability
2008-09-02 12:07:23 +00:00
Melanie Thielker f13a48fe1c Fix regex for string->int cast to accept leading spaces and a sign 2008-09-02 06:43:16 +00:00
Melanie Thielker 14a218dbc9 Temporarily disable the unit tests for Shared/ until they can be updated. 2008-09-02 06:19:55 +00:00
Melanie Thielker 2fbebbb644 First batch of the unit test changes for the new constants semantics
in XEngine. This turned out to be a lot of work to catch up.
2008-09-02 06:02:14 +00:00
Melanie Thielker b7a4613a0d Correct the representation of the automatic null string 2008-09-02 04:23:01 +00:00
Melanie Thielker e2a0a04beb Remove the ((bool)()) cast, since it can make c# barf 2008-09-02 04:15:06 +00:00
Melanie Thielker 61978649ec Change some chat output functions so that text is truncated at
1000 chars to avoid the exception thrown by libomv at 1100 chars.
Change string->int conversion so it copes with non-numeric chars
after the number and no longer uses a float to parse the value.
2008-09-02 03:43:18 +00:00
Dahlia Trimble a5e7807612 Y top shear accuracy improvements in circular path prim meshes 2008-09-02 01:54:08 +00:00
Melanie Thielker 146f469524 Add an explicit cast to bool for the if expression so that any base types
that slip in will not cause it to break
2008-09-02 00:03:16 +00:00
Melanie Thielker 0e7bac07f6 Thank you, Ewe Loon, for a patch that fixes various aspects of
llSetPrimitiveParams and llSetLinkPrimitiveParams
2008-09-01 23:35:52 +00:00
Melanie Thielker a5d2674a43 This is an attempt to fix the handling of constants in LSL.
It wraps constants in new LSLType(x), so that lists with
constant values are processed correctly. Contains changes to
the lsl.parser.cs that are not (yet) reflected in opensim-libs,
since this experimental patch affects XEngine only. Also contains
nuts.
2008-09-01 23:33:12 +00:00
Melanie Thielker bfeb3881f2 Another attempt at fixing XEngine llSetPrimitiveParams: Make it accept
LSLIntegers in lists, and attempt to address the scope issue on TRUE
and FALSE with readonly static linkage
2008-09-01 21:54:04 +00:00
Melanie Thielker b6bb5f944f Mantis #2095
Thank you, RuudL, for a complete adaptation of migration and estate
data to MSSQL, and the updating of the RegionData handling in MSSQL.
2008-09-01 17:10:01 +00:00
Melanie Thielker ddd68a0537 Mantis #2072
Griefer protection! When running without serverside permissions, let only
the owner edit attachments. Having everyone able to do it just isn't right.
2008-09-01 12:56:53 +00:00
Dahlia Trimble f4035840d2 compensates profile placement effects of Y hole size on X top shear for circular path prim meshes 2008-09-01 08:19:47 +00:00
Dahlia Trimble 9cf9c08696 Improvement in mesh accuracy in X Top Shear parameter for circular path prims 2008-09-01 06:00:07 +00:00
Melanie Thielker 805deb5a9b Attempt to fix an issue I havebeen seeing, where asset server failure
results in a memory leak which will make the region crash and burn
after a while.
2008-08-31 10:42:35 +00:00
Justin Clarke Casey cd5f8cf9ec * Pragma out deprecation warning and comment out to remove other warnings in the OGP module
* Thanks to Teravus for the heads up on this.
2008-08-30 22:02:04 +00:00
Justin Clarke Casey d3510def00 * If a general alert message is sent out, only send it to avatars in the scene (not child agents).
* This foxed me in the osgrid meeting last week
2008-08-30 21:52:09 +00:00
Justin Clarke Casey c713ec8223 * Committed patch in mantis 623
* Unpatched code certainly looks bizarre - attempts to add a new client if we encountered a failure in processing a packet.  No apparant ill effects on a sniff test.
* Thanks openlifegrid
2008-08-30 21:33:55 +00:00
Justin Clarke Casey e4ec9829cd * Apply cmickeyb's patch from mantis 2068
* llParseString functions throw exception when passed a list of variables 
* Thanks!
2008-08-30 21:12:58 +00:00
Justin Clarke Casey d2344b5626 * Oops, add landmarks to region archive loading/saving
* Hopefully this will resolve mantis 2049
2008-08-30 21:05:09 +00:00
Adam Frisby 2133fa56e7 * Added new MySQLSuperManager support for the grid servers.
* In theory, login and a large number of grid functions should now at least be multithreaded.
2008-08-30 19:35:22 +00:00
Justin Clarke Casey 3faadb3f5c * minor: Tiny doc addition to trigger another build that hopefully won't fail
* I can't see why the last compile failed - hoping it's some kind of glitch
2008-08-30 18:29:37 +00:00
Justin Clarke Casey 49ec6dd882 * squash some obvious warnings
* a couple more remain that preferably the original coders should look at in more detail (obsolete warnings in the ogp module and not overriding warnings in the script 
engine)
2008-08-30 18:09:38 +00:00
Justin Clarke Casey 645d2c49e1 * Remove unused OpenSim/Framework/RegionHandle.cs as per Homer's suggestion in mantis 2082. Thanks. 2008-08-30 17:57:48 +00:00
Justin Clarke Casey 8f31c47f2f * Apply patch in mantis 2083
* TimeStamp field of the AgentMovementCompletePacket in LLClientView.MoveAgentIntoRegion contained a fixed number. The attached patch changes this to a current 
timestamp.
* Thanks HomerHorwitz
2008-08-30 17:51:12 +00:00
Adam Frisby 72b0a53ada * Fixed #2807 Again, Whoops. 2008-08-30 16:46:51 +00:00
Adam Frisby e471a33961 * Fix for Mantis #2087, Standalone MySQL broken with threading improvements. (Didnt realise this code was being shared with the gridservers) 2008-08-30 14:27:28 +00:00
Adam Frisby b63922dcfe * Minor fix to previous threading patch, every nTH request would previously have been delayed for 1000ms. This has been fixed. 2008-08-30 13:46:04 +00:00
Adam Frisby 0a5280edb5 * Added new "SuperManager" class for MySQL connections, for allowing multiple concurrent MySQL threads.
* Implemented SuperManager inside of UserData. This means the userserver when running on MySQL will use 10 connections (+1 system connection) to handle requests, preventing the previous mire of locking resulting in singlethreadedness.
* This requires testing and grids relying on stability should not upgrade to this revision until it's been properly tested.
2008-08-30 13:38:46 +00:00
Adam Frisby 618ccd4ebc * Ditto, UserServer/Main.cs 2008-08-30 13:06:58 +00:00
Adam Frisby d0397af998 * More cleanup, including UserManager. 2008-08-30 13:03:38 +00:00
Adam Frisby 50a62145ad * Initial inspection of UserLoginService.cs, cleaned up source code slightly to make it easier to work with. 2008-08-30 12:58:54 +00:00
Adam Frisby f57f4d1ab8 * Added "File Asset Client" to OpenSim Asset Server-types.
* You can replace "grid" as the asset system with "file" to save and load all your assets from a directory on your hard disk. Files are serialised to XML and saved in the format "/<dir>/0x/0x/0x/0000-0000-000000-0000-0000.xml"
* Directory <dir> is sharing the Asset Server URL path, use a normal path here instead (ie C:\xyz or /var/assets/). 
* This probably wont work well in grid mode unless every sim has access to the same directory. This is mostly intended for standalone usage where quick and convenient access to assets is required.
2008-08-30 04:42:23 +00:00
Charles Krinke e3308c0fa5 Mantis#2084. Thank you kindly, HomerHorwitz for a patch that:
Addresses the problem of ghost avatars. The problem was child-agents 
sending data. Due to symmetry reasons, I considered that wrong. 
Whenever an avatar A1 in region R1 looks at avatar A2 in adjacent 
region R2, we have two possibilities to communicate: A2-root sends 
to A1-child (both in region R2), or A2-child sends to A1-root 
(both in region R1). Currently, the children send data in some cases, 
and I guess the viewer gets puzzled about that and switches the child 
to root as consequence (at least partly), so it becomes visible.
2008-08-30 01:21:18 +00:00
Melanie Thielker fda5457996 Maintis #2078
Thank you, ralphos, for a patch that corrects the handling of compiler
warnings in the XEngine, which were erronoeously reported as errors!
2008-08-29 19:57:01 +00:00
Charles Krinke 9fc67f1908 Mantis#2067. Thank you kindly, HomerHorwitz for a patch that:
Found that during my ghost-hunt: Add some logging and you see that the 
counting down happens twice (once at the place that is removed by the 
patch, and once caused by the actual removal of the root-/child-agent 
during LLClientView.Close). With the patch applied, I end up with correct 
numbers, i.e. with 0 roots and 0 children after everyone has logged out.
2008-08-29 14:21:31 +00:00
Melanie Thielker ee0a5caa30 Fix an issue where the client supplies an empty name and it was applied
to the inventory item, causing the item to wind up without a name.
2008-08-29 11:03:58 +00:00
Dahlia Trimble 35ad484b6b fixed some ugliness in the conversion from the new mesher format to the old that should speed up region startup a little and maybe even use less memory if the GC decides to play friendly with the other kids. 2008-08-29 08:19:47 +00:00
Melanie Thielker 10b2a4597a Mantis #1903
Thank you, cmickeyb, for a patch that fixes inventory folder retrieval.
2008-08-28 20:56:53 +00:00
Jeff Ames 3bf8858727 Update svn properties, formatting cleanup. 2008-08-28 14:41:54 +00:00
Melanie Thielker 086284da55 Thannk you, Ralphos, for a patch the corrects an improper cast in
llSetPrimitiveParams
2008-08-28 14:08:09 +00:00
Sean Dague 605ceb6176 Fix for Bug #2065: New check out crashes on sqlite migration
I apparently missed one drop tables statement that was actually needed
when I did the cleaning to make this work for old sqlite versions.
2008-08-28 12:47:55 +00:00
Melanie Thielker 5dac6242bd Thank you, salahzar, for a patch that adds some more functions
from DotNetEngine into XEngine.
2008-08-28 10:42:22 +00:00
Dr Scofield 1828091528 create-region didn't know about regionload_regionsdir... 2008-08-28 10:01:56 +00:00
Dr Scofield 0921dafddf adds XmlRcpLoadOAR support to RemoteAdminPlugin.cs 2008-08-28 09:34:47 +00:00
Teravus Ovares 47127abfb6 * Added hack so that if the default OpenSimulator ParentEstateId(100) is being sent through rez_avatar, it'll be swapped out with 1. This ensures that when the map recognizes the parent estate id parameter on the linden grid, it'll work as expected. This also has the effect of making it impossible to send a Parent Estate ID with 100 over OGP from OpenSimulator (Sorry Owner of estate 100). 2008-08-28 08:25:47 +00:00
Teravus Ovares 88b3df9d52 * OGP update, deserialize the parameter array properly in rez_avatar
* Tweak rez_avatar data so it's easier to update when OGPr3 comes out
2008-08-28 08:13:35 +00:00
Dr Scofield 4a3523bc67 this fixes the crash reported by mantis #2046: user server crashing if
no OpenSim.ini file found by GridInfoService. GridInfoService now will
just issue a warning that GridInfo will NOT be available to your users 
if no OpenSim.ini file is available. due to the static nature of 
UserConfig (configuration options hardcoded) i don't think it's currently
an option to move GridInfo into user_server.xml but if anyone wants to 
look into this i'd be delighted...
2008-08-28 07:37:16 +00:00
Dahlia Trimble 49f9bd8b68 Added some exceptions for bad profile cut parameters 2008-08-28 06:41:32 +00:00
Melanie Thielker 53f78a1087 Thank you, A_Biondi, for patch to porperly apply the new item name
when copying within agent inventory
2008-08-28 02:36:40 +00:00
Melanie Thielker bf4d1fbb8d Refactor IScriptInstance / IScriptEngine to use a generic IScriptWorkItem,
which is a thin wrapper around a IWorkItemResult from the SmartThreadPool.
However, it is very easy to reimplement on top of basic threading and therefore
makes the IScriptInstance class independent of the specific threading
implementation.
2008-08-28 00:37:22 +00:00
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