Commit graph

536 commits

Author SHA1 Message Date
Mike Bierlee 5a66bdc26a Fix registerOnResolve not working for classes that have no default constructor
It might be that these want to make use of constructor injection instead
2022-10-27 02:27:03 +03:00
Mike Bierlee f7578d79a3 Fix unnecessary re-registration of types when registerBeforeResolving is specified 2022-10-27 01:42:09 +03:00
Mike Bierlee e1cb511178 Autoformat container.d 2022-10-27 01:37:36 +03:00
Mike Bierlee 04a30db126 Update docs? 2022-10-09 01:22:47 +03:00
Mike Bierlee 399f3f393f Add make step for building docs 2022-10-09 01:10:46 +03:00
Mike Bierlee 9b2d40991a Merge remote-tracking branch 'origin/main' into develop 2022-09-25 19:45:57 +03:00
Mike Bierlee 4c2e0f50ef Gitignore PDB files 2022-09-25 19:45:40 +03:00
Mike Bierlee a73e8c05df
Fix linebreak in readme 2022-09-25 19:40:56 +03:00
Mike Bierlee 8bd88fbcb9 Fix typo 2022-03-22 10:51:28 +03:00
Mike Bierlee 9012bddabe
Fix typo 2022-03-22 10:50:29 +03:00
Mike Bierlee 365d5895c3
Remove broken homepage link 2022-02-21 00:01:11 +03:00
Mike Bierlee ec90d982be Adjust changelog 2022-02-18 00:48:05 +03:00
Mike Bierlee c5e458f75a Update copyrights 2022-02-18 00:45:03 +03:00
Mike Bierlee bf77c95a0d Prevent import of template arguments that are not types 2022-02-18 00:43:39 +03:00
Mike Bierlee 7ccd05f1d4 Prepare next release 2021-08-24 23:20:42 +03:00
Mike Bierlee 4faf7f2e47 Fix chained registration scopes getting rid of initializedBy's factory method 2021-08-24 23:17:26 +03:00
Mike Bierlee 8bde8963c2 Force allman brace style in vscode 2021-08-24 21:19:10 +03:00
Mike Bierlee cf010cd002 Add vscode tasks 2021-08-24 21:15:25 +03:00
Mike Bierlee 199d936070 Prepare next release 2021-07-06 21:09:32 +03:00
Mike Bierlee 70b4c9e9dd Remove helpful compilation warning in favor of supporting more edge-cases out of the box 2021-07-03 18:38:21 +03:00
Mike Bierlee d7dc57ec99 Update changelog and readme 2021-06-15 23:38:25 +03:00
Mike Bierlee 0127c0a80c Add unittest for fix in #37 2021-06-15 23:34:50 +03:00
nucz 00dd758e01 fix "multiple ! arguments are not allowed" on ...
...constructor argument injection
2021-06-15 23:25:39 +03:00
Mike Bierlee 88234ab1b3 Merge remote-tracking branch 'origin/main' into develop 2021-06-15 23:18:37 +03:00
SingingBush de23574cfb Also test on GDC (Ubuntu only) 2021-06-15 22:50:05 +03:00
SingingBush 729a50ee90 remove travis.yml and update README 2021-06-15 22:50:05 +03:00
SingingBush c4d4e5e82f split CI into two jobs 2021-06-15 22:50:05 +03:00
SingingBush d15aa3fb07 use Github Actions for CI instead of travis-ci 2021-06-15 22:50:05 +03:00
SingingBush 25b9e95128 added .editorconfig file 2021-06-15 22:50:05 +03:00
Mike Bierlee 3e98e6320e Bump version in readme 2021-05-04 22:11:59 +03:00
Mike Bierlee f394cf240a Add clean as phony to makefile 2021-05-04 22:11:29 +03:00
Mike Bierlee 5134fc7390 Add PR to changelog 2021-05-04 21:59:14 +03:00
heromyth 3a5d5bf214 Interface is allowed by initializedBy. 2021-05-04 21:57:20 +03:00
Mike Bierlee dcaa4d77be Autoformat code according to The D Style 2021-05-01 22:16:44 +03:00
Mike Bierlee 2b40ab95cf Don't import polyfill and altphobos packages publicly
They might break user code
2021-05-01 22:01:14 +03:00
Mike Bierlee 87172b0989 Add fix to changelog 2021-05-01 21:43:09 +03:00
Mike Bierlee 5e9774b96a Change imports to only include used symbols 2021-05-01 21:41:54 +03:00
Mike Bierlee 6ab7795463 Compensate for broken isFunction in Phobos by rolling own implementation (Fixes #32) 2021-05-01 21:41:10 +03:00
Mike Bierlee edfa5cdffb Fail compilation with helpful message when trying to register class by supertype it does not inherit from 2021-04-29 22:24:27 +03:00
Mike Bierlee d0728d5025 Add makefile for simplified running of examples 2021-04-29 20:37:59 +03:00
Mike Bierlee 0ff0c5148f Bump version 2021-04-29 01:46:26 +03:00
Mike Bierlee de5fe524a0 Fix always polyfilling isFunction 2021-04-29 01:45:08 +03:00
Mike Bierlee eaac0eb7ce Add initializedOnceBy() to create singleton instances via injection initializer 2021-04-29 01:45:08 +03:00
Mike Bierlee 8f4a64cf4c Move injection initializer to registration scope 2021-04-29 01:45:08 +03:00
Mike Bierlee 89512e0cb0 Move initializer to its own example 2021-04-29 01:45:08 +03:00
Mike Bierlee bb4eaf8676 Clean-up initializer 2021-04-29 01:45:08 +03:00
Mike Bierlee 1ae7f5789c Clarify example running readme 2021-04-29 01:45:08 +03:00
Mike Bierlee cee288bb52 Merge remote-tracking branch 'origin/main' into develop 2021-01-04 02:37:07 +03:00
Mike Bierlee 5726b0750d Rename branch master -> main 2021-01-04 02:36:09 +03:00
Mike Bierlee ef00ec4f6f Merge remote-tracking branch 'origin/master' into develop 2021-01-04 02:11:17 +03:00