Age | Commit message (Collapse) | Author | Files | Lines |
|
This is new code, and custom to plan9port. Make it
conform more closely to plan9 style.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
`struct Tm tms` was set but never referenced; noticed
in a compiler warning. Remove it.
Signed-off-by: Dan Cross <cross@gajendra.net>
|
|
Port of Plan 9's winwatch(1).
|
|
|
|
Fixes #93.
|
|
Fixes #339.
|
|
This matches the Plan 9 behavior a bit better.
Fixes #30.
|
|
First use of <stdatomic.h>.
We will see if any supported systems don't have it yet.
(C11 was so last decade.)
Fixes #338.
|
|
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.
|
|
|
|
Should fix faults on OpenBSD.
Fixes #218.
Fixes #226.
|
|
May fix a deadlock / missing font on OpenBSD.
Fixes #308.
|
|
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.
|
|
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.
|
|
`window:willUseFullScreenPresentationOptions:` is an instance method
of the protocol `NSWindowDelegate`.
|
|
Fixes #332.
|
|
|
|
|
|
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.
|
|
Avoid signed integer overflow using ulong instead of long h.
|
|
|
|
|
|
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.
|
|
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.
|
|
Fixes #9.
Fixes #219.
Fixes #222.
Fixes #330.
|
|
When a directory has lots of children, vac crashes because it runs out of cache.
Fixes #266.
|
|
f is open, so walk will fail.
The comments say we only need one directory anyway.
Fixes #277.
|
|
They return 0 on failure, not -1.
Bug introduced in my original libthread-for-Unix code.
Fixes #230.
|
|
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.
|
|
Fixes #250.
|
|
Fixes #238.
|
|
Fixes #273.
|
|
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.
|
|
|
|
|
|
|
|
|
|
Also turn mac-srv.c into a generic srv.c,
so we can remove the duplication with x11-srv.c.
|
|
|
|
|
|
We were using osx- and cocoa- but it's not even OS X anymore.
|
|
|
|
Now that we only have Metal, we can drop the -metal.
Also now that Carbon is gone we can drop the macargv.c,
and then the -objc from object file names.
|
|
We didn't start using Metal until macOS 10.14,
but it was available on 10.13, which is currently
the oldest Apple-supported version of macOS.
Simplify by deleting the old code.
|
|
|
|
This prevents an infinite loop.
Change-Id: I7eda6b9d032ca0daeb24b555954330d07f35c78b
|
|
The functions from <ctype.h> require that their argument be
representable as an unsigned char, anything else is an error.
Change-Id: I9dafc49c431b7a2550b041603f27bac3c0010eea
|
|
Change-Id: I3b41ab3f181080bcff89201d30f0bdf8aa20d55c
|
|
An out of bounds pointer/array index being created is an error in
standard C.
Updates #313
Change-Id: I7108fcde1a8e03017e9ab852adb737940489c827
|
|
|