1
0
Fork 0
Commit Graph

4222 Commits

Author SHA1 Message Date
Witold Filipczyk 172c32a64c [cpp] All files suspected for any C++ relation renamed to cpp
Now (in meson) .c files are compiled by C compiler and .cpp by C++ compiler.
2022-07-31 16:44:11 +02:00
Witold Filipczyk d93d7ff6cf [cpp] Extension .obj for C++ compiled files in Makefiles 2022-07-31 16:01:26 +02:00
Witold Filipczyk df7a023756 [cpp] Rename c to cpp for ecmascript files 2022-07-31 15:33:22 +02:00
Witold Filipczyk 969974175a [bsd] compilation fix 2022-07-24 21:46:34 +02:00
Witold Filipczyk 8764def801 [meson] -fno-lto added to flags
clang-14 gives file not recognized: File format not recognized.
2022-07-21 11:27:28 +02:00
Witold Filipczyk 9cab4ceb94 [event] struct event -> struct el_event 2022-07-21 10:14:13 +02:00
Witold Filipczyk d75e9c7b93 [gettext] Compilation fix 2022-07-17 17:01:54 +02:00
Witold Filipczyk 4811d20a30 [dgi] Unification.
one fuction prepare_command instead of two very similar.
2022-07-14 22:29:24 +02:00
Witold Filipczyk 307be32113 [ecmascript] draw_formatted(..., 3) in doc_rerender_after_document_update.
Previously, in document_replace wrong length was passed to add_fragment.
Now, I guess is correct, and testing arithmetics works for me.
2022-07-13 19:10:54 +02:00
Witold Filipczyk 267713e2c9 [ecmascript] Spaces in document_replace. Less variables 2022-07-13 16:41:53 +02:00
Witold Filipczyk 7ea04c7f0f [isspace] Some implementations of isspace require unsigned char 2022-06-28 20:25:06 +02:00
Witold Filipczyk 51ce47a84c [smjs] enable keymap_finalize 2022-06-25 16:44:33 +02:00
Witold Filipczyk 1ed46e9ef0 [cookies] initialize cookfile to avoid warning 2022-06-25 16:24:15 +02:00
Witold Filipczyk 534344ce35 [error] suppress warning 2022-06-25 16:19:56 +02:00
Witold Filipczyk 797f1e8a8f [dgi] suppress warning 2022-06-25 16:17:43 +02:00
Witold Filipczyk 5c550ff2a0 [osdep] suppress warning 2022-06-25 16:15:12 +02:00
Witold Filipczyk 3d8605cb4f [unused_result] Silly way to suppress warning 2022-06-25 16:11:59 +02:00
Witold Filipczyk 32afb683f2 [leds] Check return value of fscanf 2022-06-24 22:03:07 +02:00
Witold Filipczyk ad646029e3 [bittorrent] signed char is not sufficient for va_arg 2022-06-23 21:39:11 +02:00
Witold Filipczyk 805b1d31b6 [va_start] change enum to unsigned int in va_arg 2022-06-23 21:31:01 +02:00
Witold Filipczyk 1f20379087 [spidermonkey] unused variables 2022-06-22 21:44:31 +02:00
Witold Filipczyk 37afb1de72 [c] empty instruction 2022-06-22 21:39:59 +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 ed3d137ad6 [meson] Check if compiler accepts -Wno-builtin-declaration-mismatch 2022-06-20 16:01:30 +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 5349d505c1 [js] add_bytes_to_string 2022-06-19 13:49:59 +02:00
Witold Filipczyk 67670c28a0 [js] minor optimisation. add_bytes_to_string, because length is known. 2022-06-19 13:19:07 +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 89238867f2 [js] segfault when spidermonkey nor quickjs were enabled 2022-06-17 18:37:16 +02:00
Witold Filipczyk 3af789e9e6 [smjs] More compilation fixes. Mainly casts. Refs #176 2022-06-17 15:55:05 +02:00
Witold Filipczyk 4790ae9981 [smjs] Compilation fixes when -Dsm-scripting=true and -Dspidermonkey=false. Refs #176 2022-06-16 17:33:06 +02:00
Witold Filipczyk dfa578d7d9 [color] initialize is_node 2022-06-14 19:51:25 +02:00
Witold Filipczyk 57ac78bcdd [protocol] Added option protocol.default_protocol . Refs #174 2022-06-14 18:43:09 +02:00
Witold Filipczyk f655bd03c7 [dos] Do not install timer ISR, when ecmascript is not compiled in. 2022-06-13 15:18:58 +02:00
Witold Filipczyk 29bf0ee9bb [dos,js] Try to add own timer ISR
The goal is to check if js scripts do not execute too long under DOS.
It may be buggy.
2022-06-12 22:14:49 +02:00
Witold Filipczyk b1c6cf8d6b [js] Rewritten error reporter, because there is no open_memstream under DOS 2022-06-11 22:21:23 +02:00
Witold Filipczyk 14ba55c0db [dos] I don't know why it did not work when compiled by g++ 2022-06-11 22:03:59 +02:00
Witold Filipczyk 5fefca2cb3 [dos] Do not use poll under DOS 2022-06-11 22:03:10 +02:00
Witold Filipczyk 036d68dde6 [dos] compilation fix 2022-06-11 22:02:19 +02:00
Witold Filipczyk 6b3321e0ff [dos] I cannot force elinks to open sqlite database in non current directory. 2022-06-11 22:00:45 +02:00
Witold Filipczyk 2f16f6aee6 [ssl,dos] Copied code from links for own bundle of certificates.
Also filename is the same: links.crt.
So if you do not want alert about ssl errors, copy links.crt from links
to src directory of elinks.
2022-06-08 16:14:55 +02:00
Witold Filipczyk f52c889304 [dos] direct value of r.h.bh 2022-06-07 18:55:18 +02:00
Witold Filipczyk 46297a48ff [dos] os shell and NULL instead of DUMMY 2022-06-07 14:37:38 +02:00