Commit Graph

704 Commits

Author SHA1 Message Date
Username404 bd48d270be
Parser.hpp: Make sure the T typename propagates to the function call in the parse overload
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-08 11:06:35 +02:00
Username404 ac4df6d090
Update README.md
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-07 17:22:44 +02:00
Username404 22d1599237
Add a GodotScript target
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-07 17:22:20 +02:00
Username404 4e08c0cf05
Implement reserved identifiers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-06 15:35:21 +02:00
Username404 2ebb1d5239
main.cpp: Shorten the assignment of printResult and text_provided
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-03 01:14:58 +02:00
Username404 97fa5fbb27
main.cpp: Simplify the condition used for text or files arguments
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-07-03 01:02:26 +02:00
Username404 7baac757d2
CMakeLists.txt: Use PROJECT_NAME in more places for consistency
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-23 22:49:18 +02:00
Username404 1d33c25c56
Jenkinsfile: Remove the upx section in the tools comment
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-19 11:55:25 +02:00
Username404 219fb02a57
Jenkinsfile: Use strip only because upx does not seem to work with stripped executables and therefore can't possibly save more memory
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-19 11:52:33 +02:00
Username404 6ddf9a5dd2
Revert "Jenkinsfile: Set CPACK_STRIP_FILES to FALSE"
This reverts commit 84add6cb

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-18 14:45:59 +02:00
Username404 c7fcee143c
Jenkinsfile: Strip riscv executables
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-18 13:55:54 +02:00
Username404 f391b637a9
Jenkinsfile: Set NO_SELF_PACKER to ON when upx does not exist in the /usr/bin directory
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-16 23:05:06 +02:00
Username404 84add6cbde
Jenkinsfile: Set CPACK_STRIP_FILES to FALSE
CMakeLists.txt: Don't redefine CPACK_STRIP_FILES if it is already
defined

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 19:07:02 +02:00
Username404 89888113e7
CMakeLists.txt: Disable UPX when using a mingw toolchain, else the produced executable crashes at runtime
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:39:26 +02:00
Username404 e9468a3c7e
Jenkinsfile: Fix indentation at line 31
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:21:50 +02:00
Username404 ffb4b2bce3
Jenkinsfile: Set the timeout to 25 minutes
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:20:41 +02:00
Username404 28bac14303
Jenkinsfile: Disable UPX when compiling for the riscv architecture
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:19:58 +02:00
Username404 8923bdb12e
Jenkinsfile: Add an "Optional Tools" section to the comment
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 17:12:46 +02:00
Username404 c18e642903
Jenkinsfile: Don't run strip on executables when UPX is installed on the host
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:36:53 +02:00
Username404 a741422dbc
Jenkinsfile: Add a "build_directory" local variable
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:32:01 +02:00
Username404 faf15b4ccf
CMakeLists.txt: Add "--best" to the flags for UPX
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:26:46 +02:00
Username404 4f2f4a7fa9
CMakeLists.txt: Remove a few useless symbols in a condition
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:12:03 +02:00
Username404 7b6e2165ba
CMakeLists.txt: Find a self-packer and use it if it's found (except when CMAKE_BUILD_TYPE is set to Debug or RelWithDebInfo)
Add the --ultra-brute flag when upx is found

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-11 16:11:11 +02:00
Username404 6afec609b0
Jenkinsfile: Use glibc when compiling for riscv64 since the riscv64 cross-compiler doesn't seem to work
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 23:43:39 +02:00
Username404 70f82953f8
Jenkinsfile: Clarify the MinGW part of the "Required Compilers" section
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:58:34 +02:00
Username404 206549eb66
Jenkinsfile: Update the "Required Compilers" since musl does not seem to support std::future when cross-compiling for Windows
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:51:41 +02:00
Username404 f88ceebf3a
Jenkinsfile: Use ld when ld.gold is not available
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:41:17 +02:00
Username404 853f904528
Jenkinsfile: Link the binaries statically with muslc instead of linking them dynamically with glibc
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 22:15:55 +02:00
Username404 1469d92bdf
CMakeLists.txt: Don't link against OpenMP when using static linking
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-06-10 20:02:34 +02:00
Username404 b206dfa879
Update examples/HelloWorld.ybcon and README.md
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:44:36 +02:00
Username404 9e29ec8c29
docs/gettingstarted.md: Remove the "Main" section
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:42:55 +02:00
Username404 7ebf0ab5a4
Parser.hpp: Shorten two "if" statements
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:33:16 +02:00
Username404 46a09217fe
Parser.hpp: Prevent the reuse of identifiers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 13:32:48 +02:00
Username404 a8e514d67f
Parser.hpp: Prevent the redefinition of functions
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-26 12:09:01 +02:00
Username404 f0128bf0c3
CMakeLists.txt: Use the standard C++ exception handling model on MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-20 17:14:14 +02:00
Username404 dfb2ac8062
CMakeLists.txt: Fix template errors on MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-20 17:11:14 +02:00
Username404 dcd3354604
CMakeLists.txt: Make sure conforming mode is enabled when using MSVC
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-20 17:10:56 +02:00
Username404 16eeea2524
Target.hpp: Use reinterpret_cast instead of dynamic_cast
CMakeLists.txt: Disable the reinterpret-base-class warning when using Clang

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-18 19:17:48 +02:00
Username404 6afd81f9ba
Update README.md
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-14 18:48:16 +02:00
Username404 394fbec4c9
CMakeLists.txt: Disable the "unused command line argument" warning on MinGW toolchains
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-14 16:54:28 +02:00
Username404 617837fb91
CMakeLists.txt: Suppress the unqualified std cast call warning on clang 15 and higher
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-14 16:51:13 +02:00
Username404 7dadd216a7
CMakeLists.txt: Add "-fweb" to the flags for G++
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-14 16:42:03 +02:00
Username404 bf321d7465
CMakeLists.txt: Add "-flto-partition=none" to CMAKE_CXX_FLAGS_RELEASE when using G++ and interprocedural optimization
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-14 16:39:36 +02:00
Username404 4097b1c59a
Lua.hpp: Only output indentation when newLines is set to true
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-07 09:37:04 +02:00
Username404 de658bd032
Target.hpp: Return false by default in the uniqueLineSeparator function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-07 09:15:24 +02:00
Username404 6e35682911
Target.hpp: Don't use to_string in the Target::forName function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-07 08:51:49 +02:00
Username404 b7a22e0e51
main.cpp: Fix indentation at line 46
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-06 22:08:19 +02:00
Username404 34134dda71
Target.hpp: Simplify the Target::forName function and change its return type to unique_ptr instead of shared_ptr
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-05-06 22:06:52 +02:00
Username404 b63bf0d480
Parser.hpp: Remove an unused closingCharacter capture
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-24 01:09:33 +02:00
Username404 51b5a546c7
Parser.hpp: Remove a useless condition in the filter_comma_list function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-04-23 01:07:56 +02:00