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

4215 Commits

Author SHA1 Message Date
Witold Filipczyk
074c3251b5 [po] Translation update 2020-06-26 19:03:25 +02:00
rkd77
76df3571f2
Merge pull request #52 from guidocella/https-by-default
Let requests default to https
2020-06-25 18:40:22 +02:00
Guido Cella
a26c5956f4 [ssl] Let requests default to https 2020-06-25 10:40:59 +02:00
rkd77
9df1456045
Merge pull request #51 from sgerwk/master
do not enable mouse from keyboard initialization if mouse is disabled
2020-06-24 19:31:02 +02:00
sgerwk
85cb50c7e2 fix previous commit 2020-06-24 19:22:21 +02:00
sgerwk
0e820ad3cd do not enable mouse from keyboard initialization if mouse is disabled 2020-06-24 17:38:50 +02:00
Witold Filipczyk
e94a912f1e [style] spaces -> tab 2020-06-05 18:07:45 +02:00
rkd77
dd6b538c0c
Merge pull request #49 from sgerwk/master
show an alert when the search string is not found
2020-06-05 17:50:31 +02:00
sgerwk
76a973e902 show an alert when the search string is not found 2020-06-05 14:13:37 +02:00
Witold Filipczyk
e4b10df949 [configure.ac] --with-luapkg=name let user choose Lua version
For example:
--with-luapkg=luajit
or
--with-luapkg=lua5.2
etc.
If you do not want lua, omit this configure option or pass --with-luapkg=

Old --without-lua was removed.
2020-05-31 16:24:24 +02:00
Witold Filipczyk
1e54b8caf6 [NEWS] Info about 0.13.2 2020-05-31 15:13:18 +02:00
Witold Filipczyk
5007fd072c [po] update .po files 2020-05-28 20:40:01 +02:00
Witold Filipczyk
66c476a754 [mouse] Initialization of variable was not necessary. 2020-05-26 21:36:46 +02:00
Witold Filipczyk
8ba7176f81 [cookies] Slightly modified path.c 2020-05-26 20:47:31 +02:00
rkd77
61e7b3f0b1
Merge pull request #48 from sgerwk/master
config option for disabling the mouse
2020-05-26 08:13:36 +02:00
sgerwk
bb66fd3c37 config option for disabling the mouse 2020-05-26 00:29:57 +02:00
Witold Filipczyk
c56d11cfb9 [main] Fixed issue with scripting and fork_on_start 2020-05-22 21:52:36 +02:00
Witold Filipczyk
058c3f6d0a [configure.ac] Let build with lua52 or lua53 also. Refs #46
Preferred is lua51, but next are checked 53, and finally 52
2020-05-22 21:01:15 +02:00
Witold Filipczyk
b3ae1caf8b [lua] foreachi replaced by ipairs. Refs #46 2020-05-22 20:59:06 +02:00
Witold Filipczyk
9e71d7f3c8 [scripting] lua_rawlen. Refs #46 2020-05-22 20:46:35 +02:00
Witold Filipczyk
e20ed163cb [po] update 2020-05-21 20:42:38 +02:00
Witold Filipczyk
2dcac411a8 [sessions] New option ui.sessions.fork_on_start
Default value of this bool option is 0. Nothing changes in behaviour since 0.13.1.
If you set it to 1, one more process will be started. This main process will handle
only interlink connections, while other processes will be slaves to it.
This will allow to exit first started elinks session without breaking others.
2020-05-21 16:53:43 +02:00
Witold Filipczyk
033f15fe7b [session] Shorter 2020-05-20 20:38:39 +02:00
Witold Filipczyk
2273c4a370 [session] Because all terminals are slaves, choose first session for remote. 2020-05-20 19:05:58 +02:00
Witold Filipczyk
f89b26d5b2 [interlink] Fixed elinks -remote 'ping()' 2020-05-20 18:35:40 +02:00
Witold Filipczyk
83706c49ba [configure.ac] Do not show warnings related to gettext for gcc-10
It is not a good idea, but warnings also look ugly.
2020-05-18 21:49:58 +02:00
Witold Filipczyk
6a581dd044 [cofigure.ac] gcc-9 on Raspbian 2020-05-17 18:53:57 +02:00
Witold Filipczyk
08138487a0 [interlink] Test commit. All terminals - slaves.
Before when master terminal quit session, all slave terminal stopped to work.
There is a workaround. ELinks on master terminal forks on start and becomes slave.
2020-05-17 16:35:58 +02:00
Witold Filipczyk
0c794c2200 [po] More specific 2020-05-16 20:56:17 +02:00
Witold Filipczyk
3a6a60e3ec [po] updated translations files 2020-05-16 20:26:13 +02:00
Witold Filipczyk
ca71978c81 [config] Shorter summary 2020-05-13 21:10:16 +02:00
Witold Filipczyk
60f6c35a2c [config] Config option "ui.tostop" . Refs #45
ui.tostop decides whether to stop background processes trying to write
to the terminal. Default enabled.
2020-05-13 20:51:37 +02:00
Witold Filipczyk
df3a79bed5 Revert "[terminal] Try to fix #45 as suggested by Debian user"
This reverts commit a3e84e27c7.
2020-05-13 20:33:00 +02:00
Witold Filipczyk
16bb37b84f [cookies] Missing file 2020-05-10 21:49:39 +02:00
Witold Filipczyk
a3e84e27c7 [terminal] Try to fix #45 as suggested by Debian user 2020-05-10 16:11:52 +02:00
Witold Filipczyk
8c377a083d [cookies] Check cookie path according to RFC 6265. Added test 2020-05-10 15:52:33 +02:00
rkd77
3ea14631bb
Merge pull request #44 from aelmahmoudy/cookie-path
cookies: Properly handle cookie path= equal to request path
2020-05-10 14:56:17 +02:00
Ian Jackson
9bb3415811 cookies: Properly handle cookie path= equal to request path
The code in cookies.c would arrange that c->path would always contain
a string ending in "/".  This may have been an attempt to make it
easier to do a proper subpath check in is_path_prefix.

Howver, the overall result is wrong in the case
   Set-Cookie: ....;path=/some/thing
and then later
   http://site.example.com/some/thing

c->path gets set to "/some/thing/" which doesn't pass the test in
is_path_prefix.

The precise required algorithm is described in RFC6265 5.1.4.  The
existing code fails to implement the first of the three bulleted
conditions at the end of 5.1.4.

The trailing "/" is actually not so helpful for this.  It is more
convenient to change is_path_prefix to do subpath matching directly:
we change it to insist that the supposed path prefix is a textual
prefix of the request path, *and* that this happens at a path segment
boundary: ie at '/' or end of string.[1]

Accordingly, we no longer add "/" to the cookie path.  When we strip
the final path element we strip the "/" too.  We still insert a "/" if
the path was empty.

[1] It is not 100% clear to me what "path" (URI_PATH) is but I think
it does not include any query parameters.  If I am wrong about that
then '?' should be tolerated too.

CC: Mark Wooding <mdw@distorted.org.uk>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
2020-05-09 14:33:45 +02:00
Witold Filipczyk
eb46577ccb [options] Added remote's reload and search to elinks --long-help 2020-05-06 20:32:19 +02:00
Witold Filipczyk
d857560466 [ipv6] this code was not tested 2020-05-05 21:48:22 +02:00
Witold Filipczyk
5188b8ab84 [network] -bind-address-ipv6 <ipv6> to bind to IPv6 address 2020-05-05 21:39:54 +02:00
Witold Filipczyk
35e32f5acb [network] -bind-address <ipv4> cmdline option to bind to given IP address 2020-05-05 21:18:29 +02:00
rkd77
08d200f42c
Merge pull request #43 from sgerwk/master
document the -remote search(string) function
2020-05-04 13:53:53 +02:00
sgerwk
5b88e3ac9c document the -remote search(string) function 2020-05-03 16:31:44 +02:00
Witold Filipczyk
5c57cf6270 [fragment] Do not move to the top, when nonexisting fragment is in current document. Refs #42
Behaviour similar to bigger browsers.
2020-04-28 19:13:36 +02:00
Witold Filipczyk
95466e73ed [remote] Slightly modified -remote search 2020-04-26 11:45:46 +02:00
rkd77
36fc784212
Merge pull request #41 from sgerwk/master
add -remote 'search(string)'
2020-04-26 11:32:40 +02:00
sgerwk
d1be5c322f add -remote 'search(string)' 2020-04-25 19:55:16 +02:00
rkd77
8f6b67a780
Merge pull request #40 from aelmahmoudy/debwatch
Update watch file
2020-02-05 21:51:28 +01:00
أحمد المحمودي (Ahmed El-Mahmoudy)
52d492abd3 Update watch file 2020-02-05 16:22:40 +01:00