Commit Graph

747 Commits

Author SHA1 Message Date
7a4549dafb
main.cpp: Remove useless optional usage
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-10-18 10:36:01 +02:00
7d5abdf9b5
Jenkinsfile: Add Android targets
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-17 12:00:32 +02:00
2b22029e77
Jenkinsfile: Make RPM packages for i686 instead of i386
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-16 22:06:37 +02:00
1a9b549f9b
CMakeLists.txt: Link OpenMP statically on Android
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-16 21:01:43 +02:00
8a7f556520
CMakeLists.txt: Allow PIE with UPX since it now seems to work with it
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-16 20:36:05 +02:00
8706db23b3
Yerbacon.hpp: Make sure the OpenMP headers are included when they are present
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-16 19:12:57 +02:00
3476d3c642
lexer.cpp: Rename isString to isStringDelimiter
Add a few comments in other files

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-12 13:02:36 +02:00
a8d1e6b09a
main.cpp: Add a newline to code that is given by the "--text" argument
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-08 03:14:45 +02:00
ddaf3a44d1
Parser.hpp: Prioritize missing conditions over missing body code
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-08 03:01:38 +02:00
c37f91caf3
Lua.hpp: Fix an extra space being added
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-07 00:34:27 +02:00
85a3582612
Parser.hpp: Add basic parsing of if/elseif/else statements
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-06 19:49:35 +02:00
164e5c5da3
Parser.hpp: Fix an indentation mistake
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-08-04 16:45:10 +02:00
4f99cd6cae
Jenkinsfile: Specify that emscripten 3.1.30 is known to work
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-07-27 03:53:34 +02:00
fe5de82208
Parser.hpp: Parse all references instead of properties only
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-06-21 16:57:54 +02:00
ade66e8343
main.cpp: Add emscripten support to the "--output" argument
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-06-16 12:08:54 +02:00
c1b0184b64
filefuncs.cpp: Simplify the outputFileContent function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-06-13 00:35:09 +02:00
d41d492686
main.cpp: Add a '-o'/'--output' argument
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-06-12 21:31:46 +02:00
e20e7dabdc
Parser.hpp: Add a TODO comment
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-05-07 21:58:04 +02:00
5b04eb37b0
ParseComponents.hpp: Add two missing iterator functions
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-30 16:38:41 +02:00
97f87e6822
CMakeLists.txt: Always use the "-Oz" optimization flag on emscripten since it uses clang
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 15:23:24 +02:00
7c179ea072
CMakeLists.txt: Set DYNAMIC_EXECUTION to 0 on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:56:02 +02:00
9210b92a1f
CMakeLists.txt: Always use the SIMPLE compilation level with closure
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:22:17 +02:00
8b86910998
CMakeLists.txt: Set MALLOC to 'emmalloc' on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-10 00:09:35 +02:00
17a34315e8
CMakeLists.txt: Set DEMANGLE_SUPPORT to 1 on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 23:18:17 +02:00
e35e30df96
CMakeLists.txt: Set STACK_SIZE to 8 megabytes on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 12:13:40 +02:00
ad495c2e6e
CMakeLists.txt: Set DECLARE_ASM_MODULE_EXPORTS to 1 and PROXY_TO_PTHREAD to 0 in order to fix the unlimited creation of workers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-09 01:53:22 +02:00
3ff5d67a72
CMakeLists.txt: Add a predefined pool of 3 web workers for emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-08 23:54:28 +02:00
b6a708dcc0
ReservedIdentifiers.hpp: Use std::any_of instead of std::find in the reserved function
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-04-01 21:21:46 +02:00
375f10acb3
Re-enable EXIT_RUNTIME to replace emscripten_force_exit
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-02-11 03:23:32 +01:00
f2347725e1
Yerbacon.hpp: Remove a useless "using" statement
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-22 01:30:55 +01:00
e3ae8da799
Yerbacon.hpp: Add a yerbacon_output variable to use in JavaScript
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-19 13:14:32 +01:00
1aada9d23f
main.cpp: Force runtime exit when using node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2023-01-08 01:12:54 +01:00
dedb12470e
CMakeLists.txt: Disable EXIT_RUNTIME since it does not seem to work well on web browsers and is not really needed
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-19 02:10:37 +01:00
dc380c8dcb
main.cpp: Catch exceptions when calling filesystem functions on node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-05 18:25:12 +01:00
64ef5e60ff
main.cpp: Support Windows paths on node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-05 18:24:55 +01:00
d1ebbda173
Mount the filesystem when running on node.js
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-12-04 13:50:27 +01:00
bf94b8c6eb
CMakeLists.txt: Add "-Wl,--gc-sections" to the linker flags for release builds
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-26 01:54:17 +01:00
845e9e3cb7
Revert "Jenkinsfile: Use glibc when compiling for riscv64 since the riscv64 cross-compiler doesn't seem to work"
This reverts commit 6afec609

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-25 19:44:37 +01:00
17cc3fe0b1
CMakeLists.txt: Use -Oz when it is supported on GNU or Clang compilers
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-21 14:58:32 +01:00
782fdfdcb9
CMakeLists.txt: Disable OpenMP only when using a llvm-mingw toolchain
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 11:20:31 +01:00
5c1780a9af
main.cpp: Set the number of threads used by OpenMP to one when parallel is false
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 11:01:37 +01:00
8341096773
Revert "CMakeLists.txt: Don't link against OpenMP when using static linking"
This reverts commit 1469d92b

Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-11-01 10:18:40 +01:00
4abd0408b7
Dockerfile: Use the latest released version of upx instead of a static commit hash
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-29 00:54:50 +02:00
022a0c6b62
CMakeLists.txt: Add a vercel_pkg CMake target to package the JavaScript output into executables for macOS when using emscripten and yarn (or npm)
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-07 22:59:10 +02:00
e7df484db0
CMakeLists.txt: Disable DECLARE_ASM_MODULE_EXPORTS on emscripten
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-06 16:23:18 +02:00
a828280693
Dockerfile: Update the UPX version
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-06 15:57:40 +02:00
ccff82dba0
Dockerfile: Make sure the upx repository is up-to-date
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-10-06 15:53:19 +02:00
d4af5fecd9
CMakeLists.txt: Allow memory growth on emscripten 2022-09-30 08:12:41 +02:00
cb3e1b75ae
CMakeLists.txt: Disable SAFE_HEAP when using emscripten on Android
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
2022-09-29 20:32:43 +02:00
319c30cd03
ReservedIdentifiers.hpp: Make the identifiers array's initialization strictly constant 2022-09-27 18:09:17 +02:00