Commit graph

34 commits

Author SHA1 Message Date
Sei Lisa
f854e94349 New copyright year 2024-04-14 11:40:21 +02:00
Sei Lisa
8d4750b6d0 Add new functions and constants 2023-12-12 16:52:45 +01:00
Sei Lisa
ea2518b37d Add SEF condition to other functions, fix param name
llSignRSA and llVerifyRSA had an algorithm parameter. Not checked, but it's presumable that an error will be emitted if the alg is not among the supported ones.
2023-07-15 11:08:41 +02:00
Sei Lisa
152ede8cd0 Add new functions (no implementation yet) and constants 2023-07-15 11:05:53 +02:00
Sei Lisa
82ea298e85 Update condition for llHMAC to be SEF 2023-07-15 10:53:19 +02:00
Sei Lisa
1bd9551c2f New upstream version of builtins.txt 2023-04-09 11:07:56 +02:00
Sei Lisa
b13bb6d810 Add LinkSound functions and constants; disallow unstable in void
The unstable flag does not make sense in void functions; add warning.

Also, new upstream version of builtins.txt with new functions that have been added to fndata.txt.
2023-02-03 12:57:58 +01:00
Sei Lisa
947dcd9383 Add new LinksetData functions and other builtins 2022-11-15 23:11:38 +01:00
Sei Lisa
9c281dec64 New function, llSHA256String
Implement it in lslbasefuncs.py, and add tests. Also add more test vectors for llMD5String and llSHA1String.
2022-10-14 18:39:04 +02:00
Sei Lisa
8966b9de97 New upstream function: llGetObjectLinkKey 2022-10-01 01:18:12 +02:00
Sei Lisa
3f77f14eac Upstream update, new function llSetEnvironment
This commit was in the preprocessor branch by mistake; it has now been brought to the master branch.
2022-09-15 01:10:33 +02:00
Sei Lisa
95d0fb4b13 New upstream version of builtins.txt; minor fix
Add comment to llGetStatus and make it more future-proof by adding unused flags.
2022-08-26 12:51:02 +02:00
Sei Lisa
c29475d072 New constants and functions; some refactoring of lslfuncopt
TODO: unit tests
2022-05-13 14:49:18 +02:00
Sei Lisa
f6fe3dd7bd Add llGetInventoryAcquireTime 2021-06-12 19:18:23 +02:00
Sei Lisa
cfafb1e9d1 Add llOpenFloater 2021-05-19 22:48:44 +02:00
Sei Lisa
c4f210138f Add newly introduced functions llOrd, llChar, llHash 2021-05-08 22:43:31 +02:00
Sei Lisa
2b07c13498 Update to latest kwdb from upstream 2020-04-22 21:17:45 +02:00
Sei Lisa
7589d72572 Add missing functions to fndata.txt 2019-02-08 18:30:33 +01:00
Sei Lisa
1b3c8a4d89 Check min and max to determine truth value of condition
Also added some min/max values for a few functions.

This allows optimizing things like:

  ! llGetNumberOfPrims()  ->  0
2019-01-07 00:15:38 +01:00
Sei Lisa
f243f3a3c1 New copyright year 2019-01-01 22:54:34 +01:00
Sei Lisa
0855b8ad1d Add 'listto' to fndata.txt; remove more magic names from the code
Rather than using a hardcoded table of list-to-type extraction function, add a 'ListTo' attribute to the function data. No error is raised if more than one function exists to convert to the same type.

This change is of questionable usefulness, but it should soothe those allergic to magic names/numbers. I cringed a bit myself.

While on it, change the syntax error that was raised when the corresponding conversion function did not exist, to a tailor-made error.
2018-12-22 15:44:14 +01:00
Sei Lisa
59df033fe0 Remove spaces inside parentheses in fndata.txt 2018-12-22 10:19:21 +01:00
Sei Lisa
155a35ff8f Upstream version of builtins.txt; update fndata.txt 2018-12-08 19:30:26 +01:00
Sei Lisa
2740306b6c New upstream version of KWDB
Adds a new function. Some things are pending to check, after we become more acquainted with the new function (see TODO in fndata.txt).
2018-11-09 19:07:48 +01:00
Sei Lisa
21cecc46f8 Add new Animesh functions 2018-06-26 03:16:05 +02:00
Sei Lisa
c3be2bd216 New functions llName2Key() and llRequestUserKey() 2018-05-09 19:06:25 +02:00
Sei Lisa
27698a92ef Remove TODO from fndata.txt 2018-04-01 19:07:53 +02:00
Sei Lisa
d0d6d6744b Bump copyright year
The help text in main.py was still at 2015. Oops.
2018-03-23 16:36:45 +01:00
Sei Lisa
14b13dc4e5 Implement flags aimed at removing "magic names" in the code.
strlen for llStringLength, detect for llDetected* and touch*/collision*/sensor, touch for touch*, grab for touch().
2017-10-27 18:49:58 +02:00
Sei Lisa
4c8227bae5 Set min for llStringLength and llGetListLength to 0. 2017-10-27 11:25:18 +02:00
Sei Lisa
0bbfb08234 Add some missing but important minimum values.
llSubStringIndex and llListFindList with min=-1 allow optimizing this:

if (llListFindList(...) < 0)  ->  if (~llListFindList(...))

That has been implemented since long, but we didn't have the data.
2017-10-25 18:36:48 +02:00
Sei Lisa
d5f5ab8b88 Add side-effect-free information for events. 2017-10-25 17:46:50 +02:00
Sei Lisa
adde423447 Fix SEFness of llRequestPermissions. It's never SEF. 2017-10-25 14:07:32 +02:00
Sei Lisa
214d4a8a57 Add and read function properties table.
This solves a long-standing issue where we needed more data about LSL functions than just whether it's side-effect-free.

There's still some debug code, which is kept for history purposes.
2017-10-21 10:00:31 +02:00