Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
428 commits
Select commit Hold shift + click to select a range
7a42144
rfa: clang-format
gitraphha Aug 31, 2026
a081a94
rfa: put socket related functionaliy in its own class
gitraphha Aug 31, 2026
6b08786
rfa: move more functionality to Socket class
gitraphha Aug 31, 2026
9fb4548
fix: applied suggestions from PR review (ArchCipher)
gitraphha Sep 1, 2026
dbc1f82
fix: handle multiple commands in readBuffer
gitraphha Sep 1, 2026
4078627
fix:
gitraphha Sep 1, 2026
e9dac5b
Merge branch 'feat/poll-loop' of github.com:gitraphha/ft_irc into fea…
gitraphha Sep 1, 2026
72e33c1
rfa: clang-format
gitraphha Sep 1, 2026
e6e5f50
fix: applied suggestions from latest PR review (ArchCipher)
gitraphha Sep 2, 2026
0013808
Merge branch 'feat/poll-loop' into rapha
gitraphha Sep 2, 2026
6471e07
feat: add handling of negative error code. Reason:
gitraphha Sep 2, 2026
cbb95e3
feat: add public interface for sending messages
gitraphha Sep 2, 2026
6510258
fun: set lower error limit
gitraphha Sep 2, 2026
7b3cf14
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
ee4498f
feat: check for errors (not errno) after recv and close socket condit…
gitraphha Sep 2, 2026
b28c90c
Merge branch 'feat/poll-loop' into rapha
gitraphha Sep 2, 2026
4587e15
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
6dc5eee
fix: remove (active) client if corresponding socket is closed
gitraphha Sep 2, 2026
949892d
Merge branch 'feat/poll-loop' into rapha
gitraphha Sep 2, 2026
e799b07
feat:
gitraphha Sep 2, 2026
95baaa5
Merge branch 'feat/poll-loop' into rapha
gitraphha Sep 2, 2026
d557748
fix: differentiate btw serv and client socket
gitraphha Sep 2, 2026
552ac9b
Merge branch 'feat/poll-loop' into rapha
gitraphha Sep 2, 2026
33897d7
feat: add handling of negative error code. Reason:
gitraphha Sep 2, 2026
edf92b7
feat: add public interface for sending messages
gitraphha Sep 2, 2026
bec1a31
fun: set lower error limit
gitraphha Sep 2, 2026
2ab1ec1
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
9824f20
feat: check for errors (not errno) after recv and close socket condit…
gitraphha Sep 2, 2026
d6686fd
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
0f00f79
fix: remove (active) client if corresponding socket is closed
gitraphha Sep 2, 2026
a1e4708
feat:
gitraphha Sep 2, 2026
d0ff806
fix: differentiate btw serv and client socket
gitraphha Sep 2, 2026
c866fe6
rfa: remove sendMsg interface in Server, everybody will use the socke…
gitraphha Sep 2, 2026
b165021
rfa:
gitraphha Sep 2, 2026
917a9bc
fix: deactivate debug output depending on NETCATDBG
gitraphha Sep 2, 2026
16536bc
Merge branch 'feat/poll-loop2' into rapha
gitraphha Sep 2, 2026
9334d4c
fix: return immediately on errors during buffer update
gitraphha Sep 2, 2026
fb4bc79
feat: add handling of negative error code. Reason:
gitraphha Sep 2, 2026
ead9b3c
feat: add public interface for sending messages
gitraphha Sep 2, 2026
59de163
fun: set lower error limit
gitraphha Sep 2, 2026
37d6795
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
d72f708
feat: check for errors (not errno) after recv and close socket condit…
gitraphha Sep 2, 2026
6e99553
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
ecdebb4
fix: remove (active) client if corresponding socket is closed
gitraphha Sep 2, 2026
f82b0dc
feat:
gitraphha Sep 2, 2026
a4d1004
fix: differentiate btw serv and client socket
gitraphha Sep 2, 2026
e4c69ad
rfa: remove sendMsg interface in Server, everybody will use the socke…
gitraphha Sep 2, 2026
c847758
rfa:
gitraphha Sep 2, 2026
4e9973c
fix: deactivate debug output depending on NETCATDBG
gitraphha Sep 2, 2026
2cf1a8b
fix: return immediately on errors during buffer update
gitraphha Sep 2, 2026
af559dd
Merge branch 'feat/poll-loop2' of github.com:gitraphha/ft_irc into fe…
gitraphha Sep 3, 2026
6edbd2b
fix: create the ERROR message from scratch, as Reply::Message doesn't…
gitraphha Sep 3, 2026
2b5b9c8
fix: adapt to new function interface
gitraphha Sep 3, 2026
6a73ea9
feat: add public interface for sending messages
gitraphha Sep 2, 2026
4761572
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
af5f5a2
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
716b83a
fix: remove (active) client if corresponding socket is closed
gitraphha Sep 2, 2026
1623e26
feat:
gitraphha Sep 2, 2026
bdb72eb
fix: differentiate btw serv and client socket
gitraphha Sep 2, 2026
a3346aa
rfa: remove sendMsg interface in Server, everybody will use the socke…
gitraphha Sep 2, 2026
98c5a25
fix: create the ERROR message from scratch, as Reply::Message doesn't…
gitraphha Sep 3, 2026
d9908dc
fix: adapt to new function interface
gitraphha Sep 3, 2026
427d33c
Merge branch 'feat/poll-loop2' of github.com:gitraphha/ft_irc into fe…
gitraphha Sep 3, 2026
2560612
Merge branch 'feat/poll-loop2' into rapha
gitraphha Sep 3, 2026
dfef9b2
dbg: add info msg in Server d'tor about unexpectedly non-existing cli…
gitraphha Sep 3, 2026
d9213b4
rfa: rename function to reflect action more precisely
gitraphha Sep 3, 2026
efc3b53
Merge branch 'feat/poll-loop2' into rapha
gitraphha Sep 3, 2026
bb0e973
feat: revert additions that could potentially have been used for a di…
gitraphha Sep 6, 2026
3745b5e
rfa: update includes using tool iwyu
gitraphha Sep 6, 2026
832721e
Merge branch 'feat/poll-loop2' into rapha
gitraphha Sep 7, 2026
acbed29
fix: set nick_ later
gitraphha Sep 7, 2026
cceb3a8
fix:
gitraphha Sep 7, 2026
ae2fb44
rfa: clang-format
gitraphha Sep 7, 2026
923eb64
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 8, 2026
5307c1a
feat:
gitraphha Sep 10, 2026
004659b
feat:
gitraphha Sep 10, 2026
4f012cd
Merge branch 'main' into feat/poll-loop3
gitraphha Sep 10, 2026
9dc5624
rfa: clang-format
gitraphha Sep 10, 2026
ad262f4
feat:
gitraphha Sep 10, 2026
6dee2cc
feat:
gitraphha Sep 10, 2026
49a62ff
git: ignore personal review file
gitraphha Sep 10, 2026
915c664
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
b232ab8
Merge branch 'main' of github.com:gitraphha/ft_irc into rapha
gitraphha Sep 10, 2026
d454b34
feat:
gitraphha Sep 10, 2026
773a773
feat:
gitraphha Sep 10, 2026
b877d57
Merge branch 'main' into feat/poll-loop3
gitraphha Sep 10, 2026
ced6d2c
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
cc940c5
rfa: log format
gitraphha Sep 10, 2026
0c3f8e8
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
c98abe4
rfa: split composeAddrfamAddrPortStr to make subfunctionality usable …
gitraphha Sep 10, 2026
3b3cace
feat:
gitraphha Sep 10, 2026
a1e9134
feat: log more info about client (dis)connect
gitraphha Sep 10, 2026
a80c59a
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
250bd51
feat: use one global static function to get a string for "now"
gitraphha Sep 10, 2026
5ab0765
feat: add @kmurugan's hack to send msgs to clients. Should work at le…
gitraphha Sep 10, 2026
296998d
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
cc3a245
feat: remove trainling newline of Client connect msg
gitraphha Sep 10, 2026
34d90d4
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
ac8b8f8
feat: remove trainling newline of Client connect msg
gitraphha Sep 10, 2026
c63a870
Merge branch 'main' into feat/poll-loop3
gitraphha Sep 10, 2026
100b16b
rfa: remove redundant header includes
gitraphha Sep 10, 2026
9d0bf63
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
113766a
feat: add more explicit error message about failed password extraction
gitraphha Sep 10, 2026
cd40d4d
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
42b4a65
feat: add handling of negative error code. Reason:
gitraphha Sep 2, 2026
38c43ce
feat: add public interface for sending messages
gitraphha Sep 2, 2026
b9da295
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
fb2d8bd
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
fbf7422
fix: remove (active) client if corresponding socket is closed
gitraphha Sep 2, 2026
d3c7234
feat:
gitraphha Sep 2, 2026
fb18998
fix: differentiate btw serv and client socket
gitraphha Sep 2, 2026
0bb0b33
rfa: remove sendMsg interface in Server, everybody will use the socke…
gitraphha Sep 2, 2026
632c426
feat: add public interface for sending messages
gitraphha Sep 2, 2026
961cab0
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
174229c
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
b8bc6bf
fix: remove (active) client if corresponding socket is closed
gitraphha Sep 2, 2026
c924108
feat:
gitraphha Sep 2, 2026
1f01c15
fix: differentiate btw serv and client socket
gitraphha Sep 2, 2026
e53d0f7
rfa: remove sendMsg interface in Server, everybody will use the socke…
gitraphha Sep 2, 2026
5e01354
fix: create the ERROR message from scratch, as Reply::Message doesn't…
gitraphha Sep 3, 2026
d91f729
feat: add public interface for sending messages
gitraphha Sep 2, 2026
eb9de35
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
608c4a3
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
3af3f46
fix: remove (active) client if corresponding socket is closed
gitraphha Sep 2, 2026
4f6f04d
feat:
gitraphha Sep 2, 2026
ec827b2
fix: differentiate btw serv and client socket
gitraphha Sep 2, 2026
ea0f71a
rfa:
gitraphha Sep 2, 2026
f16156c
fix: create the ERROR message from scratch, as Reply::Message doesn't…
gitraphha Sep 3, 2026
ca7fc34
fix: adapt to new function interface
gitraphha Sep 3, 2026
791b141
dbg: add info msg in Server d'tor about unexpectedly non-existing cli…
gitraphha Sep 3, 2026
b674655
feat: revert additions that could potentially have been used for a di…
gitraphha Sep 6, 2026
1736fea
fix:
gitraphha Sep 7, 2026
fbb36a7
rfa: clang-format
gitraphha Sep 7, 2026
90e874c
feat:
gitraphha Sep 10, 2026
f12be36
feat:
gitraphha Sep 10, 2026
b1db195
feat:
gitraphha Sep 10, 2026
053c529
feat:
gitraphha Sep 10, 2026
afa828d
git: ignore personal review file
gitraphha Sep 10, 2026
0840afd
feat:
gitraphha Sep 10, 2026
eddc795
feat:
gitraphha Sep 10, 2026
5bfc028
rfa: log format
gitraphha Sep 10, 2026
60ff38c
rfa: split composeAddrfamAddrPortStr to make subfunctionality usable …
gitraphha Sep 10, 2026
ae6f4f0
feat:
gitraphha Sep 10, 2026
e301149
feat: log more info about client (dis)connect
gitraphha Sep 10, 2026
7a6250b
feat: use one global static function to get a string for "now"
gitraphha Sep 10, 2026
96364b6
feat: add @kmurugan's hack to send msgs to clients. Should work at le…
gitraphha Sep 10, 2026
9cca906
feat: remove trainling newline of Client connect msg
gitraphha Sep 10, 2026
4042ab4
feat: add more explicit error message about failed password extraction
gitraphha Sep 10, 2026
b284de2
rfa: clang-tidy
gitraphha Sep 10, 2026
2a689fe
rfa: remove Server::sendMsg multiple definitions
gitraphha Sep 10, 2026
05f4bad
rfa: beautify here and there, remove comments and unused deprecated code
gitraphha Sep 10, 2026
0827fc5
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
a7b4acb
rfa: cleanup after merge
gitraphha Sep 10, 2026
01274ec
rfa: iwyu
gitraphha Sep 10, 2026
8d5e66c
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 10, 2026
6948169
fix: sendmsg
ArchCipher Sep 11, 2026
566f1bc
fix: use Server::sendMsg()
ArchCipher Sep 11, 2026
c8f0d87
chore: align netcat debug line to changes
ArchCipher Sep 11, 2026
da226f6
chore: format
ArchCipher Sep 11, 2026
c47653f
fix: remove servername from Client::sendReply
ArchCipher Sep 11, 2026
6501394
fix: Remove throw from CommandProcessor
ArchCipher Sep 11, 2026
ccb2f26
chore: remove try except in Scoket::processClientSockets_
ArchCipher Sep 11, 2026
4c91b69
fix: use client::find instead of at + flatten processClientSockets_
ArchCipher Sep 11, 2026
735275f
rfa: use find & check for nullptr instead of at(fd) that might throw
gitraphha Sep 13, 2026
39e2926
bugfix: parsing -o
ArchCipher Sep 15, 2026
77317f4
Merge branch 'feat/poll-loop3' into rapha
gitraphha Sep 15, 2026
c95509e
Merge branch 'feat/sendMsg' into rapha
gitraphha Sep 15, 2026
1af5dda
Merge branch 'main' of github.com:gitraphha/ft_irc into feat/sendMsg
ArchCipher Sep 15, 2026
8b2adbb
Merge branch 'main' of github.com:gitraphha/ft_irc into feat/sendMsg
ArchCipher Sep 15, 2026
03c35c7
Merge branch 'feat/sendMsg' of github.com:gitraphha/ft_irc into fix/cmd
ArchCipher Sep 15, 2026
0834d22
Merge branch 'fix/cmd' into rapha
gitraphha Sep 15, 2026
0203df2
feat: add handling of negative error code. Reason:
gitraphha Sep 2, 2026
0462322
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
7e134ea
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
6e04862
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
e9e5357
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
17cb9c0
fix: create the ERROR message from scratch, as Reply::Message doesn't…
gitraphha Sep 3, 2026
40985d8
feat: send goodby error message to clients when server shuts down
gitraphha Sep 2, 2026
5d610f4
fix: update msg content, including "ERROR", add nickname and hint to …
gitraphha Sep 2, 2026
4d8401e
feat: revert additions that could potentially have been used for a di…
gitraphha Sep 6, 2026
9c1fd85
fix:
gitraphha Sep 7, 2026
deba0e1
feat:
gitraphha Sep 10, 2026
6fc229c
feat:
gitraphha Sep 10, 2026
3d89b6e
git: ignore personal review file
gitraphha Sep 10, 2026
9629d63
feat: use one global static function to get a string for "now"
gitraphha Sep 10, 2026
d2d1e1c
rfa: remove Server::sendMsg multiple definitions
gitraphha Sep 10, 2026
959b694
feat: implement stub, just so it compiles, tbd in another (prior) commit
gitraphha Sep 13, 2026
67f009d
feat: re-implement the msgTooLong logic, based on added functionality…
gitraphha Sep 13, 2026
e44c13e
rfa: clang-format
gitraphha Sep 13, 2026
d84c4cd
fix: log send system fctn error (bytesSent < 0) as failed; also avoid…
gitraphha Sep 13, 2026
d6a0ff7
feat:
gitraphha Sep 15, 2026
b664ab8
feat: apply suggestions from PR review
gitraphha Sep 16, 2026
9d0284c
fix: make it compile
gitraphha Sep 16, 2026
f56a435
feat:
gitraphha Sep 16, 2026
6a2e26b
rfa: rename to MAX_CONNECTIONQUEUE for more clarity
gitraphha Sep 16, 2026
4890bd2
rfa:
gitraphha Sep 16, 2026
34f627c
Merge branch 'feat/poll-loop4' into rapha
gitraphha Sep 16, 2026
fbb0be1
fix: include updates from latest poll-loop4
gitraphha Sep 16, 2026
d4c7808
feat: remove try catch
gitraphha Sep 16, 2026
010f146
fix: fix dbglog wrong logic
gitraphha Sep 16, 2026
53afb0b
fix: DBGLOG wrong logic
gitraphha Sep 16, 2026
fb916ed
fix: include proposed changes from PR
gitraphha Sep 16, 2026
a91f7c1
fix: update based on PR review: buffer would not have been consumed c…
gitraphha Sep 17, 2026
f74a9cf
Merge branch 'feat/poll-loop4' into rapha
gitraphha Sep 17, 2026
11425f8
feat: allign with feat/pl4
gitraphha Sep 17, 2026
689311e
feat: dummy implementation of inputTooLong Msg for testing
gitraphha Sep 17, 2026
a3610e8
fill readme
ArchCipher Sep 5, 2026
69f50ba
feat: rework recv/send, error count and logic of removing clients, bu…
gitraphha Sep 17, 2026
b599bfa
Merge branch 'feat/poll-loop4' into rapha
gitraphha Sep 17, 2026
1728532
fix: discard mode logic
gitraphha Sep 17, 2026
b5e411f
Merge branch 'feat/poll-loop4' into rapha
gitraphha Sep 17, 2026
4c2224a
add bonus
ArchCipher Sep 17, 2026
478a16d
feat: separate processing of multiple too long messages
gitraphha Sep 17, 2026
3152325
fix: include updates from review
gitraphha Sep 17, 2026
731968f
Merge branch 'feat/poll-loop4' into feat/poll-loop5
gitraphha Sep 17, 2026
6223302
Merge branch 'feat/poll-loop5' into rapha
gitraphha Sep 17, 2026
add1a79
feat: more updates from PR feedback
gitraphha Sep 17, 2026
255f8bb
Merge branch 'feat/poll-loop5' into rapha
gitraphha Sep 17, 2026
20eec40
feat: more updates from PR feedback
gitraphha Sep 17, 2026
576b734
Merge branch 'feat/poll-loop5' into rapha
gitraphha Sep 17, 2026
ceecd88
feat: more updates from PR feedback
gitraphha Sep 17, 2026
4ef4f4a
Merge branch 'feat/poll-loop5' into rapha
gitraphha Sep 17, 2026
a46eb84
fix: Remove throw from CommandProcessor
ArchCipher Sep 11, 2026
2bd3389
fill readme
ArchCipher Sep 5, 2026
f709f94
add bonus
ArchCipher Sep 17, 2026
a6772d9
Merge branch 'docs/readme' of github.com:gitraphha/ft_irc into docs/r…
gitraphha Sep 18, 2026
34d5fcf
feat:
gitraphha Sep 18, 2026
9286b16
Merge branch 'docs/readme' into rapha
gitraphha Sep 18, 2026
48de72b
bugfix: set +k and +l correctly
ArchCipher Sep 17, 2026
7585c3e
fixes for poll-loop4 + tests
ArchCipher Sep 18, 2026
d1b2715
Update README.md
gitraphha Sep 18, 2026
e3371c8
Update README.md
gitraphha Sep 18, 2026
2aa758d
Update README.md
numorb Sep 18, 2026
c934b4b
feat: remove
gitraphha Sep 18, 2026
a03cee3
Merge branch 'fix/cmd' of github.com:gitraphha/ft_irc into fix/cmd
gitraphha Sep 18, 2026
3a2d3de
Merge branch 'fix/cmd' into rapha
gitraphha Sep 18, 2026
5df4b5e
re-add POLLHUP for testing
gitraphha Sep 18, 2026
c0af8e3
add challenges + fix kick
ArchCipher Sep 18, 2026
e820fd9
Merge branch 'main' into rapha
gitraphha Sep 18, 2026
d873cf1
fix: try cleanup
gitraphha Sep 18, 2026
67643bb
feat: add detailed dcc send commands
ArchCipher Sep 19, 2026
916f9b7
feat: architecture mermaid
ArchCipher Sep 19, 2026
a584b8f
Merge branch 'main' into docs/readme
ArchCipher Sep 20, 2026
3aecd2b
Merge branch 'docs/readme' into feat/poll-loop5
gitraphha Sep 20, 2026
2873077
feat:
gitraphha Sep 20, 2026
c4aa595
fix: wrong implementation fo removeSockIOData
gitraphha Sep 20, 2026
340ab17
fix: maxMsgLength should be 510, independant from line ending (\r\n o…
gitraphha Sep 20, 2026
71808f4
Merge branch 'main' into feat/poll-loop5
gitraphha Sep 20, 2026
d6223d5
Merge branch 'fix/eol' into feat/poll-loop5
gitraphha Sep 20, 2026
520422d
feat: \n also accepted as eol (together with of \r\n)
gitraphha Sep 20, 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
50 changes: 50 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug with LLDB",
"type": "lldb",
"request": "launch",
"args": ["6667", "pass"],
"program": "${workspaceFolder}/ircserv_debug",
"cwd": "${workspaceFolder}",
"stopOnEntry": false,
"preLaunchTask": "42 build with Makefile",
"initCommands": [
"process handle SIGINT -s false -p true"
]
},
{
"name": "C/C++ Runner: Debug Session",
"type": "cppdbg",
"request": "launch",
"args": ["6667", "pass"],
// "stopAtEntry": true,
"externalConsole": false,
"cwd": "${workspaceFolder}",
"program": "${workspaceFolder}/ircserv_debug",
"MIMode": "gdb",
"miDebuggerPath": "gdb",
// "miDebuggerArgs": "-ex 'set debuginfod enabled off'",
//"preLaunchTask": "42 C build bonus test.c",
"preLaunchTask": "42 build with Makefile",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Pass SIGINT to program",
"text": "handle SIGINT pass nostop",
"ignoreFailures": true
},
{
"description": "Pass SIGQUIT to program",
"text": "handle SIGQUIT pass nostop",
"ignoreFailures": true
}
]
}
]
}
103 changes: 103 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"C_Cpp_Runner.cCompilerPath": "gcc",
"C_Cpp_Runner.cppCompilerPath": "g++",
"C_Cpp_Runner.debuggerPath": "gdb",
"C_Cpp_Runner.cStandard": "",
"C_Cpp_Runner.cppStandard": "",
"C_Cpp_Runner.msvcBatchPath": "",
"C_Cpp_Runner.useMsvc": false,
"C_Cpp_Runner.warnings": [
"-Wall",
"-Wextra",
"-Wpedantic",
"-Wshadow",
"-Wformat=2",
"-Wcast-align",
"-Wconversion",
"-Wsign-conversion",
"-Wnull-dereference"
],
"C_Cpp_Runner.msvcWarnings": [
"/W4",
"/permissive-",
"/w14242",
"/w14287",
"/w14296",
"/w14311",
"/w14826",
"/w44062",
"/w44242",
"/w14905",
"/w14906",
"/w14263",
"/w44265",
"/w14928"
],
"C_Cpp_Runner.enableWarnings": true,
"C_Cpp_Runner.warningsAsError": false,
"C_Cpp_Runner.compilerArgs": [
"-Wall -Werror -Wextra"
],
"C_Cpp_Runner.linkerArgs": [],
"C_Cpp_Runner.includePaths": [],
"C_Cpp_Runner.includeSearch": [
"*",
"**/*"
],
"C_Cpp_Runner.excludeSearch": [
"**/build",
"**/build/**",
"**/.*",
"**/.*/**",
"**/.vscode",
"**/.vscode/**"
],
"C_Cpp_Runner.useAddressSanitizer": false,
"C_Cpp_Runner.useUndefinedSanitizer": false,
"C_Cpp_Runner.useLeakSanitizer": false,
"C_Cpp_Runner.showCompilationTime": false,
"C_Cpp_Runner.useLinkTimeOptimization": false,
"C_Cpp_Runner.msvcSecureNoWarnings": false,
"42header.email": "rhaas@student.42berlin.de",
"42header.username": "rhaas",
"files.associations": {
"rh_fmtconv_std.h": "c",
"ft_printf_helper.h": "c",
"unistd.h": "c",
"rh_fmtspec.h": "c",
"stddef.h": "c",
"rh_write.h": "c",
"libft.h": "c",
"push_swap.h": "c",
"ft_printf.h": "c",
"sort.h": "c",
"utils.h": "c",
"output.h": "c",
"get_next_line.h": "c",
"mlx.h": "c",
"keysymdef.h": "c",
"keysym.h": "c",
"bit": "c",
"move_zoom.h": "c",
"location.h": "c",
"xlib.h": "c",
"fractol.h": "c",
"limits": "c",
"math.h": "c",
"typeinfo": "c",
"limits.h": "c",
"fractals.h": "c",
"stdint.h": "c",
"stat.h": "c"
},
"editor.defaultFoldingRangeProvider": "ms-vscode.cpptools",
"editor.defaultFormatter": "ms-vscode.cpptools",
"editor.insertSpaces": false,
"editor.detectIndentation": false,
"#endif with guard": {
"prefix": "#endif",
"body": "#endif // ${1:GUARD_NAME}",
"description": "Add #endif with guard comment"
}
}

22 changes: 22 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "cppbuild",
"label": "42 build with Makefile",
"command": "/usr/bin/make",
"args": [
// "fclean",
"debug",
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": "build",
"detail": "compiler: /usr/bin/c++"
}
]
}
Loading
Loading