Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-03-02 | ui: no more titlebarHEADmaster | Mole Shang | 2 | -4/+4 | |
2024-03-02 | ui: make about popup movable | Mole Shang | 1 | -3/+16 | |
2024-03-02 | ui: draw ascii-art icon in about popup | Mole Shang | 3 | -13/+39 | |
2024-03-02 | process_url: merge_and_cleanup: do not block ui thread | Mole Shang | 2 | -13/+26 | |
2024-03-02 | utils/ffmpeg: fix remux progress | Mole Shang | 1 | -11/+14 | |
2024-03-02 | tree-wide: use FREE_AND_NULLIFY macro and reformat code | Mole Shang | 14 | -181/+167 | |
Jeez idk why i forgot the pass-by-value feature, so the original version never gets the pointer nullified. Fix it by using our favourite C-style macro. | |||||
2024-03-02 | process_url: do not update curl status during callback | Mole Shang | 1 | -2/+4 | |
... and in turn fixes the race condition | |||||
2024-03-01 | xmake: come back to NFD | Mole Shang | 5 | -44/+75 | |
2024-03-01 | xmake: move deps to third_party dir | Mole Shang | 8 | -140/+370 | |
2024-03-01 | status: support large file sizes on 64bit systems | Mole Shang | 5 | -8/+9 | |
Convert all unsigned long nums to unsigned long long in order to let the UI safely display sizes >= 4GB | |||||
2024-03-01 | ui: cast stat numbers to nk_size | Mole Shang | 1 | -1/+1 | |
... to fix incorrect pct calcs on win64 (where nk_size == unsigned long long) | |||||
2024-03-01 | tree-wide: fix uaf bugs | Mole Shang | 10 | -49/+47 | |
2024-03-01 | process_url: initialize curl_c to NULL | Mole Shang | 1 | -0/+1 | |
... to avoid accessing garbage value of curl_c->outfn, which leads to SIGSEGV. | |||||
2023-08-10 | utils/ffmpeg: log errors in logger | Mole Shang | 1 | -21/+21 | |
2023-08-10 | ui: translate strings to en | Mole Shang | 1 | -1/+1 | |
2023-08-10 | process_url: lower low-speed timeout to 30s | Mole Shang | 1 | -1/+1 | |
2023-08-10 | process_url: do not run callback if corrupted | Mole Shang | 1 | -2/+2 | |
2023-08-10 | ui: show progress while remuxing | Mole Shang | 10 | -19/+82 | |
2023-08-10 | extractors/bilibili: set referer before api request | Mole Shang | 1 | -1/+1 | |
2023-08-10 | utils/ffmpeg: fix regression and temporarily disable debug log | Mole Shang | 1 | -5/+8 | |
2023-08-10 | extractors: initial youku support | Mole Shang | 4 | -6/+218 | |
2023-08-09 | utils/ffmpeg: support remux | Mole Shang | 2 | -7/+187 | |
2023-08-09 | process_url: set callback_struct_t as an alias to str_array_t | Mole Shang | 3 | -36/+36 | |
... for flexibility concern. | |||||
2023-08-09 | tree-wide: pass pointer-to-pointer to correctly free pointers | Mole Shang | 8 | -49/+53 | |
2023-08-09 | extractors/bilibili: fix page in filename | Mole Shang | 1 | -4/+16 | |
2023-08-09 | process_url: copy only if p_cookie is valid | Mole Shang | 1 | -2/+4 | |
2023-08-09 | Revert "process_url: always match substrings instead of comparing" | Mole Shang | 2 | -2/+3 | |
Target video files can also be under the domain, revert the commit for now. Needs further implemention. This reverts commit 9c2b0b39d73da02bb9d255e9dc7f81db200930b1. | |||||
2023-08-09 | process_url: set referer in the separate function | Mole Shang | 5 | -17/+12 | |
2023-08-09 | process_url: only get content length when requested | Mole Shang | 1 | -4/+6 | |
2023-08-09 | process_url: expose some new functions to be control cookies and referer | Mole Shang | 3 | -7/+34 | |
2023-08-09 | utils/types: support resizing an array to 0 | Mole Shang | 1 | -4/+15 | |
2023-08-09 | process_url: always match substrings instead of comparing | Mole Shang | 2 | -3/+2 | |
2023-08-09 | extractors/haokan: catch get errors | Mole Shang | 1 | -29/+30 | |
2023-08-09 | extractors/bilibili: fix get page query | Mole Shang | 1 | -1/+1 | |
Since cee1e6c, the first match should be always in result.str[0] | |||||
2023-08-08 | extractors: support haokan videos | Mole Shang | 4 | -4/+64 | |
2023-08-08 | utils: expose mimeType2ext in utils | Mole Shang | 3 | -19/+21 | |
2023-08-08 | utils: add a method to substitute string using PCRE | Mole Shang | 2 | -1/+61 | |
2023-08-08 | process_url: expose get_info with a new param `p_content_type` | Mole Shang | 2 | -7/+14 | |
2023-08-08 | utils: fix multi-patterns matching | Mole Shang | 1 | -7/+5 | |
2023-08-08 | process_url: copy full URL | Mole Shang | 1 | -2/+2 | |
2023-08-08 | process_url: change strings to be dynamic allocated | Mole Shang | 2 | -6/+7 | |
2023-08-08 | ui: add about menu | Mole Shang | 1 | -1/+33 | |
2023-08-08 | hinata: add license | Mole Shang | 2 | -0/+166 | |
2023-08-08 | ui: match size measures with corresponding units | Mole Shang | 3 | -4/+47 | |
Calculate the size in UI to align with suitable units. | |||||
2023-08-08 | process_url: do not block ui thread on callback | Mole Shang | 3 | -6/+9 | |
2023-08-08 | utils/ffmpeg: close all inputs during cleanup | Mole Shang | 1 | -0/+1 | |
... so that we can safely remove the file later. | |||||
2023-08-08 | xmake: use msvc on Windows to link shared ffmpeg library | Mole Shang | 1 | -3/+4 | |
2023-08-08 | xmake: build tomlc99 with xmake | Mole Shang | 1 | -3/+9 | |
... to avoid adding another GNU make dependency | |||||
2023-08-07 | hinata: support specifying cookies in curl_easy | Mole Shang | 4 | -5/+55 | |
We use tomlc99 to parse strings. To use cookies for higher resolution video downloading, add a config.toml in the executable path. e.g. ```filename: config.toml cookie="SESSDATA=xxx; some_more_cookie=xxx" ``` | |||||
2023-08-07 | process_url: use goto to simplify error processing | Mole Shang | 1 | -8/+5 | |