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
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
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
Witold Filipczyk
126803974a
[dos] wheelmouse
2022-06-06 15:29:45 +02:00
Witold Filipczyk
064c79433d
[dos] get System codepage under dos
2022-06-05 19:12:25 +02:00
Witold Filipczyk
0db5bb7764
[clipboard] Moved function to session, to easier testing.
2022-06-05 15:25:42 +02:00
Witold Filipczyk
acdff2e7db
[dos] compile also without nls
2022-06-05 14:08:30 +02:00
Witold Filipczyk
a8e2302713
[dos] another compilation fix
2022-05-13 17:09:14 +02:00
Witold Filipczyk
a2472f2cbb
[dos] include unistd.h
2022-05-13 16:54:26 +02:00
Witold Filipczyk
6446dfea82
[ssl] compilation fix
2022-05-13 16:38:52 +02:00
Witold Filipczyk
c3a3225699
[dos] init_os is init_osdep for other operating systems
2022-05-12 14:11:01 +02:00
Witold Filipczyk
0e7507b285
[dos] Do not define CONFIG_OS_UNIX for DOS
2022-05-10 20:19:42 +02:00
Witold Filipczyk
0aeb8b4c25
[mouse] enabled mouse in DOS
...
Also redefined constants in mouse.h to be consistent with links.
2022-05-10 19:19:49 +02:00
Witold Filipczyk
2bec2984c4
[dos] Very experimental DOS port based on links-2.26 code
...
WATT-32 and openssl you must compile yourself.
You must tweak configure options, something like:
--disable-utf-8, etc.
Only checked on dosemu with LFN. Networking lags is a bit.
2022-05-09 18:53:36 +02:00
Witold Filipczyk
bf8355dd2b
[osdep] Fix tempname declaration
2022-05-07 19:34:44 +02:00
Witold Filipczyk
968562d2d1
[win32] Moved code.
2022-05-03 13:25:02 +02:00
Witold Filipczyk
5274a0fe19
[win32] minor optimisation
2022-05-03 13:05:51 +02:00
Witold Filipczyk
799313529b
[win32] IPv4 was hardcoced.
2022-05-02 21:00:57 +02:00
Unknown
5c74f80eb5
[ win64 ] change in select - sleep only when nothing to do
2022-05-01 20:47:41 +02:00
Unknown
97d586a403
[ win64 ] fix socket blocking
2022-05-01 14:23:31 +00:00
Witold Filipczyk
154479e849
[osdep] Restored changes.
2022-05-01 15:07:51 +02:00
Unknown
5434b211f0
[ win64 ] changes for win64 with ssl in docker
2022-04-30 18:49:56 +00:00
Unknown
e2cf1923c4
[ win64 ] added openssl build support to docker, minor code changes
2022-04-25 20:52:03 +02:00
Unknown
eff70d3807
[ win64 ] os dependent socket blocking
2022-04-25 08:55:57 +02:00
Unknown
01319aafd2
[ win64 ] build_win64.sh, doc etc.
2022-04-22 21:47:52 +02:00
Witold Filipczyk
791950c8a4
[meson] fix in osdep. Refs #140
2022-03-13 16:55:14 +01:00
Witold Filipczyk
29bbf225b5
[osdep] const in tempname
2022-02-21 16:49:59 +01:00
Witold Filipczyk
4245634782
[osdep] const in get_system_str
2022-02-21 16:41:48 +01:00
Witold Filipczyk
f334527a1d
[osdep] cast to void *
2022-02-21 16:38:36 +01:00
Witold Filipczyk
bcf9589ff0
[osdep] const in get_shell
2022-02-20 13:52:47 +01:00
Witold Filipczyk
2170d79036
[osdep] const in get_e
2022-02-17 21:28:45 +01:00
Witold Filipczyk
2ad21036bd
[osdep] const in check_more_envs
2022-02-17 19:51:11 +01:00
Witold Filipczyk
17caacfc78
[osdep] const in open_in_new
2022-02-17 19:37:50 +01:00
Witold Filipczyk
277f341d2b
[terminal] exec_on_terminal and related rewritten a bit to allow const param
2022-01-30 18:12:38 +01:00
Witold Filipczyk
e0e88dc5a7
[tempname] const in the middle argument
2022-01-30 17:41:15 +01:00
Witold Filipczyk
5ef839cf18
[term] enum term_env_type -> term_env_type_T
2022-01-28 17:37:43 +01:00
Witold Filipczyk
7d3cff0655
[network] cast
2022-01-25 18:47:28 +01:00
Witold Filipczyk
e62b301657
[strrchr] Drop cast to const char *
2022-01-18 20:42:29 +01:00
Witold Filipczyk
20c161559c
[mem_alloc] cast return value
2022-01-16 19:09:27 +01:00
Witold Filipczyk
4658ae9ca5
[mkstemps] Check for mkstemps function
...
musl has it, but it was not detected
2022-01-06 19:51:18 +01:00
Witold Filipczyk
66305fcb50
[gettext] try system gettext. Refs #62
...
Now, only meson was changed.
-Dnls=true -Dgettext=true
2021-08-08 21:25:08 +02:00
Witold Filipczyk
cfe564167b
[tempname] Sorry, I guess stracpy is better here. Later file is freed with mem_free.
2021-04-03 15:05:33 +02:00
sgerwk
1e842bc445
join temp file name creation and file creation
2021-04-02 20:49:33 +02:00
sgerwk
91819222af
code cleanup
2021-03-20 17:20:26 +01:00
rkd77
c82a820e62
Merge pull request #108 from sgerwk/master
...
close stdin before calling a background program
2021-03-20 10:22:28 +01:00
sgerwk
b21dea1ba0
close stdin before calling a background program
...
The solution with fork() is more general, but it unnecessarily produces two new
process: one in exe_no_stdin(), one in system(). The solution with FD_CLOEXEC
is simpler as it only requires changing and restoring a flag of stdin, but I
suspect it may not be available in all OSes elinks can be compiled for.
2021-03-20 00:58:54 +01:00
Witold Filipczyk
6d40fb46d6
[C90] stddef.h can be included unconditionally
2021-03-19 14:40:51 +01:00
Witold Filipczyk
5bf44a6725
[locale.h] Can be included unconditionally (C90)
2021-03-19 14:35:21 +01:00