Commit Graph

1341 Commits

Author SHA1 Message Date
Sebastian Wilzbach 30f7dd9662 Merge pull request #522 from wilzbach/upgrade
Sync phobos branch with master and upgrade dependencies
2017-09-14 02:03:34 +02:00
Sebastian Wilzbach caeb1b9451 Upgrade dependencies 2017-09-14 01:59:47 +02:00
Sebastian Wilzbach 35bd4f22af Merge upstream/master 2017-09-14 01:57:57 +02: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 642966dc00 Merge pull request #521 from wilzbach/upgrade-libdparse-phobos
Upgrade libdparse for static foreach [phobos]
2017-09-11 02:54:22 +02:00
Sebastian Wilzbach dff3faefe3 Upgrade libdparse for static foreach [phobos] 2017-09-11 02:36:24 +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 1db688697e Merge pull request #496 from wilzbach/assert_without_msg2
Add check for asserts without an explanatory message
2017-07-08 17:27:06 +02:00
Sebastian Wilzbach a3f4ad9470 assert_without_msg: Check for std.exception.enforce 2017-07-08 17:04:00 +02:00
Sebastian Wilzbach 0bdffbbc40 Add check for asserts without an explantory message 2017-07-08 17:04:00 +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 071cd08a6d Merge pull request #488 from wilzbach/phobos-selective
[Phobos] Apply selective filtering for has_public_example as well
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-30 04:05:40 +02:00
Sebastian Wilzbach d69f46c98d Apply selective filtering for has_public_example as well 2017-06-30 03:53:26 +02:00
The Dlang Bot 620ffaffe9 Merge pull request #487 from wilzbach/phobos-inifiled
[Phobos] Update inifiled
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-30 03:14:40 +02:00
Sebastian Wilzbach 50d5eeafc2 Compile dependencies separately, s.t. their unittests don't get executed 2017-06-30 03:01:21 +02:00
Sebastian Wilzbach 9392867e2e Update inifiled 2017-06-30 02:52:51 +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
The Dlang Bot 40d75610a2 Merge pull request #486 from wilzbach/update-libdparse-phobos
Update libdparse to 0.7.1-beta.5 [Phobos]
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-29 09:48:32 +02:00
Sebastian Wilzbach 8eeddd417f Update libdparse to 0.7.1-beta.5 2017-06-29 09:27:30 +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 18f0a0c1a3 Merge pull request #482 from wilzbach/phobo-master
Merge master into phobos
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-06-28 04:07:12 +02:00
Sebastian Wilzbach 6449097bd5 Temporarily disable the unused check for DScanner 2017-06-28 03:55:00 +02:00