Commit Graph

4390 Commits (691c4bc756b9565e648ff8ad88cfbfabd1b0be76)

Author SHA1 Message Date
Melanie Thielker 691c4bc756 Mantis #2442
Attempt to reinstate the Object Entry flag in parcel settings
2008-11-22 00:23:48 +00:00
Melanie Thielker 48cf76efe7 Introducing IPresenceModule 2008-11-21 22:47:24 +00:00
Homer Horwitz 0d2e5827c5 - No need to build a list of regions and then only the first one.
- I first did lock on m_scenes for that access, but as m_scenes (currently) is
  only changed in Initialise (and locked there), and PostInitialise is called
  after the calls to Initialise, there shouldn't be a need to lock here.
- Trying out git-svn dcommit. Hope this works.
2008-11-21 22:21:49 +00:00
Melanie Thielker ba723a4cf6 Refactor: Scene.ExternalChecks -> Scene.Permissions. Also make all
the internals of the permissions module adapter sane
2008-11-21 22:14:57 +00:00
Justin Clarke Casey c0cd681608 * Comment out unused access time method in MSSQL
* This should probably be being called in FetchAsset() instead as for all the other databases, but I lack the means to test MSSQL
2008-11-21 21:24:39 +00:00
Justin Clarke Casey 915593bfbc * refactor: Rip out SOP inventory from the partial into a separate class
* SceneObjectPartInventory.cs isn't a particularly good name but it's probably not got a long life
* A proper inventory interface to follow
* Parallel changes for other inventory partial classes to follow at a later date
2008-11-21 21:16:42 +00:00
Justin Clarke Casey 02105c9c2a * Extend sog delete to inventory test to crank the normally async sog deleter by hand
* After the crank, assert that the object has now been removed from the scene
2008-11-21 18:46:24 +00:00
Jeff Ames ecac5c9c5a Update svn properties, minor formatting cleanup. 2008-11-21 18:44:48 +00:00
Justin Clarke Casey 7dce464113 * Largely revert the last revision and improve on the previous way of doing things
* Deleting the object before the async to inventory is bad since if OpenSim crashes (or is shutdown!) in the time inbetween, then the object is lost
* Also now delete the object from the scene only after it has gone to inventory - in the old way there was still a race condition
* This is still not ideal since the 'deleted' object remains in the scene and probably could be manipulated.  But this is better than the alternative
2008-11-21 18:33:09 +00:00
Justin Clarke Casey e261c97470 * On delete to inventory, actually remove the group from the scene before the async stage.
* Last time I accidentally left the existing code in place that merely wiped the group from the client (but not the scene)
* Put in an incomplete 'delete object o inventory' test to assert that this happens
2008-11-21 18:17:01 +00:00
Justin Clarke Casey 82aa8e0327 * minor: Remove comparison of UUID struct against null picked up as a warning 2008-11-21 17:35:34 +00:00
Justin Clarke Casey c2d3d8d88e * Improve and correct messages given to the user when permission is denied for a particular OSSL function
* I don't believe that the extra information given is anything that couldn't be worked out by trial and error
2008-11-21 17:28:57 +00:00
Melanie Thielker ee4d4d784e Fully implement object return from the parcel dialog 2008-11-21 07:33:13 +00:00
Melanie Thielker 46278b34b1 Allow selecting group objects and selecting objects by owner from the
parcel dialog.
2008-11-21 05:35:35 +00:00
Melanie Thielker e9ad6f7913 Plumb in the list if user IDs to the land module to allow selection
of objects by owner name
2008-11-21 04:41:39 +00:00
Melanie Thielker 0092ecbce7 Prevent a null reference when giving items. 2008-11-21 00:54:32 +00:00
Justin Clarke Casey b9c07730f5 * refactor: change some method names and doc in the physics plugin manager
* move the directory choice for plugins outside into RegionApplicationBase
2008-11-20 19:52:55 +00:00
Justin Clarke Casey d625095959 * Allow physics dlls to be loaded separately, rather than just the contents of bin/Physics
* This is primarily to see if not loading ODE in the unit tests will allow them to proceed, though the option of separate loading is probably a good thing in itself
2008-11-20 18:28:30 +00:00
Justin Clarke Casey 00d9c3c2cc * Add a scratch test for removing a client from a scene 2008-11-20 17:27:45 +00:00
Justin Clarke Casey 890beb442a * Add forgotton tag to existing remove scene object test 2008-11-20 17:18:39 +00:00
Justin Clarke Casey 81dcf223bf * Add enough infrastructure code to run an extremely basic and flaky add root agent scene test 2008-11-20 16:58:40 +00:00
Sean Dague e6f92044ca From: Christopher Yeoh <cyeoh@au1.ibm.com>
Attached is a patch which fixes mantis bug 2645 where scripts in child
prims
freeze after being unlinked from the root prim. This got introduced
some time after the 0.6 freeze. Have checked test suites
pass even after nant clean  ;-)

http://opensimulator.org/mantis/bug_update_page.php?bug_id=2645

Also removes a redundant ResetIDs call

Regards,

Chris
2008-11-20 00:13:15 +00:00
Justin Clarke Casey 14f3ac1440 * Add just enough to allow the scene presences test to establish a new user connection (though not yet an actual ScenePresence) 2008-11-19 20:13:51 +00:00
Melanie Thielker 6f0e068cf1 Guard against a strange nullref in ODE 2008-11-19 20:04:41 +00:00
Charles Krinke 164ed57ad3 Mantis#2638. Thank you kindly, Sacha Magne for a patch that:
Implementing "Play sound inworld". Currently a WIP .
2008-11-19 18:41:10 +00:00
Charles Krinke 44c56a974c Mantis#2656. Thank you kindly, Nlin for a patch that:
Attached patch implements llCollisionSound. Thanks T. Sado.
2008-11-19 18:30:16 +00:00
Melanie Thielker f518ca7feb Reapply r7369 r7367 r7366 r7370 r7381. This brings it back up to the new
libOMV.
2008-11-19 06:25:34 +00:00
Melanie Thielker 3234472d62 Reverting the texture sending patch and the new libOMV. This makes this
release a direct descendant of the stable 7364, with all the features and
none of the issues.
This omits the following patch chain: r7383 r7382 r7381 r7377 r7375 r7373
r7372 r7370 r7369 r7368 r7367 r7366
2008-11-19 06:15:21 +00:00
Melanie Thielker 44a94055a4 Ensure that the physics representation of a deleted object is also removed 2008-11-19 02:13:15 +00:00
Melanie Thielker a104cc2c62 Fix deleting object that have been persisted already from the DB 2008-11-19 01:37:39 +00:00
Melanie Thielker 0abb762ecc Patch from jhurliman. Fixing the texture decoding issues in progressive
texture sending. Grain of salt not included.
2008-11-18 20:02:25 +00:00
Melanie Thielker 18b6250f40 Remove perts of jhurliman's AD security patch that had slipped in 2008-11-18 18:14:15 +00:00
Melanie Thielker 9d7e503ce3 Prevent a nullref when building new prims while others watch 2008-11-18 17:21:33 +00:00
Melanie Thielker 92517b48e9 Apply JHurliman's texture sender patch 2008-11-18 02:14:06 +00:00
Adam Frisby 434afaf717 * Added and removed debug information relating to client connections
* Minor client fixes
* Added the ability for a client to login without a UserProfile, allowing certain alternate clients to connect to the region.
2008-11-18 00:47:30 +00:00
Melanie Thielker 6fd8960064 Prevent the texture downloader from locking a null object when a download
hits bad data
2008-11-17 23:48:29 +00:00
Melanie Thielker 2b8915d679 Make newly created prims be the correct group 2008-11-17 23:43:46 +00:00
Melanie Thielker ece27a3631 Make texture decode errors nonfatal. The texture send is simply dropped 2008-11-17 23:08:37 +00:00
Homer Horwitz 5972eb8848 Fix a few small issues with the progressive texture-download:
- The initial priority wasn't passed in, so a discardLevel of -1 in the first
  request automatically cancelled texture-download.
- One-packet textures weren't handled, as CurrentPacket starts at 1 and
  StopPacket == 0 in that case.
- Increased MAX_ALLOWED_TEXTURE_REQUESTS to 15; incremental texture downloads
  will cause more requests.
2008-11-17 22:15:02 +00:00
Melanie Thielker a8e40bed52 Set group on newly rezzed objects to the rezzer's (or rezzing object's)
group
2008-11-17 21:44:09 +00:00
Justin Clarke Casey 93b18d7323 * Remove Appdomain code in XEngine.cs 2008-11-17 21:36:12 +00:00
Justin Clarke Casey f26f5f6eff * Apply http://opensimulator.org/mantis/view.php?id=2611
* Progressive texture delivery (ported from jhurliman's Simian code)
* Thanks jhurliman!
2008-11-17 21:10:08 +00:00
Justin Clarke Casey c25a0ea792 * Update libOMV to r2359. This is necessary for the progressive texture patch
* Update libopenjpeg as well for this patch.
* Appears to be okay on a very short sniff test
* Source code will be placed in opensim-libs shortly
2008-11-17 21:00:34 +00:00
Justin Clarke Casey 6052ed4707 * Add allowed_script_editors to OpenSim.ini in the same fashion as allowed_script_creators.
* This allows one to override normal OpenSim permissions and prevent non-gods from editing any scripts.  This allows edit ability 
to be rescinded after it has been given, and prevents the security hole where a single script with liberal perms would allow code changes.
* The default setting remains the existing one of never overruling normal edit permissions.
* These two settings may be enough to stop non-gods entering artbirary script code in a closed grid/standalone configuration.
2008-11-17 19:55:32 +00:00
Melanie Thielker 7ced8d136a Add a few comments 2008-11-17 19:42:21 +00:00
Melanie Thielker 0a01826843 Change some comments that have been superseded 2008-11-17 18:16:08 +00:00
Melanie Thielker 30b626024c Fix the PAY_HIDE and PAY_DEFAULT constants to be LSLIntegers and get
accepted in the quick buttons list
2008-11-17 17:59:15 +00:00
Justin Clarke Casey de526d0274 * refactor: move user set permissions parsing code into a separate method ready for reuse 2008-11-17 17:59:10 +00:00
Justin Clarke Casey 99bd7cce2b * Make sure that deleted objects do not send further object updates to the client 2008-11-17 16:33:41 +00:00
Justin Clarke Casey dcfd343a1e minor: remove mono compiler warnings 2008-11-17 16:22:21 +00:00