repo
stringlengths
5
53
pr_number
int32
1
321k
task_type
stringclasses
2 values
issue_text
stringlengths
0
81.2k
pr_title
stringlengths
1
319
pr_body
stringlengths
0
105k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
gold_diff
stringlengths
0
202M
changed_files
listlengths
0
100
review_threads
listlengths
0
100
test_patch
stringlengths
0
23.4M
merged
bool
1 class
ValdikSS/GoodbyeDPI
512
comment_to_fix
Added argument --debug-exit
Пробел, пожалуйста.
c517169e944ca697873d4f044b4584724fa8fed2
868a0d59de7c5f9b397d53933380cb8386fd1f90
diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 61da21ce..15317bfe 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -187,6 +187,7 @@ static struct option long_options[] = { {"native-frag", no_argument, 0, '*' }, {"reverse-frag",no_argument, 0, '(' }, {"max-payload", optional_a...
[ "src/goodbyedpi.c" ]
[ { "comment": "Пробел, пожалуйста.", "path": "src/goodbyedpi.c", "hunk": "@@ -577,6 +578,7 @@ int main(int argc, char *argv[]) {\n ipv4_tcp, ipv4_tcp_data, ipv4_udp_data,\n ipv6_tcp, ipv6_tcp_data, ipv6_udp_data\n } packet_type;\n+ bool debug_exit=false;", "resolving_sha": "868...
true
ValdikSS/GoodbyeDPI
512
comment_to_fix
Added argument --debug-exit
Описание опции не нужно, она не для пользователя
c517169e944ca697873d4f044b4584724fa8fed2
868a0d59de7c5f9b397d53933380cb8386fd1f90
diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 61da21ce..15317bfe 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -187,6 +187,7 @@ static struct option long_options[] = { {"native-frag", no_argument, 0, '*' }, {"reverse-frag",no_argument, 0, '(' }, {"max-payload", optional_a...
[ "src/goodbyedpi.c" ]
[ { "comment": "Описание опции не нужно, она не для пользователя", "path": "src/goodbyedpi.c", "hunk": "@@ -987,6 +992,8 @@ int main(int argc, char *argv[]) {\n \" (like file transfers) in already established sessions.\\n\"\n \" ...
true
ValdikSS/GoodbyeDPI
512
comment_to_fix
Added argument --debug-exit
Тут тоже пробел
c517169e944ca697873d4f044b4584724fa8fed2
868a0d59de7c5f9b397d53933380cb8386fd1f90
diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 61da21ce..15317bfe 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -187,6 +187,7 @@ static struct option long_options[] = { {"native-frag", no_argument, 0, '*' }, {"reverse-frag",no_argument, 0, '(' }, {"max-payload", optional_a...
[ "src/goodbyedpi.c" ]
[ { "comment": "Тут тоже пробел", "path": "src/goodbyedpi.c", "hunk": "@@ -937,6 +939,9 @@ int main(int argc, char *argv[]) {\n else\n max_payload_size = 1200;\n break;\n+ case '?': // --debug-exit\n+ debug_exit=true;", "res...
true
ValdikSS/GoodbyeDPI
507
issue_to_patch
Added different return codes
aab7842a76efca044c057690a21d4f295bd9cfb5
78ae5178716b3ca4dd799a2265fc263864eaec1f
diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 664a11da..d62cb616 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -133,8 +133,18 @@ WINSOCK_API_LINKAGE INT WSAAPI inet_pton(INT Family, LPCSTR pStringBuf, PVOID pA func(w_filter, &addr, packet, packetLen, packet_v6, \ ttl_of_fake_pa...
[ "src/goodbyedpi.c" ]
[]
true
ValdikSS/GoodbyeDPI
478
issue_to_patch
Fix incorrect zhenyolka's URL in readme.md
I fixed incorrect URLs for DPI Tunnel CLI and DPI Tunnel for Android. @zhenyolka moved them to new repositories. https://github.com/zhenyolka/DPITunnel-cli -> https://github.com/nomoresat/DPITunnel-cli https://github.com/zhenyolka/DPITunnel-android -> https://github.com/nomoresat/DPITunnel-android
e463f4b4e5a78e9936a2b5ddd386e536433c309d
2b63194b7a74d26ba8859f46b17c8eface9516b0
diff --git a/README.md b/README.md index 014910d0..22f0a0bd 100644 --- a/README.md +++ b/README.md @@ -143,8 +143,8 @@ Modify them according to your own needs. - **[zapret](https://github.com/bol-van/zapret)** by @bol-van (for MacOS, Linux and Windows) - **[Green Tunnel](https://github.com/SadeghHayeri/GreenTunnel)...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
441
issue_to_patch
FIX: Comment's indexes in printf block at main function (line 979)
c4bbd0b8e2257971d4593a4a6478b1bcab253fdb
8401dfcc1a26e3012b9c8373d68c45dfc30ceb0b
diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index e3adb6a6..ba4bc469 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -981,21 +981,21 @@ int main(int argc, char *argv[]) { "Fragment persistent HTTP: %u\n" /* 3 */ "Fragment HTTPS: %u\n" /* 4 */ "F...
[ "src/goodbyedpi.c" ]
[]
true
ValdikSS/GoodbyeDPI
383
issue_to_patch
Update README.md
zapret поддерживает macos и с недавних времен windows
a1fb62ff82255e5e7aa6142a87f23f78494a64c1
bc822033641372400b02848a647a73c70798684c
diff --git a/README.md b/README.md index 6b1d237d..014910d0 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ Modify them according to your own needs. # Similar projects -- **[zapret](https://github.com/bol-van/zapret)** by @bol-van (for Linux) +- **[zapret](https://github.com/bol-van/zapret)** by @bol-va...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
379
issue_to_patch
chore: update README.md
resover -> resolver
905d3c98a69cb164102e8121ab2dad89bed99920
46e6c8f2dbd20322a1127690e2518c9776a96c11
diff --git a/README.md b/README.md index bf86af68..6b1d237d 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ To check if your ISP's DPI could be circumvented, first make sure that your prov Then run the `goodbyedpi.exe` executable without any options. If it works — congratulations! You can use it as-is or co...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
270
issue_to_patch
fix memcpy usage
```c++ char packet_bak[MAX_PACKET_SIZE]; memcpy(&packet_bak, packet, packetLen); ``` - this style is no problem with the operation, but it is confusing
4f18a732390d7e4c72c61ac2df4a26d1f2ee6ad7
54349a1c31984a78a8395c5230d1ea988cb7b2c7
diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index 7f54e9e6..f80581f7 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -474,7 +474,7 @@ static void send_native_fragment(HANDLE w_filter, WINDIVERT_ADDRESS addr, PWINDIVERT_TCPHDR ppTcpHdr, unsigned int fragment...
[ "src/goodbyedpi.c" ]
[]
true
ValdikSS/GoodbyeDPI
256
issue_to_patch
Update README.md: DPI Tunnel links
f94a20d2215dc911c98951ea2fa067ff0fa3ddc9
54f810b6b09b700dfa628f8be87b1a7743cb2098
diff --git a/README.md b/README.md index ec8da5c1..af47e70a 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,8 @@ Modify them according to your own needs. - **[zapret](https://github.com/bol-van/zapret)** by @bol-van (for Linux). - **[Green Tunnel](https://github.com/SadeghHayeri/GreenTunnel)** by @SadeghHayer...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
171
issue_to_patch
Add PowerTunnel for Android to similar projects
I found PowerTunnel here, just noticed that it has an Android version that uses VPNService.
19b777cdb27e0481dd1364996ddbddc1efcdb182
0c04f201ebee8bd7b4a551da84b0dc8acce4e500
diff --git a/README.md b/README.md index 80149a28..0e0dbb5a 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,7 @@ Modify them according to your own needs. - **[Green Tunnel](https://github.com/SadeghHayeri/GreenTunnel)** by @SadeghHayeri (for MacOS, Linux and Windows). - **[DPITunnel](https://github.com/zhenyolk...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
135
issue_to_patch
Add 'GreenTunnel' to 'Similar projects' section.
7a0b8f5229ab56f06ecc869b5e2bbab10bade3dd
7e2f782376ca84a5cd2a296b46fbb6c2e558cc84
diff --git a/README.md b/README.md index 7dd696d9..83b795c8 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,8 @@ Modify them according to your own needs. # Similar projects -[zapret](https://github.com/bol-van/zapret) by @bol-van (for Linux). +- **[zapret](https://github.com/bol-van/zapret)** by @bol-van (for ...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
121
issue_to_patch
Update README.md
add KB3033929 download link for Windows 7 x64
ff4c11a6ebe24d01f820318654b349f2085ccb9e
23485b67b4675da6a92d5e305d202a75088e9739
diff --git a/README.md b/README.md index 79c19fc6..7dd696d9 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Modify them according to your own needs. # Known issues -* Horribly outdated Windows 7 installations are not able to load WinDivert driver due to missing support for SHA256 digital signatures. Insta...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
83
issue_to_patch
Added .editorconfig
50e70ace76a0007be855dc551d133e1a0c36cb02
464bbcbb6b3fdedcbc77a84d6e5c9226e2ba61f4
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..b90d678d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,8 @@ +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +insert_final_newline = true +end_of_line = lf
[ ".editorconfig" ]
[]
true
ValdikSS/GoodbyeDPI
48
issue_to_patch
make it more usable with MSYS and linux MinGW both
5f231996d4a1d7fa2c9d7a7453054fcd8f4e2283
eff83d65083cfc16e91986a8afb272472694e9b5
diff --git a/Makefile b/Makefile index a2e896d9..83dc2b2c 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ -CPREFIX = x86_64-w64-mingw32 +ifndef MSYSTEM + CPREFIX = x86_64-w64-mingw32- +endif + WINDIVERTHEADERS = ../../include WINDIVERTLIBS = ../binary TARGET = goodbyedpi.exe -LIBS = -L $(WINDIVERTLIBS) -lWi...
[ "Makefile", "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
10
issue_to_patch
Fixed typos
4387e7c6904a3b470aca2ebc31a2d00da51d2508
13261e1a9204b51577048e76e46f8401b43606c9
diff --git a/README.md b/README.md index 7b6f27dd..82435d8e 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Use `goodbyedpi.exe -4` if it works for your ISP's DPI. This is the fastest mode ### Passive DPI -Most Passive DPI send HTTP 302 Redirect if you try to access blocked website over HTTP and TCP Reset...
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
7
issue_to_patch
bugfix: wrong config file name
Sorry, used other file names first and did not double check before commit.
f5ac7c0d67895691f18a0e25cb15fcd197ff9f29
08902b9a5735603d374d6826748a66ebdc118c52
diff --git a/README.md b/README.md index e366bac2..7b6f27dd 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ auto_restart=n ``` *srvinstall.bat* ```Batchfile -srvstart install GoodByeDPI -c %CD%\goodbyedpi-svc.ini +srvstart install GoodByeDPI -c %CD%\goodbyedpi.ini ``` *srvremove.bat* ```Batchfile
[ "README.md" ]
[]
true
ValdikSS/GoodbyeDPI
5
issue_to_patch
Update README.md
Guide to install as a windows service
d9e27f193c79514d49c594346c459288f317fdf9
ae3abff0b2ded78c1c537f761f955e4839d6a9db
diff --git a/README.md b/README.md index 8a84df43..37e069f1 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,28 @@ And for x86_64: `make CPREFIX=x86_64-w64-mingw32 WINDIVERTHEADERS=/path/to/windivert/include WINDIVERTLIBS=/path/to/windivert/amd64` +# How to install as a windows service +One way is using a progr...
[ "README.md" ]
[]
true
ValeLang/Vale
634
issue_to_patch
Fixes for ARM, VmdSiteGen, and linear types.
4009c50c54e4b25a7a0e5b6e0be7b986eafebe9d
a20de9ab8f0cc502b12e0968aa9e030b9ca17cf2
diff --git a/Backend/CMakeLists.txt b/Backend/CMakeLists.txt index ebdc4f810..8a7c2bdf0 100644 --- a/Backend/CMakeLists.txt +++ b/Backend/CMakeLists.txt @@ -31,6 +31,7 @@ set(LLVM_LINK_COMPONENTS Support IRReader Passes + aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info x86asmpar...
[ "Backend/CMakeLists.txt", "Backend/setupclion.txt", "Backend/src/vale.cpp", "Coordinator/src/build.vale", "Coordinator/src/clang.vale", "Frontend/.idea/libraries/org_scalatest_scalatest_2_12_3_0_8.xml", "Frontend/.idea/libraries/scala_reflect_2_12_8.xml", "Frontend/.idea/misc.xml", "Frontend/Builtin...
[]
diff --git a/Frontend/.idea/libraries/org_scalatest_scalatest_2_12_3_0_8.xml b/Frontend/.idea/libraries/org_scalatest_scalatest_2_12_3_0_8.xml index b208ae91e..c9193e0c6 100644 --- a/Frontend/.idea/libraries/org_scalatest_scalatest_2_12_3_0_8.xml +++ b/Frontend/.idea/libraries/org_scalatest_scalatest_2_12_3_0_8.xml @@ ...
true
ValeLang/Vale
622
issue_to_patch
Simplifying solving layer naming and params
0883036bc9d3972c60fc73b0bf9edfc2be9b3f8d
8520bc8d37f4ee4589226aa9ecaaad3fe6976219
diff --git a/Frontend/PostParsingPass/src/dev/vale/postparsing/PostParserErrorHumanizer.scala b/Frontend/PostParsingPass/src/dev/vale/postparsing/PostParserErrorHumanizer.scala index 5579a24ca..33a9d7355 100644 --- a/Frontend/PostParsingPass/src/dev/vale/postparsing/PostParserErrorHumanizer.scala +++ b/Frontend/PostPar...
[ "Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala", "Frontend/PostParsingPass/src/dev/vale/postparsing/PostParserErrorHumanizer.scala", "Frontend/TypingPass/src/dev/vale/typing/ArrayCompiler.scala", "Frontend/TypingPass/src/dev/vale/typing/Compiler.scala", "Frontend/TypingPass/src/...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala b/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala index db2535739..f0f8f371c 100644 --- a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala +++ b/Frontend/IntegrationTests/test/dev...
true
ValeLang/Vale
621
issue_to_patch
Regions merge: forwarding pure block and using new augment logic
ea2d118c25bbb3498fae5f62ae60d54719a8f04c
618813914b7771db3489e97740b72e9d3c19b460
diff --git a/Frontend/TypingPass/src/dev/vale/typing/ArrayCompiler.scala b/Frontend/TypingPass/src/dev/vale/typing/ArrayCompiler.scala index dc11cee85..c2a7d0a8a 100644 --- a/Frontend/TypingPass/src/dev/vale/typing/ArrayCompiler.scala +++ b/Frontend/TypingPass/src/dev/vale/typing/ArrayCompiler.scala @@ -533,17 +533,18 ...
[ "Frontend/TypingPass/src/dev/vale/typing/ArrayCompiler.scala", "Frontend/TypingPass/src/dev/vale/typing/TemplataCompiler.scala", "Frontend/TypingPass/src/dev/vale/typing/ast/ast.scala", "Frontend/TypingPass/src/dev/vale/typing/citizen/ImplCompiler.scala", "Frontend/TypingPass/src/dev/vale/typing/citizen/Str...
[]
true
ValeLang/Vale
620
issue_to_patch
Regions merge: Pulled coercing logic into higher typing phase
c95cd4b9a9a9766d73d7439ccdbdedcc3b8ed0b0
b84a3aed5961eb47cfce5826370c05d1f251d9ae
diff --git a/Frontend/Builtins/src/dev/vale/Builtins.scala b/Frontend/Builtins/src/dev/vale/Builtins.scala index 79742a503..2e26f9895 100644 --- a/Frontend/Builtins/src/dev/vale/Builtins.scala +++ b/Frontend/Builtins/src/dev/vale/Builtins.scala @@ -20,6 +20,9 @@ object Builtins { "runtime_sized_array_push" -> "r...
[ "Frontend/Builtins/src/dev/vale/Builtins.scala", "Frontend/Builtins/src/dev/vale/resources/arrays.vale", "Frontend/Builtins/src/dev/vale/resources/runtime_sized_array_capacity.vale", "Frontend/Builtins/src/dev/vale/resources/runtime_sized_array_mut_drop.vale", "Frontend/Builtins/src/dev/vale/resources/stati...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/IntegrationTestsA.scala b/Frontend/IntegrationTests/test/dev/vale/IntegrationTestsA.scala index aa8ed299d..fa263ef07 100644 --- a/Frontend/IntegrationTests/test/dev/vale/IntegrationTestsA.scala +++ b/Frontend/IntegrationTests/test/dev/vale/IntegrationTestsA.scala @@ ...
true
ValeLang/Vale
619
issue_to_patch
Regions merge: tuples, function returns, incremental solves
bf1d85af0ce04de3807f7b6c494d60d9f6a2900f
3cd61b901c43959e057a713e56d615e687c4798c
diff --git a/Frontend/Builtins/src/dev/vale/Builtins.scala b/Frontend/Builtins/src/dev/vale/Builtins.scala index 2b9d35dd7..79742a503 100644 --- a/Frontend/Builtins/src/dev/vale/Builtins.scala +++ b/Frontend/Builtins/src/dev/vale/Builtins.scala @@ -23,7 +23,10 @@ object Builtins { "mainargs" -> "mainargs.vale", ...
[ "Frontend/Builtins/src/dev/vale/Builtins.scala", "Frontend/Builtins/src/dev/vale/resources/tup.vale", "Frontend/Builtins/src/dev/vale/resources/tup0.vale", "Frontend/Builtins/src/dev/vale/resources/tup1.vale", "Frontend/Builtins/src/dev/vale/resources/tup2.vale", "Frontend/Builtins/src/dev/vale/resources/...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala b/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala index 839d30bf6..db2535739 100644 --- a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala +++ b/Frontend/IntegrationTests/test/dev...
true
ValeLang/Vale
618
issue_to_patch
Merging from regions
922b53bcd6dfc7f5040e9368c7c3a245bd78a949
5b89240180c84467f65db957de9a4f722ff7560c
diff --git a/Backend/src/region/rcimm/rcimm.cpp b/Backend/src/region/rcimm/rcimm.cpp index 28a9ea999..fb1ee08f9 100644 --- a/Backend/src/region/rcimm/rcimm.cpp +++ b/Backend/src/region/rcimm/rcimm.cpp @@ -660,6 +660,7 @@ void RCImm::pushRuntimeSizedArrayNoBoundsCheck( auto arrayWrapperPtrLE = toWrapperPtr(function...
[ "Backend/src/region/rcimm/rcimm.cpp", "Coordinator/src/build.vale", "Coordinator/src/clang.vale", "Coordinator/src/midas.vale", "Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala", "Frontend/IntegrationTests/test/dev/vale/IntegrationTestsA.scala", "Frontend/ParsingPass/test/dev/vale/parsing/Expre...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala b/Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala index f36533b49..ca2dbabe2 100644 --- a/Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala +++ b/Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala @@ -5,7 +5,7 @@ import dev.vale...
true
ValeLang/Vale
617
issue_to_patch
Regions merges: callLocation, renames, imports
fbb92e9c135b76c94a0d3feb5c7dc847f0a1673c
0440574f7d2b1bedd19c14882de8280ecc75f042
diff --git a/Frontend/FinalAST/src/dev/vale/finalast/ast.scala b/Frontend/FinalAST/src/dev/vale/finalast/ast.scala index e16e2066e..eccc711a8 100644 --- a/Frontend/FinalAST/src/dev/vale/finalast/ast.scala +++ b/Frontend/FinalAST/src/dev/vale/finalast/ast.scala @@ -96,7 +96,7 @@ case class ProgramH( } def lookupFu...
[ "Frontend/FinalAST/src/dev/vale/finalast/ast.scala", "Frontend/HigherTypingPass/src/dev/vale/highertyping/HigherTypingPass.scala", "Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala", "Frontend/HigherTypingPass/test/dev/vale/highertyping/HigherTypingPassTests.scala", "Frontend/Instantiat...
[]
diff --git a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala b/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala index 4726b47b8..b6c187247 100644 --- a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala +++ b/Frontend/HigherTypingPass/test/dev/vale/highertyp...
true
ValeLang/Vale
611
issue_to_patch
Merge regions context parameter
3bb8080809d832deaaa47d3fec9c0120cfde94da
88f1cae072a1c10ff4be9e0bf124f328b17a1033
diff --git a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala b/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala index 471053d40..eee36b25f 100644 --- a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala +++ b/Frontend/InstantiatingPass/src/dev/vale/...
[ "Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala", "Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala", "Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala", "Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala", "Frontend/IntegrationTests/test/...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala b/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala index 2e1ed683e..839d30bf6 100644 --- a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala +++ b/Frontend/IntegrationTests/test/dev...
true
ValeLang/Vale
608
issue_to_patch
Merging regions: Function/kind exports and externs
215dc379b1d2b1c4d4df1f0e0bd09be58c5f33d7
01f328e8fdb5a8f051f7a11a6d19830a372597f7
diff --git a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala b/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala index 7bb7a96fe..695ddbf1e 100644 --- a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala +++ b/Frontend/InstantiatingPass/src/dev/vale/...
[ "Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala", "Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala", "Frontend/IntegrationTests/test/dev/vale/InferTemplateTests.scala", "Frontend/SimplifyingPass/src/dev/vale/simplifying/Hammer.scala", "Frontend/TypingPass/src/dev/vale/ty...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala b/Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala index 80e29e793..e260b37ba 100644 --- a/Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala +++ b/Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala @@ -242,12 +242,12 @@ c...
true
ValeLang/Vale
610
issue_to_patch
Merging in regions branch's instantiator stage
86e53374ff24325611999a4989ae07951c2979ab
dce4494db26bccf0e683caf9bafcfdf9754c493d
diff --git a/Frontend/Builtins/src/dev/vale/Builtins.scala b/Frontend/Builtins/src/dev/vale/Builtins.scala index d7c2af7ae..2b9d35dd7 100644 --- a/Frontend/Builtins/src/dev/vale/Builtins.scala +++ b/Frontend/Builtins/src/dev/vale/Builtins.scala @@ -16,11 +16,17 @@ object Builtins { "drop" -> "drop.vale", ...
[ "Frontend/Builtins/src/dev/vale/Builtins.scala", "Frontend/Builtins/src/dev/vale/resources/arith.vale", "Frontend/Builtins/src/dev/vale/resources/arrays.vale", "Frontend/Builtins/src/dev/vale/resources/opt.vale", "Frontend/Builtins/src/dev/vale/resources/panic.vale", "Frontend/Builtins/src/dev/vale/resour...
[]
diff --git a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala b/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala index f173a4df2..4726b47b8 100644 --- a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala +++ b/Frontend/HigherTypingPass/test/dev/vale/highertyp...
true
ValeLang/Vale
609
issue_to_patch
Fix typo in path.vale
non-existant -> non-existent
215dc379b1d2b1c4d4df1f0e0bd09be58c5f33d7
55a30c1d2ae48927f495c4c7d2f946588391fe98
diff --git a/stdlib/src/path/path.vale b/stdlib/src/path/path.vale index 266c727fc..a80dfd4cf 100644 --- a/stdlib/src/path/path.vale +++ b/stdlib/src/path/path.vale @@ -23,7 +23,7 @@ exported struct Path { } func resolve(self &Path) Path { if not self.exists() { - panic("Error: used resolve() on a non-existant ...
[ "stdlib/src/path/path.vale" ]
[]
true
ValeLang/Vale
607
issue_to_patch
Regions merge: Adding LocationInDenizen
3d35a5a3fe28e191f2e31680fead216c8bef4d85
23f204252ce97a8f02a74dc7dbfa6296d6089a0f
diff --git a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala b/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala index 50ba9bfff..7bb7a96fe 100644 --- a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala +++ b/Frontend/InstantiatingPass/src/dev/vale/...
[ "Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala", "Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala", "Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala", "Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala", "Frontend/IntegrationTests/test/...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala b/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala index 8cd2a7932..72f6f5a6e 100644 --- a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala +++ b/Frontend/IntegrationTests/test/dev...
true
ValeLang/Vale
604
issue_to_patch
Merging regions: added coord region, populated with GlobalRegionT
3d35a5a3fe28e191f2e31680fead216c8bef4d85
e2e805aa2001839eb490337b2334b2103ad7f8ba
diff --git a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala b/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala index 50ba9bfff..c021396b1 100644 --- a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala +++ b/Frontend/InstantiatingPass/src/dev/vale/...
[ "Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala", "Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala", "Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala", "Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala", "Frontend/IntegrationTests/test/...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala b/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala index 8cd2a7932..72f6f5a6e 100644 --- a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala +++ b/Frontend/IntegrationTests/test/dev...
true
ValeLang/Vale
606
issue_to_patch
Regions merge: KindPlaceholderNameT, IInDenizenEnvironment
d0ccacac8f93fd48f1d09fcc4a79d15655f5e99a
db70e55cc47ffe3b73c32f3d36f8fbe5b69cff76
diff --git a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala b/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala index cc12a8098..50ba9bfff 100644 --- a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala +++ b/Frontend/InstantiatingPass/src/dev/vale/...
[ "Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala", "Frontend/IntegrationTests/test/dev/vale/PatternTests.scala", "Frontend/SimplifyingPass/src/dev/vale/simplifying/NameHammer.scala", "Frontend/SimplifyingPass/src/dev/vale/simplifying/TypeHammer.scala", "Frontend/TypingPass/src/dev/v...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/PatternTests.scala b/Frontend/IntegrationTests/test/dev/vale/PatternTests.scala index b6b47a151..8797d977b 100644 --- a/Frontend/IntegrationTests/test/dev/vale/PatternTests.scala +++ b/Frontend/IntegrationTests/test/dev/vale/PatternTests.scala @@ -6,7 +6,7 @@ import ...
true
ValeLang/Vale
603
issue_to_patch
Merging renames from regions branch
561c0f4431a509da8ad79f718679dc6cab76e230
d9701674ce52d940f690fc46108e82b39c30cda8
diff --git a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala b/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala index c36409a56..cc12a8098 100644 --- a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala +++ b/Frontend/InstantiatingPass/src/dev/vale/...
[ "Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala", "Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala", "Frontend/IntegrationTests/test/dev/vale/ArrayTests.scala", "Frontend/IntegrationTests/test/dev/vale/ClosureTests.scala", "Frontend/IntegrationTests/test/...
[]
diff --git a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala b/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala index 6fc4645bd..8cd2a7932 100644 --- a/Frontend/IntegrationTests/test/dev/vale/AfterRegionsIntegrationTests.scala +++ b/Frontend/IntegrationTests/test/dev...
true
ValeLang/Vale
605
issue_to_patch
Merging regions parser + highertyper
a96aa3d0455b57cd8ebfef6be36c13070eba966f
ba5933c46f40766c1581d4a2049b448c4c73e54c
diff --git a/Coordinator/src/main.vale b/Coordinator/src/main.vale index 4cc1d22d7..9694043ba 100644 --- a/Coordinator/src/main.vale +++ b/Coordinator/src/main.vale @@ -14,8 +14,14 @@ exported func main() { all_args = all_args_list.toImmArray(); - // TODO: perhaps use FindProgramInPath if resolve can't find thi...
[ "Coordinator/src/main.vale", "Frontend/HigherTypingPass/src/dev/vale/highertyping/AstronomerErrorReporter.scala", "Frontend/HigherTypingPass/src/dev/vale/highertyping/HigherTypingPass.scala", "Frontend/HigherTypingPass/src/dev/vale/highertyping/Textifier.scala", "Frontend/HigherTypingPass/src/dev/vale/highe...
[]
diff --git a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala b/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala index 0a02031b2..f173a4df2 100644 --- a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala +++ b/Frontend/HigherTypingPass/test/dev/vale/highertyp...
true
ValeLang/Vale
601
issue_to_patch
Fixing PATH issue
aa150813de719af1011168a9de1267d93ef474c3
663429c3f14d0be5a6c18a2bce3e1e09e3eba1e7
diff --git a/Coordinator/src/main.vale b/Coordinator/src/main.vale index b85a669f4..68c193138 100644 --- a/Coordinator/src/main.vale +++ b/Coordinator/src/main.vale @@ -14,8 +14,14 @@ exported func main() { all_args = all_args_list.toImmArray(); - // TODO: perhaps use FindProgramInPath if resolve can't find thi...
[ "Coordinator/src/main.vale", "Frontend/TypingPass/src/dev/vale/typing/CompilerErrorHumanizer.scala", "stdlib/src/path/path.vale" ]
[]
true
ValeLang/Vale
596
issue_to_patch
Misc fixes for self-hosting
258fd50eff71ef37525eeffa41617b819aab76d3
5d0e6a6c8c83afc8589c17d3052a70bfbe449b13
diff --git a/Coordinator/src/build.vale b/Coordinator/src/build.vale index a6a673265..f4ab288b1 100644 --- a/Coordinator/src/build.vale +++ b/Coordinator/src/build.vale @@ -206,6 +206,12 @@ func build_stuff(compiler_dir &Path, all_args &Array<imm, str>) { "Whether to always gen-check, even if known live is t...
[ "Coordinator/src/build.vale", "Coordinator/src/main.vale", "Frontend/SimplifyingPass/src/dev/vale/simplifying/Hamuts.scala", "README.md", "scripts/mac/install-compiler-prereqs.sh", "scripts/ubuntu/install-compiler-prereqs.sh", "scripts/windows/install-compiler-prereqs.bat", "stdlib/src/flagger/flagger...
[]
true
ValeLang/Vale
595
issue_to_patch
print_mem_overhead + misc
d2b25c9c4eff64c407b9155fb2a4261901761650
eca4498d33f6d6c7bb931c10c899db1ee7a2fb84
diff --git a/Backend/src/valeopts.cpp b/Backend/src/valeopts.cpp index 60dfb5d90..89c43e795 100644 --- a/Backend/src/valeopts.cpp +++ b/Backend/src/valeopts.cpp @@ -269,9 +269,9 @@ int valeOptSet(ValeOptions *opt, int *argc, char **argv) { case OPT_PRINT_MEM_OVERHEAD: { if (!s.arg_val) { ...
[ "Backend/src/valeopts.cpp", "Coordinator/src/build.vale", "Coordinator/src/main.vale", "Coordinator/src/midas.vale", "Tester/src/main.vale", "scripts/VERSION" ]
[]
true
ValeLang/Vale
594
issue_to_patch
Updates for VmdSiteGen
6cc3c26fc9a1ba39984a44d70c84f50653209fc2
e7d4fd5a698d2056f0f9a210a0e69f17f7c0ba89
diff --git a/Coordinator/src/main.vale b/Coordinator/src/main.vale index d69df2bf9..a1307aab5 100644 --- a/Coordinator/src/main.vale +++ b/Coordinator/src/main.vale @@ -9,7 +9,7 @@ exported func main() { i = 0; while (i < numMainArgs()) { all_args_list.add(getMainArg(i)); - mut i = i + 1; + set i = i +...
[ "Coordinator/src/main.vale", "Frontend/SimplifyingPass/src/dev/vale/simplifying/Hamuts.scala", "scripts/VERSION" ]
[]
true
ValeLang/Vale
589
issue_to_patch
Simplifications preparing for regions, LLVM14->16
aa14c7bdeb4f67a1522f0e967f1ba9729e0b2eb0
e32ff66b12280529a892a640e70c36a307930665
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..cf556a2fb --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +.* +**/*.idea +**/*.md +**/*.bat +**/.gitignore +**/.git +**/.DS_Store + +Backend/build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77ed6b063..785b7bb7...
[ ".dockerignore", ".github/workflows/ci.yml", ".gitignore", "Backend/CMakeLists.txt", "Backend/builtins/stdio.c", "Backend/src/determinism/determinism.cpp", "Backend/src/determinism/determinism.h", "Backend/src/externs.cpp", "Backend/src/externs.h", "Backend/src/function/expression.cpp", "Backend...
[]
diff --git a/Backend/test/testbuiltins.c b/Backend/test/testbuiltins.c index fb4c91457..7d0a3b6cc 100644 --- a/Backend/test/testbuiltins.c +++ b/Backend/test/testbuiltins.c @@ -27,8 +27,8 @@ void myInvalidParameterHandler(const wchar_t* expression, #endif int64_t incrementIntFile(const char* filename) { - printf("...
true
ValeLang/Vale
590
issue_to_patch
Docker CI and IDEA fixes
dbb8a04079cc4da4e048485d1ffd47950e75c8b6
e1943ebcba1e32e32371e64e3a7456848c3f6c79
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99427deaf..464e3808b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: - name: Build docker image run: docker build -t valec --build-arg VALE_DIR=. --file scripts/docker/Dockerfile . ...
[ ".github/workflows/ci.yml", ".gitignore", "Frontend/.idea/artifacts/CompileServer_jar.xml", "Frontend/.idea/artifacts/Valestrom_jar.xml", "Frontend/.idea/modules.xml", "Frontend/.idea/modules/Frontend-build.iml", "Frontend/.idea/modules/Frontend.iml", "Frontend/.idea/sbt.xml", "Frontend/.idea/scala_...
[]
true
ValeLang/Vale
587
issue_to_patch
Patching removal of some renegade compiler printouts
0d14cde8e07c7a4637630c9df5a19e53b3ad4ddf
3d17c36d1c1c15f8baecdf4589dd17135f6db5c4
diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..cf556a2fb --- /dev/null +++ b/.dockerignore @@ -0,0 +1,9 @@ +.* +**/*.idea +**/*.md +**/*.bat +**/.gitignore +**/.git +**/.DS_Store + +Backend/build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8474d395f..99427dea...
[ ".dockerignore", ".github/workflows/ci.yml", "Backend/CMakeLists.txt", "Backend/builtins/stdio.c", "Backend/src/determinism/determinism.cpp", "Backend/src/externs.cpp", "Backend/src/externs.h", "Backend/src/function/expression.cpp", "Backend/src/function/expressions/externs.cpp", "Backend/src/func...
[]
diff --git a/Backend/test/testbuiltins.c b/Backend/test/testbuiltins.c index fb4c91457..7d0a3b6cc 100644 --- a/Backend/test/testbuiltins.c +++ b/Backend/test/testbuiltins.c @@ -27,8 +27,8 @@ void myInvalidParameterHandler(const wchar_t* expression, #endif int64_t incrementIntFile(const char* filename) { - printf("...
true
ValeLang/Vale
583
issue_to_patch
Added parsing of isolates.
Added a flag for controlling whether to use the simple solver. Took out some rogue prints in backend.
1a7c910005faa3f54920e92bf154cb0eeb0a028d
c802a562810bfe721a15877065111726fd8cf422
diff --git a/Backend/src/utils/structlt.cpp b/Backend/src/utils/structlt.cpp index 2abb9b76c..7edeac57f 100644 --- a/Backend/src/utils/structlt.cpp +++ b/Backend/src/utils/structlt.cpp @@ -17,22 +17,22 @@ LLVMValueRef buildCompressStructInner( LLVMValueRef resultLE = LLVMConstInt(bigIntLT, 0, false); for (int i...
[ "Backend/src/utils/structlt.cpp", "Frontend/LexingPass/src/dev/vale/lexing/errors.scala", "Frontend/ParsingPass/src/dev/vale/parsing/ParsedLoader.scala", "Frontend/ParsingPass/src/dev/vale/parsing/Parser.scala", "Frontend/ParsingPass/src/dev/vale/parsing/ParserVonifier.scala", "Frontend/ParsingPass/src/de...
[]
diff --git a/Frontend/ParsingPass/test/dev/vale/parsing/TopLevelTests.scala b/Frontend/ParsingPass/test/dev/vale/parsing/TopLevelTests.scala index 6c71c5fce..c96a8483b 100644 --- a/Frontend/ParsingPass/test/dev/vale/parsing/TopLevelTests.scala +++ b/Frontend/ParsingPass/test/dev/vale/parsing/TopLevelTests.scala @@ -186...
true
ValeLang/Vale
580
issue_to_patch
init llvm components for wasm
1a4d7a2bd8957ead02a5d13b80e5833b313740f2
d16bb710aadee52419c12a4958ad790176a953ac
diff --git a/Backend/CMakeLists.txt b/Backend/CMakeLists.txt index 6a30425f2..fda08629d 100644 --- a/Backend/CMakeLists.txt +++ b/Backend/CMakeLists.txt @@ -31,6 +31,7 @@ set(LLVM_LINK_COMPONENTS Support IRReader x86asmparser x86codegen x86desc x86disassembler x86info + webassemblyasmparser webassemblycodegen...
[ "Backend/CMakeLists.txt", "Backend/src/mainFunction.cpp", "Backend/src/vale.cpp" ]
[]
true
ValeLang/Vale
582
issue_to_patch
Upgraded lexer and parser to support regions
1a4d7a2bd8957ead02a5d13b80e5833b313740f2
eaf847b25ea5b88745fa690303fbbd1338f6832d
diff --git a/Frontend/Builtins/src/dev/vale/resources/arrays.vale b/Frontend/Builtins/src/dev/vale/resources/arrays.vale index d705279a4..ba8ce136b 100644 --- a/Frontend/Builtins/src/dev/vale/resources/arrays.vale +++ b/Frontend/Builtins/src/dev/vale/resources/arrays.vale @@ -50,25 +50,6 @@ func len<M Mutability, V Var...
[ "Frontend/Builtins/src/dev/vale/resources/arrays.vale", "Frontend/Highlighter/src/dev/vale/highlighter/Spanner.scala", "Frontend/LexingPass/src/dev/vale/lexing/Lexer.scala", "Frontend/LexingPass/src/dev/vale/lexing/LexingIterator.scala", "Frontend/LexingPass/src/dev/vale/lexing/ast.scala", "Frontend/Lexin...
[]
diff --git a/Frontend/ParsingPass/test/dev/vale/parsing/IfTests.scala b/Frontend/ParsingPass/test/dev/vale/parsing/IfTests.scala index 9ab6b6253..1873b0c23 100644 --- a/Frontend/ParsingPass/test/dev/vale/parsing/IfTests.scala +++ b/Frontend/ParsingPass/test/dev/vale/parsing/IfTests.scala @@ -13,11 +13,11 @@ class IfTes...
true
ValeLang/Vale
579
issue_to_patch
Now incrementally adds placeholders for identifying runes
1a4d7a2bd8957ead02a5d13b80e5833b313740f2
66ecbb0360e9cb3cfdd0abcf2ca82c9c2d9ec1ee
diff --git a/Frontend/PostParsingPass/src/dev/vale/postparsing/IdentifiabilitySolver.scala b/Frontend/PostParsingPass/src/dev/vale/postparsing/IdentifiabilitySolver.scala index a12e81fb6..472076c98 100644 --- a/Frontend/PostParsingPass/src/dev/vale/postparsing/IdentifiabilitySolver.scala +++ b/Frontend/PostParsingPass/...
[ "Frontend/PostParsingPass/src/dev/vale/postparsing/IdentifiabilitySolver.scala", "Frontend/PostParsingPass/src/dev/vale/postparsing/RuneTypeSolver.scala", "Frontend/PostParsingPass/test/dev/vale/postparsing/PostParserVariableTests.scala", "Frontend/Solver/src/dev/vale/solver/OptimizedSolverState.scala", "Fr...
[]
diff --git a/Frontend/PostParsingPass/test/dev/vale/postparsing/PostParserVariableTests.scala b/Frontend/PostParsingPass/test/dev/vale/postparsing/PostParserVariableTests.scala index 4d693979c..82a069dfb 100644 --- a/Frontend/PostParsingPass/test/dev/vale/postparsing/PostParserVariableTests.scala +++ b/Frontend/PostPar...
true
ValeLang/Vale
581
issue_to_patch
Added pie option to coordinator
1a4d7a2bd8957ead02a5d13b80e5833b313740f2
f5b48d3dac5496e01d01c5d1dffa78b66bc9e47c
diff --git a/Coordinator/src/build.vale b/Coordinator/src/build.vale index 62fdb71a5..9012685c3 100644 --- a/Coordinator/src/build.vale +++ b/Coordinator/src/build.vale @@ -140,6 +140,12 @@ func build_stuff(compiler_dir &Path, all_args &Array<imm, str>) { "Whether to use position independent code.", ...
[ "Coordinator/src/build.vale", "Coordinator/src/clang.vale", "Frontend/Builtins/src/dev/vale/resources/arrays.vale", "Frontend/PostParsingPass/src/dev/vale/postparsing/IdentifiabilitySolver.scala", "Frontend/PostParsingPass/src/dev/vale/postparsing/RuneTypeSolver.scala", "Frontend/PostParsingPass/test/dev/...
[]
diff --git a/Frontend/PostParsingPass/test/dev/vale/postparsing/PostParserVariableTests.scala b/Frontend/PostParsingPass/test/dev/vale/postparsing/PostParserVariableTests.scala index 4d693979c..82a069dfb 100644 --- a/Frontend/PostParsingPass/test/dev/vale/postparsing/PostParserVariableTests.scala +++ b/Frontend/PostPar...
true
ValeLang/Vale
574
issue_to_patch
Added pic flag to old build
847b69464a3a4b55213fc82514c4350408cb9f34
9944d5f87af6c56ab3da0d33b79d0fa63c4cfd79
diff --git a/Coordinator/src/build.vale b/Coordinator/src/build.vale index badee6706..9f17e07d3 100644 --- a/Coordinator/src/build.vale +++ b/Coordinator/src/build.vale @@ -517,6 +517,7 @@ func build_stuff(compiler_dir &Path, all_args &Array<imm, str>) { &executable_name, asan, debug_sy...
[ "Coordinator/src/build.vale", "Coordinator/src/clang.vale" ]
[]
true
ValeLang/Vale
578
issue_to_patch
Updated bootstrapping compiler
03e6c7699fab30de72a7b1e5be7cb2071d2d481c
9ecafbbcd18bad1cbcb12b747f40714d1a80291c
diff --git a/Coordinator/src/clang.vale b/Coordinator/src/clang.vale index 0cbf79168..8abb3324c 100644 --- a/Coordinator/src/clang.vale +++ b/Coordinator/src/clang.vale @@ -53,8 +53,8 @@ Subprocess { args.add("-g"); } - if pic { - args.add("-fpic"); + if (pic) { + args.add("-fPIC"); } if (asan...
[ "Coordinator/src/clang.vale", "Coordinator/src/main.vale", "Tester/src/main.vale", "Utils/src/stdlibfixes.vale", "scripts/mac/install-compiler-prereqs.sh", "scripts/ubuntu/install-compiler-prereqs.sh", "scripts/windows/install-compiler-prereqs.bat", "stdlib/src/command/command.vale", "stdlib/src/com...
[]
true
ValeLang/Vale
577
issue_to_patch
Bumped stable to 0.2.0.21
8e16fe9dcf309bbeec1d191918553926b9ea9a13
1fbcc1448c159523fa714eb7daecec76ffa0f591
diff --git a/scripts/VERSION b/scripts/VERSION index 987c1b254..cac3c94b1 100644 --- a/scripts/VERSION +++ b/scripts/VERSION @@ -1,1 +1,1 @@ -0.2.0.20 \ No newline at end of file +0.2.0.23 \ No newline at end of file diff --git a/scripts/mac/build-compiler.sh b/scripts/mac/build-compiler.sh index 8b2c3f807..05fde931f 1...
[ "scripts/VERSION", "scripts/mac/build-compiler.sh", "scripts/mac/install-compiler-prereqs.sh", "stdlib/src/command/command.vale", "stdlib/src/command/native/subprocess.c", "stdlib/src/command/native/subprocess.h", "stdlib/src/optutils/optutils.vale" ]
[]
true
ValeLang/Vale
576
issue_to_patch
Bumped stable to 0.2.0.20
2dbcd14a77e7de174cb98f12494e4ce6e6f088e7
70cf4dd870cd6d4203bcd8510b7480aff365478a
diff --git a/scripts/VERSION b/scripts/VERSION index 16f45ffb1..987c1b254 100644 --- a/scripts/VERSION +++ b/scripts/VERSION @@ -1,1 +1,1 @@ -0.2.0.17 +0.2.0.20 \ No newline at end of file
[ "scripts/VERSION" ]
[]
true
ValeLang/Vale
573
issue_to_patch
Pre-parser knows denizen types, coercion now happens in higher-typing pass.
847b69464a3a4b55213fc82514c4350408cb9f34
d182b45c3b53ce82234c240a8d4541444961101c
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 60f5d6fac..77ed6b063 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [master] + branches: [master, stable] pull_request: - branches: [master] + branches: [maste...
[ ".github/workflows/ci.yml", "Frontend/Builtins/src/dev/vale/resources/arrays.vale", "Frontend/Builtins/src/dev/vale/resources/migrate.vale", "Frontend/HigherTypingPass/src/dev/vale/highertyping/AstronomerErrorReporter.scala", "Frontend/HigherTypingPass/src/dev/vale/highertyping/HigherTypingPass.scala", "F...
[]
diff --git a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala b/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala index ce299e9b1..bc8a148a9 100644 --- a/Frontend/HigherTypingPass/test/dev/vale/highertyping/ErrorTests.scala +++ b/Frontend/HigherTypingPass/test/dev/vale/highertyp...
true
ValeLang/Vale
572
issue_to_patch
Post-parsing refactoring
61b00d069beb17719d9768c18b7963c23e5ac091
32e07434a93c3b0edf3fbb9c69c57b9c1c17475d
diff --git a/Frontend/PostParsingPass/src/dev/vale/postparsing/FunctionScout.scala b/Frontend/PostParsingPass/src/dev/vale/postparsing/FunctionScout.scala index 2954da059..a56dc552c 100644 --- a/Frontend/PostParsingPass/src/dev/vale/postparsing/FunctionScout.scala +++ b/Frontend/PostParsingPass/src/dev/vale/postparsing...
[ "Frontend/PostParsingPass/src/dev/vale/postparsing/FunctionScout.scala", "Frontend/PostParsingPass/src/dev/vale/postparsing/PostParser.scala" ]
[]
true
ValeLang/Vale
571
issue_to_patch
Made it so placeholders remember the original rune they came from.
57f92fbbb118bcdb03e830f4684cfba9ce0533cd
e4f9e44961c88687deb123afbff4ad51182f0825
diff --git a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala b/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala index 5998c7248..ab981502e 100644 --- a/Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala +++ b/Frontend/InstantiatingPass/src/dev/vale/...
[ "Frontend/InstantiatingPass/src/dev/vale/instantiating/Instantiator.scala", "Frontend/PostParsingPass/src/dev/vale/postparsing/names.scala", "Frontend/TypingPass/src/dev/vale/typing/ArrayCompiler.scala", "Frontend/TypingPass/src/dev/vale/typing/Compiler.scala", "Frontend/TypingPass/src/dev/vale/typing/Compi...
[]
diff --git a/Frontend/TypingPass/test/dev/vale/typing/CompilerSolverTests.scala b/Frontend/TypingPass/test/dev/vale/typing/CompilerSolverTests.scala index 79a8a8a98..96579fbba 100644 --- a/Frontend/TypingPass/test/dev/vale/typing/CompilerSolverTests.scala +++ b/Frontend/TypingPass/test/dev/vale/typing/CompilerSolverTes...
true
ValeLang/Vale
570
issue_to_patch
update mac install-compiler-prereqs.sh path
d61c63ec6392c29274dafca35d4884c968cf7b78
2812365cb352ad50bdc8d57c61c862591ed8ac43
diff --git a/build-compiler.md b/build-compiler.md index ab924b6eb..c6e60089a 100644 --- a/build-compiler.md +++ b/build-compiler.md @@ -22,7 +22,7 @@ cd Vale ```sh git clone --single-branch --branch master https://github.com/ValeLang/Vale -Vale/install-compiler-prereqs-mac.sh ~/BootstrappingValeCompiler +Vale/scri...
[ "build-compiler.md" ]
[]
true
ValeLang/Vale
569
issue_to_patch
Added pic flag
c3fd0f7b75dcafd17f2db48f165990828beb8916
8e375f1e0482c958b383636e020d4513a28a5a3e
diff --git a/Coordinator/src/build.vale b/Coordinator/src/build.vale index 74561a5a6..62fdb71a5 100644 --- a/Coordinator/src/build.vale +++ b/Coordinator/src/build.vale @@ -512,7 +512,8 @@ func build_stuff(compiler_dir &Path, all_args &Array<imm, str>) { &executable_name, asan, debug_sy...
[ "Coordinator/src/build.vale", "Coordinator/src/clang.vale" ]
[]
true
ValeLang/Vale
568
issue_to_patch
Upgrades to LLVM 14
e872b4aa816e7c319d3c358241481af4fdb76c38
a8eb479f7ee6a4e56dce2d3b2a6a3a834a04be9b
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fda144887..60f5d6fac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,9 @@ jobs: distribution: adopt java-version: 11 - name: install prereqs - run: cmd /c '.\scripts\windows\insta...
[ ".github/workflows/ci.yml", "Backend/CMakeLists.txt", "Backend/src/determinism/determinism.cpp", "Backend/src/region/linear/linear.cpp", "Backend/src/utils/structlt.cpp", "Coordinator/src/build.vale", "Frontend/.idea/modules.xml", "Frontend/Builtins/src/dev/vale/resources/opt.vale", "Frontend/Builti...
[]
diff --git a/Frontend/Monomorphizing/test/dev/vale/monomorphizing/MonomorphizingTests.scala b/Frontend/InstantiatingPass/test/dev/vale/instantiating/InstantiatedTests.scala similarity index 73% rename from Frontend/Monomorphizing/test/dev/vale/monomorphizing/MonomorphizingTests.scala rename to Frontend/InstantiatingPas...
true
ValeLang/Vale
525
issue_to_patch
Switch to LLVM 14 and add --pic by default
Clang 14 seems to have a problem with the code generated by the backend if `--pic` is not specified, so this PR adds it to the default build options and switches to Clang 14 in the Ubuntu installer script. Not sure if it causes problems with older Clang versions, so may need some testing on other OSes (and those instal...
e872b4aa816e7c319d3c358241481af4fdb76c38
4a0aa31bdab20744c04dbe1fa2926cf3c90ce6b3
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fda144887..ca130f9eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,9 @@ jobs: distribution: adopt java-version: 11 - name: install prereqs - run: cmd /c '.\scripts\windows\insta...
[ ".github/workflows/ci.yml", "Backend/CMakeLists.txt", "Backend/src/utils/structlt.cpp", "Coordinator/src/build.vale", "scripts/mac/build-compiler.sh", "scripts/mac/install-compiler-prereqs.sh", "scripts/ubuntu/install-compiler-prereqs.sh" ]
[ { "comment": "Should we use the `clang` package for version 14, `clang-14`, to avoid any unexptected errors when `clang` get's updated again, eventually?", "path": "scripts/ubuntu/install-compiler-prereqs.sh", "hunk": "@@ -65,8 +70,10 @@ TEXT_RESET=`tput -T xterm-256color sgr0`\n # Install misc dependen...
true
ValeLang/Vale
567
issue_to_patch
Fixes for Windows LLVM 14
2fb3ae432a10c8c4a581b3d546ea870e214220db
955f3762bf6c0be0b3f385b39200e5a616160790
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca130f9eb..45bdf77b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,9 +22,9 @@ jobs: distribution: adopt java-version: 11 - name: install prereqs - run: cmd /c '.\scripts\windows\insta...
[ ".github/workflows/ci.yml", "Backend/src/determinism/determinism.cpp", "Backend/src/region/linear/linear.cpp", "Coordinator/src/build.vale", "Frontend/.idea/modules.xml", "Frontend/Builtins/src/dev/vale/resources/opt.vale", "Frontend/Builtins/src/dev/vale/resources/result.vale", "Frontend/FinalAST/src...
[]
diff --git a/Frontend/Monomorphizing/test/dev/vale/monomorphizing/MonomorphizingTests.scala b/Frontend/InstantiatingPass/test/dev/vale/instantiating/InstantiatedTests.scala similarity index 73% rename from Frontend/Monomorphizing/test/dev/vale/monomorphizing/MonomorphizingTests.scala rename to Frontend/InstantiatingPas...
true
ValeLang/Vale
545
issue_to_patch
Making --pic flag defaulted to off
4bbe0056b2e3e6b4151c09b22d5480f037f3775b
d98c68c2c7a61f997d71d80f85cb173492c05799
diff --git a/Coordinator/src/build.vale b/Coordinator/src/build.vale index 58599a97f..badee6706 100644 --- a/Coordinator/src/build.vale +++ b/Coordinator/src/build.vale @@ -138,7 +138,7 @@ func build_stuff(compiler_dir &Path, all_args &Array<imm, str>) { "--pic", FLAG_BOOL(), "Whether t...
[ "Coordinator/src/build.vale", "scripts/VERSION" ]
[]
true
ValeLang/Vale
546
issue_to_patch
Finished adding pic flag
2639a187654647f8fc4ce2e65790ec414901a002
71570d3f54f38944327e2bc3ac1a1ea35b4a3343
diff --git a/Coordinator/src/build.vale b/Coordinator/src/build.vale index b188d4a3a..58599a97f 100644 --- a/Coordinator/src/build.vale +++ b/Coordinator/src/build.vale @@ -134,6 +134,12 @@ func build_stuff(compiler_dir &Path, all_args &Array<imm, str>) { "Whether to output LLVM IR.", "false", ...
[ "Coordinator/src/build.vale" ]
[]
true
ValeLang/Vale
544
issue_to_patch
Added pic flag to Coordinator
14357238901514ea8af82a62f13e9d7c5e2b8180
bfd077c4973ea24be86d7af7dfa41dc9d5feea86
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d977dc4d..fda144887 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ env: jobs: build_and_test_windows: - runs-on: windows-latest + runs-on: windows-2022 steps: - name: Checkout ...
[ ".github/workflows/ci.yml", "Coordinator/src/build.vale", "Coordinator/src/midas.vale", "scripts/ubuntu/install-compiler-prereqs.sh" ]
[]
true
ValeLang/Vale
541
issue_to_patch
Thanks to sponsors!
f629f63f8a71ca1e8e9350503786f3f253e929a1
495e2571d23d024d1d393d2216f49fdbf7720fb4
diff --git a/README.md b/README.md index 4214df084..92a399df2 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,10 @@ For an overview of the project structure, see [Compiler Overview](compiler-overv # Thank you to all of our sponsors! * [Arthur Weagel](https://github.com/aweagel) + * [Geomitron](https://github.c...
[ "README.md", "docs/FasterCompileTimes.md", "docs/concurrency/Blocking.md", "docs/concurrency/VirtualThreadsPrototype.md" ]
[]
true
ValeLang/Vale
540
issue_to_patch
Update blocking doc
addccf029d9211e62cebe6f3b76221b3abb6a1db
2b43edcaad425a63a410d9410ded6c7c75650d3d
diff --git a/docs/concurrency/Blocking.md b/docs/concurrency/Blocking.md index 4064ee1af..70f7d3847 100644 --- a/docs/concurrency/Blocking.md +++ b/docs/concurrency/Blocking.md @@ -19,64 +19,84 @@ However, there are a few issues remaining, around **accidental blocking.** Shnat So, this doc explores the problem and s...
[ "docs/concurrency/Blocking.md" ]
[]
true
ValeLang/Vale
539
issue_to_patch
Updated concurrency docs
c076786b89e1a51f4fc4e281d5a51c93dde10dae
2b9c8478ae5a4c2ec061dab4b0f56d0523c03892
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a7edd867..5d977dc4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,8 +44,6 @@ jobs: run: ./scripts/ubuntu/install-compiler-prereqs.sh -j -s -l ~/LLVMForVale -b ~/BootstrappingValeCompiler - name: build c...
[ ".github/workflows/ci.yml", "docs/concurrency/Blocking.md", "docs/concurrency/VirtualThreadsPrototype.md" ]
[]
true
ValeLang/Vale
538
issue_to_patch
Adding stdlib tests
8827a83bc502c26114e1e3c6788415e54ae8875c
4ad00931a5a61b589c226d49b3b9fef6532270c4
diff --git a/Backend/test.sh b/Backend/test.sh index 1b4abd005..0093413d9 100755 --- a/Backend/test.sh +++ b/Backend/test.sh @@ -1,1 +1,1 @@ -../Tester/build/testvalec --frontend_path ../Frontend/Frontend.jar --backend_path ./build/backend --builtins_dir ./builtins --valec_path ../Coordinator/build/valec --backend_test...
[ "Backend/test.sh", "Tester/src/main.vale", "scripts/mac/build-compiler.sh", "scripts/ubuntu/build-compiler.sh", "scripts/windows/build-compiler.bat" ]
[]
true
ValeLang/Vale
526
issue_to_patch
Cleaned up keywords
655ffca91059ef961eeb25a07d1c309c9340b20e
bcd96c1790c6f65556b85c9fdff0f2b936a6f18f
diff --git a/Frontend/LexingPass/src/dev/vale/lexing/Lexer.scala b/Frontend/LexingPass/src/dev/vale/lexing/Lexer.scala index 10316e8af..a12e2cf9b 100644 --- a/Frontend/LexingPass/src/dev/vale/lexing/Lexer.scala +++ b/Frontend/LexingPass/src/dev/vale/lexing/Lexer.scala @@ -303,7 +303,7 @@ class Lexer(interner: Interner,...
[ "Frontend/LexingPass/src/dev/vale/lexing/Lexer.scala", "Frontend/ParsingPass/src/dev/vale/parsing/ExpressionParser.scala", "Frontend/ParsingPass/src/dev/vale/parsing/PatternParser.scala", "Frontend/ParsingPass/src/dev/vale/parsing/templex/TemplexParser.scala", "Frontend/PostParsingPass/src/dev/vale/postpars...
[ { "comment": "I think you made a typo here\r\n`std::array<Vec3, 2>` and `std::array<Vec3, 2>` is the same", "path": "docs/FasterCompileTimes.md", "hunk": "@@ -0,0 +1,526 @@\n+This is Vale's master plan to become the fastest compiling language\n+**of all time!**\n+\n+# Language Changes\n+\n+## Type-Erasu...
true
ValeLang/Vale
526
comment_to_fix
Cleaned up keywords
I think you made a typo here `std::array<Vec3, 2>` and `std::array<Vec3, 2>` is the same
655ffca91059ef961eeb25a07d1c309c9340b20e
bcd96c1790c6f65556b85c9fdff0f2b936a6f18f
diff --git a/docs/FasterCompileTimes.md b/docs/FasterCompileTimes.md new file mode 100644 index 000000000..79ff5fa83 --- /dev/null +++ b/docs/FasterCompileTimes.md @@ -0,0 +1,526 @@ +This is Vale's master plan to become the fastest compiling language +**of all time!** + +# Language Changes + +## Type-Erasure For Faster...
[ "docs/FasterCompileTimes.md" ]
[ { "comment": "I think you made a typo here\r\n`std::array<Vec3, 2>` and `std::array<Vec3, 2>` is the same", "path": "docs/FasterCompileTimes.md", "hunk": "@@ -0,0 +1,526 @@\n+This is Vale's master plan to become the fastest compiling language\n+**of all time!**\n+\n+# Language Changes\n+\n+## Type-Erasu...
true
VincentGarreau/particles.js
79
issue_to_patch
Remove duplicate table row from readme
22b49860652e959e546ca2bfff3972293a60dafb
01ff4a6ef02210c9623bce435832a28b20c0b176
diff --git a/README.md b/README.md index 65cafa42..868dd22a 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,6 @@ key | option type / notes | example `particles.number.density.enable` | boolean | `true` / `false` `particles.number.density.value_area` | number | `800` `particles.color.value` | HEX (string) <br ...
[ "README.md" ]
[]
true
VincentGarreau/particles.js
66
issue_to_patch
Pr/65
c46ff7a398787066e2a7af889b5c2d818fb4450d
e430b3c3d996ae8a587b0c6ac5ebbe126dfe0b80
diff --git a/bower.json b/bower.json index 657a84a4..ab6537fd 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,6 @@ { "name": "particles.js", "main": "particles.js", - "version": "2.0.0", "homepage": "https://github.com/VincentGarreau/particles.js", "authors": [ "Vincent Garreau <vin.garreau@gmail...
[ "bower.json", "particles.js" ]
[]
true
VincentGarreau/particles.js
58
issue_to_patch
Remove moot `version` property from bower.json
Per bower/bower.json-spec@a325da3
cee3b0a3da4cdfbac17441420da6ab32f5f641c4
7ed36a461d13ceb43248273cc474be1f1e56b8f7
diff --git a/bower.json b/bower.json index 657a84a4..ab6537fd 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,6 @@ { "name": "particles.js", "main": "particles.js", - "version": "2.0.0", "homepage": "https://github.com/VincentGarreau/particles.js", "authors": [ "Vincent Garreau <vin.garreau@gmail...
[ "bower.json" ]
[]
true
VincentGarreau/particles.js
41
issue_to_patch
Add array selection for color_random
Added ability for Particles.js to accept an array as a value for color_random. If the value is an array it will randomly select an element from the array for the fillStyle. The values must be HEX values at the moment. For example, if you set: `color_random: ['#ffaa44', '#ffffaa', '#445500']` It will randomly select ...
80239f698800000ea057ba472a0676e39d061d2c
c39f2d9a4542cd881942ad256b75d29f5f4d5a53
diff --git a/particles.js b/particles.js index 57db6122..fa44a008 100644 --- a/particles.js +++ b/particles.js @@ -263,13 +263,17 @@ function launchParticlesJS(tag_id, params){ if (pJS.retina) this.radius *= pJS.canvas.pxratio; /* color */ - if(pJS.particles.color_random){ + if(pJS.particles.color_ran...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
45
issue_to_patch
Improve merge from parameters
80239f698800000ea057ba472a0676e39d061d2c
bc5a26a6c6c63ed761fa5cc8256eacabbdc0d1a4
diff --git a/particles.js b/particles.js index 57db6122..547041a9 100644 --- a/particles.js +++ b/particles.js @@ -83,77 +83,22 @@ function launchParticlesJS(tag_id, params){ } }; - /* params settings */ - if(params){ - if(params.particles){ - var paramsForParticles = params.particles; - if(par...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
36
issue_to_patch
proper removal of pJS to avoid mouse events' errors
Destroying the canvas and deleting pJS variable results in the error on mouse events. To do this properly It should remove mouse listeners on destroy call.
97d82786fb7dace24a503c24dab53d3b80956d6f
efccecdf8ddde0d745af6e793a44b40de5444219
diff --git a/particles.js b/particles.js index 6ea6f595..0cb72066 100644 --- a/particles.js +++ b/particles.js @@ -439,7 +439,7 @@ function launchParticlesJS(tag_id, params){ pJS.fn.vendors.destroy = function(){ cancelAnimationFrame(pJS.fn.requestAnimFrame); canvas_el.remove(); - delete pJS; + pJS = ...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
20
issue_to_patch
Use object prototype to define class method.
It's generaly a good idea to implement class methods directly in the related object's `prototype` to avoid creating a new function for each instance. This should improve overall performances. See [this thread on SO](http://stackoverflow.com/questions/10500233/javascript-oop-method-definition-with-or-without-prototype#...
b1da10f16faf8a82e4cf3660284bfd21994d57a6
b536c4ddae807df3460acba92f43bbb980d66622
diff --git a/particles.js b/particles.js index 3b340c4d..ab40ef83 100644 --- a/particles.js +++ b/particles.js @@ -204,31 +204,30 @@ function launchParticlesJS(tag_id, params){ this.vx = -.5 + Math.random(); this.vy = -.5 + Math.random(); - /* draw function */ - this.draw = function(){ - pJS.canv...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
46
issue_to_patch
color_random supports opacity
Adds to #41 by supporting opacity in random colors.
5eb25b292804e649ceea9f8cc152e94f2578f08c
7620863e1629aa93df38c9e6e14f45e2d3f8cbc0
diff --git a/particles.js b/particles.js index a8e6c2e1..c21b1035 100644 --- a/particles.js +++ b/particles.js @@ -217,6 +217,7 @@ function launchParticlesJS(tag_id, params){ } else if( pJS.particles.color_random instanceof Array){ this.color = pJS.particles.color_random[Math.floor(Math.random() * pJS....
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
40
issue_to_patch
dev - 1.1.0
97d82786fb7dace24a503c24dab53d3b80956d6f
fe57d9b2f677aed3eba37d0550699944e35f9f7d
diff --git a/README.md b/README.md index 3982bce5..2573582a 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ ### A lightweight JavaScript library for creating particles. +------------------------------- + Load particles.js and configure the particles: **index.html** @@ -21,8 +23,17 @@ Load particles.js a...
[ "README.md", "bower.json", "demo/css/style.css", "demo/index.html", "demo/js/app.js", "demo/js/lib/stats.js", "particles.js", "particles.min.js" ]
[]
true
VincentGarreau/particles.js
17
issue_to_patch
Remove magic number
Support any ratio and remove magic number.
46116efc18ad4cfc8c982e06d13328aa7bf873c0
609e06c8b096bfed1656add740fe8d377978b4d9
diff --git a/particles.js b/particles.js index 3b340c4d..0442bad1 100644 --- a/particles.js +++ b/particles.js @@ -129,12 +129,14 @@ function launchParticlesJS(tag_id, params){ /* detect retina */ if(pJS.retina_detect && window.devicePixelRatio > 1){ pJS.retina = true; - pJS.canvas.w = pJS.canvas.el.offse...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
26
issue_to_patch
fixed triangle positioning issue
b1da10f16faf8a82e4cf3660284bfd21994d57a6
968d40249a76c5520d0adaaa2410d07e79d03c01
diff --git a/particles.js b/particles.js index 3b340c4d..804ae3e0 100644 --- a/particles.js +++ b/particles.js @@ -219,9 +219,9 @@ function launchParticlesJS(tag_id, params){ break; case 'triangle': - pJS.canvas.ctx.moveTo(this.x,this.y); - pJS.canvas.ctx.lineTo(this.x+this.radius,...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
29
issue_to_patch
dev - 1.0.3
b1da10f16faf8a82e4cf3660284bfd21994d57a6
777e8e3da664f9ab9a06390865c1948ed4ba1fea
diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..ef73019d --- /dev/null +++ b/.gitignore @@ -0,0 +1,1 @@ +particles.min.js \ No newline at end of file diff --git a/bower.json b/bower.json index 2a7082f3..20689490 100644 --- a/bower.json +++ b/bower.json @@ -1,7 +1,7 @@ { "name": "particles....
[ ".gitignore", "bower.json", "particles.js", "particles.min.js" ]
[]
true
VincentGarreau/particles.js
16
issue_to_patch
dev - 1.0.2
25185e8b32cdb752f62a95c15fa119c69b27c16f
c2f2f55e10f297bdc5925ba504292cfc863fe1b6
diff --git a/README.md b/README.md index dd015555..155bbda5 100644 --- a/README.md +++ b/README.md @@ -17,13 +17,6 @@ Load particles.js and configure the particles: /* @dom-id : set the html tag id [string, optional, default value : particles-js] /* @params: set the params [object, optional, default values : check pa...
[ "README.md", "bower.json", "particles.js", "particles.min.js" ]
[]
true
VincentGarreau/particles.js
14
issue_to_patch
added an event for removing particles
- added an option for onclick event - push or remove(i thought that it needs controllers but if that, it might not lightweight library anymore) - created variables for multiple comparisons when getting params(you dont have to adopt it if it doesnt need those variables)
df1d2a6a02d14bc44ef4c709db4e11459ab3c673
25185e8b32cdb752f62a95c15fa119c69b27c16f
diff --git a/demo/js/app.js b/demo/js/app.js index cb2d34e7..661d9420 100644 --- a/demo/js/app.js +++ b/demo/js/app.js @@ -42,13 +42,12 @@ particlesJS('particles-js', { }, events: { onclick: { - push_particles: { - enable: true, - nb: 4 - } + enable: true, + ...
[ "demo/js/app.js", "particles.js" ]
[]
true
VincentGarreau/particles.js
11
issue_to_patch
added an event for create new particle one.
- added an onclick event `detect_el.onclick` to create a new particle on where user click
41cc87ed826ff9a22f7796fa80fa06b410e56e37
99c653181c07b086f15453427fcf618074b76879
diff --git a/particles.js b/particles.js index abe4e08a..258f2a21 100644 --- a/particles.js +++ b/particles.js @@ -154,11 +154,11 @@ function launchParticlesJS(tag_id, params){ /* --------- PARTICLES functions ----------- */ - pJS.fn.particle = function(color, opacity){ + pJS.fn.particle = function(color, opacity...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
13
issue_to_patch
dev - 1.0.1
41cc87ed826ff9a22f7796fa80fa06b410e56e37
6b28ee7ab12aa7500ce658aa8425e2c28c5fa9f5
diff --git a/demo/js/app.js b/demo/js/app.js index 2b5abc52..14a87b6b 100644 --- a/demo/js/app.js +++ b/demo/js/app.js @@ -6,19 +6,49 @@ /* config dom id (optional) + config particles params */ particlesJS('particles-js', { - canvas: { - color_hex_bg: '#15414e', - opacity: 1 - }, - particles: { - color_hex: '...
[ "demo/js/app.js", "particles.js", "particles.min.js" ]
[]
true
VincentGarreau/particles.js
7
issue_to_patch
Added GitHub demo link.
5c7f2258cd2ba7278347fea255200b739d732013
a5554abf784146774671a0f550489684c0747f82
diff --git a/README.md b/README.md index 41efe387..8c63879d 100644 --- a/README.md +++ b/README.md @@ -57,3 +57,5 @@ particlesJS('particles-js', { ### ***Live Demo*** <a href="http://codepen.io/VincentGarreau/pen/pnlso" target="_blank">CodePen demo</a> + +<a href="http://htmlpreview.github.io/?https://github.com/Vi...
[ "README.md" ]
[]
true
VincentGarreau/particles.js
5
issue_to_patch
Fixed typo
513404849fc22c736c4af18175b1c7e76a8d1766
12ee89b04e7d018aa9d4a5a8d424e62801ee5e0e
diff --git a/particles.js b/particles.js index 0ade851f..abe4e08a 100644 --- a/particles.js +++ b/particles.js @@ -348,7 +348,7 @@ function launchParticlesJS(tag_id, params){ dy_mouse = p1.y - pJS.interactivity.mouse.pos_y, dist_mouse = Math.sqrt(dx_mouse*dx_mouse + dy_mouse*dy_mouse); - /* Check distace bet...
[ "particles.js" ]
[]
true
VincentGarreau/particles.js
4
issue_to_patch
syntax fix
a966c3209112add1373f5f311b7b15d3a2ab5820
140a6c2d5b8a644c3ce78c406220a91a1a85c05c
diff --git a/README.md b/README.md index 93591d10..41efe387 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ particlesJS('particles-js', { mouse: { distance: 250 }, - detect_on: 'canvas' // "canvas" or "window" + detect_on: 'canvas', // "canvas" or "window" mode: 'grab' }, /* Retina Display S...
[ "README.md" ]
[]
true
VincentGarreau/particles.js
3
issue_to_patch
Change bg-color to uncover particles in demo
2f328ba26e6e87138a0a299d8c10f428be3665f8
47bbf7a32288819b62ed94675a110624a7ac77d1
diff --git a/demo/css/style.css b/demo/css/style.css index 137e7ea8..cf5a34c7 100755 --- a/demo/css/style.css +++ b/demo/css/style.css @@ -25,7 +25,7 @@ li{list-style:none} html,body{ width:100%; height:100%; - background:#fff; + background:#000; } /* remove canvas default margin */
[ "demo/css/style.css" ]
[]
true
VincentGarreau/particles.js
2
issue_to_patch
adding Bower
It seems that it's gonna be updated in the days to come, it would be nice to add a Bower reference.
9ce35ab7e4c94f52099a97a23e700d942449a540
909418277ff4cbe79273e5238d3f1e29ddda0451
diff --git a/bower.json b/bower.json new file mode 100644 index 00000000..71dedfe2 --- /dev/null +++ b/bower.json @@ -0,0 +1,22 @@ +{ + "name": "particles.js", + "main": "particles.js", + "version": "1.0.0", + "homepage": "https://github.com/VincentGarreau/particles.js", + "authors": [ + "Vincent Garreau <vin.g...
[ "bower.json" ]
[]
true
VirusTotal/yara
2,200
issue_to_patch
guard against undersized rich header in pe_parse_rich_signature
When the backward scan in pe_parse_rich_signature finds a DanS marker only one to three dwords ahead of the Rich marker, rich_len ends up smaller than RICH_SIGNATURE. The unsigned subtraction rich_len - sizeof(RICH_SIGNATURE) then wraps and rich_count becomes a huge bogus value that drives the version_data allocation a...
7488ec7b42c0ce7b584ffccc8e739d95794943c5
91373a0f55a706a131e56af7cc0a54f91f69a216
diff --git a/libyara/modules/pe/pe.c b/libyara/modules/pe/pe.c index e2eda2382f..fe9a6b55ca 100644 --- a/libyara/modules/pe/pe.c +++ b/libyara/modules/pe/pe.c @@ -248,6 +248,15 @@ static void pe_parse_rich_signature(PE* pe, uint64_t base_address) yr_set_sized_string( (char*) clear_data, rich_len, pe->object, ...
[ "libyara/modules/pe/pe.c", "tests/data/undersized_rich", "tests/test-pe.c" ]
[]
diff --git a/tests/data/undersized_rich b/tests/data/undersized_rich new file mode 100644 index 0000000000..2d754302b1 Binary files /dev/null and b/tests/data/undersized_rich differ diff --git a/tests/test-pe.c b/tests/test-pe.c index 1e7064025f..7e0dc3e80e 100644 --- a/tests/test-pe.c +++ b/tests/test-pe.c @@ -635,6 +...
true
VirusTotal/yara
2,197
issue_to_patch
tests: Add new fuzzers to be consumed by OSS-Fuzz
Adds new fuzzing harnesses that increases the code coverage relative to a recent oss-fuzz coverage report: https://storage.googleapis.com/oss-fuzz-coverage/yara/reports/20260503/linux/src/report.html These harnesses will be consumed by OSS-Fuzz and start running once landed.
db49ed032e9cc931c919baba2b057df563d28e40
937654842d509a25c2dc87809c09790ccdd41d6d
[ "tests/oss-fuzz/filemap_fuzzer.cc", "tests/oss-fuzz/math_fuzzer.cc", "tests/oss-fuzz/tlsh_fuzzer.cc" ]
[]
diff --git a/tests/oss-fuzz/filemap_fuzzer.cc b/tests/oss-fuzz/filemap_fuzzer.cc new file mode 100644 index 0000000000..a39289b975 --- /dev/null +++ b/tests/oss-fuzz/filemap_fuzzer.cc @@ -0,0 +1,86 @@ +/* +Copyright (c) 2026. The YARA Authors. All Rights Reserved. + +Redistribution and use in source and binary forms, w...
true
VirusTotal/yara
2,191
issue_to_patch
Make yr_string_set_destroy non-public
The function is only called from within the compiler; there's no need to expose it to users of the library.
646cf50e50ffaf9a5fba88cd380ac8c5412b121e
1cf01e4ab700579b07ad2832bd77d99ba1b0fa41
diff --git a/libyara/compiler.c b/libyara/compiler.c index f45b456ac8..0868bf7e88 100644 --- a/libyara/compiler.c +++ b/libyara/compiler.c @@ -1079,7 +1079,7 @@ YR_API char* yr_compiler_get_error_message( return buffer; } -YR_API int yr_string_set_destroy(YR_STRING_SET string_set) +int yr_string_set_destroy(YR_ST...
[ "libyara/compiler.c", "libyara/include/yara/compiler.h" ]
[]
true
VirusTotal/yara
2,179
issue_to_patch
docs: fix typo
fixes `not` and `defined` appearing on the same line
f44a8958e88daa75d765a52a68876f2286d57a51
09d5c77a5a87fd93c6f8a882d1185c88cb200ec1
diff --git a/docs/writingrules.rst b/docs/writingrules.rst index 9e47cd41ee..bdad0191e0 100644 --- a/docs/writingrules.rst +++ b/docs/writingrules.rst @@ -887,6 +887,7 @@ Precedence Operator Description Associativit matches String matches regular expression -------...
[ "docs/writingrules.rst" ]
[]
true
VirusTotal/yara
2,178
issue_to_patch
Fix heap overflow
A heap overflow could occur when loading a hand-crafted compiled rules file. If the `used` field is less than `sizeof(void)` an integer overflow occurs that bypasses the file validation and causes heap overflow later on.
2668c524a42f2bbab8f6fbffa41d0c41ef6574b5
685cb76c1f0d2900f3c81605f4e554dd4c8baff5
diff --git a/libyara/arena.c b/libyara/arena.c index 73f6c25237..fe1644e1fc 100644 --- a/libyara/arena.c +++ b/libyara/arena.c @@ -597,9 +597,11 @@ int yr_arena_load_stream(YR_STREAM* stream, YR_ARENA** arena) { YR_ARENA_BUFFER* b = &new_arena->buffers[reloc_ref.buffer_id]; - if (reloc_ref.buffer_id >= new...
[ "libyara/arena.c" ]
[]
true
VirusTotal/yara
2,167
issue_to_patch
feat: improved detection whether a string requires all matches
String sets like `($s*)` always removed the `STRING_FLAGS_SINGLE_MATCH` flag, but only some operators (e.g. `1 of ($s*) at 0`) actually mandated this. In practice, the most common use case of string sets is `n of ($s*)`, which does not necessitate removing `STRING_FLAGS_SINGLE_MATCH`. Add logic to the operators t...
fc4b114696cf639ec782915f506ce82bcdfdb246
315fdeac5625300811c6d4710bed176807fbfa38
diff --git a/libyara/compiler.c b/libyara/compiler.c index 505746aae0..f45b456ac8 100644 --- a/libyara/compiler.c +++ b/libyara/compiler.c @@ -1078,3 +1078,14 @@ YR_API char* yr_compiler_get_error_message( return buffer; } + +YR_API int yr_string_set_destroy(YR_STRING_SET string_set) +{ + YR_STRING_SET_ELEMENT* ...
[ "libyara/compiler.c", "libyara/grammar.c", "libyara/grammar.h", "libyara/grammar.y", "libyara/include/yara/compiler.h", "libyara/include/yara/parser.h", "libyara/parser.c" ]
[]
true
VirusTotal/yara
2,162
issue_to_patch
Fix resource directory processing in PE module
Don't allow descending into a resource directory that is already being processed. Example sample where YARA loops infinitely: [0e87e9a78a81f9180c8fb26183e9fb9785985a5d312cdf4f669c151689336543](https://www.virustotal.com/gui/file/0e87e9a78a81f9180c8fb26183e9fb9785985a5d312cdf4f669c151689336543). YARA-X seems to ha...
092187edc91bd8024841383de85ae355dc9fda9f
10dad1270a8575a052583e50772826f0139fcb54
diff --git a/libyara/modules/pe/pe.c b/libyara/modules/pe/pe.c index 0b563a2f3f..e2eda2382f 100644 --- a/libyara/modules/pe/pe.c +++ b/libyara/modules/pe/pe.c @@ -484,7 +484,11 @@ static int _pe_iterate_resources( PIMAGE_RESOURCE_DIRECTORY directory = (PIMAGE_RESOURCE_DIRECTORY) (rsrc_data + RESOURCE_...
[ "libyara/modules/pe/pe.c" ]
[]
true
VirusTotal/yara
2,165
issue_to_patch
Remove incorrectly(?) committed rules.
092187edc91bd8024841383de85ae355dc9fda9f
16c27a092baf39a4c826773db722ec398e9c349f
diff --git a/test.rules b/test.rules deleted file mode 100644 index 7248ac9355..0000000000 --- a/test.rules +++ /dev/null @@ -1,1 +0,0 @@ -rule t { condition: true } diff --git a/test.yar b/test.yar deleted file mode 100644 index 5c681f1a69..0000000000 --- a/test.yar +++ /dev/null @@ -1,50 +0,0 @@ -import "pe" - -rule ...
[ "test.rules", "test.yar" ]
[]
true
VirusTotal/yara
2,009
issue_to_patch
Fix VS2019 build (string module)
Fix for #2000.
01032a6cb26313e1838669418186563a4e5cfc2d
6d8647b2503484c2630e946e0dc5cc877e2a8519
diff --git a/windows/vs2019/libyara/libyara.vcxproj b/windows/vs2019/libyara/libyara.vcxproj index a92c002ae7..af0485c906 100644 --- a/windows/vs2019/libyara/libyara.vcxproj +++ b/windows/vs2019/libyara/libyara.vcxproj @@ -252,6 +252,7 @@ <ClCompile Include="..\..\..\libyara\modules\pe\authenticode-parser\structs....
[ "windows/vs2019/libyara/libyara.vcxproj" ]
[]
true
VirusTotal/yara
2,132
issue_to_patch
Replace stray markdown with correct RST
390b66bc93143c688611ba303c664bbfc84e7a0b
c594ea2a37e0af1f6cf411cbc51686ba329d5709
diff --git a/docs/writingrules.rst b/docs/writingrules.rst index 6cd3ac94d1..9e47cd41ee 100644 --- a/docs/writingrules.rst +++ b/docs/writingrules.rst @@ -324,7 +324,7 @@ encoding format used by your text editor. This never meant to be a feature, the original intention always was that YARA strings should be ASCII-only...
[ "docs/writingrules.rst" ]
[]
true
VirusTotal/yara
2,144
issue_to_patch
Remove Bazel as a build system.
Bazel was the build system used by VirusTotal. Now that VirusTotal has moved to YARA-X, maintaining the Bazel infrastructure working is painful, specially with the backward incompatible changes introduced in recent versions of Bazel.
93d1de6db6976f3c7f6e783cb143f614958b8452
2f76e09606fbba2520a7491fbde412fafc716af1
diff --git a/.bazelrc b/.bazelrc deleted file mode 100644 index a68e0702e1..0000000000 --- a/.bazelrc +++ /dev/null @@ -1,2 +0,0 @@ -# Build in C++17 mode without a custom CROSSTOOL -build --cxxopt=-std=c++17 diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 829194d5cd..8f2b5752a8 100644 --- ...
[ ".bazelrc", ".github/workflows/build.yml", "BUILD.bazel", "Makefile.am", "WORKSPACE.bazel", "bazel/jansson.BUILD", "bazel/jansson.bzl", "bazel/magic.BUILD", "bazel/openssl.BUILD", "bazel/yara.bzl", "bazel/yara_deps.bzl", "configure.ac", "libyara/include/yara/limits.h", "libyara/yara.pc", ...
[]
diff --git a/tests/BUILD.bazel b/tests/BUILD.bazel deleted file mode 100644 index faabb5ba9a..0000000000 --- a/tests/BUILD.bazel +++ /dev/null @@ -1,282 +0,0 @@ -# Copyright (c) 2019. The YARA Authors. All Rights Reserved. -# -# Redistribution and use in source and binary forms, with or without modification, -# are per...
true
VirusTotal/yara
2,145
issue_to_patch
Avoid infinite loops when iterating macho regions
There was a possible (and trivial to trigger) infinite loop in yara that can be caused by quiting an application while we're enumerating its memory regions. When this happens, `vm_region_64` will start returning an error (that isn't KERN_INVALID_ADDRESS), which `yr_process_get_next_memory_block` reacted to by infinite ...
93d1de6db6976f3c7f6e783cb143f614958b8452
eb26e7c9426972a06dc8a21a11db721bf0b94561
diff --git a/libyara/proc/mach.c b/libyara/proc/mach.c index b3456676bb..8ce1788a87 100644 --- a/libyara/proc/mach.c +++ b/libyara/proc/mach.c @@ -132,49 +132,48 @@ YR_API YR_MEMORY_BLOCK* yr_process_get_next_memory_block( iterator->last_error = ERROR_SUCCESS; - do + info_count = VM_REGION_BASIC_INFO_COUNT_64;...
[ "libyara/proc/mach.c" ]
[]
true