Commit Graph

1192 Commits

Author SHA1 Message Date
Linden
45b9560a44 fix(init/cache): allow setting false cached value
Resolves #605.
2024-07-01 12:17:50 +10:00
Linden
6368c2c6fd fix(client/zones): remove thread when setting initial debug state
Resolves #605.
2024-07-01 12:16:31 +10:00
hakanesnn
9d3b3e76f5 chore(locales): update tr.json (#609) 2024-07-01 11:43:02 +10:00
Zuntie
c352a322ce chore(locale): updated danish translations (#601) 2024-07-01 11:42:48 +10:00
BerkieBb
64615a671e feat(addCommand): longString (#597) 2024-07-01 11:42:21 +10:00
Doug Cone
cdf840fc68 refactor(print): encode functions in tables (#592) 2024-06-26 16:17:25 +10:00
Jag
f255d99215 feat(math): add math.round function (#603) 2024-06-26 16:06:31 +10:00
Manifest Bumper
01334799f0 chore: bump manifest version to v3.22.2 2024-06-07 13:54:27 +00:00
Cata_a
65fb3aef86 chore(locales): update zh-cn.json (#589) 2024-06-02 00:38:20 +10:00
Linden
54b7701c36 refactor(class): disable experimental warning for internal modules
This warning is only important for 3rd party users.
2024-06-01 21:45:17 +10:00
Austin Dunn
09ba32342c fix(timer): accessing private variable out of scope (#591) 2024-06-01 21:45:10 +10:00
Linden
c59b675efa Revert "fix(imports/logger): loki indexing for varargs (#583)"
This reverts commit 7e67b57e2d.
2024-05-30 22:54:50 +10:00
Manifest Bumper
8712c9b0c9 chore: bump manifest version to v3.22.1 2024-05-22 23:42:35 +00:00
Linden
2909cb5db6 refactor(callback): warn if callback function is nil/false
Between the headache of people misusing callbacks
and people complaining about third-party resources
that misused them, I would rather just shut them up.

I'll just deprecate this crap at some point anyway.
2024-05-23 09:41:24 +10:00
Manifest Bumper
d147e70c77 chore: bump manifest version to v3.22.0 2024-05-22 21:21:08 +00:00
Linden
f0009f0bc8 refactor(callback): assertions
Both client and server callbacks will check if "cb" is a function, to
reduce the number of people using callbacks as a replacement for
events.

Server->client callbacks will now check if the target playerId exists,
as people apparently use it for unintended values (i.e. -1).
2024-05-22 16:36:22 +10:00
Linden
a40be54a9e refactor(callback): increase default timeout 2024-05-21 05:50:06 +10:00
synth444
080a9c2442 feat(table/merge): add option to replace duplicate number keys (#581) 2024-05-21 05:48:32 +10:00
Mirco T
7e67b57e2d fix(imports/logger): loki indexing for varargs (#583) 2024-05-21 05:47:47 +10:00
ANTOND
c4ad7da3d2 chore(types): optional param in getClosestPlayer (#577) 2024-05-19 15:39:19 +10:00
faizy#6969
9ea2fdede7 fix(alertDialog): set timeout as optional parameter (#580) 2024-05-19 15:39:02 +10:00
Linden
c2efb22e38 refactor(class): mark mixins.new as protected 2024-05-19 15:33:16 +10:00
Linden
9a2a911b2a fix(streamingRequest): remove @package annotation
Annoying warnings.
2024-05-19 14:37:31 +10:00
Linden
8b0359071b fix(math): torgba types and alpha value 2024-05-14 19:21:47 +10:00
Linden
0b13a56071 fix(package/locale): sync behaviour with Lua 2024-05-14 18:19:26 +10:00
Manifest Bumper
8080fa1474 chore: bump manifest version to v3.21.0 2024-05-09 20:49:42 +00:00
WindoX
44d125c9bf chore(locales): create pt.json (#575) 2024-05-10 06:47:47 +10:00
Maciej Ratyński
fb6ac76a9d chore(locales): update pl.json (#574) 2024-05-10 06:47:26 +10:00
Domi
62c6d5a5d0 chore(locales): update multiple languages (#573) 2024-05-10 06:47:06 +10:00
Linden
7ada4c253a chore(fxmanifest): remove comments 2024-05-08 08:40:53 +10:00
Linden
ae005e73eb fix(math): math.interp return type should be T 2024-05-08 05:47:40 +10:00
Linden
858a94e7ec feat(math): expose interpolate function as math.interp 2024-05-08 05:46:57 +10:00
Linden
43905bdd62 feat(interface/alert): support dialog timeout
closeAlertDialog will now error if a reason is passed.
Added timeout param to alertDialog.
Resolves #522.
2024-05-08 05:23:27 +10:00
Linden
b1cb2142f0 feat(raycast): add fromCoords method 2024-05-08 05:00:33 +10:00
northsqrd
24cedb07ae feat(interface/multi-select): add maxSelectedValues (#563) 2024-05-08 04:28:52 +10:00
xHorntail
9649ffaf67 refactor(interface/progress): allow rotation order for created props (#564) 2024-05-08 04:28:10 +10:00
Mas
a3952a0d3b refactor(raycast): smoother raycast during camera movement (#569) 2024-05-08 04:27:00 +10:00
Austin Dunn
851df5bead feat(math): linear interpolation (#570)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2024-05-04 23:46:02 +10:00
Linden
2166b076da feat(callback): add timeout to callback events
Should help when people await broken or unregistered events.
Defaults to 60 seconds, adjusted with convar ox:callbackTimeout.
2024-05-03 15:49:33 +10:00
wx
8bb0587b39 chore(locale): update cs.json (#551) 2024-05-02 16:22:36 +10:00
RrybaN
88edfbe89a fix(web/notify): prevent resetting the notifications circle without an id (#566) 2024-05-02 16:10:27 +10:00
Jarosław
d102f2a165 fix(array): array:findIndex should return index (#565) 2024-05-02 16:07:25 +10:00
404
fcf198b21f fix(timer): add async argument to restart method (#567) 2024-05-02 16:06:12 +10:00
deFuzz
75f4ecbbea fix(class): fixed private access in method calls (#553)
Co-authored-by: Linden <65407488+thelindat@users.noreply.github.com>
2024-04-28 12:08:15 +10:00
RexshackGaming
113f5227e5 fix(interface/progress) don't use RegisterKeyMapping for redm(#560)
stop redm error as RegisterKeyMapping does not exist
2024-04-27 15:35:23 +02:00
RrybaN
8bb3b5a835 fix(notify): reset circle animation on notification re-trigger with id (#559)
Resolves #554 

* fix(notify): prevent duration not showing in notifications with id

* fix(notify): add toast key to reset circle animation

* refactor(web/notify): use ref for key counter instead of state

---------

Co-authored-by: Luke <39926192+LukeWasTakenn@users.noreply.github.com>
2024-04-27 15:33:34 +02:00
Mads
8261156c53 chore(locale): update no.json (#555) 2024-04-24 01:40:54 +10:00
Linden
55d9ed1709 refactor(settings): safeGetKvp
If the kvp has an unexpected type for whatever reason, clear it.
2024-04-22 14:46:02 +10:00
Manifest Bumper
a8df465133 chore: bump manifest version to v3.20.0 2024-04-20 15:57:18 +00:00
Linden
196440250b fix(settings): swapped variable order
Locale was moved.
2024-04-21 01:54:40 +10:00