summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* INSTALL: set defaults for awk and egrepDan Cross2025-07-241-6/+2
| | | | | | | Set defaults for `awk` and `egrep`, instead of setting things multiple times when specializing on OS, and using a default in a `case` statement. This is cleaner and less error-prone.
* warnings: fix warnings on newer compilersDan Cross2025-07-245-15/+21
| | | | | | | | | | Mostly turning the crank on fixing simple warnings: arrays, for instance, can never be nil. A couple of pointers should have been initialized to `nil` before being tested. Some logic in `troff` was simplified: basically, an `if` statement had a condition that must have always been true if that section of code were being executed at all.
* config: add $egrepDan Cross2025-07-239-11/+27
| | | | | | | | | | | Introduce a new variable set in $PLAN9/config: $egrep, which is conditionally set to either `egrep` or `grep -E`, based on platform, and use this when we want to invoke `egrep`. This works around the endless warnings from GNU grep stating that `egrep` is deprecated in favor of `grep -E`, when run on e.g. Linux.
* 9c: change -std=c17 to -stc=c11 based on feedback in \#716erentar2025-07-221-1/+1
|
* u.h: define __USE_POSIX to make glibc happyerentar2025-07-221-1/+1
| | | | glibc will only expose sigjmp_buf if __USE_POSIX is defined.
* 9c: Explicitly set c standard as newer changes in c23 break compilationerentar2025-07-221-0/+1
|
* 9c: "-Wdeprecated-pragma" is only present in clang and is absent from gccerentar2025-07-221-1/+0
|
* libflate: fiz inflatezlibblockRuss Cox2025-05-081-2/+2
| | | | This has obviously never been run.
* cmd/devdraw: avoid use of X button state fieldRoger Peppe2025-03-291-51/+12
| | | | | | | | | | | | | | | | | | This bug is an intermittent annoyance and does not seem likely to be fixed soon. It means that every so often my acme becomes unusable because it behaves as if a mouse button is permanently set. Avoid that issue by keeping track of mouse button state directly. While we're about it, fix another annoying issue: under Linux the FocusOut event reset the kstate field but not the kbuttons field, meaning that the buttons state could inappropriately persist. This happened occasionally by accident, but was easy to reproduce: with the mouse button held down, drag outside the window and click Alt-Tab to switch away from the window. We see a KeyDown event followed by FocusOut but no KeyUp event. Change-Id: I3708316478c80c41806d7157ae9929c6cd84b662
* .gitignore: add bin/mntgenIgor Burago2025-02-171-0/+1
|
* dist/main.html: remove dead link to Belorussian translationmacie2025-02-171-2/+0
| | | | | | According to web.archive.org this link is dead since 2012/2013. According to original issue (http://codereview.appspot.com/4251044) that translation could be a machine translation.
* man: don't paginate when using nroffAnthony Sorace2025-01-292-6/+9
| | | | | | This tells bin/man to set the register L to very high to avoid pagination and updates tmac/tmac.an to use that value, if it's set, to set the page length. This is per Plan 9's rc/bin/man and sys/lib/tmac/tmac.an.
* mac: arrange for arm64 run on arm64Russ Cox2024-10-222-3/+11
| | | | Makes 9term.app work again (not put you in an x86_64 jail).
* devdraw: handle shift of real mouse buttons correctlyRuss Cox2024-06-172-10/+23
|
* lib9: skip buggy S_ISCHR check in disksize on OpenBSDRuss Cox2024-06-151-2/+0
| | | | The portable code is already checking S_ISCHR anyway.
* man: update indexesRuss Cox2024-06-153-3/+11
|
* acme: remove debug printRuss Cox2024-06-151-1/+0
|
* acme: shift button 3 for reverse searchRuss Cox2024-06-1514-99/+269
| | | | | An experiment. Let's see if it's any good. Also document the Mac conventions in devdraw(3).
* all: quiet macOS build againRuss Cox2024-06-152-1/+5
|
* Remove redundant echoKevin Hovsäter2024-05-311-1/+0
|
* INSTALL: fix $PLAN9 in messageRuss Cox2024-04-061-0/+2
|
* tpic: clean upRuss Cox2024-04-065-8/+14
|
* acme: clean up environment after execRuss Cox2024-04-061-0/+9
| | | | Make up for the lack of a real rfork(RFENVG).
* .github/workflows/actions.yaml: Run CI on pull requests tooSevan Janiyan2024-01-091-1/+5
| | | | Not just on pushes
* .travis.yml: DeleteSevan Janiyan2024-01-091-41/+0
| | | | Service is no longer around.
* README.md: Add GH actions badgeSevan Janiyan2024-01-091-1/+1
|
* .github/workflows/actions.yaml: AddSevan Janiyan2024-01-091-0/+20
| | | | | | | | | Basic configuration which builds p9p on latest Ubuntu & macOS. Skipped on adding more operating systems as build would hold up waiting for runners, whereas with -latest targets, build starts immediately. Supported runners can be found on https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job
* mntgen: import mntgen(4) from Plan 9fgergo2024-01-092-0/+288
| | | | | new file: man/man4/mntgen.4 new file: src/cmd/mntgen.c
* ramfs: update to workfgergo2023-12-301-5/+4
| | | | | | | ramfs: update to work erealloc(p, 0) is handled correctly removed fprint(2, ... removed assert()
* 9l: silence the 'ignoring duplicate libraries' warning on macOSIgor Burago2023-12-181-0/+2
|
* 9l: refactor the warning-silencing mechanics to match that of 9cIgor Burago2023-12-182-21/+26
|
* page: fix viewing of graphicsRuss Cox2023-09-131-2/+4
| | | | 940f1fd6af broke page on non-PDF files.
* acme: have Dump save both low and high DPI fontnamesmatheuristic2023-09-051-4/+13
| | | | | | | | Instead of only saving a window's currently displayed font's name to the dump file, have Acme's Dump command save that window's combined low DPI and high DPI font names when both are available. See 9fans/plan9port#630
* libframe: Match the color of tickjapanoise2023-08-231-1/+1
| | | | | | | Previously the vertical bar in tick was always black; fine if you use the standard black-on-white for everything, but any attempt to add a dark mode ran into trouble with the tick being half hard-coded black, half the new text color.
* libdraw: fix subfont scalingmatheuristic2023-08-211-1/+1
| | | | | A subfont with n chars has n+1 Fontchars, so scalesubfont() needs to scale all n+1 info entries.
* libregexp: allow up to 127 captured subexpressions in one regexpIgor Burago2023-03-311-1/+1
| | | | 128 counting with the entire expression match ($0).
* plumber: increase NMATCHSUBEXP up to 100Igor Burago2023-03-311-1/+1
| | | | | Thus up to two-digit subexpression match variables are supported ($1 through $99) in addition to the entire expression match ($0).
* libregexp: allow up to 128 character classes in one regexpIgor Burago2023-03-311-2/+2
|
* README.md: Drop travis-ci badgeSevan Janiyan2023-03-301-1/+0
| | | Service is dead.
* plumber: use strtoul to parse subexpression match variable substitutionsIgor Burago2023-03-301-24/+9
|
* plumber: increase NMATCHSUBEXP up to libregexp's NSUBEXPIgor Burago2023-03-301-1/+1
|
* plumber: allow multi-digit subexpression match variable substitutionsIgor Burago2023-03-301-2/+23
|
* plumber: parametrize the number of stored match pattern subexpressionsIgor Burago2023-03-302-9/+15
|
* devdraw: Fix mouse wheel scrolling in 1-tick increments on macOSzakkor2023-03-291-3/+3
|
* Fix a typozhenya-10072023-01-231-1/+1
|
* Fix tyopDavid Arnold2023-01-091-1/+1
|
* acme: allow larger paste amountsRuss Cox2023-01-061-1/+1
|
* page: scale ppi on high-res displaysRuss Cox2023-01-061-8/+8
| | | | Also fix wording of -w warning.
* rio: check the return value of malloc(3)Tom Schwindl2022-09-123-0/+14
|
* fix double free bug, simplify error handling, reduce X11 callsMvA2022-09-111-63/+58
|