Pete Deas
e9152c8772
gopher: ensure slash after entity type in links
...
This prevents links with null selectors being interpreted as pointing to
a (likely non-existent) file gopher://server/1
An example of a page with such links: gopher://gopher.floodgap.com/1/new
2016-04-30 10:45:42 +02:00
Witold Filipczyk
38c12d9dfc
Compilation fix
2016-04-24 17:36:20 +02:00
Witold Filipczyk
3212ee4e54
C++ comaptibility
2016-04-24 17:23:58 +02:00
Witold Filipczyk
b550f2eb2c
Do not inline in C++
2016-04-24 17:23:36 +02:00
Witold Filipczyk
257422f28c
Reorganisation of code to make C++ happy
2016-04-20 22:21:31 +02:00
Witold Filipczyk
da15322705
Cast to (const char *) in strrchr calls
2016-04-20 21:03:27 +02:00
Witold Filipczyk
2e7a7a5ca3
Compilation fixes for C++
2016-04-20 20:57:09 +02:00
Witold Filipczyk
96e65c105f
Explicit cast in strstr for C++
2016-04-20 20:46:33 +02:00
Witold Filipczyk
5b2efc8976
Compilation fix for C++
2016-04-20 20:33:32 +02:00
Witold Filipczyk
1b06539694
Explicit cast to (const char *) in strcasestr for C++
2016-04-20 20:11:08 +02:00
Witold Filipczyk
52d6f37c8e
Explicit cast to (const char *) for strchr function (C++)
2016-04-20 19:43:37 +02:00
Witold Filipczyk
89387e3679
Compilation fix (C++)
2016-04-20 19:41:12 +02:00
Witold Filipczyk
8cf00fa61c
delete -> delete_ for C++ compatibility
2016-04-20 18:57:32 +02:00
Witold Filipczyk
67673f5fe5
new -> new_ for C++ compatibility
2016-04-20 18:42:22 +02:00
Witold Filipczyk
f4981bb553
class -> class_ for C++ compatibility
2016-04-20 18:18:27 +02:00
Witold Filipczyk
2e721e051a
template -> template_ for C++ compatibility
2016-04-20 18:05:00 +02:00
Fabienne Ducroquet
13f3da8416
Improve isolated combining characters handling
...
If there are isolated combining characters, e.g. at the beginning of a paragraph
or table cell:
– if it’s not the first screen column, combine them with whatever character is
printed to their left;
– otherwise, add a no-break space as the base character.
Previously, such combining characters were combined with the last letter
displayed, i.e. the last letter of the previous paragraph or cell.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:59:50 +02:00
Fabienne Ducroquet
a43ec1075c
Display combining characters at the end of the current string in set_hline
...
without waiting for the next non zero width character. This way combining
characters at the end of the document are displayed.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:58:54 +02:00
Fabienne Ducroquet
c1140f54c4
Compute correct number of cells with CONFIG_COMBINE
...
Otherwise, there are unnecessary spaces at the end of lines in tables containing
combining characters.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:41:53 +02:00
Fabienne Ducroquet
ec30a09a36
Bug 1139: Fix internal error: "bad split" with CONFIG_COMBINE
...
A combining character sequence where the base character is a space remained
recorded as a space although the initial space was replaced with an internal
code corresponding to the combined character. This caused an internal error when
ELinks tried to split the line at that place and did not find the space.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:41:49 +02:00
Fabienne Ducroquet
73b09749ac
Use the proxied URI to verify server certificates
...
Otherwise, the verification fails when using a HTTPS proxy because ELinks checks
whether the proxy matches the certificate.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2016-04-12 21:41:46 +02:00
Witold Filipczyk
4efea7e314
Added support for label_key in references of dumps.
...
Added base parameter to dec2qwerty and qwerty2dec to avoid strlen calls
im dumps.
2016-02-07 11:51:17 +01:00
Witold Filipczyk
69986f1bd1
Multiplication instead of pow calls and minor style changes.
2016-01-31 12:38:18 +01:00
Martin Miller
28b7bd1ec2
Transfer changes for ascii link labeling
2016-01-31 10:23:08 +01:00
Witold Filipczyk
aec900f2ae
Flush decompression with len = 0
...
This is required by code in encoding/brotli.c.
2016-01-16 13:03:54 +01:00
Kylie McClain
f4a58ba3b5
ssl: Make RAND_egd optional
...
Fixes compilation with LibreSSL.
2015-12-30 11:12:35 +01:00
Witold Filipczyk
6eba447e8a
Experimental brotli encoding support.
...
https://github.com/bagder/libbrotli
2015-10-12 23:18:23 +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
Witold Filipczyk
66fa83f7b5
deflate once again.
2015-08-22 19:28:50 +02:00
Witold Filipczyk
b4adf0d70d
Prefer gzip.
2015-08-22 11:22:58 +02:00
Witold Filipczyk
e015e2be21
-VERS-SSL3.0 in gnutls to avoid SSL error.
2015-07-01 16:23:19 +02:00
Witold Filipczyk
3688bb9c61
auto-completion reads not only the first character, but also the next ones.
...
This behaviour is similar to other browsers.
2015-05-12 16:12:56 +02:00
Witold Filipczyk
c84dfd7e18
mem_free_if where aplicable. Initialised memory in encoding/*
2015-05-10 17:27:55 +02:00
Witold Filipczyk
ca4d770c0b
Revert "Apply styles of html element for body element."
...
This reverts commit 5f9b54f594
.
2015-05-09 22:11:13 +02:00
Witold Filipczyk
03c4eec1d4
Unitialised variable found by valgrind.
2015-05-09 21:27:12 +02:00
Witold Filipczyk
f778e66d88
Changes to let it build with bison-3.0.
2015-02-25 21:16:09 +01:00
Witold Filipczyk
46767f6bf0
Introduced the document.browse.show_refresh_link option.
...
Whether to show Refresh: link line. Default 1.
2015-01-02 14:53:18 +01:00
Witold Filipczyk
06f0dff43f
expert is also proper suffix.
2015-01-02 13:53:10 +01:00
Witold Filipczyk
bdfb3ec754
bug 1145: The freecode.com successor has the URL "freecode.club" but "club"
...
is not recognized as a TLD. Patch by Dr. Markus Waldeck
2014-09-22 21:47:53 +02:00
Witold Filipczyk
7453b03279
deflate switched on again.
...
askubuntu.com uses deflate compression.
2014-09-01 12:50:23 +02:00
Witold Filipczyk
e7ebfa06c3
deflate is broken.
2014-09-01 12:19:49 +02:00
Bin Guo
7553d321a1
Fixed problem of converting more thant 256 chars.
2014-06-26 21:21:59 +02:00
Aaro Koskinen
e6c0f0a253
configure.in: use PKG_CONFIG
...
Don't hardcode pkg-config, this will make cross-compilation easier.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
2014-03-08 14:15:07 +01:00
Fabienne Ducroquet
3379fc988c
Respect alphabetical order for the actions
...
I didn’t respect the right order when I added the functions to move up and down
by half a page a few years ago.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2013-12-18 16:38:57 +01:00
Fabienne Ducroquet
5a34763b39
elinks.conf.5, elinkskeys.5: Document undocumented features
...
I should have done that when I added them, mea culpa.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2013-12-18 15:33:27 +01:00
Fabienne Ducroquet
60a5fce0f0
Add a function to put the current line at the top of the screen
...
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2013-12-18 10:01:34 +01:00
Witold Filipczyk
40fdc14012
30 instead of 10. Python tutorial looks better.
2013-12-16 17:04:59 +01:00
Kamil Dudka
a375110703
configure.in: add a missing AC_LANG_PROGRAM macro
...
... around the first argument of AC_COMPILE_IFELSE in order to eliminate
warnings with autoconf 2.68.
2013-09-18 15:35:11 +02:00
Fabienne Ducroquet
b2bc6f5049
Add support for the CSS list-style-type property
...
Use the same functions as for the list-style property since only the "type" part
of the list-style property is supported at this stage.
Signed-off-by: Fabienne Ducroquet <fabiduc@gmail.com>
2013-09-07 10:52:01 +02:00