Commit Graph

7160 Commits (e6ddb5de7de4ed61fa19b3805cd77104328eb20a)

Author SHA1 Message Date
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 0cb104e290 * Remove old unused libsecondlife and openjpeg libraries
* Thanks to jhurliman for the pointer
2008-11-17 21:22:18 +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 374ef03ee9 * Actually add the updated libraries this time
* This is why they don't let me out of the big house
2008-11-17 21:06:09 +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 072624b19d * minor: add interface version to 'show version' command output 2008-11-17 20:22:22 +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
Justin Clarke Casey 558704be8b * Remove the TransferRequest and hip debugging console output that crept in recently 2008-11-17 16:14:23 +00:00
Justin Clarke Casey c41903077d * Eliminate SOG.FakeDeleteGroup() since it is now identical with DeleteGroup() (except that is didn't lock the parts, which was a potential race condition)
* Removed fake delete code from LSL_Api.SetFlexi - this code was never activiated anyway and didn't appear to make much sense on the surface
2008-11-17 16:06:50 +00:00
Justin Clarke Casey 48a72f51a8 * minor: eliminate propogation of now unused permissionToDelete flag 2008-11-17 15:58:12 +00:00
Justin Clarke Casey f16cf12840 * Fix probable partial breakage of delete to inventory in last commit
* Not nulling out parts and the root part allows the code to be simplified
2008-11-17 15:52:27 +00:00
Justin Clarke Casey d54b6608a7 * Stop nulling SOG.m_rootPart and parts on object deletion
* This renders RootPart == null checks useless - the replacement is to check SOG.IsDeleted.  However, in many cases this will not be necessary since updates to deleted parts 
will not be sent to the client
* This should remove any remaining race conditions where an object is deleted while another thread is yet to obtain the root part to perform some operation
* Doing this is probably a necessary prerequisite to moving to a model without a separate SOG and SOP
* Unfortunately it's not possible to eliminate all RootPart == null checks since in some contexts it is currently used to check whether an object was created successfully
2008-11-17 15:40:27 +00:00
Dr Scofield dd37fbb137 fixing warnings in YProlog language support 2008-11-17 11:16:24 +00:00
Dr Scofield bc72f0a9a5 commenting out unused variable. 2008-11-17 11:14:49 +00:00
Dr Scofield a67dccefbf cleaning up warning 2008-11-17 11:10:32 +00:00
Dr Scofield 68019e8d98 cleaning up warnings in MSSQL code. 2008-11-17 11:07:18 +00:00
Dr Scofield ae0bcab35e adding #pragma warnings to yprolog language support 2008-11-17 11:06:24 +00:00
Melanie Thielker 05fb40dc0b Use the message transfer module to pass items across the grid via the profile 2008-11-17 08:29:37 +00:00
Melanie Thielker bb936d8a2f Correct prim counts for group land. Correct MessageTransferModule startup 2008-11-17 08:15:43 +00:00
Melanie Thielker 598316c890 Make object chat come from the root prim's center, rather than trying to make
it come from a child prim position.
2008-11-17 05:57:58 +00:00
Melanie Thielker 2a8020b9d9 Back out the attachment location patch to debug a crash 2008-11-17 05:47:36 +00:00
Melanie Thielker 3f4aeccca3 Try to fix login crash 2008-11-17 05:37:24 +00:00
Melanie Thielker fa50156b4c Make the messageing server re-register with all it's user servers every five
minutes. This ensures that things don't get messy if a user server is restarted
and the user server's operator has no control over the host the message servers
run on.
2008-11-17 05:04:33 +00:00
Melanie Thielker 08b1e1a1f6 Fix previous build break 2008-11-17 04:34:19 +00:00
Melanie Thielker 928d003bf5 Change the semantics of the Allow_* os function control. Omitting a function
causes defautlt behavior. "true" now means usable unconditionally, "false"
means disabled, and a list of UUIDs restricts it.
This changes SECURITY! If you used "true" here before, you shoudl review
your setup!
2008-11-17 04:23:03 +00:00
Melanie Thielker 840ef17b8d Allow more then one user server in the user server config of the
message server. This is needed for larger grids
2008-11-17 03:28:38 +00:00
Melanie Thielker 0e7b6879d2 Add some null checks 2008-11-17 00:45:56 +00:00
Melanie Thielker 74ba1bb180 Fix child prims in attachments chatting from near 0,0,0 rather than
the avatar position. Fixes "silent" child prim scripts
2008-11-17 00:28:47 +00:00
Homer Horwitz 4343ddeec1 Fix NRE on TP-to-home, if the home-region is unavailable. 2008-11-16 23:53:00 +00:00
Homer Horwitz 07afe9c137 Fix friends again. Friends-handling is now stateless and, thanks to
MessageTransferModule, much easier to understand (I hope).
2008-11-16 23:50:18 +00:00
Melanie Thielker 4d23d22fb1 Remove a redundant parameter 2008-11-16 23:25:36 +00:00
Melanie Thielker 5e2e05a1c1 Megapatch. Completely remove the multiparameter IM methods. Remove the insecure
fromAgentSession field.
2008-11-16 22:04:01 +00:00
Homer Horwitz 78d42a7fc8 - Fix a formatting error in a log message (Mantis#2635). 2008-11-16 21:32:10 +00:00
Melanie Thielker 3f818e001d First step tidy-up of IM packing/unpacking/repacking 2008-11-16 20:32:00 +00:00
Homer Horwitz e1ccbed982 GridIMs don't have a (sending) client, which led to a NRE on access.
Doesn't use client now in that case.
2008-11-16 19:45:46 +00:00
Melanie Thielker 9e7d00c1e6 Add MessageTransferModule interface to all scenes, not only the first 2008-11-16 18:59:58 +00:00
Melanie Thielker ca8a2cad53 Fix 2 bugs in the message transfer module, thanks, Homer Horwitz! 2008-11-16 18:53:17 +00:00