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

6642 Commits

Author SHA1 Message Date
Witold Filipczyk
78483386c2 [ecmascript] timer.cpp -> timer.c
hash instead of map.
The goal is to get C++ free code for mujs and quickjs.
2023-12-29 18:29:13 +01:00
Witold Filipczyk
447c452339 [download] No need to double check 2023-12-28 13:03:45 +01:00
Witold Filipczyk
fd5e164b8f [download] memory leaks 2023-12-28 13:01:01 +01:00
Witold Filipczyk
24325a5714 [meson] Link against shared quickjs library if available
alpine builds shared quickjs library.
2023-12-27 19:53:20 +01:00
Witold Filipczyk
2c7072e058 [docker] Updated quickjs to 2023-12-09 2023-12-27 17:58:15 +01:00
Witold Filipczyk
204234b921 [memcount] libevent malloc, realloc, free replacement functions 2023-12-26 19:09:32 +01:00
Witold Filipczyk
b1bf9e8dba [libevent] Add SOCK_SHIFT for curl and libevent 2023-12-26 17:04:24 +01:00
Witold Filipczyk
1f4ca1445d [libevent] include event2/event.h instead of event.h 2023-12-26 15:53:22 +01:00
Witold Filipczyk
5211b2d8a1 [curl] fifo_event was unused 2023-12-26 14:57:25 +01:00
Witold Filipczyk
4da1928109 [docker] wine is not required to build Windows version of elinks 2023-12-26 13:33:01 +01:00
Witold Filipczyk
3e2092db84 [docker] dosemu not needed to build DOS version of elinks 2023-12-26 13:28:23 +01:00
Witold Filipczyk
d86134446c [configure.ac] 0.18.GIT 2023-12-26 13:21:45 +01:00
Witold Filipczyk
8cd5ea6a98 [NEWS] 0.17.0 2023-12-25 12:25:27 +01:00
Witold Filipczyk
3ae1622d94 [meson] Added -Ddoc option, default true
With -Ddoc=false rebuilds are faster.
2023-12-23 14:12:46 +01:00
Witold Filipczyk
8d0054041b [select] Another try
Set fields of timeout manually.
2023-12-20 20:31:13 +01:00
Witold Filipczyk
f91d214820 [select] This code is problematic.
EINVAL on OpenBSD/i386.
2023-12-20 18:06:20 +01:00
Witold Filipczyk
6c32ce3c61 [gettext] Let it work also on Windows
When elinks.exe is located in the src subdirectory,
.gmo files are read from the po subdirectory.
2023-12-15 10:36:17 +01:00
Witold Filipczyk
93e9ac1b4c [gettext] Revision 1 is also valid
At least I think so.
2023-12-14 21:45:08 +01:00
Witold Filipczyk
dee0b28f97 [spidermonkey] meson.build also was missing 2023-12-10 16:42:32 +01:00
Witold Filipczyk
74906f2b0f [NEWS] 0.17.0rc2 2023-12-10 12:31:41 +01:00
Witold Filipczyk
6f11b9be8b [windows] Fixes for FSP (send and recv) 2023-12-09 19:57:08 +01:00
Witold Filipczyk
2ace5374c8 [cast] cast to intptr_t to silence compiler 2023-12-08 11:14:27 +01:00
Witold Filipczyk
b894447af1 [hash] drop const for key 2023-12-08 11:11:06 +01:00
Witold Filipczyk
fd4622d21b [win64] Updated curl 2023-12-07 13:03:48 +01:00
Witold Filipczyk
18bd6f269d [win32] Updated curl 2023-12-07 12:58:37 +01:00
Witold Filipczyk
0fbec94494 [ssl] Change order of includes
There was compilation failure on win32.
2023-12-07 12:52:34 +01:00
Witold Filipczyk
cb39af36ee [docker] Update for djgpp, binary archive for curl 2023-12-07 12:20:51 +01:00
Witold Filipczyk
43dd4f38a0 [c++] undef max and min
There were different definitions of them in sys/cdefs.h
2023-12-07 11:33:39 +01:00
Witold Filipczyk
425d779e15 [terminal] Avoid division by zero. Refs #276 2023-12-07 08:21:13 +01:00
Witold Filipczyk
e538a9f827 [terminal] use fd not 1 for ioctl 2023-12-06 08:21:29 +01:00
Witold Filipczyk
b580d78ba3 [spidermonkey] Makefile was missing 2023-12-04 14:21:21 +01:00
Witold Filipczyk
ee60a7e8e5 [NEWS] 0.17.0rc1 2023-12-02 09:06:50 +01:00
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