Russ Cox
213fc4f6fb
libdraw: autoscale fonts when moving between low and high dpi screens
...
Change-Id: I6093955b222db89dfe437fb723593b173d888d01
Reviewed-on: https://plan9port-review.googlesource.com/1170
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 20:51:23 +00:00
Russ Cox
77f23268f7
libdraw: add 2*font syntax for scaled fonts
...
An experiment.
Change-Id: I40660a211b8372701597d80f7e86917e94cccbaa
Reviewed-on: https://plan9port-review.googlesource.com/1161
Reviewed-by: Russ Cox <rsc@swtch.com>
2015-02-17 05:58:37 +00:00
Russ Cox
94dae4befc
libdraw: change DefaultDPI to 133
...
Let's see if that's any better.
R=rsc
http://codereview.appspot.com/6850103
2012-11-26 00:13:04 -05:00
Russ Cox
cc9547960e
libframe: auto scale tick for retina
...
R=rsc
http://codereview.appspot.com/6850102
2012-11-25 23:48:19 -05:00
Russ Cox
9f3851871e
libdraw: add scalesize
...
R=rsc
http://codereview.appspot.com/6855092
2012-11-25 22:15:57 -05:00
Russ Cox
323e7d0193
draw.h: add DefaultDPI
...
R=rsc
http://codereview.appspot.com/6858071
2012-11-25 22:02:02 -05:00
Russ Cox
d0e0701913
devdraw, libdraw: add display->dpi
...
Fixed at 100 right now, but the plan is to make it accurate
and then use it.
R=rsc
http://codereview.appspot.com/6856091
2012-11-25 21:41:52 -05:00
Russ Cox
9e4b56e764
libthread: add threadspawnd
...
R=rsc
http://codereview.appspot.com/6742064
2012-10-22 12:32:09 -04:00
Russ Cox
20f5692b7f
openbsd updates (thanks Pascal Stumpf)
...
R=rsc
http://codereview.appspot.com/6401049
2012-07-14 10:16:54 -04:00
David du Colombier
3409bc9ae1
lib9/dial: add support for IPv6
...
The function p9dialparse() returns the host as a sockaddr_storage
structure instead of a u32int, to be able to handle both IPv4
and IPv6 addresses. Because the sockaddr_storage structure also
handle port numbers and Unix path names, there is no longer
need to set them in the calling functions. However, these values
are still returned for convenience.
The sockaddr_in and sockaddr_un structures have been replaced
by sockaddr_storage to handle Unix, IPv4 and IPv6 sockets.
Names and addresses are resolved using either gethostbyname()
or getaddrinfo() functions.
The getaddrinfo() function is documented in RFC2553 and standardized
since POSIX.1-2001. It supports both IPv4 and IPv6 addresses.
The gethostbyname() function is deprecated since POSIX.1-2008.
However, some libc implementations don't handle getaddrinfo()
properly, thus we preferred to try gethostbyname() first.
I've tried to preserve most of the old code logic to prevent
from surprising or unwanted behavior.
R=rsc
http://codereview.appspot.com/6255068
2012-06-02 21:50:59 +02:00
Russ Cox
443d628838
libmach, acid, db: 64-bit support
2012-02-19 18:11:39 -05:00
David du Colombier
83b247a771
libventi: add functions vtsha1 and vtsha1check
...
These functions are equivalent to vtSha1 and vtSha1Check
from the old libventi and are particularly used by Fossil.
R=rsc
http://codereview.appspot.com/5555064
2012-01-21 10:01:20 +01:00
David du Colombier
91b0ee088e
libventi: add VtEntryNoArchive from liboventi, for use with fossil
...
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5298088
2011-11-08 11:46:49 -05:00
David du Colombier
4544da5200
libventi: add functions reconn and redial for use with fossil
...
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/5325046
2011-11-08 09:02:31 -05:00
David du Colombier
79793adc21
venti.h: import indentation from plan 9
...
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4571065
2011-06-13 14:40:51 -04:00
Russ Cox
74dd032175
delete 9P2000.u
...
thanks to Erik Quanstrom
R=rsc
http://codereview.appspot.com/3469042
2010-12-07 13:34:11 -05:00
Russ Cox
8377cc7a4b
u.h: add int8, uint8
...
R=rsc
http://codereview.appspot.com/1791044
2010-07-14 11:15:55 -07:00
Russ Cox
9a05452085
make flate crc32 work when ulong is 64 bits
...
R=, rsc
CC=
http://codereview.appspot.com/203061
2010-02-07 16:51:28 -08:00
Russ Cox
9eec023b80
libc.h: update comment for 32-bit Rune
...
http://codereview.appspot.com/116097
2009-09-13 17:46:46 -04:00
Russ Cox
37c9485968
lib9: fix dirread/stat mismatch on Snow Leopard
...
http://codereview.appspot.com/116096
2009-09-13 17:30:12 -04:00
Russ Cox
0cadb4301d
convert to 4-byte UTF-8 and 32-bit Rune
...
http://codereview.appspot.com/116075
2009-09-11 17:03:06 -04:00
Russ Cox
375b78fb11
libavl: import from Plan 9
2009-08-23 09:38:29 -07:00
Tim Newsham
8ff457f56d
lib9: dotu fixes in convS2M, convM2S
...
http://codereview.appspot.com/109049
2009-08-20 11:37:24 -04:00
Russ Cox
c8ae41fb03
more licensing
2009-08-14 22:49:38 -07:00
Russ Cox
6f4d7598d9
more licensing
2009-08-14 21:55:50 -07:00
Russ Cox
e6c837d612
merge
2009-07-14 22:55:52 -07:00
Russ Cox
9b4a2324d3
merge
2009-07-08 21:43:14 -07:00
Russ Cox
75d048884c
venti: 32-bit extensions to data structures
2009-05-25 02:11:27 -07:00
Russ Cox
33b446b8bb
libventi: protocol support for blocks larger than 64k
2009-05-25 00:30:17 -07:00
Russ Cox
9ea7f9d82f
libthread: remove unimplemented chaninit
2009-04-30 08:00:40 -07:00
Russ Cox
4aad1a3258
merge
2009-04-30 07:29:24 -07:00
Brian L. Suart
f12ab34996
u.h: add SunOS 5.9
2008-07-20 04:51:03 -04:00
Russ Cox
29e9b5683e
libframe: add frredraw prototype
2008-07-20 03:18:49 -04:00
Russ Cox
57851b6412
libframe: translucent font fixes from Plan 9
2008-03-07 13:20:00 -05:00
Russ Cox
7ed58eab75
keyboard.h: End is no longer \r
2008-07-18 09:10:14 -04:00
Russ Cox
a58a827f2a
lib9: add mode parameter to opentemp
2008-07-10 11:10:10 -04:00
Russ Cox
cab935a0ba
lib9: add write function that withstands interrupts
2008-07-04 12:38:26 -04:00
Russ Cox
56dc04c55f
lib9p: add Srv.foreground flag
2008-07-04 12:24:14 -04:00
Russ Cox
226cc90ba7
include/memlayer.h: remove redundant AUTOLIB (Brian Stuart)
2008-06-10 11:35:29 -04:00
Russ Cox
cf69e5d420
include/drawfcall.h: remove redundant AUTOLIB(draw)
2008-06-04 20:58:12 -04:00
Russ Cox
f533d4e0e6
libbio: lost changes to include/bio.h (@#%@#$ mercurial)
2008-06-03 08:32:36 -04:00
Russ Cox
b9ed1df1f6
u.h: add Solaris 5.10 to makecontext list
2008-06-01 08:20:30 -04:00
Russ Cox
118dfa98b8
post9pservice: accept mtpt (via fuse)
2008-05-05 23:07:54 -04:00
Russ Cox
949b59cd4e
u.h: add intptr
2008-03-06 15:13:42 -05:00
Russ Cox
47ede89e4a
libthread: simplify alt tracking, possibly fixing bug
2007-08-22 11:14:30 -04:00
rsc
d63163af35
hfs (David Swasey)
2007-05-28 20:27:25 +00:00
rsc
eba172d68e
add partabandon
2007-05-28 17:41:39 +00:00
rsc
51d1a81c38
add disk partitions (David Swasey)
2007-05-28 17:34:27 +00:00
rsc
946b8d7086
add searchpairs
2007-04-21 20:41:08 +00:00
rsc
35a80291f7
remove plan9-specific
2007-04-21 19:42:41 +00:00