Commit Graph

6493 Commits (38a0a68091f0b969901db9644b986e261912105b)

Author SHA1 Message Date
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
Melanie Thielker a3136d2bb1 Revert the packet resend timing changes. They caused login issues in primmy
regions.
2008-10-05 16:43:58 +00:00
Melanie Thielker 1794a56ce0 Add parcel info "UUID" to snapshot 2008-10-05 16:23:21 +00:00
Melanie Thielker c84987426b Craters, take 2. Remove old discard logic and absolute discard timer.
Introduce a resend counter on the ack queue. The header "Resent" field is
now obsolete. Implement 3 resends on reliable packets, variable.
Increase default resend timeout to 3000ms and default silence threshold
to 350ms.
2008-10-05 14:44:26 +00:00
Jeff Ames aab6cdd8b0 Update svn properties, minor formatting cleanup. 2008-10-05 14:15:39 +00:00
Teravus Ovares a243a4aaf5 * An update to the UDP Packet handler which might make the giant sized craters go away. 2008-10-05 13:06:03 +00:00
Melanie Thielker e5929f4a1c Remove a console debug output 2008-10-05 05:00:30 +00:00
Melanie Thielker c3d7d7bb51 Change category in snapshot to a number, to match the one in search 2008-10-05 04:26:26 +00:00
Melanie Thielker ae2c0e2d78 Add a dummy "dwell" value to the data snapshot 2008-10-05 03:48:51 +00:00
Melanie Thielker 2cb89124c7 Small bug fix 2008-10-05 03:01:19 +00:00
Melanie Thielker 13e3ffada3 Plumb in the DirPlacesReply packet 2008-10-05 02:25:53 +00:00
Homer Horwitz 649cd16fb4 Fix Mantis #2281: touch events in non-default states in DNE work again. 2008-10-04 22:57:54 +00:00
Melanie Thielker f52d779550 Plumb packet DirPlacesQuery for search module 2008-10-04 22:29:37 +00:00
Justin Clarke Casey 31362a67df * Tidy up configuration stuff, eliminated default setting duplication along the way
* This revision also makes the exception catcher of last resort print to the log instead of just the console
* This means logs should now capture sim crashing exceptions, though not those which are caused by a crash of the virtual machine itself
2008-10-04 20:27:55 +00:00
Justin Clarke Casey 344e33b8fc * minor: both OpenSimBase and the Voice and RemoteAdmin modules were checking whether any config was set
* Resolve redundancy by removing the OpenSimBase check - if modules are recieve nini config directly they should probably be the ones to do the checking
2008-10-04 19:17:39 +00:00
Charles Krinke 2fdb42aec0 Mantis#2316. Thank you kindly, CMickeyb for a patch that:
Addresses llDie issues. The attached patch catches run time 
exceptions that occur during method invocation (of type 
TargetInvocationException) and exposes the internal exception. 
This makes it possible to pass out the SelfDeleteException. 
Also added handlers in a couple places to make sure that 
exception was being passed out far enough to be handled 
correctly. Tested on DNE.
2008-10-04 19:04:58 +00:00
Charles Krinke 275d4d30a2 Remove two warnings by assigning string provider = ""
and string type = "". Currently we are down to 14 warnings
in the VS2005 C# build which is pretty good.
2008-10-04 19:00:10 +00:00
Justin Clarke Casey a924fbae72 * minor: Remove warning 2008-10-04 18:54:50 +00:00
Justin Clarke Casey 0b594a072c * Check in the second part of http://opensimulator.org/mantis/view.php?id=2334 since enough time has passed such that servers following head have probably updated
* This patch aims to store look at data when an avatar logs off in grid mode
* However, in my short test it doesn't appear to be working yet - numbers are being stored but they don't look correct
* But this doesn't appear to cause any login problems
* Thanks tyre
2008-10-04 18:46:34 +00:00
Homer Horwitz 63d7a92fb4 Added immediate TP failure message for TPs to regions that aren't there,
instead of the 130s timeout somewhere. Additionally, mark the map-tile as
offline. This partly fixes the TP problems of Mantis 2332; the rest is a viewer
problem (just relogin).
2008-10-04 18:08:35 +00:00
Dahlia Trimble 979a354ba0 Cap proxy mesh scale minimum to 0.01 meter for X, Y, and Z terms. 2008-10-04 17:39:03 +00:00
Melanie Thielker 68c0393c51 Cause a request to a different attachment point to taint the attachment so
that the attachment point is saved even if nothing else changed
2008-10-04 16:58:34 +00:00
Melanie Thielker 603c9af52b Prevent a new asset being created on every detach of an attachment 2008-10-04 16:52:42 +00:00
Melanie Thielker 52963c180e Mantis #2330
Fixes use of the saved attachment point from asset
2008-10-04 16:45:38 +00:00
Melanie Thielker c28e8fcd67 Unclutter rezzing methods by removing the ad hoc permissions parameters.
Thise were client supplied untrusted values we never used anyway.
2008-10-04 15:54:21 +00:00
Melanie Thielker 6bf521c7df Guard against negative scale set through LSL functions 2008-10-04 14:23:33 +00:00
Melanie Thielker 5b901c7031 Remove type="owner" from the data snapshot. Made the parser choke and there
is no need for it, as there is no other type
2008-10-04 13:41:36 +00:00
Melanie Thielker ee4c01f5e6 Tiny performance tweak 2008-10-04 06:57:20 +00:00
Melanie Thielker 439589260c Avoid a gratuitious KillObject storm on region crossing 2008-10-04 05:38:16 +00:00
Melanie Thielker a489fdfb4f Add some needed fields to data snapshot 2008-10-04 03:47:31 +00:00
Melanie Thielker 4672ea6e49 Cause "Show in search" to trigger a persistence save 2008-10-04 03:04:00 +00:00
Melanie Thielker 74f89fb22d Add "Drop" functionality to pie menu 2008-10-04 01:09:22 +00:00
Homer Horwitz 16d68749a4 Add the missing bits for the new region-search:
- Added lookup in the data-layer
  - MySQL works
  - SQLite doesn't have a grid-db, so it won't work there
  - I added MSSQL-code to the best of my knowledge; but I don't know MSSQL :-)
- Added the plumbing up to OGS1GridServices. This speaks with the grid-server
  via XMLRPC.
- Modified MapSearchModule to use the new data. It's backward compatible; if
  used with an old grid-server, it just returns one found region instead of a
  list.
- Refactored a bit.
Note: This updates data, grid-server and region code. No new files.
2008-10-03 23:00:42 +00:00
Melanie Thielker ab260b5d23 Fix: Mantis#2326: Fix: privilege escalation through attach from ground
Fix: objects being duplicated inventory on detach. Fix: Mad jumping around of
attachments while editing. Fix: Attachments being persisted to database on
login. Fix: Attachments being persisted when changed by a script like
invisprim refresh. Fix: Attachpoint set, but not reset correctly. Fix: prevent
spurious full updates while editing attachments. Several other fixes
2008-10-03 21:44:33 +00:00
Dahlia Trimble 61c17a251b Disabled some thread aborts in the IRC module that I added earlier and don't seem necessary 2008-10-03 21:13:06 +00:00
Teravus Ovares ca125bcf15 * Committing a few keep-alive changes. Cleaned up some log messages 2008-10-03 20:38:32 +00:00
Teravus Ovares ae265e2f76 * Fixes a http protocol violation in HttpServer in Linux. StringWriter.Append() vs StringWriter.Append("\r\n"); StringWriter.Append() produces "\n" in *nix*
* This doesn't solve anything.   Just gets the protocol right.
2008-10-03 19:54:48 +00:00
Justin Clarke Casey 0f77a334bd * minor: slightly simplify code in setting up the default configuration
* we appear to both setup a default configuration and provude identical defaults when we later try to read the values - this is probably not really necessary
2008-10-03 19:52:29 +00:00