Commit Graph

32918 Commits

Author SHA1 Message Date
UbitUmarov
1e424be6f3 remove repeated asset 2024-04-06 19:59:12 +01:00
UbitUmarov
9b878933eb oops missing dependency 2024-04-04 17:49:07 +01:00
UbitUmarov
d00dbe11c0 set gc memory high pressure to 50% of total memory (sadly it may decide to ignore); change show stats memory report; let robust also show memory on show stats 2024-04-04 17:45:38 +01:00
UbitUmarov
f51f81d53f add some texture assets 2024-04-02 20:30:21 +01:00
UbitUmarov
58401238d5 reduce min size of header buffers to limit impact when osutf8 cache is empty 2024-04-02 01:27:16 +01:00
UbitUmarov
6c83782d49 cosmetics 2024-04-02 01:03:34 +01:00
UbitUmarov
30d2ad4bb4 update libomv 2024-04-02 01:02:53 +01:00
UbitUmarov
54d2403252 cosmetics 2024-04-02 00:14:04 +01:00
UbitUmarov
1891b962dc cosmetics 2024-04-01 21:53:32 +01:00
UbitUmarov
4abdea5bb3 change default config to Release since Debug is now a very bad idea, unless needed 2024-04-01 19:33:27 +01:00
UbitUmarov
d91a84e08d do copy it before running prebuild 2024-04-01 19:29:15 +01:00
UbitUmarov
2e493fd6ce do remove defaul system.drawing (that is same as ...win) 2024-04-01 19:19:00 +01:00
UbitUmarov
0d1b14c78f do not do chained hg teleports 2024-03-31 00:44:50 +00:00
UbitUmarov
723a528b58 refuse some chars on HG url region name 2024-03-30 23:22:30 +00:00
UbitUmarov
ac49f8b8e8 use enum.getname instead of a hack 2024-03-30 18:36:37 +00:00
UbitUmarov
ed0044564d store linksetdata in sqlite and pgsql 2024-03-29 00:46:29 +00:00
UbitUmarov
8fbf905de5 oops 2024-03-28 22:32:00 +00:00
UbitUmarov
573af89389 store linksetdata in inventory and region mysql db ( others todo) UNTESTED 2024-03-28 22:03:14 +00:00
UbitUmarov
e918888e30 add llGetCameraAspect and llGetCameraFOV 2024-03-28 15:34:03 +00:00
UbitUmarov
45e49c480f use ILGenerator ILOffset instead of old mono il offset 2024-03-27 21:54:39 +00:00
UbitUmarov
b8a0bba99d mantis 9121: fix failed lsl string casts on lsl list sort 2024-03-27 21:51:49 +00:00
UbitUmarov
acbec23f48 clean appdomain related things 2024-03-26 21:34:33 +00:00
UbitUmarov
782bad9944 and rename it again as just osGetLinkInventoryKey, so it is coerent with llGetInventoryKey (mantis 9119) 2024-03-26 18:32:05 +00:00
UbitUmarov
4a8d4414bd let runprebuild.bat also copy system drawing for windows 2024-03-24 12:11:42 +00:00
UbitUmarov
7c63ff1150 rename new osGetLinkInventoryItemKey as osGetLinkInventoryItemAssetKey 2024-03-24 11:34:23 +00:00
Jeff Kelley
1aa7bea608 osGetLinkInventoryAssetKey
deleted:    bin/System.Drawing.Common.dll

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2024-03-24 11:25:09 +00:00
UbitUmarov
b70b5c07e3 revert to append all contents of .version file on the full version, if present and not empty 2024-03-11 00:18:05 +00:00
UbitUmarov
6905f1a71a cosmetics 2024-03-10 16:56:12 +00:00
UbitUmarov
0d73a817cc oops 2024-03-05 20:21:41 +00:00
UbitUmarov
6afa7d564b same for osGetLinkInventoryItemKeys 2024-03-05 19:04:36 +00:00
UbitUmarov
f770fc8a0e missing file 2024-03-05 18:52:48 +00:00
UbitUmarov
c618c4a6c4 rename the new osGetInventoryKeys as osgetinventoryitemkeys and osgetlinkinventorykey as osgetinventoryitemkey for coerence and to make clear that key means the item key within prim inventory and not its asset key as in ll funtion 2024-03-05 18:51:42 +00:00
UbitUmarov
52c287d8dc manits 9118: fix clear of animesh flag on *GetPrimitiveParams 2024-03-04 23:48:13 +00:00
UbitUmarov
97b03f76c7 fix the last patch 2024-02-29 20:40:42 +00:00
Jeff Kelley
d58f9f0f5d osGetSitTarget
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2024-02-29 20:28:20 +00:00
UbitUmarov
ab4b690ffd fis AES encoding 2024-02-27 20:21:35 +00:00
UbitUmarov
18ec6d6380 cosmetics 2024-02-26 18:07:50 +00:00
Ubit Umarov
d875ce89d4 Merge pull request #17 from AdilElFarissi/master
Add 2 OSSL functions to the LinkInventory collection
2024-02-26 17:51:34 +00:00
UbitUmarov
154ddaa44b add unmanaded ubode lib for arm64 linux, thanks Deijimarge 2024-02-25 23:04:56 +00:00
Adil El Farissi
60214e6e81 Add 2 OSSL functions to the LinkInventory collection
Add Functions:
+ osGiveLinkInventoryList(integer linkNumber, key destination, string category, list inventory)
Give a group of items located in a child prim inventory

+ osRemoveLinkInventory(integer linkNumber, string name)
Remove an item from a child prim inventory

LSL Script example:
<pre><code>
default
{
    touch_start(integer a){

        integer linkNumber = llDetectedLinkNumber(0);
        list linkInventoryNames = osGetLinkInventoryNames(linkNumber, INVENTORY_ALL);
        osGiveLinkInventoryList(linkNumber, llDetectedKey(0), llGetLinkName(linkNumber), linkInventoryNames);

        for(integer i = 0; i < llGetListLength(linkInventoryNames); i++){
            osRemoveLinkInventory(linkNumber, llList2String(linkInventoryNames, i));
        }
    }
}
</code></pre>
2024-02-25 07:14:49 +00:00
UbitUmarov
f4e14aba6d fix webstats SStats defualt answer 2024-02-24 16:36:15 +00:00
UbitUmarov
eb9afdaffc break them a bit more... 2024-02-24 15:47:06 +00:00
UbitUmarov
121f270414 a few changes to last PR (aes methods) - all still untested 2024-02-24 14:50:54 +00:00
Ubit Umarov
662eac32a2 Merge pull request #16 from AdilElFarissi/master
Basic implementation of AES encryption/decryption  and respective OSSL functions
2024-02-24 14:07:11 +00:00
UbitUmarov
46f87b58c1 update libomv 2024-02-24 14:04:05 +00:00
Adil El Farissi
898ab06203 Fix to mantis 9115 2024-02-24 04:22:50 +00:00
Adil El Farissi
b4f33ad594 Replaced OSSLError by OSSLShoutError 2024-02-23 23:42:18 +00:00
Adil El Farissi
db80781e7d Basic implementation of AES encryption/decryption and respective OSSL functions
Add methods:
+ private static string AESEncryptString(string secret, string plainText, string ivString= null)
AES Encrypt a string using a password and a random or custom Initialization Vector.

+ private static string AESDecryptString(string secret, string encryptedText, string ivString= null)
AES Decrypt the string encrypted by AESEncryptString with the same password and ivString used in the encryption.

Methods implementations:
+ Util.AESEncrypt(string secret, string plainText)
+ Util.AESDecrypt(string secret, string encryptedText)
+Util.AESEncryptTo(string secret, string plainText, string ivString)
+ Util.AESDecryptFrom(string secret, string encryptedText, string ivString)

OSSL functions as first case of use:
+ osAESEncrypt(string secret, string plainText)
+ osAESDecrypt(string secret, string encryptedText)
+ osAESEncryptTo(string secret, string plainText, string ivString)
+ osAESDecryptFrom(string secret, string encryptedText, string ivString)

LSL script example:
<pre><code>
string plainText = "Hello World :)";
string secret = "#!qUeRtY$@123^456€!#";

default
{
    touch_start(integer i)
    {
        string encryptedText = osAESEncrypt(secret, plainText);
        llOwnerSay("\nEncrypted with osAESEncrypt:\n"+ encryptedText);
        string decryptedText = osAESDecrypt(secret, encryptedText);
        llOwnerSay("\nDecrypted with osAESDecrypt:\n"+ decryptedText);

        // Encription / Decription with custom Initialization Vector.
        string ivString = (string)llGetOwner() /* +"_"+ llGenerateKey() */;
        string encryptedToText = osAESEncryptTo(secret, plainText, ivString);
        llOwnerSay("\nEncrypted with osAESEncryptTo:\n"+ encryptedToText);
        string decryptedFromText = osAESDecryptFrom(secret, encryptedToText, ivString);
        llOwnerSay("\nDecrypted with osAESDecryptFrom:\n"+ decryptedFromText);
    }
}
</code></pre>

Web Rain :)
2024-02-23 21:14:33 +00:00
UbitUmarov
5b67966ddd cosmetics on offline msg v2 2024-02-22 19:48:12 +00:00
UbitUmarov
35a40ada77 fix ossl set ProjectionFocus range 2024-02-22 18:16:25 +00:00