Witold Filipczyk
558baa830e
[select] More code to avoid warning
2019-11-15 16:37:02 +01:00
Witold Filipczyk
0724c3c49d
[gcc] Silent gcc. I guess code was ok.
2019-11-15 16:27:16 +01:00
Witold Filipczyk
85066d7016
[gnutls] gnutls_compression_get_name is deprecated.
2019-11-15 16:13:17 +01:00
Witold Filipczyk
7456f785ca
[ssl] wrong signature of function
2019-11-15 14:33:30 +01:00
Witold Filipczyk
6b9d6c93df
[ssl] ASN1_STRING_data is deprecated
2019-11-15 14:24:59 +01:00
Witold Filipczyk
903fc4984d
[ssl] RAND_pseudo_bytes is deprecated.
2019-11-15 14:19:47 +01:00
Witold Filipczyk
b32edcc5a6
[setup] github urls
2019-11-11 16:29:09 +01:00
Witold Filipczyk
b3e01b3298
[scripting] python scripting with Python3.
...
Only utf-8 encoding is supported.
2019-11-11 13:33:37 +01:00
Witold Filipczyk
5115a3225d
[terminal] Detect gnome-terminal as x-terminal. Refs #35
2019-08-24 10:28:01 +02:00
Witold Filipczyk
a53486b31d
[encoding] Read whole file.zst to memory and decompress.
2019-07-14 22:25:03 +02:00
Witold Filipczyk
90086599da
[encoding] Experimental zstd encoding
2019-07-14 18:54:39 +02:00
Witold Filipczyk
e4b536f8ab
[gopher] Nothing is easy as it seems. Refs #34
2019-05-13 12:46:44 +02:00
Witold Filipczyk
12b270e8d2
[gopher] Allow unix like line endings. Refs #34
2019-05-13 12:09:26 +02:00
Witold Filipczyk
3d23424b9f
[gopher] Another try for #33 .
...
This time replace /URL -> URL for h type.
2019-05-12 22:56:54 +02:00
Witold Filipczyk
41c3485add
Revert "[gopher] Skip '/'. Refs #33 "
...
This reverts commit 5106b31f6c
.
2019-05-12 22:16:48 +02:00
Witold Filipczyk
5106b31f6c
[gopher] Skip '/'. Refs #33
2019-05-05 16:18:29 +02:00
Witold Filipczyk
3d96b0d7d7
Revert "Compile with C++."
...
This reverts commit 4f4df33638
.
2019-04-21 12:27:40 +02:00
Witold Filipczyk
8d7112c27d
Revert "Fix some issues with js."
...
This reverts commit 6322d2936a
.
2019-04-21 12:26:27 +02:00
Witold Filipczyk
6322d2936a
Fix some issues with js.
2019-02-17 23:33:12 +01: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
25dd2ecae9
Changed ecmascript engine to mozjs-17.0.
...
Was not tested, especially smjs is likely buggy.
2019-02-10 21:00:37 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
a1bea9349f
Compat with gnutls 3.6.4
2019-01-24 07:53:19 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
dbab898f38
Fix spelling mistakes
2019-01-14 04:51:10 +01:00
Witold Filipczyk
6dfdd36398
form_control -> el_form_control
2018-09-09 19:18:53 +02:00
Witold Filipczyk
d8be2c505e
Rename struct box to struct el_box.
...
In the future I want to copy some code from netsurf, so I'm preparing.
2018-09-09 19:14:56 +02:00
Witold Filipczyk
6ec3fc3f33
More user friendly method to set expires in cookie dialog.
2018-08-25 22:44:11 +02:00
Witold Filipczyk
9eaf03cf2a
Added HttpOnly cookies
2018-08-25 15:28:29 +02:00
Witold Filipczyk
6f001ea50f
Check for NULL to avoid segmentation fault.
...
Entering in cookie dialog expires:
123456789012345678
and then Info button, caused segfault.
2018-08-18 20:53:40 +02:00
sgerwk
2f58dfce13
when searching in a node, only search within its box
2018-06-25 10:47:51 +02:00
Fabienne Ducroquet
3665ee2ef7
Move check on number of search points to move_search_do
...
If doc_view->document->number_of_search_points is 0, move_search_number
crashes at:
pt = doc_view->document->search_points;
x = pt[number].x;
y = pt[number].y;
so it is not sufficient to make find_first_search_in_view return
immediately in this case, move_search_do should return immediately.
2018-06-07 17:25:21 +02:00
Witold Filipczyk
f2c0a380ab
Check if nothing has found. Refs #21
2018-04-15 18:08:54 +02:00
Witold Filipczyk
ad5f8165b2
Wraparound search
2018-04-15 16:45:23 +02:00
Witold Filipczyk
798a7cc4e6
Reuse existing functions to scroll. Added horizontal_scroll_extended.
2018-04-15 14:32:18 +02:00
Witold Filipczyk
7a006b6dd2
Rewritten searching. Refs #21
...
Before only visible part of screen was searched for pattern.
Now whole document is searched, and beginings of found text
is remembered in document->search_points.
2018-04-14 21:49:52 +02:00
Witold Filipczyk
fd1ae61131
Let search for more unbreakable spaces. Refs #20
2018-04-07 11:43:28 +02:00
Witold Filipczyk
fbfbe4013c
Interpret 0xA0 (nbsp in UTF-8 mode) as space char for searches. Issue #20
2018-04-06 20:02:49 +02:00
Witold Filipczyk
3b279e5ec6
No warning
2018-03-10 10:36:25 +01:00
Witold Filipczyk
00d34fd0ed
ruby: missing change PTR to LEN
2018-03-10 10:27:46 +01:00
Felix Janda
7a403ef735
Fix compatibility with Ruby >= 1.9
...
Based on patch by Ian Abbott
Bug: https://bugs.gentoo.org/424789
2018-03-09 17:34:30 -05:00
Witold Filipczyk
0dd3aaabe6
int -> size_t
2018-02-25 17:14:46 +01:00
Felix Janda
254f440de4
Remove references to internal-hooks.scm
2018-02-24 15:08:17 -05:00
Felix Janda
cec24f11a4
guile: update deprecated string functions
2018-02-24 15:05:45 -05:00
Felix Janda
a0a063f784
guile: replace discouraged SCM_FALSEP, SCM_NULLP, SCM_STRINGP
2018-02-24 14:18:25 -05:00
Felix Janda
e739ed07dc
Fix broken double-width chars when displaying status leds
2017-12-28 15:36:03 +01:00
Witold Filipczyk
8a8af596e0
gnutls: GNUTLS_E_PREMATURE_TERMINATION on www.raspberrypi.org
2017-12-23 14:51:43 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
887f85f6a9
Add signal.h to heartbeat,c includes
...
Build failed because hearbeat.c uses SIGVTALRM
2017-12-02 02:47:02 +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
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
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
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
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
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