Commit Graph

1532 Commits

Author SHA1 Message Date
Sebastian Wilzbach 84e49521e2 Enable automatic releases for Windows 2017-12-04 04:32:46 +01:00
Sebastian Wilzbach f1e337c222 Enable testing on Windows with AppVeyor 2017-12-04 04:28:06 +01:00
The Dlang Bot 7cd2aa7e8c
Merge pull request #539 from wilzbach/github-releases
Upload built binaries to GitHub
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-12-04 02:06:03 +01:00
Sebastian Wilzbach 739c351c98 Upload built binaries to GitHub 2017-12-04 01:23:40 +01:00
Sebastian Wilzbach b4c45aa402 Update libdparse to v0.7.2-alpha.3 (#537)
Update libdparse to v0.7.2-alpha.3
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-11-20 17:17:19 +01:00
The Dlang Bot aacea2cb07
Merge pull request #535 from BBasile/fixup-segfault
fixup f48862d7 - segfault on null initializer
merged-on-behalf-of: Jan Jurzitza <gh@webfreak.org>
2017-11-19 15:55:18 +01:00
Basile Burg 91dfc8bd4f fixup f48862d7 2017-11-19 15:18:37 +01:00
Basile Burg f48862d7a5 fix #533 - "Could be declared const" should be avoided for declarations with "new" (#534)
fix #533 - "Could be declared const" should be avoided for declarations with "new"
merged-on-behalf-of: Richard Andrew Cattermole <alphaglosined@gmail.com>
2017-11-19 14:37:25 +01:00
The Dlang Bot 668e2ba2e2
Merge pull request #528 from BBasile/asm-loop
update libdparse to prevent case of OutOfMem
merged-on-behalf-of: Brian Schott <Hackerpilot@users.noreply.github.com>
2017-11-08 00:43:05 +01:00
Basile Burg ec8b21f8a3
update dparse to prevent a dparse problem 2017-11-06 22:02:17 +01:00
Jan Jurzitza f6708c48fe
Merge pull request #527 from WebFreak001/fix-500
fix #500
2017-11-04 20:57:42 +01:00
WebFreak001 90cc58cdb3 fix #500 2017-11-03 15:40:31 +01:00
The Dlang Bot c13176aec4 Merge pull request #520 from wilzbach/upgrade-libdparse
Upgrade libdparse for static foreach
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-09-11 04:11:35 +02:00
Sebastian Wilzbach c3452932b9 Upgrade libdparse for static foreach 2017-09-11 02:33:36 +02:00
Sebastian Wilzbach 59a5054d6b Merge pull request #519 from dlang-community/update-dparse
update dparse - could stuck because of AA lit bug
2017-08-24 18:39:46 +02:00
Basile Burg d27263a0ae
update dparse - could stuck because of AA lit bug 2017-08-24 11:03:22 +02:00
Jan Jurzitza 8d53f8887e More null checks (#517)
same as #513, just for a few more constructs. The switch statement already had the same thing in
2017-08-13 19:06:23 +02:00
Jan Jurzitza c98fa77f95 Fix #513 (#514) 2017-08-13 14:14:37 +02:00
Jan Jurzitza 142e284588 foreach missing body crash fix (#515) 2017-08-13 14:14:02 +02:00
Jan Jurzitza 34f893d29f Add a findDeclarationOf overload that takes a callback (#512)
* Add a findDeclarationOf overload that takes a callback
This makes getting the declarations when working with dscanner as a library much easier. Another possible improvement for the future could be directly passing File objects or an input range of Files

* Fix formatting of delegate in findDeclarationOf
2017-08-12 23:14:18 +02:00
Richard Andrew Cattermole 45563536d1 Merge pull request #510 from dlang-community/issue-452
fix #452 - false pos for naming style of a VariableDecl with the "enum" storage class
2017-08-12 01:05:10 +12:00
Jan Jurzitza 0d48f27873 Don't warn about unused identifers named `_` (#511)
Fix #490
2017-08-06 12:30:32 +02:00
Basile Burg 511cee29dc
fix #452 - false pos for namz style for VariableDecl with the "enum" storage class 2017-08-06 02:09:06 +02:00
Basile Burg 55ecfbe479 fix #370 - False positive for duplicate variable name check with structs (#509)
fix #370 - False positive for duplicate variable name check with structs
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-08-05 19:10:08 +02:00
Basile Burg e4b0ecc7cf final attrib checker - handle static (#508) 2017-08-04 16:57:16 +02:00
The Dlang Bot cee82acabd Merge pull request #507 from mb64/master
No longer uses deprecated string.removechars
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-08-03 12:10:57 +02:00
Mark Barbone e7ea632ea4 No longer uses deprecated string.removechars 2017-08-02 15:32:48 -04:00
Jan Jurzitza a916a64fb7 Fix #501 (#502) 2017-07-28 21:05:19 +02:00
Basile Burg de0b719106 fixup for last bat update - use var instead of plain text (#506) 2017-07-28 13:20:09 +02:00
Basile Burg 7b91483943 fix #312 - spurious warnings about non-const toString inside const block (#505) 2017-07-28 00:30:03 +02:00
Basile Burg ce6056d4bc fix #275 - cant run tests under windows (#504)
* fix #275 - cant run tests under windows

* fix typo
2017-07-27 16:01:02 +02:00
Basile Burg 7ee23b3d73 fix deprecations messages related to message function (#503)
* fix deprecations messages related to message function

* update dsymbol as a git submodule too
2017-07-27 12:16:52 +02:00
Sebastian Wilzbach 0b064a000e Merge pull request #498 from dlang-community/update-dparse-2
update dparse for the --ast option
2017-07-12 11:00:12 +02:00
Basile Burg 3cb40148c1
update dparse for the --ast option 2017-07-12 10:24:19 +02:00
Sebastian Wilzbach 8304e8540c assert_without_msg: Check for std.exception.enforce 2017-07-08 10:20:05 +02:00
Sebastian Wilzbach 5ba4a7bffa Add check for asserts without an explantory message 2017-07-08 03:30:50 +02:00
Brian Schott eae0305292 Merge pull request #491 from dlang-community/bat-bin
output in bin when using the bat and DUB
2017-07-05 00:22:59 -07:00
Basile Burg 672c665d51 DUB project, out put to bin 2017-07-04 09:58:00 +02:00
Basile Burg 169f784aae output in bin when using the bat 2017-07-04 09:18:58 +02:00
Sebastian Wilzbach fb032b0a71 Merge pull request #489 from wilzbach/has_public_example-selective
Apply selective filtering for has_public_example as well
2017-07-01 22:14:12 +02:00
Sebastian Wilzbach a85393612a Apply selective filtering for has_public_example as well 2017-06-30 04:40:20 +02:00
Sebastian Wilzbach 45ef861268 Fix #457 - Allow to apply checks only for specific modules (#460)
* Fix #457 - Allow to apply checks only for specific modules

* update inifiled to 1.0.2

* Compile dependencies separately, s.t. their unittests don't get executed
2017-06-30 04:31:07 +02:00
The Dlang Bot 9bf010a6e7 Merge pull request #485 from wilzbach/update-libdparse
Update libdparse to 0.7.1-beta.5
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-06-29 14:29:07 +02:00
Sebastian Wilzbach 6ca85419eb Update libdparse to 0.7.1-beta.5 2017-06-29 09:24:56 +02:00
Basile Burg f89d356601 Fixes cases of false or non positive with the useless init check (#475)
* fix #474 fix #473 fix #476 - Cases of false and non positive with the useless init check

* do not warn on documented variables

* fix #477 - Custom type initialized to init should not trigger a warn

* allow struct.init when know struct has `@disable` ctor

* fix last false detection in phobos

* prevent check in the "compiles" trait

* - use canFind when filter.empty was negated
- FQN the struct names
- prevent a double query in the canBeInit AA
- import the whole also package
- there was not test on non-initilized variables

* fix, self-linting missed a case that was not yet fixed

* fix more undetected warns during self linting

* use a flag instead of a stack + apply skipTests

* convert spaces to tabs
2017-06-28 08:08:33 +02:00
The Dlang Bot 3aeee9a108 Merge pull request #483 from wilzbach/disable-unused-check
Temporarily disable the unused check for DScanner
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-28 03:17:13 +02:00
Sebastian Wilzbach ad9491b844 Temporarily disable the unused check for DScanner 2017-06-28 03:03:29 +02:00
Sebastian Wilzbach ba751105a2 Merge pull request #470 from dlang-community/has_public_example
Add has_public_example check
2017-06-28 02:22:35 +02:00
The Dlang Bot 38c4d2d0eb Merge pull request #466 from wilzbach/fix-unused_label
Fix AssertError on unknown label in unused_label
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-27 22:24:26 +02:00
Sebastian Wilzbach 61d52156aa Run DScanner on itself (#479)
* Enable DScanner checking on Travis
* Fix linter warnings
* Set opequals_tohash_check to disabled
* Set could_be_immutable to 'disabled'
* Split expression back into multiple lines
* Set style to disabled
* Fix Makefile target
2017-06-25 15:05:03 +03:00