1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-30 01:55:30 +00:00
Commit Graph

3122 Commits

Author SHA1 Message Date
Witold Filipczyk
1f57e72212 [mozjs24] Allow build elinks with g++
SpiderMonkey was updated to mozjs24. If you want to build elinks
with ecmascript support, you must compile using g++ with -fpermissive .
There is a lot of warnings.
There are some memleaks in ecmascript code, especially related to JSAutoCompartment.
I don't know yet, where and how to free it.

Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
2020-10-05 20:14:55 +02:00
Witold Filipczyk
2d80e93146 [uri] Check for null. Closes #72 2020-09-29 11:59:11 +02:00
sgerwk
526b0d0ff9 use appropriate functions for string allocation and concatenation 2020-09-29 11:36:36 +02:00
sgerwk
90a141be2b meaningful default save name for data: uri content 2020-09-28 20:10:55 +02:00
sgerwk
794e0078e7 do not truncate a data: uri already shorter than 40 chars 2020-09-27 19:31:14 +02:00
sgerwk
ae38be0fe0 use sizeof instead of strlen for two constant strings 2020-09-27 00:40:07 +02:00
sgerwk
516cee7706 truncate data: uri passed to the external viewer 2020-09-26 20:12:44 +02:00
Witold Filipczyk
c8acb75bcd [pre] Wrap text in pre (SHIFT-w by default). Refs #69 2020-09-19 21:48:53 +02:00
Witold Filipczyk
b7b0b28ea8 [data] Moved comment to more appropriate place. 2020-09-19 19:40:38 +02:00
Witold Filipczyk
267948b2e8 [data] Premature optimisation. One memacpy less for base64 encoded data. 2020-09-19 19:30:47 +02:00
sgerwk
70b8e214a9 do not display downloads of protocol "data:" 2020-09-19 10:11:09 +02:00
Witold Filipczyk
fefe69f9a5 [uri] For data protocol datalen might be bigger than 65356 bytes. Refs #67 2020-09-18 21:58:28 +02:00
Witold Filipczyk
3590191086 [search] Take into account vertical_overlap in vertical_scrolling to found text. Refs #68 2020-09-18 20:21:37 +02:00
Witold Filipczyk
5ad989ad43 [search] Do not scroll horizontally, when searched text is visible on screen. Refs #68 2020-09-18 10:23:00 +02:00
Witold Filipczyk
881bb98127 [meson] elinks installable 2020-09-17 18:39:53 +02:00
Witold Filipczyk
23b346d353 [base64] This if is not needed 2020-09-15 21:22:41 +02:00
Witold Filipczyk
d731d5901d [data] Small rewrite. 2020-09-15 08:32:49 +02:00
Witold Filipczyk
3d78cd1264 [data] base64 decoded not encoded. Refs #67 2020-09-14 23:01:03 +02:00
sgerwk
d6ccb1813b update the "What to do?" dialog to the new format with %f for the file 2020-09-13 17:23:51 +02:00
Witold Filipczyk
5dc8c56b2d [meson] Fixed bittorrent build 2020-09-13 16:12:57 +02:00
Witold Filipczyk
62419b1054 [ctrl_z] Added code links-based for ctrl-z and fg. Refs #65 2020-09-09 18:08:17 +02:00
Witold Filipczyk
08e3107243 [meson] Do not hardcode path luajit 2020-09-06 11:30:57 +02:00
Witold Filipczyk
5f87bdbcb2 [meson] meson build scripts.
Not finished yet, but I added to motivate myself and others.
The goal is to get a few seconds faster builds.

autotools still will be available.
2020-09-05 22:06:01 +02:00
Witold Filipczyk
f2557c9885 [python] Compilation warning 2020-08-09 19:50:19 +02:00
Witold Filipczyk
3e85e37909 [intl] width.c compilable only with CONFIG_UTF8 2020-08-09 19:46:50 +02:00
Witold Filipczyk
8b8f57ed75 [python] If page encoding is not "utf-8", encode it twice in pre_format_html_hook.
Once to utf-8 before pre_format_html_hook, and second time to the original encoding after python
script execution. I know it is inefficient, but computers are quite fast nowadays.
2020-08-09 17:45:22 +02:00
Witold Filipczyk
bec41b6e2f [clip] Page down overlaps sometimes. 2020-08-04 19:22:31 +02:00
Witold Filipczyk
964530422a [clipboard] Allow to enter the clipboard mode only with cursor routing. Refs #59 2020-08-04 16:07:19 +02:00
Witold Filipczyk
ee38fea126 [unicode] Code to calculate cell widths of unicode characters taken from konsole. Refs #60 2020-08-03 23:16:43 +02:00
Witold Filipczyk
4bdf5fbbc4 [clipboard] Fixes 2020-08-03 18:56:26 +02:00
Witold Filipczyk
effb18d31f [clipboard] Allow to change rectangle in both directions 2020-08-03 18:27:25 +02:00
Witold Filipczyk
ed93225510 [draw] Refresh all page, when clipboard buffer is drawn. 2020-08-03 17:22:21 +02:00
Felix Janda
f88e7c6081 Fix compilation with gcc-10
Fixes the errors

x86_64-pc-linux-gnu-ld: hooks.o:(.bss+0x0): multiple definition of `erb_module'; core.o:(.bss+0x0): first defined here
x86_64-pc-linux-gnu-ld: ruby.o:(.bss+0x0): multiple definition of `erb_module'; core.o:(.bss+0x0): first defined here

Bug: https://bugs.gentoo.org/730658
2020-08-02 17:42:47 -04:00
Witold Filipczyk
53002765c4 [clipboard] Off by one. 2020-08-02 16:24:00 +02:00
Witold Filipczyk
9fd79ec508 [clipboard] Show last line 2020-08-02 16:20:08 +02:00
Witold Filipczyk
b6ec0c64d5 [clipboard] Fixes. 2020-08-02 15:41:35 +02:00
Witold Filipczyk
6a960a9fb9 [viewer] New action mark-clipboard. Refs #10
Possibility to mark rectangle for clipboard.
User may bind keys to move-cursor-up, move-cursor-down, move-cursor-left,
move-cursor-right and mark-clipboard.
mark-clipboard is tristate.
First triggerred, it remembers left top corner of rectangle. Now you can move cursor.
Second time triggerred, remembers right bottom corner of rectangle.
Third time, it clears selection.

The copy-clipboard action was changed. Now if the clipboard rectangle is marked,
it copies this rectangle. If not, the current link.
2020-08-01 23:25:21 +02:00
Witold Filipczyk
79560c3206 [options] Changed text for ui.clipboard_file 2020-07-31 14:43:36 +02:00
Witold Filipczyk
e572578765 [clipboard] Without HAVE_ACCESS this fragment does not make sense. 2020-07-31 14:28:34 +02:00
Witold Filipczyk
911155a862 [clipboard] Added "ui.clipboard_file" to add text to the system clipboard.
ui.clipboard_file is filename of the clipboard file. This file can be a named pipe.
See contrib/clipboard/clip.sh how to set up copying to clipboard using socat and xclip.
Just run clip.sh (it will be running in a loop) before starting elinks and
set ui.clipboard_file = "~/.elinks/clipboard.fifo".
2020-07-27 22:38:54 +02:00
sgerwk
153ea907a8 also pass the uri as %u to external handlers 2020-07-25 13:29:47 +02:00
Witold Filipczyk
ed8818f4a1 [options] latin1_title is bool. 2020-07-05 12:21:22 +02:00
rkd77
e885341db1
Merge pull request #55 from guidocella/st
[config] Recognize st
2020-07-05 11:56:52 +02:00
Guido Cella
06df96c5db [config] Recognize st 2020-07-05 09:21:24 +02:00
Guido Cella
0d8d834af3 [rewrite] Update prefixes 2020-07-05 05:58:25 +02:00
Witold Filipczyk
bde596ab67 [cgi] Proper format on 32bit 2020-07-04 13:44:41 +02:00
Witold Filipczyk
397353a4dc [gnutls] connection.ssl.https_by_default also for gnutls 2020-07-04 13:35:29 +02:00
Guido Cella
a26c5956f4 [ssl] Let requests default to https 2020-06-25 10:40:59 +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