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

4343 Commits

Author SHA1 Message Date
sgerwk
e901b337f8 alert when moving to the next match of a failed search 2021-05-30 15:11:59 +02:00
sgerwk
9511d1cfeb fix error message when no previous search was performed 2021-05-30 15:11:28 +02:00
Witold Filipczyk
0a2b3a9be5 [search] Check NULL. Refs #99 2021-05-30 15:10:35 +02:00
Witold Filipczyk
d5e19583f5 [select] off by two. Refs #88
Also changed a bit utf8_to_unicode.
2021-05-30 15:08:57 +02:00
Witold Filipczyk
3fc5c204af [python] http/1.1 spec says that default codepage is ISO-8859-1. 2021-05-30 15:05:14 +02:00
Witold Filipczyk
5e9f38aa03 [configure.ac] Disable spidermonkey by default. Refs #85
If you want to build Spidermonkey support with autotools, you
must explicitly add --with-spidermonkey to ./configure invocation
and use C++ compiler as CC.
2021-05-30 15:04:16 +02:00
Witold Filipczyk
3bdf34ef3c [configure.ac] Show error message about libgcrypt-config. Refs #86 2021-05-30 15:03:22 +02:00
Witold Filipczyk
d976790a10 [NEWS] Info about 0.14.0 2020-12-27 14:59:40 +01:00
Witold Filipczyk
8f6ff41a62 [NEWS] Info about elinks-0.14.0rc2 2020-12-13 18:11:45 +01:00
Witold Filipczyk
ce4307c2d0 [ecmascript] File with prefixes is renamed to allow.txt. 2020-12-11 18:54:07 +01:00
Witold Filipczyk
867cc8a9c6 [ecmascript] move visited allowed url to the begining of list. 2020-12-11 18:51:53 +01:00
Witold Filipczyk
de793bbf73 [ecmascript] exception for empty list. Allow all urls. 2020-12-09 16:13:20 +01:00
Witold Filipczyk
471fe54053 [ecmascript] Explicit init and done function for ecmascript module. 2020-12-08 20:54:14 +01:00
Witold Filipczyk
f617256ecc [ecmascript] Allow ecmascript scripts only for given urls prefixes.
In ~/.elinks/allowed_ecmascript_url_prefixes.txt you must enter list
of urls. For example:
file://
https://buildlogs.pld-linux.org/
http://example

If url of document starts with one of given prefixes, then given url is
allowed to execute ecmascript. Start from most often used first.
2020-12-07 22:45:13 +01:00
Witold Filipczyk
672c5fce52 [NEWS] Info about 0.14.0rc1 2020-12-06 15:46:28 +01:00
Witold Filipczyk
08731a5403 [po] Updated po files 2020-12-06 15:13:37 +01:00
Witold Filipczyk
35f69b1214 [options] Removed "Default 1". 2020-12-06 15:05:25 +01:00
Witold Filipczyk
3db1abc5b7 [rename] felinks -> elinks 2020-12-01 21:36:39 +01:00
Witold Filipczyk
d4ccb07cf6 [spidermonkey] Delete ac2 (AutoCompartment) 2020-11-27 17:21:11 +01:00
Witold Filipczyk
a24cea2d87 [configure.ac] PKG_CONFIG_STATIC -> pkg_config_static 2020-11-24 19:36:29 +01:00
Witold Filipczyk
3e3721582e [ecmascript] Guard for builds without mozjs. Refs #81 2020-11-23 20:11:47 +01:00
Witold Filipczyk
37ae7a0db8 [spidermonkey] ReportError - removed code, which did not work well 2020-11-23 18:06:17 +01:00
Witold Filipczyk
a92df85c11 [spidermonkey] Changes in setTimeout.
Spidermonkey is "hardcoded" in ecmascript, but ecmascript script engine
is rarely being changed.
2020-11-22 16:42:23 +01:00
Witold Filipczyk
085a93d544 [spidermonkey] JS_PS_END 2020-11-21 17:54:47 +01:00
Witold Filipczyk
477e56eb43 [smjs] Maybe it is not correct, but spidermonkey and smjs work together. 2020-11-17 18:46:27 +01:00
Witold Filipczyk
873797935c [spidermonkey] Some code related to compartments. Progress. 2020-11-16 22:00:48 +01:00
Witold Filipczyk
b0ced9308b [spidermonkey] Some random changes. 2020-11-15 17:55:58 +01:00
Witold Filipczyk
6171e286bd [static] Added --with-static option 2020-11-09 22:04:48 +01:00
Witold Filipczyk
000b391c2d [brotli] used pkg-config for libbrotlidec
This will let build static binary with brotli.
2020-11-09 21:16:43 +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
44c1f77ba4 [search] Introduced "document.browse.search.reset". Refs #76
Default 1, old behaviour, but if you set it to 0,
you can search once, and view results everywhere.
2020-10-30 19:35:26 +01:00
Witold Filipczyk
434ce282ce [uri] Try to get frame uri with #fragment. Refs #75 2020-10-29 20:40:08 +01:00
Witold Filipczyk
ee5ec9c287 [dump] Removed silly debug statement. 2020-10-29 20:23:39 +01:00
Witold Filipczyk
d1f8248a0c [uri] pass to tab-external-command uri with #fragment . Refs #75 2020-10-29 19:21:14 +01:00
Witold Filipczyk
8ad7d68b28 [js] Small progress.
It segfaults less often, but still, especially on non utf-8 pages.
And sometimes it did not work.
2020-10-28 22:32:20 +01:00
Witold Filipczyk
aeeb5c69a2 [configure.ac] Added -fpermissive for SpiderMonkey
If you want to build with SpiderMonkey, you must compile by g++.
Current state is it segfaults often.
2020-10-27 15:05:31 +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
a5b68a25a1 [mozjs45] Code is unstable, but at least compiles. 2020-10-23 22:34:58 +02:00
Witold Filipczyk
01c511f52d [mozjs38] ELinks is compilable, was not heavily tested. 2020-10-16 19:54:02 +02:00
Witold Filipczyk
ca24054cc6 [mozjs31] scripting smjs
It was not heavily tested.
2020-10-12 18:55:48 +02:00
Witold Filipczyk
dd704b900a [mozjs31] SpiderMonkey updated to mozjs31. TODO: smjs scripting. 2020-10-11 15:42:59 +02: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
0c337dd30a [meson] Added elinks as the first dependency to make sure dependencies are not empty 2020-09-30 19:58:13 +02:00
Witold Filipczyk
2d80e93146 [uri] Check for null. Closes #72 2020-09-29 11:59:11 +02:00
rkd77
863c59a46c
Merge pull request #73 from sgerwk/master
meaningful default save name for data: uri content
2020-09-29 11:56:45 +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
rkd77
3dd17876a1
Merge pull request #71 from sgerwk/master
truncate data: uri passed to the external viewer
2020-09-27 19:34:15 +02:00