Hackerpilot
3d6fdfe2a3
Fix #339
2016-05-06 14:24:10 -07:00
Hackerpilot
02f8f3c423
Enable the comma operator warning in synchronized statements
2016-05-04 03:24:32 -07:00
Sebastian Wilzbach
c61800a7bc
fix small typo in dscanner.ini
2016-04-27 12:27:23 +03:00
Hackerpilot
9b81989011
Fix #334
2016-04-18 14:09:10 -07:00
Hackerpilot
553394b621
Fix import
2016-04-18 14:02:27 -07:00
Hackerpilot
a78c4610a2
Fix #314
2016-03-27 16:29:43 -07:00
Hackerpilot
a18ebe0c86
Merge branch 'allocator_improvements'
2016-03-17 03:09:48 -07:00
dhasenan
673e784a03
Don't warn about renamed imports.
2016-03-14 17:29:20 +00:00
dhasenan
0943820ebe
Added a test for static if...else if mistakes.
...
If you write your code as:
static if (foo)
doFoo();
else if (bar)
doBar();
This check will catch it. If you write it as:
static if (foo)
doFoo();
else {
if (bar)
doBar();
}
This isn't a bug and we won't warn about it.
If you write your code in an intermediate style, we'll still warn about it:
static if (foo)
doFoo();
else
if (bar)
doBar();
Which probably isn't optimal, but what the hey.
2016-03-11 17:59:27 +00:00
Hackerpilot
76765a621d
Move old alias syntax warning out of the parser, see Hackerpilot/libdparse#80
2016-03-02 21:11:38 -08:00
Hackerpilot
95077d333d
Update dparse and dsymbol
2016-03-02 02:41:46 -08:00
Hackerpilot
c252b3420e
Fix part of #305
2016-02-07 00:46:40 -08:00
Hackerpilot
5099545546
Fix #305
2016-02-04 15:18:49 -08:00
Martin Nowak
a69706e3ac
fixup for 1c96fddeb5
2016-01-27 15:33:19 +01:00
Hackerpilot
1c96fddeb5
Run dfmt
2016-01-27 00:16:50 -08:00
Hackerpilot
b5102bcfd5
Fix #300
2016-01-25 15:15:01 -08:00
Hackerpilot
314b0ef3df
More correct checking for undocumented declarations
2016-01-25 15:14:46 -08:00
Hackerpilot
47f454711d
Update dependencies
2016-01-14 00:25:03 -08:00
Hackerpilot
96ec168f77
Dependency updates
2016-01-11 17:41:55 -08:00
Hackerpilot
ef46a70d9a
Check for opCast being non-const
2015-11-09 17:35:13 -08:00
Hackerpilot
f04ede1d91
Fix #274
2015-11-09 15:43:10 -08:00
Hackerpilot
93d2bc17d8
Fix #241
2015-11-04 17:20:01 -08:00
Hackerpilot
54dca3c4da
#241
2015-11-04 17:04:38 -08:00
Hackerpilot
289481182a
Minor cleanup
2015-11-04 17:04:14 -08:00
Hackerpilot
61770ee4c7
Fix #262
2015-11-04 15:51:52 -08:00
Hackerpilot
cdc9d4d85c
Fix typo
2015-10-30 16:29:45 -07:00
Hackerpilot
563df24b42
Fix #290
2015-10-30 16:28:16 -07:00
Hackerpilot
cc7d0112f3
Warning message consistency
2015-10-30 16:28:00 -07:00
Hackerpilot
fab67f9abd
Fix #272
2015-10-30 14:43:13 -07:00
Hackerpilot
8494e6a601
Clean up import
2015-10-30 14:42:24 -07:00
Hackerpilot
b3e22eb10e
Fix false positive for strings with newlines
2015-10-30 14:41:38 -07:00
Hackerpilot
ceff31d216
Fix #132
2015-10-30 13:33:54 -07:00
Hackerpilot
aa54c3d5c9
Remove unused code
2015-10-30 12:35:22 -07:00
Hackerpilot
73ddd29ce2
Use new dparse and dsymbol
2015-10-29 16:15:03 -07:00
Hackerpilot
e5279e94f7
Fix #286
2015-10-09 14:54:28 -07:00
Hackerpilot
f99d4ae954
Fix #226
2015-09-25 17:54:45 -07:00
Hackerpilot
2cf8ebe956
Fix bug in mismatched arg name checker
2015-09-25 15:40:17 -07:00
Hackerpilot
280c8a53f2
Fix failing unit test
2015-09-18 11:48:24 -07:00
Hackerpilot
dffed0ab24
Fix #238
2015-09-18 11:47:28 -07:00
Hackerpilot
27a423e3fa
Fix #269
2015-09-18 05:22:03 -07:00
Hackerpilot
c09abbdab6
Fix range error in mismatched argument checker, disable logging from dsymbol
2015-09-18 04:06:18 -07:00
Hackerpilot
4e1cdf23be
Fix null pointer crash
2015-09-18 03:58:37 -07:00
Hackerpilot
380064de6a
Merge master and update dependencies
2015-09-18 02:56:30 -07:00
Hackerpilot
eb50bc9e18
Fix #270
2015-09-17 23:39:38 -07:00
Hackerpilot
ae7df76154
Fix sefgault in undocumented declaration check^C
2015-06-11 15:50:15 -07:00
Hackerpilot
cad1f05367
Implement #243
2015-06-04 17:35:20 -07:00
Hackerpilot
77a7b4f5d2
Implement #239
2015-06-04 16:50:29 -07:00
Hackerpilot
81c38d5ee8
Fix #255
2015-06-04 16:33:16 -07:00
Hackerpilot
a078e7bbe1
Use regex for better getter/setter function detection
2015-06-04 16:17:56 -07:00
Hackerpilot
066c44070e
Fix #266
2015-06-04 14:41:57 -07:00
Hackerpilot
f4db04bcb0
Delete commented code
2015-06-04 13:48:20 -07:00
Hackerpilot
5d18abc4e2
Merge branch 'master' of https://github.com/Hackerpilot/Dscanner into 0.3.0-dev
2015-05-29 09:29:55 -07:00
Hackerpilot
d251a7aeb2
Fix #261
2015-05-29 09:06:08 -07:00
Hackerpilot
b6233f6d7d
Fix #260 by skipping declarations inside of version(unittest) or version(none)
2015-05-29 08:58:09 -07:00
Hackerpilot
faf5816322
Fix #260 by skipping declarations inside of version(unittest) or version(none)
2015-05-29 08:47:01 -07:00
Hackerpilot
7e0d0dd130
Improve accuracy of unmodified variable check
2015-05-29 08:45:27 -07:00
Hackerpilot
f6dde09c57
Comment cleanup
2015-05-29 08:43:06 -07:00
Hackerpilot
6b345f5c01
Merge remote-tracking branch 'origin' into 0.3.0-dev
2015-05-28 11:16:36 -07:00
Hackerpilot
6b18fa8640
#244
2015-05-28 10:24:49 -07:00
Basile Burg
816bd492de
removed a probable debug message
2015-05-27 14:47:26 +02:00
Hackerpilot
a3c4a5384a
Starting work on 0.3.0
2015-05-26 00:24:21 -07:00
Hackerpilot
4786c1fc1b
Fix #256
2015-05-17 17:12:37 -07:00
Hackerpilot
960881e607
WIP
2015-05-17 16:22:51 -07:00
WalterW
38b6deaa25
unused_label: Fix crash on empty label statement
2015-05-12 09:04:58 -04:00
WalterW
1945b4bee9
Fix #242 - Warn about unused labels
2015-05-11 10:15:53 -04:00
Hackerpilot
b73e8c4fca
Update libdparse
2015-05-04 14:55:36 -07:00
Hackerpilot
7b115caf3f
Cleanup
2015-04-23 19:32:57 -07:00
Hackerpilot
b5c9bca463
Fix #236
2015-04-23 19:20:02 -07:00
Hackerpilot
2633834e64
Remove useless import
2015-04-13 16:37:37 -07:00
George Sapkin
52155be821
Fixed compilation with dmd 2.066
2015-03-07 10:56:36 +01:00
Hackerpilot
4849326745
Disable redundant if expression check due to false positives
2015-02-21 22:52:50 -08:00
Hackerpilot
dbea951e5d
Implement #232
2015-02-21 02:13:38 -08:00
Hackerpilot
2b79fca42e
False positive on inout @property functions
2015-02-01 03:08:42 -08:00
Hackerpilot
05cc5bf635
Update libdparse
2015-02-01 00:26:41 -08:00
Hackerpilot
13a5a3e693
Minor fixes
2015-01-26 13:13:12 -08:00
Hackerpilot
0e89df07f8
Code cleanup
2015-01-26 01:34:28 -08:00
Hackerpilot
9eb2b575af
Change rule name
2015-01-16 11:14:07 -08:00
Hackerpilot
956dd204dc
Rename
2015-01-16 11:12:50 -08:00
Hackerpilot
5d2aebbf0a
More improvements to the unmodified variable check
2015-01-16 11:10:41 -08:00
Hackerpilot
235af118d1
Whitespace
2015-01-15 13:32:12 -08:00
Hackerpilot
8dc46e3992
Improvements to the onmodified variable checker
2015-01-15 13:24:42 -08:00
Hackerpilot
f7ffced8ee
More enum fixes
2015-01-14 18:11:42 -08:00
Hackerpilot
55091c8b5c
Things marked 'enum' should not be changed to 'immutable
2015-01-14 18:04:20 -08:00
Hackerpilot
fd51353abf
Add possible immutable variable detector
2015-01-14 17:54:51 -08:00
Hackerpilot
3d6ced141c
Fix range violation
2015-01-07 15:26:12 -08:00
Hackerpilot
5180a5b857
Fix #219
2015-01-06 16:57:26 -08:00
Hackerpilot
7a80c0f643
Fix #217
2015-01-05 17:52:10 -08:00
Hackerpilot
94c479a641
Fix compile error
2015-01-05 13:39:24 -08:00
Hackerpilot
d0f30eb140
Fix #215
2015-01-04 02:20:05 -08:00
Hackerpilot
90fe5f65ef
Allow 'immutable' to count towards the property check
2015-01-03 20:49:40 -08:00
Hackerpilot
93b3873ae0
Implement #126
2015-01-03 20:44:31 -08:00
Hackerpilot
d1a7424a36
Update to new libdparse
2014-12-15 22:42:22 +00:00
Hackerpilot
6569468502
Do not flag abstract functions in classes inside of interfaces
2014-11-24 15:35:56 -08:00
Hackerpilot
0b28dfa652
Catch more useless uses of 'abstract'
2014-11-24 15:32:33 -08:00
Hackerpilot
03454d6b65
Warn about redundant 'abstract' attribute on functions in interfaces. Fixes #202
2014-11-24 15:13:19 -08:00
Hackerpilot
504fcc830e
Change message for variables that might be used in mixin expressions
2014-11-17 14:53:37 -08:00
Hackerpilot
3a12f850ed
Fix #208
2014-10-01 14:55:38 -07:00
Hackerpilot
95c8b1b19a
Add local import check
2014-09-23 14:33:16 -07:00
Hackerpilot
33767f2d5c
Revert "Removed array initializers. See issue 13496"
...
This reverts commit aadc059d19 .
2014-09-18 15:15:14 -07:00
Hackerpilot
aadc059d19
Removed array initializers. See issue 13496
2014-09-18 14:16:49 -07:00
Hackerpilot
6617f8d01c
Death to the comma operator
2014-09-04 16:24:51 -07:00
Hackerpilot
53a0958e6b
Fix #206
2014-09-03 14:07:59 -07:00
Hackerpilot
6258e9886e
Reduce noise in undocumented symbol check
2014-09-03 08:42:47 +00:00
Hackerpilot
8eb19d9235
Ignore some operator overloads when checking for undocumented declarations
2014-09-02 11:46:14 -07:00
Hackerpilot
ec4ba5f91f
Disable undocumented symbol check inside of templates due to large number of false positives
2014-08-29 17:04:04 -07:00
Hackerpilot
1c008b98bc
Add check for undocumented public symbols
2014-08-29 13:50:52 -07:00
Hackerpilot
e2e324cd7b
Added various metrics to --report output
2014-08-28 19:06:54 -07:00
Hackerpilot
2ff3b02aa7
Disable naming convention check on anonymous unions and structs
2014-08-27 12:27:25 -07:00
Hackerpilot
a6325f1cf2
Fix #203
2014-08-25 12:52:01 -07:00
Hackerpilot
77d6b1baf6
Project reorganzation
2014-08-22 15:41:48 -07:00