Commit Graph

3541 Commits

Author SHA1 Message Date
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
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
84abdf866a add respective ossl helper funtion osDrawScaleTransform(string drawList, LSL_Float x, LSL_Float y) 2017-06-25 02:26:36 +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
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
ed8fc359f3 change thread level of osSetDynamicTextureDataBlendFace to VeryHigh 2017-06-24 06:11:10 +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
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
289d4ca128 minor cleanup 2017-05-27 05:41:40 +01:00
UbitUmarov
5287489a3c avoid some wrong watchdog timeouts 2017-05-26 00:53:21 +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
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
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
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
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
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
a932f24ba4 minor fix on sensorrepeat 2017-05-12 03:53:18 +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
a18ee3b6b3 fix LSL_ApiHttpTests 2017-05-02 12:35:06 +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
UbitUmarov
7a54c3e9c3 some fixes on the materials paramenters of llGetPrimitiveParams() 2017-04-24 11:46:13 +01:00
UbitUmarov
c91e101224 add suport for materials parameters PRIM_NORMAL, PRIM_SPECULAR and PRIM_ALPHA_MODE of llGetPrimitiveParams(). Im sleeping at this time, this can be very wrong 2017-04-24 07:06:48 +01:00
UbitUmarov
65a1547209 fix (or actually break) llList2float() since LSL_Key is same as LSL_String, the case of invalid LSL_Key cannot be handle, since most likely it is a string 2017-04-24 02:05:39 +01:00
UbitUmarov
54819fa4ae mantis 8154 dont let self lResetOtherScript mean harakiri 2017-04-21 11:03:31 +01:00
UbitUmarov
0f7ffc56ce several changes for osTeleportObject 2017-04-15 10:46:18 +01:00
UbitUmarov
c0904a32cb OSSL CheckThreatLevel() with no arguments only tests if OSSL is enabled. Faster test for safe functions that are always allowed with OSSL enabled. other name could be CheckOSSLenabled, but this name preserves functions template. 2017-04-05 15:11:19 +01:00
UbitUmarov
2805cb9dec give osTeleportObject proper OSFunctionThreatLevel setting on osslEnable.ini 2017-04-05 01:15:44 +01:00
UbitUmarov
d085c337a9 add a little speedup on repeated requests for same name on osGetLinkNumber. 2017-04-04 20:11:11 +01:00
UbitUmarov
e237e1b2fa add LSL_Integer osGetLinkNumber(LSL_String name). uses a cache for the string to linknumber map, cache invalidations may still be missing :( 2017-04-04 19:27:45 +01:00
UbitUmarov
ca250e0b0b mantis 8740: rename osObjectTeleport as osTeleportObject, replaced the stop parameter by flags, add flags OSTPOBJ_STOPATTARRGET and OSTPOBJ_SETROT 2017-04-04 14:34:25 +01:00
UbitUmarov
2bb5e98574 add EXPERIMENTAL osObjectTeleport(LSL_Key objectUUID, LSL_Vector targetPos, LSL_Rotation rotation, LSL_Integer stop) 2017-04-03 17:19:28 +01:00
UbitUmarov
6a35a965ff add OSSL functions to override linksets total mass, center of mass and inertia. replacing the crude automatic estimation based on prims known to physics and density. Changed parameters are still not saved, and are lost on region crossings. only suported by UbODE. EXPERIMENTAL feature, only test it for now.. don't try to use in products. 2017-03-31 20:55:48 +01:00
Melanie Thielker
5587ee4500 Merge branch 'melanie' 2017-03-31 14:50:14 +01:00
Melanie Thielker
91f142bbd2 Add the option to link a scene object with a monitoring object
For debugging purposes.
2017-03-31 14:38:41 +01:00
UbitUmarov
ed365f6220 remove SOP.AttachPoint, redundant( and incoerent) with SOG.AttachmentPoint 2017-01-26 19:43:00 +00:00
UbitUmarov
f722f1cf6c fix test setup 2017-01-25 18:10:59 +00:00
UbitUmarov
0a5d6671ce fix llScriptDanger(); don't call old ScriptDamage on ossl health functions 2017-01-21 06:37:29 +00:00
UbitUmarov
dac32c4e5a change CanObjectEntry() to use a SOG 2017-01-20 14:26:24 +00:00
UbitUmarov
db2fbf6516 add more calls to effective permissions aggregation, some paths may still be missing on objects changes, but remove the aggregation on check paths, so all can be tested. 2017-01-17 13:24:09 +00:00
UbitUmarov
da69bc5da6 restore argument name material_bits 2017-01-08 11:28:34 +00:00