Commit Graph

77 Commits

Author SHA1 Message Date
mintsuki
a6f6edd663 Further plot_char() optimisations based on Electrode's work 2024-10-24 02:28:44 +02:00
mintsuki
ca69dd73dc
Merge pull request #17 from ElectrodeYT/optimization
[WIP] Optimize put_char, split out specific unscaled code path
2024-10-24 01:53:01 +02:00
Alexander Richards
c578d05acb [WIP] Optimize put_char, split out specific unscaled code path 2024-10-10 13:16:07 +02:00
mintsuki
ef07a10cc3 Fix issue where ctx may have been accessed NULL in flanterm_fb_init() 2024-06-11 19:40:25 +02:00
mintsuki
88740ef420
Merge pull request #12 from DitherWither/trunk
Add a gitignore
2024-05-28 17:05:13 +02:00
Vardhan Patil
55b16bd435 Add a gitignore 2024-05-28 00:25:10 +05:30
mintsuki
347d9cf1e3 Replace C++ style comments with C style comments in fb.h 2024-04-10 09:20:10 +02:00
mintsuki
6c2b331107 Update README.md 2024-04-09 17:35:17 +02:00
mintsuki
986eac0a98 Make canvas option not preprocessor gated 2024-04-09 17:19:12 +02:00
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