Commit Graph

185 Commits

Author SHA1 Message Date
Aire-One 93a61cc8a8 build(types): luassert 2023-04-17 00:08:35 +02:00
Aire-One 1a8844db43 build(types): busted 2023-04-17 00:08:35 +02:00
Aire-One 7151e3a7cb wip: try some stuff 2023-04-17 00:08:35 +02:00
Aire-One 5cd9a539a5 Merge pull request 'Fix new compiler error from Teal 0.15.0 upgrade' (#75) from feat/fixes-teal-0.15.0 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #75
2023-02-04 00:23:02 +01:00
Aire-One 0aaa8e3d8a fix(entity): shouldn't redefine signature
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-02-04 00:15:09 +01:00
Aire-One 8822970107 fix(generator): can't infer generic type 2023-02-03 23:53:38 +01:00
Aire-One 34e6a65ebc fix(entity): can't infer record with record 2023-02-03 23:53:38 +01:00
Aire-One 418c86e23b fix(utils): `do_or_fail` `res` need to be promoted 2023-02-03 23:53:38 +01:00
Aire-One 4be2a48609 Merge pull request 'Update cyan docker image' (#77) from feat/woodpecker-docker-build-cyan into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #77
2023-02-03 23:39:51 +01:00
Aire-One 3674c6f431 feat(ci): version management in cyan dockerfile
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-02-03 23:27:34 +01:00
Aire-One 3f5766400a Merge pull request 'Prepare extendability for the get_doc_from_page scraper method (#27)' (#73) from feat/#27 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #73
2023-01-15 16:07:00 +01:00
Aire-One c95beebede chore(scraper): refactor get_doc_from_page
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-01-15 15:36:54 +01:00
Aire-One 6ae8343b9f Merge pull request 'Add property:: signals (#30)' (#72) from feat/#30 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #72
2023-01-08 18:11:17 +01:00
Aire-One 00fa0dce30 Merge pull request 'Properly name the functions record parameters (#56)' (#71) from feat/#56 into master
Reviewed-on: #71
2023-01-08 18:00:15 +01:00
Aire-One 013bff1a31 feat(Module_Doc): fixup to add property signals
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
This is a naive approach to automatically add all the `"property::"`
signals. A better way to do that would be to look for this information
in the documentation with the scrapper. It would be, however, less
efficient, and requires quite a few refactors of the data structure.

So this current naive approach will be good enough for now.
2023-01-08 17:56:51 +01:00
Aire-One ed1763524f chore(Module_Info): refactor fixup 2023-01-08 17:45:49 +01:00
Aire-One c67f137628 feat(Function_Info): fixup record parameter name
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2023-01-08 17:39:34 +01:00
Aire-One 59ab75dcf0 Merge pull request 'Define modules `init.d.tl` file (#61)' (#69) from feat/#61 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #69
2022-12-30 20:54:50 +01:00
Aire-One b9a085375f Merge pull request 'Add `gears_shape_function` `type_fix`' (#70) from fix/gears-shape-function-type into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #70
2022-12-30 20:54:43 +01:00
Aire-One 96f433374b fix(Entity): add `gears_shape_function` `type_fix`
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-30 20:38:40 +01:00
Aire-One 6706f0da06 chore: add comments
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-30 20:37:16 +01:00
Aire-One 32f4b5f6a2 fix: generated `init.d.tl` file path
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-30 20:19:28 +01:00
Aire-One 774be91098 feat(generator): implement module_init_definition
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-30 20:05:01 +01:00
Aire-One a2a11a1379 feat: generate the module tree hierarchy
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-30 19:41:30 +01:00
Aire-One 6135594d7e Merge pull request 'Prevent Module from requiring itself (#67)' (#68) from feat/#67 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #68
2022-12-30 18:33:45 +01:00
Aire-One 5d7ed84219 feat(Entity): Module_Doc prevent require cycle
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-30 18:21:29 +01:00
Aire-One f2d9fc682c Merge pull request 'Methods `connect_signal` and `emit_signal` should use the `Signal` enum to type the `name` property (#63)' (#66) from feat/#63 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #66
2022-12-30 18:12:42 +01:00
Aire-One 811a2094eb feat(Entity): Function_Info fixup_signal_type
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-30 18:06:00 +01:00
Aire-One 866c4e6920 Merge pull request 'Properly manage global definition (#60)' (#64) from feat/#60 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #64
2022-12-30 17:07:57 +01:00
Aire-One cd68221dab chore: clean `tlconfig.lua`
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-28 19:07:20 +01:00
Aire-One 3c4e1fd741 build(justfile): fix the `validate` recipe
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-28 18:55:53 +01:00
Aire-One c73b33bc24 chore(Type_Info): add `type_fix`es
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
2022-12-28 18:55:04 +01:00
Aire-One a2a063882a feat: implement `global_env_def`
ci/woodpecker/pr/build Pipeline failed Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline failed Details
2022-12-28 18:54:17 +01:00
Aire-One b8cd7e3db8 chore: prepare for `global_env_def` file
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-22 21:21:57 +01:00
Aire-One ff60093bbe run(property): add `capi_modules` list 2022-12-22 21:19:00 +01:00
Aire-One 3bd162b74c Merge pull request 'Implement basic Teal type fixer (#50)' (#51) from feat/#50 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #51
2022-12-21 20:28:10 +01:00
Aire-One cceb8a1ffc Merge pull request 'Run the program on the whole doc site' (#55) from feat/run-on-all into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #55
2022-12-21 20:27:22 +01:00
Aire-One a6af7a77e4 run: add a just `validate` command
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-19 22:48:21 +01:00
Aire-One 0c4b2a84f3 fix(filesystem): mkdir handle multiple parents 2022-12-19 22:47:47 +01:00
Aire-One fcad0b33f9 run: make the program run on all the doc site 2022-12-19 22:46:03 +01:00
Aire-One dc8698270b feat(Module_Doc): manage requires
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-19 19:39:34 +01:00
Aire-One 67ecf46058 feat(Module_Doc): more fixup
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-19 18:13:20 +01:00
Aire-One 766849d5fc fix(Entity): fixup() for Function_Info
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
This commit also force all functions from the `scraper` module to
instantiate every entity types they returns. We no longer accept
floating objects as instance. It was causing issues because they hadn't
the expected methods defined.
2022-12-19 18:00:51 +01:00
Aire-One 719aa36273 fix(scraper): produce Type_Info
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-14 18:47:01 +01:00
Aire-One 5709219a79 run: make the program fix types
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-14 18:44:19 +01:00
Aire-One 2f96bd0a85 feat(Entity): implement basic type fixer
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-14 18:41:57 +01:00
Aire-One b423280215 Merge pull request 'Implement module section types "Static module functions" (#33)' (#48) from feat/#33 into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #48
2022-12-10 02:09:02 +01:00
Aire-One 6a9f161594 fix(scraper): extract_section_functions coupling
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline was successful Details
ci/woodpecker/pr/lint Pipeline was successful Details
Before this fix, the `extract_section_functions` function had issues
with how the elements were discovered. There are some scenarios where
selected nodes weren't from the same function definition. It causes the
generated teal to mix up the function's parameters.
2022-12-10 01:58:35 +01:00
Aire-One 386b0f33ff feat(generator): render static functions 2022-12-10 01:57:30 +01:00
Aire-One 1979badc1b Merge pull request 'Fix: Create and host docker images for the CI (#34)' (#49) from fix/ci-docker-build into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #49
2022-12-10 01:54:08 +01:00