Commit Graph

68 Commits

Author SHA1 Message Date
mintsuki
5457c7aa85 Add a bunch of helpful comments to fb.h 2024-04-09 14:39:11 +02:00
mintsuki
95293a3a87 Drop flanterm_fb_simple_init() 2024-04-09 14:18:15 +02:00
mintsuki
f62c969bde Simplify #ifdef situation 2024-04-09 14:13:56 +02:00
mintsuki
f4287305bb Actually gate terminal size limiting behind bump allocated instance 2024-04-09 13:51:10 +02:00
mintsuki
fa54a60240 Perform autoscaling on high res if scale factor is 0 2024-04-09 13:47:50 +02:00
mintsuki
01b3069ae3 Print replacement character for non-unicode characters as well 2024-04-07 05:55:01 +02:00
mintsuki
41a5256f5d Drop support for (broken) 0x9b CSI 2024-04-07 05:20:01 +02:00
mintsuki
cf304a78f4 Bound col256 accesses to avoid out-of-bounds read 2024-04-07 01:30:01 +02:00
mintsuki
9cb38e203e Limit bump allocated terminal instances to 1 2024-04-07 01:29:10 +02:00
mintsuki
1d6e5855e2 Massively reduce the default size of bump alloc pool
Also limit the resolution of the terminal if necessary and force no-canvas mode if using bump allocator
2024-04-05 18:18:47 +02:00
mintsuki
9b51770c7a Bound some loops that could cause long hangs 2024-04-04 04:17:12 +02:00
mintsuki
545ab1faa8 Do not use reserved identifiers for include guards 2024-01-20 21:27:11 +01:00
mintsuki
68ace92241 Fix warnings introduced in f946bd77ab 2024-01-13 18:44:43 +01:00
Bedight
f946bd77ab
Terminal optimization option added : flanterm_toggle_masking() (#9)
* Terminal optimization option added : flanterm_toggle_masking()

* Terminal optimization option added

* error correction

---------

Co-authored-by: ernestbedight <bob@bedight.localdomain>
2024-01-13 18:29:49 +01:00
ミンツキ
845df221dd
Merge pull request #8 from tombuente/trunk
Fix include guard
2024-01-09 14:06:50 +01:00
Tom Buente
9174daf85e
Fix include guard 2024-01-08 23:01:04 +01:00
mintsuki
852e18fa79 Update copyright years 2024-01-02 19:18:32 +01:00
mintsuki
1844cf3875 Update LICENSE to stay within 80 col 2023-12-05 19:55:14 +01:00
ミンツキ
65e0bd7b63
Merge pull request #6 from suhas-pai/trunk
Fix -Wsign-conversion warnings
2023-11-08 04:51:12 +01:00
suhaspai
a124a2e058 Fix -Wsign-conversion warnings 2023-11-07 18:38:27 -08:00
ミンツキ
b94be177bc
Merge pull request #4 from 48cf/trunk
Fix compiler warning regarding inlining
2023-10-24 06:16:06 +02:00
48cf
1cee4eb472 backends/fb: Fix compiler warning regarding inlining 2023-10-24 06:15:12 +02:00
ミンツキ
98e77f8591
Merge pull request #3 from 48cf/bpp-support
backends/fb: Basic support for different framebuffer configurations
2023-10-24 06:04:34 +02:00
48cf
be7d052d66 backends/fb: Automatically scale font for bigger displays 2023-10-24 06:02:33 +02:00
48cf
5d227ebfc1 backends/fb: Basic support for different framebuffer configurations 2023-10-24 06:02:33 +02:00
mintsuki
b1a2c69aea Add flanterm_fb_simple_init() and add basic usage to README 2023-07-07 18:25:04 +02:00
mintsuki
63359f43d4 Default to enabling bump allocator 2023-06-10 19:21:26 +02:00
mintsuki
e53d94ced4 Add built-in bump allocator 2023-06-10 19:07:28 +02:00
mintsuki
9596ebd9f4 Minor style adjustments 2023-06-10 17:41:04 +02:00
mintsuki
80a06672a9 Add missing FLANTERM_FB_DISABLE_CANVAS guard 2023-06-02 12:13:00 +02:00
ミンツキ
044a96b48e
Merge pull request #2 from iProgramMC/trunk
backends/fb: Make the canvas feature optional
2023-04-21 16:27:57 +02:00
iProgramMC
69bd18cccc backends/fb: Make the canvas feature optional 2023-04-21 17:20:14 +03:00
mintsuki
f95f5584fb Add README 2023-03-30 04:43:35 +02:00
mintsuki
91fc01cbeb Drop in_bootloader 2023-03-30 01:15:41 +02:00
mintsuki
b4d3bd1cc5 Add license headers 2023-03-29 23:12:42 +02:00
mintsuki
87bfe509c7 Rebrand to Flanterm 2023-03-29 22:37:05 +02:00
mintsuki
30cd1dfcc8 Fix dec special regression introduced in 0da2b853 2023-02-27 01:39:05 +01:00
mintsuki
0da2b853c8 Do not print raw codepage 437 characters outside bootloader 2023-02-08 23:38:40 +01:00
mintsuki
80858a52a5 wchar_t -> uint32_t 2023-01-29 00:36:41 +01:00
mintsuki
4f44263ca3 Add support for out-of-band output control and implement ONLCR 2023-01-20 20:07:37 +01:00
mintsuki
cdd2a948a0 Change how replacement characters are shown to be more in line with the Linux terminal 2023-01-18 23:15:13 +01:00
mintsuki
5eaf69f072 Update copyright years 2023-01-14 13:00:23 +01:00
mintsuki
cb74ddd3e7 Remove unused cursor_status variable from fbterm_context 2022-12-29 01:20:36 +01:00
mintsuki
2fcb7e6dff Move enable/disable cursor to frontend 2022-12-28 03:38:17 +01:00
mintsuki
5d3e0ddccf Fix issue where 39 and 49 SGR codes would not respect bold setting 2022-12-27 06:05:16 +01:00
mintsuki
23024c038f Execute a full refresh when initialising framebuffer backend 2022-12-16 03:28:34 +01:00
mintsuki
bd351cda31 Fix some issues detected when trying to run apt 2022-12-15 00:10:06 +01:00
mintsuki
5798447df2 Add bright default FG/BG support 2022-12-14 15:05:46 +01:00
mintsuki
d519713fd5 Fix L control sequence 2022-12-14 00:55:57 +01:00
mintsuki
1c84266b7a Framebuffer scroll routines optimisation 2022-12-13 22:21:55 +01:00