1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

4670 Commits

Author SHA1 Message Date
Witold Filipczyk
47224921de [spidermonkey] jsval_to_string everywhere
Replace JS_EncodeString by jsval_to_string. It will allow easier
changes in the future. In smjs nullptr everywhere.
In ecmascript arrays don't work. For example
document.getElementsByTagName("H1")[0]

smjs even does not start.

Plan is to bump mozjs version, and later back to fixing bugs.
2021-08-27 19:46:05 +02:00
Witold Filipczyk
630696da59 [smjs] nullptr for ClassOps 2021-08-26 18:39:03 +02:00
Witold Filipczyk
34e878a0da [ecmascript] nullptr everywhere 2021-08-26 15:44:32 +02:00
Witold Filipczyk
b825f4abf1 [js] Start to adjust code for mozjs-60. 2021-08-25 20:08:02 +02:00
Witold Filipczyk
f211564a80 [element] setAttribute . Check if arguments are strings 2021-08-24 15:57:53 +02:00
Witold Filipczyk
206b36b6fe [window] setNull 2021-08-24 15:12:15 +02:00
Witold Filipczyk
0c53e6b59b [todo] github url 2021-08-24 13:53:21 +02:00
Witold Filipczyk
8856c60cad [bugs] github address 2021-08-24 10:39:32 +02:00
Witold Filipczyk
ccb75758b4 [dialogs] Make 9 / 10 ratio configurable at compile time.
DIALOG_WIDTH_RATIO and DIALOG_HEIGHT_RATIO in src/setup.h
2021-08-23 16:11:17 +02:00
Witold Filipczyk
a11328c354 [bookmarks] Pipe character instead of semicolon. 2021-08-22 16:20:59 +02:00
Witold Filipczyk
679c2d160b [bookmarks] Add Toggle display button
When toggled it shows also urls. It looks ugly.
2021-08-22 16:13:57 +02:00
Witold Filipczyk
6659cad7ab [spidermonkey] spidermonkey_check_if_function_name() 2021-08-21 11:30:09 +02:00
Witold Filipczyk
b459f64be8 [ecmascript] Check if function name is defined.
There must be some better way.
2021-08-20 16:08:51 +02:00
Witold Filipczyk
4121b163c1 [ecmascript] Added some debug statements 2021-08-19 18:56:50 +02:00
Witold Filipczyk
50089fb463 [meson] bump guile to 3.0 2021-08-18 19:24:55 +02:00
Witold Filipczyk
ee49c80061 [meson] ruby dependency: ruby not ruby-2.6
Also initialize error, because rb_load_protect, does not change it.
2021-08-17 16:09:05 +02:00
Witold Filipczyk
8154169711 [test] document_write2.html copied from w3schools 2021-08-16 21:56:33 +02:00
Witold Filipczyk
5389defa76 [gettext] Unused variable 2021-08-15 21:18:50 +02:00
Witold Filipczyk
4258e248d0 [gettext] Show info about gettext.
gettext (System) means gettext from the libc library.
gettext (ELinks) builtin from src/intl/gettext.
2021-08-15 17:52:54 +02:00
Witold Filipczyk
85f7e8c79b [xml] Removed space from source code. 2021-08-14 21:57:57 +02:00
Witold Filipczyk
7f85e0cd90 [gettext] setenv -> env_set 2021-08-13 18:34:37 +02:00
Witold Filipczyk
b2054e1846 [gettext] Unused variable. 2021-08-13 18:22:22 +02:00
Witold Filipczyk
8d50f9ce73 [gettext] Code similar to elinks code. 2021-08-13 18:19:58 +02:00
Witold Filipczyk
443cc69740 Revert "[colors] test commit"
This reverts commit 7992e39476.
2021-08-13 14:49:43 +02:00
Witold Filipczyk
6d2aed2e2e [colors] Change default text color to white (#ffffff). 2021-08-12 21:54:04 +02:00
Witold Filipczyk
7992e39476 [colors] test commit 2021-08-11 20:04:16 +02:00
Witold Filipczyk
b1317c3e46 [plain] one level of indentation less 2021-08-10 18:21:01 +02:00
Witold Filipczyk
d43028a0cf [plain] Optimisation 2021-08-10 17:38:42 +02:00
Witold Filipczyk
dd332080ce [plain] Another cases 2021-08-10 17:07:43 +02:00
Witold Filipczyk
ac0ecf5398 [plain] Missing TEE 2021-08-10 17:01:31 +02:00
Witold Filipczyk
62f7af1443 [plain] document.plain.fixup_tables
Option to draw nice-looking tables.
Examples:
mysql --pager=elinks
lxc ls | elinks
2021-08-10 16:44:53 +02:00
Witold Filipczyk
4a2a82b05d [gettext] Hardcode UTF-8 in language codes. 2021-08-09 16:27:32 +02:00
Witold Filipczyk
7f6156f2c5 [gettext] autotools part 2021-08-08 22:04:52 +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
86edf56482 [xml] Do not override headers if they did not change. 2021-08-07 20:50:36 +02:00
Witold Filipczyk
a5c6adb7db [xml] Do not override all headers
I have no better idea how to preserve headers and set utf-8.
2021-08-07 20:45:59 +02:00
Witold Filipczyk
f56b953d4b [dialogs] KEYMAP_MAX in function declaration. 2021-08-06 19:22:35 +02:00
Witold Filipczyk
56ec5c69dd [kbd] Compilation warning 2021-08-06 19:20:17 +02:00
Witold Filipczyk
365bacfa96 [session] Unused variables 2021-08-06 19:09:01 +02:00
Witold Filipczyk
4df9538c40 [iframe] Silent compiler 2021-08-06 19:06:47 +02:00
Witold Filipczyk
a5a243546c [plain] More ifdefs to silent compiler 2021-08-06 19:03:53 +02:00
Witold Filipczyk
418e74a51b [plain] Decode 256 colors sequences 2021-08-06 14:32:32 +02:00
Witold Filipczyk
b33e6cf520 [mailcap] Close also STDERR 2021-08-05 17:51:10 +02:00
Witold Filipczyk
0401fd58dc [plain] Decode 24 bit color sequences 2021-08-04 10:30:53 +02:00
Witold Filipczyk
13c4a1ce4d [spidermonkey] return location object
so document.location.href= redirects
2021-08-03 18:47:34 +02:00
Witold Filipczyk
99387a3104 [iframe] / at the end 2021-08-03 17:46:59 +02:00
Witold Filipczyk
f7f9448130 [iframe] Code is unfinished, but I'm merging it.
Maybe in the future someone improve it.
2021-08-03 17:41:25 +02:00
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
64d5a4f1dd [iframes] Small step forward.
Allow to scroll in iframe which is bigger than screen.
2021-08-01 19:56:02 +02:00