files: Convert all file names to lowercase

For case-sensitive filesystems like on Linux, avoid file errors
when the case does not match.

Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
This commit is contained in:
Christophe de Dinechin 2024-04-05 18:41:11 +02:00
parent d794d986c4
commit 00a4a25869
6 changed files with 12 additions and 14 deletions

View file

@ -127,14 +127,14 @@ QMAKE_fastest=release
TTF2FONT=$(TOOLS)/ttf2font/ttf2font
$(TTF2FONT): $(TTF2FONT).cpp $(TOOLS)/ttf2font/Makefile src/ids.tbl
cd $(TOOLS)/ttf2font; $(MAKE) TARGET=release
cd $(TOOLS)/ttf2font; $(MAKE) TARGET=
sim/gcc111libbid.a: sim/gcc111libbid-$(shell uname)-$(shell uname -m).a
cp $< $@
dist: all
cp $(BUILD)/$(TARGET)_qspi.bin .
tar cvfz $(TARGET)-v$(VERSION).tgz $(TARGET).$(PGM) $(TARGET)_qspi.bin \
help/*.md STATE/*.48S
help/*.md state/*.48S
@echo "# Distributing $(VERSION)"
$(VERSION_H): $(BUILD)/version-$(VERSION).h
@ -285,7 +285,7 @@ DEFINES += \
DECIMAL_GLOBAL_EXCEPTION_FLAGS_ACCESS_FUNCTIONS \
$(DEFINES_$(OPT)) \
$(DEFINES_$(VARIANT)) \
HELPFILE_NAME=\"/HELP/$(TARGET).md\"
HELPFILE_NAME=\"/help/$(TARGET).md\"
DEFINES_debug=DEBUG
DEFINES_release=RELEASE
DEFINES_small=RELEASE

View file

@ -379,7 +379,7 @@ unintentional differences, since the implementation is completely new.
* DB48X features an extensive built-in help system, which you are presently
using. Information for that help system is stored using a regular *markdown*
file named `/HELP/DB48X.md`, stored in the calculator's flash storage.
file named `/help/db48x.md`, stored in the calculator's flash storage.
* DB48X features auto-completion for commands while typing, through
the _CAT_ key (a [Catalog](#Catalog) of all commands).
@ -659,7 +659,7 @@ the codepoints in a text.
## Help
The DB48X project includes an extensive built-in help, which you are presently
reading. This help is stored as a `HELP/DB48X.md` file on the calculator. You
reading. This help is stored as a `help/db48x.md` file on the calculator. You
can also read it from a web browser directly on the GitHub page of the project.
The `Help` command makes it possible to access the built-in help in a contextual

View file

@ -331,7 +331,7 @@ unintentional differences, since the implementation is completely new.
* DB48X features an extensive built-in help system, which you are presently
using. Information for that help system is stored using a regular *markdown*
file named `/HELP/DB48X.md`, stored in the calculator's flash storage.
file named `/help/db48x.md`, stored in the calculator's flash storage.
* DB48X features auto-completion for commands while typing, through
the _CAT_ key (a [Catalog](#Catalog) of all commands).
@ -611,7 +611,7 @@ the codepoints in a text.
## Help
The DB48X project includes an extensive built-in help, which you are presently
reading. This help is stored as a `HELP/DB48X.md` file on the calculator. You
reading. This help is stored as a `help/db48x.md` file on the calculator. You
can also read it from a web browser directly on the GitHub page of the project.
The `Help` command makes it possible to access the built-in help in a contextual
@ -8259,4 +8259,3 @@ Create a backup on a remote machine
## USBRESTORE
Restore a backup from a remote machine

View file

@ -331,7 +331,7 @@ unintentional differences, since the implementation is completely new.
* DB50X features an extensive built-in help system, which you are presently
using. Information for that help system is stored using a regular *markdown*
file named `/HELP/DB50X.md`, stored in the calculator's flash storage.
file named `/help/db50x.md`, stored in the calculator's flash storage.
* DB50X features auto-completion for commands while typing, through
the _CAT_ key (a [Catalog](#Catalog) of all commands).
@ -611,7 +611,7 @@ the codepoints in a text.
## Help
The DB50X project includes an extensive built-in help, which you are presently
reading. This help is stored as a `HELP/DB50X.md` file on the calculator. You
reading. This help is stored as a `help/db50x.md` file on the calculator. You
can also read it from a web browser directly on the GitHub page of the project.
The `Help` command makes it possible to access the built-in help in a contextual
@ -8259,4 +8259,3 @@ Create a backup on a remote machine
## USBRESTORE
Restore a backup from a remote machine

View file

@ -304,7 +304,7 @@ static int state_save()
bool overwrite_check = true;
void *user_data = NULL;
int ret = file_selection_screen("Save state",
"/STATE", ".48S",
"/state", ".48S",
state_save_callback,
display_new, overwrite_check,
user_data);
@ -464,7 +464,7 @@ static int state_load(bool merge)
bool overwrite_check = false;
void *user_data = (void *) merge;
int ret = file_selection_screen(merge ? "Merge state" : "Load state",
"/STATE", ".48S",
"/state", ".48S",
state_load_callback,
display_new, overwrite_check,
user_data);

View file

@ -634,7 +634,7 @@ text_p files::filename(text_p fname, bool writing) const
txt++;
len--;
// Turn CONFIG:/CONSTANTS.CSV into CONFIG/CONSTANTS.CSV
// Turn config:/constants.csv into config/constants.csv
if (in_pool)
absolute = false;
name = text::make(txt, len);