1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-28 03:06:20 -04:00
Commit Graph

329 Commits

Author SHA1 Message Date
Witold Filipczyk
51ce47a84c [smjs] enable keymap_finalize 2022-06-25 16:44:33 +02:00
Witold Filipczyk
ee6d24b66d [smjs] const 2022-06-20 16:27:30 +02:00
Witold Filipczyk
1ee99c9aef [smjs] enable finalizers 2022-06-20 16:23:37 +02:00
Witold Filipczyk
4f1bfed9b8 Revert "[smjs] Removed unused code"
This reverts commit 453d1fd456.
2022-06-20 16:22:05 +02:00
Witold Filipczyk
453d1fd456 [smjs] Removed unused code 2022-06-20 16:13:59 +02:00
Witold Filipczyk
d01f343671 [smjs] Removed unused functions 2022-06-20 16:09:07 +02:00
Witold Filipczyk
ff4204f859 [smjs] Removed unused code, enable terminal_finalize 2022-06-20 16:06:13 +02:00
Witold Filipczyk
2337dd810d [smjs] Avoid segfault is view_state_object, at least in debug mode. 2022-06-19 21:39:47 +02:00
Witold Filipczyk
f72f2ae60a [smjs] minor optimisation: one strlen less 2022-06-18 22:00:49 +02:00
Witold Filipczyk
21cf493377 [smjs] I did not test it, but suppose that JS_GetStringLength is faster than strlen. 2022-06-18 21:11:53 +02:00
Witold Filipczyk
50b1406cf0 [smjs] Fix double encoding to utf-8 2022-06-17 19:26:18 +02:00
Witold Filipczyk
3af789e9e6 [smjs] More compilation fixes. Mainly casts. Refs #176 2022-06-17 15:55:05 +02:00
Witold Filipczyk
93274872c9 [python] convert_string instead of iconv 2022-06-06 16:23:15 +02:00
Witold Filipczyk
5f79ce09eb [guile] Drop not used variable 2022-02-26 17:53:20 +01:00
Witold Filipczyk
6d95271e9f [guile] some casts 2022-02-26 17:48:17 +01:00
Witold Filipczyk
5f4191be4f [ruby] casts 2022-02-21 20:25:29 +01:00
Witold Filipczyk
b0e93a9eab [intl] const in get_cp_config_name 2022-02-18 15:39:59 +01:00
Witold Filipczyk
192cb6f380 [ruby] const 2022-01-30 19:43:11 +01:00
Witold Filipczyk
53afb21279 [ruby] const in erb_protected_method_call 2022-01-30 19:36:06 +01:00
Witold Filipczyk
06a2c8a167 [ruby] const in alert_ruby_error 2022-01-30 19:27:23 +01:00
Witold Filipczyk
0dd77a5d33 [python] static char[] 2022-01-30 19:23:07 +01:00
Witold Filipczyk
cba95b2b30 [event] union for const/non-const void * 2022-01-30 19:19:20 +01:00
Witold Filipczyk
feac3151f3 [perl] static char[] 2022-01-30 18:56:18 +01:00
Witold Filipczyk
f56e4f09f3 [python] static char[] 2022-01-30 18:48:53 +01:00
Witold Filipczyk
21f0b54eb3 [scripting] cosnt in report_scripting_error 2022-01-30 18:32:02 +01:00
Witold Filipczyk
2e32d1c7e1 [lua] lang const 2022-01-30 17:36:30 +01:00
Witold Filipczyk
acae461bf8 [lua] more const 2022-01-30 17:34:36 +01:00
Witold Filipczyk
b5c4addbbe [lua] do_hooks_file const 2022-01-30 15:55:54 +01:00
Witold Filipczyk
e44f1f6490 [lua] const in alert_lua_error 2022-01-30 15:39:26 +01:00
Witold Filipczyk
c130f96452 [python] another way to avoid warnings 2022-01-29 12:21:13 +01:00
Witold Filipczyk
386a0f956f [python] compilation fixes 2022-01-29 12:08:30 +01:00
Witold Filipczyk
89952dfec4 [lua] cast 2022-01-29 11:18:56 +01:00
Witold Filipczyk
ee6e9caa6a [kbd] enum keymap_id -> keymap_id_T 2022-01-28 14:20:06 +01:00
Witold Filipczyk
53a860a3d6 [strchr] casting first parameter to const char * was not a good idea 2022-01-18 20:30:48 +01:00
Witold Filipczyk
b914dddeee [mem_alloc] oversight 2022-01-16 21:17:36 +01:00
Witold Filipczyk
881f896e85 [mem_calloc] Cast 2022-01-16 21:08:50 +01:00
Witold Filipczyk
be8a030fa7 [mem_realloc] cast return value 2022-01-16 19:38:30 +01:00
Witold Filipczyk
20c161559c [mem_alloc] cast return value 2022-01-16 19:09:27 +01:00
Witold Filipczyk
1e365c9798 [ruby] #undef _GNU_SOURCE (warnings) 2022-01-15 17:56:00 +01:00
Witold Filipczyk
0e8ee7876a [uri] 0 -> URI_NONE in get_uri to decrease number of warnings 2022-01-14 20:52:17 +01:00
Witold Filipczyk
350c6a2cf0 [guile] version 2022-01-08 18:08:12 +01:00
Witold Filipczyk
15d97cae07 [ruby] Show version 2022-01-07 18:59:22 +01:00
Witold Filipczyk
8efb3b8a76 [python] Show Python version 2022-01-07 18:43:21 +01:00
Witold Filipczyk
d302b29d22 [perl] Show version 2022-01-07 18:35:15 +01:00
Witold Filipczyk
0d5dbbd148 [lua] Show lua version in About dialog 2022-01-07 18:22:05 +01:00
Witold Filipczyk
88aa2f9e0e [lua] casting to char * 2021-12-20 16:39:08 +01:00
Witold Filipczyk
aa586ee999 [python] set program name 2021-12-14 16:41:59 +01:00
Witold Filipczyk
b77d4d8395 [ruby] Changed declaration of missing_method 2021-12-12 15:07:49 +01:00
Witold Filipczyk
155cc0c005 [perl] Compilation fix when compiled --with-perl --disable-nls 2021-12-05 15:38:26 +01:00
Olivier El Mekki
edaf66fc60
[lua] expose reload() and goto_url() to lua api
Two api methods for lua scripting has been added.

`reload()` allows to refresh the document without triggering a new
html request. This commits expose that existing internal function to the
lua api.

One example where it is useful : making a lua hook that allows to edit a
local file we're browsing and see the change without having to perform a
full reload (thus losing the scrolling position). Or anything else that
allows to interactively modify the currently loaded document.

`goto_url()` allows to navigate to given url long after the page has been
loaded (so follow_url_hooks can't be used).

Example where it's useful : binding a key to load the latest archive.org
snapshot for current page (especially useful when using tor and being
constantly harassed by cloudflare).
2021-11-13 13:57:52 +01:00