1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

4325 Commits

Author SHA1 Message Date
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
Witold Filipczyk
3f8de99828 [pod2hml] podchecker reported some errors about hooks.pl 2020-09-20 22:20:27 +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
rkd77
01c232c4e1
Merge pull request #70 from sgerwk/master
do not display downloads of protocol "data:"
2020-09-19 11:14:29 +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