1
0
forked from me/IronOS
Commit Graph

1327 Commits

Author SHA1 Message Date
Alvin Wong
460d48fafb Reduce code duplication 2021-04-13 18:30:27 +08:00
Alvin Wong
001d91988c Fix formatting 2021-04-12 20:45:26 +08:00
Alvin Wong
11f40cfc1b Reformat lzfx sources 2021-04-12 20:07:06 +08:00
Alvin Wong
07fb8adb7f Impl. initial translation strings compression 2021-04-12 19:57:29 +08:00
Alvin Wong
2f2575c0b7 Refactor make_translation.py to split parsing and writing 2021-04-12 17:20:19 +08:00
Alvin Wong
570fa16d44 Some refactoring of make_translation.py 2021-04-11 00:05:06 +08:00
Alvin Wong
d53245f8a3 Simplify some Python code 2021-04-10 19:40:33 +08:00
Ben V. Brown
1ad1e51fdc Merge pull request #926 from alvinhochun/translation-refactor
Change internal representation of translation strings
2021-04-10 11:31:57 +10:00
Alvin Wong
f86629657a Fix python type hints
(Checked using mypy)
2021-04-10 02:24:25 +08:00
Alvin Wong
b17e49f54f Do suffix merging for translations
The size savings are very negligible but I implemented it anyway.
2021-04-10 00:44:48 +08:00
Alvin Wong
4061a35b6f Refactor make_translation bytes escaping
- Change font table to store bytes instead of escape sequences
- Add function to convert bytes to escape sequences
- Update tests
2021-04-09 23:04:38 +08:00
Alvin Wong
880920da96 Change TranslationStrings to pointer 2021-04-09 22:22:19 +08:00
Alvin Wong
7d6d7d11c0 Put translation str indices into a struct 2021-04-09 17:20:24 +08:00
Alvin Wong
82620c685d Change translation strs to be stored in one block 2021-04-09 14:45:33 +08:00
Alvin Wong
09a58f6f48 Use settings desc by indexing instead of direct pointer 2021-04-09 03:01:14 +08:00
Alvin Wong
4810a67e2e Remove unused translation strings 2021-04-09 00:46:10 +08:00
Ben V. Brown
48c3b19622 Merge pull request #925 from federicodilo/patch-6
Small update in italian translation
2021-04-08 22:01:49 +10:00
federicodilo
6120057e81 Small update in italian translation 2021-04-08 12:54:49 +02:00
Ben V. Brown
0cd6382c02 Merge pull request #923 from alvinhochun/zh_cn
Add ZH_CN translation
2021-04-07 19:37:17 +10:00
Alvin Wong
2d33708e9e Add ZH_CN translation 2021-04-07 16:09:03 +08:00
Ben V. Brown
eab0b018e4 Merge pull request #921 from KITT3000/patch-3
Update PL translation
2021-04-07 09:27:04 +10:00
Ziuta
51ad1762e4 Shortcut 2021-04-06 17:19:21 +02:00
Ziuta
5ee81f9fbd Update PL translation 2021-04-06 16:57:26 +02:00
Ben V. Brown
e78a6e3713 Merge pull request #918 from Ralim/ci-improvements
Python CI -> Black and Flake8
2021-04-05 20:01:08 +10:00
Ben V. Brown
662cf968cf Merge branch 'master' into ci-improvements 2021-04-05 19:37:48 +10:00
Ben V. Brown
a472641a39 Add basic flake8 2021-04-05 19:24:21 +10:00
Ben V. Brown
d9100d1625 add black 2021-04-05 19:15:02 +10:00
Ben V. Brown
5b39b75974 Merge pull request #903 from Ralim/newer-arm-gcc
Upgrade to latest arm gcc 10 version
2021-04-05 19:09:37 +10:00
Ben V. Brown
66bb9907b6 Merge branch 'master' into newer-arm-gcc 2021-04-05 19:06:37 +10:00
Ben V. Brown
e463cf2fd2 Merge pull request #914 from alvinhochun/text-handling
Refactoring of text handling (on using large font when starting with \n)
2021-04-05 19:05:29 +10:00
Alvin Wong
87c0cc162c Fix empty str in NO translation with old text 2021-04-05 16:40:36 +08:00
Alvin Wong
dd1801925b Change menu text to use whole screen msg format 2021-04-05 16:40:36 +08:00
Alvin Wong
ab1b48a0f2 Change ResetOKMessage to use warnUser 2021-04-05 16:40:36 +08:00
Alvin Wong
33901b688a Change warnUser to use printWholeScreen 2021-04-05 16:40:36 +08:00
Alvin Wong
e01361ddde Add messageWarn translation definition type 2021-04-05 16:40:31 +08:00
Alvin Wong
53c02dca33 Refactor printing CJK menu with large font into OLED.cpp 2021-04-05 15:48:12 +08:00
Alvin Wong
55fa5c95e4 Change SettingsShortNames to use one string
This unifies its behaviour with SettingsMenuEntries.
2021-04-05 15:48:06 +08:00
Alvin Wong
12f98e5f9c Remove unnecessary array sizes 2021-04-05 15:41:10 +08:00
Ben V. Brown
bf6b00632b Merge pull request #916 from TechnoLoft/translation_update
Cleanup make_translation.py (PEP8, Python3, etc.)
2021-04-05 16:37:27 +10:00
Ryan Jarvis
ed98803774 Fix CI builds 2021-04-03 21:38:21 -07:00
Ryan Jarvis
8b28824faf Add bdflib to CI tests 2021-04-03 17:53:20 -07:00
Ryan Jarvis
513728a1d1 Cleanup make_translation.py (PEP8, Python3, etc.) 2021-04-03 17:19:36 -07:00
Ben V. Brown
813106438b Merge pull request #912 from t-8ch/improved-debugging
Improve debugging
2021-03-29 16:46:27 +11:00
Thomas Weißschuh
45d2780507 Always generate debug symbols
The debug symbols are only part of the generated ELF files,
they are stripped from the .bin and .hex files.
So there should be no disadvantage of always generating it.

Before:

 52456 Pinecil_EN.bin
 81700 Pinecil_EN.elf
140759 Pinecil_EN.elf.map
147554 Pinecil_EN.hex

After:

 52456 Pinecil_EN.bin
650556 Pinecil_EN.elf
191974 Pinecil_EN.elf.map
147554 Pinecil_EN.hex
2021-03-28 22:36:33 +02:00
Thomas Weißschuh
1078275aa1 add symbols needed by OpenOCD
this is a backport of
https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/188 which is part of
FreeRTOS V10.4.2
2021-03-28 22:36:33 +02:00
Ben V. Brown
2f90c58d4f Merge pull request #913 from alvinhochun/remove-unused-desc
Remove unused menu strings
2021-03-29 07:20:45 +11:00
Alvin Wong
80b86ea083 Remove unused menu strings 2021-03-29 03:26:39 +08:00
Ben V. Brown
ba60bed1e3 Merge pull request #911 from morusn/patch-1
Update GettingStarted.md
2021-03-28 08:57:38 +11:00
morusn
a0e1c15498 Update GettingStarted.md
GettingStarted.md updated links with "/" at the beginning, so they redirect correctly and show the picture
2021-03-27 21:53:57 +01:00
Ben V. Brown
7331a7dc88 Merge pull request #910 from Ralim/update-docs
Update docs
2021-03-25 12:11:53 +11:00