Commit Graph

6455 Commits (5212a26d29aacc0146d0d8f78b1b650e4536f910)

Author SHA1 Message Date
Justin Clarke Casey 5212a26d29 * Fix broken build on Windows (repeat to self: must remember that .net on windows requires using references for null arguments) 2008-10-09 21:34:54 +00:00
Melanie Thielker d016d82f0c Small remote admin cleanups/additions 2008-10-09 20:27:41 +00:00
Justin Clarke Casey 997eec671a * minor: get rid of an unecessary casting and logic check 2008-10-09 20:02:40 +00:00
Justin Clarke Casey 5a3827c317 * Put tests dll *after* the code it relies on. (repeat to self: always do nant clean after fiddling with prebuild.xml) 2008-10-09 19:32:55 +00:00
Justin Clarke Casey 2fc6ef3793 * Update CONTRIBUTORS with quite a few people from the last few months
* If you want a slightly different entry in this file please feel free to bug us (or at least, bug me :)
2008-10-09 19:05:11 +00:00
Justin Clarke Casey 997f1d465d * Apply http://opensimulator.org/mantis/view.php?id=2370
* Refactor lLMessageLinked() to use internal method GetLinkParts
* thanks ralphos
2008-10-09 18:59:01 +00:00
Homer Horwitz ddfff68c20 Clean up webmap-generation a bit:
- Remove some duplicated code
- Avoid unnecessary allocation of variables/values if only used once anyway.
2008-10-09 18:46:09 +00:00
Justin Clarke Casey c692c14a2f * Bump server info number to 0.5.11 2008-10-09 18:40:54 +00:00
Justin Clarke Casey 4c72c3542a * well, apparantly we're actually 0.5.11 instead - who knew? 2008-10-09 18:36:39 +00:00
Justin Clarke Casey 45c74316d6 2008-10-09 18:34:28 +00:00
Justin Clarke Casey c26f177cd4 * Fix http://opensimulator.org/mantis/view.php?id=2368
* This returns to writing the OpenSim.ini using default values if it (or OpenSim.xml) isn't found
2008-10-09 18:33:42 +00:00
Melanie Thielker c101dd2bad Provide a sane value for DefaultScriptEngine (ScriptEngine.DotNetEngine)
rather then the previous invalid string "DotNetEngine". Remove the
script_engine options, as it is not used anymore.
2008-10-09 18:12:15 +00:00
Justin Clarke Casey 8ad0249969 * refactor: separate process of extracting packet from received data from actually processing that packet 2008-10-09 18:09:25 +00:00
Justin Clarke Casey 285ae803e2 * minor: initialize udp server in unit test 2008-10-09 18:00:38 +00:00
Justin Clarke Casey 919d907a3d * Create project for LindenUDP ClientStack tests
* No functional tests yet
2008-10-09 16:52:33 +00:00
Justin Clarke Casey db0d90c737 * minor: very small doc addition 2008-10-09 16:23:11 +00:00
Teravus Ovares ac674ccbfc * Fixes simstats reporter. I'm sure this issue caused all sorts of things related to regionflags and capacity. I'm sorry, the object capacity that you dialed is not valid.. please check the number and dial again. 2008-10-09 11:44:26 +00:00
Justin Clarke Casey 2be8380831 * minor: remove compile warning 2008-10-08 20:02:27 +00:00
Homer Horwitz ac89e89da3 - Fix wrong order of max/min usage for clipping. Uses Util.Clamp now
- Add support for immediate switching of Music/Media URLs. Radio-scripts should work now.
2008-10-08 18:52:50 +00:00
Homer Horwitz 31107385b6 - removed some unnecessary conversions (double -> double) 2008-10-08 18:48:49 +00:00
Justin Clarke Casey 9b68428058 * minor: Comment out initial regularly occuring EventQueueGet log debug message for now, as previously discussed with Ter 2008-10-08 17:56:37 +00:00
Justin Clarke Casey 1b7405dca1 * On deselection of objects, stop every object id passed triggering an update for the entire group
* This was not a problem with objects consisting of less than 30 prims, since the extra schedules would be ignored
* However, above approximately 30 prims extra schedules would actually occur.
* For instance, a 140 prim object would end up triggering approximately 2500 ObjectUpdates to every avatar in range rather than 140
* Hopefully, this change will improve client responsiveness on deselect and was one of the reasons that the AgentThrottle restriction started causing problems yesterday.
2008-10-08 17:36:17 +00:00
Charles Krinke ac443559d1 Mantis#2354. Thank you kindly, Tglion for a patch that:
The average-value of modify.ModifyBlock.Height in LLClientView.cs:4170 
seem to be incorrect or it isn't the average? Mhhh...
So the terrain build -> Flaten Sphere is unuseable.
I have put in a patch that contains a workaround while 
the main problem is not solved.
2008-10-08 14:51:55 +00:00
Dr Scofield 1e8533772f adding OSHttpResponse test case (yeah, very primitive still) 2008-10-08 13:45:42 +00:00
Teravus Ovares 2c5497fa3a * Re-enables map item requests.
* Puts remote requests in a single worker thread 
* Worker thread only starts when there are agents to serve
* When there are no agents to serve, it shuts down
* A good example of how to deal with threads in non-shared modules so they don't end up consuming threads per regions
2008-10-08 11:53:35 +00:00
Dr Scofield 2947ef9c00 warning squashing 2008-10-08 11:15:25 +00:00
Mike Mazur d3b439af11 - add clientstack_plugin option to OpenSim.ini.example
- remove trailing whitespace
2008-10-08 09:15:28 +00:00
Melanie Thielker c4d741180f Add some permissions checks and fixes 2008-10-08 02:45:23 +00:00
Charles Krinke e4fc55f71e Mantis#2352. Thank you kindly, Jonc for a patch that:
If prim is part of SOG, then ask the SOG to update the 
position, rather than asking the part itself.
Ghosted child prims should no longer result from llSetPos.
Not sure if this is the right approach for all cases ,
would appreciate feedback on the patch.
2008-10-08 01:49:58 +00:00
Charles Krinke e87195d1bd Mantis#1906. Thank you kindly, Idb for a patch that:
Removed cache accesses to obtain sensed object/avatar 
name, it is already available.
2008-10-08 01:44:35 +00:00
Melanie Thielker 4bb9f0f429 Fix friendly errors in DNE as well 2008-10-08 00:04:28 +00:00
Melanie Thielker 8d2ec1ac71 Adapt tests to new friendly errors and correct line numbers 2008-10-07 22:25:55 +00:00
Melanie Thielker 638cce09d1 Restore "friendly errors" to the XEngine 2008-10-07 21:59:56 +00:00
Justin Clarke Casey 4ed6e78d1a * Comment out debug throttle output that I had accidentally left in 2008-10-07 21:44:29 +00:00
Justin Clarke Casey 914c733505 * Temporarily revert r6714 which changed agent throttle number interpretation
* I suspect the restriction stopped the very large number of packet resends that occur on certain operations, which led to other failures.
2008-10-07 20:04:43 +00:00
Teravus Ovares bb7fcf378b * Disabling mapitem requests for surrounding regions as it's probably using up a lot of threads right now when regions are inaccessable 2008-10-07 15:08:44 +00:00
Justin Clarke Casey f085d53be2 * Apply http://opensimulator.org/mantis/view.php?id=2345
* Bring llSetLinkTexture into line with llSetLinkColor and lLSetLinkPrimitiveParams() implementations
* Thanks ralphos
2008-10-07 14:58:56 +00:00
Justin Clarke Casey 48d86fb23f * Apply http://opensimulator.org/mantis/view.php?id=1207
* Implmements llModifyLand() and a check for the "Allow others to terraform flag"
* Thanks tglion!
2008-10-07 14:49:12 +00:00
Dr Scofield e5a50b6a3b From: chris yeoh <yeohc@au1.ibm.com>
The attached patch fixes mantis bug 2312 (llGetPos() returns incorrect
values for child prims where the root prim is rotated). Regression
tests still pass.

Incidentally AbsolutePosition which was used before looks a little
suspicious to me as its always going to return the wrong value if the
root prim is rotated. GetWorldPosition does take the rotation into
account, but AbsolutePosition is used in a lot of places.  Though i
don't understand why there is both GetWorldPosition as well as
AbsolutePosition so I've left the latter alone.

[i also cleaned up some indent problems, --- dr scofield]
2008-10-07 11:41:43 +00:00
Dr Scofield 7d525843d0 From: chris yeoh <yeohc@au1.ibm.com>
Attached is a patch for LLGround which was just plain broken and could
cause a runtime error. It now returns valid data with valid input (ie
the offset does not take the position off the edge of the sim), but a
runtime error will occur if invalid data is given.

On invalid data the LL servers return the ground height based on a
valid point closest to the effective position calculated using the
supplied offset. Is the OpenSim convention to replicate the LL servers
as closely as possible? If so I can submit an additional patch to
replicate the LL behaviour.
2008-10-07 11:33:41 +00:00
Dr Scofield 47c2bd2b95 From: chris yeoh <yeohc@au1.ibm.com>
If you use load-oar to transfer region data from one sim to another
then currently inventory items can be left with unknown owner
permission which results in them being no-mod/no-copy for
everyone. The attached patch fixes things up so if the owner uuid does
not exist on the destination system then it assigns ownership (and the
creator for completeness) to the master avatar id. This will make it
much more practical to share copies of regions :-)
2008-10-07 11:28:45 +00:00
Jeff Ames 18d4216cf4 Update svn properties, minor formatting cleanup. 2008-10-06 23:08:52 +00:00
Dr Scofield ad04626737 cleaning up OSHttpResponse: note that read access to extra header
fields is GONE (HttpServer does not support that), you can read the
"normal" HTTP headers available via properties, and you can add
headers. also, it is now possible to set a timeout for KeepAlive (for
those clients that pay attention to it).

this also fixes the broken REST inventory/assets/appearance services,
they should be working again.

testcase for OSHttpResponse will follow.
2008-10-06 21:59:43 +00:00
Dr Scofield 348893ccac oops. forgot testcase 2008-10-06 21:47:06 +00:00
Justin Clarke Casey cb7a9eaa09 * Stop the sim stats reporter reusing the same SimStatsPacket for all clients
* I believe this was the cause of the remaining packet_out_of_order messages in the Linden client logs
* There were race conditions where multiple clientstacks would overwrite each other's sequence numbers
2008-10-06 19:52:54 +00:00
Dr Scofield a1f3409032 cleaning up OSHttpRequest removing old Http stuff. also adding test
case for OSHttpRequest (not very fancy yet, but still).
2008-10-06 19:42:03 +00:00
Teravus Ovares 600721d480 * Made Mapitems more failure friendly 2008-10-06 18:29:25 +00:00
Justin Clarke Casey d18aff3310 * restore Header.Resent field setting for resent packets
* without this, the client appears to reset the sequence of packets its expecting
2008-10-06 16:57:58 +00:00
Justin Clarke Casey 33d957207c * Change interpretation of asset throttle values to bits per second rather than bytes per second
* Changing network bandwidth in the preferences will now have a much more noticeable effect - a user may want to increase this if data is being slow to download from opensim
2008-10-06 16:48:41 +00:00
Charles Krinke 68021fa8ff Mantis#2342. Thank you kindly, Ralphos for a patch that solves:
llSetLinkApha is not fully implemented and has not been updated 
to use the recently added GetLinkParts and associated implementation 
pattern as per llSetLinkColor and llSetLinkPrimitiveParams.
2008-10-06 14:50:58 +00:00