Pk11
149f0b2496
Use macro for UTF-8 byte count
...
Makes it more clear why all of the buffers are being multiplied by 4
Fix UTF-8 bytesize macro
Before UTF_BUFFER_BYTESIZE(str_width - 10)] would multiply the 10, not the whole number, by UTF_MAX_BYTES_PER_RUNE
Do (rune_count + 1) * 4 in UTF-8 bytesize macro
Fix Resize/Truncate String snprintf size
Before it would break if the last character was multi-byte
2021-08-31 13:40:54 +02:00
Pk11
2f00e5dfe7
Proper handling of UTF-8
...
Note: This commit may be slightly broken, I'm just splitting up it and the next one at the end.
2021-08-31 13:40:54 +02:00
d0k3
e41b098843
Misc code improvements
2021-02-05 13:16:01 +01:00
Gabriel Marcano
d010f2858b
Remove trailing white space
...
- Removed trailing whitespace from all source code files (.c, .h. and
.s) and the README.md
2020-08-26 23:01:58 +02:00
aspargas2
519855de5b
fix write permission bypass bug
...
attempting to open a file in a bdri mount for reading only which did not exist but had a valid name would create the file without ever unlocking appropriate write permissions
2020-06-30 19:22:18 +02:00
aspargas2
c70546d5ca
implement virtual mounting of BDRI files
2020-06-30 19:22:18 +02:00
d0k3
e446bdbfa5
Update FatFS R0.13c -> R0.14
2020-01-02 21:08:44 +01:00
d0k3
40b4e3f541
Use software keyboard instead of string input prompt
2019-06-03 02:28:27 +02:00
windows-server-2003
732165153b
Implemented new file selector
2019-03-15 00:34:41 +01:00
d0k3
71d0cecf20
Fix copying to virtual NAND
2018-10-29 01:33:20 +01:00
Hyarion Sanyënóna
5c138e1219
Add scripting commands extrcode, cmprcode, cp -p
...
* extrcode already existed, but now has a progress bar and an entry in HelloScript.
* cmprcode recompresses a code binary into its original format. It takes 2-3 minutes.
* cp -p appends file 2 to the end of file 1 rather than overwriting it.
2018-09-19 00:47:28 +02:00
d0k3
e75c25e41d
Fix #411
2018-08-06 23:22:16 +02:00
d0k3
6a04bfca67
Safety checks for dummy file / dir creation
2018-07-18 00:16:41 +02:00
d0k3
794800fb83
Check the results after a file entry rename
2018-07-04 22:52:10 +02:00
d0k3
a4a7b8f1e0
Fix GCC v8.1 (new dkA) warnings
...
... this also fixes #371
2018-05-24 01:08:00 +02:00
windows-server-2003
46f67e1d18
Fix sprintf format vulnerability
2018-05-17 00:29:03 +02:00
d0k3
07b06b8552
Fix file corruption when copying dirs to A:/
...
thanks @ihaveamac for pointing this one out.
2018-03-16 18:46:53 +01:00
windows-server-2003
3c7ad93d1c
Forbid writing to SD if write locked
2018-03-09 00:14:41 +01:00
d0k3
67e19ad574
Allow screenshots (almost) everywhere
2018-03-07 01:15:12 +01:00
d0k3
b204921554
CPPcheck audit, fixed some minor stuff
2018-02-07 00:43:20 +01:00
d0k3
7927c742c6
Fix all occurences of NAND_BUFFER & SDCRYPT_BUFFER
2018-02-07 00:43:20 +01:00
d0k3
a0d2d27b06
Replace TEMP_BUFFER & MAIN_BUFFER with heap
2018-02-07 00:43:18 +01:00
d0k3
bb258725f2
Use 0:/gm9/out as standard folder for screenshots
...
Thanks @windows-server-2003 #299
2018-01-23 01:18:28 +01:00
d0k3
7befb8f1b5
Scripting: added 'dirsel' command
...
fixes #287
2018-01-09 01:39:37 +01:00
d0k3
93f966e1da
Scripting: 'fill' and 'fdummy' commands
2018-01-02 02:26:49 +01:00
d0k3
da7599d05c
Fix: Recognizing file locks due to alias mounts
2017-11-22 03:17:57 +01:00
Wolfvak
beeea37d07
Revised Makefile
2017-11-17 19:37:45 +01:00