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

6715 Commits

Author SHA1 Message Date
Witold Filipczyk
6b5ed8fa51 [assert] URL.html 2024-04-29 16:17:22 +02:00
Witold Filipczyk
6f371d6002 [doctype] systemId.html 2024-04-28 16:19:32 +02:00
Witold Filipczyk
7f087ee615 [assert] element.setAttribute 2024-04-28 16:13:54 +02:00
Witold Filipczyk
960586056c [assert] doctype.publicId 2024-04-28 16:06:53 +02:00
Witold Filipczyk
06822e11fc [assert] element.previousSibling 2024-04-28 16:03:00 +02:00
Witold Filipczyk
38fbd53795 [assert] element.previousElementSibling 2024-04-28 15:59:52 +02:00
Witold Filipczyk
62562daf19 [assert] element.parentNode 2024-04-28 15:54:49 +02:00
Witold Filipczyk
6bcd06ce38 [assert] element.parentElement 2024-04-28 15:51:48 +02:00
Witold Filipczyk
fbec5b7c64 [assert] element.nodeValue 2024-04-28 15:47:30 +02:00
Witold Filipczyk
4ea40aeb81 [assert] element.nodeType 2024-04-28 15:43:41 +02:00
Witold Filipczyk
41069ca172 [assert] element.nodeName 2024-04-28 15:40:38 +02:00
Witold Filipczyk
9d599dcafb [assert] element.nextSibling 2024-04-28 15:37:02 +02:00
Witold Filipczyk
d18b5e3730 [assert] element.nextElementSibling 2024-04-28 15:33:30 +02:00
Witold Filipczyk
9ad12aacfb [assert] navigator.appCodeName 2024-04-28 15:29:17 +02:00
Witold Filipczyk
a29d21d4bc [po] Accel 2024-04-27 20:12:43 +02:00
Witold Filipczyk
1c9c30ad75 [types] %ld is for long 2024-04-26 22:41:39 +02:00
Witold Filipczyk
110cdef5c2 [anonymous] about:config was available in anonymous mode 2024-04-25 17:29:39 +02:00
Witold Filipczyk
23c5c8b866 [status] Boolean option ui.show_mem
Display available memory from /proc/meminfo.
2024-04-25 16:44:39 +02:00
Witold Filipczyk
0f1e056875 [options] Minor optimisation. Store value of "test" option in variable 2024-04-23 16:07:35 +02:00
Witold Filipczyk
af20c0e7e8 [css] execute old css code, when libcss is disabled, but compiled-in 2024-04-22 20:59:30 +02:00
Witold Filipczyk
d86ce27523 [css] Add to the end of list. Refs #301
It needs more testing.
2024-04-20 20:06:45 +02:00
Witold Filipczyk
9c464a0348 [meson] Check for setlocale and LC_MESSAGES 2024-04-19 18:26:07 +02:00
Witold Filipczyk
be622c69ea [meson] CONFIG_NO_ROOT -> CONFIG_NO_ROOT_EXEC 2024-04-19 18:12:31 +02:00
Witold Filipczyk
5f68d5f9ff [meson] Check for _SC_PAGE_SIZE 2024-04-19 17:54:14 +02:00
Witold Filipczyk
6f54c89ab4 [meson] More functions check 2024-04-19 17:32:38 +02:00
Witold Filipczyk
4be6057d95 [meson] More header checks 2024-04-19 16:47:55 +02:00
Witold Filipczyk
7ab0764209 [meson] Removed unused defines from config2.h.in 2024-04-19 11:59:10 +02:00
Witold Filipczyk
e057eb6027 [meson] Removed unused defines for SpiderMonkey 2024-04-19 11:21:07 +02:00
Witold Filipczyk
fea80fad69 [meson] HAVE_GETPAGESIZE nou used 2024-04-19 11:17:40 +02:00
Witold Filipczyk
397294bb28 [meson] check getgid and getegid 2024-04-19 11:14:18 +02:00
Witold Filipczyk
8e6a480afd [meson] HAVE_GETCWD was not checked 2024-04-19 11:04:19 +02:00
Witold Filipczyk
d779622971 [meson] expat.h was not checked 2024-04-19 11:01:43 +02:00
Witold Filipczyk
6d35c7c004 [meson] HAVE_NL_TYPES_H not used 2024-04-19 10:49:11 +02:00
Witold Filipczyk
d68224c862 [configure.ac] Do not check limits.h and locale.h
Not used.
2024-04-19 10:48:11 +02:00
Witold Filipczyk
e136d663c9 [idn2] This else does not make sense 2024-04-18 20:33:52 +02:00
Witold Filipczyk
ac7292ef82 [idn] one variable less 2024-04-18 19:31:48 +02:00
Witold Filipczyk
4d7e94c5e4 [idn2] Warnings when built with -Didn=false . Spotted by jon 2024-04-18 19:08:23 +02:00
Witold Filipczyk
cdf02f5e0c [libcss] Removed unused function 2024-04-18 17:12:27 +02:00
Witold Filipczyk
9ee4ebfa46 [bfu] clang's warning 2024-04-18 17:09:11 +02:00
Witold Filipczyk
77addf7277 [scripting] silence warning 2024-04-18 09:15:10 +02:00
Witold Filipczyk
ebe3672e10 [select] unused function 2024-04-18 08:57:52 +02:00
Witold Filipczyk
324bd02aa9 [encoding] compilation fix (unsigned int bitfields) 2024-04-18 08:51:56 +02:00
Witold Filipczyk
49ef584853 [meson] Check header execinfo.h 2024-04-17 15:53:08 +02:00
Witold Filipczyk
98e82717ea [curl] Option protocol.ftp.curl_tls13_ciphers
ciphers for ftpes.
2024-04-16 12:41:18 +02:00
Witold Filipczyk
f17f2d75ad [curl] option protocol.https.curl_tls13_ciphers
It is a colon separated list of ciphers. Mainly for testing.
See https://curl.se/docs/ssl-ciphers.html
2024-04-16 12:30:56 +02:00
Witold Filipczyk
141ad11ad5 [curl] Added bandwith limit for ftp and http.
protocol.ftp.curl_max_recv_speed
protocol.ftp.curl_max_send_speed
protocol.http.curl_max_recv_speed
protocol.http.curl_max_send_speed

Unit is byte per second. 0 - unlimited.
2024-04-15 19:52:23 +02:00
Witold Filipczyk
ea9d93d44b [test] Make compilable test mailcap-cache. Refs #298 2024-04-15 08:34:08 +02:00
Witold Filipczyk
26815e829a Merge branch 'assert' 2024-04-13 13:56:54 +02:00
rkd77
9ae8dd786b
Merge pull request #297 from smemsh/nowait-connect
remove 300ms startup delay and optimize fork_on_start
2024-04-13 13:52:43 +02:00
Scott Mcdermott
3d1f020a3b [interlink] speed up first elinks, and use pipe trigger for fork_on_start
When the first elinks session starts (whether fork_on_start or not), it
tries to connect on AF_UNIX socket, to see if an existing master is
present.  The current code implements a retry loop with linear-increase
retry backoff, 50ms *= attempts, with 3 attempts, total delay 300ms,
before concluding master is not present.

After forking for fork_on_start, we do have to wait for the new master
to finish setup, so we can connect to it.  This is the case where retry
loop might be useful.  However in fork_on_start=0 case, there should be
no reason to ever wait: if we get ECONNREFUSED or ENOENT, the master
simply is not there, we can go on about our business as the master.

With fork_on_start=1 however, we will race with the child (that will
become the new master), which has to complete its socket/bind/listen
sequence.  Therefore we typically have to wait another 50ms (first
attempt delay), for a total of 350ms delay.

In both cases, there does not seem to be a purpose to the initial
connection attempt retry.  Conclusion after connect() failure should be
authoritative: there is no master.  We do not race with anyone.

If we have done fork_on_start and have to wait, we can instead open a
pipe before forking, and wait for the "new" master (its child) to send
us a byte over the pipe.  Thus, we do not need to poll, but can simply
block until we get the trigger, to indicate that AF_UNIX socket setup
has completed.

This speeds up the first start of elinks by 300ms for fork_on_start=0,
and between 300-350ms for fork_on_start=1 (or possibly more, if the
machine is loaded and child did not finish AF_UNIX setup in first 50ms).
2024-04-12 22:51:01 -07:00