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
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
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
Felix Janda
06832623ad
Rename configure.in to configure.ac
...
Avoids aclocal warning
2017-11-22 17:01:48 -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
Yozo Hida
49988d305f
Do not underline forms (unless selected).
2017-11-22 01:16:50 +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
a9e7768b76
Allow larger document.browse.margin_width
2017-11-21 15:53:17 +01:00
Yozo Hida
468e7aaff9
Underline links even in numbered links mode
2017-11-21 15:50:23 +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
299e2b9aa4
Missing files
2017-11-19 20:18:44 +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
9175f8ed39
Terminate slave browsers with libev(ent).
2017-11-18 15:16:22 +01:00
Witold Filipczyk
d5261654f4
libev or libevent in About dialog.
2017-11-17 17:33:51 +01:00
Witold Filipczyk
21d36fcbd1
Add --with-libev, because libev is smaller.
...
When both --with-libev and --with-libevent are used, libev takes
precedence.
2017-11-17 16:34:03 +01:00
Witold Filipczyk
f52e3187e3
Add command line option -no-libevent
2017-11-16 18:23:47 +01:00
Witold Filipczyk
4c4717b82a
Repeat gnutls_handshake until success
...
It's blocking, but better than SSL errors.
2017-11-15 01:01:36 +01:00
Witold Filipczyk
91beac7ee3
gnutls_certificate_set_x509_system_trust
...
If this function is available and gnutls is used,
and connection.ssl.trusted_ca_file is "",
gnutls_certificate_set_x509_system_trust is called
to load certificates.
2017-11-14 16:02:22 +01:00
Witold Filipczyk
0266633025
Fix issue with one char documents. Patch by Felix Janda
2017-11-14 09:54:05 +01:00
Witold Filipczyk
b6fd548049
threads might be NULL for --lookup
2017-11-13 14:44:24 +01:00
Witold Filipczyk
3b6ff1d22f
Introduced --with-libevent based on links code
...
I don't know how to deal with select's exception fds in libevent,
so some functions may not work properly.
2017-11-12 13:41:31 +01:00
Witold Filipczyk
050f304161
poll and EINTRLOOP - added fragment from links
2017-11-11 21:37:08 +01:00
Witold Filipczyk
8c39acc277
Info about brotli.
2017-11-11 16:31:32 +01:00
Witold Filipczyk
f86be65971
Retry only for https protocol
2017-07-23 19:50:15 +02:00
Witold Filipczyk
affcebbab1
Add to blacklist only valid uri
2017-07-23 19:15:10 +02:00
Witold Filipczyk
a6799737f5
Forgot about possible memleak
2017-07-23 19:09:13 +02:00