Commit graph

467 commits

Author SHA1 Message Date
Mike Bierlee 10d24eb9fb Remove workaround 2016-12-26 18:17:51 +01:00
Mike Bierlee 898dfd8943 Remove deprecated getInstance() 2016-12-26 18:17:51 +01:00
Mike Bierlee 4ac095c25b Revert minimal D compatibility to 2.068.2
Now that GDC has been officially upgraded to 2.068.2 we can drop baseline support to that version.
2016-12-26 18:17:51 +01:00
Mike Bierlee 9938c0de26 Add proper-d value injector to list 2016-12-26 18:17:26 +01:00
Mike Bierlee 100dc53551 Add list of projects using Poodinis 2016-12-23 01:40:00 +01:00
Mike Bierlee 01de724f9f Add link to online API docs 2016-12-23 01:32:38 +01:00
Mike Bierlee a7b4549799 Add test verifying for pre-destruction on container destruction 2016-12-18 03:56:10 +01:00
Mike Bierlee 0fc7c82321 Add post-constructor/pre-destructor example 2016-12-18 02:18:04 +01:00
Mike Bierlee c68c180e9c Add tutorial on postconstructors/predestructors 2016-12-18 02:00:13 +01:00
Mike Bierlee d6cc7a65b9 Build with latest LDC beta 2016-12-18 01:28:39 +01:00
Mike Bierlee 0d5180c98f Also fix memory corruption for GDC 2016-12-18 01:21:56 +01:00
Mike Bierlee 708ec67070 Prevent memory corruption in DMD 2.066.1
As a consequence registations will NOT be cleared during deconstruction of the container in that version
2016-12-18 01:16:00 +01:00
Mike Bierlee 3d9a449766 Fix aliases tripping up UDA discovery 2016-12-17 23:58:37 +01:00
Mike Bierlee 6a1fa7e2c1 Move test classes to separate module 2016-12-17 23:33:29 +01:00
Mike Bierlee b6dea95c0d Add pre-destruction 2016-12-17 23:09:56 +01:00
Mike Bierlee fbef764b48 Add post construction 2016-12-17 21:14:16 +01:00
Mike Bierlee 7ba8e545f6 Move context registration related method out of container
Should be still usable as before because of UFCS
2016-12-14 22:04:13 +01:00
Mike Bierlee 68c8d6b6a6 Fix documentation 2016-12-14 21:12:52 +01:00
Mike Bierlee 8fe5b8da9b Adjust package documentation according extended use of derived work 2016-12-13 23:23:05 +01:00
Mike Bierlee 27d6b6d798 Reword changelog to make it way more confusing 2016-12-13 23:04:14 +01:00
Mike Bierlee f469e5a045 Add GDC compatibility notice to changelog 2016-12-13 22:46:02 +01:00
Mike Bierlee ea120d07dc Up the dub version in readme
We're not testing older ones so we cannot guarantee that they're still compatible
2016-12-13 22:44:18 +01:00
Mike Bierlee cc314324a7 Use empty main instead of relying on main generation by compilers
GDC doesn't seem to do this
2016-12-13 22:28:12 +01:00
Mike Bierlee f11c924ef3 Fix travis build trying to compile for non-existing DMDs 2016-12-13 22:16:09 +01:00
Mike Bierlee 5114f7e769 Fix dflags being set for non-dmd compilers 2016-12-13 22:11:36 +01:00
Mike Bierlee 5ed3a6ae29 Add Phobos 2.066.1 forwards-compatibility for GDC 2016-12-13 22:00:34 +01:00
Mike Bierlee d3f049eb9f Add note about naming convention 2016-12-12 22:51:26 +01:00
Mike Bierlee 932e3dab6b Add value injection example 2016-12-12 22:51:26 +01:00
Mike Bierlee 29a1940740 Adjust tutorial to make it clear that value injection within value injectors works
But should be used with caution!
2016-12-12 22:51:26 +01:00
Mike Bierlee 2f5ffd5da5 Add test for value injection within injectors and their dependencies 2016-12-12 22:51:26 +01:00
Mike Bierlee 7c718ec159 Add tests verifying that dependency injection is performed for value injectors 2016-12-12 22:51:26 +01:00
Mike Bierlee 341fad5db5 Update README.md 2016-12-11 03:55:17 +01:00
Mike Bierlee 2bbbbac416 Add forwards compatibility for older Phobos distributions 2016-12-11 02:44:35 +01:00
Mike Bierlee 86fb525066 Add mandatory injection of values 2016-12-11 01:31:09 +01:00
Mike Bierlee 52dcecef9a Add optional value injection when values cannot be injected by injectors 2016-12-11 01:15:30 +01:00
Mike Bierlee 9eb3a89695 Make it clear when a value injector is missing 2016-12-11 00:53:21 +01:00
Mike Bierlee 4954979574 Move value injection test to its own test file 2016-12-10 22:46:32 +01:00
Mike Bierlee e7e114d09f Add section on injection within value injectors 2016-12-10 22:45:40 +01:00
Mike Bierlee 3128553d15 Add section for value injectors 2016-12-10 22:26:30 +01:00
Mike Bierlee ade93432fe Add section on where to find value injectors 2016-12-10 22:23:42 +01:00
Mike Bierlee 893173e8e2 Add value injection to the tutorial 2016-12-10 22:15:44 +01:00
Mike Bierlee d3ed3e91b9 Add value injector 2016-12-09 02:15:59 +01:00
Mike Bierlee c75b025a68 Fix else case not being properly excluded from compiled code 2016-12-09 00:48:32 +01:00
Mike Bierlee ea41a04657 Determine qualifier earlier in process 2016-12-06 23:41:08 +01:00
Mike Bierlee ee35b07a87 Fix incorrect documentation 2016-12-06 23:23:55 +01:00
Mike Bierlee 5f8924c917 Remove obsolete DMD beta from build 2016-12-06 23:18:48 +01:00
Mike Bierlee 6d1907bb3d Fix missing import for release build 2016-12-06 23:17:38 +01:00
Mike Bierlee 2a52fc9af4 Fix nullpointer exception when debugging with poodinisVerbose 2016-12-06 23:14:19 +01:00
Mike Bierlee f1bd2260d1 Split autowire code up into multiple functions 2016-12-06 23:00:30 +01:00
Mike Bierlee 2c62f8dbef Build with latest LDC beta 2016-12-06 21:34:38 +01:00