fix: extended ascii rendering issue
This commit is contained in:
parent
23e5bf0045
commit
9078742c29
12
.github/workflows/doc.yml
vendored
12
.github/workflows/doc.yml
vendored
|
@ -14,6 +14,8 @@ concurrency:
|
||||||
group: "pages"
|
group: "pages"
|
||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
env:
|
||||||
|
LANG: "en_US.UTF-8"
|
||||||
jobs:
|
jobs:
|
||||||
docs-deploy:
|
docs-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -25,12 +27,18 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install build-essential naturaldocs
|
sudo apt-get install build-essential wget unzip
|
||||||
|
sudo locale-gen en_US.UTF-8
|
||||||
|
sudo update-locale LANG=en_US.UTF-8
|
||||||
|
wget https://sourceforge.net/projects/naturaldocs/files/Stable%20Releases/1.52/NaturalDocs-1.52.zip/download -O /tmp/NaturalDocs-1.52.zip
|
||||||
|
(cd /tmp; unzip NaturalDocs-1.52.zip; mv NaturalDocs naturaldocs; chmod +x naturaldocs)
|
||||||
|
|
||||||
- name: generate-docs
|
- name: generate-docs
|
||||||
run: |
|
run: |
|
||||||
|
export PATH="$PATH:/tmp"
|
||||||
make docs
|
make docs
|
||||||
- name: setup-pages
|
- name: setup-pages
|
||||||
uses: actions/configure-pages@v4
|
uses: actions/configure-pages@v5
|
||||||
- name: upload-artifact
|
- name: upload-artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -9,7 +9,7 @@ all:
|
||||||
clean:
|
clean:
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: $(INCS) $(INCSYSDIR)
|
install: $(INCS) $(SYSINCS)
|
||||||
@ mkdir -p $(DESTDIR)$(INCDIR)
|
@ mkdir -p $(DESTDIR)$(INCDIR)
|
||||||
install $(INCS) $(DESTDIR)$(INCDIR)
|
install $(INCS) $(DESTDIR)$(INCDIR)
|
||||||
@ mkdir -p $(DESTDIR)$(INCSYSDIR)
|
@ mkdir -p $(DESTDIR)$(INCSYSDIR)
|
||||||
|
|
|
@ -93,6 +93,34 @@ DEFN StpdFS_Sb
|
||||||
;; .zone - TODO
|
;; .zone - TODO
|
||||||
;; .actime - TODO
|
;; .actime - TODO
|
||||||
;; .modtime - TODO
|
;; .modtime - TODO
|
||||||
|
;;
|
||||||
|
;;
|
||||||
|
;; Zone 0-6 are direct, zone 7 indirect, zone 8 double indirect, zone 9 triple indirect
|
||||||
|
;; > ┌────────┐
|
||||||
|
;; > │ │
|
||||||
|
;; > ┌───────►│Data │
|
||||||
|
;; > │ │ │
|
||||||
|
;; > ┌──────┐ Direct│ └────────┘
|
||||||
|
;; > │zone 0├───────┘
|
||||||
|
;; > ├──────┤
|
||||||
|
;; > │... │
|
||||||
|
;; > ├──────┤ ┌────────┐ ┌────────┐
|
||||||
|
;; > │zone 6│ │ ├─────►│ │
|
||||||
|
;; > ├──────┤ Indirect │ │ │ Data │
|
||||||
|
;; > │zone 7├─────────►│ │ │ │
|
||||||
|
;; > ├──────┤ └────────┘ └────────┘
|
||||||
|
;; > │zone 8├───────┐
|
||||||
|
;; > ├──────┤ │Double indirect┌─────────┐ ┌────────┐ ┌─────────┐
|
||||||
|
;; > │zone 9│ └──────────────►│ ├───►│ ├───►│ │
|
||||||
|
;; > └──┬───┘ │ │ │ │ │ Data │
|
||||||
|
;; > │ │ │ │ │ │ │
|
||||||
|
;; > │ └─────────┘ └────────┘ └─────────┘
|
||||||
|
;; > │ Triple indirect ┌────────┐
|
||||||
|
;; > └────────────────►│ │ ┌──────────┐ ┌─────────┐ ┌──────────┐
|
||||||
|
;; > │ ├───►│ │ │ │ │ │
|
||||||
|
;; > │ │ │ ├─────►│ ├─────►│ Data │
|
||||||
|
;; > └────────┘ │ │ │ │ │ │
|
||||||
|
;; > └──────────┘ └─────────┘ └──────────┘
|
||||||
struc StpdFS_Inode {
|
struc StpdFS_Inode {
|
||||||
.mode dw ?
|
.mode dw ?
|
||||||
.nlink dw ?
|
.nlink dw ?
|
||||||
|
@ -117,6 +145,8 @@ struc StpdFS_Dirent {
|
||||||
}
|
}
|
||||||
DEFN StpdFS_Dirent
|
DEFN StpdFS_Dirent
|
||||||
|
|
||||||
|
STPDFS_DIRENT_PER_BLOCK = sizeof.StpdFS_Dirent / STPDFS_BSIZE
|
||||||
|
|
||||||
; ------------------------------------------------------------------------
|
; ------------------------------------------------------------------------
|
||||||
|
|
||||||
;; Section: Implementation
|
;; Section: Implementation
|
||||||
|
|
Loading…
Reference in a new issue