Commit Graph

6615 Commits (12042cdc2b53e581ace6a017d9b17bd763a544b2)

Author SHA1 Message Date
Jeff Ames c65415d320 Thanks HomerHorwitz for a patch to enable the Stand Up button when sitting on the ground. (bug #1932) 2008-08-12 21:38:52 +00:00
Justin Clarke Casey 4e555b87f3 * Stop warnings about non existent scene presences/entities being removed on client log off
* This is being done by preventing close from being called twice on child agent closure (nres which would have been thrown are being swallowed).  
* However, it should be possible to do much better cleanup on this code in the future
2008-08-12 19:00:13 +00:00
Mike Mazur 8ea92c0669 Thanks, lulurun, for a patch that addresses inventory problems that occur
occasionally, but are fixed on restart (issue 1919).
This patch introduces the following changes:
1. when a user teleports out of Region A, remove that user's profile
from the Region A user profile cache
2. when a user crosses between regions out of Region A, remove that
user's profile from the Region A user profile cache
3. the user profile cache's session ID member can now be set (written),
and is updated each time a connection with a new avatar is established (ie: a
new avatar enters the region)
4. when a region server looks up a user profile and a cache miss
occurs, fetch the user profile from the user server first instead of
immediately returning null
2008-08-12 06:21:02 +00:00
Melanie Thielker 44adeb4ec8 Remove "static" from the AsyncCommand Manager to make it work properly
in multiple region per sim setups
2008-08-12 02:31:57 +00:00
Jeff Ames f894f5d87b Minor formatting cleanup. 2008-08-12 00:08:41 +00:00
Melanie Thielker f9945bf87f Patch #9163 - Refactor initial packet sending out of InnerScene into
ScenePresence. Pace prim delivery to about 200 updates/s max. Break
a long-held lock that caused the notorious MapBlockQuery XMLRPC timeout
on agent login. Eliminate 60 second timeout at "Waiting for region handshake".
Fix region crossing/teleport response. Fix appearance in primmy regions.
2008-08-11 23:20:14 +00:00
Justin Clarke Casey b627c9c066 * minor: replace hard tabs with soft 4 space tabs in previous patch 2008-08-11 21:33:04 +00:00
Charles Krinke 2cee5abcac Mantis#1921. Thank you kindly, Leaf for a patch that:
llRezObject changed to llRezAtRoot. llRezObject implemented 
to call llRezAtRoot until I can figure out how to calculate 
a bounding box. Partial implementation of llPushObject 
(no angular impulse applied)
2008-08-11 21:27:31 +00:00
Charles Krinke 54af3b4f4d Mantis#1903. Thank you kindly, CMickeyb for a patch that:
patch attached replaces the tree walk algorithm used to build the 
folder hierarchy with a single database query. That is, we replace 
1 database query per folder with 1 query for the root folder's 
properties and 1 query to retrieve the entire collection of folders for a user.
2008-08-10 16:44:25 +00:00
Charles Krinke a9f1561380 Mantis#1910. Thank you kindly, HomerHorwitz for a patch that:
In case you run the server with   mono --debug OpenSim.exe
line numbers are reported as <filename>:<linenumber>, so no 
"at line" is found. That led to an exception, which is caught 
since r5766. The attached patch fixes this for mono;
2008-08-10 16:39:04 +00:00
Melanie Thielker 9b7e66ceda Attempt to address Mantis #1905, #1909
Prevent re-sequencing of resent packets. Thanks, ckrinke, for
catching that, it is what was happening.
2008-08-10 16:37:45 +00:00
Melanie Thielker 5acfc79c50 Patch #9024
Bringing in an old private patch, increasing region registration timeout
to 90 seconds. That allows regions witj > 10000 prims to register
successfully. Running them.... well, YMMV
2008-08-10 12:51:31 +00:00
Jeff Ames 20e8e0ebae Update svn properties, minor formatting cleanup. 2008-08-10 00:44:33 +00:00
Justin Clarke Casey 5b5159d1ec * Resolve mantis 1911 without reintroducing warnings 2008-08-09 22:34:04 +00:00
Justin Clarke Casey 03f9a3e1d6 * if the user uuid is present, preserve ownership information when loading an archive
* if the uuid isn't present, ownership is given to the region's master avatar
2008-08-09 22:04:42 +00:00
Justin Clarke Casey d0480a87c3 * Remove warnings 2008-08-09 21:24:27 +00:00
Justin Clarke Casey 6630706dd9 * Reinstate grid receive and send keys to user server config
* Looks like these weren't so unused after all - oops!
* Remove message from grid server config
2008-08-09 21:01:33 +00:00
Justin Clarke Casey e73b9c5f0a * minor: oops, forgot the code that actually ends up eliminating the unused configuration elements from the last checkin 2008-08-09 20:43:14 +00:00
Justin Clarke Casey 0fd2bde111 * minor: remove unused grid send/receive keys from user server configuration 2008-08-09 20:41:18 +00:00
Justin Clarke Casey f1c897695b * minor: Remove unused message from the asset server configuration 2008-08-09 20:30:56 +00:00
Justin Clarke Casey 52d5369a87 * minor: get rid of send and receive keys from inventory server
* these are not used
2008-08-09 19:59:01 +00:00
Justin Clarke Casey a78e5ea142 * Change _Config.xml node selection code to allow comments 2008-08-09 19:51:49 +00:00
lbsa71 d4b8e06d55 * Added a little more log info in LLUDPServer 2008-08-09 18:37:20 +00:00
Justin Clarke Casey 3242b09344 * Make session security (secure inventory) configuration FALSE by default
* This will not affect existing configurations where the configuration question has already been answered
2008-08-09 18:33:45 +00:00
Justin Clarke Casey 00473fcfee * minor: remove redundant welcome message from inventory grid server configuration 2008-08-09 17:40:48 +00:00
Justin Clarke Casey adfccd0ee0 * Add line to log notifying of inventory -> user grid server trust failure
* add code comments
2008-08-09 17:09:37 +00:00
lbsa71 6849f45660 * Shielded against various forms of Malformed data crashes - if there is an error in packet creation, we just log and ignore it
* If there's a Socket.AlreadyInProgress, just silently ignore this one
* Tried to refactor the Reset and BeginRecieve logic into something a little more readable, little less duplicated
2008-08-09 05:26:33 +00:00
Charles Krinke 87c5b0b926 Mantis#1521. Thank you kindly, HomerHorwitz for a patch that:
Increases the functionality of the particle system on both
script engines.
2008-08-08 18:27:24 +00:00
Charles Krinke 10822a139f Mantis#1521. Thank you kindly, Lmmz for a patch that:
Improves the implementation of the particle system.
2008-08-08 15:16:30 +00:00
Melanie Thielker 2248ad2ed2 Patch #9161
Increase GetUserProfile timeout from 6 to 30 seconds. Because 
the worker thread fo the XMLRPC data pump sits on a lock
while the system starts, regions with upwards of 6000 prims
throw and exception when that thread gets blocked for more
than 6 seconds, due to this timeout, and won't start.
2008-08-08 13:46:24 +00:00
Melanie Thielker b5a9b904dc Sorry, thoughtI had added that :/
Missing file from pervious commit
2008-08-08 12:19:11 +00:00
lbsa71 96fa85cd9f * Removed unused m_bAvailable 2008-08-08 11:38:21 +00:00
Melanie Thielker eaff580abe Patch #9160
Refactor proxy encode/decode methods out of the PacketPool into
their own class.
2008-08-08 11:04:24 +00:00
lbsa71 22f09fbd21 * All CheckRegion within an instance would use the same, global, bool for 'Available', which would lead to intermittent failures on parallell teleport requests.
* Solidified CheckRegion somewhat, adding a second try if the first failed.
2008-08-08 10:59:32 +00:00
Mike Mazur 97d5b5a1eb De-coupling the IClientAPI interface and ClientManager class from the
libsl/libomv Packet, as other client stacks could use other data types to pass
packets around. Starting with InPacket() here, more to come.
2008-08-08 09:19:23 +00:00
Jeff Ames 657af5e611 Update svn properties, minor formatting cleanup. 2008-08-08 06:39:35 +00:00
Mike Mazur 1040f3f454 Remove FunSL client stack as it's under development and often won't compile.
This effectively undoes commits 5771 and 5769 as well as parts of the
formatting cleanup commits 5774 and 5775.
2008-08-08 05:57:14 +00:00
Melanie Thielker c4eac71e54 Committing first draft of the universal cache. This is by no means
finished, but it does work for memory caching items in aggressive
mode. Supports several paramters, including TTL.
2008-08-07 16:40:50 +00:00
Melanie Thielker 39e68833b2 Patch #9159
Complete the support for dupe tracking. Eliminate one of the "Eternal
caches".
2008-08-07 15:32:39 +00:00
Charles Krinke 6b7fb1712c Mantis#1894. Thank you kindly, HomerHorwitz for a patch that:
When a region is re-registered (e.g. because of region restart), 
it is removed from m_regions. If I understood that correctly, 
the old entry should be replaced, instead.
2008-08-07 15:21:50 +00:00
Charles Krinke e8293801c5 Mantis#1901. Thank you kindly, Nlin for a patch that:
More sitting fixes: Inconsistent sitting position on 
rezzed prims that have no sit target set.
2008-08-07 15:15:57 +00:00
Charles Krinke 9a8569160f Mantis#1899. Thank you kindly, Cmickeyb for a patch that:
attached are some patches to either comment out direct 
console writes or to convert them to log writes
2008-08-07 15:12:33 +00:00
Charles Krinke b72cc7df01 Mantis#1888. Thank you kindly, Tyre for a patch that:
This patch adds the missing parcel and region flag constants 
for LSL scripts. Tested with .Net and XEngine
2008-08-07 15:02:29 +00:00
Melanie Thielker 51f90af4b7 Patch #9158
Refactor packet sending into LLPacketHandler. Change packet sequencing
and ack lists to ensure packet sequences conform to wire order.
2008-08-07 14:48:45 +00:00
Jeff Ames 0718aa0b7f Minor formatting cleanup. 2008-08-07 12:55:46 +00:00
Jeff Ames dddf7bba4e Update svn properties. 2008-08-07 00:32:53 +00:00
Dr Scofield ae13fec655 From: alan webb <alan_webb@us.ibm.com>
this adds image conversion features to the REST inventory/asset code.
2008-08-06 15:20:45 +00:00
Dr Scofield 5248c18b7d From: alan webb <alan_webb@us.ibm.com>
This fixes a sitting problem which popped up on loading regions from
archive and turned out to be caused by the fact that the archiving
mechanisms all preserve the sit-target information that is set in the
object at the time the image is captured. This caused the new region
to pick a sit-target prim that did not correspond to the prim on which
the script was running, so the script's changed event is driven with
an invalid avatar UUID.

I have modified the ArchiveReadRequest class so that any sit information
that survives the archiving process is deleted before the object is
instantiated. This change has just been checked in.
2008-08-06 14:46:38 +00:00
Mike Mazur 548bcc265f Rename namespace to FunSL. 2008-08-06 01:38:25 +00:00
Mike Mazur 79c7e803e5 Remove the manifests from the bin/ directory. 2008-08-06 01:37:06 +00:00