1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-06 23:44:43 -04:00
Commit Graph

117 Commits

Author SHA1 Message Date
Witold Filipczyk
cb5916214d [c] Let be compatible with -std=gnu90 2023-02-12 12:54:22 +01:00
Witold Filipczyk
f3dffb9fd8 [screen] try to replace dirty_from and dirty_to with was_dirty 2022-12-15 14:55:38 +01:00
Witold Filipczyk
df5dd1515e [screen] minor optimisation 2022-12-14 22:18:10 +01:00
Witold Filipczyk
571cb05e05 [screen] Added struct bitfield dirty to screen 2022-12-14 22:04:01 +01:00
Witold Filipczyk
c086cbe26e [color] Removed code related to draw_text_node
This idea failed. Code was slow.
2022-10-16 15:18:34 +02:00
Witold Filipczyk
1e27359afa [screen] Drop optimisation
Shadows were not displayed correctly, likely because of this check.
2022-03-27 19:37:16 +02:00
Witold Filipczyk
ac0241f479 [colors] Fix issue with mono colors and menu 2022-03-24 16:05:33 +01:00
Witold Filipczyk
835dce933f [screen] Another compilation fix. Refs #142 2022-03-22 20:49:57 +01:00
Witold Filipczyk
27ca62762c [colors] Compilation fixes. Refs #142 2022-03-22 19:11:23 +01:00
Witold Filipczyk
458a4894f2 [screen] copy_struct 2022-03-21 14:37:10 +01:00
Witold Filipczyk
aff460d7a9 [screen] Do not check twice for is_node 2022-03-20 16:10:17 +01:00
Witold Filipczyk
9e39ef5d1a [colors] Unification
Still do not know why in 24bit are issues with menu.
2022-03-20 16:01:05 +01:00
Witold Filipczyk
085c2ebd95 [colors] Simplifications 2022-03-20 15:41:29 +01:00
Witold Filipczyk
411b25cecc [colors] One function instead of two for COLOR_MODE_16 2022-03-20 15:24:15 +01:00
Witold Filipczyk
b2ea78617e [colors] Added _node for 88 colors
Now 88 and 256 colors have inefficient check in add_chars256.
2022-03-20 13:43:58 +01:00
Witold Filipczyk
ed4175a4a7 [mono] _node colors 2022-03-20 13:22:24 +01:00
Witold Filipczyk
e8719ba9e7 [colors] COLOR_MODE_16
Some bugs left.
2022-03-18 17:00:25 +01:00
Witold Filipczyk
9b1b2f4590 [colors] displaying node_numbers colors for 24bit color 2022-03-18 16:33:52 +01:00
Witold Filipczyk
407ca7d114 [colors] Implemented displaying for 256 color mode 2022-03-18 16:24:48 +01:00
Witold Filipczyk
e26fb55fa7 [screen] placeholders for functions which would get_colors from node number 2022-03-07 20:24:11 +01:00
Witold Filipczyk
f3496ae098 [terminfo] const char * 2022-02-21 18:25:11 +01:00
Witold Filipczyk
6c83455ab7 [options] these can be const 2022-01-29 17:49:38 +01:00
Witold Filipczyk
7ea1e0b80a [screen] Longer initializer 2022-01-28 17:57:44 +01:00
Witold Filipczyk
65e74dc39d [term] enum term_mode_type -> term_mode_type_T 2022-01-28 17:54:58 +01:00
Witold Filipczyk
63f151c35f [screen] Too long initializer 2022-01-28 17:50:24 +01:00
Witold Filipczyk
d839efc9f4 [color] enum color_mode -> color_mode_T 2022-01-28 14:42:48 +01:00
Witold Filipczyk
881f896e85 [mem_calloc] Cast 2022-01-16 21:08:50 +01:00
Witold Filipczyk
be8a030fa7 [mem_realloc] cast return value 2022-01-16 19:38:30 +01:00
Witold Filipczyk
20c161559c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
Witold Filipczyk
0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
3d96b0d7d7 Revert "Compile with C++."
This reverts commit 4f4df33638.
2019-04-21 12:27:40 +02:00
Witold Filipczyk
4f4df33638 Compile with C++.
Weak points:
- alignof
- js problems

Todo:
- make js work with C++ and mozjs-17
- then mozjs-24
- then mozjs-52
- then mozjs-60
- decrease number of warnings
2019-02-17 20:46:16 +01:00
Witold Filipczyk
d466e84eb6 TERMINFO does not work well for linux-m 2017-11-28 20:31:41 +01:00
Witold Filipczyk
03968b93c8 Do not use terminfo for true color mode. 2017-11-25 11:46:28 +01:00
Witold Filipczyk
0420ce5cc9 Similar code as in original ELinks.
Still issues with displaying freshcode.club on konsole.
2017-11-23 18:00:20 +01:00
Witold Filipczyk
d1ddf27332 Cleaner code of checking if line is dirty. 2017-11-23 15:53:52 +01:00
Witold Filipczyk
2bd6ac3f08 terminfo_cursor_address 2017-11-23 13:39:04 +01:00
Witold Filipczyk
49f41d4371 Rewritten add_chars macro.
Before it redrawn only changed cells, but were problems with ghosts.
See test/fresh.html. Now it redraws whole lines, which were modified.
2017-11-23 11:40:21 +01:00
Witold Filipczyk
4d85cd24eb Removed code suspected for traces on screen when scrolling. 2017-11-22 18:19:32 +01:00
Witold Filipczyk
99058d53d7 terminfo_max_colors() 2017-11-21 15:36:28 +01:00
Witold Filipczyk
d8e749c0f4 terminfo_clear_screen 2017-11-20 11:28:53 +01:00
Witold Filipczyk
c4cb7ed8e5 Beginnings of terminfo support.
--with-terminfo must be added for configure
and --terminfo to command line.
terminfo is only used for output and not all sequences are changed.
2017-11-19 18:29:38 +01:00
Witold Filipczyk
257422f28c Reorganisation of code to make C++ happy 2016-04-20 22:21:31 +02:00
Witold Filipczyk
ca18522eec Revert "Shorten add_chars. Do not call compare_fg_color and compare_bg_color."
This reverts commit 8132c156dd.
On download dialog cursor jumps too much
2015-09-17 21:38:35 +02:00
Witold Filipczyk
8132c156dd Shorten add_chars. Do not call compare_fg_color and compare_bg_color.
Some sites while scrolling showed "artifacts". For example twojepc.pl.
2015-09-17 21:08:15 +02:00
witekfl
36070d3277 The union of the color and the node_number in the struct screen_char.
The long term goal is good looking of the Python docs in ELinks, especially
background colors. Every start tag and every text node would have associated
a natural number. Those numbers would be "drawn" in the document instead
of colors. Finally, the screen driver would change numbers into colors.

This will be done in small steps. The next step is to implement this change
in the screen driver.
2012-03-03 11:27:58 +01:00
Miciah Dashiel Butler Masters
60c50ea378 Fix a compilation error.
Fix another silly error that I introduced in commit
3334efb32c.
2009-05-22 21:54:47 +00:00
Miciah Dashiel Butler Masters
3334efb32c Add support for ECMA-48 SGR italic
Add 'Italic' checkbox to Terminal options dialog box.

Enable italic text by default for rxvt-unicode (and also enable
frames, 88-colour mode, and underline).
2009-05-22 19:48:59 +00:00
Witold Filipczyk
7751102ce7 Bug 1070: Support for fbterm.
fbterm uses different 256 color sequences than xterm.
color256_seqs are part of the driver info.
2009-04-26 18:12:00 +03:00
Kalle Olavi Niemitalo
f19c948ca7 Bug 824: Disable combining characters unless --enable-combining.
Label this as an experimental feature because it has so many bugs
and it is not clear how they can be fixed.
2008-01-19 20:58:22 +02:00