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

6660 Commits

Author SHA1 Message Date
Witold Filipczyk
5d7403d23a [tcc] Skip -Wl,--no-copy-dt-needed-entries 2023-12-01 12:54:07 +01:00
Witold Filipczyk
1890a79b45 [Makefile] CXX was missing 2023-11-29 18:24:52 +01:00
Witold Filipczyk
8badb62c34 [document] I did not test it, but I guess it must be & prepended here 2023-11-29 16:15:34 +01:00
Witold Filipczyk
33c30a7840 [tcc] Wrapper for tcc to use with meson
meson does not support tcc yet, but with this wrapper you can build
elinks (no js version) with meson and save a few seconds.
This wrapper pretends to be gcc for meson.
While compiling it filters unsupported options, and execute tcc.

Compile it as:
gcc -O2 -o elinks_tcc elinks_tcc.c

Here is my mes_tcc.sh:
rm -rf /dev/shm/builddir2
export C_INCLUDE_PATH=/usr/local/lib/tcc/include:$HOME/include:/usr/include:/usr/local/include
CPPFLAGS="-I$HOME/include" \
CC=elinks_tcc \
meson setup /dev/shm/builddir2 \
-D88-colors=false \
-D256-colors=true \
-Dapidoc=false \
-Dbacktrace=false \
-Dbittorrent=false \
-Dbookmarks=false \
-Dbrotli=true \
-Dbzlib=false \
-Dcgi=true \
-Dcombining=true \
-Dfastmem=true \
-Dgemini=true \
-Dgettext=true \
-Dgnutls=true \
-Dgopher=true \
-Dgpm=false \
-Dguile=false \
-Dhtmldoc=false \
-Dlibcss=true \
-Dlibev=false \
-Dlibevent=true \
-Dopenssl=false \
-Dluapkg='luajit' \
-Dlzma=false \
-Dnls=true \
-Dnntp=false \
-Dpdfdoc=false \
-Dperl=false \
-Dprefix=$HOME \
-Dpython=false \
-Druby=false \
-Dsm-scripting=false \
-Dspidermonkey=false \
-Dterminfo=true \
-Dtre=false \
-Dtrue-color=true \
-Dutf-8=true \
-Dwithdebug=false \
-Dx=false \
-Dzlib=true \
-Dzstd=true

ninja -C /dev/shm/builddir2
2023-11-29 16:05:21 +01:00
Witold Filipczyk
a5d2119dbf [map] Reimplemented map as hash
Maybe it is slower, but C only.
2023-11-28 19:55:37 +01:00
Witold Filipczyk
e0909362eb [view] this include is only for ecmascript 2023-11-28 15:47:53 +01:00
Witold Filipczyk
3bdb576929 [viewer] unneeded include 2023-11-28 15:45:28 +01:00
Witold Filipczyk
d6dfd2366d [po] POTFILES updated 2023-11-28 15:42:22 +01:00
Witold Filipczyk
899304d6ef [viewer] form.cpp -> form.c 2023-11-28 15:41:48 +01:00
Witold Filipczyk
bf99de3d92 [po] POTFILES 2023-11-28 15:34:53 +01:00
Witold Filipczyk
c14989ab91 [viewer] link.cpp -> link.c
Moved some code to ecmascript-c.cpp
2023-11-28 15:33:54 +01:00
Witold Filipczyk
88d836355d [viewer] This include was not needed 2023-11-28 15:15:56 +01:00
Witold Filipczyk
3dede92441 [po] POTFILES 2023-11-27 19:15:56 +01:00
Witold Filipczyk
7e48d22f51 [viewer] view.cpp -> view.c 2023-11-27 19:14:39 +01:00
Witold Filipczyk
bbf902f426 [viewer] This include was not needed 2023-11-27 18:52:19 +01:00
Witold Filipczyk
42f6e9cba9 [po] POTFILES 2023-11-27 18:35:07 +01:00
Witold Filipczyk
8f431a126f [viewer] vs.cpp -> vs.c 2023-11-27 18:34:15 +01:00
Witold Filipczyk
9dedc5779b [dcument] Compilation fix 2023-11-27 18:33:44 +01:00
Witold Filipczyk
51a9749028 [po] POTFILES 2023-11-27 16:40:39 +01:00
Witold Filipczyk
bfd3f01d35 [document] document.cpp -> document.c
Moved some code to ecmascript-c.cpp.
2023-11-27 16:38:58 +01:00
Witold Filipczyk
a07f339fd1 [document] get rid of C++ list.
In first place it was implemented in C++ because of memory corruption problems.
2023-11-27 16:26:09 +01:00
Witold Filipczyk
e1915cba0c [po] POTFILES 2023-11-27 15:08:57 +01:00
Witold Filipczyk
4ecb3fa8bb [main] timer.cpp -> timer.c 2023-11-27 15:08:20 +01:00
Witold Filipczyk
28cc9baf30 [po] POTFILES 2023-11-26 19:49:21 +01:00
Witold Filipczyk
424466740c [document] renderer.cpp -> renderer.c
Moved ecmascript code to ecmascript-c.cpp
2023-11-26 19:47:59 +01:00
Witold Filipczyk
742d30419f [po] POTFILES 2023-11-26 19:11:58 +01:00
Witold Filipczyk
bb137d12e9 [download] download.cpp -> download.c
elinks's hash instead of C++ map.
2023-11-26 19:09:19 +01:00
Witold Filipczyk
db99981ec5 [terminal] Make a copy of filename for hash 2023-11-26 19:00:04 +01:00
Witold Filipczyk
49285684ea [quickjs] Makefile 2023-11-25 18:43:25 +01:00
Witold Filipczyk
8ea11da939 [po] POTFILES 2023-11-25 18:30:16 +01:00
Witold Filipczyk
0d4f83e94a [quickjs] include 2023-11-25 18:29:32 +01:00
Witold Filipczyk
25027fca0a [dos] doc.cpp -> dos.c 2023-11-25 18:23:18 +01:00
Witold Filipczyk
3d3e61a025 [quickjs] Missing file 2023-11-25 18:21:16 +01:00
Witold Filipczyk
be116453de [po] POTFILES 2023-11-25 18:16:11 +01:00
Witold Filipczyk
1219e479b5 [session] session.cpp -> session.c 2023-11-25 18:15:24 +01:00
Witold Filipczyk
aa86de0b6d [po] POTFILES 2023-11-25 18:10:04 +01:00
Witold Filipczyk
d606aca351 [terminal] terminal.cpp -> terminal.c
hash from util instead of C++ map
2023-11-25 18:08:46 +01:00
Witold Filipczyk
5b48b6be72 [po] POTFILES 2023-11-25 17:07:07 +01:00
Witold Filipczyk
970245b28a [protocol] protocol.cpp -> protocol.c 2023-11-25 17:06:11 +01:00
Witold Filipczyk
9d5d9ead70 [po] POTFILES 2023-11-25 14:30:50 +01:00
Witold Filipczyk
f70c1dc51b [main] module.cpp -> module.c 2023-11-25 14:30:05 +01:00
Witold Filipczyk
29832783cb [po] Updated POTFILES 2023-11-25 14:14:32 +01:00
Witold Filipczyk
009d09ba52 [viewer] action.cpp -> action.c 2023-11-25 14:13:10 +01:00
Witold Filipczyk
20aeb1cc0e [po] updated POTFILES 2023-11-25 13:30:29 +01:00
Witold Filipczyk
fe8d8d6af0 [cache] Renamed cache.cpp -> cache.c 2023-11-25 13:29:23 +01:00
Witold Filipczyk
d83c699243 [po] Updated POTFILES 2023-11-25 13:12:14 +01:00
Witold Filipczyk
7acee28e2d [dialogs] Rename info.cpp to info.c
Long term goal is to able compile by only C compiler
if ecmascript is not compiled-in.
2023-11-25 13:11:21 +01:00
Witold Filipczyk
27c513cb61 [meson] muon compatibility
muon does not support i18n yet
2023-11-23 21:14:44 +01:00
Witold Filipczyk
07da251555 [po] Updated POTFILES 2023-11-23 18:15:03 +01:00
Witold Filipczyk
5c3680af05 [spidermonkey] Moved files from ecmascript/libdom/spidermonkey to ecmascript/spidermonkey 2023-11-23 18:13:07 +01:00