Commit Graph
100 Commits
Author SHA1 Message Date
p bb75c8e4fa liberty-xui: add transposition to the line editor
Alpine 3.24 Success
OpenBSD 7.8 Success
2026-08-10 13:09:10 +02:00
p 8fdb6c702d liberty-xui: improve X11 focus handling
Alpine 3.24 Success
OpenBSD 7.8 Success
Pressing a global keyboard shortcut no longer defocuses us.

IBus is actually still not quite happy with something.
2026-08-10 10:05:48 +02:00
p 9c0f8df784 liberty-xui: add support for positioned preedit
Alpine 3.24 Success
OpenBSD 7.8 Success
In fact, all X11 XUI applications should now position their input,
or the IME will be placed in the lower left window corner.
2026-08-10 05:36:08 +02:00
p be66e0e00a liberty-xui: update source code comments 2026-08-08 15:53:30 +02:00
p fb6170f2b6 liberty-xui: speed up X11 labels
Alpine 3.24 Success
OpenBSD 7.8 Success
Avoid pointless normalisation and memory allocation.
2026-08-08 04:10:04 +02:00
p c0ea24d92d liberty-xui: add shell out and XEmbed support
Alpine 3.24 Success
OpenBSD 7.8 Success
To allow for program composition.
2026-08-07 08:04:26 +02:00
p 7f2156c3d7 Eliminate an annoying compilation warning
Alpine 3.24 Success
OpenBSD 7.8 Success
2026-08-05 09:28:15 +02:00
p 998122267b liberty-xui: teach the TUI vertical clipping
Alpine 3.24 Success
OpenBSD 7.8 Success
Specifically for line-wrapped text within scrolled lists.
2026-08-05 08:30:33 +02:00
p c7fdd8ec58 liberty-xui: render multiline padding widgets
Also render that padding underneath labels.
2026-08-05 07:04:18 +02:00
p 12063aecde liberty-xui: clear X11 clip before rendering bg
Alpine 3.24 Success
OpenBSD 7.8 Success
2026-07-31 01:40:09 +02:00
p e90abbd03c liberty-xui: import some widgets from nncmpp
Alpine 3.24 Success
OpenBSD 7.8 Success
- The symbol is what used to be a button, but more aptly named.
 - The scrollbar is adjusted to avoid using the Full Block character.
 - The gauge is adjusted to span the whole height,
   and displays a ratio, using only a single attribute
   which is inverted as necessary.

Widgets now contain text through a pointer, which may still point
right past the structure itself.  This change makes them subclassable,
which is what all of these widgets need.
2026-07-30 17:33:56 +02:00
p 2453d4d0b1 liberty-xui: improve clipping on X11
Alpine 3.24 Success
OpenBSD 7.8 Success
We used to clip text but not widget backgrounds,
resulting in an odd undesirable mix.
2026-07-29 22:16:03 +02:00
p 0af42f975c liberty-xui: fix X11 FontConfig patterns
Look for styles by parameters rather than literal font names,
which is likely to fail, e.g., on Oblique vs Italic for some fonts.
2026-07-29 22:14:41 +02:00
p d4f81ffa89 liberty-xui: expose beeping
Sometimes we may want to beep asynchronously.
2026-07-29 22:14:25 +02:00
p fbb577f3f8 CMakeLists.txt: use scoped target_link_libraries
Alpine 3.23 Success
OpenBSD 7.8 Success
2026-07-20 01:57:16 +02:00
p b7f6b0c757 AddThreads.cmake: use scoped target_link_libraries
Alpine 3.23 Success
OpenBSD 7.8 Scripts failed
"All uses of target_link_libraries with a target must be either
all-keyword or all-plain." and this is the superiour choice.
2026-07-20 01:46:51 +02:00
p f28aa74e6b asciiman: match __a_b__ and **b*c** properly
Alpine 3.23 Success
OpenBSD 7.8 Success
The former is italic "a_b" and the latter is bold "b*c".
2026-07-15 05:39:21 +02:00
p eb01667896 liberty-xui: clear a linked list after freeing it
Alpine 3.23 Success
OpenBSD 7.8 Success
This is basically masking a use-after-free somewhere else,
but it also doesn't hurt anything.
2026-05-30 20:03:17 +02:00
p d7c70bd43a liberty-xui: add AppKit support
Alpine 3.23 Success
OpenBSD 7.8 Success
IME is not working, otherwise feature parity with X11.
2026-05-25 20:50:02 +02:00
p c0eda1c23f liberty-xui: circumvent an Nvidia issue
Alpine 3.22 Success
OpenBSD 7.8 Success
2025-11-29 00:16:49 +01:00
p 7566f9af82 liberty: comment on pthread_cancel
Alpine 3.21 Success
OpenBSD 7.6 Success
2025-09-21 18:59:16 +02:00
p 7425355d01 liberty-xui: fix a new Fontconfig warning
Alpine 3.21 Success
OpenBSD 7.6 Success
2025-08-02 18:22:00 +02:00
p d8f785eae5 liberty-xdg: don't crash on missing X11 atoms
Alpine 3.21 Success
OpenBSD 7.6 Success
They can be missing in bare configurations, such as Sway + XWayland.
2025-06-04 21:54:04 +02:00
p 31ae400852 LibertyXDR: update VIM syntax highlight file
Alpine 3.21 Success
OpenBSD 7.6 Success
2025-05-07 19:47:43 +02:00
p b69d3f8692 LibertyXDR: add support for default in unions 2025-05-07 19:42:46 +02:00
p 9a26284a64 wdye: clean up protected calls
Have a common way of catching Lua errors for resource cleanup purposes.
2025-01-15 02:21:23 +01:00
p 0f20cce9c8 wdye: pass script arguments
Alpine 3.20 Success
OpenBSD 7.5 Success
2025-01-10 10:58:27 +01:00
p 017cb1d570 MPD client: tolerate usage while disconnected
Alpine 3.20 Success
OpenBSD 7.5 Success
If the client is password-protected, this will not automagically
make queued up commands work, but it's better than hitting
the poller assertion.
2025-01-08 08:07:46 +01:00
p 1642d387f3 wdye: rename the self-test
add_subdirectory imports it to parent projects, so be more indicative.
2025-01-08 06:24:05 +01:00
p af889b733e wdye: ensure we find our own config.h
Alpine 3.20 Success
OpenBSD 7.5 Success
2025-01-08 06:14:47 +01:00
p 51231d84ba wdye: clean up, add process.pid
OpenBSD 7.5 Success
Alpine 3.20 Success
2025-01-07 03:16:37 +01:00
p 6c47e384f5 wdye: optionally produce asciicast v2 logs
Alpine 3.20 Success
OpenBSD 7.5 Success
I've been fairly disappointed with asciinema,
but it's slightly better than nothing.
2025-01-06 17:03:54 +01:00
p 914e743dc4 wdye: don't add the script path on error
Alpine 3.20 Success
OpenBSD 7.5 Success
Lua already provides this for us, including the line number.
2025-01-06 14:40:58 +01:00
p 37a8f16235 wdye: enable waiting for processes 2025-01-06 14:29:41 +01:00
p 9fe576ae9e wdye: read out the whole terminfo database
Alpine 3.20 Success
OpenBSD 7.5 Success
Also update LICENSE years.
2025-01-06 11:59:46 +01:00
p 5c02778ff8 wdye: improve portability
Alpine 3.20 Success
OpenBSD 7.5 Success
2025-01-06 10:14:49 +01:00
p e40d56152d Add an Expect-like tool
Alpine 3.20 Success
OpenBSD 7.5 Success
This is to provide an Expect utility with a minimal dependency tree
for C-based projects.  It also addresses some Tcl Expect design issues,
as perceived by me.
2025-01-06 08:30:14 +01:00
p 21379d4c02 Update README
Alpine 3.20 Success
OpenBSD 7.5 Success
2025-01-01 23:36:55 +01:00
p 9268fb8eba help2adoc: fix nawk
Alpine 3.20 Success
2024-12-31 20:34:48 +01:00
p b01df19b80 asciiman: have fewer "unexpected EOF" situations
Alpine 3.20 Scripts failed
Easily caused by the new help2adoc.
2024-12-31 20:25:51 +01:00
p 09e635cf97 Add a --help/--version to AsciiDoc convertor
liberty is now self-contained, from opt_handler to manual page.
2024-12-31 20:25:51 +01:00
p 7560e8700e cmake-parser: improve portability 2024-12-31 06:47:31 +01:00
p 1930f138d4 IconUtils: add Apple Icon Image format support
Alpine 3.20 Success
2024-12-17 06:20:12 +01:00
p 32cbb15266 Serialize integer-ish config keys properly
Alpine 3.20 Success
2024-12-16 09:09:03 +01:00
p 149938cc44 lxdrgen-cpp: add a Qt backend
Alpine 3.20 Success
Motivation: some Android NDKs do not have iconv.
2024-12-15 06:44:06 +01:00
p 62f8a7d05f lxdrgen-cpp: fix test build on macOS
Alpine 3.20 Success
2024-12-04 17:44:30 +01:00
p 492815c8fc lxdrgen-go: fix compatibility with 32-bit targets
Alpine 3.20 Success
2024-11-09 17:06:46 +01:00
p aacf1b1d47 lxdrgen-go: improve usability
Alpine 3.20 Success
Turning union tags into read-only methods of actual types:
 - eliminates duplicated JSON unmarshalling of tags,
 - makes AppendTo/ConsumeFrom symmetrical in nature,
 - eliminates duplicated AppendTo code,
 - eliminates trivial AppendTo methods for subtypes without fields,
 - gives us an opportunity to use a more specific interface than "any"
   (the type being anonymous is an acknowledged inconvenience).

Implementing our own json.Marshalers some time ago
(for performance reasons) has made this easier to implement.

Also rename "Interface" fields to more suitable "Variant".
2024-11-07 11:01:41 +01:00
p 49d7cb12bb Fix calloc argument order
Alpine 3.20 Success
2024-08-08 09:34:33 +02:00
p fdf845d0bd const-qualify configuration schema items in tests 2024-08-08 09:21:16 +02:00
p 75fc6f1c37 const-qualify configuration schema items
Alpine 3.20 Success
2024-08-08 08:53:49 +02:00
p 8a8437634a MPD client: fix argument quoting
Alpine 3.20 Success
2024-08-07 22:04:00 +02:00
p e78b410a6a MPD client: save the protocol version 2024-08-07 22:03:08 +02:00
p bf44e827e8 liberty-xui: mention libgrapheme 2024-07-10 17:38:39 +02:00
p 8386af0420 Silence an OpenBSD linker warning
Alpine 3.19 Success
2024-04-10 17:54:34 +02:00
p f04cc2c61e Add MinGW-w64 CMake toolchain files
Alpine 3.19 Success
2024-04-09 17:01:07 +02:00
p 969a4cfc3e liberty-xui: clip terminal drawing 2024-02-27 00:27:54 +01:00
p ad5b2fb8cd asciiman: mildly improve compatibility
git manual pages render a little bit more sensibly now.
2024-02-12 10:57:23 +01:00
p 2a1f17a8f7 liberty-xdg: add desktop entry parser tests
And fix a discovered bug.
2024-02-10 12:49:01 +01:00
p 8d56fae41b liberty-xdg: actually make libpng optional 2024-02-10 12:20:44 +01:00
p 0239a4242a liberty-xdg: fix usage of volatile 2024-02-10 10:16:27 +01:00
p 1966b81b4d liberty-xui: tolerate zero-area ConfigureNotify
Happens when launching from a fullscreen window in i3.
2024-02-10 10:07:09 +01:00
p f8c6ac2ed1 Make liberty-xui load PNG program icons
X11 applications now have a dependency on libpng.

This makes use of a new related liberty-xdg module,
which can be used separately.
2024-02-10 10:07:09 +01:00
p f32bcbd7f4 Add helper functions for reading binary numbers
And make use of them.
2024-02-10 07:02:54 +01:00
p c5424e6992 Comment on write_file_safe()'s actual safety 2024-02-10 06:16:27 +01:00
p cb9d162a26 Add a CMake module for icon conversions 2024-02-10 05:39:15 +01:00
p db6357db9a CMakeLists.txt: declare compatibility with 3.27
Sadly, the 3.5 deprecation warning doesn't go away after this.
2023-08-01 03:22:17 +02:00
p 7a0cb13a1a MPD client: fix build on OpenIndiana 2023-07-24 08:33:45 +02:00
p b6c54073cd Find ncursesw on OpenIndiana 2023-07-24 08:09:08 +02:00
p 62166f9679 lxdrgen-cpp-win32: fix return value handling 2023-07-10 09:34:42 +02:00
p 2edc9c6fd1 Add a C++ backend for LibertyXDR
Also change the C backend so that it also de/serializes
unions without any other fields besides the tag.
2023-07-07 16:43:52 +02:00
p f78f8a70f1 lxdrgen-swift: fix prefix handling
"Any prefix will work, so long as it's 'Relay'."
2023-07-06 11:01:51 +02:00
p be9a3e693e lxdrgen-swift: fix warnings with exhaustive unions 2023-07-06 06:54:23 +02:00
p 53197b51e5 Add a Swift backend for LibertyXDR 2023-07-06 06:54:22 +02:00
p 8466d0d850 CMakeLists.txt: link properly 2023-07-04 08:08:29 +02:00
p 4c2874649d liberty-xui: fix build on systems without A_ITALIC 2023-07-04 06:40:54 +02:00
p 717c301207 lxdrgen: fix decapitalization
decapitalize() is typically called on snaketocamel() output,
which always makes the first letter uppercase.
2023-06-28 16:24:59 +02:00
p 091f92bab3 liberty-xui: fix a build warning
On macOS, TIOCGWINSZ seems to be defined earlier.
2023-06-28 16:24:59 +02:00
p 556c25855e Fix a CMake warning 2023-06-20 01:24:29 +02:00
p d01a1ff034 Turn liberty-tui into a terminal/X11 hybrid
Importing code from nncmpp, adjusting it to work with hex as well.
2023-06-19 13:06:12 +02:00
p bd1013f16a Parse block attribute list lines
This code is of strategic importance, but its output is so far unused.
2023-06-11 10:02:16 +02:00
p 29bf109a51 asciiman: improve attribute handling 2022-10-09 18:43:37 +02:00
p 0e86ffe7c3 asciiman: fixes, improve mandoc compatibility 2022-10-09 01:01:08 +02:00
p cbeb4e3133 Improve documentation 2022-10-04 01:46:41 +02:00
p 0f3ed14575 asciiman: support attribute passing 2022-09-30 18:13:01 +02:00
p 089593bb0f asciiman: render libertyxdr.adoc properly 2022-09-30 15:01:14 +02:00
p 035bfe5e81 Document the recently added scripts 2022-09-30 03:09:04 +02:00
p ebbe7a1672 Import protocol code generator from xK, add tests
Also add a VIM syntax highlighting file.

This also fixes some previously untriggered bugs.
2022-09-30 03:06:36 +02:00
p 4c3837ae2c cmake-parser: clean up 2022-09-28 00:06:51 +02:00
p af2756ee01 Add a rudimentary CMake script parser 2022-09-27 23:27:06 +02:00
p 688c458095 asciiman: fix the first line of output 2022-09-25 21:11:45 +02:00
p 34460ca715 asciiman: improve command escaping 2022-09-25 20:55:51 +02:00
p 9883caf849 Add a stupid AsciiDoc to manual page converter
Most of my projects that could need it make use of liberty.
2022-09-25 20:07:10 +02:00
p 22a121383f Allow for overriding feature test macros 2022-09-11 00:44:14 +02:00
p 0e89bb9f46 Add some consts to function arguments 2022-09-01 12:44:58 +02:00
p 63aed8f0fd Fix up the PEG change from the last commit
This is not a regular expression.
2022-08-14 19:09:52 +02:00
p f545be725d Extend string syntax in config
And actually test the results of string parsing.
2022-08-14 18:14:21 +02:00
p 7e8e085c97 Remove pointless, wrong constant
C99 allows trailing commas.
2021-12-18 00:25:13 +01:00
p 782a9a5977 Import libpulse poller integration, add tests 2021-11-07 15:37:21 +01:00
p 34f86651f6 Update .gitignore 2021-10-30 03:31:08 +02:00