Re: [elinks-dev] [PATCH 04/10] Added option to change colors of HTML forms.

2009-05-16 Thread yozohida
Ah, thanks. Your suggestion works. Never thought of doing it that way, actually. Please disregard patch #4 in that case. Thanks, -Yozo ___ elinks-dev mailing list elinks-dev@linuxfromscratch.org http://linuxfromscratch.org/mailman/listinfo/elinks-dev

[elinks-dev] [PATCH 05/10] Provide different color for text areas in insert mode.

2009-05-12 Thread yozohida
The color is controlled by document.browse.links.active_link.insert_mode_colors.background document.browse.links.active_link.insert_mode_colors.text Also avoid overloading local variable "i" in get_current_link(). --- src/config/options.inc | 12 src/document/document.c |

[elinks-dev] [PATCH 08/10] Make select forms look more like other forms.

2009-05-12 Thread yozohida
Insert "[_" and "_]" as part of the form link, and include it as part of the link. --- src/document/html/parser/forms.c |4 +- src/viewer/text/form.c | 42 -- src/viewer/text/link.c |2 +- 3 files changed, 34 insertions(+), 14 delet

[elinks-dev] [PATCH 03/10] Allow link number colors to be changed.

2009-05-12 Thread yozohida
These settings are specified by document.colors.link_number document.colors.use_link_number_color The latter setting determines whether the color is used when document colors are being used. See bug #1050. --- src/config/options.inc |9 + src/document/html/parser.c |

[elinks-dev] [PATCH 10/10] Do not underline forms (unless selected).

2009-05-12 Thread yozohida
--- src/document/html/renderer.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index d0ef32d..8a480b1 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -358,6 +358,7 @@ get_format_s

[elinks-dev] [PATCH 09/10] Add preferred_document_width option.

2009-05-12 Thread yozohida
Option document.browse.preferred_document_width controls the width of the document, so that documents are rendered with narrower width than screen width. Makes it easier to read paragraphs. Patch originally from Sharon Wood , see bug #1063. Instead of using max_document_width as the hard limit t

[elinks-dev] [PATCH 04/10] Added option to change colors of HTML forms.

2009-05-12 Thread yozohida
Settings are specified by document.colors.form document.colors.use_form_color The latter setting determines whether the color is used when document colors are being used. --- src/config/options.inc |9 + src/document/html/parser.c |1 + src/document/html/parse

[elinks-dev] [PATCH 07/10] Avoid underlining active text areas.

2009-05-12 Thread yozohida
They already have underscores, so underlining them is redundant (and looks a bit strange). --- src/viewer/text/link.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/viewer/text/link.c b/src/viewer/text/link.c index 7cf3455..3b12c33 100644 --- a/src/viewer/text/link.

[elinks-dev] [PATCH 06/10] Keep forms in bold even when active.

2009-05-12 Thread yozohida
--- src/viewer/text/link.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/viewer/text/link.c b/src/viewer/text/link.c index eaa15f1..7cf3455 100644 --- a/src/viewer/text/link.c +++ b/src/viewer/text/link.c @@ -183,7 +183,8 @@ init_link_drawing(struct document_view *

[elinks-dev] [PATCH 02/10] Allow larger document.browse.margin_width.

2009-05-12 Thread yozohida
--- src/config/options.inc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/config/options.inc b/src/config/options.inc index 4e4b255..f957669 100644 --- a/src/config/options.inc +++ b/src/config/options.inc @@ -449,7 +449,7 @@ static struct option_info config_options_

[elinks-dev] [PATCH 01/10] Underline links even in numbered links mode.

2009-05-12 Thread yozohida
See bug #1076. --- src/document/html/renderer.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index ec6c312..bfbd9c7 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -350,1

[elinks-dev] Series of patches to improve elinks

2009-05-12 Thread yozohida
Hi, I started using elinks recently (moving from firefox + vimperator), and hacked together some patches to improve (?) elinks. Following messages are the patches. Most of the features are independent, but the patches themselves may be dependent on earlier patch. Patches are against the curre