1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-29 19:08:12 +00:00
Commit Graph

100 Commits

Author SHA1 Message Date
Pavol Rusnak
4f28093d2e
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator 2019-02-16 17:36:08 +01:00
Jan Pochyla
cfad075dcf sdl: allow HIDPI window
Prevents rendering issues on some retina setups.
2019-01-24 16:09:46 +01:00
Pavol Rusnak
806805e296
replace all usage of memset(_, 0, _) with memzero 2019-01-23 17:16:46 +01:00
Jan Pochyla
faa665a80b unix: fix SDL issues in MacOS Mojave 2018-11-27 14:49:59 +01:00
Pavol Rusnak
b4894c3431
unix: add raspi target 2018-11-07 00:31:44 +01:00
Pavol Rusnak
0ab0f9e418
unix: refactor T1 touch events to behave similarly to T2 touch events 2018-10-02 17:24:47 +02:00
Pavol Rusnak
2a06ff4986
embed/firmware: add T1 display support, apply T1 fixes 2018-09-30 16:12:04 +02:00
Pavol Rusnak
72d1c457c2
embed/extmod/modtrezorui: fix minor issue in display_print 2018-09-20 16:05:28 +02:00
Pavol Rusnak
108d84051e
embed/extmod/modtrezorui: add more T1/T2 ifdefs to display functions 2018-09-20 15:09:01 +02:00
Pavol Rusnak
fb816bd2de
embed/extmod/modtrezorui: properly set backlight and bpp for T1 display 2018-09-13 19:42:35 +02:00
Pavol Rusnak
7880b67451
embed/extmod/modtrezorui: display code reorg/cleanup 2018-09-12 15:23:30 +02:00
Pavol Rusnak
4a76756b75
embed/extmod/modtrezorui: use software renderer 2018-09-11 18:08:40 +02:00
Pavol Rusnak
8874925fb8
unix: support backgrounds for models T and 1 2018-09-11 16:38:47 +02:00
Pavol Rusnak
f23f751ab0
extmod/modtrezorui: prepare display UI for model change 2018-09-11 16:01:06 +02:00
Pavol Rusnak
e821fd4358
emulator: rename TREZOR_NOUI macro to TREZOR_EMULATOR_NOUI 2018-09-03 17:56:53 +02:00
Pavol Rusnak
e3607156d8
embed: make model and emulator orthogonal, update macros to match this logic 2018-08-31 16:55:01 +02:00
Pavol Rusnak
6801b61514
embed/extmod/modtrezorui: remove FONT_PY_TO_C/FONT_C_TO_PY, use (signed) int globally for font id 2018-08-16 21:16:34 +02:00
Pavol Rusnak
3a2c1eecdb
embed/extmod/modtrezorui: add MONO_BOLD font 2018-08-16 20:59:24 +02:00
Pavol Rusnak
e3d18ecb47
embed: refactor display_identify into a "getter" function 2018-08-04 20:45:59 +02:00
Pavol Rusnak
3022cd50c8
embed: use runtime detection of connected display controller 2018-08-04 17:43:54 +02:00
Pavol Rusnak
7b8266221d
embed: use static where appropriate in display-stm32.h 2018-08-04 17:22:23 +02:00
Pavol Rusnak
68ef9b9322
embed: add comment about why first value of display_id is discarded 2018-08-04 17:19:04 +02:00
Pavol Rusnak
bc5dba751a
embed: refactor display_identify in display-stm32 2018-08-04 17:15:29 +02:00
mcudev
c0b5d33743 display_identify: improve identification of ILI9341 2018-08-04 17:03:40 +02:00
Pavol Rusnak
4ebd7d2ad8
embed/extmod/modtrezorui: fix typo in display-stm32.h 2018-08-03 13:39:06 +02:00
Pavol Rusnak
f1dc43f951
embed: don't sync in display_refresh when using GC9307 2018-08-02 19:02:04 +02:00
Pavol Rusnak
e7a74ccfee
embed: add support for GC9307 display driver 2018-08-02 18:30:43 +02:00
Pavol Rusnak
f4252d755c
embed: introduce display_identify 2018-08-01 18:52:58 +02:00
Pavol Rusnak
32fbc69c30
embed: refactor BUFFER_OFFSET modification in display_set_orientation 2018-07-26 15:32:23 +02:00
Pavol Rusnak
fecc6e53a0
tools: update tools to generate clang-format compatible output 2018-07-18 12:17:51 +02:00
Pavol Rusnak
657de0274d
embed/unix: save only cropped part of the screenshot 2018-07-02 17:10:18 +02:00
Pavol Rusnak
35dcd917dd
embed/unix: save screenshot on "P" press in emulator 2018-07-02 16:31:24 +02:00
Jan Pochyla
7630201a57 debug: do not rely on mp_optimise_value
Reflects micropython commit 3f420c0c27bd6daa5af39517925be55b9b9a9ab3

Replaces usage of mp_optimise_value with calls from python code.
2018-06-19 18:26:43 +02:00
Jan Pochyla
2603c477c5 embed/extmod/modtrezorui: distinguish font ids from colors 2018-06-08 14:53:46 +02:00
Jan Pochyla
6ceb3f2770 embed/extmod/modtrezorui: text functions return width 2018-06-08 14:53:46 +02:00
Pavol Rusnak
55f3edebda
embed/extmod/modtrezorui: allow software renderer (but still prefer accelerated ones) 2018-03-30 14:01:51 +02:00
Jochen Hoenicke
5fc368e330 display: show qr-code correctly (was mirrored) 2018-03-27 19:39:20 +02:00
Pavol Rusnak
611d374bbd
embed: rename TREZOR_STM32/UNIX to TREZOR_MODEL_T/EMU, introduce trezor.utils.model() 2018-03-04 12:59:16 +01:00
Pavol Rusnak
c1f097f2b4
embed/extmod/modtrezorui: introduce frame numbering to display.save 2018-02-27 19:05:40 +01:00
Pavol Rusnak
081dcdd98f
embed/unix: resize emulator window if no background image found 2018-02-26 19:44:29 +01:00
Pavol Rusnak
14b0d4439a
embed: add GPLv3 source code headers 2018-02-26 14:07:37 +01:00
Pavol Rusnak
2bb9d80c18
embed/unix: implement nice background into emulator 2018-02-25 02:16:35 +01:00
Pavol Rusnak
64f7089d45
embed/extmod/modtrezorui: implement proper backlight 2018-02-25 00:55:33 +01:00
Pavol Rusnak
3eab20e278
embed: refactor MIN/MAX macros in common.h 2018-02-22 20:35:32 +01:00
Pavol Rusnak
d5ab82ae2b
embed/extmod/modtrezorui: refactor DISPLAY_OFFSET 2018-02-22 16:27:38 +01:00
Pavol Rusnak
30396f9cf0
embed/extmod/modtrezorui: refactor BUFFER_OFFSET and PIXELWINDOW structures 2018-02-18 15:51:18 +01:00
Pavol Rusnak
e264090678
embed/extmod/modtrezorui: refactor DATA into DATA and PIXELDATA in display 2018-02-18 15:37:54 +01:00
Pavol Rusnak
77ea31aa8a
embed/extmod/modtrezorui: revert NO_HINT change 2018-02-08 15:04:33 +01:00
Pavol Rusnak
329b7d1488
embed/extmod/modtrezorui: regenerate fonts with NO_HINTING, update rendering to subpixel precision 2018-02-07 19:33:39 +01:00
Pavol Rusnak
a25af7d22a
embed/extmod/modtrezorui: refactor text bar prefill into from display.c into extmod 2018-02-06 22:55:20 +01:00