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
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
a0d136051d
[meson] build api using doxygen
2020-09-23 18:05:08 +02:00
Witold Filipczyk
76fe703cba
[meson] Build manual.html-chunked
2020-09-23 17:31:57 +02:00
Witold Filipczyk
ea35e1f3e6
[meson] build man pages
2020-09-23 17:23:06 +02:00
Witold Filipczyk
211f79807e
[meson] build manual.pdf
2020-09-22 19:54:22 +02:00
Witold Filipczyk
cbbd6e5bd2
[meson] html target in doc
2020-09-21 21:54:35 +02:00
Witold Filipczyk
0f59f669ac
[meson] doc/perl.html and doc/perl-hooks.html custom targets
2020-09-21 17:57:40 +02:00