Commit graph

1464 commits

Author SHA1 Message Date
WebFreak001
d5d6920502 Add dub.selections.json, upgrade libdparse 0.22.0
Note: currently a warning is emitted when building, because dscanner now
depends on libdparse 0.22.0, but dsymbol doesn't support it officially
yet. We just force it with dub.selections.json to build with 0.22.0 for
executable builds.
2023-02-15 12:10:33 +01:00
Jan Jurzitza
9abcf49544
Merge pull request #888 from zyedidia/fix-885
Fixes https://github.com/dlang-community/D-Scanner/issues/885
2023-02-01 10:54:36 +01:00
Zachary Yedidia
cd6dae90bc Update readme CI badge 2023-02-01 10:52:44 +01:00
Zachary Yedidia
3437e30cac Add unit test 2023-01-31 23:32:52 -08:00
Zachary Yedidia
62297fdf7b Include aliasName in resolveSymbol 2023-01-31 23:29:25 -08:00
Zachary Yedidia
40235d3f9d
Fix noreturn discard warning (#887)
Fixes https://github.com/dlang-community/D-Scanner/issues/886
2023-01-31 22:16:48 +01:00
WebFreak001
e94c4fad77 upgrade libdparse and DCD dependencies 2022-12-30 17:10:16 +01:00
WebFreak001
3dd2b5b485 Update GDC to fix CI 2022-10-14 14:30:10 +02:00
WebFreak001
2220812b96 Moved DSymbol into DCD 2022-10-14 14:30:10 +02:00
Cameron Ross
1656e77b9c Fix $DC paths with spaces 2022-08-21 18:11:34 +02:00
WebFreak001
8761fa1e38 downgrade dsymbol and libdparse
fixes introduced std.experimental.allocator issues
2022-07-06 14:17:47 +02:00
Jan Jurzitza
e639f8bcbe Change rdmd to $DC -run
Fix #821
2022-06-13 16:19:08 +02:00
Razvan Nitu
4f995ee76b
Update libdparse to latest version to fix ldc failure (#866) 2022-04-29 14:26:09 +02:00
WebFreak001
e027965176 fix null pointer access in unused.d 2022-03-07 22:53:04 +01:00
Razvan Nitu
1597733f12
Merge pull request #855 from edi33416/make_inc_compilation
Modify makefile to use incremental compilation
2022-02-21 10:08:28 +02:00
Eduard Staniloiu
91ab2af247 Address feedback 2022-02-18 22:59:39 +02:00
WebFreak001
a8ca6ab4b7 upload bin folders as artifacts to test locally 2022-02-13 21:22:12 +01:00
WebFreak001
0316c9d70a fix libdparse deprecation in new check 2022-02-12 23:04:15 +01:00
WebFreak001
cdf881c103 add cyclomatic complexity check
Fix #684

Disabled by default.
2022-02-11 20:17:23 +01:00
Razvan Nitu
93f614ae49
Merge pull request #854 from WebFreak001/upgrade-libdparse
Upgrade to latest libdparse
2022-02-09 18:36:22 +02:00
Eduard Staniloiu
223580438a gdmd does not respect dmd -of format 2022-02-09 18:29:54 +02:00
Eduard Staniloiu
b9c5654712 Fix gdmd missing files bug 2022-02-09 17:50:14 +02:00
Eduard Staniloiu
13e4dc2ae8 Refactor makefile 2022-02-09 16:53:16 +02:00
Eduard Staniloiu
29a575d4aa Use order-only deps in makefile 2022-02-09 14:34:47 +02:00
WebFreak001
6d7ca32822 bump dsymbol to 0.13.0 2022-02-07 23:20:51 +01:00
WebFreak001
61b65a9a55 actually upgrade libdparse and dsymbol now 2022-02-07 20:05:42 +01:00
Eduard Staniloiu
02eb3d92c4 Modify makefile to use incremental compilation 2022-02-07 18:27:57 +02:00
WebFreak001
7f93ffaa1f add test that #499 is fixed 2022-02-02 21:31:28 +01:00
WebFreak001
631791e14d add tests for shortened function body extensions
Remove implementation in unused label (expressions can't have labels)
2022-02-02 21:02:29 +01:00
WebFreak001
a3fe7611a8 implement new ThrowExpression & shortened methods 2022-01-31 18:04:17 +01:00
Florian
873c0f2156
Add Github Actions setup to replace Travis (#853)
* Add missing files + import paths for libddoc/common to build.bat

* Add Github Actions setup to replace Travis

The configured workflow tests D-Scanner with different host compilers
(DMD / LDC / GDC) on different platforms ( Windows / OSX / Linux).

The tests include
- `build.bat test` (windows) or `make test`
- `dub test` for version ranges of `libdparse` and `dsymbol`
   (currently disabled because of unresolvable dependency constraints)
- `make lint`
- phobos linting
2022-01-28 17:54:35 +13:00
Shigeki Karita
7c54e445c6 Add max_line_length config 2022-01-21 13:24:35 +01:00
Per Nordlöw
308bdfd1c1 Replace std.typecons.scoped with scope 2021-08-27 16:49:36 +09:00
Per Nordlöw
41d9682a5f Bump dsymbol to use branch use-gcallocator
Replace deprecated `body` with `do`

Bump dsymbol

Bump dsymbol
2021-08-27 16:49:36 +09:00
RazvanN7
30290bc690 Upgrade dsymbol version 2021-07-29 17:35:00 +09:00
RazvanN7
2af9b75f92 Upgrade libdparse version 2021-07-29 01:54:51 +09:00
RazvanN7
2400d9c9e7 Bump liddoc and libdparse versions 2021-06-05 17:55:17 +02:00
WebFreak001
7809598da0 fix if_constraints_indent with broken/null tokens
Subtraction from t.line (which is unsigned) caused the while loop
to run nearly infinitely before, starving the system of memory as it
was allocating memory.

fixes #829
2021-05-10 18:28:24 +00:00
Geod24
2963358eb4 Update the emsi_containers dependency to v0.8.0 2020-09-04 10:25:45 +02:00
Brian Schott
17edb1a1be
Merge pull request #818 from dlang-community/issue-817
Update libdparse to fix Issue 817
2020-09-02 03:25:21 -07:00
Hackerpilot
214eb067bd Fix one more dependency 2020-08-28 00:06:04 -07:00
Hackerpilot
08c015a004 Fix some dependency problems 2020-08-27 22:24:39 -07:00
Brian Schott
588aa6c030
Merge pull request #819 from CyberShadow/unused_result
Add unused_result check
2020-08-25 01:24:11 -07:00
Vladimir Panteleev
e61ce45856
Add unused_result check 2020-08-25 06:26:31 +00:00
Hackerpilot
139561ff14 Fix a bad 'git add' 2020-08-20 00:42:51 -07:00
Hackerpilot
45a0db73a2 Update libdparse to fix #817 2020-08-20 00:19:12 -07:00
Brian Schott
2a1f96f3dd
Merge pull request #816 from dlang-community/issue-815
Fix #815
2020-08-11 14:19:15 -07:00
Hackerpilot
2174832e9f Fix tabs/spaces 2020-08-06 17:27:16 -07:00
Hackerpilot
3b590c377a Fix #815 2020-08-06 15:11:04 -07:00
Jan Jurzitza
a40492bc92 Bump libdparse to up to 0.15.x 2020-07-22 18:21:27 +02:00