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
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
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
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
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
Basile Burg
40b183aed9
fix #431 , Virtual call in ctor - problem with overloaded virtual methods ( #432 )
2017-05-12 15:25:58 +02:00
skl131313
a393d5f0be
Refactor travis config to include osx, dmd-beta, ldc2 and dub.
2017-05-12 00:55:21 -04:00
Richard Andrew Cattermole
67834d50df
Merge pull request #412 from BBasile/issue-406
...
disable Phobos-specific checks by default, close #406
2017-05-12 16:39:01 +12:00