1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

4078 Commits

Author SHA1 Message Date
Witold Filipczyk
30fcf11172 Some goals for dvelopment 2017-11-29 17:38:39 +01:00
Witold Filipczyk
2c6d782aef Check returned value of tiparm. 2017-11-28 22:07:57 +01:00
Witold Filipczyk
d466e84eb6 TERMINFO does not work well for linux-m 2017-11-28 20:31:41 +01:00
Witold Filipczyk
bbc3ead99c Added CONFIG_TERMINFO to features.conf 2017-11-27 20:37:09 +01:00
rkd77
3d8da2e48c
Merge pull request #11 from aelmahmoudy/gnutls_client_cert
SSL authentication using client certs
2017-11-26 11:06:51 +01:00
Witold Filipczyk
c9a0df7a67 This condition was useless IMO. 2017-11-26 11:03:02 +01:00
rkd77
d539a45c98
Merge pull request #3 from aelmahmoudy/color_link_num
Allow link number colors to be changed.
2017-11-26 10:58:04 +01:00
Witold Filipczyk
4f89fd6674 Add -I config/m4 to aclocal. 2017-11-25 20:58:26 +01:00
Witold Filipczyk
03968b93c8 Do not use terminfo for true color mode. 2017-11-25 11:46:28 +01:00
rkd77
26d1759d35
Merge pull request #15 from doughdemon/musl
Musl compatibility
2017-11-24 15:19:55 +01:00
rkd77
4f8871f4f0
Merge pull request #14 from doughdemon/po
Misc translations
2017-11-24 15:17:27 +01:00
Felix Janda
336e596a83 Rename VA_COPY to va_copy
With this, the C99 standard macro va_copy is used when available
instead of the prestandard __va_copy.
2017-11-23 19:18:20 -05:00
Felix Janda
9555619c50 Remove __va_copy configure test
__va_copy is a macro and can be detected via #ifdef.
2017-11-23 19:15:35 -05:00
Felix Janda
ca44c53f59 Make Japanese language selectable 2017-11-23 18:53:15 -05:00
KURASAWA Nozomu
e1ac2896c6 Add Japanese translations. 2017-11-23 18:42:31 -05:00
Felix Janda
b9c80be636 convert *.po files to utf8 2017-11-23 18:35:18 -05:00
Felix Janda
bfb4733f39 Don't use <sys/signal.h>
This legacy header appears to be unused. Removing its includes
avoids numerous warnings when compiling with musl libc:

/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp]
2017-11-23 17:51:41 -05: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
48ba074969 mem_free_set instead two lines 2017-11-23 10:33:10 +01:00
rkd77
fa013b70ab
Merge pull request #13 from doughdemon/msgaccel
msg-accelprepare: work around Getopt::Long behavior change
2017-11-23 10:27:43 +01:00
rkd77
ec4d5390dd
Merge pull request #12 from doughdemon/dev
Buildsystem cleanup
2017-11-23 10:26:29 +01:00
Felix Janda
9047be4f9b msgaccel-prepare: work around Getopt::Long behavior change
Avoid the following:

./msgaccel-prepare -S"dir" file
Unknown option: Sdir

So "dir" is no longer interpreted as an argument to "-S". This
was apparently introduced in Getopt::Long version 2.48.
2017-11-22 17:41:23 -05:00
Felix Janda
c5a6c6bd1b configure: Use AC_USE_SYSTEM_EXTENSIONS
Fixes

warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
2017-11-22 17:02:00 -05:00
Felix Janda
06832623ad Rename configure.in to configure.ac
Avoids aclocal warning
2017-11-22 17:01:48 -05:00
Felix Janda
0555a68054 configure: Use AC_CONFIG_MACRO_DIR
This makes acinclude.m4 unecessary.
2017-11-22 17:01:39 -05:00
Witold Filipczyk
4d85cd24eb Removed code suspected for traces on screen when scrolling. 2017-11-22 18:19:32 +01:00
Witold Filipczyk
5b390d6b55 Make 0 the default. 2017-11-22 12:11:42 +01:00
rkd77
be719e1ac1
Merge pull request #10 from aelmahmoudy/select_forms
Make select forms look more like other forms.
2017-11-22 12:02:06 +01:00
rkd77
77ea5759ed
Merge pull request #9 from aelmahmoudy/preferred_document_width_option
Add preferred_document_width option.
2017-11-22 11:59:17 +01:00
rkd77
1fecca1a15
Merge pull request #8 from aelmahmoudy/larger_doc_margin
Allow larger document.browse.margin_width
2017-11-22 11:56:25 +01:00
rkd77
a6996b7d3a
Merge pull request #7 from aelmahmoudy/keep_forms_bold
Keep forms in bold even when active.
2017-11-22 11:55:40 +01:00
rkd77
addd051c97
Merge pull request #6 from aelmahmoudy/dont_underline_unselected_forms
Dont underline unselected forms
2017-11-22 11:54:50 +01:00
rkd77
f44fdc25ed
Merge pull request #5 from aelmahmoudy/dont_underline_active_textarea
Avoid underlining active text areas.
2017-11-22 11:53:32 +01:00
rkd77
baf0c5b689
Merge pull request #4 from aelmahmoudy/color_textarea
Provide different color for text areas in insert mode.
2017-11-22 11:51:10 +01:00
rkd77
2b786ac7fe
Merge pull request #2 from aelmahmoudy/underline_links
Underline links even in numbered links mode
2017-11-22 11:42:02 +01:00
rkd77
ef8a3ccddf
Merge pull request #1 from aelmahmoudy/source_element
Add rendering for html source element
2017-11-22 11:38:57 +01:00
Nils Dagsson Moskopp
aae79c95fe Add rendering for html source element 2017-11-22 03:19:33 +01:00
Guillem Jover
85b8dd8f42 SSL authentication using client certs 2017-11-22 01:46:30 +01:00
Yozo Hida
49988d305f Do not underline forms (unless selected). 2017-11-22 01:16:50 +01:00
Witold Filipczyk
7b970144ba Cursor down causes wrong rendering. 2017-11-21 21:39:48 +01:00
Yozo Hida
948d019fc0 Add preferred_document_width option.
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 Shalon Wood <dstar@pele.cx>, see bug #1063.

Instead of using max_document_width as the hard limit to the document
width, it uses a soft limit, where if the document does not fit (due to
tables, etc.), then larger width is used.  This reduces the need for
horizontal scrolling for wide documents.

Also added toggle-document-width action to toggle between preferred
width and full screen width.  This is bound to 'M' by default.  Initial
toggle status is determined by document.browse.use_preferred_document_width
option.

During dumps, document.dump.width option is still used.  Perhaps we
should consolidate document.dump.width option with
document.browse.preferred_document_width ?
2017-11-21 16:09:13 +01:00
Yozo Hida
7e58737619 Make select forms look more like other forms.
Insert "[_" and "_]" as part of the form link, and
include it as part of the link.
2017-11-21 16:06:33 +01:00
Yozo Hida
2a09148e5a Avoid underlining active text areas.
They already have underscores, so underlining them is redundant (and looks a
bit strange).
2017-11-21 16:04:27 +01:00
Yozo Hida
6ad3e541c8 Keep forms in bold even when active. 2017-11-21 16:02:26 +01:00
Yozo Hida
4ed958b067 Provide different color for text areas in insert mode.
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().
2017-11-21 16:00:39 +01:00
Yozo Hida
a4d8f25a9c Allow link number colors to be changed.
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.
2017-11-21 15:56:32 +01:00
Yozo Hida
a9e7768b76 Allow larger document.browse.margin_width 2017-11-21 15:53:17 +01:00