nick black
20fa1db5dd
define clockwait save in presence of _USE_GNU #2291
2021-10-21 17:07:57 -04:00
nick black
9b30487e4a
[windows] define pthread_cond_clockwait() #2292
2021-10-21 17:07:57 -04:00
nick black
1456422d89
use explicit CRLF where necessary on windows #2237
2021-10-07 17:43:21 -04:00
nick black
47bffea4ab
extract out tiocgwinsz() #2141
2021-09-28 04:30:38 -04:00
nick black
3c7d23b151
[compat] add set_fd_cloexec()
2021-09-26 04:56:06 -04:00
nick black
6849ed9da7
[input] windows fixes
2021-09-18 12:07:02 -04:00
nick black
8c0d32d986
fix windows build
2021-09-16 07:17:58 -04:00
nick black
6d72fedca9
demo: kill warning on Windows #2062
2021-08-26 02:05:37 -04:00
nick black
1879ecbaff
Windows: declare faccessat()
2021-08-26 02:03:48 -04:00
nick black
93073e595a
move includes from ncport.h to internal compat.h
2021-08-26 02:01:20 -04:00
nick black
55b6800f22
Windows: input layer work #2096
...
Send standard terminal interrogation queries on Windows.
They've always worked; we simply needed the correct
console settings. Enable screen geometry lookup via
GetConsoleScreenBufferInfo(). This does not resolve
problems affecting e.g. MSYS2, where we're on Windows,
but need to use termios. We'll need a solution for that.
2021-08-26 04:41:44 -04:00
nick black
b46f4aed8d
Windows: empty define for sigemptyset to eliminate warning #2062
2021-08-25 21:26:27 -04:00
nick black
3f00d07579
set up Windows Terminal very early #2062
2021-08-24 10:59:41 -04:00
nick black
6296a2480f
don't export strndup for C++ code #2073
2021-08-18 13:53:41 -04:00
nick black
1c4bde91fb
clean out windows waitpid() until we have HANDLEs #2062
2021-08-15 22:42:26 -04:00
nick black
0b61b3cd47
sheesh
2021-08-14 03:01:56 -04:00
nick black
afffeeaebf
need WinCon.h for GetConsoleScreenBufferInfo()
2021-08-13 20:52:09 -04:00
nick black
a6575ebfd7
only define strndup as noexcept on linux
2021-08-13 18:06:55 -03:00
nick black
f5dc483410
macOS doesn't like noexcept on strndup sigh
2021-08-13 15:26:06 -04:00
nick black
cbf2c51ce4
mark strndup as noexcept
2021-08-13 15:18:18 -04:00
nick black
7c9163d5a1
GetExitCodeProcess: kill compiler error
2021-08-13 15:11:38 -04:00
nick black
54c8189ed2
fix msys2 build for real
2021-08-13 15:08:10 -04:00
nick black
6d4e58202f
fix windows build, ugh
2021-08-12 19:24:01 -04:00
nick black
4d6526a61d
ncneofetch rewritten in CLI mode
...
ncneofetch was previously direct mode followed by rendered mode with
margins, a Frankenstein application if one ever existed. Rewrite it
using CLI mode, extending the latter as necessary to accomplish this
task. We now have one fewer dependency on direct mode, we have better
proven out CLI mode, and we get a ~30% reduction in ncneofetch runtime.
Good stuff! Closes #2030 .
Add ncplane_scrollup() and ncplane_scrollup_child()
Cleans up ncport.h
Eliminates some inconsequential memory leaks in ncneofetch
Add SPRIXEL_UNSEEN to avoid invalid moves on
not-yet-displayed sprixels
2021-08-12 18:37:53 -04:00
nick black
f64258f468
windows terminal: add ESCAPE_OP
2021-08-05 06:39:09 -04:00
nick black
bf2754cedb
get windows working once more
2021-08-05 06:39:09 -04:00
nick black
8f30a91d84
drop windows.h from compat.h
2021-08-05 06:39:09 -04:00
nick black
8074368ac3
purge ncurses aliases #2014
2021-08-05 06:39:09 -04:00
nick black
7a341283d3
shim ncurses A_* constants on windows
2021-08-05 06:39:09 -04:00
nick black
ecf24256a1
include winsock2.h before windows.h
2021-08-05 06:39:09 -04:00
nick black
9779dd9fef
windows: don't try and use getpwuid()
2021-08-05 06:39:09 -04:00
nick black
01a2dd048e
more windows headers
2021-08-05 06:39:09 -04:00
nick black
9d89df85fa
compat.h: necessary headers
2021-08-05 06:39:09 -04:00
nick black
78382087f0
mock pid_t for windows
2021-08-05 06:39:09 -04:00
nick black
4c7dc8b327
fake up waitpid() for windows
2021-08-05 06:39:09 -04:00
nick black
4507f0f8e3
expose more of fd.c to windows
2021-08-05 06:39:09 -04:00
nick black
1b1411cae6
restrict sigaction()s to windows
2021-08-05 06:39:09 -04:00
nick black
6154fbcb56
windows: shim sigset_t
2021-08-05 06:39:09 -04:00
nick black
19797b3859
everybody's movin', everybody's groovin', baby #1977
2021-08-05 06:39:09 -04:00
nick black
1113f7dd35
windows: patch out more constants
2021-07-23 00:38:41 -04:00
nick black
03fbf57f24
fix up windows strndup compilation
2021-07-22 21:09:42 -04:00
nick black
b867935708
termdesc: wrap linux-only parts up for linux
2021-07-22 20:46:25 -04:00
nick black
3172f4712a
s/SA_SIGNINFO/SA_SIGINFO/g =[
2021-07-22 20:36:12 -04:00
nick black
3d3561fe0e
windows: elide still more signal jank
2021-07-22 20:27:16 -04:00
nick black
fd13b70d27
windows: no sys/ioctl.h, move to compat.h
2021-07-22 18:41:06 -04:00
nick black
8332ff060c
windows: no langinfo.h
2021-07-22 18:13:22 -04:00
nick black
c733293421
[rage at sky]
2021-07-22 16:58:25 -04:00
nick black
8df13818de
windows: stub out siginfo_t
2021-07-22 16:52:05 -04:00
nick black
15c3d88ddb
windows: more signal/termios mitigation #463
2021-07-22 16:42:21 -04:00
nick black
d90736f84f
define O_CLOEXEC as O_NOINHERIT on windows
2021-07-22 16:28:08 -04:00