1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-28 01:35:32 +00:00
Commit Graph

4700 Commits

Author SHA1 Message Date
Witold Filipczyk
00f3f224d1 [implementation] Standard document 2021-09-15 19:29:31 +02:00
Witold Filipczyk
387a2836f1 [ecmascript] domimplementation 2021-09-15 16:22:36 +02:00
Witold Filipczyk
42a3815bfd [element] cloneNode 2021-09-15 15:22:10 +02:00
Witold Filipczyk
4cf55496a1 [element] appendChild returns appended element 2021-09-14 17:08:49 +02:00
Witold Filipczyk
6b0fe3ec23 [document] createDocumentFragment 2021-09-14 17:03:01 +02:00
Witold Filipczyk
ed83097130 [element] added removeChild 2021-09-14 15:58:19 +02:00
Witold Filipczyk
186146f169 [spidermonkey] window.self returns true 2021-09-13 13:45:54 +02:00
Witold Filipczyk
fad6b38091 [ecmascript] More debug 2021-09-12 19:38:32 +02:00
Witold Filipczyk
8f2ff7cd82 [document] discard_comb_x_y in reset_document 2021-09-11 19:36:03 +02:00
Witold Filipczyk
47e199ade9 [configure.ac] mozjs up to 78 2021-09-10 19:18:05 +02:00
Witold Filipczyk
336169f339 [location] location_goto_common 2021-09-09 12:30:00 +02:00
Witold Filipczyk
5f6ca9838f [xml] std::string -> xmlpp::ustring 2021-09-08 10:56:54 +02:00
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