From bec00bb3b9209e4e4244db2c9fc4a79377268231 Mon Sep 17 00:00:00 2001 From: Tapple Gao Date: Mon, 9 Feb 2026 06:01:11 -0800 Subject: Const value improvements from https://github.com/secondlife/lsl-definitions/pull/50 (#5387) --- .../newview/app_settings/keywords_lsl_default.xml | 69 ++++++++-------- .../newview/app_settings/keywords_lua_default.xml | 91 +++++++++++----------- 2 files changed, 77 insertions(+), 83 deletions(-) diff --git a/indra/newview/app_settings/keywords_lsl_default.xml b/indra/newview/app_settings/keywords_lsl_default.xml index 17facba1a5..b5cc42b0d3 100644 --- a/indra/newview/app_settings/keywords_lsl_default.xml +++ b/indra/newview/app_settings/keywords_lsl_default.xml @@ -1,9 +1,6 @@ - + controls @@ -1430,7 +1427,7 @@ Last Updated: TODO: auto-generate type string value - 45e0fcfa-2268-4490-a51c-3e51bdfe80d1 + "45e0fcfa-2268-4490-a51c-3e51bdfe80d1" CONTENT_TYPE_ATOM @@ -1986,7 +1983,7 @@ Last Updated: TODO: auto-generate type string value - \\n\\n\\n + "\n\n\n" ERR_GENERIC @@ -2528,7 +2525,7 @@ Last Updated: TODO: auto-generate type string value - 9742065b-19b5-297c-858a-29711d539043 + "9742065b-19b5-297c-858a-29711d539043" IMG_USE_BAKED_AUX2 @@ -2537,7 +2534,7 @@ Last Updated: TODO: auto-generate type string value - 03642e83-2bd1-4eb9-34b4-4c47ed586d2d + "03642e83-2bd1-4eb9-34b4-4c47ed586d2d" IMG_USE_BAKED_AUX3 @@ -2546,7 +2543,7 @@ Last Updated: TODO: auto-generate type string value - edd51b77-fc10-ce7a-4b3d-011dfc349e4f + "edd51b77-fc10-ce7a-4b3d-011dfc349e4f" IMG_USE_BAKED_EYES @@ -2555,7 +2552,7 @@ Last Updated: TODO: auto-generate type string value - 52cc6bb6-2ee5-e632-d3ad-50197b1dcb8a + "52cc6bb6-2ee5-e632-d3ad-50197b1dcb8a" IMG_USE_BAKED_HAIR @@ -2564,7 +2561,7 @@ Last Updated: TODO: auto-generate type string value - 09aac1fb-6bce-0bee-7d44-caac6dbb6c63 + "09aac1fb-6bce-0bee-7d44-caac6dbb6c63" IMG_USE_BAKED_HEAD @@ -2573,7 +2570,7 @@ Last Updated: TODO: auto-generate type string value - 5a9f4a74-30f2-821c-b88d-70499d3e7183 + "5a9f4a74-30f2-821c-b88d-70499d3e7183" IMG_USE_BAKED_LEFTARM @@ -2582,7 +2579,7 @@ Last Updated: TODO: auto-generate type string value - ff62763f-d60a-9855-890b-0c96f8f8cd98 + "ff62763f-d60a-9855-890b-0c96f8f8cd98" IMG_USE_BAKED_LEFTLEG @@ -2591,7 +2588,7 @@ Last Updated: TODO: auto-generate type string value - 8e915e25-31d1-cc95-ae08-d58a47488251 + "8e915e25-31d1-cc95-ae08-d58a47488251" IMG_USE_BAKED_LOWER @@ -2600,7 +2597,7 @@ Last Updated: TODO: auto-generate type string value - 24daea5f-0539-cfcf-047f-fbc40b2786ba + "24daea5f-0539-cfcf-047f-fbc40b2786ba" IMG_USE_BAKED_SKIRT @@ -2609,7 +2606,7 @@ Last Updated: TODO: auto-generate type string value - 43529ce8-7faa-ad92-165a-bc4078371687 + "43529ce8-7faa-ad92-165a-bc4078371687" IMG_USE_BAKED_UPPER @@ -2618,7 +2615,7 @@ Last Updated: TODO: auto-generate type string value - ae2de45c-d252-50b8-5c6e-19f39ce79317 + "ae2de45c-d252-50b8-5c6e-19f39ce79317" INVENTORY_ALL @@ -2762,7 +2759,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd2 + "\u{FDD2}" JSON_DELETE @@ -2771,7 +2768,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd8 + "\u{FDD8}" JSON_FALSE @@ -2780,7 +2777,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd7 + "\u{FDD7}" JSON_INVALID @@ -2789,7 +2786,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd0 + "\u{FDD0}" JSON_NULL @@ -2798,7 +2795,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd5 + "\u{FDD5}" JSON_NUMBER @@ -2807,7 +2804,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd3 + "\u{FDD3}" JSON_OBJECT @@ -2816,7 +2813,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd1 + "\u{FDD1}" JSON_STRING @@ -2825,7 +2822,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd4 + "\u{FDD4}" JSON_TRUE @@ -2834,7 +2831,7 @@ Last Updated: TODO: auto-generate type string value - \\ufdd6 + "\u{FDD6}" KFM_CMD_PAUSE @@ -3320,7 +3317,7 @@ Last Updated: TODO: auto-generate type string value - \\n\\x15\\n + "\n\x15\n" NULL_KEY @@ -3329,7 +3326,7 @@ Last Updated: TODO: auto-generate type string value - 00000000-0000-0000-0000-000000000000 + "00000000-0000-0000-0000-000000000000" OBJECT_ACCOUNT_LEVEL @@ -8227,7 +8224,7 @@ vector position - position in local coordinates type string value - 5748decc-f629-461c-9a36-a35a221fe21f + "5748decc-f629-461c-9a36-a35a221fe21f" TEXTURE_DEFAULT @@ -8236,7 +8233,7 @@ vector position - position in local coordinates type string value - 89556747-24cb-43ed-920b-47caed15465f + "89556747-24cb-43ed-920b-47caed15465f" TEXTURE_MEDIA @@ -8245,7 +8242,7 @@ vector position - position in local coordinates type string value - 8b5fec65-8d8d-9dc5-cda8-8fdf2716e361 + "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361" TEXTURE_PLYWOOD @@ -8254,7 +8251,7 @@ vector position - position in local coordinates type string value - 89556747-24cb-43ed-920b-47caed15465f + "89556747-24cb-43ed-920b-47caed15465f" TEXTURE_TRANSPARENT @@ -8263,7 +8260,7 @@ vector position - position in local coordinates type string value - 8dcd4a48-2d37-4909-9f78-f7a9eb4ef903 + "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903" TOUCH_INVALID_FACE @@ -8560,7 +8557,7 @@ vector position - position in local coordinates type string value - URL_REQUEST_DENIED + "URL_REQUEST_DENIED" URL_REQUEST_GRANTED @@ -8569,7 +8566,7 @@ vector position - position in local coordinates type string value - URL_REQUEST_GRANTED + "URL_REQUEST_GRANTED" VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY diff --git a/indra/newview/app_settings/keywords_lua_default.xml b/indra/newview/app_settings/keywords_lua_default.xml index c053a8dad1..d65b849af3 100644 --- a/indra/newview/app_settings/keywords_lua_default.xml +++ b/indra/newview/app_settings/keywords_lua_default.xml @@ -1,9 +1,6 @@ - + controls @@ -250,7 +247,7 @@ export type rotation = quaternion type string value - lljson + "lljson" lljson._VERSION @@ -259,7 +256,7 @@ export type rotation = quaternion type string value - 2.1.0.11 + "2.1.0.11" lljson.array_mt @@ -309,7 +306,7 @@ export type rotation = quaternion type number value - .14159265358979 + 3.141592653589793 quaternion.identity @@ -318,7 +315,7 @@ export type rotation = quaternion type quaternion value - <0, 0, 0, 1> + quaternion(0, 0, 0, 1) utf8.charpattern @@ -327,7 +324,7 @@ export type rotation = quaternion type string value - [\\\\x00-\\\\x7F\\\\xC2-\\\\xF4][\\\\x80-\\\\xBF]* + "[\x00-\x7F\xC2-\xF4][\x80-\xBF]*" vector.one @@ -336,7 +333,7 @@ export type rotation = quaternion type vector value - <1,1,1> + vector(1, 1, 1) vector.zero @@ -345,7 +342,7 @@ export type rotation = quaternion type vector value - <0,0,0> + vector(0, 0, 0) ACTIVE @@ -1682,7 +1679,7 @@ export type rotation = quaternion type uuid value - 45e0fcfa-2268-4490-a51c-3e51bdfe80d1 + uuid("45e0fcfa-2268-4490-a51c-3e51bdfe80d1") CONTENT_TYPE_ATOM @@ -2238,7 +2235,7 @@ export type rotation = quaternion type string value - \\n\\n\\n + "\n\n\n" ERR_GENERIC @@ -2771,7 +2768,7 @@ export type rotation = quaternion type uuid value - 9742065b-19b5-297c-858a-29711d539043 + uuid("9742065b-19b5-297c-858a-29711d539043") IMG_USE_BAKED_AUX2 @@ -2780,7 +2777,7 @@ export type rotation = quaternion type uuid value - 03642e83-2bd1-4eb9-34b4-4c47ed586d2d + uuid("03642e83-2bd1-4eb9-34b4-4c47ed586d2d") IMG_USE_BAKED_AUX3 @@ -2789,7 +2786,7 @@ export type rotation = quaternion type uuid value - edd51b77-fc10-ce7a-4b3d-011dfc349e4f + uuid("edd51b77-fc10-ce7a-4b3d-011dfc349e4f") IMG_USE_BAKED_EYES @@ -2798,7 +2795,7 @@ export type rotation = quaternion type uuid value - 52cc6bb6-2ee5-e632-d3ad-50197b1dcb8a + uuid("52cc6bb6-2ee5-e632-d3ad-50197b1dcb8a") IMG_USE_BAKED_HAIR @@ -2807,7 +2804,7 @@ export type rotation = quaternion type uuid value - 09aac1fb-6bce-0bee-7d44-caac6dbb6c63 + uuid("09aac1fb-6bce-0bee-7d44-caac6dbb6c63") IMG_USE_BAKED_HEAD @@ -2816,7 +2813,7 @@ export type rotation = quaternion type uuid value - 5a9f4a74-30f2-821c-b88d-70499d3e7183 + uuid("5a9f4a74-30f2-821c-b88d-70499d3e7183") IMG_USE_BAKED_LEFTARM @@ -2825,7 +2822,7 @@ export type rotation = quaternion type uuid value - ff62763f-d60a-9855-890b-0c96f8f8cd98 + uuid("ff62763f-d60a-9855-890b-0c96f8f8cd98") IMG_USE_BAKED_LEFTLEG @@ -2834,7 +2831,7 @@ export type rotation = quaternion type uuid value - 8e915e25-31d1-cc95-ae08-d58a47488251 + uuid("8e915e25-31d1-cc95-ae08-d58a47488251") IMG_USE_BAKED_LOWER @@ -2843,7 +2840,7 @@ export type rotation = quaternion type uuid value - 24daea5f-0539-cfcf-047f-fbc40b2786ba + uuid("24daea5f-0539-cfcf-047f-fbc40b2786ba") IMG_USE_BAKED_SKIRT @@ -2852,7 +2849,7 @@ export type rotation = quaternion type uuid value - 43529ce8-7faa-ad92-165a-bc4078371687 + uuid("43529ce8-7faa-ad92-165a-bc4078371687") IMG_USE_BAKED_UPPER @@ -2861,7 +2858,7 @@ export type rotation = quaternion type uuid value - ae2de45c-d252-50b8-5c6e-19f39ce79317 + uuid("ae2de45c-d252-50b8-5c6e-19f39ce79317") INVENTORY_ALL @@ -3005,7 +3002,7 @@ export type rotation = quaternion type string value - \\ufdd2 + "\u{FDD2}" JSON_DELETE @@ -3014,7 +3011,7 @@ export type rotation = quaternion type string value - \\ufdd8 + "\u{FDD8}" JSON_FALSE @@ -3023,7 +3020,7 @@ export type rotation = quaternion type string value - \\ufdd7 + "\u{FDD7}" JSON_INVALID @@ -3032,7 +3029,7 @@ export type rotation = quaternion type string value - \\ufdd0 + "\u{FDD0}" JSON_NULL @@ -3041,7 +3038,7 @@ export type rotation = quaternion type string value - \\ufdd5 + "\u{FDD5}" JSON_NUMBER @@ -3050,7 +3047,7 @@ export type rotation = quaternion type string value - \\ufdd3 + "\u{FDD3}" JSON_OBJECT @@ -3059,7 +3056,7 @@ export type rotation = quaternion type string value - \\ufdd1 + "\u{FDD1}" JSON_STRING @@ -3068,7 +3065,7 @@ export type rotation = quaternion type string value - \\ufdd4 + "\u{FDD4}" JSON_TRUE @@ -3077,7 +3074,7 @@ export type rotation = quaternion type string value - \\ufdd6 + "\u{FDD6}" KFM_CMD_PAUSE @@ -3563,7 +3560,7 @@ export type rotation = quaternion type string value - \\n\\x15\\n + "\n\x15\n" NULL_KEY @@ -3572,7 +3569,7 @@ export type rotation = quaternion type uuid value - 00000000-0000-0000-0000-000000000000 + uuid("00000000-0000-0000-0000-000000000000") OBJECT_ACCOUNT_LEVEL @@ -8470,7 +8467,7 @@ vector position - position in local coordinates type uuid value - 5748decc-f629-461c-9a36-a35a221fe21f + uuid("5748decc-f629-461c-9a36-a35a221fe21f") TEXTURE_DEFAULT @@ -8479,7 +8476,7 @@ vector position - position in local coordinates type uuid value - 89556747-24cb-43ed-920b-47caed15465f + uuid("89556747-24cb-43ed-920b-47caed15465f") TEXTURE_MEDIA @@ -8488,7 +8485,7 @@ vector position - position in local coordinates type uuid value - 8b5fec65-8d8d-9dc5-cda8-8fdf2716e361 + uuid("8b5fec65-8d8d-9dc5-cda8-8fdf2716e361") TEXTURE_PLYWOOD @@ -8497,7 +8494,7 @@ vector position - position in local coordinates type uuid value - 89556747-24cb-43ed-920b-47caed15465f + uuid("89556747-24cb-43ed-920b-47caed15465f") TEXTURE_TRANSPARENT @@ -8506,7 +8503,7 @@ vector position - position in local coordinates type uuid value - 8dcd4a48-2d37-4909-9f78-f7a9eb4ef903 + uuid("8dcd4a48-2d37-4909-9f78-f7a9eb4ef903") TOUCH_INVALID_FACE @@ -8524,7 +8521,7 @@ vector position - position in local coordinates type vector value - <-1.0, -1.0, 0.0> + vector(-1.0, -1.0, 0.0) TOUCH_INVALID_VECTOR @@ -8533,7 +8530,7 @@ vector position - position in local coordinates type vector value - <0.0, 0.0, 0.0> + vector(0.0, 0.0, 0.0) TP_ROUTING_BLOCKED @@ -8794,7 +8791,7 @@ vector position - position in local coordinates type string value - URL_REQUEST_DENIED + "URL_REQUEST_DENIED" URL_REQUEST_GRANTED @@ -8803,7 +8800,7 @@ vector position - position in local coordinates type string value - URL_REQUEST_GRANTED + "URL_REQUEST_GRANTED" VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY @@ -9447,7 +9444,7 @@ vector position - position in local coordinates type quaternion value - <0.0, 0.0, 0.0, 1.0> + rotation(0.0, 0.0, 0.0, 1.0) ZERO_VECTOR @@ -9456,7 +9453,7 @@ vector position - position in local coordinates type vector value - <0.0, 0.0, 0.0> + vector(0.0, 0.0, 0.0) events -- cgit v1.3