Commit Graph

6880 Commits (a2c55d7fdb85ff0922f18fdd2d575799c5f19f74)

Author SHA1 Message Date
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
Charles Krinke f2ec151328 Mantis#2340. Thank you kindly, Sacha Magne for a patch that:
adding default_loginLevel in USerServer.xml to set a default 
login level to acces to the grid. Fixing one bug in login_reset
2008-10-06 14:02:42 +00:00
Dr Scofield ec2970f6b4 adds admin_exists_user XmlRpc call. 2008-10-06 09:42:31 +00:00
Melanie Thielker d834996bbe Implement Parcel -> ForceOwnerToMe god mode packet 2008-10-06 08:19:18 +00:00
Melanie Thielker 03a41e5f8b Exclude attachments from parcel prim counts 2008-10-06 07:50:26 +00:00
Melanie Thielker c65b10caa2 Implement ForceOwnerPermissive and God TakeCopy 2008-10-06 07:21:13 +00:00
Melanie Thielker 8887bde499 Cause inventory items to also be sold when a prim is sold 2008-10-06 06:15:19 +00:00
Melanie Thielker 1b678f062a Fix a number of errors in transfer of objects 2008-10-06 06:08:45 +00:00
Melanie Thielker 195893b06d Remove an unnecessary perms check. This caused prim movement to be disabled
on parcels that had prim entry turned off. This needs to be reintroduced
with proper parcel boundary checks.
2008-10-06 05:23:48 +00:00
Teravus Ovares 78073fa440 MapItems/Green Dots
* Fixes 1 too large count in region you're in (Region no longer reports the green dot about yourself to you)
* For all local requests, the region will check itself instead of going to it's web service.  (optimization)
2008-10-06 04:29:48 +00:00
Melanie Thielker b55c9761b4 Fix a nullref 2008-10-06 04:20:27 +00:00
Melanie Thielker fd96bb6f43 One should not commit even the smallest fox without compile. Fix build break 2008-10-06 03:27:16 +00:00
Melanie Thielker c4ab9482b5 More perms fixes. Reinstate the move flag 2008-10-06 03:23:55 +00:00
Melanie Thielker 1f7966d6e8 Fix a privilege escalation with linked sets 2008-10-06 02:29:38 +00:00
Charles Krinke e575ef7ad2 Revert r6697 patch as the build fails. 2008-10-06 00:58:43 +00:00
Charles Krinke dedc1baeb7 Mantis#2336. Thank you kindly, Ralphos for a patch that:
Prevent EventAbortException inner exceptions of 
TargetInvocationException being re-thrown from 
OpenSim.Region.ScriptEngine.Shared.ScriptBase.
Executor.ExecuteEvent
2008-10-06 00:51:36 +00:00
Charles Krinke 4f6cdc08d6 Mantis#1207. Thank you, TGlion for a patch that addresses:
Implementation of llModifyLand() and There is a bug on 
permission-check of land-terraforming: x an y-coordinates 
are interchanged on function-call ExternalChecksCanTerraformLand.
Correct: x is west, and y is north. 2) Missing check of 
"Other allow to terraform-flag" (Parcel.ParcelFlags.AllowTerraform)
2008-10-06 00:46:27 +00:00
Melanie Thielker 559a4f7496 Patch by Fly-Man, with modifications. Add more fields to DataSnapshot.
This changes yes/no to true/false. Will likely break Metaverseink in some way.
2008-10-06 00:20:27 +00:00
Melanie Thielker 6ab5b523f8 Implements ObjectOwner god mode packet (Set Owner To Me admin option) 2008-10-06 00:09:49 +00:00
Teravus Ovares f8acdeb437 * Green dots on the mainmap for avatar.
* Initial implementation
* You'll only be able to seen green dots on regions on the map that have been updated.
2008-10-06 00:00:55 +00:00
Homer Horwitz 6bf72c95cb For symmetry reasons, I think this probably is a bug. 2008-10-05 20:06:42 +00:00
Homer Horwitz 1e6db41931 Small optimization: Don't ask gridserver about regions on the local instance. 2008-10-05 19:43:04 +00:00
Teravus Ovares 2cc028e965 * Fix sitting avatar showing up properly on the minimap 2008-10-05 19:38:04 +00:00
Homer Horwitz b9e603f8d8 Fixed small coordinate issue: The center is (min+max)/2, not (max-min)/2 2008-10-05 19:12:58 +00:00
Homer Horwitz 5a31fb9df4 Fix a problem with land-search and non-convex parcels.
You'll need to update your snapshots.
2008-10-05 19:06:00 +00:00
Teravus Ovares 3ac76db76b * Fixes the last snag with the EventQueue. The situation where the seedcap gets lost on teleport. 2008-10-05 18:42:05 +00:00