Commit Graph

170 Commits

Author SHA1 Message Date
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 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
Aire-One 02defb1f23 ci(docker-build): fix 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-10 01:50:25 +01:00
Aire-One f843940483 Merge pull request 'Implement module section types "Constructors" (#32)' (#36) from feat/#32 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: #36
2022-12-10 00:20:25 +01:00
Aire-One 755d0d6b11 fix(entity): remove `constructor_param_record`
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-09 21:36:38 +01:00
Aire-One 4a10957c57 feat(generator): render constructor as a function
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-09 21:22:34 +01:00
Aire-One d4f1e55004 Merge pull request 'Use the generated docker images in the CI (#46)' (#47) from feat/#46 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: #47
2022-12-09 21:18:09 +01:00
Aire-One 5d8c75ad45 ci(docker-build): fix `when`
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-09 21:12:24 +01:00
Aire-One 6ed6ae8acd ci(build-docker): fix `when_path` string
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-09 20:21:22 +01:00
Aire-One e332d6a98a ci: use our images 🚀
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-09 20:11:28 +01:00
Aire-One 740afce61b Merge pull request 'Fix: Create and host docker images for the CI (#34)' (#45) 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: #45
2022-12-09 19:54:13 +01:00
Aire-One a4e36cda9e ci(docker-build): fix Dockerfile 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-09 19:50:19 +01:00
Aire-One 66736218dc ci(docker-build): fix `repo` values
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline failed Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-09 19:35:15 +01:00
Aire-One 53e3085481 Merge pull request 'Fix: Create and host docker images for the CI (#34)' (#44) from fix/ci-docker-build into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #44
2022-12-09 19:22:05 +01:00
Aire-One 265b36f088 ci(docker-build): fix `dockerfile_path`
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline failed Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-09 19:21:25 +01:00
Aire-One 820faaca3c Merge pull request 'Fix: Create and host docker images for the CI (#34)' (#43) from fix/ci-docker-build into master
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker-build Pipeline failed Details
ci/woodpecker/push/lint Pipeline was successful Details
Reviewed-on: #43
2022-12-09 19:13:02 +01:00
Aire-One 258b6274ba ci(docker-build): fix paths
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/docker-build Pipeline failed Details
ci/woodpecker/pr/lint Pipeline was successful Details
2022-12-09 19:12:05 +01:00