Commit Graph

25960 Commits (4ca859b4fc5f0a9c8b99a10c3f9c191e86146373)

Author SHA1 Message Date
UbitUmarov dfdc3e3adf change camera view constraint. we need to do it a lot more :( 2017-08-25 20:53:07 +01:00
UbitUmarov a1aa2f1add Merge branch 'master' into httptests 2017-08-24 02:18:40 +01:00
UbitUmarov 05b8ead8b2 frozen avatars should not do local teleports. Possible none should not be allowed, but that may be abusive 2017-08-24 02:11:40 +01:00
UbitUmarov c5802c9460 change a few more parcel eject code paths 2017-08-24 01:47:01 +01:00
UbitUmarov 1a7c8893ee add missing file. Also in last commit comment the flag was relative to (un)freeze no t(un)eject 2017-08-24 01:38:04 +01:00
UbitUmarov 74524cb3be (un)eject flag is only lowest bit, only protect active gods from freeze; do not check landing point (telehubs) on eject. 2017-08-24 01:30:57 +01:00
UbitUmarov b1fdb02be1 Merge branch 'master' into httptests 2017-08-22 18:39:30 +01:00
UbitUmarov 1ca70232a5 mantis 8233: media changes flag object updated in region db 2017-08-22 18:37:35 +01:00
UbitUmarov 6cf27e2191 ubOde move static/dynamic friction to unmanaged code. Note this now requeries ode version OS0.13.3 currently at opensim-libs repo trunk/unmanaged/ODE-OpenSim-Test 2017-08-21 04:54:01 +01:00
UbitUmarov f9c01db33c Merge branch 'master' into httptests 2017-08-19 22:48:31 +01:00
UbitUmarov 539c006cb8 change SOP updates throttles again. Small values of omega on llSetTargetOmega where skiped 2017-08-19 22:44:18 +01:00
UbitUmarov e2ca5853fc Merge branch 'master' into httptests 2017-08-18 04:33:21 +01:00
UbitUmarov ea53cb0dfa temporary change pcampbot bots lastname convention, to test at osgrid 2017-08-17 22:17:36 +01:00
Diva Canto 3acdae74db Make VERSION_FLAVOUR public too, per request. I question the practice of insulating modules against OS versions this way, but hey! -- different folks, different styles. Given that all other components of the version info are public, there's no reason for keeping this one different. 2017-08-17 11:36:18 -07:00
UbitUmarov c54cd4d808 Merge branch 'master' into httptests 2017-08-17 00:16:29 +01:00
UbitUmarov 218160494e fix llRot2Axis(ZERO_ROTATION) and non normalized inputs, same for llRot2Angle() 2017-08-16 23:44:34 +01:00
UbitUmarov 6d4b0a8ce3 Merge branch 'master' into httptests 2017-08-16 05:05:57 +01:00
Robert Adams 78c78f69b1 Merge branch 'master' into BulletSim2017 2017-08-15 09:04:03 -07:00
Robert Adams 9e86721d70 BulletSim: remove chatty debug message. 2017-08-14 21:33:26 -07:00
Robert Adams a754ab0e4f Refactor archive loading to optionally start script engine after loading. 2017-08-14 21:27:53 -07:00
Robert Adams 36ee8e3941 BUlletSim: return better terrain height in
BSTerrainHeightMap.GetTerrainHeightAtXYZ().
Partial fix for Mantis 8011. Problem is that computed terrain height
is different than mesh height in the physics engine. For small shapes,
they would have their position corrected to above terrain so they would
never collide.
2017-08-14 21:20:59 -07:00
Diva Canto eb837defdf Revert "Let's try giving Common a default constructor instead of the workaround"
This reverts commit 8b6557e377.
2017-08-14 16:55:50 -07:00
Diva Canto 8b6557e377 Let's try giving Common a default constructor instead of the workaround 2017-08-14 16:49:11 -07:00
Diva Canto 6a0b7a607f This is the correct work around. Jenkins is confuzzled. 2017-08-14 16:40:36 -07:00
Diva Canto 40f4b30361 Strengthen the tests for the possibility that SetUpFixture does not run in the beginning. 2017-08-14 16:33:21 -07:00
Diva Canto 26a4c5ff85 Comment to trigger jenkins 2017-08-14 16:15:08 -07:00
Diva Canto af5573728a Another comment for testing jenkins 2017-08-14 15:01:19 -07:00
Diva Canto 3052c7080a Added comment just to trigger jenkins 2017-08-14 14:48:38 -07:00
UbitUmarov 1dbf3215b0 jenkins tests still don't set scene.IsRunning 2017-08-13 06:34:52 +01:00
UbitUmarov 82e2e1e00c change locking on sop updates 2017-08-13 06:04:39 +01:00
UbitUmarov a4e7ab6fcf avoid a null ref 2017-08-03 18:09:26 +01:00
UbitUmarov f658b68181 add a few locks 2017-08-03 17:59:30 +01:00
UbitUmarov 1830387840 Oops fix also default UseMeshiesPhysicsMesh also on ubOde 2017-08-02 03:47:53 +01:00
Kevin Cozens cf855c3842 Corrected index number in ErrorFormat based Exception message 2017-07-30 12:27:27 -04:00
UbitUmarov fc4212bc81 mantis 8222 2017-07-29 17:54:18 +01:00
UbitUmarov ad930f8e41 fix typo 2017-07-28 19:01:07 +01:00
UbitUmarov 21b71ff1d8 partial mantis 8219; on creating or updating items (animationsets, wearables) that reference assets, and user does not have permissions on those, abort and warn, instead of silent invalition of the references to those assets, creating a broken item 2017-07-28 17:36:40 +01:00
UbitUmarov 324bda8ab9 mantis 8218 make Meshmerizer UseMeshiesPhysicsMesh defualt to true, to match stated on ini files. 2017-07-27 16:23:08 +01:00
UbitUmarov 6996bab4a1 display remaining pass time in hours, mins or seconds acording to value 2017-07-26 20:13:30 +01:00
UbitUmarov 0b23964349 change buypass insuficent funds to make clear that its on that region money system (buypass now uses the new MoveMoney) 2017-07-26 19:12:12 +01:00
UbitUmarov 0bbe7bab7b add new funtion bool MoveMoney(UUID fromUser, UUID toUser, int amount, MoneyTransactionType type, string text). this should be called async allowing time for money module to process it. If returns true, the transation did sucess, so if its use was to pay something, the payed item/service must be provided without fail, otherwise another method is needed so a refund is possible 2017-07-26 19:01:11 +01:00
UbitUmarov a91ceae826 add comments to make that more clear 2017-07-26 14:26:28 +01:00
UbitUmarov 025e82341f do not allow setting land passes on group owned land, because currently we cant give money to the group 2017-07-26 14:24:21 +01:00
UbitUmarov 74389c74cb only allow pass renovation on the last quarter of parcel pass time. go back to MoneyMove charging method 2017-07-26 12:58:47 +01:00
UbitUmarov d52a64c7a3 avoid leasing issues on lsl_list on domain crossings. This will make their use even more slow. AppDomainLoading just needs to be set false to have acceptable scripts performance 2017-07-26 12:53:12 +01:00
UbitUmarov 8739ceb00f lets try using older EventManager.TriggerMoneyTransfer to pay parcel passes 2017-07-25 04:18:38 +01:00
UbitUmarov 35b1166ba8 add a few more... 2017-07-25 04:10:22 +01:00
UbitUmarov 1557b78d67 add missing session ID verification 2017-07-25 04:04:55 +01:00
UbitUmarov 1071c92bb0 fix lsl group role powers to change parcel passes 2017-07-25 03:44:52 +01:00
UbitUmarov 86c9c86eeb allow pass recharge with no loss of current time up to 1/4 of parcel pass time. 2017-07-25 03:13:03 +01:00
UbitUmarov c5b34a51fd Ooops.. pay to land owner, not grid. group owned parcel not suported for now. (the pass already expired with kick action) 2017-07-25 02:39:12 +01:00
UbitUmarov 81d1ebc510 add first code to process parcel buy pass. Still testing, and still no kick on expire ( does expire on entry ) 2017-07-25 01:30:35 +01:00
UbitUmarov 13564aa984 only hide parcel info from banned avatars 2017-07-24 22:04:36 +01:00
UbitUmarov 6bf96f83c5 mantis 8212 fix sqlite parameter prefixing 2017-07-23 14:29:11 +01:00
UbitUmarov 8b2e95d1c1 add a rudimentary version control to ubOde meshs cache 2017-07-23 14:23:44 +01:00
UbitUmarov 04eeb0e5cb mantis 8212 do use defined sqlite connection 2017-07-22 23:33:03 +01:00
UbitUmarov 3ae210d36f ubOde: let small spheres still be spheres 2017-07-22 02:04:02 +01:00
UbitUmarov 618e142cf8 ubOde: remove some dead code 2017-07-22 01:45:42 +01:00
UbitUmarov d71d13f72b ubOde: represent small objects as a box. A object is small is all scale dimensions are less or equal to option MinSizeToMeshmerize (in ODEPhysicsSettings) with default of 0.1. This is needed because this objects hit narrow phase with high overlaps alot more, and so have high cpu cost. 2017-07-22 01:31:39 +01:00
UbitUmarov 98c64f1aa9 ubOde remove ols pseudo convex for sculpts 2017-07-22 00:00:46 +01:00
UbitUmarov c1ab1289ab shape convex should not trigger complex cost (LI) alone 2017-07-21 16:07:04 +01:00
UbitUmarov 66a5b4d120 ubOde suport convex shapes on all normal prims and sculpts. Since code is experimental this is controled by options ConvexPrims and ConvexSculpts, on section Mesh, that can be set to false in case of problems 2017-07-21 14:11:03 +01:00
UbitUmarov d1f7fac570 fix merge issues 2017-07-20 14:28:26 +01:00
UbitUmarov fe6ad384e4 merge 2017-07-20 11:30:12 +01:00
UbitUmarov 4293b2cb3c fix object updates throttle for scripts doing motion by direct change of position. Most this scripts are bad, making no use of viewers interpolators. Tanks lotek. 2017-07-18 14:09:30 +01:00
UbitUmarov f921ad005f KFM: changes on update method implies other changes. Still not that good. Note: objects motion timing can't be done using timers. On windows at least, those can have jitter of tens of ms 2017-07-17 00:58:35 +01:00
UbitUmarov 59de8fbba0 fix placement of xml ReadEndElement() 2017-07-16 06:10:24 +01:00
UbitUmarov 2f9222bec3 test scenes do not set IsRunning 2017-07-16 05:52:01 +01:00
UbitUmarov 9ae26fc5af store kfm on inventory. this may still be a bit confusing on rez 2017-07-16 05:19:27 +01:00
UbitUmarov 04b97be71e ode does not like null refs 2017-07-16 02:55:39 +01:00
UbitUmarov cd15de628d don't start moving KFM things on region start that where stopped on last shutdown 2017-07-16 01:31:37 +01:00
UbitUmarov 4ef64d4425 trigger moving_end also KFM stop and pause 2017-07-16 01:10:27 +01:00
UbitUmarov 101413ddd9 make KFM use scheduled terse updates. This may increase some rubber band, but is needed, and should work better with recent changes on sop terseupdates control 2017-07-16 00:48:04 +01:00
UbitUmarov ad46a29d9e Ooopsss 2017-07-15 20:59:16 +01:00
UbitUmarov 4b7f79e296 fixes and changes on TreePopulatorModule. Please read OpenSimDefaults.ini
[Trees] section. Does need more work, and some hardcode settings may not
be the optimal still"
2017-07-15 04:07:03 +01:00
UbitUmarov 8b16131206 add Util.GetTimeStamp() that returns the stamp in seconds; use it on ubOde; separed land collsions dispatch from the others... 2017-07-13 20:21:18 +01:00
UbitUmarov a17abe7518 typo fix 2017-07-13 04:28:35 +01:00
UbitUmarov bd249bdf5b replace the wrong libOMV user modifiable Utils.EnUSCulture by our own no User modifiable Culture.FormatProvider, and also for internal coerence. We do use the libomv on other code paths, so that must be fixed 2017-07-13 04:14:33 +01:00
UbitUmarov 61e3fe42bd fix wrong test 2017-07-13 03:26:43 +01:00
UbitUmarov 51d32e3bed add more missing en-us culture on scene serializer writes 2017-07-13 02:57:57 +01:00
UbitUmarov 457551d069 rename SOG.UpdatePrimFlags as just UpdateFlags since this is relative to the group never individual prims/parts and so confusing 2017-07-12 10:28:11 +01:00
UbitUmarov aff9c345dd osSetParcelDetails: add more land update code 2017-07-12 07:27:21 +01:00
UbitUmarov a069ed09a8 osSetParcelDetails: make seeAVs send updates. This is a temporary patch, this function does need to call a framework land function that deos issue proper updates about all fields to all cleints. ( sounds will not stop/start also for now) 2017-07-12 03:47:34 +01:00
UbitUmarov 3847f861e3 osSetParcelDetails: allow parcel group to be cleared also 2017-07-12 01:52:01 +01:00
UbitUmarov c8a9b0321f osSetParcelDetails: place hard restrictions on change owner,claimdate (both estate owner or manager) and group (same plus parcel owner that also needes to be a member of the new group); add PARCEL_DETAILS_SEE_AVATARS, PARCEL_DETAILS_ANY_AVATAR_SOUNDS and PARCEL_DETAILS_GROUP_SOUNDS 2017-07-12 01:44:34 +01:00
UbitUmarov f5324833ee remove wrong comment on lsl object rez. we can't add delays on async process 2017-07-11 02:47:37 +01:00
UbitUmarov 72bce8c4b4 do lsl object rez checks on script thread before wasting time possible creating a new poll thread 2017-07-11 02:33:48 +01:00
UbitUmarov 40b16f1705 SimpleAngularDistance update prioritization scheme ameks no sense without ordered dequeue of the updates 2017-07-10 22:01:38 +01:00
UbitUmarov f8cdccc167 a few more changes on entities updates 2017-07-10 21:12:34 +01:00
UbitUmarov 9dbcb4e5f6 on entities updates throttles vectors needed to be compared as vectors, not just their norms 2017-07-10 19:31:35 +01:00
UbitUmarov 63e3fc21ef fix the name of a funtion on last commit 2017-07-10 13:48:28 +01:00
UbitUmarov cc5d6f6b7b throttle collision sounds on a SOG. 2017-07-09 00:14:30 +01:00
UbitUmarov ead95e85c5 bug fix: dynamic testures set to ALL_SIDES, preserve other face data already present 2017-07-07 04:57:57 +01:00
UbitUmarov dfef16297b ubOde don't use old ode body sleep option, a few changes on sleep control, update ode.dll (windows, others needed) (keep older versions.. bc.. well bugs happen) 2017-07-07 01:49:34 +01:00
UbitUmarov 1dc56eb15f ubOde: but only do that if sphere is physical.. 2017-07-03 23:38:55 +01:00
UbitUmarov 39751891f4 ubOde: dont do avatar step climb on small true spheres. lets play simple football 2017-07-03 22:47:27 +01:00
UbitUmarov f3a920237b oops i forgot the avatar knees bending on ramps... so go back.. 2017-07-02 01:34:06 +01:00
UbitUmarov edc7575f9e a few changes to ubOde avatar collisions 2017-07-01 01:43:58 +01:00
UbitUmarov 965d004fbe do calls to m_host.AddScriptLPS() on the right place on osslm this stat is of course still wrong LPS does not mean api function calls 2017-06-30 22:39:19 +01:00
UbitUmarov 6b0a3e981c put osGetAgentIP() in threat control with level Severe so it can be disabled even for inworld administrators as needed on some grids. rearrage the osslEnable.ini file segregating the funtions only listed for information 2017-06-30 22:04:56 +01:00
UbitUmarov cb2607d4fa fix scripts xmlrpc threads names 2017-06-29 21:17:41 +01:00
UbitUmarov 190874344b ScriptsHttpReq does not need a permanent thread 2017-06-29 21:14:20 +01:00
UbitUmarov 6bac44e767 bug fix 2017-06-29 00:42:35 +01:00
UbitUmarov e243dd0519 put back getAgentIP bug restricted, script owner must be a Administrator (god) 2017-06-28 02:19:27 +01:00
UbitUmarov b0a0163253 BUG FIX: change lludp hovertext utf-8 cut point. Thx djphil 2017-06-28 01:29:49 +01:00
UbitUmarov 936aee412d remove osGetAgentIP() this was not a good idea to have :( 2017-06-27 01:41:06 +01:00
UbitUmarov 5242853d68 dont list deleted ones, that still don't know they are gone 2017-06-26 20:55:44 +01:00
UbitUmarov b319977a3f dont list deleted ones, that still don't know they are gone 2017-06-26 20:51:40 +01:00
UbitUmarov e53f439981 add osGetNPCList() 2017-06-26 20:42:49 +01:00
UbitUmarov b59ce7c968 also on the actual source file 2017-06-26 20:28:16 +01:00
UbitUmarov f660aa37ac add similar restrictions to osObjectTeleport :( 2017-06-26 19:40:20 +01:00
UbitUmarov cbd0af3cab let osTeleport* always work on script prim owner 2017-06-26 18:26:45 +01:00
UbitUmarov ef74efeaa7 and add a missing bracket :) 2017-06-26 09:18:31 +01:00
UbitUmarov e075cf4461 fix bad english 2017-06-26 09:08:23 +01:00
UbitUmarov 0c5f412ed4 put back restriction that on osTeleport the target must be on land owned by the script owner or this is a estate manager/owner, or target did gave script permission. 2017-06-26 02:49:20 +01:00
UbitUmarov 0418542344 some shortcuts on local osTeleport, reduce its time penalty, do it with script thread 2017-06-26 00:18:46 +01:00
UbitUmarov 3ce909528d change Backup calls overlap control code 2017-06-25 15:42:36 +01:00
UbitUmarov 84abdf866a add respective ossl helper funtion osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y) 2017-06-25 02:26:36 +01:00
UbitUmarov a9a44eaeb5 add vectorrender string command ''ScaleTransf x,y;''. this allows scaling of objects to draw next. -1,1 will make text be drawn with x direction flipped (it is like the texture scale) 2017-06-25 02:17:02 +01:00
UbitUmarov cb8975e567 add string osDrawTranslationTransform(string drawList, LSL_Float x, LSL_Float y), string osDrawRotationTransform(string drawList, LSL_Float x) and string osDrawResetTransform(string drawList) helper functions for the new vector renderer comands. Removed ThreadLevel check of similar funtions that had it None, and actually only set strings 2017-06-24 23:04:37 +01:00
UbitUmarov 5d776fca3a add dyn textures vectorrender comands ''ResetTransf;'', ''TransTransf x,y;'' and ''RotTransf x'' string only, no ossl helper api still 2017-06-24 21:42:11 +01:00
UbitUmarov 1a8a77c41e revert the thread level change; remove unused dynamic texture timer from internal code; let blend alpha work if < 255; let blend work with the selected face; etc 2017-06-24 09:24:56 +01:00
UbitUmarov 8d1dd44edb simplify vectorrender background draw 2017-06-24 07:39:22 +01:00
UbitUmarov ed8fc359f3 change thread level of osSetDynamicTextureDataBlendFace to VeryHigh 2017-06-24 06:11:10 +01:00
UbitUmarov 72db6f76b5 remove a DynamicTexture leak, make it actually return the new texture ID to ossl, do delete previus texture from local cache if temporary,at least on same cases... but still very broken.. 2017-06-24 05:22:02 +01:00
UbitUmarov ae4266916c add string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face) to easy only setting a prim face 2017-06-24 04:23:13 +01:00
UbitUmarov c3dbf91152 osDrawFilledEllipse or string comand FillEllipse identical do Ellipse one 2017-06-24 03:21:23 +01:00
UbitUmarov 191661b51d a few more changes to iar/oar assets save error/warning to show problems known to be asset errors 2017-06-24 02:01:48 +01:00
UbitUmarov 0a1f497dee code actually has no ideia if a id is a asset or not and does try to handle all as assets, it really can't report errors. Change messages to make more clear they are only warnings and may mean nothing at all 2017-06-23 19:55:23 +01:00
UbitUmarov 83e443bca1 do the same on OAR saves 2017-06-23 17:48:59 +01:00
UbitUmarov 95595a8360 coment out missing or damage assets messages in uuidgather that are not very usefull. In IAR save display information about items that contain references to broken assets. Note that as explained on mantis 8195 this can't will not detect all problems 2017-06-23 17:23:28 +01:00
UbitUmarov 3c6790b061 several changes to iar/oar assets error reports 2017-06-23 15:50:16 +01:00
UbitUmarov 28caf1e089 actually iar do it for iar 2017-06-22 22:09:00 +01:00
UbitUmarov cbae148f68 show the count of broken assets we now have from gather on iar/oar pre save information 2017-06-22 21:48:26 +01:00
UbitUmarov aea49070c9 change uuidgather a bit more 2017-06-22 21:37:51 +01:00
UbitUmarov 66c8b7202b split some asset uuids gather i stages with dif possible errors, and dont let them be fatal 2017-06-22 19:38:38 +01:00
UbitUmarov 11d3860781 avoid some broken object assets present in osgrid inventories due to past problems, etc 2017-06-21 21:38:12 +01:00
UbitUmarov 1bfe4da378 do not try to store on oars temporary or in transit objects ( they may be deleted during the save) 2017-06-21 20:15:35 +01:00
UbitUmarov 637d35631c make oar/iar assets writer be done by caller thread like the rest of the
oar/iar save. This may look more painfull but should reduce errors and
threads fights. Fill lucky i just don't stop the entire simulation during
this
2017-06-21 18:40:53 +01:00
UbitUmarov 70da902732 changes to AutoBackModule. Store folder and number of days expire is now also only defined in OpenSim.ini and so same for all regions. 2017-06-21 13:35:36 +01:00
UbitUmarov 36442c004f changes to AutoBackModule. Add option ALL to dooarbackup to save all regions in instance 2017-06-21 03:56:43 +01:00
UbitUmarov 651952e01e changes to AutoBackModule. Time interval is now unique and only definable on OpenSim.ini. All enabled regions will be saved in sequence whne it expires. Interval is time since last region save end, so will not follow wall clock. This reduces the chance of overlapped saves. Console command renamed to dooarbackup to be more distint from db backup. Lost the region load checks, to put back later 2017-06-21 03:31:07 +01:00
UbitUmarov 79e166e9aa revert EnvironmentTick back to orignal clock, since change may cause issues on some code paths. Clean a bit get mesh and get texture throttle 2017-06-19 05:22:38 +01:00
UbitUmarov 3fc6f62c45 Merge branch 'master' into httptests 2017-06-19 03:20:40 +01:00
UbitUmarov 4df19ece53 framework main thread pool is always active and in use ( even id hard to catch) so show in on show stats. Disable ServerStatsCollector by default, since most don't use it, Adicionally it uses shared framework performance counters system that may be affected if a region crashs 2017-06-16 18:16:26 +01:00
UbitUmarov 10d526f961 Merge branch 'master' into httptests 2017-06-16 02:43:36 +01:00
UbitUmarov 822574df9f change the clock source for EnvironmentTickCount so it does get a bit more resolution if avaiable (1ms) specially on windows. This until all calls to this are removed. Coment out some stats in workpool/threads creation path 2017-06-15 20:28:20 +01:00
UbitUmarov 969d5f742c update inventory item permissions on deattach 2017-06-15 04:20:32 +01:00
UbitUmarov 1c64b5018a fix llsd DeserialiseOSDMap cast from boolean to int, this seems to fix alchemy beta 5.0 scripts upload, but this viewer seems to be of no use for opensim, sice it does crash.. insists lbsa is at second life etc 2017-06-14 22:05:53 +01:00
UbitUmarov d9a300fa8e some cleanup.. remove some stats that only some do look at once on a lifetime 2017-06-14 20:19:13 +01:00
UbitUmarov 84946e3061 Merge branch 'master' into httptests 2017-06-14 03:04:14 +01:00
UbitUmarov 5e67bd5778 main generic use JobEngine also does not need a permanent thread.. actually doesn't even seem to be in use 2017-06-14 00:51:22 +01:00
UbitUmarov 614a5266c5 guess HGEntityTransferModule jobengine does not need a permanet thread 2017-06-13 22:45:31 +01:00
UbitUmarov ed8526bcfb coment out tests that now depend on active thread pool 2017-06-13 20:34:21 +01:00
UbitUmarov ad43cc6784 change llclient async udp packets processing. Removed the shared Jobengine that made only one thread do some packets for all users, and removed the FireAndForget, so each user could issue a unlimited number of threads. Added a new JobEngine per client, so each gets at most one thread,and that thread can be released if iddle (for 5 seconds ) 2017-06-13 19:04:18 +01:00
UbitUmarov 482ff06e13 make JobEngine be a workitem of mail pool (smartThread), with the option to release thread after a idle time, so is free to do other service elsewhere 2017-06-13 18:50:34 +01:00
UbitUmarov 5ce15566ac add option for Fireandforget not timeout (our access to main smartThreadPool) 2017-06-13 18:39:42 +01:00
UbitUmarov f33a871d61 hope gc does remove a little dic and contents 2017-06-13 14:15:28 +01:00
UbitUmarov fd8836e493 dont let time go back 2017-06-13 14:09:34 +01:00
UbitUmarov 9526a96b4f some cleanup 2017-06-13 13:22:01 +01:00
UbitUmarov 3ba63dde6e udp is not tcp. If mono versions have bronke udp sento, better update, also having 300 threads because object select is not funny 2017-06-13 12:17:39 +01:00
UbitUmarov e650a4ff16 remove excessive notion of paralelism 2017-06-13 08:56:21 +01:00
UbitUmarov a18d45fbdc fix some issues on ubOde physics shape type changes 2017-06-12 16:19:29 +01:00
UbitUmarov f62400c4ca improve english on few messages (thx) 2017-06-12 13:34:39 +01:00
UbitUmarov 70be8ba6de make some web request errors visible, so cause of later asset not found is clear 2017-06-12 13:29:14 +01:00
UbitUmarov 617f42bcfa try to mk jenkins happy 2017-06-12 01:32:18 +01:00
UbitUmarov dd7ab862ab stop doing UpdateMovementAnimations on avatar collisions, that may cause incorrect changes 2017-06-12 01:07:38 +01:00
UbitUmarov d0afd4335c fix a error message 2017-06-11 22:32:56 +01:00
UbitUmarov 5842d5f7b0 revert. The .net concurrent objects look nice, but mono5 cpu load with them does not 2017-06-10 13:58:16 +01:00
UbitUmarov 73aa752034 replace some locked objects by .net4.0 concurrent objects 2017-06-10 04:18:31 +01:00
UbitUmarov b5910cfdb7 merge 2017-06-10 02:48:51 +01:00
UbitUmarov be975d1e89 add a adicional in transit flag to signal HG tps, and use it to ignore usernames requests sent to start region during tp; don't send unknows display names ( getdisplaynames cap ) 2017-06-09 23:27:33 +01:00
UbitUmarov e8165a7b51 only silent remove threads from watch list if they stopped ( ie still consider aborted etc ) 2017-06-09 20:14:56 +01:00
UbitUmarov f69e48bedc make SendCoarseLocations async, since it is http. Make some actions use thread from pool and not a new one. Threading does need a deep cleanup one of this days. This stops mantis 8183 warnings, but as side effect only 2017-06-09 17:32:07 +01:00
Kevin Cozens 0ac6b74c5e Fixed typo in log message 2017-06-09 10:14:09 -04:00
UbitUmarov d12957dc2c still losing time with of halcyon incompatibile oars... cathch exceptions of the function that actually throws; Reduce log spam; don't let a broken MOAP stop all object deserialization. Fixing MOAP does not mean halcyon oars issues are fixed, just one. And really we should not even try to go against halcyon decison to be incompatible.(our MOAP encoding did not change since 2010) 2017-06-09 12:14:13 +01:00
Robert Adams 5bfe8b18fe Another attempt at parsing MOAP <Media> elements in OAR files.
Seems there are multiple interpretations of the format of the content of the
<Media> element in OAR files. OpenSimulator (for reasons lost in the mist of time)
escapes the XML in the element and then reparses it was a separate XmlReader.
Other simulators fill the <Media> element with regular XML.

This patch parses the <Media> escaped XML content as it always has and, if
the parsing fails, falls back to trying to parse the pure XML.
2017-06-08 21:41:34 -07:00
UbitUmarov 1e3a19e673 bug fix plus some cleanup 2017-06-09 00:15:53 +01:00
UbitUmarov ef2fd8fcea keep the reverted code, that does work. Our code likes to have pbs.Media == null when there is no MOAD defined, so handle possible odd oars that may have llsd <array /> on that case 2017-06-08 20:47:51 +01:00
UbitUmarov 29f2421d4f revert fa5bf4fd0b for test 2017-06-08 11:45:33 +01:00
UbitUmarov 7bea4f1578 Merge branch 'master' into httptests 2017-06-07 20:12:49 +01:00
UbitUmarov 02b51b84f4 so no real need for Maintenance thread.. so removed 2017-06-07 19:09:16 +01:00
UbitUmarov 2d93008bd9 course locations is a also heartbeat job (for now sync) 2017-06-07 18:52:56 +01:00
UbitUmarov eca89c6e61 remove some more dead scene options 2017-06-07 18:15:15 +01:00
UbitUmarov c8b3925085 remove nonsense SendPeriodicAppearanceUpdates. if we need such a thing, then a lot is broken. Remove duplicated CleanTempObjects() call, rename BackupWaitCallback thread as BackupWorker ( still didn't found cause for mantis 8783) 2017-06-07 18:04:02 +01:00
UbitUmarov 7d58b73bbc some changes on pollevent 2017-06-06 21:55:47 +01:00
UbitUmarov 8971e9f126 Merge branch 'master' into httptests 2017-06-06 21:47:55 +01:00
UbitUmarov 9011ca8461 set optional group position and rotation before attach to scene 2017-06-06 20:38:17 +01:00
UbitUmarov 773914591d Merge branch 'master' into httptests 2017-06-06 03:28:30 +01:00
UbitUmarov a23f99366f bug fix: handle current region on GetChildAgentsToClose 2017-06-06 03:22:11 +01:00
UbitUmarov 258d169392 Merge branch 'master' into httptests 2017-06-06 00:30:01 +01:00
Robert Adams fa5bf4fd0b Correct parsing of 'Media' XML element in PrimitiveBaseShape when reading an OAR file.
The code used to call Serializer.ReadElementContentAsString() and then expected to
pass the XML to PrimitiveBaseShape.FromXml to parse. This would throw as
ReadElementContentAsString does not allow any children of the element.
Reading with Serializer.ReadInnerXml() was the fix.
This was only not a problem because most often shapes don't have media and
most simulators don't output anything if the media array is empty.
2017-06-04 20:51:56 -07:00
UbitUmarov aea282ba38 Merge branch 'master' into httptests 2017-06-03 07:20:31 +01:00
UbitUmarov 4320758d97 remove redundant UpdateMovementAnimations(); 2017-06-03 07:19:20 +01:00
UbitUmarov 01bd578bb0 Merge branch 'master' into httptests 2017-06-03 07:08:43 +01:00
UbitUmarov f26ad07ce1 add a delayed stop so fast tap on move keys does not stop the avatar in some cases 2017-06-03 07:01:07 +01:00
UbitUmarov 67e540e05c cross mouse buttons state 2017-06-03 04:28:43 +01:00
UbitUmarov 12a6625dc7 fix MouseDown in case it gets any use 2017-06-03 03:48:49 +01:00
UbitUmarov 7310b7625e move a execution overlap guard to end of job 2017-06-02 12:58:04 +01:00
UbitUmarov de153c2b62 Merge branch 'master' into httptests 2017-06-02 06:26:20 +01:00
UbitUmarov b920f784ea avoi null refs on tests simple clients 2017-06-01 00:14:59 +01:00
UbitUmarov c68e7b6621 change child agents close control; disablesimulator is not a caps event message 2017-05-31 23:31:02 +01:00
UbitUmarov 5c156508e2 mantis 8182: update/fix GenerateRandomAnimation(). not updating libomv avatar data bc have no idea why do do have it, so leave it to who does know 2017-05-31 12:33:35 +01:00
UbitUmarov 55babdc160 Merge branch 'master' into httptests 2017-05-31 07:21:21 +01:00
UbitUmarov 7217c20291 we don't need to keep refs to baked textures assets 2017-05-31 07:12:03 +01:00
UbitUmarov f5f0fa5d1f we don't need to keep refs to baked textures assets 2017-05-31 06:18:05 +01:00
UbitUmarov 74da81890c oops.. 2017-05-31 06:04:59 +01:00
UbitUmarov 720a69a49b remove the option to store baked textures on assets service, thats suicide use xbakes 2017-05-31 04:47:59 +01:00
UbitUmarov b1c585718c remove debug messages 2017-05-31 04:30:00 +01:00
UbitUmarov e5991124dd merge LocalNeighbourServicesConnector and RemoteNeighbourServicesConnector in single NeighbourServicesOutConnector 2017-05-31 01:29:38 +01:00
UbitUmarov 0fa3af96a4 remove anoying crossing messages on open borders 2017-05-30 16:51:49 +01:00
UbitUmarov 79b2926ce1 do another dns request via new cache. My problems bf wheren't mono after all, but ubuntu systemd.resolver and google public dns, killing one and not using other did improve dns a lot 2017-05-30 15:34:22 +01:00
UbitUmarov 90da5280af put back soft http close 2017-05-30 09:01:39 +01:00
UbitUmarov e5bebe3a32 webrequests serialiazation per endpoint its now ServicePointManager job 2017-05-30 08:20:58 +01:00
UbitUmarov 91caf98308 change servicePoint dns expire also to 5min, let the endpoints expire slide. This should reduce impact of absurd dns fails observed on my test ubuntu VM 2017-05-29 07:48:09 +01:00
UbitUmarov a317bba8cf cache endpoints (and other paths) dns requests for 5min, this delay should be acceptable in all cases ? 2017-05-29 07:11:13 +01:00
UbitUmarov 0f0673552c remove a unnecessary dns check 2017-05-29 06:50:55 +01:00
UbitUmarov 8f86de265c some cleanup and assume Linux/mono DNS is just broken... 2017-05-29 05:22:21 +01:00
UbitUmarov 7be6e16555 no.. still a fail 2017-05-29 03:41:09 +01:00
UbitUmarov 27afe136d4 mono is a total crap 2017-05-29 03:13:56 +01:00
UbitUmarov 2c19d08448 cleanup util.cs get dns 2017-05-29 02:07:53 +01:00
UbitUmarov 6d23e0bc31 add temporary debug msgs 2017-05-29 01:27:02 +01:00
UbitUmarov d94b2e6f6d remove a now anoying message.. 2017-05-29 00:20:14 +01:00
UbitUmarov 5274a3181e enclose GetRequestStream on try/catch 2017-05-28 23:54:43 +01:00
UbitUmarov 99111e5052 enclose GetRequestStream on try/catch 2017-05-28 23:51:13 +01:00
UbitUmarov 687c01b29e need to delay even more agent close after teleport to compensate for slow machines and user connections. This one of current tp teleport protocol flaws 2017-05-28 03:17:34 +01:00
UbitUmarov d1306c8976 a null ref check left behind on previus commits 2017-05-28 02:11:40 +01:00
UbitUmarov 572e84c822 make use of a rare thing called StringBuilder on LSL_List. LSL_List uses may need a revision to make sure they are passed by ref and not by value, with necessary adjustments. This does not have much impact on AppDomains, since if they cross, they are always serialized. Since lists are important parts of LSL, the AppDomainLoading option needs to be replaced by something else 2017-05-28 01:56:52 +01:00
UbitUmarov 18f1ea1086 make LSL_list a CLASS again. Now we need to it allover again. Scripts need to be recompiled ( delete contents of bin/ScriptEngines) 2017-05-28 01:11:53 +01:00
UbitUmarov 6a0eba3d7b disable llhttprequests secure con, since it still collides with main ssl settings 2017-05-27 14:39:56 +01:00
UbitUmarov a7db505caf stupid mono5 doesn't know about Subject Alternative Name IPAddress 2017-05-27 12:38:31 +01:00
UbitUmarov 117e6ec266 fix wrong cert ip compare 2017-05-27 08:30:12 +01:00
UbitUmarov 582dc75381 remove a accent from a method name 2017-05-27 06:30:23 +01:00
UbitUmarov c54985f8a1 Merge branch 'master' into httptests 2017-05-27 05:47:05 +01:00
UbitUmarov f7ae87a0d5 minor cleanup 2017-05-27 05:44:50 +01:00
UbitUmarov 289d4ca128 minor cleanup 2017-05-27 05:41:40 +01:00
UbitUmarov 2be362bd67 lose a ref 2017-05-26 21:30:06 +01:00
UbitUmarov e7c2674dec cleanup (grid)region info endpoint; add log to try to find some xml decode issues 2017-05-26 21:26:51 +01:00
UbitUmarov 8f10db0a6a mantis 8181: don't try to delete contents of a non exitent folder 2017-05-26 05:32:59 +01:00
UbitUmarov 5287489a3c avoid some wrong watchdog timeouts 2017-05-26 00:53:21 +01:00
UbitUmarov 7a82c7c5b2 make BlockingQueue.Dequeue timeouts more coerent (just less than watchdog timeout) 2017-05-26 00:47:08 +01:00
UbitUmarov 8d8236cfb2 missing file change.. actually use watchdog threads on assetsconnector and
avoid null refs on JobEngine
2017-05-26 00:34:46 +01:00
UbitUmarov d90b68c2a6 change wrong watchdog stopped thread check code, and don't log it 2017-05-26 00:05:35 +01:00
UbitUmarov 2777995331 Merge branch 'master' into httptests 2017-05-25 10:23:52 +01:00
UbitUmarov 31b4a31246 add some checks for valid endpoints 2017-05-25 09:46:29 +01:00
UbitUmarov 772c5b7db0 move assetsconnector threads to whatchdog; Abort all alive threads known to watchdog before exit 2017-05-25 06:05:02 +01:00
UbitUmarov e5377eb839 use threads from main pool on assetsconnector 2017-05-25 04:51:45 +01:00
UbitUmarov 65e9421058 minor changes 2017-05-25 04:24:23 +01:00
UbitUmarov 8195cd5153 another one 2017-05-25 02:24:15 +01:00
UbitUmarov b6c23fe911 make a few more threads background ones 2017-05-25 02:01:36 +01:00
UbitUmarov 4286ae43f2 make some threads background ones 2017-05-25 01:51:53 +01:00
UbitUmarov 9a1d94f455 remove use of libomv BlockingQueue 2017-05-25 01:28:02 +01:00
UbitUmarov dca3a45803 add a bit more pre exit cleanup 2017-05-24 22:17:04 +01:00
UbitUmarov 8989e8ef3a give up on the code to stop AsyncCommandManager. It fails with many scripts running, and its only done deep on exit code. It is a backgroud thread should not block exit and never did 2017-05-24 02:19:25 +01:00
UbitUmarov c0bfaac0ac merge master 2017-05-23 07:35:02 +01:00
UbitUmarov 07e614a32c dont log timeouts on stopped threads 2017-05-23 06:38:19 +01:00
UbitUmarov 3c97bb1e6f fix lock position removing a not necessary function 2017-05-23 06:03:51 +01:00
UbitUmarov e1aa591815 allow new thread creation if it was aborted on AsyncCommandManager 2017-05-23 05:59:14 +01:00
UbitUmarov d5e8e116d4 protect AsyncCommandManager thread from fails on the several things it checks 2017-05-23 05:41:04 +01:00
UbitUmarov 8e777d50a6 only remove AsyncCommandManager thread when last instance is deleted 2017-05-23 05:34:25 +01:00
UbitUmarov e69057a1b6 dont fail saving a OAR because of a broken material 2017-05-23 04:21:03 +01:00
UbitUmarov f3eb73926e stop a few more threads on exit 2017-05-23 04:05:31 +01:00
UbitUmarov 928733efc9 please DIE! PLEASE?? 2017-05-23 03:26:32 +01:00
UbitUmarov 7b80bcc57a no all mono versions know DnsRefreshTimeout 2017-05-23 00:52:40 +01:00
UbitUmarov c080d9fa23 remember mono about the default for DnsRefreshTimeout 2017-05-23 00:10:11 +01:00
UbitUmarov 24885819fc check XFF headers of caller, but be quiet about them 2017-05-22 22:05:56 +01:00
UbitUmarov 4da5d249d8 receivers can't tell if there where proxies on path unless they look 2017-05-22 21:22:04 +01:00
UbitUmarov ea88927a65 remove some code for NAT that was disabled by its author Adam Frisby since 2009, and i don't see how to mk work with current viewers at that point at least 2017-05-22 20:18:01 +01:00
UbitUmarov 73222e4dd4 fix IClientIPEndpoint broken by justin long ago.. but stop using it
except on SceneBanner, later it my be also removed from there and
 everywhere
2017-05-22 19:16:42 +01:00
Geir Nøklebye 8f9256ea1c PGSQL: Another missing cast in XInventoryData
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-22 16:24:52 +01:00
UbitUmarov fcb435deb4 make sure we drop requests if DoHTTPGruntWork fails 2017-05-22 05:53:59 +01:00
UbitUmarov bad00670a9 disable keepalive on llHttpRequest 2017-05-22 05:02:42 +01:00
UbitUmarov 0320225ca8 reenqueue poll events while conn is open, and not expired 2017-05-21 07:02:35 +01:00
UbitUmarov 7c3200b393 cross avatar group info also if title is empty string 2017-05-21 05:16:18 +01:00
UbitUmarov e520dba717 Merge branch 'master' into httptests 2017-05-21 02:20:40 +01:00
UbitUmarov a2c2456076 remove LongPoll type and queues. Events should now have reduced latency also. About previus commit, it maybe a modified ingen-e3s-v1.33 script that is broken, and not the original version, can't tell 2017-05-21 02:11:53 +01:00
UbitUmarov 319ccf17c8 add a bit more protection for broken scripts like ingen-e3s-v1.33 2017-05-21 01:52:27 +01:00
UbitUmarov c7fdb2ec53 on recover form nom finite avatar pos, don't add it physics it it had none 2017-05-21 00:52:18 +01:00
UbitUmarov a5e3aab575 fix a null ref in ubOde character 2017-05-20 23:37:14 +01:00
UbitUmarov 046ec66ff9 fix a cast that makes LitJson unhappy 2017-05-20 22:21:27 +01:00
UbitUmarov 02a4298b02 mantis 8172: fix llList2Json() in case of vector or rotation types 2017-05-20 21:29:33 +01:00
UbitUmarov 49d42ee08a mantis 8171 fix redirection on llHttpRequest 2017-05-20 17:56:04 +01:00
UbitUmarov 78c4f8000e Merge branch 'master' into httptests 2017-05-20 14:30:49 +01:00
UbitUmarov 9397b358d3 mantis 8170: let physics know Always_run on adding the avatar 2017-05-19 19:51:23 +01:00
UbitUmarov 52dd683326 fix a null ref on parcels join 2017-05-19 18:03:02 +01:00
UbitUmarov 7c9615f000 fix land parcel group been lost on region upload 2017-05-19 17:35:49 +01:00
UbitUmarov 2717ef5da9 change some confusing comands help 2017-05-19 05:34:49 +01:00
UbitUmarov 40091f9be5 Merge branch 'master' into httptests 2017-05-19 03:23:57 +01:00
UbitUmarov ef35805176 reWrite lsl json functions, forward slash is not escaped as LitJson spec; code can use some cleanup. Scripts need to be recompiled 2017-05-19 03:08:35 +01:00
UbitUmarov c28430d527 oops... 2017-05-15 18:12:17 +01:00
UbitUmarov c74e0e2d9b remove a Paralell.For (actually not used). That kind of fine gained multitask makes no sense on already heavy multitasked server application like opensim. CPU cores are already busy or needed elsewhere. 2017-05-15 18:10:08 +01:00
UbitUmarov eea247fcc5 Merge branch 'master' into httptests 2017-05-14 07:52:50 +01:00
UbitUmarov 156707edfb clear land object on delete 2017-05-14 06:27:29 +01:00
UbitUmarov 92df6095d5 don't round to nearest int 2017-05-14 05:49:01 +01:00
UbitUmarov f968118e23 don't do dwell if there is no module active 2017-05-14 05:39:22 +01:00
UbitUmarov 9ab8ce1404 fix remote requests for dwell, so dwell module still called 2017-05-14 04:17:48 +01:00
UbitUmarov cb21caae77 fix some issue on parcels loading and make parcels dwell show something. Resolution is 2.5min aprox. 2017-05-14 01:44:04 +01:00
UbitUmarov 25ca8695f3 find parcels by GlobalID.. well most time 2017-05-13 20:21:56 +01:00
UbitUmarov dd0269df48 fix passcollisions bool value on store 2017-05-13 17:22:56 +01:00
Geir Nøklebye 7cf82a71d6 PGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast that fails with newer versions of NPGSQL.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-13 17:15:47 +01:00
UbitUmarov 16f02cb6fd we can't allow abort to change only one dic 2017-05-13 16:34:29 +01:00
UbitUmarov 9ea49d107d fix wrong locking on unused path it case it does get uses. Thanks LaNani Sundara 2017-05-13 15:58:35 +01:00
UbitUmarov 086eb28a91 a bit more on ServicePointManager 2017-05-12 22:03:53 +01:00
UbitUmarov 948138a3a4 lower connection limits again 2017-05-12 16:45:58 +01:00
UbitUmarov d08df7bda7 mantis 8165: fix a null ref on hg gatekeeper on another place 2017-05-12 15:22:16 +01:00
UbitUmarov 5e577baa10 fix a null ref on hg gatekeeper 2017-05-12 14:42:21 +01:00
UbitUmarov 0f2ab6bddd soem changes on connections limits 2017-05-12 14:20:06 +01:00
UbitUmarov 8bdd4c3ed9 yes it is not destiny grid but destination.. thx u know who :) 2017-05-12 12:30:59 +01:00
UbitUmarov a932f24ba4 minor fix on sensorrepeat 2017-05-12 03:53:18 +01:00
UbitUmarov dcdc527401 Merge branch 'master' into httptests 2017-05-12 01:55:15 +01:00
UbitUmarov 19d141c9a5 avoid a null ref 2017-05-11 23:46:06 +01:00
UbitUmarov 1b7aee89d3 Merge branch 'master' into httptests 2017-05-11 23:14:02 +01:00
UbitUmarov cc95b7e2d4 don't allow multiple presences of same avatar also on HG gatekeeper 2017-05-11 20:26:06 +01:00
UbitUmarov f09fafff34 some cleanup 2017-05-11 20:24:47 +01:00
UbitUmarov fb427daa34 avoid a null ref 2017-05-11 19:06:49 +01:00
UbitUmarov 211a1fe9d4 do not allow multiple logins of same avatar. No HG case, that needs work on some paths. option m_allowDuplicatePresences is checked, but is is a total nonsense.. Presences control will get broken if allowed, No one ever added code to suport it correctly. 2017-05-11 17:59:37 +01:00
UbitUmarov 5968c6372a let new regions know about grid services god 2017-05-11 17:30:57 +01:00
UbitUmarov 7e8c996d1b add a grid services god account 2017-05-11 17:15:02 +01:00
UbitUmarov 09c4952c6d merge 2017-05-09 23:22:36 +01:00
UbitUmarov 731510c305 let .net decide GC mode from its defaults on the platform 2017-05-09 18:27:06 +01:00
Geir Nøklebye 03a38a80ab PGSQL: Rewrote EstateStore.migrations as it errored out in version 8 leaving the database without any estate tables on first run. It also lacked primary keys on estate_map and estate_settings. Syntax requires Postgresql 9.5 or higher.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-09 12:00:45 +01:00
UbitUmarov 957ca41b13 remove file bin/Mono.Posix.dll that causes problems with mono 2017-05-09 11:58:07 +01:00
Geir Nøklebye d952d62baa PGSQL: Add missing AgentPrefs.migrations
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-08 20:25:03 +01:00
UbitUmarov 6c79cc652b some conditional dispose on http requests inputstream 2017-05-08 00:54:17 +01:00
UbitUmarov 604b966d84 some conditional dispose on http requests inputstream 2017-05-08 00:40:15 +01:00
UbitUmarov 8ef43e5fb3 take more heavy work out of opened dbconn sections 2017-05-07 22:22:28 +01:00
UbitUmarov b20778d8ec fix merge 2017-05-07 04:45:28 +01:00
UbitUmarov 11f6d28a06 fix merge 2017-05-07 04:21:33 +01:00
UbitUmarov d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00
UbitUmarov de55ad9545 oops closed too soon 2017-05-06 22:12:45 +01:00
UbitUmarov c57215687f a few more changes on mysql 2017-05-06 21:43:22 +01:00
UbitUmarov 4b2ef46de6 don't hold dbconn longer than necessart 2017-05-06 20:40:29 +01:00
UbitUmarov 76337b1d8e another misplaced close 2017-05-06 20:38:38 +01:00
UbitUmarov 504736eb43 build const strings a compile time... 2017-05-06 20:23:55 +01:00
UbitUmarov 54eb6fc779 GZipStream does have a CopyTo() 2017-05-06 18:25:07 +01:00
UbitUmarov eb93855d84 dispose some MemoryStreams 2017-05-06 17:47:43 +01:00
UbitUmarov ae191cd304 dispose some MemoryStreams 2017-05-06 15:57:47 +01:00
UbitUmarov 025bef4e07 fix a few wrong placement ( this is a test by the way ) 2017-05-06 01:47:26 +01:00
UbitUmarov d26a9ed0b1 fix wrong placement 2017-05-06 01:41:33 +01:00
UbitUmarov d9038e650a MySQLConnector is not a MS product 2017-05-06 01:25:54 +01:00
UbitUmarov 3bc64f638a add a few guard checks on serviceThrottlemodule 2017-05-05 17:44:33 +01:00
Diva Canto 3f641d98bd Added a fully functional groups data layer for testing. 2017-05-04 20:17:54 -07:00
Diva Canto 424a7a274b Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2017-05-04 18:20:48 -07:00
Diva Canto dd88319495 Add a groups module to the perms test suite 2017-05-04 18:20:10 -07:00
Diva Canto ab4f870000 Change the engine of the groups table back to MyISAM, because MySQL 5.5 and older don't support full test search on InnoDB 2017-05-04 18:19:46 -07:00
UbitUmarov f31fe66ce1 fix bad move on xmlgroups 2017-05-05 01:53:02 +01:00
UbitUmarov 9e12ef9234 let all clients get a group title update on create group 2017-05-05 01:39:38 +01:00
UbitUmarov 5f5b7e56db merge fix 2017-05-04 12:57:11 +01:00
UbitUmarov 04a50b47bf the new options i add where actually bad idea, they would make the
compatibility issue ethernal. Removed and extended the ugly date hack to
 group share outwards propagation, until a better way is found at least
2017-05-04 12:36:08 +01:00
UbitUmarov 3402819888 do the same in the cases we are just moving parts around and not changing their caches (ie their taskInventory) 2017-05-04 12:08:10 +01:00
UbitUmarov 3a8dd24fd1 move deep effective permissions aggregation to first time use and not on changes. There flag it is need with InvalidateDeepEffectivePerms(). Add config options PropagateGroupShareOutwards and PropagateAnyOneOutwards 2017-05-04 11:37:13 +01:00
UbitUmarov d62aed7f46 fix right to change permissions of group owned objects 2017-05-03 21:12:16 +01:00
UbitUmarov 3ef583f205 fix right to change permissions of group owned taskitems 2017-05-03 19:39:42 +01:00
UbitUmarov fc46274732 still another missing conversion btw viewer and OS on groupd owned 2017-05-03 19:10:02 +01:00
UbitUmarov 4c42716022 taskitem group owned information was still incorrect 2017-05-03 18:11:50 +01:00
UbitUmarov 94bb6d965e change taskInventory copy/move to agents inventory rules 2017-05-03 16:03:26 +01:00
UbitUmarov b0244107dc viewer can't tell if a taskitem is group owned if we don't tell him; missing taskInv serial update 2017-05-03 15:31:42 +01:00
UbitUmarov 1b501f03f9 recover a lost trim in permissions modules names parsing 2017-05-03 15:30:43 +01:00
UbitUmarov cffe2f87e6 viewer can't tell if a taskitem is group owned if we don't tell him;
missing taskInv serial update"
2017-05-03 15:19:11 +01:00
UbitUmarov 832ca518d7 fix merge 2017-05-03 03:52:55 +01:00
UbitUmarov 02b43f06d1 recover a lost trim in permissions modules names parsing 2017-05-02 20:45:01 +01:00
UbitUmarov 710677cdc6 mantis 8135 2017-05-02 15:16:56 +01:00
UbitUmarov a18ee3b6b3 fix LSL_ApiHttpTests 2017-05-02 12:35:06 +01:00
UbitUmarov a890ea312b disable LSL http listener (llRequestURL/llRequestSecureURL) if ExternalHostNameForLSL is not set in cofiguration or does not resolve 2017-05-02 11:23:41 +01:00
UbitUmarov ed22c5f3be Merge branch 'master' of opensimulator.org:/var/git/opensim 2017-05-02 01:09:32 +01:00
Diva Canto 9c82ff7673 Shuffle some code around 2017-05-01 16:49:42 -07:00
Diva Canto 3c43cdbbcc Added some indirect transfer tests -- Take Copy by another avatar 2017-05-01 16:42:47 -07:00
UbitUmarov 8498cc2f02 save a few nanoseconds 2017-05-01 23:07:57 +01:00
Diva Canto 1ca2a7937e Permissions tests: added test with 2 direct transfers with permission changes in between (in inventory) 2017-05-01 14:58:03 -07:00
Diva Canto 8e88a9d702 Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2017-05-01 10:09:54 -07:00
Diva Canto 9c6dd5d967 Perms test framework: make a lot of things more generic. 2017-05-01 10:09:31 -07:00
Diva Canto 45096b6238 Initial commit of the emerging test suite for permissions and more. 2017-05-01 07:06:50 -07:00
UbitUmarov 28d8eda768 buysell: make sure we dont buy child parts, dont mess with absolute position its useless with variable size regions, and its a rezing job 2017-05-01 14:42:38 +01:00
UbitUmarov 60dc124872 rename sog.GetEffectivePermissions() since its use is now limited to more specific task, and no longer on current effective(full) path. Note that change ownermask start to be current ownermask, and filter it to all parts basemask 2017-05-01 14:18:59 +01:00
UbitUmarov 2dbf96593c Permissions compatibility hack 1: anyone copy - new permissions require that all items in all object parts contents have anyone copy set. Old code only required it on object. This hack tries to allow objects older than today to still work as before on this. (this is a test, we may need to change it) 2017-04-30 19:44:49 +01:00
UbitUmarov a96c0f760a having the file open then let PermissionsToString know about Export 2017-04-30 14:42:39 +01:00
UbitUmarov 0d59a29dc7 save some nanoseconds if unfolding will not change anything ( export default mks it rare, but looks nice) 2017-04-30 14:39:20 +01:00
UbitUmarov b67904a651 remove a redundant operation 2017-04-30 14:31:46 +01:00
Melanie Thielker cf1064a245 Add a missing viewer-relevant message to the perms module 2017-04-30 13:24:48 +01:00
UbitUmarov 10922c2a1a exclude lms from permissions checks. They are full rights, and broken on all dbs 2017-04-30 12:51:12 +01:00
UbitUmarov 514249e80e fix new landmarks default permissions 2017-04-30 12:43:09 +01:00
UbitUmarov 116d32d947 don't break groups permission mask 2017-04-30 00:14:45 +01:00
UbitUmarov d8341588b3 nore permissions masks hierachy 2017-04-29 23:59:56 +01:00
UbitUmarov fedd1a93d2 buysell: fix permissions masks hierachy 2017-04-29 23:09:32 +01:00
UbitUmarov 522695c821 update folded permitions if taking from world, or after unfold 2017-04-29 22:09:45 +01:00
UbitUmarov 04117d9f75 recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use easys code readability 2017-04-29 19:07:04 +01:00
UbitUmarov 725ccbb477 add check for valid folded perms 2017-04-29 16:58:43 +01:00
UbitUmarov 74f0ffbda6 fix chain of contents sells 2017-04-29 02:45:26 +01:00
UbitUmarov 019b34ea39 BuySell: bug fix, use all object permitions for sold item, and not the operation rights one 2017-04-28 23:05:14 +01:00
UbitUmarov 00091f1fb9 forgot a change... 2017-04-28 20:13:53 +01:00
UbitUmarov ba4e13ef55 a few changes to permissions folding... we are testing. at this point only use master for TESTING also 2017-04-28 20:03:44 +01:00
UbitUmarov 8d3d87e0b2 add a usefull taint and update 2017-04-27 00:02:01 +01:00
UbitUmarov ce655056ca ubMeshmerizer: fix the orientation of last triangle on top/bottom faces of
hollow cylinders plz delete contents of bin/MeshCache to remove defective
entries"
2017-04-26 18:21:58 +01:00
Diva Canto c8fcf9bceb Merge branch 'master' of ssh://opensimulator.org/var/git/opensim 2017-04-26 09:58:34 -07:00
Diva Canto 8dfab8757c Fill out Current Outfit folder with links when creating the initial avatar appearance. Some viewers (e.g. Singularity 1.8.7) get seriously confused when the avatar has no current outfit links. 2017-04-26 09:58:15 -07:00
UbitUmarov 1b8c71c965 give more information on Fatal Error during region startup 2017-04-26 16:15:33 +01:00
UbitUmarov ce3af94a69 mantis 6738: change parsing of the HTTP_CUSTOM_HEADER parameter and ignore entries in excess of 8 on the request 2017-04-26 07:19:44 +01:00
Diva Canto 2b8cdb2a75 If we're going to show regions twice (in standalone) at least make the formatting consistent... 2017-04-25 20:08:06 -07:00
UbitUmarov a680d8b8d7 fix merge 2017-04-25 17:59:53 +01:00
UbitUmarov 7c5376f224 move mesh pbs creation code out of mesh upload code into to PrimitiveBaseShape.cs 2017-04-25 14:21:01 +01:00