Commit Graph

126 Commits

Author SHA1 Message Date
David du Colombier 64af291eb2 Make.unix: remove dependency on libX11 2022-06-27 22:35:31 +02:00
David du Colombier bdac98ded3 move from Travis CI to GitHub Actions 2022-04-04 22:44:17 +02:00
David du Colombier ff042867bb all: replace graphical interface with text interface 2017-07-24 16:19:17 +02:00
David du Colombier 279e1332c4 add build badges 2017-03-31 12:14:40 +02:00
David du Colombier cdcd4e8e44 move README to README.md 2017-03-31 12:14:04 +02:00
David du Colombier f58b31b7fb include: fix sign extension in GBIT64
It fixes the "negative i/o offset" error that happens
when doing i/o on files larger than 2 GB.
2016-02-29 21:17:57 +01:00
Giacomo Tesio 19a5046403 all: fix warnings
cpu.c:587:4: warning: ‘n’ may be used uninitialized in this function
cpu.c:659:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
cpu.c:659:3: warning: dereferencing type-punned pointer will break strict-aliasing rules
kern/devaudio.c:238:25: warning: variable ‘in’ set but not used
kern/devaudio.c:240:8: warning: variable ‘a’ set but not used
kern/sysproc.c:14:11: warning: cast to pointer from integer of different size
libc/nsec.c:56:12: warning: implicit declaration of function ‘libstrtoll’
libc/runestrchr.c:16:2: warning: suggest parentheses around assignment used as truth value
libmemdraw/draw.c:2209:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
libmemdraw/draw.c:2224:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
libmemdraw/draw.c:2455:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
libmemdraw/draw.c:2481:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
2016-01-09 15:52:31 +01:00
David du Colombier 23d9a24788 gui-win32: handle Khome, Kend, Kpgup and Kpgdown (thanks hiro) 2015-11-20 09:44:56 +01:00
David du Colombier 965baf3dce gui-win32: define Kdel in keyboard.h (thanks hiro) 2015-11-20 09:44:14 +01:00
David du Colombier 49233b059e gui-win32: fix scroll wheel (thanks hiro) 2015-11-20 09:43:23 +01:00
David du Colombier 445b6293d6 include: define _DEFAULT_SOURCE
_BSD_SOURCE and _SVID_SOURCE are deprecated
in favor of _DEFAULT_SOURCE.
2015-10-16 20:47:49 +02:00
David du Colombier 8de603bff1 gui-win32: fix encoding and decoding of clipboard strings
On Windows, the clipboard strings are encoded in UTF-16.
However, Drawterm considers them as Rune. It used to work
when a Rune was a short, but a Rune is now a int.
The solution is to implement Rune16 functions to
handle UTF-16 strings.

The Rune16 functions were written by Charles Forsyth
as part of Inferno. Balaji Srinivasa integrated them
into Drawterm.
2015-06-17 22:40:15 +02:00
David du Colombier 164f930802 all: move from Mercurial to Git 2015-06-14 17:50:04 +02:00
David du Colombier 3dbe2c359f libc: import 21-bit runes from Plan 9
R=rsc
https://codereview.appspot.com/9035046
2013-06-21 23:08:33 +02:00
David du Colombier 2f4516ba69 devip: fix addrlen in connect() and bind()
On some systems, the third argument of connect() and bind()
is expected to be the length of the address family instead
of the length of the sockaddr structure.

R=rsc
http://codereview.appspot.com/6492074
2012-09-10 19:51:39 +02:00
David du Colombier 23a48c7cfe devip: add support for IPv6
Addresses are now stored as uchar[16] instead
of ulong, with enough room for IPv6.

Generic IP functions have been removed from
devip.c and replaced by libip, imported from
Plan 9.

Names and addresses are resolved using either
gethostbyname() or getaddrinfo() functions.

On Windows, IPv6 name resolution is not enabled,
because mingw32 doesn't provide inet_ntop().

R=rsc
http://codereview.appspot.com/6408044
2012-08-03 21:30:17 +02:00
Russ Cox 2ca76dc7de posix-arm: new directory, with tas.c from Skip Tavakkolian
R=rsc
http://codereview.appspot.com/6408043
2012-07-14 10:30:35 -04:00
Russ Cox e64d488c01 gui-x11: better snarfing with Chrome/Opera (ported from p9p, thanks Ethan Grammatikidis)
R=rsc
http://codereview.appspot.com/6402045
2012-07-14 10:22:22 -04:00
Russ Cox 14564d23d2 kern/win32.c: restore actually used variable
R=rsc
http://codereview.appspot.com/6401048
2012-07-14 09:21:46 -04:00
Russ Cox 6af132daa2 kern/devfs-posix: fix chmod after rename (thanks Cinap)
R=rsc
http://codereview.appspot.com/6401047
2012-07-14 08:15:02 -04:00
Russ Cox b229620082 codereview: set up from plan9port
R=rsc
http://codereview.appspot.com/6407043
2012-07-14 08:14:17 -04:00
Russ Cox 6fb8584800 cleanup suggested by Geoff Collyer 2011-01-02 18:33:44 -05:00
Erik Quanstrom 7211f00b30 cpu: fix p9any v.2 negotiation 2010-12-28 20:58:28 -05:00
Erik Quanstrom a568eea78d devdraw: add new draw operators 2010-12-28 20:53:46 -05:00
Erik Quanstrom 31aac06d20 expand iounit to handle large images in /dev/draw 2010-12-28 20:51:02 -05:00
Yaroslav f473ac462b x11: pass F1-F12 keys 2010-07-03 06:49:48 +00:00
Russ Cox 54944afbf9 update README 2009-08-25 22:50:54 -07:00
Russ Cox 3bab3a220a win32 build; add -r option 2009-08-25 22:46:22 -07:00
Russ Cox 5df8776caf lib.h: add #define for strtoll (Steve Simon) 2009-03-13 16:11:55 +00:00
Russ Cox 3c2bf42f22 x11: uint -> ulong on clipboard read for x86-64 2009-03-13 16:09:54 +00:00
Russ Cox 5cc6f05c4d sprint: the usual gcc "bug" 2008-12-09 16:47:22 +00:00
Russ Cox 4f14409f56 add make CONF=pthread for modern systems 2008-12-09 07:05:09 +00:00
Russ Cox 189f67ae9b delay user prompt until after -u is parsed (Randall Bohn) 2008-12-06 23:31:02 +00:00
Russ Cox b012e1ab6a ctl-opt is gone (Michaelian Ennis) 2008-08-07 15:18:48 +00:00
Russ Cox 5c16612307 ctl-alt is not ctl-u (tony lainson) 2008-07-31 19:57:29 +00:00
Russ Cox 46bd8d37d2 memrchr -> mymemrchr for FreeBSD 2008-07-14 16:48:16 +00:00
Russ Cox 347c54dbd3 better handling of quit events (underspecified@gmail) 2008-06-24 17:50:12 +00:00
Russ Cox 6c519f3309 consolidate 2008-06-22 03:10:12 +00:00
Russ Cox 972518cb05 windows fixes 2007-12-31 17:23:36 +00:00
Russ Cox f7c895607e fix redefinition in kern/posix.c 2007-11-26 15:11:24 +00:00
Russ Cox f94cf32519 add openbsd 2007-09-28 12:58:54 +00:00
Russ Cox 9b112390be add glenda icon (Matthias Schmidt) 2007-08-22 14:36:59 +00:00
Russ Cox 276098f816 fix auth problem 2007-06-24 18:56:06 +00:00
Russ Cox faa1eca1d3 add lib64 2007-06-23 00:13:47 +00:00
Russ Cox 7f51f90cb3 various fixes 2007-06-22 22:06:34 +00:00
Russ Cox d1b585cfe2 fix name bug; try to use bigger offsets 2007-05-29 12:23:05 +00:00
Russ Cox be768764da uintptr for getcallerpc 2007-05-04 01:48:02 +00:00
Russ Cox 602ec6770c yet more length fiddling 2007-01-29 02:56:33 +00:00
Russ Cox a984a8b22b More length fiddling. 2007-01-29 01:43:06 +00:00
Russ Cox 7bdaff72af fix length 2007-01-29 00:42:13 +00:00