Commit Graph

5978 Commits (9b9f1bc19168d6cc707aae5b3df55f3923211ff5)

Author SHA1 Message Date
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 f4261d86c8 Mantis#2121. Thank you kindly, ChrisDown for a patch that solves:
The option to enable the REST Asset and Inventory plugin is missing 
from OpenSim.ini.example. This patch adds the required items without 
enabling the plugins.
2008-09-05 23:15:52 +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 8e6062631c create a "nant test" target to make it very simple to run the nunit
tests on the console on linux.
2008-09-04 22:24:45 +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
Sean Dague a721f2cfe4 make the example OpenSim.ini use sqlite plugin, because so many people
don't read the config and find they aren't saving any of their prims.
2008-09-02 20:17:53 +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