Commit Graph

22133 Commits (018d855f2840988163519ca941a373c77997c689)

Author SHA1 Message Date
UbitUmarov 736490dcb6 dont send baked textures assets, but send cache information 2014-10-26 18:13:44 +00:00
UbitUmarov bc4d0179b3 remove debug message 2014-10-26 12:38:22 +00:00
UbitUmarov b07ea475bf delete keyframes on temporary backup group 2014-10-26 12:30:11 +00:00
UbitUmarov 525322efa2 bug fix 2014-10-26 12:24:12 +00:00
UbitUmarov b43ce909aa Debug... ( restored TriggerOnSceneObjectPreSave) 2014-10-26 11:28:24 +00:00
UbitUmarov cfc8de096b remove lock that did nothing, DEBUG disable TriggerOnSceneObjectPreSave 2014-10-26 10:48:53 +00:00
UbitUmarov 6600282fe9 another try to prevent double crossing 2014-10-26 10:08:13 +00:00
UbitUmarov e59a9a54f1 bug fix 2014-10-26 10:05:48 +00:00
UbitUmarov 139044fc79 keep intransit flag even if deleted, dont set sog position if in transit 2014-10-26 01:25:28 +00:00
UbitUmarov 639f128d2c some cleanup, localID coerence fix.. 2014-10-26 01:27:43 +01:00
UbitUmarov d9d58a7b33 some code reorder/minor changes 2014-10-25 23:00:41 +01:00
UbitUmarov 16608ffb01 don't backup in transit SOGs 2014-10-24 21:51:38 +01:00
UbitUmarov 4cbc13b52f don't send pack baked texture assets into updates. 2014-10-24 19:50:51 +01:00
UbitUmarov 21242205d1 add more temporary fixes for regionSize zero 2014-10-24 18:44:08 +01:00
UbitUmarov d2b049b7ad check new region size on added code for varsize till its fully suported 2014-10-24 18:32:24 +01:00
UbitUmarov 4571e5bc3e try to make SOG crossings full async. Simplify some borders checking.... 2014-10-24 18:10:28 +01:00
UbitUmarov fd79f75ba6 TEST**** wingridproxy detection at grid login. Untested possible not
very reliable. Adds some load even on region servers because of code at
 BaseHttpServer.
2014-10-24 02:12:30 +01:00
UbitUmarov 382df37f80 remove some Xengine errors on scripted object delete 2014-10-22 10:21:54 +01:00
UbitUmarov 31c036c044 refuse crossings if logins disabled
Please enter the commit message for your changes. Lines starting
2014-10-21 19:22:51 +01:00
UbitUmarov b1ccf3f110 make sure we return false if catch() is triggered on crossing 2014-10-21 13:04:26 +01:00
UbitUmarov 59413adcee do agent crossing async, including QUERYACCESS ( need to check vehicles for
this also ), so it doesn't stop heartbeat
2014-10-21 11:57:47 +01:00
UbitUmarov afa9b4a002 Assume childreen don't need to know caps seeds 2014-10-20 09:14:27 +01:00
UbitUmarov f44c29effb try to fix propagation of seeds to all relevante regions 2014-10-19 15:51:12 +01:00
UbitUmarov fadc5661c9 change position in new region estimation. Reduce border jitter margin 2014-10-18 21:34:35 +01:00
UbitUmarov 159246f88c fix SW direction diagonal crossing 2014-10-18 20:27:33 +01:00
UbitUmarov b7708b9d1f change child agents creation/notification. As before this assumes that
sending regions close out of view connections.
2014-10-18 18:27:38 +01:00
UbitUmarov f9588730cf debug makeroot timing 2014-10-17 14:36:02 +01:00
UbitUmarov 2bea66ed27 send motion control state in update to childs. Reset CollisionPlane on
makechild
2014-10-17 14:07:11 +01:00
UbitUmarov e99fea3398 send correct caps seed on CreateAgent to a nearby region 2014-10-17 03:08:41 +01:00
UbitUmarov 251a3dcf0d Merge branch 'master' into ubitworkmaster 2014-10-16 16:57:48 +01:00
Melanie Thielker 14259b5f99 Fix an obscure permissions exploit. Taking items from a friend's prim could
possibly result in a privilege escalation
2014-10-16 03:53:56 +02:00
UbitUmarov c643ff4cba fix some errors when using http debug level > 4 2014-10-15 14:14:25 +01:00
UbitUmarov bfb5185747 lso remove caps with "PUT" http method 2014-10-14 02:25:22 +01:00
Melanie Thielker 12ebc92e55 Revert "*TEST* send udp sync. Stop uncontroled and hidden use of IO threads."
This reverts commit 8c41271b33.

Conflicts:

	OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
2014-10-13 23:52:19 +02:00
Melanie Thielker 32468bebef Merge branch 'ubitworkmaster' 2014-10-13 23:50:26 +02:00
UbitUmarov 33ec073320 revert to async send, since past experience showed sync didn't work when
on mono
2014-10-13 22:46:58 +01:00
Melanie Thielker 298e714c04 Merge branch 'ubitworkmaster' 2014-10-13 23:27:13 +02:00
Melanie Thielker 0ecc417534 Allow 20 outbound connections per endpoint for the services 2014-10-13 23:24:47 +02:00
Melanie Thielker c19183932e Set connection limit to 20 for all servers. 2014-10-13 23:22:18 +02:00
UbitUmarov 8c41271b33 *TEST* send udp sync. Stop uncontroled and hidden use of IO threads.
Testing this may require several people.
2014-10-13 13:17:48 +01:00
UbitUmarov a301bad8ad on util thread pool reduce the min number of threads, increase the
maximum and increase the idle time before release to OS
2014-10-13 12:10:13 +01:00
UbitUmarov 9d52b7ff71 name the thread 2014-10-13 12:01:36 +01:00
UbitUmarov cd87c4bec5 change/fix previus commits 2014-10-13 12:00:31 +01:00
UbitUmarov 6794508f8c reduce minimum number of smartpool threads and name it 2014-10-13 11:41:11 +01:00
UbitUmarov 8558e97a44 tune poll smartThreadpool use and give it a name 2014-10-13 11:38:51 +01:00
UbitUmarov 9a3df6445e move AnimationSet and AvatarSkeleton to OpenSimExtras 2014-10-12 12:52:12 +01:00
UbitUmarov 10d3d0c81d try to reduce avatar bounce on falls. Not all possible side effects
checked, specially on portals
2014-10-12 01:14:54 +01:00
UbitUmarov 39cfd82303 add simulator features AvatarSkeleton and AnimationSet report 2014-10-11 22:53:47 +01:00
UbitUmarov c3e88b7b38 changed skeleton, do parse the mesh on upload to check skeleton. Sooner or
later this parsing needs to validate the model cost also.
2014-10-11 22:41:59 +01:00
UbitUmarov cc71dd9a27 dont let test mesh go to meshes inventory folder that is not displayed by
viewers
2014-10-11 11:12:43 +01:00
UbitUmarov dab2e778d6 bug fix 2014-10-11 10:22:57 +01:00
UbitUmarov 1a6ef2d60e check for avatar skeleton data on meshs headers on cost estimation. Dont
let a model have more than one mesh with skeleton, for testing create a
 mesh inventory item, for this meshs. Add also option to read a avatar
 collider replacement. This information still needs to be saved somewhere
 so it can be checked on attachment, etc, without parsing the mesh asset again.
2014-10-11 10:01:26 +01:00
UbitUmarov fe495874f2 Merge branch 'master' into ubitworkmaster 2014-10-09 00:26:08 +01:00
UbitUmarov c0a75fcc03 fix targetOmega resend on deselect on the right place, can't be at sop
but packethandlers
2014-10-06 00:17:41 +01:00
UbitUmarov c3a1d6b5ef reduce some avatar engine strenght 2014-10-05 18:55:37 +01:00
UbitUmarov 44a42efa4b try to help steps climb a bit compensating the bounce reduction 2014-10-04 08:46:46 +01:00
UbitUmarov 57caf468e8 bug fix: resend part targetOmega on deSelect 2014-10-04 08:30:04 +01:00
UbitUmarov 6f149ef6ae bug fix: leave jumping state only to landing, without fallback into
onsurface, etc
2014-10-04 07:49:05 +01:00
Melanie Thielker 8918c42540 Merge branch 'ubitworkmaster' 2014-10-04 05:10:46 +02:00
UbitUmarov 4ae960a4f0 bug fix: revert back check on creating link 2014-10-04 03:43:20 +01:00
Melanie Thielker 307e49b3a7 Merge branch 'ubitworkmaster' 2014-10-04 02:23:07 +02:00
UbitUmarov 94f42cef90 added a missing angularVelocity.Zero on sitting, removed odd camera based
movement vectors, plus little other things
2014-10-03 18:32:52 +01:00
Melanie Thielker 93fa3777d2 Merge branch 'ubitworkmaster' 2014-10-03 18:27:27 +02:00
Melanie Thielker c66e4eeb7d Also store names of assets in the AnimationSet 2014-10-03 18:27:14 +02:00
UbitUmarov 6d1f1103f3 clean up coments, use a even faster XY move request detection 2014-10-01 16:36:06 +01:00
UbitUmarov 4c8819a143 removed useless unreal inworld movement vector estimation. Do animation state using movement control flags only, on avatar frame of reference. This will hold
valid until the up direction is allowed to be diferent from the world one.
2014-10-01 04:32:19 +01:00
UbitUmarov 49bf83ecb8 do global position X and Y with double precision in autopilot, so
corrected viewers do work
2014-09-30 23:31:55 +01:00
UbitUmarov b9be9097aa fix a incomplet landing handling case 2014-09-30 17:02:24 +01:00
UbitUmarov c704b079d8 persist script changes to mediaURL and musicURL ( heavy thing ) 2014-09-30 04:24:31 +01:00
UbitUmarov f117a86c87 fix musicURL change being sent back with wrong snap_selection, and not
sent to other avatars.
2014-09-30 03:31:04 +01:00
UbitUmarov 2af7205813 keep same animation if in transit 2014-09-30 00:13:52 +01:00
UbitUmarov 1b2e2a86a3 remove check of other prim top height on steps climb code 2014-09-29 23:24:22 +01:00
UbitUmarov cfb1a27300 Merge branch 'master' into ubitworkmaster 2014-09-29 20:36:03 +01:00
UbitUmarov 3052a53889 change avatar physics and motion control. Still not that good :( 2014-09-29 20:17:05 +01:00
Melanie Thielker dbc0dfa606 Also fetch and store old asset for animation sets 2014-09-27 22:18:43 +02:00
Melanie Thielker f60139cb91 Reinstate the part of the id theft protection that was lost in a long ago merge 2014-09-27 21:17:56 +02:00
Melanie Thielker 3ea76e3131 Make changes to AnimationSet to allow indexing by names rather than indices. Add some debugging output and prepare for parsing an ascii-based format. 2014-09-27 02:30:01 +02:00
UbitUmarov bb019945e8 change permitions again 2014-09-26 15:20:45 +01:00
UbitUmarov 46caea6987 change it again... 2014-09-26 15:03:33 +01:00
UbitUmarov 90cad82405 remove unnecessary argument ref 2014-09-26 14:22:54 +01:00
UbitUmarov fcad64209c make c# more happy 2014-09-26 14:17:01 +01:00
UbitUmarov 5f57b55dc9 use central animationset permitions define 2014-09-26 14:08:21 +01:00
UbitUmarov 3e2242b4c4 change animset permitions to reflect no transfer nature 2014-09-26 14:06:16 +01:00
UbitUmarov cce31b6638 add centerlized AnimationSet item permitions setting 2014-09-26 14:00:33 +01:00
UbitUmarov 09e05d48b9 refuse to do a inventory link if provided asset type is not a link or
folderlink
2014-09-26 13:28:24 +01:00
UbitUmarov d29a04fc20 remove debug msgs 2014-09-26 03:52:10 +01:00
UbitUmarov 598ab37b97 debug msg 2014-09-26 02:52:44 +01:00
UbitUmarov db41c04f9d little debug 2014-09-26 02:29:05 +01:00
UbitUmarov 8c68772624 bug fix: add missing attach to region heartbeat event to update animations 2014-09-26 00:54:06 +01:00
Melanie Thielker e37637587a Add a sample use for the validation 2014-09-25 22:03:02 +02:00
Melanie Thielker 546537c056 Rename = too generic 2014-09-25 21:54:32 +02:00
Melanie Thielker 2e6fd6536b Add the AnimationSet skel 2014-09-25 21:53:32 +02:00
Melanie Thielker 3a42ea5279 Extend upload verification to all upload paths 2014-09-25 21:21:20 +02:00
UbitUmarov 57166878b5 fix animation asset name to "animatn", use "animset" for the new
animationSet
2014-09-25 16:37:43 +01:00
UbitUmarov f51779bb05 add also the name animset until its clear the name liru will use 2014-09-25 14:10:44 +01:00
UbitUmarov 18cc33e2c5 add animationset to upload assets, for now no cost 2014-09-25 13:35:30 +01:00
Melanie Thielker 45739e3d5c Fix a string format 2014-09-24 23:10:15 +02:00
UbitUmarov df773ee8c3 make CreateAgent sync for logins, async for other cases 2014-09-24 20:57:23 +01:00
UbitUmarov c9079360b9 coment out stack trace at newUserConnection, add log msh at createAgent 2014-09-24 18:37:59 +01:00
UbitUmarov 46bf6d1640 add stack trace debug message 2014-09-24 18:29:23 +01:00
UbitUmarov 68ea1f7776 TEST do createAgent sync, forcing grid services and other regions to wait
for it to complet.  This is not that good, but maybe needed
2014-09-24 17:56:58 +01:00
UbitUmarov c031f21851 fix wrong format 2014-09-24 16:37:21 +01:00
UbitUmarov f106aea388 add debug message 2014-09-24 16:33:33 +01:00
UbitUmarov 1491ba3500 change melanies patch, reusing caps if circuit and caps path is the same.
Do the aditional cleanup, if the path did change
2014-09-24 16:01:25 +01:00
UbitUmarov 4206c1248f same thing on another lock(acd) 2014-09-24 01:51:36 +01:00
UbitUmarov d96fe6eaf5 replace a lock on a unkown origin object with a lock on a well defined
one.
2014-09-24 01:37:51 +01:00
UbitUmarov 6d2cdd31fe populate collision lists with LinkNumber, and detected structure in
Xengine
2014-09-23 23:59:05 +01:00
UbitUmarov ac09dd9946 Merge branch 'master' into ubitworkmaster 2014-09-23 23:28:38 +01:00
Melanie Thielker 80f3e8edbc Fix stupid stuff. 2014-09-24 00:21:14 +02:00
UbitUmarov f37364b56f Merge branch 'master' into ubitworkmaster 2014-09-23 23:20:28 +01:00
Melanie Thielker a6b27a7aa4 Add a link number field to ColliderArgs 2014-09-24 00:16:04 +02:00
Melanie Thielker 309cfeff88 If an agent is logging in, rather than teleporting, make sure all known
circuits for that agent are closed.
2014-09-23 21:53:09 +02:00
UbitUmarov 992bd703e7 fix building state logic... 2014-09-23 00:04:03 +01:00
UbitUmarov 79e47eb60e some changes in link/unlink code, bypassing complex variables set methods 2014-09-22 23:32:55 +01:00
UbitUmarov c82e456345 debug show stack trace 2014-09-22 21:13:36 +01:00
Melanie Thielker 4cc552162e Merge branch 'ubitworkmaster' 2014-09-22 18:50:06 +02:00
Melanie Thielker 0bfba122f0 When a ghosted avatar is removed, also remove any remaining CAPS 2014-09-22 18:49:08 +02:00
UbitUmarov ea4a526095 a few more changes on link/unlink 2014-09-22 16:09:39 +01:00
UbitUmarov b7fca5bcac same in a few more spots 2014-09-22 14:44:47 +01:00
UbitUmarov fe3c1b9e98 send to world or backup, after setting finding information 2014-09-22 14:32:56 +01:00
UbitUmarov bcaf202e34 update scenegraph group find by part information in sog link, so script link functions do update that also. 2014-09-22 13:59:23 +01:00
UbitUmarov e25849e1c4 remove redundant lock 2014-09-21 23:39:50 +01:00
UbitUmarov a70ed79c39 compile fix 2014-09-21 23:26:17 +01:00
UbitUmarov d1ccc6d5cc release lock a bit sooner when not needed, add a try on more complex db
store call
2014-09-21 23:23:20 +01:00
UbitUmarov f95bb53371 remove LockItemsForRead(false) without previus call with true 2014-09-21 23:02:02 +01:00
UbitUmarov adda696cd0 protect getting the item 2014-09-21 22:46:44 +01:00
UbitUmarov 51ec2d83ac remove redundant code 2014-09-21 22:43:17 +01:00
Melanie Thielker 640f3f3074 A stab at brute force fixing the locking - one, make m_itemLock volatile, two,
reset the lock even if the write lock is not apparently held.
2014-09-21 19:24:15 +02:00
Melanie Thielker 4002cd96a5 When sending http requests, close the response stream instead of waiting
for the finalizer to do it, if it ever does.
2014-09-20 20:42:07 +02:00
UbitUmarov 9c552212a9 exclude npcs from baked cache 2014-09-19 16:51:51 +01:00
UbitUmarov 242bb425f3 fix positions on same frames transitions 2014-09-19 01:07:20 +01:00
UbitUmarov f35f90bd72 dont give a ring to each asset request, just one to rule them all, i mean
thread not ring
2014-09-18 19:40:59 +01:00
UbitUmarov 6e015125c5 Merge branch 'master' into ubitworkmaster 2014-09-17 21:48:36 +01:00
UbitUmarov ce8ea55f4e ... and a few more.. 2014-09-17 17:25:07 +01:00
UbitUmarov 060984502e and another one 2014-09-17 17:00:13 +01:00
UbitUmarov 9f07c64690 another close() 2014-09-17 16:51:07 +01:00
UbitUmarov df389dceb8 add some _response.close. RestClient still looks bad. It should be a
proper IDisposable object.
2014-09-17 16:19:00 +01:00
UbitUmarov 9bf3e2a257 dispose some tmp streams 2014-09-17 15:36:22 +01:00
UbitUmarov f254761649 turn off Nangle on users of ServivePointManager like webrequests 2014-09-17 14:47:36 +01:00
UbitUmarov 1953a0f4e0 Dont add to physics in a child update. It is missing several checks like
sit. makeroot should to it
2014-09-17 13:36:39 +01:00
UbitUmarov affcdcce8b try to send fly state on tps 2014-09-16 21:25:06 +01:00
Melanie Thielker 8014ce7f1a Fix a nullref in a debug message. If we have no SceneAgent, we can't output data from it. 2014-09-15 23:15:27 +02:00
Melanie Thielker d43d3df724 Reinstate closing the client if CloseAgen returns false. This was part
of the last Ubit patch.
2014-09-14 20:46:22 +02:00
UbitUmarov 3d9f25a19d revert changes to m_pendingCache and remove client close if there is no
SP, as requested
2014-09-14 02:28:42 +01:00
UbitUmarov 52cde5fe96 Merge branch 'master' into ubitworkmaster 2014-09-14 01:18:03 +01:00
UbitUmarov 908e0e1cef do not use a blind expire of m_pendingCache. Entries must be valid while
respective HandleUseCircuitCode, no matter how long it takes, so a viewer
 retry doesnt start a overlapping one. It HandleUseCircuitCode
 responsability to always remove entries, even on fails. Remove a client
 even if m_scene.CloseAgent fails.
2014-09-13 20:37:20 +01:00
Melanie Thielker 8ab5f2ce84 When CloseAgnt is called with an agent id that doesn't have a presence, check for stray clients and clean them up instead of failing. 2014-09-13 16:39:56 +02:00
Melanie Thielker 42b2248960 If a client's SceneAgent is null, that client is not fully logged in or
crashed while logging out. Don't reuse it, create a new one.
2014-09-13 00:49:32 +02:00
UbitUmarov ffe5ede550 taskInventory request: give each transfer a diferent filename, Add more
agressive lock
2014-09-12 11:48:43 +01:00
UbitUmarov df8eae1957 handle AO sit ground case 2014-09-10 20:55:00 +01:00