Граф коммитов

58 Коммитов

Автор SHA1 Сообщение Дата
Carl de Billy c05672864e Better support for abstract types 2018-02-26 10:54:15 -05:00
Carl de Billy e8e153880d Fixed problem with inheritance from external assembly 2018-02-26 10:54:04 -05:00
dr1rrb c2e1ced64a
Merge pull request #27 from nventive/dev/dr/LifecylePackaging
Fix classlifecycle generation packaging
2018-02-23 12:05:16 -05:00
dr1rrb 35dd93b193
Merge branch 'master' into dev/dr/LifecylePackaging 2018-02-23 12:00:00 -05:00
Dr.Rx 8a07740145 Fix classlifecycle generation packaging 2018-02-23 11:59:33 -05:00
dr1rrb 06283be702
Merge pull request #26 from nventive/dev/dr/LifecycleInheritance
Improve inheritance support
2018-02-22 10:57:10 -05:00
Dr.Rx fba97c7120 Improve inheritance support
- Constructor: Do not ignore the required parameters of the base class when generating the default constructor
- Dispose: If base class is in the same project, detect if the base class will implement IDisposable
2018-02-21 12:05:45 -05:00
dr1rrb c229e4d61c
Merge pull request #25 from nventive/dev/dr/LifecycleDoc
Fix broken documentation link
2018-02-21 09:36:51 -05:00
Dr.Rx fb27028ba8 Fix broken documentation link 2018-02-20 16:47:37 -05:00
dr1rrb b87dac7cf2
Merge pull request #24 from nventive/dev/dr/LiecycleGeneration
Add generator for the class lifecycle attributes.
2018-02-20 16:42:22 -05:00
Dr.Rx bf7389ca6f Add generator for the class lifecycle attributes. 2018-02-20 16:39:03 -05:00
Carl de Billy 50e4fad872
Merge pull request #19 from nventive/dev/cdb/key-equality-mode
Added key equality mode
2018-02-16 10:45:12 -05:00
Carl de Billy ffecc411c5 Optimisation to make fewer enumerations 2018-02-16 10:38:54 -05:00
Carl de Billy dbd72b2b36 Added few missing `global::` 2018-02-16 10:33:19 -05:00
Carl de Billy a05d267eaf Finished implementation of KeyEqualityMode 2018-02-15 23:28:31 -05:00
Carl de Billy d945d9456e Immutables: Referenced types can now be _implicitely imutables_ 2018-02-15 16:40:10 -05:00
Carl de Billy 59f75ee3d7 Cleaned-up tests (no real changes) 2018-02-15 16:13:19 -05:00
Carl de Billy a3e927b6c9
Merge pull request #18 from nventive/dev/cdb/xml-comments
Added _xml comments_ into generated nuget packages
2018-02-15 15:39:21 -05:00
Carl de Billy ec3a5ccb37 Added _xml comments_ into generated nuget packages 2018-02-15 15:36:12 -05:00
Carl de Billy e0247335df
Merge pull request #16 from nventive/dev/cdb/immutable-more-types
Support for more types
2018-02-14 14:31:07 -05:00
Carl de Billy 4d981ed50d Added support for collections & dictionaries
- SortedCollectionEqualityComparer
- UnsortedCollectionEqualityComparer
- DictionaryEqualityComparer
2018-02-14 14:26:06 -05:00
Carl de Billy c677a034c1 Use ReferenceEquals() instead of `==`
Since the == is overloaded we just need to compare references sometimes.
2018-02-14 09:36:00 -05:00
Carl de Billy 7948d6a207 Added supprot for more _ImmutableCollections_ types
-ImmutableHashSet
- ImmutableQueue
- ImmutableSet
- ImmutableSortedSet
- ImmutableStack
+ few more types like this
2018-02-14 09:36:00 -05:00
Carl de Billy 2d07e92ff0 Fixed some files were not visible in VisualStudio. 2018-02-14 09:36:00 -05:00
Carl de Billy 41bf380a76
Merge pull request #15 from carldebilly/dev/cdb/newtownsoft-json-net
Added support for Newtownsoft's JSON.NET
2018-02-13 10:26:44 -05:00
Carl de Billy aa00c38ab1 Added support for Nettownsoft's JSON.NET 2018-02-13 10:14:21 -05:00
Carl de Billy 9b9217c158
Merge pull request #13 from nventive/dev/cdb/immutable-generateequalitybydefault
Added new global option `GenerateEqualityByDefault`
2018-02-12 11:45:18 -05:00
Carl de Billy dbd03a0825 Added new global option `GenerateEqualityByDefault` 2018-02-12 11:41:40 -05:00
Jérôme Laban a12e6a7940
Merge pull request #12 from nventive/dev/jela/netstd2-transitive-deps
Add missing nuget dependencies
2018-02-12 11:08:04 -05:00
Jérôme Laban 634ebf314f Add transitive reference to Uno.ClassLifecycle 2018-02-12 11:04:30 -05:00
Jérôme Laban d6fd4fd84a Add missing nuget dependencies
Adds the Uno.Immutables, Uno.Equality and Uno.SourceGeneration tasks for netstandard1.0 and netstandard 2.0 target frameworks.
2018-02-12 11:03:51 -05:00
Carl de Billy ab4f3f5702
Merge pull request #10 from nventive/dev/cdb/immutable-check-referenced-types
Added a check for referenced types to be immutable
2018-02-12 10:34:50 -05:00
Carl de Billy dbc76af409 Added a check for referenced types to be immutable 2018-02-12 10:11:36 -05:00
dr1rrb 982ab18c0b
Merge pull request #9 from nventive/dev/dr/LifeCycleAttributes
Add class basic lifecycle methods attributes
2018-02-12 09:58:22 -05:00
Dr.Rx 853cf3f587 Add class basic lifecycle methods attributes 2018-02-12 09:53:34 -05:00
Carl de Billy 4ca3e13b47 Oops last PR doesn't include the right version of the documentation. 2018-02-08 15:51:18 -05:00
Carl de Billy 2436c6df99
Merge pull request #8 from nventive/dev/cdb/generation-enhancements
Enhancements for Immutable generator, mostly support for `Uno.Option`
2018-02-08 15:41:33 -05:00
Carl de Billy a75a12bceb Added support for Uno.Option
+ Document .WithXXX() with lambda
+ Fix `(null as T)..WithXXX(f=>...)`
2018-02-08 14:35:11 -05:00
Carl de Billy 1c38cd3f30 Removed required dependency to Uno.Core from generated code. 2018-02-08 14:35:10 -05:00
Carl de Billy 3991125325 Changed <autogenerated> for <auto-generated>
This will prevent StyleCop from validating the generated files.
2018-02-08 14:35:02 -05:00
Carl de Billy 6738097619
Merge pull request #7 from nventive/dev/cdb/update-source-generator-dependencies
Updated to latest version of Uno.SourceGeneration
2018-02-07 13:31:27 -05:00
Carl de Billy ebf483f297 Updated to latest version of Uno.SourceGeneration
-> fix for breaking change `[SourceGeneratorDependency]` --> `[GenerateAfter]`
2018-02-07 13:20:22 -05:00
Carl de Billy ca95d57c25
Merge pull request #6 from nventive/dev/cdb/codegen-options
Immutable: Added copy of attributes on the builder
+ minor fixes
2018-02-06 10:02:55 -05:00
Carl de Billy 1e1e7db34a Added support for DataAnnotations.KeyAttribute 2018-02-06 09:54:33 -05:00
Carl de Billy 180535968e English corrections 2018-02-06 09:54:33 -05:00
Carl de Billy 04b654c6c9 Added copy of attributes on the builder
+ ability to ignore some attributes
2018-02-05 16:07:37 -05:00
Carl de Billy e09e4c98f7
Merge pull request #5 from nventive/dev/cdb/baseclass-equality
Added missing tests for equality generation.
2018-02-05 16:00:26 -05:00
Carl de Billy cb6898b5f5 Added missing tests for equality generation. 2018-02-05 13:44:08 -05:00
Carl de Billy 03a2cb9986
Merge pull request #4 from nventive/dev/cdb/baseclass-equality
Equality Generator now supports baseclasses
2018-02-05 11:04:25 -05:00
Carl de Billy 55b14dd6e2 Fix documentation following PR discussion 2018-02-05 09:58:34 -05:00