Commit graph

269 commits

Author SHA1 Message Date
Mike Bierlee
e7a29f17f7 Allow register by concrete type to also get registration options
Although the currently only available option will do nothing
2016-02-03 22:24:22 +01:00
Mike Bierlee
065e7111cd Deprecate calling register() with RegistationOptions in a variadic way
Variadic options will conflict when added to resolve(). To keep the interface consistent, register should follow suit. Supply options using a list of options instead.
2016-02-03 22:17:10 +01:00
Mike Bierlee
46dddbfd46 Deprecate RegistrationOption.DO_NOT_ADD_CONCRETE_TYPE_REGISTRATION in favor of RegistrationOption.doNotAddConcreteTypeRegistration 2016-02-03 22:15:07 +01:00
Mike Bierlee
def5ec2e88 Add setting persistent registration options 2016-02-03 21:28:33 +01:00
Mike Bierlee
947dd4823e Add only compatible LDC compiler to Travis build 2016-02-01 20:26:28 +01:00
Mike Bierlee
e736624d97 Test with legacy DMD compilers on Travis
Also always test with latest
2016-02-01 20:21:02 +01:00
Mike Bierlee
869b02c269 Mention minimum compiler requirement 2016-02-01 20:18:05 +01:00
Mike Bierlee
ce8ee2a3cb Build with DMD 2.070.0 on Travis 2016-01-31 22:35:26 +01:00
Mike Bierlee
a5f0e8c1ca Ignore IntelliJ project file 2016-01-17 18:23:26 +01:00
Mike Bierlee
7bd0795b3f Fix line delimiters 2016-01-06 20:28:25 +01:00
Mike Bierlee
c35e494dfe Update copyrights 2016-01-06 20:18:35 +01:00
Mike Bierlee
4be0e28bba Add IntelliJ project files to gitignore 2015-12-30 00:23:04 +01:00
Mike Bierlee
b62aa99147 Remove Eclipse project from repository
Please import from DUB project instead
2015-12-29 23:32:37 +01:00
Mike Bierlee
7d206e8964 Fix incorrect fact in tutorial 2015-12-29 01:41:36 +01:00
Mike Bierlee
d046535bdb Prepare version 6.0.0 2015-12-28 23:15:30 +01:00
Mike Bierlee
664c51b9c4 Add license to examples 2015-12-28 22:45:15 +01:00
Mike Bierlee
e2d86bae0d Remove deprecated RegistrationOptions alias 2015-12-28 22:43:53 +01:00
Mike Bierlee
4b1bc5077a Remove deprecated registration option 2015-12-28 22:42:23 +01:00
Mike Bierlee
435dc37c3c Add application context example 2015-12-28 22:38:58 +01:00
Mike Bierlee
78e8acd7a3 Adjust tutorial a bit 2015-12-24 23:10:56 +01:00
Mike Bierlee
472cfc432f Add tutorial for application contexts 2015-12-24 22:59:11 +01:00
Mike Bierlee
4d62f3fdb0 Add registering component factories as prototype
Which makes them the opposite of singletons
2015-12-24 21:50:12 +01:00
Mike Bierlee
d310640717 Register application contexts as a resolvable dependency
For those who like to play with fire
2015-12-24 20:41:05 +01:00
Mike Bierlee
f206b594c8 Add autowiring of application contexts on registration 2015-12-24 20:31:26 +01:00
Mike Bierlee
2e4c688ab2 Add registeration of context components when registering via dependency container 2015-12-24 20:12:48 +01:00
Mike Bierlee
57b548aeae Add specifying components by supertype 2015-12-24 19:51:49 +01:00
Mike Bierlee
d888d0a808 Rename instantiatableType -> instanceType 2015-12-24 18:58:34 +01:00
Mike Bierlee
95bd7aece6 Update target DMD version 2015-12-24 18:56:26 +01:00
Mike Bierlee
1bf1734c53 Add registration of components through factory methods
A basic version of Bean factories from the Spring framework
2015-12-24 18:45:18 +01:00
Mike Bierlee
c4bfe02392 Add some more future work to list 2015-12-24 18:09:13 +01:00
Mike Bierlee
12c253d912 Build on travis with latest DMD 2015-12-24 01:33:46 +01:00
Mike Bierlee
4681524a4b Log the changes 2015-12-24 01:32:19 +01:00
Mike Bierlee
55d3139f5b Add registration of basic dependencies through application context 2015-12-24 01:11:39 +01:00
Mike Bierlee
be5eb37617 Remove public imports 2015-12-24 01:01:30 +01:00
Mike Bierlee
f225a2f13c Tick future work off the list
Even though the custom implementation is mostly meant for internal use. Application contexts will make this more usefull for end-users.
2015-12-23 18:51:28 +01:00
Mike Bierlee
80916c47fb Add factory method invocation to instance factory 2015-12-23 18:32:29 +01:00
Mike Bierlee
aa8aef5c06 Alter tutorial do put less emphasis on registration scopes 2015-12-23 17:57:33 +01:00
Mike Bierlee
2ebef4c466 Refactor registration scopes into simplified instance factory 2015-12-23 17:51:55 +01:00
Mike Bierlee
0a682ccb16 Use DMD 2.068.2 on travis 2015-09-26 22:51:13 +02:00
Mike Bierlee
ae9e0bab68 Rename RegistrationOptions -> RegistrationOption, deprecate usage of old name 2015-09-26 22:46:47 +02:00
Mike Bierlee
7fba33247a Update tutorial to reflect new interface registration behaviour 2015-09-26 22:40:34 +02:00
Mike Bierlee
19af879b5f Prepare Version 5.0.0 2015-09-26 22:26:42 +02:00
Mike Bierlee
6607a47713 Compatible with D(MD) 2.068.2 2015-09-26 22:02:29 +02:00
Mike Bierlee
e2571591b7 Works with New DUB 2015-09-22 22:03:37 +02:00
Mike Bierlee
d9686dbc6e Make more sense! 2015-09-22 21:59:04 +02:00
Mike Bierlee
da16513a8d Always register concrete type when registering type by supertype by default.
This deprecates ADD_CONCRETE_TYPE_REGISTRATION (see DO_NOT_ADD_CONCRETE_TYPE_REGISTRATION for reverse configuration). This also means you do not need to use qualifiers when registering single type of super type by super type.
2015-08-17 22:28:26 +02:00
Mike Bierlee
8c103df7e5 Remove deprecated module "dependency" 2015-08-16 15:50:54 +02:00
Mike Bierlee
bf7e2c8229 Remove feature branch badge 2015-08-16 15:45:07 +02:00
Mike Bierlee
6f2649cf07 Build with dmd 2.068.0 final on Travis 2015-08-16 15:37:33 +02:00
Mike Bierlee
9e0f256f15 Prepare version 3.0.0 2015-08-16 15:37:00 +02:00