Witold Filipczyk
df9cb9dc5a
[forms] Try to JS_SetElement
2021-09-16 20:26:20 +02:00
Witold Filipczyk
c30c6fa6c2
Revert "[textarea] Do not allow fs->vpos to be negative. Refs #126 "
...
This reverts commit a0eb60d4bca7084b7ab666b3ef3526c1c95f3021.
2021-09-02 16:25:59 +02:00
Witold Filipczyk
a0eb60d4bc
[textarea] Do not allow fs->vpos to be negative. Refs #126
...
It is rather a workaround.
2021-09-01 19:56:47 +02:00
Witold Filipczyk
66305fcb50
[gettext] try system gettext. Refs #62
...
Now, only meson was changed.
-Dnls=true -Dgettext=true
2021-08-08 21:25:08 +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
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 4f4df33638deccd3ed1ce375d3b33da0c652bf86.
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
rkd77
be719e1ac1
Merge pull request #10 from aelmahmoudy/select_forms
...
Make select forms look more like other forms.
2017-11-22 12:02:06 +01:00