summaryrefslogtreecommitdiff
path: root/src/ui.c
AgeCommit message (Collapse)AuthorFilesLines
2024-03-02ui: no more titlebarHEADmasterMole Shang1-3/+3
2024-03-02ui: make about popup movableMole Shang1-3/+16
2024-03-02ui: draw ascii-art icon in about popupMole Shang1-12/+13
2024-03-02tree-wide: use FREE_AND_NULLIFY macro and reformat codeMole Shang1-3/+4
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-01xmake: come back to NFDMole Shang1-7/+5
2024-03-01ui: cast stat numbers to nk_sizeMole Shang1-1/+1
... to fix incorrect pct calcs on win64 (where nk_size == unsigned long long)
2024-03-01tree-wide: fix uaf bugsMole Shang1-2/+2
2023-08-10ui: translate strings to enMole Shang1-1/+1
2023-08-10ui: show progress while remuxingMole Shang1-7/+23
2023-08-09process_url: set referer in the separate functionMole Shang1-1/+1
2023-08-08ui: add about menuMole Shang1-1/+33
2023-08-08ui: match size measures with corresponding unitsMole Shang1-4/+6
Calculate the size in UI to align with suitable units.
2023-08-07ui: correct stat types' print formatMole Shang1-2/+3
- Use libcurl's builtin macro CURL_FORMAT_CURL_OFF_T to correctly print status. - Cast pct to unsigned char as it should always <= 100
2023-08-06process_url: initial callback supportMole Shang1-1/+1
2023-08-06xmake: migrate from NFD to tinyfiledialogsMole Shang1-8/+4
nativefiledialog-extended works great on Linux w/ portal support, but somehow is too complex to build on Windows. [1] Switch to tinyfd for simplicity. [1]: Visual Studio CL.exe would fail with MSB6001. ``` Error MSB6001: Invalid command line switch for "CL.exe". Item has already been added. Key in dictionary: 'VCInstallDir' Key being added: 'VCINSTALLDIR' ``` For further information, see below: https://social.msdn.microsoft.com/Forums/vstudio/en-US/5de6d7e3-7a38-4712-ba59-be179808bf9e/error-msb6001-invalid-command-line-switch-for-clexe https://github.com/dotnet/msbuild/issues/5726 It's been over 10 years, and Microsoft still claims that case sensitivity thing is a FEATURE. Holy M$, Thank you.
2023-08-05hinata: initial commitMole Shang1-0/+98