Commit graph

326 commits

Author SHA1 Message Date
Mike Bierlee 44e77aff9c Move factory stuff to own module 2016-08-17 20:44:36 +02:00
Mike Bierlee ccdef46dde Build with latest DMD beta 2016-08-09 21:36:35 +02:00
Mike Bierlee c7e836b68f Build with latest beta compilers 2016-08-08 23:20:52 +02:00
Mike Bierlee b6ccc9d4a9 Pull keeping track of originating containmer up to Registration class 2016-08-08 23:06:05 +02:00
Mike Bierlee 2a4004856f Deprecate global autowiring function 2016-08-08 22:22:13 +02:00
Mike Bierlee 9e5a27d046 Deprecate singleton factory method
The factory method encourages misuse of dependency injection (by using it as a service locator). Removing the factory method forces the user to make this choice deliberately.
2016-08-08 22:17:17 +02:00
Mike Bierlee 02dbe20c64 Remove deprecated muck 2016-08-08 21:32:27 +02:00
Mike Bierlee 8c27738b51 Build with latest DMD beta on travis 2016-06-27 21:37:48 +02:00
Mike Bierlee 293e19ba9e Prepare version 6.3.0 2016-06-27 21:24:58 +02:00
Mike Bierlee 1d141b3bb8 Update changelog 2016-06-27 21:24:38 +02:00
Mike Bierlee f1d7529d03 A newer DUB is fine too 2016-06-27 21:01:19 +02:00
Mike Bierlee 771c49d86a Deprecate array-based assignment of persistent resolve/registration options 2016-06-27 20:55:07 +02:00
Mike Bierlee f67e67b93c Fix test to properly test the variadic variant 2016-06-27 20:43:12 +02:00
Mike Bierlee e800a9029e Test deprecated options-by-array overload 2016-06-27 20:40:08 +02:00
Mike Bierlee 2278378080 Shift bit of sole option to indicate it's a bitnum 2016-06-27 20:38:17 +02:00
Mike Bierlee 4f29356568 Add previous release of LDC to build list 2016-06-27 20:29:17 +02:00
Mike Bierlee 5943dedc95 Merge pull request #11 from tmccombs/develop
Use bit flags instead of array for options.
2016-06-27 20:19:46 +02:00
Thayne McCombs 243c02266e Add registerOnResolveExample to .gitignore 2016-06-26 21:45:48 -06:00
Thayne McCombs 4e27adc96b Transpose static if to avoid generating dead code. 2016-06-26 21:45:48 -06:00
Thayne McCombs 6255292069 Use bit flags for options.
A more idiomatic and efficient way of passing options.
2016-06-26 21:45:48 -06:00
Mike Bierlee ab5e5d1ba1 Add latest beta version to travis build 2016-05-29 15:58:26 +02:00
Mike Bierlee 7d55d9b7e3 Prepare version 6.2.0 2016-04-10 13:38:27 +02:00
Mike Bierlee 4065ac9824 Add previous minor D release to list of tested compilers 2016-04-09 23:06:54 +02:00
Mike Bierlee 56ea2d6466 Mark development version as being ahead of release 2016-02-15 22:52:49 +01:00
Mike Bierlee 7308702dfe Add ability to mark autowire dependencies as optional 2016-02-15 22:52:48 +01:00
Mike Bierlee 6746fd64a0 Add resolve options to resolveAll 2016-02-15 22:52:48 +01:00
Mike Bierlee 21d727c500 Add resolve option for not throwing a resolveException 2016-02-15 22:52:47 +01:00
Mike Bierlee fcf021cf74 Clarify tutorial text a bit 2016-02-15 20:56:02 +01:00
Mike Bierlee e22801017f Properly highlight code elements in tutorial 2016-02-15 20:49:57 +01:00
Mike Bierlee 899e76b3c9 Note that members of protected visibility can also be autowired 2016-02-15 20:42:45 +01:00
Mike Bierlee a99256e03c Remove decoration 2016-02-15 20:40:20 +01:00
Mike Bierlee af5df7a26c Add caveat 2016-02-15 20:37:54 +01:00
Mike Bierlee 2cc8f3d68a Fix tutorial showing how to create a new container
Containers should be shared because they're designed to work accross threads.
2016-02-15 20:36:09 +01:00
Mike Bierlee 851eeade45 Use more meaningful names for member tuple index variables 2016-02-15 00:26:04 +01:00
Mike Bierlee e7cb6b6e48 Build with latest LDC on travis 2016-02-15 00:17:06 +01:00
Mike Bierlee e4c65ef665 Add future work 2016-02-11 20:46:16 +01:00
Mike Bierlee b7eee5e51f Fix typos of enum RegistrationOption
Fixes #9
2016-02-11 20:40:16 +01:00
Mike Bierlee f2ff12dc58 Make ApplicationContext more robust
By including members with non-public visibility
2016-02-10 00:36:44 +01:00
Mike Bierlee 13921a128e Simplify templated calls in test 2016-02-10 00:34:01 +01:00
Mike Bierlee 85c31574ac Cleanup whitespace 2016-02-10 00:24:45 +01:00
Mike Bierlee 9334f8864e Prepare version 6.1.0 2016-02-09 23:53:47 +01:00
Mike Bierlee 8c83eecaa7 Add note on contributing to README 2016-02-09 23:18:12 +01:00
Mike Bierlee 7e058170dc Merge pull request #8 from Extrawurst/develop
fix autowiring in base classes
2016-02-09 22:31:17 +01:00
Stephan Dilly f84b025110 fix autowiring in base classes 2016-02-09 22:21:36 +01:00
Mike Bierlee a8f455893a Update changelog to add private field autowiring
Conflicts:
	CHANGES.md
2016-02-09 21:41:33 +01:00
Mike Bierlee f1e7b2809c Add example for detailing how registration on resolve works 2016-02-09 21:30:51 +01:00
Mike Bierlee fdbd3c06a1 Make all autowired members in examples and the tutorial private
To set a proper example!
2016-02-09 21:06:07 +01:00
Mike Bierlee 965dcfb0a2 Fix registration of application contexts with non-public members 2016-02-09 21:02:56 +01:00
Mike Bierlee d87c8a0457 Merge branch 'feature/autowire-private-fields' of https://github.com/Extrawurst/poodinis into Extrawurst-feature/autowire-private-fields
Conflicts:
	README.md
2016-02-09 20:28:07 +01:00
Stephan Dilly 7d2ba1bef9 allow autowiring private fields too 2016-02-09 18:01:21 +01:00