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

4688 Commits

Author SHA1 Message Date
Witold Filipczyk
aeb6e064f9 [js] std::string -> xmlpp::ustring 2021-09-08 10:53:12 +02:00
Witold Filipczyk
686e83afaa [js] getAttribute 2021-09-08 10:41:36 +02:00
Witold Filipczyk
5737a4d345 [console] console.error and fixes in jsval_to_string 2021-09-07 17:31:45 +02:00
Witold Filipczyk
b8ddbeef0f [spidermonkey] error_reporter with open_memstream 2021-09-06 20:57:00 +02:00
Witold Filipczyk
30d4eb36ff [smjs] Error Reporting with open_memstream 2021-09-06 20:36:10 +02:00
Witold Filipczyk
024f4f44b6 [smjs] Report errors to stderr 2021-09-06 19:46:09 +02:00
Witold Filipczyk
f692389917 [smjs] Compilation fixes. 2021-09-05 17:50:41 +02:00
Witold Filipczyk
3026d8f25e [unicode] Fix issue with negative value of cells. Refs #126
Bug appeared in 0.13.5.
2021-09-02 16:35:18 +02:00
Witold Filipczyk
c30c6fa6c2 Revert "[textarea] Do not allow fs->vpos to be negative. Refs #126"
This reverts commit a0eb60d4bc.
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
12bb1ebbfa [stracpy] Free memory allocated by jsval_to_string 2021-08-31 18:08:28 +02:00
Witold Filipczyk
b112650706 [mozjs] up to 78
It compiles.
2021-08-30 21:03:26 +02:00
Witold Filipczyk
7f572e7e4a [ecmascript] bump mozjs version to 68
Memory allocated in jsval_to_string is not freed anywhere.
2021-08-30 20:48:11 +02:00
Witold Filipczyk
d659fca9fc [spidermonkey] Changed jshandle_value_to_string 2021-08-30 14:14:51 +02:00
Witold Filipczyk
20bb653f04 [NEWS] info about 0.14.2 2021-08-29 14:53:36 +02:00
Witold Filipczyk
ab9474274d [NEWS] cosmetic changes 2021-08-28 17:15:39 +02:00
Witold Filipczyk
0f10ae6ddb [gopher] Also escape text in search and in links. Refs #125 2021-08-28 12:32:01 +02:00
Witold Filipczyk
1c005dc9c2 [gopher] XSS in gopher. Refs #125
add_to_string was replaced add_html_to_string.
2021-08-28 11:47:13 +02:00
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