Fraser Waters
ea09f56740
Add missing count attribute to ExtGetProgramBinarySourceQCOM
...
Also extends Rewrite to understand the new syntax of "*name".
2017-11-02 09:28:36 +00:00
Fraser Waters
4cdaea4747
Fix bug in Rewrite that didn't detect missing CountAttributes
2017-11-02 09:28:34 +00:00
varon
f3044c259a
Merge pull request #627 from Nihlus/rewrite-new-1-better-options
...
Simplify option parsing for Generator.Rewrite
2017-09-03 11:28:09 +02:00
Jarl Gullberg
947162ce6c
Correct altered logic.
2017-08-28 17:01:05 +02:00
Jarl Gullberg
6eb77be281
Correct odd line breaks and remove duplicate debug option.
2017-08-28 16:58:44 +02:00
Jarl Gullberg
d7a6c0f3bd
Use 'a' instead of 'i' for the short assembly option.
2017-08-28 16:57:49 +02:00
Fraser Waters
a498da9448
Fix mscorlib 4.0.0.0 reference added by Rewrite.exe
2017-08-26 22:17:04 +01:00
Jarl Gullberg
975dfc32c7
Correct target command line arguments.
2017-08-19 18:26:34 +02:00
Jarl Gullberg
c0060bc681
Update options to the new v2 API.
2017-08-19 18:26:33 +02:00
Jarl Gullberg
4184e6a10e
Inverted unclear check and changed it check the dllimport option directly.
2017-08-19 18:26:33 +02:00
Jarl Gullberg
77ebecb9f7
Removed passing of options and replaced checks with option object access.
2017-08-19 18:26:33 +02:00
Jarl Gullberg
fec6c18702
Added some early argument verification.
2017-08-19 18:26:33 +02:00
Jarl Gullberg
20399f2da7
Added option parsing to the main program.
2017-08-19 18:26:33 +02:00
Jarl Gullberg
3cb9c5f833
Added help option and moved required argument to the top.
2017-08-19 18:26:33 +02:00
Jarl Gullberg
7d031a81af
Added option class.
2017-08-19 18:26:33 +02:00
Jarl Gullberg
e2098e15e5
Add CommandLineParser to Generator.Rewrite.
2017-08-19 18:26:32 +02:00
Jarl Gullberg
df9cd1d2f1
Merge pull request #623 from Nihlus/enable-xml-doc-output
...
Enable XML documentation output for supporting projects
2017-08-14 19:11:07 +02:00
Fraser Waters
e9e471f785
Fix out String parameters
2017-08-13 14:38:53 +01:00
Fraser Waters
8914faa216
Remove unused variables in Rewrite
2017-08-13 14:35:04 +01:00
Jarl Gullberg
9893283fc6
Correct documentation output directory.
2017-08-04 18:47:47 +02:00
Jarl Gullberg
446a484f7f
Correct missing parameter documentation.
2017-08-04 17:34:46 +02:00
Jarl Gullberg
337b6d4632
Enable XML documentation output for the supporting tools.
2017-08-04 17:34:46 +02:00
Jarl Gullberg
e4d8be5658
Correct comma spacing in Generator.Rewrite.
2017-08-03 11:50:42 +02:00
Jarl Gullberg
80262863fd
Move StyleCop properties to global section.
2017-07-30 18:36:12 +02:00
Jarl Gullberg
56bf133a78
Merge pull request #600 from Nihlus/stylecop-1-initial
...
Add StyleCop.Analyzers to projects
2017-07-28 11:22:32 +02:00
Fraser Waters
d547a81cab
Use "out String" parameters instead of "StringBuilder"
2017-07-28 06:16:52 +01:00
Fraser Waters
34d7655274
Emit CountAttributes during binding
...
Adds a new parameter attribute CountAttribute that is emitted during
binding. CountAttribute is based on the "len" attribute in the
specifications. It describes what the expected count/length of the
parameter is.
During rewrite we remove these attributes.
2017-07-28 06:16:48 +01:00
Jarl Gullberg
ab8f2826e7
Drop Link attribute in favor of Link tag to allow building with MSBuild 14
2017-07-26 16:41:32 +02:00
Jarl Gullberg
577fb4e098
Forgot to add StyleCop.Analyzers to the other projects as well.
2017-07-26 16:41:32 +02:00
Jarl Gullberg
b72c04bb3d
Enabled StyleCop inspections for all projects. This replaces AllRules.
2017-07-26 16:41:26 +02:00
Jarl Gullberg
86113a4eeb
Added StyleCop.Analyzers to the solution.
2017-07-26 16:41:14 +02:00
Fraser Waters
f099ae6db7
Print Exception variable in Rewrite
2017-07-23 16:02:23 +01:00
Jarl Gullberg
4f60f95607
Enforced the use of braces for conditional statements.
2017-07-17 19:24:51 +02:00
Jarl Gullberg
5f2d3144c4
Enforced use of explicit private modifiers.
2017-07-17 18:51:54 +02:00
Jarl Gullberg
aa3c256625
Bumped Mono.Cecil version to correct build errors.
2017-07-15 18:31:32 +02:00
Jarl Gullberg
eb53f2ce59
Bumped framework target of Generator.Convert and updated to v2 of CommandLineParser.
2017-07-15 15:23:04 +02:00
Jarl Gullberg
f6ee6e2a03
Added CommandLineParser to Generator.Converter
2017-07-15 14:55:04 +02:00
Jarl Gullberg
af416b6e3a
Replaced tabs with four spaces across the codebase.
2017-07-05 20:28:30 +02:00
Jarl Gullberg
a67340e2b3
Added deterministic option to all relevant projects.
2017-07-05 13:49:08 +02:00
UnknownShadow200
45d032da52
Fix a nameof() using wrong variable in GeneratedVariableIdentifier
2017-06-12 09:10:09 +10:00
varon
4ee0700bab
Update project deps
2017-05-31 14:13:17 +02:00
Jarl Gullberg
b8975c5626
Added catching of error thrown when the assembly has been rewritten but the debug symbols do not match.
2017-05-30 19:09:27 +02:00
Jarl Gullberg
1cda816b97
Changed signatures back to IEnumerable and added full enumeration to list where needed.
2017-05-29 22:22:26 +02:00
Jarl Gullberg
b420ce8735
Changed signature of RemoveNativeSignatures.
2017-05-29 22:08:48 +02:00
Jarl Gullberg
7b65131fb5
Pulled repeated logic out into a helper method.
2017-05-29 22:05:07 +02:00
Jarl Gullberg
86e0898811
Restricted access to internal and sealed the class.
2017-05-29 21:58:38 +02:00
Jarl Gullberg
ff413b8a6c
Dropped project target back down to 3.5.
2017-05-29 20:55:09 +02:00
Jarl Gullberg
8514b5c78e
Added static modifier to methods which could have it.
2017-05-29 20:19:17 +02:00
Jarl Gullberg
57de60ba96
Tightened variable identifier picking even more.
2017-05-29 20:16:43 +02:00
Jarl Gullberg
dd0de0a75b
Added additional identifier constraints.
2017-05-29 19:47:00 +02:00