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
Z4nzu/hackingtool
355
issue_to_patch
target not found yay and python-pip.19.1.1-1 i have a problem when i try to run bash install.sh it says error target not found yay, python-pip.19.1.1-1 , i have installed the yay and i have no idea how to install python-pip so i need help. OS: Arch linux 64x_86X shell: bash 5.1.6 ![image](https://user-images.gith...
Remove yay and fix script for arch
I have change the installation of python-pip and I have removed yay as we install boxes using makepkg instead of yay. This change resolves #354 by changing how we install python-pip on arch linux and removed yay
b2cf73c8f414cd9c30d920beb2e7a000934c1f92
e1463b4dfad8e6242450ffa26917d39aef9ce57f
diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index 3c63fc14..844f4e90 --- a/install.sh +++ b/install.sh @@ -71,7 +71,7 @@ if [[ $choice =~ ^[1-2]+$ ]]; then sudo apt-get install -y git python3-pip figlet boxes php curl xdotool wget -y ; elif [[ $choice == 2 ]]; then ...
[ "install.sh" ]
[]
true
Z4nzu/hackingtool
348
issue_to_patch
[FIX]#Install & Update Script fixed, added gitignore
5c69e5cb13127601aaba6ee04e522ead84b74f6a
1e649966144035ca3a93a9d5f7c88bf04a97bb56
diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..1f4e2cb8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,185 @@ +# Created by https://www.toptal.com/developers/gitignore/api/python,venv +# Edit at https://www.toptal.com/developers/gitignore?templates=python,venv + +### Python ### +# Byte-compiled / ...
[ ".gitignore", "install.sh", "update.sh" ]
[]
true
Z4nzu/hackingtool
353
issue_to_patch
Dockerfile: Use pip dependency resolver
Now that pip has a real dependency resolver, use it to install ALL pip dependencies in a single Docker layer. * https://pip.pypa.io/en/stable/topics/dependency-resolution * https://docs.docker.com/storage/storagedriver/#images-and-layers
ca2f8d671d2d5b588d06ff9999444b80791be6db
3fd3ce4cb36b8532b0db879d3f772558b4d24be7
diff --git a/Dockerfile b/Dockerfile index 2945f20e..5656a50a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,14 +11,11 @@ WORKDIR /root/hackingtool COPY . . RUN true && \ -pip3 install -r requirements.txt; - -RUN true && \ -pip3 install lolcat boxes flask requests; +pip3 install boxes flask lolcat requests -r requ...
[ "Dockerfile" ]
[]
true
Z4nzu/hackingtool
351
issue_to_patch
Minor fixes
`input().strip()` removes leading and trailing space in user input. https://github.com/asottile/pyupgrade#-coding--comment
4dcfd331fc5f57750ca777e79d4da6bc4e508146
e885d19f8a8c72cd17a43edf013c4ec4cb1d6619
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 4cb86f6e..fff9533a 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -22,7 +22,7 @@ jobs: --statistics --target-version=py37 . | grep "\[\*\]" - run: pip install bla...
[ ".github/workflows/lint_python.yml", "core.py", "generate_readme.py", "hackingtool.py", "tools/payload_creator.py" ]
[]
true
Z4nzu/hackingtool
346
issue_to_patch
Fix lint_python so tests pass again
Keeping https://github.com/Z4nzu/hackingtool/actions green βœ…
8d10fdca6c081d3d4317ec959042599070244785
2ff5e7051e7a1e7496fc35ca7ff9a31d4db44430
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 7fdd6655..d082fa3b 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -1,5 +1,9 @@ name: lint_python -on: [pull_request, push] +on: + pull_request: + branches: [master] + push: + bran...
[ ".github/workflows/lint_python.yml" ]
[]
true
Z4nzu/hackingtool
349
issue_to_patch
requirement.txt --> requirements.txt
Add the `s` as recommended in https://pip.pypa.io/en/stable/reference/requirements-file-format
d96a763f27c129774768086b268e3074b45fffc2
9c01a54ce4272fb156135a1caab8db1fa65f27ce
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index eee4a738..7fdd6655 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.x' - - run: pi...
[ ".github/workflows/lint_python.yml", "Dockerfile", "README_template.md", "install.sh", "requirements.txt" ]
[]
true
Z4nzu/hackingtool
255
issue_to_patch
Fix typos discovered by codespell
6bc9d34be87368dbcfef0f244bdd6615b5a39e10
03db8507d30b923c7defb180fe9e77268080eb1d
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index bdf72889..eee4a738 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -19,7 +19,7 @@ jobs: - run: isort --check-only --profile black . || true - run: pip install -r requirement.t...
[ ".github/workflows/lint_python.yml", "README.md", "core.py", "install.sh", "tools/wordlist_generator.py" ]
[ { "comment": "AEAA 5+num", "path": ".github/workflows/lint_python.yml", "hunk": "@@ -19,7 +19,7 @@ jobs:\n - run: isort --check-only --profile black . || true\n - run: pip install -r requirement.txt || pip install -r requirements.txt || pip install --editable . || pip install . || true\n ...
true
Z4nzu/hackingtool
255
comment_to_fix
Fix typos discovered by codespell
AEAA 5+num
6bc9d34be87368dbcfef0f244bdd6615b5a39e10
03db8507d30b923c7defb180fe9e77268080eb1d
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index bdf72889..eee4a738 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -19,7 +19,7 @@ jobs: - run: isort --check-only --profile black . || true - run: pip install -r requirement.t...
[ ".github/workflows/lint_python.yml" ]
[ { "comment": "AEAA 5+num", "path": ".github/workflows/lint_python.yml", "hunk": "@@ -19,7 +19,7 @@ jobs:\n - run: isort --check-only --profile black . || true\n - run: pip install -r requirement.txt || pip install -r requirements.txt || pip install --editable . || pip install . || true\n ...
true
Z4nzu/hackingtool
255
comment_to_fix
Fix typos discovered by codespell
- [ ] AEAA 5+num #
6bc9d34be87368dbcfef0f244bdd6615b5a39e10
03db8507d30b923c7defb180fe9e77268080eb1d
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index bdf72889..eee4a738 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -19,7 +19,7 @@ jobs: - run: isort --check-only --profile black . || true - run: pip install -r requirement.t...
[ ".github/workflows/lint_python.yml" ]
[ { "comment": "- [ ] AEAA 5+num\n#", "path": ".github/workflows/lint_python.yml", "hunk": "@@ -19,7 +19,7 @@ jobs:\n - run: isort --check-only --profile black . || true\n - run: pip install -r requirement.txt || pip install -r requirements.txt || pip install --editable . || pip install . || ...
true
Z4nzu/hackingtool
290
issue_to_patch
Syntax Fix for older versions of python
## This request is for issue: #273 There can be a syntax errors for older versions of python (prior to 3.6 I think) therefore it may be better off that the syntax output is as such
f9d8732d898fb868bb3f6c81dba6d8338adb8c91
21394cda9fa1a9263dfca124a4b0a4c3a5cba330
diff --git a/hackingtool.py b/hackingtool.py old mode 100644 new mode 100755 index 00f6ef7c..97534424 --- a/hackingtool.py +++ b/hackingtool.py @@ -89,12 +89,12 @@ def show_info(self): inpath = input("Enter Path (with Directory Name) >> ") with open(fpath, "w") as f: ...
[ "hackingtool.py" ]
[]
true
Z4nzu/hackingtool
257
issue_to_patch
Add XSS detection tool - Cyclops
Name: Cyclops Type:Discovery/XSS Description: Cyclops is a web browser with XSS detection feature, it is chromium-based xss detection that used to find the flows from a source to a sink. Github: https://github.com/v8blink/Chromium-based-XSS-Taint-Tracking
5e2ce168e10be19281406d5abd5d93768764ee83
7019aa90ca0b3998a86962b11248c9dd46edeef5
diff --git a/README.md b/README.md index b6057eef..4f1b0664 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,7 @@ - [XanXSS](https://github.com/Ekultek/XanXSS) - [Advanced XSS Detection Suite](https://github.com/UltimateHackers/XSStrike) - [RVuln](https://github.com/iinc0gnit0/RVuln) +- [Cyclops](https://github...
[ "README.md" ]
[]
true
Z4nzu/hackingtool
293
issue_to_patch
Update phising_attack.py
I have updated one depricated phishing attack tool from this (https://github.com/DarkSecDevelopers/HiddenEye) to this https://github.com/Morsmalleo/HiddenEye .
f9d8732d898fb868bb3f6c81dba6d8338adb8c91
15c3d75853f2d084b665e89bd31ffbabc2f8666c
diff --git a/tools/phising_attack.py b/tools/phising_attack.py index 9b30a6cf..b03fe0ff 100644 --- a/tools/phising_attack.py +++ b/tools/phising_attack.py @@ -32,13 +32,13 @@ class HiddenEye(HackingTool): TITLE = "HiddenEye" DESCRIPTION = "Modern Phishing Tool With Advanced Functionality And " \ ...
[ "tools/phising_attack.py" ]
[]
true
Z4nzu/hackingtool
299
issue_to_patch
Update phising_attack.py
Newly updated Top Phishingtools
6bc9d34be87368dbcfef0f244bdd6615b5a39e10
e59b7e165114a254b1529f234b30854ed6bce356
diff --git a/tools/phising_attack.py b/tools/phising_attack.py index b03fe0ff..88186074 100644 --- a/tools/phising_attack.py +++ b/tools/phising_attack.py @@ -4,11 +4,40 @@ from core import HackingTool from core import HackingToolsCollection +class autophisher(HackingTool): + TITLE = "Autophisher RK" + DESCRI...
[ "tools/phising_attack.py" ]
[]
true
Z4nzu/hackingtool
264
issue_to_patch
Added Port Scanner that Works with Python 3+
The current port scanner (rang3r) is no longer supported (last updated 5 years ago) and runs on an outdated version of Python (2.7). I rewrote this script with python 3.10 and added it as a Python 3+ option for port scanning.
24e83a470c63b9f534907749bffc06be0de658bc
ad65f918856e568d514598f7dca1a021182e6457
diff --git a/README.md b/README.md index b6057eef..86b42f04 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,8 @@ - [Striker](https://github.com/s0md3v/Striker) - [SecretFinder (like API & etc)](https://github.com/m4ll0k/SecretFinder) - [Find Info Using Shodan](https://github.com/m4ll0k/Shodanfy.py) -- [Port Scan...
[ "README.md" ]
[]
true
Z4nzu/hackingtool
260
issue_to_patch
feat: format out put and group commands
## WHAT - set the trace (set -e) - format output from tabs to sapces, since it's most verbose - group installation in oneline preventing bash to run multiple command
f0e80c13395b49322fa696a06dadff00e4b7002c
c6796a9e2f9360a3838bd2f22db037728f137541
diff --git a/install.sh b/install.sh index 3ef2ae9a..a5c3b6e0 100644 --- a/install.sh +++ b/install.sh @@ -1,4 +1,7 @@ #!/bin/bash + +set -e + clear BLACK='\e[30m' @@ -26,11 +29,8 @@ echo " β–ˆβ–ˆβ–ˆ β–ˆβ–€ β–ˆβ–ˆβ–ˆ β–ˆβ–€ β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ echo " β–€ ...
[ "install.sh" ]
[]
true
Z4nzu/hackingtool
258
issue_to_patch
Make mypy a mandatory test
https://mypy.readthedocs.io Also, `requirement.txt`, not `requirements.txt` because normally the filename is plural, not singular.
5e2ce168e10be19281406d5abd5d93768764ee83
fb4f05aad6d943f95969dd3dad613c076b9b98a9
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 6557c0ec..bdf72889 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -5,7 +5,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup...
[ ".github/workflows/lint_python.yml", "generate_readme.py", "hackingtool.py", "tools/forensic_tools.py" ]
[]
true
Z4nzu/hackingtool
256
issue_to_patch
Do not use bare `except:`
Do not use bare `except:`, it also catches unexpected events like memory errors, interrupts, system exit, and so on. Prefer `except Exception:`. If you're sure what you're doing, be explicit and write `except BaseException:`.
79a3963c3c899a2ccdb9569a1a3ab74c19cca821
cf6b20680bc7357aa8b48b8e00a3d8add2db9703
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 541d898f..6557c0ec 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -7,12 +7,12 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v3 - run: pip install -...
[ ".github/workflows/lint_python.yml", "core.py" ]
[]
true
Z4nzu/hackingtool
254
issue_to_patch
GitHub Action to lint Python code
Test results: https://github.com/Z4nzu/hackingtool/actions
53a44c98de4370c99c3368b964ba3b42161d54a6
b4276e1b9917e31bd7a3d59f4f0a77684e55a56b
diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml new file mode 100644 index 00000000..541d898f --- /dev/null +++ b/.github/workflows/lint_python.yml @@ -0,0 +1,24 @@ +name: lint_python +on: [pull_request, push] +jobs: + lint_python: + runs-on: ubuntu-latest + steps: + - use...
[ ".github/workflows/lint_python.yml" ]
[]
true
Z4nzu/hackingtool
253
issue_to_patch
install.sh: sudo apt-get install python3-pip
Replaces #219
53a44c98de4370c99c3368b964ba3b42161d54a6
f98a1d446e4dd988113ca84e4330ce34b2f4c215
diff --git a/install.sh b/install.sh index 2d243de1..3ef2ae9a 100644 --- a/install.sh +++ b/install.sh @@ -45,7 +45,7 @@ if [ $choice == 1 ] || [ $choice == 2 ]; then echo -e ${BLUE}"[βœ”] Loading ... " if [ $choice == 1 ]; then sudo apt-get update && apt-get upgrade - sudo apt-get install ...
[ "install.sh" ]
[]
true
Z4nzu/hackingtool
176
issue_to_patch
Update ddos.py
solve issue #174 #175
0a4faeac9c4f93a61c937b0e57023b693beeca6f
36ec8b5b1ee55cf77e1d3e15e64a6c893155c72e
diff --git a/tools/ddos.py b/tools/ddos.py index 2017c7d3..7cf37ea4 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -26,7 +26,7 @@ def run(self): timer = input(" Enter Timer >> ") os.system("cd ddos;") subprocess.run([ - "sudo", "python3 ddos", method, url, socks_type5.4.1, threa...
[ "tools/ddos.py" ]
[]
true
Z4nzu/hackingtool
211
issue_to_patch
Update this template
Updated some of the formatting, fixed the English for proper capitalization (good job on yours though) and cleared some unneeded elements
0a4faeac9c4f93a61c937b0e57023b693beeca6f
d7f5e7aed9892721e3bbc22302724ca5e87d9dcf
diff --git a/README_template.md b/README_template.md index ffe02ef4..40c31c0f 100644 --- a/README_template.md +++ b/README_template.md @@ -9,22 +9,19 @@ [![HitCount](http://hits.dwyl.com/Z4nzu/hackingtool.svg)](http://hits.dwyl.com/Z4nzu/hackingtool) ![](https://img.shields.io/badge/platform-Linux%20%7C%20KaliLinux%2...
[ "README_template.md" ]
[]
true
Z4nzu/hackingtool
236
issue_to_patch
Added arch linux support bc feature request #231
- Added Arch Linux support because feature request #231 - Fixed "./test.sh: line 107: [: invinput123: integer expression expected" when entering letters instead of a integer.
0a4faeac9c4f93a61c937b0e57023b693beeca6f
1eca955bce93134b88938b5ef9f17ffeef3c5e5a
diff --git a/install.sh b/install.sh index afdfcef3..2d243de1 100644 --- a/install.sh +++ b/install.sh @@ -23,7 +23,7 @@ echo "β–€β–€β–ˆβ–ˆβ–ˆβ–€β–€β–€β–€β–ˆβ–ˆβ–ˆβ–€ β–€β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ echo " β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–„ β–ˆβ–ˆβ–ˆβ–β–ˆβ–ˆβ–„ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ "; echo " β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ β–ˆβ–ˆβ–ˆ ...
[ "install.sh" ]
[]
true
Z4nzu/hackingtool
243
issue_to_patch
SpyCam link leads to unknown page **Describe the bug** When clicking on the link the SpyCam GitHub page. You are lead to a 404 page not found error. The Link should be removed. **To Reproduce** Steps to reproduce the behavior: 1. Go to 'README.md' 2. Click on 'SpyCam' 4. See error **Expected behavior** Ex...
Update README.MD / Fixes SpyCam link redirecting to 404 (Fixes #235)
- SpyCam original source was retired from GitHub... updated with one of the forked sources... - Fixes #235
0a4faeac9c4f93a61c937b0e57023b693beeca6f
e151f1fd6589cc90e439718c8ca0834fd2961453
diff --git a/README.md b/README.md index 5b7ba62a..b6057eef 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ - [Stitch](https://nathanlopez.github.io/Stitch) - [MSFvenom Payload Creator](https://github.com/g0tmi1k/msfpc) - [Venom Shellcode Generator](https://github.com/r00t-3xp10it/venom) -- [Spycam](https...
[ "README.md" ]
[]
true
Z4nzu/hackingtool
245
issue_to_patch
Update ddos.py
fix the syntax error in file `ddos.py` in line 29 `"sudo", "python3 ddos", method, url, "socks_type5.4.1", threads, proxylist, multiple, timer])`
0a4faeac9c4f93a61c937b0e57023b693beeca6f
56c2917e5355230d6f7052ce5d7e2f7db7953f34
diff --git a/tools/ddos.py b/tools/ddos.py index 2017c7d3..7cf37ea4 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -26,7 +26,7 @@ def run(self): timer = input(" Enter Timer >> ") os.system("cd ddos;") subprocess.run([ - "sudo", "python3 ddos", method, url, socks_type5.4.1, threa...
[ "tools/ddos.py" ]
[]
true
Z4nzu/hackingtool
146
issue_to_patch
Add StegoCracker in steganography tools
I will add something new in it in coming days.
87769dec56501e4e975bc533375cc244aabcd47b
bb997da360eb528f4c47657d3d32a36452ef22fa
diff --git a/README.md b/README.md index 441ce3ca..5b7ba62a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,8 @@ - [x] Payload Injector - [x] Multitor Tools update - [X] Added Tool in wifijamming +- [X] Added Tool in steganography + # Hackingtool Menu 🧰 @@ -159,6 +161,7 @@ ### Steganograhy tools - St...
[ "README.md", "tools/steganography.py" ]
[]
true
Z4nzu/hackingtool
161
issue_to_patch
Update ddos.py
005cdfb0b5a155645752be9b9287c06376062761
1ea3c3b1689fa42984b91fc285cf0a02ddd704bb
diff --git a/tools/ddos.py b/tools/ddos.py index 038b2662..2017c7d3 100644 --- a/tools/ddos.py +++ b/tools/ddos.py @@ -5,6 +5,29 @@ from core import HackingTool from core import HackingToolsCollection +class ddos(HackingTool): + TITLE ="ddos" + DESCRIPTION = "Best DDoS Attack Script With 36 Plus Methods." \ +...
[ "tools/ddos.py" ]
[]
true
Z4nzu/hackingtool
169
issue_to_patch
Small update on wordlist_generator.py
line 11 did not cd in to the cupp directory before trying to run it.
005cdfb0b5a155645752be9b9287c06376062761
37105b223215105cc59369c748ddfe55e91c4ac9
diff --git a/tools/wordlist_generator.py b/tools/wordlist_generator.py index 3e1be2db..dee3423b 100644 --- a/tools/wordlist_generator.py +++ b/tools/wordlist_generator.py @@ -8,7 +8,7 @@ class Cupp(HackingTool): DESCRIPTION = "WlCreator is a C program that can create all possibilities of passwords,\n " \ ...
[ "tools/wordlist_generator.py" ]
[]
true
Z4nzu/hackingtool
123
issue_to_patch
minor fixes (typos, installation instructions update, etc)
@Z4nzu I went through every tool and fixed everything that didn't run/install correctly
0fc632afe28a510832158c8e889f9bacecd4d1c4
6bd2d7029fdf2bc9d113b83d27e45e977bcce351
diff --git a/tools/exploit_frameworks.py b/tools/exploit_frameworks.py index da228b0a..9b78e1ee 100644 --- a/tools/exploit_frameworks.py +++ b/tools/exploit_frameworks.py @@ -35,7 +35,10 @@ class Commix(HackingTool): "errors or vulnerabilities related to command injection " \ "atta...
[ "tools/exploit_frameworks.py", "tools/forensic_tools.py", "tools/information_gathering_tools.py", "tools/other_tools.py", "tools/others/android_attack.py", "tools/others/email_verifier.py", "tools/others/socialmedia.py", "tools/others/socialmedia_finder.py", "tools/sql_tools.py", "tools/webattack....
[ { "comment": "Why do we need sudo for a git clone? We don't really need it here i guess ", "path": "tools/others/email_verifier.py", "hunk": "@@ -7,13 +7,14 @@ class KnockMail(HackingTool):\n TITLE = \"Knockmail\"\n DESCRIPTION = \"KnockMail Tool Verify If Email Exists\"\n INSTALL_COMMANDS =...
true
Z4nzu/hackingtool
123
comment_to_fix
minor fixes (typos, installation instructions update, etc)
Why do we need sudo for a git clone? We don't really need it here i guess
0fc632afe28a510832158c8e889f9bacecd4d1c4
6bd2d7029fdf2bc9d113b83d27e45e977bcce351
diff --git a/tools/others/email_verifier.py b/tools/others/email_verifier.py index d25fc59d..5969bd0e 100644 --- a/tools/others/email_verifier.py +++ b/tools/others/email_verifier.py @@ -7,13 +7,14 @@ class KnockMail(HackingTool): TITLE = "Knockmail" DESCRIPTION = "KnockMail Tool Verify If Email Exists" ...
[ "tools/others/email_verifier.py" ]
[ { "comment": "Why do we need sudo for a git clone? We don't really need it here i guess ", "path": "tools/others/email_verifier.py", "hunk": "@@ -7,13 +7,14 @@ class KnockMail(HackingTool):\n TITLE = \"Knockmail\"\n DESCRIPTION = \"KnockMail Tool Verify If Email Exists\"\n INSTALL_COMMANDS =...
true
Z4nzu/hackingtool
122
issue_to_patch
Updated Fluxion
This tool is deprecated and not mainteined https://github.com/thehackingsage/Fluxion, there is also an issue during the installation of this tool while installing Pyrit. Replaced with the new version https://github.com/FluxionNetwork/fluxion. If you want to keep both maybe call the last one Fluxion2
0fc632afe28a510832158c8e889f9bacecd4d1c4
bc6e98b1679bad9bb24f339b667d81456b5632a9
diff --git a/tools/wireless_attack_tools.py b/tools/wireless_attack_tools.py index 960413bc..6dfa1b8c 100644 --- a/tools/wireless_attack_tools.py +++ b/tools/wireless_attack_tools.py @@ -62,15 +62,13 @@ class BluePot(HackingTool): class Fluxion(HackingTool): TITLE = "Fluxion" - DESCRIPTION = "Fluxion is a wi...
[ "tools/wireless_attack_tools.py" ]
[]
true
Z4nzu/hackingtool
119
issue_to_patch
update some typos; clearly print the path for install
fixed a couple of typos in hackingtool.py. also, print the installation path regardless of selected option (for clarity)
0fc632afe28a510832158c8e889f9bacecd4d1c4
ed2c9dd9692cf4c33198c6a51b93106488df42e5
diff --git a/core.py b/core.py index e59ef3c2..e37b50e5 100644 --- a/core.py +++ b/core.py @@ -65,17 +65,15 @@ def show_info(self): desc += '\n\t[*] ' desc += self.PROJECT_URL os.system(f'echo "{desc}"|boxes -d boy | lolcat') - # print(desc) def show_options(self, parent...
[ "core.py", "hackingtool.py", "tools/anonsurf.py" ]
[]
true
ZachBray/FunScript
200
issue_to_patch
Update project references so that Examples will compile
I noticed that the examples aren't compiling even after build.cmd executes. It looks like the build.cmd drops the binaries in /build/main and /build/data, and updating the project references to look there let me compile all the examples except for WorldBank, which has a new schema without `School enrollment, tertiary (...
42ab15e6701a34271b0d06df3effcdcd66fb7614
2bb8a2d61afc7a3c3b05ed8ada34f2effc7644c1
diff --git a/examples/Canvas/Canvas.fsproj b/examples/Canvas/Canvas.fsproj index ce20454..06d79aa 100644 --- a/examples/Canvas/Canvas.fsproj +++ b/examples/Canvas/Canvas.fsproj @@ -43,10 +43,10 @@ <Private>True</Private> </Reference> <Reference Include="FunScript"> - <HintPath>..\..\main\FunScript...
[ "examples/Canvas/Canvas.fsproj", "examples/Hokusai/Hokusai.fsproj", "examples/Mandelbrot/Mandelbrot.fsproj", "examples/Mario/Mario.fsproj", "examples/MovieDatabase/MovieDatabase.fsproj", "examples/Pacman/PacMan.fsproj", "examples/SimpleAsync/SimpleAsync.fsproj", "examples/Tutorial/Tutorial.fsproj", ...
[]
true
ZachBray/FunScript
201
issue_to_patch
One more reversed list :)
42ab15e6701a34271b0d06df3effcdcd66fb7614
6360b4c6a7ecf3a48180e6ebbbb447bd6f017226
diff --git a/src/main/FunScript/Core/list.fs b/src/main/FunScript/Core/list.fs index 3e3c7ab..c0629cf 100644 --- a/src/main/FunScript/Core/list.fs +++ b/src/main/FunScript/Core/list.fs @@ -189,7 +189,7 @@ let Choose f xs = Fold (fun acc x -> match f x with | Some y -> Cons(y, acc) - | None -> acc...
[ "src/main/FunScript/Core/list.fs" ]
[]
true
ZachBray/FunScript
198
issue_to_patch
Unzip and Unzip3 should not reverse lists
Two more instances of the issue I fixed before :)
52f120f3ed9ef518473933eead813588045b14e4
8737f3fc9a0cc2698b0301e9950446cb51785907
diff --git a/src/main/FunScript/Core/list.fs b/src/main/FunScript/Core/list.fs index 837b6a3..3e3c7ab 100644 --- a/src/main/FunScript/Core/list.fs +++ b/src/main/FunScript/Core/list.fs @@ -224,10 +224,10 @@ let rec Exists2 f bs cs = | _ -> invalidOp "Lists had different lengths" let Unzip xs = - Fold (fun (lac...
[ "src/main/FunScript/Core/list.fs" ]
[]
true
ZachBray/FunScript
141
issue_to_patch
Add wrapper around function types with rest param
For #140 - initial pull request for comment - this isn't done yet. - For functions with rest params in argument position, need a way of creating the wrapper type. I know the emit code I want to generate but it's not there yet - This generates a new wrapper class for each instance (and num args), I was hoping to make 1...
b99d43f9320701d8b9b80d015629eee79c8cb8f5
b972397695ed40a52c2db3e8edd1e449fe3918f2
diff --git a/src/extra/FunScript.TypeScript/TypeGenerator.fs b/src/extra/FunScript.TypeScript/TypeGenerator.fs index cae3992..f29ae9d 100644 --- a/src/extra/FunScript.TypeScript/TypeGenerator.fs +++ b/src/extra/FunScript.TypeScript/TypeGenerator.fs @@ -92,6 +92,7 @@ module private Domain = | Method of GenericP...
[ "src/extra/FunScript.TypeScript/TypeGenerator.fs" ]
[]
true
ZachBray/FunScript
193
issue_to_patch
Fixed typos.
c517ad04cb67fdf73ca0d4317bddc41c3ee79bbb
5bd34807aa579cfb2457f485a4595218418f9af2
diff --git a/src/docs/index.fsx b/src/docs/index.fsx index 9a46fb9..54ff457 100644 --- a/src/docs/index.fsx +++ b/src/docs/index.fsx @@ -91,7 +91,7 @@ and take a look at our tutorials and samples: - [Visualizing World Bank data](samples/worldbank/index.html) - [Calling The Movie Database](samples/moviedatabase/inde...
[ "src/docs/index.fsx", "src/docs/template/sample-template.html" ]
[]
true
ZachBray/FunScript
194
issue_to_patch
Added executable flag to build.sh
Makes for a cleaner "clone and go" experience from Unix. Without this, you have to "chmod +x build.sh" before use.
c517ad04cb67fdf73ca0d4317bddc41c3ee79bbb
7939e5b534d40a191bff3e30ec3b9d61cfa33782
diff --git a/build.sh b/build.sh old mode 100644 new mode 100755
[ "build.sh" ]
[]
true
ZachBray/FunScript
196
issue_to_patch
List.filter should not reverse list
c517ad04cb67fdf73ca0d4317bddc41c3ee79bbb
fd08afce2cfa1f4716563276df955df6cbad9632
diff --git a/src/main/FunScript/Core/list.fs b/src/main/FunScript/Core/list.fs index f14c6a8..837b6a3 100644 --- a/src/main/FunScript/Core/list.fs +++ b/src/main/FunScript/Core/list.fs @@ -176,9 +176,9 @@ let Get xs n = FindIndexed (fun i _ -> n = i) xs let Filter f xs = - Fold (fun acc x -> + FoldBack...
[ "src/main/FunScript/Core/list.fs" ]
[]
true
ZachBray/FunScript
191
issue_to_patch
rename Build.fsx to lowercase build.fsx; lowercased version is refere…
…nced in build.sh; casing matters on unix like systems
38d30037dc6545901d3e7db1316bf441f78c0794
85a1482ab3d2fd4c9ce3a2ebb05065a456b2b244
diff --git a/Build.fsx b/build.fsx similarity index 100% rename from Build.fsx rename to build.fsx
[ "build.fsx" ]
[]
true
ZachBray/FunScript
189
issue_to_patch
Fixes #187 as per kindly indicated by @Arnavion
72268caac11f417d7bc0d07489e23ad0eebf645f
2e48b851e735fd1a246d70c36fa1d2a76add5442
diff --git a/src/main/FunScript/CommonOperators.fs b/src/main/FunScript/CommonOperators.fs index aa4757c..6a3b86b 100644 --- a/src/main/FunScript/CommonOperators.fs +++ b/src/main/FunScript/CommonOperators.fs @@ -208,7 +208,7 @@ let private typeTest = |> returnTypeTest "instanceof" | _ -> [ retur...
[ "src/main/FunScript/CommonOperators.fs" ]
[]
true
ZachBray/FunScript
188
issue_to_patch
Fix Bad link in FunScript website - Issue #87
1dfc9e2d5b41efbcdbe1856116fb90e511160613
c4747cc72a3c624737c408fddd795b61f9d348c7
diff --git a/src/docs/get.md b/src/docs/get.md index 676cfc0..b1c3b34 100644 --- a/src/docs/get.md +++ b/src/docs/get.md @@ -53,8 +53,8 @@ to avoid loading errors. ## Build from source If you want to get the latest version or if you're considering contributing to FunScript, then -you can get the [source code from G...
[ "src/docs/get.md" ]
[]
true
ZachBray/FunScript
146
issue_to_patch
Fixed error when parsing identifiers that start with keywords (e.g. staticMove)
Fixes error parsing [three-trackballcontrols.d.ts](https://github.com/borisyankov/DefinitelyTyped/blob/master/threejs/three-trackballcontrols.d.ts) Verified that all other definition files in [DefinitelyTyped](https://github.com/borisyankov/DefinitelyTyped) continue to be parsed correctly.
b99d43f9320701d8b9b80d015629eee79c8cb8f5
7b68c5c115516cd7b4c96943024d95130d7d36ab
diff --git a/src/extra/FunScript.TypeScript/Parser.fs b/src/extra/FunScript.TypeScript/Parser.fs index 426d99f..b9c3c4e 100644 --- a/src/extra/FunScript.TypeScript/Parser.fs +++ b/src/extra/FunScript.TypeScript/Parser.fs @@ -110,10 +110,10 @@ let identifier = .>> ws let keyword_ws s = - pstring s .>> nextCh...
[ "src/extra/FunScript.TypeScript/Parser.fs" ]
[]
true
ZachBray/FunScript
183
issue_to_patch
Reference packages via paket in TypeScript project
I tried building the latest version and it failed :-(. This at least makes the build pass.
8871629bf40a6640c1d95ce186a95efad0c14072
7f7980962756c3ca7eb960f30b8ea827a1da0cd2
diff --git a/.gitignore b/.gitignore index ae801b3..86677d5 100644 --- a/.gitignore +++ b/.gitignore @@ -186,3 +186,4 @@ paket-files .paket/paket.exe docs/content/license.md docs/content/release-notes.md +*.bak diff --git a/paket.lock b/paket.lock index 39eae96..3458780 100644 --- a/paket.lock +++ b/paket.lock @@ -4...
[ ".gitignore", "paket.lock", "src/extra/FunScript.TypeScript/FunScript.TypeScript.fsproj", "src/extra/FunScript.TypeScript/Program.fs", "src/extra/FunScript.TypeScript/paket.references" ]
[]
true
ZachBray/FunScript
179
issue_to_patch
Include type name in `MissingReflectedDefinitionException`
This eases debugging when not implemented methods are used. I vaguely remember that `DeclaringType` can be null sometimes. Should I include a null-check?
899005fb49482a17d7cde86ec82e26952d748706
26311be24bf57d973d3b9c9ed49c8fded5c32b88
diff --git a/src/main/FunScript/ReflectedDefinitions.fs b/src/main/FunScript/ReflectedDefinitions.fs index 8ff87d6..e5cde2e 100644 --- a/src/main/FunScript/ReflectedDefinitions.fs +++ b/src/main/FunScript/ReflectedDefinitions.fs @@ -9,7 +9,8 @@ open Microsoft.FSharp.Reflection type MissingReflectedDefinitionExceptio...
[ "src/main/FunScript/ReflectedDefinitions.fs" ]
[]
true
ZachBray/FunScript
172
issue_to_patch
Implement String.Contains
eb300f50ce87382a637b93df290df6a231cea622
efe02f20ac6fe6fd1447d15724e81f05bd37f4af
diff --git a/src/main/FunScript/Core/String.fs b/src/main/FunScript/Core/String.fs index eb2922c..b509696 100644 --- a/src/main/FunScript/Core/String.fs +++ b/src/main/FunScript/Core/String.fs @@ -135,6 +135,10 @@ let Replace(s:string, search:string, replace:string) : string = [<FunScript.JSEmitInline("{0}")>] let To...
[ "src/main/FunScript/Core/String.fs", "src/main/FunScript/Strings.fs", "src/tests/FunScript.Tests/StringTests.fs" ]
[]
diff --git a/src/tests/FunScript.Tests/StringTests.fs b/src/tests/FunScript.Tests/StringTests.fs index e40e0fd..39c384b 100644 --- a/src/tests/FunScript.Tests/StringTests.fs +++ b/src/tests/FunScript.Tests/StringTests.fs @@ -8,6 +8,13 @@ module FunScript.Tests.Strings open System open NUnit.Framework +[<TestCase("B...
true
ZachBray/FunScript
167
issue_to_patch
fixed broken link to examples on github
83d21b440b65b0db5324b048382f636a37bb05d0
fbd8a96fc7795609656b4356b0d94befae29bb91
diff --git a/index.html b/index.html index 8aff49c..e5d8dc5 100644 --- a/index.html +++ b/index.html @@ -122,7 +122,7 @@ <h3>Contributions</h3> <h3>Samples and tutorials</h3> -<p>For more information, explore <a href="https://github.com/ZachBray/FunScript/tree/master/Examples">examples on GitHub</a> +<p>For more i...
[ "index.html" ]
[]
true
ZachBray/FunScript
166
issue_to_patch
Custom exceptions, some type testing capabilities and minor fixes
Remaining issues: - Interface coertion must generate global methods so they can be type tested. - Inheritance is not working properly
be4c7d4ca20d0fa17cf38893a8bdc6cac0804d69
2e2a421430de8bb778bd8402bc82ef8c6bfa9a13
diff --git a/src/main/FunScript/AST.fs b/src/main/FunScript/AST.fs index fecb338..15d7125 100644 --- a/src/main/FunScript/AST.fs +++ b/src/main/FunScript/AST.fs @@ -74,7 +74,7 @@ let indent n = String.init n (fun _ -> " ") let getNewlineAndOffset (padding, scope : VariableScope ref) = if (!scope).ShouldCompress...
[ "src/main/FunScript/AST.fs", "src/main/FunScript/Arrays.fs", "src/main/FunScript/Asyncs.fs", "src/main/FunScript/CommonOperators.fs", "src/main/FunScript/Comparison.fs", "src/main/FunScript/CompilerComponent.fs", "src/main/FunScript/ControlFlow.fs", "src/main/FunScript/Core/GenericConstants.fs", "sr...
[]
diff --git a/src/tests/FunScript.Tests/ComparisonTests.fs b/src/tests/FunScript.Tests/ComparisonTests.fs index 01aeac9..9bbb12b 100644 --- a/src/tests/FunScript.Tests/ComparisonTests.fs +++ b/src/tests/FunScript.Tests/ComparisonTests.fs @@ -513,4 +513,22 @@ let ``custom IComparable record implementation less than works...
true
ZachBray/FunScript
164
issue_to_patch
obj will be consider primitive for comparison in JS to fix #159
7c5b65db2cc667a5dfb4323f0eb2d66a8633f43e
c84c64dda5f94b87aba8fc048c612274ca4fc741
diff --git a/src/main/FunScript/Comparison.fs b/src/main/FunScript/Comparison.fs index c5a23cf..2f53fbf 100644 --- a/src/main/FunScript/Comparison.fs +++ b/src/main/FunScript/Comparison.fs @@ -42,8 +42,9 @@ type private TypeKind = | Primitive | NonPrimitive +/// obj will be considered primitive for comparison...
[ "src/main/FunScript/Comparison.fs", "src/main/FunScript/Reflection.fs" ]
[]
true
ZachBray/FunScript
163
issue_to_patch
Optimizations for lambda expressions
89d8fdd984c6b86ab91ccde842b3617fcbbb98b3
3c1d76fe8656e6461e9316e178c2757969a6ed64
diff --git a/src/main/FunScript/LambdaApplication.fs b/src/main/FunScript/LambdaApplication.fs index 5a3507b..6f201a4 100644 --- a/src/main/FunScript/LambdaApplication.fs +++ b/src/main/FunScript/LambdaApplication.fs @@ -4,13 +4,24 @@ open AST open Microsoft.FSharp.Quotations let private application = - CompilerC...
[ "src/main/FunScript/LambdaApplication.fs" ]
[]
true
ZachBray/FunScript
151
issue_to_patch
Fix #150
288ec7af2a377ce8ea6ff508a0b66edcd5b373b7
231e950e5f2726d4803c95e38e778e46632596c8
diff --git a/src/main/FunScript/Times.fs b/src/main/FunScript/Times.fs index 65493ba..899ba18 100644 --- a/src/main/FunScript/Times.fs +++ b/src/main/FunScript/Times.fs @@ -4,9 +4,22 @@ open AST open System open Microsoft.FSharp.Quotations +let private maxmin = + CompilerComponent.create <| fun (|Split|) compiler...
[ "src/main/FunScript/Times.fs", "src/tests/FunScript.Tests/DateTimeTests.fs" ]
[]
diff --git a/src/tests/FunScript.Tests/DateTimeTests.fs b/src/tests/FunScript.Tests/DateTimeTests.fs index c404fc8..775b2ea 100644 --- a/src/tests/FunScript.Tests/DateTimeTests.fs +++ b/src/tests/FunScript.Tests/DateTimeTests.fs @@ -12,7 +12,25 @@ let toSigFigs nSigFigs x = let scale = pown 10. digitsToAdjustNumbe...
true
ZachBray/FunScript
148
issue_to_patch
Some tests and fix for PrintFormatToString
Uncommented some tests that were failing in JINT and work now with Edge. Fix a problem with PrintFormatToString. Now if there aren't more placeholders in the format string, a string is returned, not a function.
b99d43f9320701d8b9b80d015629eee79c8cb8f5
d634c78c22426ab72d3f5ef2941fc044f27123fd
diff --git a/src/main/FunScript/Core/String.fs b/src/main/FunScript/Core/String.fs index 0af6ada..eb2922c 100644 --- a/src/main/FunScript/Core/String.fs +++ b/src/main/FunScript/Core/String.fs @@ -1,22 +1,20 @@ ο»Ώ[<FunScript.JS>] module FunScript.Core.String -// TODO: This is a bit tricky, it will never return a str...
[ "src/main/FunScript/Core/String.fs", "src/tests/FunScript.Tests/DateTimeTests.fs", "src/tests/FunScript.Tests/StringTests.fs" ]
[]
diff --git a/src/tests/FunScript.Tests/DateTimeTests.fs b/src/tests/FunScript.Tests/DateTimeTests.fs index 80aa962..c404fc8 100644 --- a/src/tests/FunScript.Tests/DateTimeTests.fs +++ b/src/tests/FunScript.Tests/DateTimeTests.fs @@ -13,55 +13,61 @@ let toSigFigs nSigFigs x = round(x / scale) * scale // TODO: Th...
true
ZachBray/FunScript
139
issue_to_patch
Fix #138
c6dd4612a5e4fb07c4977e96c5231f268887f787
d7bab37e1637b446a5c22908710362683302762e
diff --git a/src/main/FunScript/Core/Web.fs b/src/main/FunScript/Core/Web.fs index 091875b..642e0b8 100644 --- a/src/main/FunScript/Core/Web.fs +++ b/src/main/FunScript/Core/Web.fs @@ -102,9 +102,7 @@ type WebHeaderCollection() = let mutable headers = [] member __.Add(key : string, value) = - // Bro...
[ "src/main/FunScript/Core/Web.fs" ]
[]
true
ZachBray/FunScript
137
issue_to_patch
Feature/rx js mappings
26f79226a85fcff4151ab1beee00da22e446cec9
5dc4e043a2e5ee6a44cf7ea0077212f9d642e56a
diff --git a/.gitignore b/.gitignore index 64c6638..d72c03a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ _ReSharper*/ : nugetpackage/lib build/deploy +src/tests/FunScript.Tests/edge packages # Generated documentation diff --git a/Build.fsx b/Build.fsx index 70cb8d7..7c7b995 100644 --- a/Build.fsx +...
[ ".gitignore", "Build.fsx", "build/data-template.nuspec", "build/data/deploy/data-template.nuspec", "build/main/deploy/template.nuspec", "build/rx-template.nuspec", "build/template.nuspec", "lib/Jint.dll", "lib/RxJs/rx.all.js", "src/FunScript.sln", "src/extra/FunScript.Rx/AssemblyInfo.fs", "src...
[]
diff --git a/src/tests/FunScript.Tests/ArrayTests.fs b/src/tests/FunScript.Tests/ArrayTests.fs index d276d23..ce34298 100644 --- a/src/tests/FunScript.Tests/ArrayTests.fs +++ b/src/tests/FunScript.Tests/ArrayTests.fs @@ -679,4 +679,13 @@ let ``Array as IList count has same behaviour``() = let xs = [|1.; 2....
true
ZachBray/FunScript
131
issue_to_patch
Speed-up generation of Compiled type names
Significantly decreases the "Generating type extensions" processing time. @alfonsogarciacaro: Alfonso, I hope this helps with #117. On my computer this change reduces the "Generating type extensions" for lib.d.ts from 15s to about 2s. This, in conjunction with the fact that binding.lib.dll is not re-generated if pr...
9ca6919b472f3684e3bd2a4e026d05d35040484a
139220a5dae3fcddb46c33323417d7b5d003e8fc
diff --git a/src/extra/FunScript.TypeScript/TypeGenerator.fs b/src/extra/FunScript.TypeScript/TypeGenerator.fs index a1f7b27..cae3992 100644 --- a/src/extra/FunScript.TypeScript/TypeGenerator.fs +++ b/src/extra/FunScript.TypeScript/TypeGenerator.fs @@ -858,14 +858,13 @@ type %s =""" (namespaceComponentCode t) lo...
[ "src/extra/FunScript.TypeScript/TypeGenerator.fs" ]
[]
true
ZachBray/FunScript
135
issue_to_patch
Fix problem with operator replacements
FunScript.Quote.specialOp was not getting the parameter types into account when getting the method info, and because of this it was failing when the type had overloaded operators. I'm also reverting the previous fix.
9328b87f84e1189fd94465c5bba44c4b4a039fbe
a45430af259db79174fffc8e84afc331e58890a8
diff --git a/src/main/FunScript/Core/Time.fs b/src/main/FunScript/Core/Time.fs index 73b2c6a..98f007a 100644 --- a/src/main/FunScript/Core/Time.fs +++ b/src/main/FunScript/Core/Time.fs @@ -192,15 +192,15 @@ type DateTime = let newDay = min daysInMonth dt.Day DateTime.createUnsafeYMDHMSM(newYear, newMo...
[ "src/main/FunScript/Core/Time.fs", "src/main/FunScript/QuoteExtensions.fs", "src/main/FunScript/Times.fs" ]
[]
true
ZachBray/FunScript
134
issue_to_patch
Fix DateTime subtraction
9ca6919b472f3684e3bd2a4e026d05d35040484a
03aeadadea6236fd98f8a819f36d39e2d38c186e
diff --git a/src/main/FunScript/Core/Time.fs b/src/main/FunScript/Core/Time.fs index 98f007a..73b2c6a 100644 --- a/src/main/FunScript/Core/Time.fs +++ b/src/main/FunScript/Core/Time.fs @@ -192,15 +192,15 @@ type DateTime = let newDay = min daysInMonth dt.Day DateTime.createUnsafeYMDHMSM(newYear, newMo...
[ "src/main/FunScript/Core/Time.fs", "src/main/FunScript/Times.fs" ]
[]
true
ZachBray/FunScript
128
issue_to_patch
Assembly compilation improvements
- Fixes issue #130 - Compilation now succeeds when only warnings are present - Adds detailed compilation warning and error messages to console output - Fixes lowerCamelCasing of sanitised identifiers. Now sanitized identifiers starting with "Dollar" are correctly lowerCamelCased - Updates lib.d.ts to Typescript 1.1.0...
b5a7c34759fbd945f3730d2a59e807cb04db4994
ed9f8b81caf21586201423f493d5608ff3af752d
diff --git a/src/extra/FunScript.TypeScript/Program.fs b/src/extra/FunScript.TypeScript/Program.fs index 2ba59ba..d2bee1c 100644 --- a/src/extra/FunScript.TypeScript/Program.fs +++ b/src/extra/FunScript.TypeScript/Program.fs @@ -63,8 +63,13 @@ let compile outputAssembly references (source : string) = match [| ...
[ "src/extra/FunScript.TypeScript/Program.fs", "src/extra/FunScript.TypeScript/TypeGenerator.fs", "src/extra/FunScript.TypeScript/lib.d.ts" ]
[]
true
ZachBray/FunScript
123
issue_to_patch
Successfully parsing all DefinitelyTyped typescript definition files
Addresses the following: - Hex and octal escaped characters in Typescript string literals are now parsed, in addition to the Unicode escaping - Typescript identifiers that begin with a typescript keyword (e.g. anyDB) are now correctly parsed - Import declarations of form `import <identifier> = <entity name>` are now co...
0fb5791fef3844edfd4863f07b52529cf5997045
6e920ae9cd58c9c0d660da36e62d8d352f643757
diff --git a/src/extra/FunScript.TypeScript/Parser.fs b/src/extra/FunScript.TypeScript/Parser.fs index 9af6208..426d99f 100644 --- a/src/extra/FunScript.TypeScript/Parser.fs +++ b/src/extra/FunScript.TypeScript/Parser.fs @@ -41,7 +41,23 @@ let stringLiteralBetween braceChar = |> char |> string ) ...
[ "src/extra/FunScript.TypeScript/Parser.fs", "src/extra/FunScript.TypeScript/TypeGenerator.fs" ]
[]
true
ZachBray/FunScript
127
issue_to_patch
Address two first points of #121
1d6d63803f202b07ca8f0356a8e2cd2c7e8c0690
67633bfb1ccc51c655889758191adcd58921df03
diff --git a/src/main/FunScript/Compiler.fs b/src/main/FunScript/Compiler.fs index e45a998..d439e2f 100644 --- a/src/main/FunScript/Compiler.fs +++ b/src/main/FunScript/Compiler.fs @@ -36,14 +36,13 @@ let private allComponents = ] |> List.concat type Compiler = - static member Compile(expression, ?components, ...
[ "src/main/FunScript/Compiler.fs", "src/main/FunScript/Core/KeyValuePair.fs", "src/main/FunScript/InternalCompiler.fs", "src/main/FunScript/Reflection.fs" ]
[]
true
ZachBray/FunScript
126
issue_to_patch
Contructor for generic types (without arguments)
I need this for FunScript.HTML IndexedDB
0fb5791fef3844edfd4863f07b52529cf5997045
435368e16f2c3adaa0f1567de8367c16bf3b6e26
diff --git a/src/main/FunScript/ReflectedDefinitions.fs b/src/main/FunScript/ReflectedDefinitions.fs index 8ea6a26..6e77d8e 100644 --- a/src/main/FunScript/ReflectedDefinitions.fs +++ b/src/main/FunScript/ReflectedDefinitions.fs @@ -303,6 +303,10 @@ let private constructingInstances = declaringType.FullNam...
[ "src/main/FunScript/ReflectedDefinitions.fs" ]
[]
true
ZachBray/FunScript
122
issue_to_patch
Fixes Funscript.Typescript.Exe crash on parsing errors
Prevents Funscript.Typescript.Exe from crashing on parsing errors. Logs the names of the definition files that failed to parse to console and writes detailed error messages for all parsing failures to failed-parsing.txt Does NOT fix current parsing errors encountered when parsing [DefinitelyTyped](https://github.com...
418e58c431b0b74a04c0578db0e9ee6cb5ae2f36
cd392d518330e777ad784852ec15b15564628111
diff --git a/src/extra/FunScript.TypeScript/Parser.fs b/src/extra/FunScript.TypeScript/Parser.fs index 2511a4e..9af6208 100644 --- a/src/extra/FunScript.TypeScript/Parser.fs +++ b/src/extra/FunScript.TypeScript/Parser.fs @@ -517,10 +517,14 @@ let declarationsFile : Parser<_, unit> = ws >>. many declarationElement ...
[ "src/extra/FunScript.TypeScript/Parser.fs", "src/extra/FunScript.TypeScript/Program.fs" ]
[]
true
ZachBray/FunScript
114
issue_to_patch
Observable.pairwise fix
For some reason, the function was not working, but it did when I put the code within FunScript.Core.Events.Observable.PairwiseObservable in different lines. Maybe the quotations got messed up?
6c5b69cbd9c526fff5aa1f0eab88d9fc2b32337e
ae55fac07b2737155c33746f9b5802e9e11c14dc
diff --git a/src/main/FunScript/Core/Events.fs b/src/main/FunScript/Core/Events.fs index 5fa498a..122c886 100644 --- a/src/main/FunScript/Core/Events.fs +++ b/src/main/FunScript/Core/Events.fs @@ -112,7 +112,11 @@ module Observable = let lastArgs = ref None let newObserver = ...
[ "src/main/FunScript/Core/Events.fs" ]
[]
true
ZachBray/FunScript
113
issue_to_patch
Refactoring of imperative collections and more string formatting
I unified the management of imperative collections' enumeration in the FunScript.Seqs module. I also added additional capabilities to String.Format (use of f, p, e, g codes with precision and DateTime formatting) and a somewhat hacky implementation of sprintf, directly in JS.
155329f5fbcbeac31ef4fb938b7089c36da69d99
40094b0312fb6f7c2fa8e8ec69b49e6228390ab3
diff --git a/src/main/FunScript/Compiler.fs b/src/main/FunScript/Compiler.fs index e5f5fdb..e45a998 100644 --- a/src/main/FunScript/Compiler.fs +++ b/src/main/FunScript/Compiler.fs @@ -16,7 +16,6 @@ let private allComponents = Asyncs.components ReflectedDefinitions.components Arrays.components - ...
[ "src/main/FunScript/Compiler.fs", "src/main/FunScript/Core/Dictionaries.fs", "src/main/FunScript/Core/Enumerator.fs", "src/main/FunScript/Core/Regex.fs", "src/main/FunScript/Core/ResizeArray.fs", "src/main/FunScript/Core/Seq.fs", "src/main/FunScript/Core/String.fs", "src/main/FunScript/Core/Time.fs", ...
[]
diff --git a/src/tests/FunScript.Tests/DateTimes.fs b/src/tests/FunScript.Tests/DateTimes.fs index cd7e666..1b2f72b 100644 --- a/src/tests/FunScript.Tests/DateTimes.fs +++ b/src/tests/FunScript.Tests/DateTimes.fs @@ -4,19 +4,56 @@ module FunScript.Tests.DateTimes open NUnit.Framework open System -[<TestCase(2014); ...
true
ZachBray/FunScript
110
issue_to_patch
Implementation of DateTime, additional Regex methods and more
Hi Zach, As the title says, I implemented almost complete versions of DateTime and TimeSpan with working unit tests. I also cleaned up a bit my previous implementation of Enumerators for imperative collections (ResizeArray, Dictionary, MatchCollection...), added more expression replacements to the Regex module and ex...
aa3cf60c6c15d1964a6958d8906a2d85d015b08d
3bb254e39ac960e78369b1f5bc67ed36e72412cc
diff --git a/src/main/FunScript/CommonOperators.fs b/src/main/FunScript/CommonOperators.fs index bb41eb0..1e794c4 100644 --- a/src/main/FunScript/CommonOperators.fs +++ b/src/main/FunScript/CommonOperators.fs @@ -156,6 +156,7 @@ let components = CompilerComponent.unary <@ single @> id CompilerCompon...
[ "src/main/FunScript/CommonOperators.fs", "src/main/FunScript/Compiler.fs", "src/main/FunScript/Core/Async.fs", "src/main/FunScript/Core/Dictionaries.fs", "src/main/FunScript/Core/Enumerator.fs", "src/main/FunScript/Core/Regex.fs", "src/main/FunScript/Core/ResizeArray.fs", "src/main/FunScript/Core/Seq....
[ { "comment": "Thank you very much for adding this additional functionality into FunScript and adding tests around it. Unfortunately, these tests are a little bit fragile (especially on the slow TeamCity CodeBetter build server).\n\nThe `check` test function compiles the quotation in .NET and JavaScript (using F...
diff --git a/src/tests/FunScript.Tests/DateTimes.fs b/src/tests/FunScript.Tests/DateTimes.fs new file mode 100644 index 0000000..cd7e666 --- /dev/null +++ b/src/tests/FunScript.Tests/DateTimes.fs @@ -0,0 +1,521 @@ +ο»Ώ[<NUnit.Framework.TestFixture>] +module FunScript.Tests.DateTimes + +open NUnit.Framework +open System ...
true
ZachBray/FunScript
107
issue_to_patch
Fix issue #106
Added CancellationToken property to Async. Also, Async.Sleep has been modified to check if the workflow has been cancelled before the timeout expires. I took the chance to change the special types in the Observable module from internal to private.
8e136d80a723537c824a751fc3e7190ecfb7ed74
7ae7fe6510bed81c00367d73a3bee56747a1d6cb
diff --git a/src/main/FunScript/Core/Async.fs b/src/main/FunScript/Core/Async.fs index 8839d9e..22e7596 100644 --- a/src/main/FunScript/Core/Async.fs +++ b/src/main/FunScript/Core/Async.fs @@ -112,9 +112,13 @@ type Async = CancelledCont = ignore; CancellationToken = token } f { Cont = ignore; ...
[ "src/main/FunScript/Core/Async.fs", "src/main/FunScript/Core/Events.fs" ]
[]
true
ZachBray/FunScript
104
issue_to_patch
Observable, imperative collections, regex and string functions
Hi Zach, Several commits have accumulated in this pull request, so I'm listing here all the new features: - Observable module (no unit tests, but working in my TodoMVC project) As quotations cannot contain object expressions I just reimplemented the Observable module from the FSharp.Core libray using actual types. I...
fdcaf4ae38c8bc54ff2b7af0c24ce7d159c21bdc
bd58bcab7d1da536086c4d5aaf347a606e45c32d
diff --git a/src/main/FunScript/Compiler.fs b/src/main/FunScript/Compiler.fs index eb69076..58cf236 100644 --- a/src/main/FunScript/Compiler.fs +++ b/src/main/FunScript/Compiler.fs @@ -11,9 +11,12 @@ let private allComponents = Maps.components Lists.components Strings.components + Regexs.compo...
[ "src/main/FunScript/Compiler.fs", "src/main/FunScript/Core/Dictionaries.fs", "src/main/FunScript/Core/Events.fs", "src/main/FunScript/Core/Regex.fs", "src/main/FunScript/Core/ResizeArray.fs", "src/main/FunScript/Core/String.fs", "src/main/FunScript/Dictionaries.fs", "src/main/FunScript/ExpressionRepla...
[]
diff --git a/src/tests/FunScript.Tests/Dictionaries.fs b/src/tests/FunScript.Tests/Dictionaries.fs new file mode 100644 index 0000000..8fc2e9d --- /dev/null +++ b/src/tests/FunScript.Tests/Dictionaries.fs @@ -0,0 +1,228 @@ +ο»Ώ[<NUnit.Framework.TestFixture>] +module FunScript.Tests.Dictionaries + +open NUnit.Framework +...
true
ZachBray/FunScript
97
issue_to_patch
Fix typo in FunScript.Data dependency and cleanup build output
49b87466d880e21af4600ebb16285e4e3d34e39d
f7d95738822ff07ae81142ffb0463bbc963e8a4b
diff --git a/Build.fsx b/Build.fsx index 7f57e7e..70cb8d7 100644 --- a/Build.fsx +++ b/Build.fsx @@ -145,7 +145,7 @@ Target "Create-Package-Data" (fun () -> [ "FunScript", sprintf "[%s]" versionNumber "FSharp.Data", "[2.0.9]" - "ApiaryProvier", "[1.0.2]" + ...
[ "Build.fsx", "build/data/deploy/template.nuspec", "build/main/deploy/template.nuspec" ]
[]
true
ZachBray/FunScript
102
issue_to_patch
Fix typo for ApiaryProvider
a9024055ea0c72acc2026f02fb27ea1a6b3fc58f
1cc99967ae0d743e40cb4d9aaf373841fcae42b3
diff --git a/build/data/deploy/template.nuspec b/build/data/deploy/template.nuspec index cb6e7b0..ada4fc7 100644 --- a/build/data/deploy/template.nuspec +++ b/build/data/deploy/template.nuspec @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +ο»Ώ<?xml version="1.0" encoding="utf-8"?> <package xmlns:xsi="http://ww...
[ "build/data/deploy/template.nuspec" ]
[]
true
ZachBray/FunScript
45
issue_to_patch
Added a jQuery UI Drag/Drop example.
4fc4bd9c866293a15c74c84c1892b5ae12ea635c
8873ad5a05acb3cca9c21d1f888140a84f6d6574
diff --git a/Examples/FunScript.Examples.sln b/Examples/FunScript.Examples.sln index 04d75bb..437f385 100644 --- a/Examples/FunScript.Examples.sln +++ b/Examples/FunScript.Examples.sln @@ -29,6 +29,8 @@ Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Twitter", "Twitter\Twitter. EndProject Project("{F2A71F9B-5D33...
[ "Examples/FunScript.Examples.sln", "Examples/jQueryUI/App.config", "Examples/jQueryUI/FunctionHelpers.fs", "Examples/jQueryUI/Index.html", "Examples/jQueryUI/Program.fs", "Examples/jQueryUI/Site.css", "Examples/jQueryUI/jQueryUI.fsproj" ]
[]
true
ZachBray/FunScript
55
issue_to_patch
String replace
- IsNullOrEmpty returns now a bool - String.Replace is not stuck in a endless loop if you replace for example a dot with two dots :) - Added test to prove String.Replace works correctly now
a29d76e875f72b69eefb44a70f94abbd372b22ea
7dd8f85243286b16c46c8e709d4f4538e2014417
diff --git a/FunScript.Tests/Strings.fs b/FunScript.Tests/Strings.fs index 38ab075..2b9e456 100644 --- a/FunScript.Tests/Strings.fs +++ b/FunScript.Tests/Strings.fs @@ -40,6 +40,14 @@ let ``String.Replace works``() = "abc abc abc".Replace("abc", "d") @@> +[<Test>] +let ``String.Replace does not get s...
[ "FunScript.Tests/Strings.fs", "FunScript/Core/String.fs" ]
[]
true
ZachBray/FunScript
77
issue_to_patch
Travis ci build
This pr add [travis ci](https://travis-ci.org) build configuration build is for every branch/commit/pull request and for personal forks build is compile ( both FunScript.sln and FunScript.Libraries.sln ) and run unit test ( FunScript.Tests ) build is passing [![Build Status](https://travis-ci.org/enricosada/FunScri...
1dfed61ba9351f7b59384873c328edd0e107e6f5
1f1270c89ce05ed8d027dbddad5b09efe9c242db
diff --git a/.gitignore b/.gitignore index 699a53c..dd5fb36 100644 --- a/.gitignore +++ b/.gitignore @@ -15,8 +15,10 @@ _ReSharper*/ : nugetpackage/lib build +packages # Generated documentation Docs/output/* TestResults/FunScript.TE.Tests.mdf TestResults/FunScript.TE.Tests_log.ldf +TestResult.xml diff --git a/...
[ ".gitignore", ".travis.yml", "FunScript.BrowserAPI/FunScript.BrowserAPI.fsproj", "FunScript.Data/FunScript.Data.fsproj", "FunScript.Tests/Common.fs", "FunScript.Tests/Strings.fs", "README.md" ]
[]
true
ZachBray/FunScript
100
issue_to_patch
Fix issue #99
49b87466d880e21af4600ebb16285e4e3d34e39d
042cf810bab592fbaf9a3df3ac77212b8d973625
diff --git a/src/main/FunScript/Core/Range.fs b/src/main/FunScript/Core/Range.fs index 77a3492..6157087 100644 --- a/src/main/FunScript/Core/Range.fs +++ b/src/main/FunScript/Core/Range.fs @@ -5,8 +5,9 @@ open System.Collections open System.Collections.Generic let inline customStep (first: ^a) (stepping: ^b) (last:...
[ "src/main/FunScript/Core/Range.fs" ]
[]
true
ZachBray/FunScript
37
issue_to_patch
Reworked documentation
c47f3e0ace2d43c8a13541b6280660776a45a79d
97218f7bd08474327b32c614180bd6fd4889acf3
diff --git a/.gitignore b/.gitignore index af1314d..85023be 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,4 @@ nugetpackage/lib build # Generated documentation -Examples/Documentation/Output/*.html \ No newline at end of file +Docs/output/* \ No newline at end of file diff --git a/Docs/build.fsx b/Docs/buil...
[ ".gitignore", "Docs/build.fsx", "Docs/contribute.md", "Docs/get.md", "Docs/index.md", "Docs/learn.md", "Docs/static/css/foundation.css", "Docs/static/css/foundation.min.css", "Docs/static/css/normalize.css", "Docs/static/custom/style.css", "Docs/static/custom/tooltips.css", "Docs/static/custom...
[]
true
ZachBray/FunScript
59
issue_to_patch
Update web site
afa109d8b1b3f5399918eb3f1eb3e4403ad846a5
ad3766355a2fcb8653397e258a2074f91e64861d
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3b77f97 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +Docs/ +Examples/ +FunScript*/ +*.suo diff --git a/contribute.html b/contribute.html index 2a94860..6c1f37a 100644 --- a/contribute.html +++ b/contribute.html @@ -13,29 +13,29 @@ <meta name...
[ ".gitignore", "contribute.html", "custom/tooltips.css", "custom/tooltips.js", "downloads/funscript.zip", "get.html", "index.html", "learn.html", "samples/canvas/index.html", "samples/mandelbrot/index.html", "samples/mario/index.html", "samples/mario/mariojumpleft.gif", "samples/mario/marioju...
[]
true
ZachBray/FunScript
71
issue_to_patch
Attempt to fix twitter sample
Still not working, but at least now is compiling. Can't figure out why it's not working, get a weird js error that seems to be in the google maps stuff
acb2a006f47d6b69340dff31046e944b3e2c1639
373adbe92a06f46119ac2a0efcc0e6d9390f0622
diff --git a/Examples/Canvas/Canvas.fsproj b/Examples/Canvas/Canvas.fsproj index 49c5171..31453c9 100644 --- a/Examples/Canvas/Canvas.fsproj +++ b/Examples/Canvas/Canvas.fsproj @@ -11,6 +11,8 @@ <AssemblyName>Canvas</AssemblyName> <Name>Canvas</Name> <ProductVersion>10.0.0</ProductVersion> + <TargetFr...
[ "Examples/Canvas/Canvas.fsproj", "Examples/Mario/Mario.fsproj", "Examples/Pacman/PacMan.fsproj", "Examples/Twitter/Program.fs", "Examples/Twitter/Twitter.fsproj" ]
[]
true
ZachBray/FunScript
24
issue_to_patch
Expose API for custom mappings
This change exposes the API that is needed to create custom mappings (that are not incldued in the `FunJS` core library). It also modifies the `compile` function to allow specifying custom compiler components. There was already `compile` and `compileWithoutReturn` and I needed `compileWithComponents`, so I created a t...
8f641a53a140747083f9187d3eb1d064a5a59f48
feb1eec482d619b6f5a9149c5b7b3ead1716852e
diff --git a/.gitignore b/.gitignore index 16eb2ca..b6a972e 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ _ReSharper*/ *.ReSharper *.ReSharper.user *.suo -*.user \ No newline at end of file +*.user +*.fs.bak \ No newline at end of file diff --git a/FunJS/AST.fs b/FunJS/AST.fs index fb7d220..bd5aaf8 100644...
[ ".gitignore", "FunJS/AST.fs", "FunJS/Compiler.fs", "FunJS/CompilerComponent.fs", "FunJS/ExpressionReplacer.fs", "FunJS/InternalCompiler.fs", "FunJS/JavaScriptNameMapper.fs", "FunJS/Lists.fs", "FunJS/Objects.fs", "FunJS/QuoteExtensions.fs" ]
[]
true
ZachBray/FunScript
78
issue_to_patch
Create Program.fs
The "REAL" first program for Visual Studio 2013 with the "FunScript - Not Hosted" project. Based on the HTML CANVAS example (by ZachBray). Tested on a vanilla "FunScript - Not Hosted" project with Microsoft Visual Studio 2013 (you can find it through the "online" project option). Replace the Program.fs file contents w...
1dfed61ba9351f7b59384873c328edd0e107e6f5
695c35cdb39fa48d9512168d0c78b2cc018e34d3
diff --git a/Examples/Program.fs b/Examples/Program.fs new file mode 100644 index 0000000..3a10898 --- /dev/null +++ b/Examples/Program.fs @@ -0,0 +1,59 @@ +[<ReflectedDefinition>] +module Program + +open FunScript +open FSharp.Data +open System.IO + +// Create a function that will be compiled into JavaScript... +let m...
[ "Examples/Program.fs" ]
[]
true
ZachBray/FunScript
83
issue_to_patch
Easy Getting Started - examples folder (used with MS VS 2013)
7f1ce6661228d72a92a51dddccb904c2b950891d
52295af2789eff2a3d960cb972d5222333a3c0db
diff --git a/.gitignore b/.gitignore index 699a53c..dd5fb36 100644 --- a/.gitignore +++ b/.gitignore @@ -15,8 +15,10 @@ _ReSharper*/ : nugetpackage/lib build +packages # Generated documentation Docs/output/* TestResults/FunScript.TE.Tests.mdf TestResults/FunScript.TE.Tests_log.ldf +TestResult.xml diff --git a/...
[ ".gitignore", ".travis.yml", "Examples/EasyGettingStarted/BodyElementsExample.fs", "Examples/EasyGettingStarted/HtmlCanvasExample.fs", "Examples/EasyGettingStarted/JQueryMobileExample.fs", "Examples/EasyGettingStarted/Mazing.fs", "Examples/EasyGettingStarted/Program.fs", "Examples/EasyGettingStarted/R...
[]
true
ZachBray/FunScript
72
issue_to_patch
Fixing typo on index.html
"Asynchornous" -> "Asynchronous". Fixed this through web-based editor on GitHub, not sure why it modified the entire file just for the change on line 134 :/
dc62d2fb98b65228208885f5d5ecbf98587ea98f
b4105a31935e398d3b98bd65cceaabc4c6535fa2
diff --git a/index.html b/index.html index ce4be04..a9ba013 100644 --- a/index.html +++ b/index.html @@ -1,242 +1,242 @@ -<!DOCTYPE html> -<!--[if IE 8]> <html class="no-js lt-ie9" lang="en" > <![endif]--> -<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]--> - -<head> - <meta charset="utf...
[ "index.html" ]
[]
true
ZachBray/FunScript
50
issue_to_patch
Changed the jQueryUI example filename of Index.html to index.html for consistency
...with other examples and the example breaks on unix like case sensitive systems
b299172f74d5a495a1d2ba9bbbe6f9656a4ab67a
ba4df17fa665b72e108117a921dc2d45fdade7b9
diff --git a/Examples/jQueryUI/Index.html b/Examples/jQueryUI/index.html similarity index 100% rename from Examples/jQueryUI/Index.html rename to Examples/jQueryUI/index.html diff --git a/Examples/jQueryUI/jQueryUI.fsproj b/Examples/jQueryUI/jQueryUI.fsproj index 5ae7ef0..b439215 100644 --- a/Examples/jQueryUI/jQueryUI...
[ "Examples/jQueryUI/index.html", "Examples/jQueryUI/jQueryUI.fsproj" ]
[]
true
Zaid-Ajaj/Fable.Remoting
391
issue_to_patch
Missing dependency on Fable.Remoting.Client I recently ran into some compilation errors when working on a very minimal project that depends on Fable.Remoting: ``` Started Fable compilation... Fable compilation finished in 2329ms .\bld\fable_modules\Fable.Remoting.Client.7.32.0\Extensions.fs(...
Update target framework to net8.0 LTS
### Description Here's a summary of the version bumps in this branch (all packages drop legacy/older targets and move to `net8.0`) Package | Old Version | New Version | Notes -- | -- | -- | -- Fable.Remoting.AspNetCore | 2.43.0 | 3.1.0 | netstandard2.0; netcoreapp3.1; net6.0Β β†’Β net8.0 Fable.Remoting.AwsLambda |...
f864bf42be17a562d0ea0e6e731ffb5c8e3565fa
f2fdff706561af293919e061696844ebd0070be7
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 1988a0a3..13b0871e 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "paket": { - "version": "9.0.2", + "version": "10.3.1", "commands": [ "paket"...
[ ".config/dotnet-tools.json", ".paket/Paket.Restore.targets", "ClientTests/src/Client.fsproj", "Fable.Remoting.AspNetCore/Fable.Remoting.AspNetCore.fsproj", "Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj", "Fable.Remoting.AzureFunctions.Worker/Fable.Remoting.AzureFunctions.Worker.fsproj", "Fab...
[]
true
Zaid-Ajaj/Fable.Remoting
388
issue_to_patch
Add a fable remoting adapter for the Falco framework
Pull request involving issue #312 This pull request adds an adapter for the falco framework. It converts the fable remoting logic into a sequence of falco HttpEndpoints used by the framework. Multiple fable remoting apps can be used by appending the HttpEndpoint sequences together. The pull request also includes tes...
cb5497eb4b3d60de6a381627468fa1ecaba42821
a188505b8534cbb9e01b95c6fe7f9f6a85ffdf37
diff --git a/Fable.Remoting.Falco.Tests/App.fs b/Fable.Remoting.Falco.Tests/App.fs new file mode 100644 index 0000000..a61d638 --- /dev/null +++ b/Fable.Remoting.Falco.Tests/App.fs @@ -0,0 +1,10 @@ +module Program + +open Expecto +open Expecto.Logging + +open FableFalcoAdapterTests +let testConfig = { defaultConfig wi...
[ "Fable.Remoting.Falco.Tests/App.fs", "Fable.Remoting.Falco.Tests/Fable.Remoting.Falco.Tests.fsproj", "Fable.Remoting.Falco.Tests/FableFalcoAdapterTests.fs", "Fable.Remoting.Falco.Tests/Types.fs", "Fable.Remoting.Falco.Tests/paket.references", "Fable.Remoting.Falco/Fable.Remoting.Falco.fsproj", "Fable.Re...
[]
true
Zaid-Ajaj/Fable.Remoting
380
issue_to_patch
Fix: Turkish locale breaks discriminated union deserialization
Adds a test case that reproduces the issue with discriminated union deserialization when the current culture is set to Turkish (tr-TR). The test demonstrates how culture-sensitive string comparisons in TypeShape can cause union case name matching to fail. The test sets the thread's CurrentCulture and CurrentUICultur...
d98ec7cb1549ca4cb2977e5b661b4d56c29f55ba
838e78163a5fef275478db30fb7fd63364284dc8
diff --git a/Fable.Remoting.MsgPack.Tests/FableConverterTests.fs b/Fable.Remoting.MsgPack.Tests/FableConverterTests.fs index 04485e19..e20d32c0 100644 --- a/Fable.Remoting.MsgPack.Tests/FableConverterTests.fs +++ b/Fable.Remoting.MsgPack.Tests/FableConverterTests.fs @@ -13,6 +13,9 @@ let equal x y = Expect.equal true (...
[ "Fable.Remoting.MsgPack.Tests/FableConverterTests.fs", "Fable.Remoting.MsgPack/TypeShape.fs" ]
[]
true
Zaid-Ajaj/Fable.Remoting
378
issue_to_patch
Fix Fable.Remoting.Client
There have been some changes in newer Browser binding package versions, and `Browser.XMLHttpRequest.FormData.Create` no longer compiles. Let's just use a bit of dynamic typing.
8e14eb1141def73444ab51397be9bc64f8a9c9e6
68f04a3c783282eacfdae727432c9bfba0bac554
diff --git a/Fable.Remoting.Client/Extensions.fs b/Fable.Remoting.Client/Extensions.fs index a5e4d3e..ce7e719 100644 --- a/Fable.Remoting.Client/Extensions.fs +++ b/Fable.Remoting.Client/Extensions.fs @@ -25,6 +25,8 @@ module InternalUtilities = /// Returns whether the input byte array is a typed array of type Uin...
[ "Fable.Remoting.Client/Extensions.fs", "Fable.Remoting.Client/Http.fs" ]
[]
true
Zaid-Ajaj/Fable.Remoting
374
issue_to_patch
How do you efficiently do file upload along with other info? Hello! The docs say that if you use `byte[]` in your api, json serialization will be bypassed. After doing a few tests, it seems this is only true if you _exclusively_ use `byte[]` as an input or output, not if you mix `byte[]` with other types, right? I'...
Implement multipart requests
Closes #373. If any function parameter is `byte[]` ans `Remoting.withMultipartOptimization` is enabled, we switch to `multipart/form-data` mode where each argument is sent in a separate subpart - raw `byte[]` as `application/octet-stream` with no overhead, other arguments serialized as `application/json`. There's...
9bf4dab1987abad342c671cb4ff1a8a7e0e846d0
df65a5afb33b4a15bed3d47993ccaa6d5b357694
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 803d7371..1988a0a3 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "paket": { - "version": "8.0.3", + "version": "9.0.2", "commands": [ "paket" ...
[ ".config/dotnet-tools.json", ".travis.yml", "ClientTests/src/App.fs", "Fable.Remoting.AspNetCore/Middleware.fs", "Fable.Remoting.AwsLambda/FableLambdaAdapter.fs", "Fable.Remoting.AwsLambda/FableLambdaApiGatewayAdapter.fs", "Fable.Remoting.AzureFunctions.Worker.Tests/Client/Fable.Remoting.AzureFunctions....
[ { "comment": "`.buffer` wasn't entirely correct, because a typed array could be but a slice of the underlying `ArrayBuffer`, so this would create a `Blob` containing unwanted data.", "path": "Fable.Remoting.Client/Extensions.fs", "hunk": "@@ -14,8 +14,8 @@ module InternalUtilities =\n [<Emit(\"new U...
true
Zaid-Ajaj/Fable.Remoting
369
issue_to_patch
Update dependencies to fix CVE warnings
These warnings were cropping up on build. Untested, but should work given that they are minor updates aside from Newtonsoft, which should be okay according to this: https://github.com/Zaid-Ajaj/Fable.Remoting/issues/363#issuecomment-2126400369 - **Update Newtonsoft.Json to fix CVE-2024-21907** - **Update System.Forma...
626c03a3807d06315b3800c834f8b6c5fde07fa8
8fa58f95147bce1a10c69c75e0f8a8f3348010f6
diff --git a/paket.dependencies b/paket.dependencies index 1ee322b..f783a7d 100644 --- a/paket.dependencies +++ b/paket.dependencies @@ -9,11 +9,13 @@ nuget FSharp.Core >= 6.0.0 nuget Microsoft.AspNetCore.Server.Kestrel ~> 2.2 nuget Microsoft.AspNetCore.TestHost ~> 3.1 nuget Microsoft.IO.RecyclableMemoryStream ~> 3 ...
[ "paket.dependencies", "paket.lock" ]
[ { "comment": "I don't think this is going to have any effect (as these are transitive dependencies and you have not added any references in this PR) or that this is the right approach in the first place.\r\n\r\nImagine you're developing application `A` and have the following dependency chain\r\n\r\n```\r\nA\r\n...
true
Zaid-Ajaj/Fable.Remoting
370
issue_to_patch
Update mime type for MsgPack
[An official type has been assigned](https://www.iana.org/assignments/media-types/application/vnd.msgpack), so let's use that.
626c03a3807d06315b3800c834f8b6c5fde07fa8
2b331c2b3d1384876a3665d6d358bb6e6e229419
diff --git a/Fable.Remoting.AspNetCore/Middleware.fs b/Fable.Remoting.AspNetCore/Middleware.fs index ebe13dd2..5937971c 100644 --- a/Fable.Remoting.AspNetCore/Middleware.fs +++ b/Fable.Remoting.AspNetCore/Middleware.fs @@ -122,7 +122,7 @@ module internal Middleware = elif options.ResponseSerialization ...
[ "Fable.Remoting.AspNetCore/Middleware.fs", "Fable.Remoting.AwsLambda/FableLambdaAdapter.fs", "Fable.Remoting.AwsLambda/FableLambdaApiGatewayAdapter.fs", "Fable.Remoting.AzureFunctions.Worker/FableAzureFunctionsAdapter.fs", "Fable.Remoting.Giraffe/FableGiraffeAdapter.fs", "Fable.Remoting.Suave/FableSuaveAd...
[]
true
Zaid-Ajaj/Fable.Remoting
364
issue_to_patch
Added adapter for AWS Lambda API Gateway proxy
...(REST API, WebSocket API, and HTTP format v1) - Added AWS Lambda to readme - Fixed Fable.Remoting.AwsLambda project PackageTags
eb9230e0500ba91106eb5588995877171375d935
fe6aff59096da2bb038fb03c3f17afd7fbe333b5
diff --git a/Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj b/Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj index 6173401e..3523dce1 100644 --- a/Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj +++ b/Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj @@ -7,14 +7,15 @@ <Repos...
[ "Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj", "Fable.Remoting.AwsLambda/FableLambdaAdapter.fs", "Fable.Remoting.AwsLambda/FableLambdaApiGatewayAdapter.fs", "README.md" ]
[]
true
Zaid-Ajaj/Fable.Remoting
366
issue_to_patch
Minor code clean-up: Avoid dictionary double-lookups.
Avoid dictionary double-lookups.
eb9230e0500ba91106eb5588995877171375d935
727e2aed51acda06f63bdbe8ab7ec7b16893681f
diff --git a/Fable.Remoting.Json/FableConverter.fs b/Fable.Remoting.Json/FableConverter.fs index 297256af..dfc84e52 100644 --- a/Fable.Remoting.Json/FableConverter.fs +++ b/Fable.Remoting.Json/FableConverter.fs @@ -568,9 +568,10 @@ type FableJsonConverter() = | true, Kind.MutableRecord -> let con...
[ "Fable.Remoting.Json/FableConverter.fs", "build/Program.fs" ]
[]
true
Zaid-Ajaj/Fable.Remoting
365
issue_to_patch
Adds XML docs to the `RouteInfo` type.
I just happen to pass those by. When I was looking at that type I felt some (even if small) annotations missing, so I added them.
eb9230e0500ba91106eb5588995877171375d935
a0788d6f5e690e5f446f829c81ebb720f0cc688d
diff --git a/Fable.Remoting.Server/Types.fs b/Fable.Remoting.Server/Types.fs index 1d382dc8..877b99aa 100644 --- a/Fable.Remoting.Server/Types.fs +++ b/Fable.Remoting.Server/Types.fs @@ -19,9 +19,13 @@ type ParsingArgumentsError = { ParsingArgumentsError: string } /// Route information that is propagated to error ha...
[ "Fable.Remoting.Server/Types.fs" ]
[]
true
Zaid-Ajaj/Fable.Remoting
359
issue_to_patch
Add aws lambda support
Adds a `Fable.Remoting.AwsLambda` project that allows Fable.Remoting to work on AWS Lambda. `Fable.Remoting.AwsLambda/FableLambdaAdapter.fs` is just a clone of `Fable.Remoting.AzureFunctions.Worker/FableAzureFunctionsAdapter.fs` with adaptations and dependencies required to work with the `APIGatewayHttpApiV2ProxyReq...
28e05459df288f683af5cfa11e6c47b4db968002
f01d36328bd4a1eb8d40f762c58ad53feaa9b84d
diff --git a/Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj b/Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj new file mode 100644 index 0000000..b92a902 --- /dev/null +++ b/Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj @@ -0,0 +1,24 @@ +ο»Ώ<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyG...
[ "Fable.Remoting.AwsLambda/Fable.Remoting.AwsLambda.fsproj", "Fable.Remoting.AwsLambda/FableLambdaAdapter.fs", "Fable.Remoting.AwsLambda/paket.references", "Fable.Remoting.sln", "paket.dependencies", "paket.lock" ]
[ { "comment": "I've aliased the AWS types for parity with the Azure Functions implementation to make comparison easier, but they don't need to remain.", "path": "Fable.Remoting.AwsLambda/FableLambdaAdapter.fs", "hunk": "@@ -0,0 +1,173 @@\n+ο»Ώnamespace Fable.Remoting.AwsLambda.Worker\n+\n+open System\n+ope...
true
Zaid-Ajaj/Fable.Remoting
362
issue_to_patch
GET requests ignored after updating Fable tool to 4.13.0 ### Steps to replicate - Install SAFE template 5.0.4 - dotnet new SAFE - dotnet tool restore - dotnet run - Notice that Todos get loaded - dotnet tool update Fable (latest is 4.13.0) - dotnet run ### Expected behaviour Todos get loaded as before ...
Resolve issue with Fable 4.13 and GET requests not firing
Fixes #361 Updates to Fable 4.13 All `IntegrationTests` are passing
c812705fbd95097191257ff288cdab409029807a
0abdea3f7efbca7707e4581980c6bab87b14b408
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 5c8e572..803d737 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -15,7 +15,7 @@ ] }, "fable": { - "version": "4.9.0", + "version": "4.13.0", "commands": [ "fable" ] diff -...
[ ".config/dotnet-tools.json", "Fable.Remoting.Client/Proxy.fs" ]
[ { "comment": "Default value should probably be a valid JSON in any case, maybe `\"{}\"` or `\"[]\"` could do", "path": "Fable.Remoting.Client/Proxy.fs", "hunk": "@@ -178,7 +178,11 @@ module Proxy =\n match inputArgumentTypes.Length with\n | 1 when not (Convert.arr...
true
Zaid-Ajaj/Fable.Remoting
360
issue_to_patch
Fix doc relative link
Some relative links in docs doesn't redirect to intended page.
2a769b75508e6129b8827e9b5722183ca9cb70be
7eccd80e948c4acc814422bb8848de35752012e6
diff --git a/docs/client-setup/dotnet.md b/docs/client-setup/dotnet.md index 7b721cc..fcf76c2 100644 --- a/docs/client-setup/dotnet.md +++ b/docs/client-setup/dotnet.md @@ -2,7 +2,7 @@ Although Fable.Remoting is initially implemented for communication between a .NET backend and a Fable frontend, the RPC story wouldn...
[ "docs/client-setup/dotnet.md", "docs/getting-started/index.md" ]
[]
true
Zaid-Ajaj/Fable.Remoting
358
issue_to_patch
Update integration tests to use Fable v4.9.0
@kerams I've updated the tests to use latest Fable, currently at v4.9.0 but the results aren't very good <details> <summary>Test Results</summary> ``` ========== SUMMARY ========== Total test count 216 Passed tests 164 Failed tests 52 Skipped tests 0 ========== TESTS ========== √ Fable.Remoting / Pr...
28e05459df288f683af5cfa11e6c47b4db968002
d07616412c99faf70116f51807580b3d687589f6
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 051ae31..5c8e572 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "paket": { - "version": "7.1.5", + "version": "8.0.3", "commands": [ "paket" ...
[ ".config/dotnet-tools.json", ".gitignore", "ClientTests/package-lock.json", "ClientTests/package.json", "ClientTests/src/App.fs", "Fable.Remoting.IntegrationTests/Shared/SharedTypes.fs", "Fable.Remoting.MsgPack/Write.fs", "UITests/UITests.fsproj", "appveyor.yml", "build/Program.fs" ]
[ { "comment": "Hm, why is this Fable only? If the server doesn't know it's dealing with a string enum, it will serialize enums as numbers.", "path": "Fable.Remoting.IntegrationTests/Shared/SharedTypes.fs", "hunk": "@@ -58,7 +58,7 @@ type SomeEnum =\n | Val1 = 1\n | Val2 = 2\n #if FABLE_COMPILER\n...
true
Zaid-Ajaj/Fable.Remoting
357
issue_to_patch
Remoting.Client: dispose of the CancellationTokenRegistration when done
Otherwise the XMLHttpRequest is not being garbage-collected (observed in Firefox, Chrome, and Edge)
92cabee2eaf39daf4758ed3755771f9eb18b5b31
77f7abeb74aab849989ef3e7b814c33f511337fc
diff --git a/Fable.Remoting.Client/Http.fs b/Fable.Remoting.Client/Http.fs index d0afe70..b774dd3 100644 --- a/Fable.Remoting.Client/Http.fs +++ b/Fable.Remoting.Client/Http.fs @@ -56,10 +56,11 @@ module Http = | Some f -> f xhr | _ -> ignore() - token.Register(fun _ -> - ...
[ "Fable.Remoting.Client/Http.fs" ]
[]
true
Zaid-Ajaj/Fable.Remoting
356
issue_to_patch
Method not found: Microsoft.IO.RecyclableMemoryStreamManager.GetStream(System.String) when calling remoting after upgrade Hello friend, after upgrading to the newer version, I got this exception when calling Remoting methods: ``` server: info: Microsoft.AspNetCore.Hosting.Diagnostics[1] server: Request sta...
Bump Microsoft.IO.RecyclableMemoryStream
Fixes #355. Just need a recompile and new server packages. Now that I think of it, Giraffe will also need updating.
95b13a4d79d69dc9e51e73dc33939ccea7683705
e8cc535cb1b89b9474bdde9e34258940ab548580
diff --git a/Fable.Remoting.Giraffe.Tests/MiddlewareTests.fs b/Fable.Remoting.Giraffe.Tests/MiddlewareTests.fs index 8c9d603..02880ee 100644 --- a/Fable.Remoting.Giraffe.Tests/MiddlewareTests.fs +++ b/Fable.Remoting.Giraffe.Tests/MiddlewareTests.fs @@ -11,6 +11,7 @@ open Microsoft.AspNetCore.Http open Expecto open Ty...
[ "Fable.Remoting.Giraffe.Tests/MiddlewareTests.fs", "Fable.Remoting.IntegrationTests/DotnetClient/Program.fs", "Fable.Remoting.Suave.Tests/FableSuaveAdapterTests.fs", "paket.dependencies", "paket.lock" ]
[]
true
Zaid-Ajaj/Fable.Remoting
352
issue_to_patch
remove build.fsx from the .sln and add build.fsproj to it with few launch settings.
minor thing for convenience & removes a deadlink in .sln
fd3b3b3fd40ea2540841e5660d429337c4c4dd58
b40c2c9e21b590f91025b89a24ffff566850713e
diff --git a/Fable.Remoting.sln b/Fable.Remoting.sln index c2a30ae..2ee5582 100644 --- a/Fable.Remoting.sln +++ b/Fable.Remoting.sln @@ -1,7 +1,7 @@ ο»Ώ Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.30011.22 +# Visual Studio Version 17 +VisualStudioV...
[ "Fable.Remoting.sln", "build/Properties/launchSettings.json" ]
[]
true
Zaid-Ajaj/Fable.Remoting
353
issue_to_patch
add a note for vite users in the custom route path doc.
Fable.Remoting is great πŸŽ‰
fd3b3b3fd40ea2540841e5660d429337c4c4dd58
5adc965800235d2cc1f5fc110f34eb5b59b8f09b
diff --git a/docs/advanced/custom-route-paths.md b/docs/advanced/custom-route-paths.md index d6b224d..cd7b9ec 100644 --- a/docs/advanced/custom-route-paths.md +++ b/docs/advanced/custom-route-paths.md @@ -34,4 +34,21 @@ devServer: { changeOrigin: true } } +``` +If you happen to use [`vite-js`](https://vite...
[ "docs/advanced/custom-route-paths.md", "docs/package-lock.json", "docs/package.json" ]
[]
true
Zaid-Ajaj/Fable.Remoting
351
issue_to_patch
Bump Suave from 2.5.6 to v2.6.0.
https://gist.github.com/StrigoEnTurbano/b730de886afd84c71468ee72ff8da9da I cannot use Fable.Remoting.Suave with Suave (2.6.0 +) because it awaits HttpContext.UserState to be Map instead of Dictionary. Code at 26 line of FableSuaveAdapter.fs `{ ctx with ... }` fails because record type changed. We have to use so...
6e86ce01aafd37ef0187d08925f913a4fd97d831
98f0008396a7580da3299de6e175e2ee00cc94df
diff --git a/Fable.Remoting.Suave/Fable.Remoting.Suave.fsproj b/Fable.Remoting.Suave/Fable.Remoting.Suave.fsproj index 183d0ea..31d14c5 100644 --- a/Fable.Remoting.Suave/Fable.Remoting.Suave.fsproj +++ b/Fable.Remoting.Suave/Fable.Remoting.Suave.fsproj @@ -1,4 +1,4 @@ -<Project Sdk="Microsoft.NET.Sdk"> +ο»Ώ<Project Sdk="...
[ "Fable.Remoting.Suave/Fable.Remoting.Suave.fsproj", "paket.dependencies", "paket.lock" ]
[]
true
Zaid-Ajaj/Fable.Remoting
345
issue_to_patch
Fix MsgPack on .NET 8
Opening `System.Collections.Generic` on .NET 8, causes `AddRange` calls on a `ResizeArray` to be resolved to [an extension method taking a span](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.addrange?view=net-8.0), instead of [an instance method on the list](https://learn....
3dc9952ee33a6b1abfba0ba1db9e1d45527cbd88
404739d22e96c56619875cba622f4b702a5872e5
diff --git a/Fable.Remoting.MsgPack/Write.fs b/Fable.Remoting.MsgPack/Write.fs index 0124aa9..57ef288 100644 --- a/Fable.Remoting.MsgPack/Write.fs +++ b/Fable.Remoting.MsgPack/Write.fs @@ -2,7 +2,6 @@ open System.IO open System -open System.Collections.Generic open System.Text open FSharp.Reflection open FSharp....
[ "Fable.Remoting.MsgPack/Write.fs" ]
[]
true