Commit graph

450 commits

Author SHA1 Message Date
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
Mike Bierlee 87f8c08c69 Try running containerized 2015-07-27 21:40:14 +02:00
Mike Bierlee 4706638140 Don't build ddox again on travis
Unstable piece of sh....
2015-07-27 21:13:34 +02:00
Mike Bierlee a4af305a54 Update feature branch badge 2015-07-27 21:10:42 +02:00
Mike Bierlee bed26ddc6e Build with new DMD beta 2015-07-27 21:05:10 +02:00
Mike Bierlee 13c0aee5e8 Upgrade supported DMD and DUB versions in README 2015-07-27 21:04:33 +02:00
Mike Bierlee 78e9b34efe Add feature branch changelog to next version 2015-07-06 22:56:49 +02:00
Mike Bierlee 78df679b7d Add added UDA feature to changelog 2015-07-06 22:55:47 +02:00
Mike Bierlee eede6d9a7a Disable DDOX building on Travis
Currently DDOX doesn't work with dmd-2.068.0-b1
2015-07-06 22:55:46 +02:00
Mike Bierlee 5200ae2c08 Use 2.068.0-b1 on Travis CI 2015-07-06 22:55:45 +02:00
Mike Bierlee a3769b0674 Build annotations example on travis 2015-07-06 22:55:44 +02:00
Mike Bierlee d3a1b74de2 Fix the damn badge 2015-07-06 22:55:43 +02:00
Mike Bierlee 343532ba01 Add feature branch badge 2015-07-06 22:55:42 +02:00
Mike Bierlee a59e7a9731 Add example project demonstrating @AssignNewInstance 2015-07-06 22:55:41 +02:00
Mike Bierlee 3e11ff1e92 Add ability to assign new instance to autowired member regardless of registration scope 2015-07-06 22:55:40 +02:00
Mike Bierlee 1551f9e012 Prepare release 2.2.0 2015-07-06 22:54:07 +02:00
Mike Bierlee c87981861d Fix typo in tutorial 2015-07-04 15:18:37 +02:00
Mike Bierlee 0b263e49bb Add array completion example to Travis CI build 2015-07-04 15:05:19 +02:00
Mike Bierlee 5c9a623ef6 Add autowiring to array to tutorial 2015-07-04 14:36:41 +02:00
Mike Bierlee 9d5b4e97a7 Add array completion example 2015-07-04 14:32:08 +02:00