Commit Graph

298 Commits

Author SHA1 Message Date
Username404-59 d3d951d843
Revert "Simplify a if statement in lexer.cpp."
This reverts commit 42796ac54ccac44c8a2033ea39635ba44284c5d7.
2021-03-06 13:27:02 +01:00
Username404-59 c02f8bcc1a
Simplify a if statement in lexer.cpp. 2021-03-06 13:24:08 +01:00
Username404-59 11b92f7346
Make the argument of parseString a const reference. 2021-03-05 14:41:46 +01:00
Username404-59 915774cce3
Use https links instead of http ones in the README.md file. 2021-03-05 14:27:50 +01:00
Username404-59 2fe59c9c43
Update ParseCompnents.hpp. 2021-03-05 11:34:02 +01:00
Username404-59 24195f9a6c
Return a reference with the ParseTree::getComponents() method. 2021-03-04 15:59:06 +01:00
Username404-59 5972f0ef4c
Add a (definetly incomplete) ParseComponents.hpp file and move the extern declarations of main.cpp to misc.hpp. 2021-03-04 11:18:11 +01:00
Username404-59 f95d1c2497
Add the misc.hpp file to CMakeLists.txt. 2021-03-03 19:51:13 +01:00
Username404-59 6d2c23bb39
Add a misc.hpp file. 2021-03-03 19:47:25 +01:00
Username404-59 eb821b9f22
Fix scripts/postinst.sh. 2021-03-03 13:35:55 +01:00
Username404-59 4d8f09ee68
Use the right installation directories. 2021-03-03 13:24:16 +01:00
Username404-59 d42c0d4293
Lex identifiers and numbers instead of just strings, and use isdigit instead of isalphanum in lexer.cpp. 2021-03-02 21:51:59 +01:00
Username404-59 179d3813ab
Modify src/main.cpp a bit. 2021-03-02 12:22:56 +01:00
Username404-59 27ceae472b
Use a static libgcc on CLang too. 2021-03-01 20:42:06 +01:00
Username404-59 04fd22f12c
Use optimization flags on CLang too. 2021-03-01 20:19:16 +01:00
Username404-59 3b8fcb4409
Make the generation of source RPM packages possible. 2021-03-01 19:28:39 +01:00
Username404-59 daeb558504
Add a changelog.txt file and set the CPACK_RPM_BUILDREQUIRES in the CMakeLists.txt file. 2021-03-01 19:01:15 +01:00
Username404-59 aa2691316f
Also set the debian package architecture and generate deb packages in the Jenkinsfile. 2021-03-01 12:24:51 +01:00
Username404-59 b8df9df2e9
Set the debian package dependencies manually. 2021-03-01 12:18:56 +01:00
Username404-59 82f65e5da5
Revert "Don't overwrite the existing flags when a GNU compiler is used."
This reverts commit 101104872a36f9cead85b880e3f838259e80b778.
2021-03-01 12:03:25 +01:00
Username404-59 2f09a44521
Don't overwrite the existing flags when a GNU compiler is used. 2021-03-01 12:02:56 +01:00
Username404-59 111a4cc798
Complete the zsh-completion.zsh script. 2021-02-28 22:28:05 +01:00
Username404-59 ab71c08085
Change the structure of installation directories, and move the completion scripts. 2021-02-28 19:30:52 +01:00
Username404-59 a9eba99b98
Fix the Jenkinsfile. 2021-02-28 18:38:21 +01:00
Username404-59 76057e34ab
Rename the ybcon.sh script to ybcon, and put it in a different install directory. 2021-02-28 18:14:56 +01:00
Username404-59 ebd42d06b1
Show the usage only one time in ybcon.sh, in all possible cases. 2021-02-28 13:59:23 +01:00
Username404-59 5c3eb35923
Run strip in the Jenkinsfile. 2021-02-28 12:47:01 +01:00
Username404-59 ca92d6821e
Use a static libgcc when a GNU compiler is being used for building. 2021-02-28 12:37:25 +01:00
Username404-59 77b81c8481
Set CPACK_STRIP_FILES to TRUE in the CMakeLists.txt file. 2021-02-28 12:01:53 +01:00
Username404-59 a06bbc158c
Change the zsh description of the -p option. 2021-02-27 22:24:03 +01:00
Username404-59 85dc6d7675
Add basic (and incomplete) zsh completions with scripts/zsh-completion.zsh. 2021-02-27 22:17:03 +01:00
Username404-59 41dedff221
Use lzma compression for deb packages too. 2021-02-27 14:42:05 +01:00
Username404-59 3fec653cea
Compress rpm packages with lzma. 2021-02-27 14:40:52 +01:00
Username404-59 b6f2c79d5c
Bash filename completion and more! 2021-02-27 14:19:45 +01:00
Username404-59 9c31ac48e5
Use mapfile -t to fix the bash autocompletion script. 2021-02-27 13:20:41 +01:00
Username404-59 f50889ba8b
Show the usage when the -p/--printresult options are used alone. 2021-02-27 12:55:09 +01:00
Username404-59 2dc9b54e3f
Also publish the arm rpm artifacts. 2021-02-27 12:39:06 +01:00
Username404-59 e4182ed4a6
Enable rpm packaging for arm builds in the Jenkinsfile. 2021-02-27 12:37:47 +01:00
Username404-59 d421ef0cb6
Set CPACK_RPM_PACKAGE_RELEASE_DIST to ON in the CMakeLists.txt file. 2021-02-27 12:07:07 +01:00
Username404-59 6d3bb893a8
Also show the usage when the -p/--printresult options are repeated together with .ybcon files. 2021-02-26 21:58:05 +01:00
Username404-59 f5c8b6290e
Show the usage message when -p/--printresult is repeated. 2021-02-26 21:51:35 +01:00
Username404-59 36c1f17fc1
Fix the switch case instruction in scripts/ybcon.sh. 2021-02-26 21:22:16 +01:00
Username404-59 1a2550f27e
Improve the fish autocompletion. 2021-02-26 20:47:30 +01:00
Username404-59 342042282b
Fix skipArgsIteration in scripts/ybcon.sh. 2021-02-26 20:30:45 +01:00
Username404-59 a427010099
Complete scripts/fish-completion.fish, improve scripts/ybcon.sh and add a --version argument. 2021-02-26 20:28:53 +01:00
Username404-59 528d1eb36e
Show warnings on all compilers. 2021-02-26 18:51:38 +01:00
Username404-59 086649a5cd
Add a default value to the selected variable in MainTranspile.cpp. 2021-02-26 18:49:10 +01:00
Username404-59 ad2fcfd746
Add stack protection flags in the CMakeLists.txt file (only for the GNU and Clang compilers). 2021-02-26 18:05:22 +01:00
Username404-59 aeafd990e4
Fix the fish path in scripts/postinst.sh. 2021-02-26 14:24:42 +01:00
Username404-59 580500ada9
Update README.md and begin adding a fish shell autocompletion script. 2021-02-26 14:22:29 +01:00