Commit Graph

120 Commits

Author SHA1 Message Date
Giacomo Tesio 5759ffd40b fix warnings 2016-01-07 15:17:21 +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
Russ Cox c0963c9a12 respect snarf length 2007-01-28 16:10:13 +00:00
Russ Cox ffc8608e72 9ball 2007-01-18 15:09:48 +00:00
Russ Cox 6fcd59e9ec more fixes from andrey 2007-01-17 00:26:51 +00:00
Russ Cox a25f83e3c5 fixes from Andrey 2007-01-16 19:47:55 +00:00
Russ Cox e8b1d5b0dd Fixes from Andrey - extra buttons and Alt handling. 2007-01-15 20:40:54 +00:00
Russ Cox 2dfb06d6b6 more fixes from andrey 2007-01-12 17:29:58 +00:00