Commit Graph

97 Commits

Author SHA1 Message Date
Iampete1
105801c5b0 AP_Scripting: add support for dependencty on manual methods, remove handling of mission commands without AP_Mission 2023-10-17 10:23:20 +11:00
Iampete1
6a8e07e7ae AP_Scripting: Generator: allow unused enum loader function 2023-10-17 10:23:20 +11:00
Iampete1
cf2ba23089 AP_Scripting: generator: emit dependancys for operators 2023-10-17 10:23:20 +11:00
Iampete1
6ae2fc2ca0 AP_Scripting: support per method dependencies 2023-09-26 11:29:42 +10:00
Iampete1
d2e3bd700c AP_Scripting: add argcheck warning to defualt userdata creation functions 2023-08-29 10:16:36 +10:00
Iampete1
63666ea83a AP_Scripting: generator: fix dependancy start and end miss-match 2023-08-07 12:33:01 +10:00
Peter Barker
d519ab604e AP_Scripting: allow AP_SCRIPTING_ENABLED to come from hwdef files 2023-06-09 16:10:52 +10:00
Iampete1
990db62235 AP_Scripting: generator: don't expose creation functions to all read only userdata 2023-05-08 19:43:24 +10:00
Iampete1
8fa2472148 AP_Scripting: userdata: allow read of enums and userdata 2023-05-08 19:43:24 +10:00
Iampete1
f7a14a58fd AP_Scripting: luacheck: check globals 2023-02-22 19:36:02 +11:00
Iampete1
11f6b5c3ea AP_Scripting: docs: ignore luacheck warnings 2023-02-15 19:38:46 +11:00
Iampete1
c1cd095508 AP_Scripting: remove lua acess to ap object creation 2022-11-23 19:48:21 +11:00
Iampete1
6086402528 AP_Scripting: use helpers for full range return types to save flash 2022-11-15 10:33:51 +11:00
Iampete1
7b844e3974 AP_Scripting: use checker helper for singletons 2022-11-01 17:03:50 +11:00
Iampete1
d673d3b219 AP_Scripting: rework feilds to only use switch for both read and write 2022-11-01 17:03:50 +11:00
Iampete1
5a0c45e090 AP_Scripting: ap object creation functions shared method 2022-11-01 17:03:50 +11:00
Iampete1
84fe2ed829 AP_Scripting: remove memset 0 after malloc 2022-11-01 17:03:50 +11:00
Iampete1
d0f527369d AP_Scripting: remove type specific out of range warnings 2022-11-01 17:03:50 +11:00
Iampete1
06712c9f0b AP_Scripting: rework arg checks to save flash 2022-11-01 17:03:50 +11:00
Iampete1
5711ac9596 AP_Scripting: generator: combine null checks in getter as error is terminal 2022-11-01 17:03:50 +11:00
Iampete1
48ce8c4e16 AP_Scripting: binding gen: add number of argument to manual functions and generate docs for manual 2022-10-19 18:35:32 +11:00
Iampete1
b49ded9f8e AP_Scripting: fix userdata skip check 2022-09-26 08:05:54 +10:00
Iampete1
b4234256f8 AP_Scripting: allow maunal apobject bindings 2022-09-15 12:40:04 +10:00
Iampete1
e51c42f8a5 AP_Scripting: enfoce skip check on correct types update description to match 2022-09-13 18:43:13 +01:00
Iampete1
2c8a11885f AP_Scripting: Boxed numerics and maunal bindings use generated arg checker 2022-08-17 17:18:26 +10:00
Iampete1
ea4f050aa8 AP_Scripting: Generator: fix docs generator aliasing 2022-07-05 10:31:51 +10:00
Iampete1
7850aea186 AP_Scripting: load uint32_t bindings via generator 2022-05-10 09:42:57 +10:00
Iampete1
5bfb295fdd AP_Scripting: generator: support manual and manual operators on userdata 2022-05-10 09:42:57 +10:00
Iampete1
934b56e597 AP_Scripting: generator: support manual creation functions for userdata 2022-05-10 09:42:57 +10:00
Iampete1
3319140133 AP_Scripting: generator: remove unused function 2022-05-10 09:42:57 +10:00
Iampete1
03476711f2 AP_Scripting: binding gen: support globals 2022-05-04 17:49:14 +10:00
Iampete1
59fb78fea8 AP_Scripting: binding gen: support manaul bindings 2022-05-04 17:49:14 +10:00
Iampete1
5c2b0ebb0f AP_Scripting: binding gen: don't emit dependancy if there are no fields 2022-05-04 17:49:14 +10:00
Iampete1
20a2e6aaf0 AP_Scripting: allow deprecation warnings 2022-05-03 07:48:39 +10:00
Iampete1
6e3cb7efdc AP_Scripting: support true aliases 2022-04-26 10:28:28 +10:00
Iampete1
352c48233e AP_Scripting: generator: rename alias keyword to rename 2022-04-26 10:28:28 +10:00
murata
6c83f2262d AP_Scripting: Remove meaningless semicolons 2022-02-07 08:27:34 +09:00
Iampete1
da352163ee AP_Scripting: move singleton method bindings to flash 2022-02-02 11:33:46 +11:00
Andrew Tridgell
d56840e4ef AP_Scripting: special case handling of copy method
allow for each copy() of Location, Vector2f and Vector3f without
adding special methods to each type in C++
2022-01-18 19:18:13 +11:00
Iampete1
c21ec13719 AP_Scripting: support feild alias s 2022-01-06 22:30:58 +11:00
Iampete1
18d0687847 AP_Scripting: support singleton feild types 2022-01-06 22:30:58 +11:00
Iampete1
9ccf17488d AP_Scripting: allow singleton types as refrence rather than pointer 2022-01-06 22:30:58 +11:00
Iampete1
ec4949c9e3 AP_Scripting: generator: use depends for singleton strings 2022-01-04 11:40:33 +11:00
Iampete1
da1fde06ad AP_Scripting: fix skip check userdata feild write 2021-10-26 11:05:22 +11:00
Iampete1
003561ab75 AP_Scripting: Docs: append _ud to userdata types to avoild name clash with new functions and declare local 2021-10-26 11:05:22 +11:00
Iampete1
a70134ba38 AP_Scripting: generator: ouput Emmylua docs 2021-10-20 18:35:09 +11:00
Iampete1
0f8bcbf4b8 AP_Scripting: optimise genrated bindings for size 2021-10-12 10:08:56 +11:00
Iampete1
302e855dab AP_Scripting: add 'skip_check keyword to skip argument range check 2021-10-12 10:08:56 +11:00
Iampete1
0772af5539 AP_Scripting: generator: dont initalise trivial types 2021-10-12 10:08:56 +11:00
Iampete1
32d6919ae2 AP_Scripting: generator: remove unneeded else in nullable returns 2021-10-12 10:08:56 +11:00