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

403 Commits

Author SHA1 Message Date
Witold Filipczyk
857c819da1 [iframe] next|prev frame when there is no link current doc_view 2021-08-02 20:08:45 +02:00
Witold Filipczyk
f77206f369 [iframe] Check whether link was changed 2021-08-02 20:08:11 +02:00
Witold Filipczyk
9bf5494d10 [iframes] Draw frame around iframe. 2021-07-31 14:48:13 +02:00
Witold Filipczyk
a3ebbc9f02 [iframe] Fix issue with cursor position 2021-07-30 16:44:36 +02:00
Witold Filipczyk
a945d47584 [iframes] No progress today 2021-07-28 21:22:47 +02:00
Witold Filipczyk
734028277c [iframe] Small progress. 2021-07-26 21:28:19 +02:00
Witold Filipczyk
62a08231ca [dump] Fix for hr. Refs #106 2021-03-17 14:56:12 +01:00
sgerwk
d894f563d0 optionally, going back from initial page closes tab or elinks 2021-03-13 13:07:30 +01:00
Witold Filipczyk
f351fbcf6a [dump] Experiment with pre_format_hook in dump. Refs #103 2021-03-07 22:07:34 +01:00
sgerwk
bd83c3e69e alert when moving to the next match of a failed search 2021-03-03 09:33:21 +01:00
sgerwk
59d682644f fix error message when no previous search was performed 2021-03-03 09:13:11 +01:00
Witold Filipczyk
89a5f106ef [search] Check NULL. Refs #99 2021-02-28 16:44:17 +01:00
Witold Filipczyk
acbcfd2eba [char] More casts to unsigned char 2021-02-27 09:51:23 +01:00
Witold Filipczyk
dfbd75c958 [select] off by two. Refs #88
Also changed a bit utf8_to_unicode.
2021-01-17 21:56:40 +01:00
Witold Filipczyk
0fea79cc8f [cflags] Removed -Wno-pointer-sign
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
08da1d87eb [search] set searched word in setup_session. Refs #76 2020-11-04 17:26:46 +01:00
Witold Filipczyk
0989068e5c [search] Set current_search_number to -1. Refs #76 2020-11-01 14:57:25 +01:00
Witold Filipczyk
073a4374ff [search] Repeat searching, when pressing 'n'. Refs #76
On new page number_of_search_points is 0, so do search in such case,
when user pressed 'n'.
2020-10-31 22:47:17 +01:00
Witold Filipczyk
d1ecd45828 [mozjs52] It compiles, but often segfaults. No idea yet how to fix it. 2020-10-27 14:53:24 +01:00
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
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
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
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
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
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
e94a912f1e [style] spaces -> tab 2020-06-05 18:07:45 +02:00
sgerwk
76a973e902 show an alert when the search string is not found 2020-06-05 14:13:37 +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
sgerwk
d1be5c322f add -remote 'search(string)' 2020-04-25 19:55:16 +02:00
Witold Filipczyk
51dd9e7e6e [color] Revert changes related to leading and trailing spaces and colours
It did not look good.
2019-11-21 21:01:49 +01:00
Witold Filipczyk
3d96b0d7d7 Revert "Compile with C++."
This reverts commit 4f4df33638.
2019-04-21 12:27:40 +02: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
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
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
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