Commit Graph

11928 Commits

Author SHA1 Message Date
Dane Jensen
a7843a2a7e Bugfixes and documentation updates. 2026-07-25 15:07:29 -07:00
Dane Jensen
60f9170804 Fixed control_window_changed_layout_cb
It now emits the correct client informatiom.
2026-07-25 15:07:28 -07:00
Dane Jensen
6198f503f1 Pulled out json into its own file, added better error reporting, and
added the parse context with some bug fixes.
2026-07-25 15:07:28 -07:00
Dane Jensen
dee1df6ad9 Added regression test. 2026-07-25 15:07:28 -07:00
Dane Jensen
c62e965182 Fixed two null dereferences. 2026-07-25 15:07:28 -07:00
Dane Jensen
67f376bfb2 Fixed whitespace parsing bug for literals. 2026-07-25 15:07:28 -07:00
Dane Jensen
6a762dde8c Bug fixes and touchups. 2026-07-25 15:07:28 -07:00
Dane Jensen
95fe51fce9 missing const 2026-07-25 15:07:28 -07:00
Dane Jensen
b4cfb49359 Updated comments. 2026-07-25 15:07:28 -07:00
Dane Jensen
1a5f91e05d fixes from feedback.
Also moved away from individual allocations and implemented basic string
views.
2026-07-25 15:07:28 -07:00
Dane Jensen
ffeffa5450 Bug fixes.
Lots of memory leak/double frees.
2026-07-25 15:07:28 -07:00
Dane Jensen
179467fd29 bug fix 2026-07-25 15:07:28 -07:00
Dane Jensen
f636374fc0 comment clarity. 2026-07-25 15:07:28 -07:00
Dane Jensen
963d2b2445 Fixes from feedback.
Added a tokenizer and JSON parser for version 2. It is extendable to be
useful into the future. Converted `layout_append_v1` to use `struct
layout_string`.
2026-07-25 15:07:28 -07:00
Dane Jensen
3d43706627 Updated documentation. 2026-07-25 15:07:28 -07:00
Dane Jensen
7f2dbd869f Added small comment to explain the two formats in layout-custom.c 2026-07-25 15:07:28 -07:00
Dane Jensen
3b74115c61 Old format does not dump floating cell information. 2026-07-25 15:07:28 -07:00
Dane Jensen
ea4641c941 Changed from feedback. 2026-07-25 15:07:28 -07:00
Dane Jensen
b482c1a48b Changed key for top level layout field to "L" 2026-07-25 15:07:28 -07:00
Dane Jensen
fa3b7a9d7f Changed v2 of the layout string format to be a subset of JSON. 2026-07-25 15:07:28 -07:00
Dane Jensen
568925a757 Added client flag to enable the new format when in control mode. Added
back the old format which is dispatched to. Also added attributes to the
format.
2026-07-25 15:07:28 -07:00
Dane Jensen
69d9697cd5 Cleaned up some of the implementation and moved flags to the front. 2026-07-25 15:07:28 -07:00
Dane Jensen
6326306425 Updated the layout string format to be more readable and include flags. 2026-07-25 15:07:28 -07:00
tmux update bot
29bf7fe2f7 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Replace outside as well as empty cells with the border.
2026-07-24 11:46:46 +00:00
nicm
47f210a9d2 Replace outside as well as empty cells with the border. 2026-07-24 11:46:45 +00:00
Nicholas Marriott
e361982acf Fix some tests. 2026-07-24 09:49:32 +01:00
Nicholas Marriott
cc7eea1e34 Merge pull request #5423 from ilyagr/jemalloc-and-asan-mutually-exclusive
configure.ac: don't enable jemalloc if ASAN enabled on macOS, error if both enabled
2026-07-24 07:10:52 +01:00
Ilya Grigoriev
0ec289545a configure.ac: don't enable jemalloc if ASAN enabled on macOS, error if both enabled
ASAN and jemalloc both replace `malloc` with their version.

Previously, configuring with `--enable-asan` on macOS would enable both
jemalloc and ASAN. I'm not sure which one won, but seemed undesired.
2026-07-23 17:43:23 -07:00
tmux update bot
190b5bde16 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Extend fill-character to allow inside and outside to be separate and use a different default (filled characters rather than dots) for inside.
2026-07-23 11:33:53 +00:00
nicm
8862390c34 Extend fill-character to allow inside and outside to be separate and use
a different default (filled characters rather than dots) for inside.
2026-07-23 11:33:52 +00:00
Nicholas Marriott
c59230316b Update CHANGES. 2026-07-23 12:23:12 +01:00
Nicholas Marriott
a2f3bdb601 fill-character test bits. 2026-07-23 10:38:27 +01:00
Nicholas Marriott
689e6f8fac Add jemalloc to regress dependencies. 2026-07-23 09:30:16 +01:00
Nicholas Marriott
6049298140 Show what we have found during configure. 2026-07-23 09:26:57 +01:00
Nicholas Marriott
a10ed3233c Require jemalloc on macOS. 2026-07-23 09:26:42 +01:00
Nicholas Marriott
7568c19276 Log jemalloc version if in use. 2026-07-23 09:12:16 +01:00
Nicholas Marriott
fb88172346 Turn ASAN off again on macOS. 2026-07-23 08:59:49 +01:00
Nicholas Marriott
26bdd2b511 On macOS, look for utf8proc with no arguments and use it if provided. Only
require a flag if it is not available.
2026-07-23 08:59:04 +01:00
Nicholas Marriott
38feebb5d2 Show options tests. 2026-07-23 08:06:09 +01:00
tmux update bot
7428b0431a Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Switch show-options over to using a format and add -F.
  Add a menu on empty areas to allow a new pane to be created.
2026-07-22 22:06:21 +00:00
nicm
7277712ca8 Switch show-options over to using a format and add -F. 2026-07-22 22:06:20 +00:00
nicm
2a5389416a Add a menu on empty areas to allow a new pane to be created. 2026-07-22 22:06:20 +00:00
tmux update bot
597d04ed78 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Show user hooks correctly with show-hooks.
2026-07-22 20:06:33 +00:00
nicm
9625fe3b5f Show user hooks correctly with show-hooks. 2026-07-22 20:06:31 +00:00
Nicholas Marriott
09a2ea190d Update test. 2026-07-22 20:24:21 +01:00
Nicholas Marriott
18fc547b82 Update show hooks tests. 2026-07-22 19:58:55 +01:00
tmux update bot
242239b561 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Add A modifier to cycle through a series of values, GitHub issue 5412 from Fernando Daciuk.
2026-07-22 15:11:40 +00:00
nicm
bd4ac02994 Add A modifier to cycle through a series of values, GitHub issue 5412
from Fernando Daciuk.
2026-07-22 15:11:38 +00:00
Nicholas Marriott
0868435e81 Add test for A: modifier, from Fernando Daciuk. 2026-07-22 14:17:22 +01:00
tmux update bot
7abb9af062 Merge remote-tracking branch 'refs/remotes/tmux-openbsd/master'
* refs/remotes/tmux-openbsd/master:
  Clip floating panes exactly at window edge, don't let the border creep into the first outside column.
  Invalidate scene when window is resized.
  Add a -C flag to new-pane to have a modal pane close when the mouse is clicked outside it, GitHub issue 5400.
2026-07-21 15:06:24 +00:00