summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libmach: Fix type errors in FreeBSD.cDan Cross2020-01-151-4/+4
| | | | | | | The ptrace handlers wanted to take u64int arguments, not ulong. Signed-off-by: Dan Cross <cross@gajendra.net>
* devdraw: set windowrect correctly on x11 if window gets unexpected sizeRuss Cox2020-01-151-2/+2
| | | | Fixes #54.
* devdraw: actually send resize event on resizeRuss Cox2020-01-151-0/+7
| | | | | Fixes #340. Fixes #343.
* factotum: update for new nbrecvul return valueRuss Cox2020-01-151-2/+30
| | | | | | Unclear whether the old semantics were the right ones, but at least this preserves what they've been for the past however many years.
* compress: remove (not distributed) from tar(1) manpage.sean2020-01-151-1/+0
|
* compress: import Plan9 compresssean2020-01-153-0/+1526
| | | | | | Add #define USED(x)... boilerplate compress: import Plan9 manpage.
* winwatch: Plan 9-ify.Dan Cross2020-01-151-426/+412
| | | | | | | This is new code, and custom to plan9port. Make it conform more closely to plan9 style. Signed-off-by: Dan Cross <cross@gajendra.net>
* clock: Remove unused static variable in clock.cDan Cross2020-01-151-2/+0
| | | | | | | `struct Tm tms` was set but never referenced; noticed in a compiler warning. Remove it. Signed-off-by: Dan Cross <cross@gajendra.net>
* winwatch: port based Plan 9 winwatchmarkvanatten2020-01-153-1/+596
| | | Port of Plan 9's winwatch(1).
* 9pfuse: update errortabOleg Nemanov2020-01-151-0/+2
|
* soelim: manpage fixes.sean2020-01-151-4/+3
|
* soelim: import from Plan9sean2020-01-153-0/+47
| | | | | Add entry in lib/moveplan9.files to trigger relocation during INSTALL.
* venti/buildindex: fix hang on large indexesRuss Cox2020-01-141-1/+1
| | | | Fixes #93.
* devdraw: notify window resize promptly on x11Russ Cox2020-01-145-13/+28
| | | | Fixes #339.
* libdraw: send hangup to process when window is lostRuss Cox2020-01-141-1/+5
| | | | | | This matches the Plan 9 behavior a bit better. Fixes #30.
* lib9: make formatting lock-free againRuss Cox2020-01-144-124/+83
| | | | | | | | First use of <stdatomic.h>. We will see if any supported systems don't have it yet. (C11 was so last decade.) Fixes #338.
* acme: save/restore multiline tags in Dump/LoadRuss Cox2020-01-141-4/+16
| | | | | | | | | The dump substitutes each \n in a multiline tag with a 0xff byte. Since it is not valid UTF it cannot occur in an ordinary dump file. Old acmes will just read it in as an error rune. Fixes #135. Fixes #153.
* tar: remove /bin/ when invoking compressorsphonologus2020-01-141-6/+1
|
* libthread: use mmap to allocate OpenBSD stacksRuss Cox2020-01-146-8/+61
| | | | | | | Should fix faults on OpenBSD. Fixes #218. Fixes #226.
* libdraw: use proper pipe for default font dataRuss Cox2020-01-141-6/+16
| | | | | | May fix a deadlock / missing font on OpenBSD. Fixes #308.
* devdraw: do not force-hide menu and dock during full screen on macRuss Cox2020-01-141-3/+15
| | | | | | | | This hides the menu on dock on all screens which is more than we want. The code was added to fix a problem with Catalina that I can no longer reproduce, so I guess it works now. Fixes #336.
* devdraw: hide dock in full screen modeRuss Cox2020-01-131-0/+13
| | | | | | | Unfortunately this hides the dock even if it is on a different screen. We need to figure out how to tell. But this is more usable than not. Probably.
* INSTALL: do not rm config after setting it upRuss Cox2020-01-131-7/+7
| | | | Fixes #334.
* devdraw: correctly hide Mac menu bar (#335)Xiao-Yong2020-01-131-9/+9
| | | | `window:willUseFullScreenPresentationOptions:` is an instance method of the protocol `NSWindowDelegate`.
* libthread: fix fault in teardown of procRuss Cox2020-01-132-1/+2
| | | | Fixes #332.
* acme: fix buffer overflow introduced in parsetag refactorRuss Cox2020-01-133-8/+8
|
* mouse(3): fix definition of MousectlRuss Cox2020-01-131-4/+6
|
* acme: fix movetodel for spaces in file namesRuss Cox2020-01-131-11/+8
|
* acme: allow spaces in window namesRuss Cox2020-01-132-5/+20
| | | | | | | | | | | | | | | | | | There are many things we could do to make this work. an environment variable to control the character. Another option would be to use U+00A0 (non-breaking space), which renders the same as space. This change avoids changing the separator character and instead assumes that if the left side of the tag already ends in " Del Snarf |" then what comes before that is the file name. Acme already aggressively preserves the "Del Snarf |", so this should work decently well as a stop-gap. We can always try something else later. Fixes #26. Fixes #104. Fixes #329.
* mk: fix hash function (#315)Neven Sajko2020-01-131-7/+3
| | | | Avoid signed integer overflow using ulong instead of long h.
* acme: one more place to use parsetagRuss Cox2020-01-131-5/+1
|
* acme: factor out tag parsing codeRuss Cox2020-01-133-21/+28
|
* lib9: do not fetch disk size for character devicesRuss Cox2020-01-131-1/+1
| | | | | | | | | Real disk devices should be block devices anyway. One user reported the disksize check causing a system reboot during vac of a tree with an "interesting" device. Fixes #103.
* mk: treat X= as empty list in rc shellRuss Cox2020-01-131-6/+12
| | | | | | | | | | | | | This brings mk's behavior when using rc in line with Plan 9's. The existing code is for Unix environment data structures but also was assuming Unix shell semantics where empty and missing variables are mostly equivalent. The Plan 9 code (/sys/src/cmd/mk/plan9.c in the distribution) explicitly removes /env/name (creating an empty list) when the value is missing or an empty string. Fixes #255.
* tmac: fix troff -ms .KS after .1CRuss Cox2020-01-131-6/+6
| | | | Fixes #233.
* acme: fix crash in X |cat with multiple windowsRuss Cox2020-01-131-5/+24
| | | | | | | Fixes #9. Fixes #219. Fixes #222. Fixes #330.
* vac, unvac: allow 128MB cache size, up from 4MBRuss Cox2020-01-132-2/+2
| | | | | | When a directory has lots of children, vac crashes because it runs out of cache. Fixes #266.
* 9pfuse: do not fswalk("..")Russ Cox2020-01-131-12/+5
| | | | | | | f is open, so walk will fail. The comments say we only need one directory anyway. Fixes #277.
* TODO: remove, not updated in 15 yearsRuss Cox2020-01-132-15/+3
|
* libthread: fix nbrecvul, recvul to match man page, Plan 9Russ Cox2020-01-131-2/+2
| | | | | | | They return 0 on failure, not -1. Bug introduced in my original libthread-for-Unix code. Fixes #230.
* cmd/9pfuse: ignore FMODE_EXEC open flagNicola Girardi2020-01-131-2/+11
| | | | | | | | | Improved error message in case of unexpected open flags. The message unexpected open flags requested=0100040 unhandled=040 prompted me to clear the FMODE_EXEC flag, although I wonder if I shouldn't have set OEXEC (0x3) instead.
* clock: import from plan 9Russ Cox2020-01-132-5/+112
| | | | Fixes #250.
* lib9: rm unused _p9translate.cRuss Cox2020-01-131-46/+0
| | | | Fixes #238.
* devdraw: AUTOFRAMEWORK CoreFoundation on macOSRuss Cox2020-01-131-0/+1
| | | | Fixes #273.
* devdraw: x11 working againRuss Cox2020-01-1314-2340/+1844
| | | | | | | | Need to think a bit more about locking, but overall it's a working devdraw. Multiclient mode may not be working but nothing is using it yet.
* devdraw: multiclient modeRuss Cox2020-01-133-42/+115
|
* cmapcube: don't crash on initdraw failureRuss Cox2020-01-131-1/+2
|
* libdraw: connect to devdraw via $wsysid when setRuss Cox2020-01-133-1/+85
|
* devdraw: more cleanup, clearer lockingRuss Cox2020-01-138-313/+329
|
* devdraw: refactor, clean up mac screenRuss Cox2020-01-137-505/+492
| | | | | Also turn mac-srv.c into a generic srv.c, so we can remove the duplication with x11-srv.c.