Alvin Wong
a27db526af
Remove the scroll indicator when scrolling menu
2021-05-03 16:53:45 +08:00
Alvin Wong
82c985d785
Impl. menu item scroll down animation
2021-05-02 21:57:45 +08:00
alvinhochun
969cadc3eb
Change description scroll message behaviour ( #950 )
...
* Refactor: Extract common scroll message code
* Change desc. scrolling to stop at the start and end
* Extract `ScrollMessage` to its own file
2021-05-02 18:12:41 +10:00
alvinhochun
1a0b542ae6
[RFC] Multi-language firmware (second try) ( #941 )
...
* Impl. sectioned font table in firmware
* make_translation.py: Extract build_symbol_conversion_table function
* Put translation indices and strings in a struct
* Move translation objcopy step to Python
* Impl. multi-language firmware demo
* Impl. strings-compressed multi-lang firmware demo
* Add font compression to multi-lang demo
* Refactor Makefile a bit
* Fix rules for make < 4.3
* Add more multi-lang groups
* Add Pinecil multi-lang CI build
* Add lzfx compression license text
* Remote multi-language demo group
* Fix build after merge
* Import code from BriefLZ
* Change brieflz for our use case
* Change compression to use brieflz
* Remove lzfx code
* Update license file for brieflz
* Exclude brieflz files from format check
* Add BriefLZ test
2021-04-30 18:51:13 +10:00
Ben V. Brown
5205dc2361
Dont mark usb comms supported
2021-04-25 17:06:27 +10:00
Ben V. Brown
b161192691
Merge branch 'master' into messing_with_pd
2021-04-17 10:53:58 +10:00
Alvin Wong
fadb25273e
Impl. font compression demo
2021-04-17 05:18:19 +08:00
Alvin Wong
6f4f4d9733
Move string compression to Python
...
... so that the script can know its uncompressed size and calculate the
appropriate buffer size.
2021-04-16 17:55:30 +08:00
Alvin Wong
4a6b55c52c
Merge branch 'master' into string-compression
2021-04-13 18:31:16 +08:00
Ben V. Brown
264bd12adb
Merge branch 'master' into messing_with_pd
2021-04-13 11:34:22 +10:00
Ben V. Brown
022879babd
Merge pull request #924 from alvinhochun/lang-jp
...
Add Japanese translation
2021-04-13 08:24:11 +10: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
Ben V. Brown
3e7dd3b150
Merge branch 'master' into messing_with_pd
2021-04-10 11:40:31 +10: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
4ee91d45fe
Cleanup duplicate code
2021-04-08 21:54:10 +10:00
Ben V. Brown
22c5f6d361
Cleanup FUSB setup
2021-04-08 21:20:25 +10:00
Ben V. Brown
7a437b9265
Merge branch 'master' into messing_with_pd
2021-04-08 11:00:21 +10:00
Alvin Wong
dbcd093c77
Add Japanese translation
2021-04-07 18:46:22 +08:00
Alvin Wong
2d33708e9e
Add ZH_CN translation
2021-04-07 16:09:03 +08:00
Ben V. Brown
d56332d06b
Merge branch 'master' into messing_with_pd
2021-04-05 20:01:40 +10: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
5908c91c19
Merge branch 'master' into messing_with_pd
2021-04-05 16:40:15 +10:00
Ben V. Brown
59a9dce7ec
Update IRQ.cpp
2021-04-05 16:29:17 +10:00
Ben V. Brown
0b02275192
Cleanup message rx event to inline, re-enable non PPS
2021-04-05 16:22:17 +10:00
Ben V. Brown
fb24ba1866
Collapse rx into irq
2021-04-05 15:57:31 +10:00
Ben V. Brown
f12ed98991
Cache FUSB polls
2021-04-05 15:53:29 +10:00
Ben V. Brown
6b67137420
Update int_n.cpp
2021-04-05 15:53:10 +10:00
Ben V. Brown
489f3818bf
Update protocol_tx.cpp
2021-04-05 15:53:03 +10:00
Ben V. Brown
b682f6cd70
Simplify rx
2021-04-05 15:52:54 +10:00
Ben V. Brown
af818537f5
Unused event
2021-04-05 15:38:22 +10:00
Ben V. Brown
69b878b1c8
Organise main tasks into order of priority
2021-04-05 15:05:23 +10:00
Ben V. Brown
854189d720
Add manual irq line check for the int task for PD
2021-04-05 15:05:12 +10:00
Ben V. Brown
16ac45d74a
Update POWThread.cpp
2021-04-05 15:04:59 +10:00
Ben V. Brown
b3c3e4e384
Spawn PD earlier
2021-04-05 14:37:50 +10:00
Ben V. Brown
fc08dc42fa
Auto notify tx
2021-04-05 14:12:44 +10:00
Ben V. Brown
b1ef035d07
Cleanup RX
2021-04-05 13:22:08 +10:00
Ben V. Brown
eee1d93806
Update policy_engine_user.cpp
2021-04-05 13:22:01 +10:00
Ben V. Brown
f8e9c3b0d4
Update policy_engine.h
2021-04-05 13:21:55 +10:00
Ben V. Brown
2332b4e835
Cleanup QC3 delays
2021-04-05 13:19:15 +10:00