Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor to v2 & Format codes #20

Merged
merged 28 commits into from
Aug 24, 2023
Merged

Refactor to v2 & Format codes #20

merged 28 commits into from
Aug 24, 2023

Conversation

pilgrimlyieu
Copy link
Owner

@pilgrimlyieu pilgrimlyieu commented Aug 20, 2023

Targets

  • Convert convertible scripts to v2
  • Transform extensions of deprecated or non-convertible scripts from .ahk to .ahk1(except v1.1 libraries)
  • Remove #Requires AutoHotkey v2.0+ for converted scripts
  • Add #Requires AutoHotkey v1.1+ for remained scripts
  • Format codes

Conversion Progress

  • Basic
    • Remap
      • Fn
      • NumLock
      • Others
    • Shutdown(Deprecated in c774850)
  • General
    • AHKMapCheatSheet
    • Abbreviation
    • Correction
    • MouseHand
    • Tips
  • WeekNote
    • SlideWindows
    • ToggleWindows
  • Specific
    • Anki
    • PDF
    • Vim
  • Tool
    • FingerTips
    • OCRC
    • Vark
      • Vark
      • Vanki
  • Start

1. `Start`
2. `Basic/Remap/Fn`
3. `Basic/Remap/NumLock`
4. `Basic/Remap/Others`
5. `General/Abbreviation/Common`
6. `General/Correction/Pinyin`
@pilgrimlyieu pilgrimlyieu added enhancement New feature or request urgent Urgent to be fixed or developed common This issue or pull request apply to common cases plan This issue or pull request includes future plan WIP This issue or pull request is working in progress labels Aug 20, 2023
@pilgrimlyieu pilgrimlyieu self-assigned this Aug 20, 2023
@pilgrimlyieu pilgrimlyieu changed the title Convert convertible scripts to v2 Refactor to v2 Aug 21, 2023
1. Remove `#Requires` for already converted scripts
2. Add `#Requires` for deprecated etc. scripts
3. Transform extensions of some v1 scripts except lib from into `.ahk1`
4. Add specific AHK extensions to `Start`
1. Convert `SlideWindows` to v2
2. Fix cases that may throw errors
3. Add "remove inaccessible window` feature
1. Convert `Vark`(Basic Test)
2. **UNTESTED** Convert `Vanki`
3. Update `vimrc` of Vark & Vanki
1. Change command writing to function writing
2. Some format modification
@pilgrimlyieu pilgrimlyieu changed the title Refactor to v2 Refactor to v2 & Format codes Aug 22, 2023
1. Remove `ReadIni` supported officially
2. *MANUALLY* Convert `Request`(originally `UrlDownloadtoVar`)
3. **UNTESTED** Convert some functions from `Gdip`
4. Make `GetScreenshot` more stable
5. Use thqby's `JSON` lib(with `ahk-json.dll` written by C++)
1. Fix "Map can not use dot to get item" bug
2. **UNTESTED** Convert `OCRC` `Baidu` library
1. Fix many bugs
2. Bump `OCRC` version to 2.0.0-beta.1
@pilgrimlyieu pilgrimlyieu marked this pull request as ready for review August 24, 2023 12:48
@pilgrimlyieu pilgrimlyieu merged commit 98ebfbb into master Aug 24, 2023
@pilgrimlyieu pilgrimlyieu deleted the v1_to_v2 branch August 24, 2023 12:54
@pilgrimlyieu pilgrimlyieu removed WIP This issue or pull request is working in progress urgent Urgent to be fixed or developed labels Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
common This issue or pull request apply to common cases enhancement New feature or request plan This issue or pull request includes future plan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant