summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* samterm: free some getenv resultsXiao-Yong Jin2018-03-271-2/+7
|
* sam: freetmpstr instead of freeXiao-Yong Jin2018-03-271-1/+1
|
* libdraw: fix some memory leaks in font handlingXiao-Yong Jin2018-03-275-6/+18
|
* fontsrv: fix some memory leaksXiao-Yong Jin2018-03-272-1/+4
|
* devdraw: fix some memory leaks in x11Xiao-Yong Jin2018-03-272-1/+5
|
* acme: fix some memory leaksXiao-Yong Jin2018-03-273-2/+8
|
* fontsrv: enlarge drawing buffer for subfonts on macOSXiao-Yong Jin2018-03-271-1/+3
| | | | | | | | | | Double the width returned by CTFontGetBoundingBox when drawing. Add box drawing characters for determining the line height. Call freememimage(1) for the character memimage. Fixes #18. Fixes #120. Fixes #146.
* mount, 9pfuse: detect macports installed osxfuseXiao-Yong Jin2018-03-272-0/+9
| | | | MacPorts installs osxfuse under /opt/local.
* fontsrv: skip only the surrogate pairsMechiel Lukkien2018-03-231-1/+1
| | | | | fontsrv wasn't rendering fontawesome icons, which uses the private use area around 0xf000.
* mount: check current osxfuse kext locationMartin Kühl2018-03-231-0/+2
| | | | | | | | | | | | | Current versions of osxfuse ship with multiple versions of its kernel extension (kext) for differend versions of macOS. Running mount(1) on macOS with a current version of osxfuse fails with `don't know how to mount (no fuse)' since it fails to find the kext. Running 9pfuse(4) directly works fine. This change adds a check to mount(1) that determines: 1) which version of macOS we're running on 2) if there is an osxfuse kext available for this version of macOS
* 9pserve: fix memory leak in warningRay Lai2018-03-231-0/+2
|
* .gitignore: ignore files created for astro(1) and scat(1)Martin Kühl2018-03-231-0/+2
| | | | | | | | To use astro(1) and scat(1) one has to create sky/here and download various catalogue files as detailed in sky/README. This change marks those files as ignored by git so they don't clutter its status messages.
* 9term: Set TERM_PROGRAM to termprogMartin Kühl2018-03-231-0/+1
| | | | | | | TERM_PROGRAM is the customary way to identify which kind of terminal emulator program one uses on macOS. This change sets TERM_PROGRAM to termprog since both variables are used for the same purpose.
* 9pfuse: retries read(3) upon EINTRXiao-Yong Jin2018-03-231-2/+5
| | | | | read(3) sometimes errors with EINTR on macOS over slow connections. 9pfuse(1) now retries read(3) instead of sysfatal(3)ing.
* 9pfuse: fix handling of access mode (thanks Kenji Arisawa)David du Colombier2018-02-051-1/+3
| | | | Fixes #81.
* auxstats: get network stats in a portable manner on FreeBSDBakul Shah2018-01-231-33/+14
| | | | as the old grody way doesn't work any more on FreeBSD-10 and later.
* rc: use proper type for storing ulimit valuesRay Lai2018-01-171-6/+7
| | | | | | | rc on amd64 stores ulimit values as 32-bit int, but the limits on OpenBSD amd64 can exceed 2^31, so "ulimit -a" shows some values as negative. This is a problem when I want to increase my ulimit but the hard ulimit values are printed as negative.
* gview: fix int vs ulong confusion causing silent exit 1 at startupRuss Cox2018-01-031-4/+4
|
* 9term: re-enable sys: child note for child processesRuss Cox2017-11-271-0/+1
| | | | | | Fixes #6. Change-Id: Id9950f59c7970575866a7c22a69bfbf3a271f2bb
* acme: preserve window position and selection during GetRuss Cox2017-11-025-18/+103
| | | | | | | | | | | | | | | | | Before, executing Get in a file rewound the window offset and selection to the start of the file. After this CL, Get preserves the window offset and selection, where preserve is defined as "the same line number and rune offset within the line". So if the window started at line 10 before and the selection was line 13 chars 5-7, then that will still be true after Get, provided the new content is large enough. This should help the common situation of plumbing a compiler error, realizing the window is out of date, clicking Get, and then losing the positioning from the plumb operation.
* moveplan9: add missing filesSteven Stallion2017-10-171-0/+35
| | | | | This PR adds additional files to update /usr/local/plan9 references for packaging.
* web: *chrome* matches google-chromeGleydson Soares2017-10-161-1/+1
|
* acme: free buf in checksha1Russ Cox2017-10-141-0/+1
| | | | Thanks to Lorenzo Beretta for noticing.
* 9l: accept Linux kernel version 4.xkeks2017-10-131-1/+1
| | | | Fixes #114.
* 9term: fix getpts on macOS 10.13David du Colombier2017-10-131-0/+16
| | | | | | | | | | | Since macOS 10.13, opening the /dev/ptyXX files always return ENOENT. Consequently, we changed getpts to use openpty to open a pseudoterminal, like on Linux and OpenBSD. Fixes #90. Fixes #110.
* upas/nfs: fix warningsDavid du Colombier2017-10-133-10/+2
| | | | | | | | decode.c:146:8: warning: variable ‘argv’ set but not used fs.c:953:47: warning: variable ‘reset’ set but not used imap.c:348:6: warning: variable ‘prefix’ set but not used Updates #114.
* acme: check file content before declaring file "modified since last read"Russ Cox2017-10-1023-13/+79
| | | | | | | | | | | | | Bad remote file systems can change mtime unexpectedly, and then there is the problem that git rebase and similar operations like to change the files and then change them back, modifying the mtimes but not the content. Avoid spurious Put errors on both of those by checking file content. (False positive "modified since last read" make the real ones difficult to notice.)
* devdraw: fix build on macOS < 10.12Rudá Moura2017-10-091-0/+2
| | | | | | | | | | After making the build on macOS silent on commit 310ae03, the build was broken on macOS lesser than 10.12 (Sierra). This commit conditionally checks the version the of the SDK before using the defined values for silent build. Fixes #66.
* xd: add -R for runewise dumpLeah Neukirchen2017-10-012-40/+118
| | | | | | | Ported from Plan 9 2013-05-21. https://github.com/0intro/plan9/commit/b377a116d132865c011a3fb3ea76528ffd32963f Closes #16.
* web: add Chromium support on FreeBSDDavid du Colombier2017-10-011-1/+1
| | | | | | On FreeBSD, the Chromium executable is called chrome. Fixes #108.
* .travis.yml: configure build matrix to build on OS X and Linux (thanks ↵David du Colombier2017-09-221-20/+28
| | | | | | Michaelian Ennis) Fixes #78.
* 9l: support FreeBSD 10 and 11 (thanks Ori Bernstein)David du Colombier2017-09-141-1/+1
|
* lib/moveplan9.files: add missing filesAdam Saponara2017-09-141-1/+12
|
* all: remove .cvsignore filesKare Nuorteva2017-09-1446-387/+0
| | | | | | | | | | Rename following .cvsignore files to .gitkeep since they are required by the build (directories must exist before build): - bin/fossil/.gitkeep - bin/fs/.gitkeep - bin/venti/.gitkeep Change-Id: I9c2865058480cffb3a4613f25e2eca1f7e5578c0
* README: update linksKare Nuorteva2017-09-141-7/+5
| | | | Change-Id: I060a8ce1456ad07fd62740b7a0d27256ed094d8a
* .travis.yml: disable osx buildDavid du Colombier2017-09-021-1/+0
|
* lib9: import frand function from Plan 9David du Colombier2017-09-012-0/+18
| | | | Fixes #15.
* svgpic: fix warningsDavid du Colombier2017-09-011-3/+1
| | | | | plsvg.c:291:21: warning: variable ‘y2’ set but not used plsvg.c:291:17: warning: variable ‘x2’ set but not used
* libmach: initialize ss variable in stabsline2pc functionDavid du Colombier2017-09-011-1/+2
| | | | Fixes #58.
* .travis.yml: build on osxDavid du Colombier2017-09-011-0/+8
|
* README: add Travis CI and Coverity Scan badgesDavid du Colombier2017-09-011-0/+7
|
* dict, sky: update site from pdos.lcs.mit.edu to 9fans.github.ioDavid du Colombier2017-09-012-3/+3
|
* dist/publish: fix export of of usr treeRuss Cox2017-09-011-1/+1
|
* all: update site from swtch.com to 9fans.github.ioRuss Cox2017-09-0126-52/+83
|
* codereview: delete, now using GitHub pull requestsRuss Cox2017-09-015-3944/+2
|
* .travis.yml: add Coverity Scan to Travis CI configurationDavid du Colombier2017-09-011-0/+18
|
* .travis.yml: add Travis CI configurationDavid du Colombier2017-09-011-0/+4
|
* ed: allow larger temp filesRuss Cox2017-09-011-1/+1
| | | | Requested by rob.
* 9(1): document gotcha with oh-my-zshRuss Cox2017-09-011-0/+15
|
* venti: fix venti graph on 64-bitMichael Stroucken2017-07-232-1/+2
| | | | | | | | A pixel is 32 bits wide in RGBA, regardless of system's word size. Change-Id: Iea36a8dafdec9ce8d593f944ef5ed1ea08e11d25 Reviewed-on: https://plan9port-review.googlesource.com/2980 Reviewed-by: David du Colombier <0intro@gmail.com>