Commit Graph

1103 Commits

Author SHA1 Message Date
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 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
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 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
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
Sebastian Wilzbach 9a46c36b4b Merge master into phobos 2017-06-28 02:25:42 +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
Sebastian Wilzbach e065d07573 Add has_public_example check
A check for public declaration without a documented unittest.
2017-06-25 09:30:44 +02:00
clYd3r 721f2bc907 Add syntax highlighting to the readme (#478) 2017-06-24 15:40:18 +03:00
Sebastian Wilzbach 455cc3fe50 Merge pull request #472 from wilzbach/fix-unused_label
Fix AssertError on unknown label in unused_label
2017-06-21 06:52:17 +02:00
Sebastian Wilzbach 65e57536f8 Merge pull request #471 from dlang-community/master
Merge master into phobos
2017-06-21 06:12:00 +02:00
Sebastian Wilzbach 7de68bf5f9 Make Dscanner usable as a library (#469) 2017-06-20 10:40:57 +03:00
Sebastian Wilzbach 36397a579d Fix AssertError on unknown label in unused_label 2017-06-19 22:17:43 +02:00
Sebastian Wilzbach 6df62b7b4d Fix line_length checker for multiLine literals (#465) 2017-06-19 14:21:18 +02:00
Sebastian Wilzbach ee62a9cee1 Merge pull request #464 from ZombineDev/revert-pr459
Revert "Workaround 17506 by excluding treemap.d (#459)"
2017-06-18 22:02:08 +02:00
ZombineDev 778411c12b Revert "Workaround 17506 by excluding treemap.d (#459)"
This reverts commit 80b831adda.
The workaround is no longer necessary as the problematic
feature has been reverted from dmd-nightly.
2017-06-18 22:25:32 +03:00
Basile Burg db46595870
Revert "set more def bucket count to get better perfs on huge modules (#462)"
This reverts commit d8ee9a3e4b.
2017-06-18 03:08:22 +02:00
Basile Burg d8ee9a3e4b set more def bucket count to get better perfs on huge modules (#462) 2017-06-17 13:57:22 +02:00
Sebastian Wilzbach 80b831adda Workaround 17506 by excluding treemap.d (#459)
* Workaround 17506 by excluding treemap.d
* Add Bugzilla and GitHub references for workaround 17506
2017-06-16 08:22:14 +03:00
Sebastian Wilzbach d9df33a53f Fix #457 - Allow to apply checks only for specific modules 2017-06-15 21:23:38 +02:00
Sebastian Wilzbach cf3d702720 Fix deprecations (#458)
* Properly import core.exception in analysis/helpers
* Remove the old std.string.removechars from useless_assert
2017-06-15 14:18:17 +03:00
Sebastian Wilzbach 764921634e Add check for redundant attributes (#441) 2017-06-15 11:15:58 +02:00
Sebastian Wilzbach 18a8b6b15e Merge pull request #455 from dlang-community/issue-454
fix #454 - Ddoc for unions are not detected
2017-06-15 00:16:45 +02:00
Sebastian Wilzbach 345f26465c Allow duplicate braces in allman style (#449) 2017-06-13 15:37:53 +02:00
Basile Burg 596135f596
fix 454 - Ddoc for unions are not detected 2017-06-13 08:45:21 +02:00
Sebastian Wilzbach 8a53adc22a Merge pull request #451 from dlang-community/update-dparse
update libdparse
2017-06-13 03:33:10 +02:00
Basile Burg 0e76c49b19
update libdparse 2017-06-13 02:39:24 +02:00
Sebastian Wilzbach 09205ddaf9 Add allman check (#446) 2017-06-12 13:33:23 +02:00
Sebastian Wilzbach dab25d5e31 Fix more problems in the sorted import checker (#445)
* Sorted imports: put ConditionalDeclaration and IfStatement in a separate scope

* Allow intermediate imports
2017-06-12 11:26:43 +02:00
Sebastian Wilzbach 6d34b149a9 Fix #422 - False negative: sorted imports with : (#444)
* Fix #422 - False negative: sorted imports with :

* Fix #422: Add another test
2017-06-12 10:29:20 +02:00
Sebastian Wilzbach 6fad779ec2 Fix #439 - Line length false positives in Phobos (#440) 2017-06-12 10:29:00 +02:00
skl131313 dc395eb3c8 Merge pull request #434 from skl131313/travis
Refactor travis to test and build dub in separate job.
2017-05-21 10:24:49 -04:00
Sebastian Wilzbach 3455c95752 Add dmd-nightly and ldc-beta to the Travis CI config (#436) 2017-05-20 19:07:10 +03:00
Brian Schott 8ebebb7575 Merge pull request #433 from wilzbach/dub-readme
Add installing with DUB instructions
2017-05-18 14:20:53 -07:00
skl131313 254e04dcb3 Refactor travis to test and build dub in separate job. 2017-05-17 13:24:36 -04:00
Basile Burg 6e9e841a9a Add a check for useless initializers, close #285 (#429)
* Add a check for useless initializers, close #285

# Conflicts:
#	src/analysis/config.d

* remove duplicated oror condition

* remove useless protection

* also handle several case of assignation to init

* assign to init, forgot to test for ".init"

* update with new configuration initialization
2017-05-17 17:46:10 +02:00
Basile Burg 28945dec81 Merge pull request #428 from BBasile/issue-352
fix #352 - False positive: Parameter is never used, pointers
2017-05-17 14:50:02 +02:00
Sebastian Wilzbach efc771fc7a Add installing with DUB instructions 2017-05-17 13:08:57 +02:00
skl131313 e844a98f4d Merge pull request #430 from skl131313/travis-dub
Refactor travis config to include osx, dmd-beta, and dub.
2017-05-12 13:30:13 -04:00