Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
4fc1f5d
introduce make2compdb
g-berthiaume May 21, 2026
af38a8f
pre-release-2: Rework tokenizer and improve parser
g-berthiaume Jun 5, 2026
8556f19
Fix str_concat and windows/os_cwd_read
g-berthiaume Jun 5, 2026
c83d263
remove now unused function
g-berthiaume Jun 5, 2026
ddde1a7
Merge branch 'master' into make2compdb
g-berthiaume Jul 23, 2026
fabd243
make2compdb: simplify directory pop
g-berthiaume Jul 29, 2026
fe22206
make2compdb: fix duplicated keyword
g-berthiaume Jul 29, 2026
10f6f7a
make2compdb: clarify license
g-berthiaume Jul 29, 2026
d5e94e8
make2compdb: cleanup stream code
g-berthiaume Jul 29, 2026
bdb6960
make2compdb: verbose is now directed towards stderr stream
g-berthiaume Jul 29, 2026
e17720a
make2compdb: simplify compiler logic
g-berthiaume Jul 29, 2026
c066ced
make2compdb: added support for a few gcc-like compiler
g-berthiaume Jul 29, 2026
3d80c70
make2compdb: Bump version
g-berthiaume Jul 29, 2026
7d28cd9
make2compdb: make sure we detect clang++
g-berthiaume Sep 7, 2026
d27cf83
make2compdb: Fix typos in comments
g-berthiaume Sep 7, 2026
6c0c414
make2compdb: Improve handling of "Unknown CLI args"
g-berthiaume Sep 7, 2026
36f1f4c
make2compdb: fix formatting error
g-berthiaume Sep 7, 2026
e293e32
make2compdb: clean make2compdb() and remove static variable
g-berthiaume Sep 7, 2026
9b5e696
make2compdb: fix str_drop_tail()
g-berthiaume Sep 7, 2026
cdc668a
make2compdb: Fix JSON string escaping
g-berthiaume Sep 7, 2026
23d7c49
make2compdb: Make directory parsing more pedantic
g-berthiaume Sep 7, 2026
5d74764
make2compdb: Remove UB when fuzzer produce a len=0
g-berthiaume Sep 7, 2026
bc1a9d7
make2compdb: Better error handling for win32 API WriteConsoleW
g-berthiaume Sep 7, 2026
6f41f33
make2compdb: Rework shell unescaping
g-berthiaume Sep 7, 2026
d506b71
make2compdb: Make compiler parsing more robust.
g-berthiaume Sep 7, 2026
42284af
make2compdb: refactor shell parsing so I can use it in integration te…
g-berthiaume Sep 7, 2026
33645d4
make2compdb: clean tests to be more concise.
g-berthiaume Sep 7, 2026
95ba069
make2compdb: Improve print_strlist formatting
g-berthiaume Sep 8, 2026
e2aa9d3
make2compdb: Improve verbose message when compiler is unknown
g-berthiaume Sep 8, 2026
07106c9
make2compdb: make sure we always ignore shell substitution when findi…
g-berthiaume Sep 8, 2026
836eb6d
make2compdb: cleanup shell tokenizer before doing real improvement
g-berthiaume Sep 8, 2026
9e69cec
make2compdb: Improve shell unescaping
g-berthiaume Sep 9, 2026
ac2fafe
make2compdb: Continue working on shell unescaping
g-berthiaume Sep 9, 2026
6154d9e
make2compdb: Improve gcc flag parsing and fix windows path problem
g-berthiaume Sep 9, 2026
fd08504
make2compdb: Improve the logic of gcc -x flag to prevent false positive.
g-berthiaume Sep 9, 2026
1b80660
make2compdb: Cleanup
g-berthiaume Sep 10, 2026
6ab56b3
make2compdb: Make sure we handle comments properly
g-berthiaume Sep 10, 2026
21b73fb
make2compdb: Improve OS layer error handling
g-berthiaume Sep 10, 2026
6727d21
make2compdb: Cleanup
g-berthiaume Sep 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,10 @@ RUN printf "id ICON \"$PREFIX/src/w64devkit.ico\"" >w64devkit.rc \
&& $ARCH-gcc -DEXE=../share/nsis/bin/makensis.exe -DCMD=makensis \
-Oz -fno-asynchronous-unwind-tables -Wl,--gc-sections -s -nostdlib \
-o $PREFIX/bin/makensis.exe $PREFIX/src/alias.c -lkernel32 \
&& $ARCH-gcc \
-Oz -fno-asynchronous-unwind-tables -fno-builtin -Wl,--gc-sections \
-s -nostdlib -o $PREFIX/bin/make2compdb.exe $PREFIX/src/make2compdb.c \
-lkernel32 -lshell32 -lmemory \
&& sed -i s/'\<ARCH\>'/$ARCH/g $PREFIX/etc/profile \
&& mkdir -p $PREFIX/lib/pkgconfig \
&& cp /dl/mingw/COPYING.MinGW-w64-runtime/COPYING.MinGW-w64-runtime.txt \
Expand Down
Loading