aboutsummaryrefslogtreecommitdiff
path: root/meson.build (follow)
Commit message (Collapse)AuthorAgeLines
* meson/pkgbuild: update version to 1.4.41.4.4releases/1.4Daniel Eklöf2020-07-29-1/+1
|
* meson/pkgbuild: bump version to 1.4.31.4.3Daniel Eklöf2020-07-27-1/+1
|
* meson: install LICENSE, README.md and CHANGELOG.mdDaniel Eklöf2020-07-25-1/+6
|
* meson/pkgbuild: bump to 1.4.21.4.2Daniel Eklöf2020-07-23-1/+1
|
* meson/pkgbuild: bump version to 1.4.11.4.1Daniel Eklöf2020-07-22-1/+1
|
* meson/pkgbuild: bump version to 1.4.0, require fcft 2.2.21.4.0Daniel Eklöf2020-07-22-2/+2
|
* term: break out fork+exec functionality to a separate fileDaniel Eklöf2020-07-15-0/+1
|
* selection: refactor: break out text extraction to a separate fileDaniel Eklöf2020-07-15-0/+1
|
* meson/PKGBUILD: bump fcft requirement to 2.2.0Daniel Eklöf2020-07-07-1/+1
|
* term: don't use deprecated fcft_size_adjust()Daniel Eklöf2020-07-07-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | When resizing the font on-the-fly, we now do a complete font-reload (this is basically what fcft_size_adjust() did anyway). To get the correct size, we maintain the current size ourselves. We get the initial size from the user-provided font pattern, by converting the string to an FcPattern, and using FcPatternGet() to retrieve both the FC_SIZE and FC_PIXEL_SIZE attributes. These attributes are then removed from the pattern, and the pattern is converted back to a string. The terminal struct maintains a copy of the font sizes. These are initially set to the sizes from the config. When the user resizes the font, the terminal-local sizes are adjusted. To ensure the primary and user-configured fallback fonts are resizes equally much, convert any pixel sizes to point sizes at this point. When the font size is reset, we reload the font sizes from the config (thus once again returning actual pixel-sizes, if that's what the user has configured).
* Add logo, fixes #27Lennard Hofmann2020-06-27-0/+1
| | | | | | The SVG can be scaled to any size, thus we only provide the "minimum" of PNGs as specified by XDG, see "Installing Application Icons" in https://specifications.freedesktop.org/icon-theme-spec/
* meson/PKGBUILD: require fcft 2.1.1Daniel Eklöf2020-06-02-1/+1
| | | | We really want that ÖCD RGB/BGR fix...
* meson: don't set -Wno-missing-profileDaniel Eklöf2020-05-25-2/+1
| | | | We don't do PGO by default
* meson: -fprofile-correction is automatically added by mesonDaniel Eklöf2020-05-25-1/+0
|
* reaper: new module, uses a signalfd to wait() on child processesDaniel Eklöf2020-05-21-0/+1
| | | | | | | | Use a signalfd to listen for SIGCHLD signals. When we receive a SIGCHLD over the signalfd, reap all dead children by looping over all registered child PIDs and call waitpid(WNOHANG) on them.
* meson: add -fprofile-correctionDaniel Eklöf2020-05-21-0/+1
|
* meson/PKGBUILD: bump version to 1.3.01.3.0releases/1.3Daniel Eklöf2020-05-13-1/+1
|
* unicode-combine: simplify - remove -Dunicode-precompose optionDaniel Eklöf2020-05-10-9/+6
| | | | | | | | | | Since the pre-composing functionality is now part of fcft, it makes little sense to have a compile time option - there's no size benefit to be had. Furthermore, virtually all terminal emulators do pre-composing (alacritty being an exception), this really isn't that controversial.
* meson/PKGBUILD: we now require fcft-2.1.0Daniel Eklöf2020-05-09-1/+1
|
* meson: explicitly define _POSIX_C_SOURCEDaniel Eklöf2020-05-09-1/+2
|
* unicode-precompose: use fcft's precompose functionalityDaniel Eklöf2020-05-09-12/+1
| | | | | | | | | | | | | This allows us more options when determining whether to use a pre-composed character or not: We now only use the pre-composed character if it's from the primary font, or if at least one of the base or combining characters are from a fallback font. I.e. use glyphs from the primary font if possible. But, if one or more of the decomposed glyphs are from a fallback font, use the pre-composed character anyway.
* meson: use find_program() to find 'tic'Daniel Eklöf2020-05-03-1/+2
|
* unicode-combining: store seen combining chains "globally" in the term structDaniel Eklöf2020-05-03-7/+3
| | | | | | | | | | | | | | | | | | | | Instead of storing combining data per cell, realize that most combinations are re-occurring and that there's lots of available space left in the unicode range, and store seen base+combining combinations chains in a per-terminal array. When we encounter a combining character, we first try to pre-compose, like before. If that fails, we then search for the current base+combining combo in the list of previously seen combinations. If not found there either, we allocate a new combo and add it to the list. Regardless, the result is an index into this array. We store this index, offsetted by COMB_CHARS_LO=0x40000000ul in the cell. When rendering, we need to check if the cell character is a plain character, or if it's a composed character (identified by checking if the cell character is >= COMB_CHARS_LO). Then we render the grapheme pretty much like before.
* meson: don't generate pre-compose table when -Dunicode-precompose=falseDaniel Eklöf2020-05-02-6/+10
|
* meson: only define FOOT_UNICODE_PRECOMPOSE if combining chars > 0Daniel Eklöf2020-05-02-2/+3
|
* meson: generate unicode compose tableDaniel Eklöf2020-05-02-1/+8
| | | | This replaces the pre-generated table used up until now.
* unicode-combine: remove utf8proc dependencyDaniel Eklöf2020-05-02-5/+7
| | | | | | | | | | | | We only used utf8proc to try to pre-compose a glyph from a base and combining character. We can do this ourselves by using a pre-compiled table of valid pre-compositions. This table isn't _that_ big, and binary searching it is fast. That is, for a very small amount of code, and not too much extra RO data, we can get rid of the utf8proc dependency.
* meson: emit a 'summary()' at the endDaniel Eklöf2020-05-01-0/+7
|
* utf8: add support for unicode combining charactersDaniel Eklöf2020-04-27-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This feature lets foot combine e.g. "a\u0301" to "á". We first check if the current character (that we're about to print) is a combining character, by checking if it's in one of the following ranges: * Combining Diacritical Marks (0300–036F), since version 1.0, with modifications in subsequent versions down to 4.1 * Combining Diacritical Marks Extended (1AB0–1AFF), version 7.0 * Combining Diacritical Marks Supplement (1DC0–1DFF), versions 4.1 to 5.2 * Combining Diacritical Marks for Symbols (20D0–20FF), since version 1.0, with modifications in subsequent versions down to 5.1 * Combining Half Marks (FE20–FE2F), versions 1.0, with modifications in subsequent versions down to 8.0 If it is, we check if the last cell appears to contain a valid symbol, and if so, we attempt to compose (combine) the last cell with the current character, using utf8proc. If the result is a combined character, we replace the content in the previous cell with the new, combined character. Thus, if you select and copy the printed character, you would get e.g. "\u00e1" instead of "a\u0301". This feature can be disabled. By default, it is enabled if the utf8proc library is found, but can be explicitly disabled, or enabled, with 'meson -Dunicode-combining=disabled|enabled'.
* meson: bump C standard to c18Daniel Eklöf2020-04-26-1/+1
|
* meson: dependency: use fallback without variable nameDaniel Eklöf2020-04-24-3/+3
| | | | | | | Now that both tllist and fcft use meson.override_dependency(), we can use the simpler form of fallback in our dependency call(). This requires meson >= 0.53, tllist >= 1.0.1 and fcft >= 2.0.0
* meson: we now require fcft 2.0.xDaniel Eklöf2020-04-23-1/+1
|
* meson: don't set -fno-stack-protectorDaniel Eklöf2020-04-04-2/+1
| | | | | Disabling the stack protection is generally bad, and I can't measure any performance drops with it enabled.
* meson/PKGBUILD: bump version to 1.2.31.2.3releases/1.2Daniel Eklöf2020-03-15-1/+1
|
* meson/PKGBUILD/changelog: bump to 1.2.11.2.1Daniel Eklöf2020-03-06-1/+1
|
* meson/PKGBUILD/changelog: prepare for 1.2.01.2.0Daniel Eklöf2020-03-06-1/+1
|
* search: enable/disable weston sub-surface desync quirk when rendering search boxDaniel Eklöf2020-03-01-0/+1
|
* sixel: add HLS color format supportDaniel Eklöf2020-02-22-0/+1
|
* sixel: initial supportDaniel Eklöf2020-02-21-0/+1
| | | | | | | | | This implements basic parsing of sixel data. Lots of limitations and temporary solutions as this is still work-in-progress: * Maximum image size hardcoded to 800x800 * No HLS color format support * Image is always rendered at 0x0 in the terminal
* meson: always disable stack-protector and enable strict-aliasingDaniel Eklöf2020-02-16-1/+6
|
* meson: strip build relative paths from file macrosDaniel Eklöf2020-02-16-1/+30
|
* meson/PKGBUILD: adjust fcft requirements; the new version is 1.1.1Daniel Eklöf2020-02-09-1/+1
|
* meson/PKGBUILD: bump fcft required version to 1.2.0Daniel Eklöf2020-02-08-1/+1
|
* fcft: update to 1.1.0Daniel Eklöf2020-02-01-1/+1
|
* desktop: add foot-server.desktop - launches a foot server instanceDaniel Eklöf2020-01-24-1/+1
|
* fcft: update to 1.0.0Daniel Eklöf2020-01-19-1/+1
| | | | | Allow/disallow subpixel antialiasing in font_glyph_for_wc(), not using font_enable_subpixel_antialias().
* meson/PKGBUILD: need fcft >= 0.4.3 to configure subpixel antialiasingDaniel Eklöf2020-01-18-1/+1
|
* meson/PKGBUILD: bump version to 1.1.01.1.0releases/1.1Daniel Eklöf2020-01-15-1/+1
|
* dcs: initial handling of DCS in generalDaniel Eklöf2020-01-12-0/+1
| | | | | | | | | | | | | | | | | | | | | | Add data structure to term->vt. This structure tracks the free-form data that is passed-through, and the handler to call at the end. Intermediates and parameters are collected by the normal VT parser. Then, when we enter the passthrough state, we call dcs_hook(). This function checks the intermediate(s) and parameters, and selects the appropriate unhook handler (and optionally does some execution already). In passthrough mode, we simply append strings to an internal buffer. This might have to be changed in the future, if we need to support a DCS that needs to execute as we go. In unhook (i.e. when the DCS is terminated), we execute the unhook handler. As a proof-of-concept, handlers for BSU/ESU (Begin/End Synchronized Update) has been added (but are left unimplemented).
* wayland: optionally use the presentation time protocol to measure input lagDaniel Eklöf2019-12-31-0/+1
| | | | | | | | | | | | | | | | | | | This adds a flag, -p,--presentation-timings, that enables input lag measuring using the presentation time Wayland protocol. When enabled, we store a timestamp when we *send* a key to the slave. Then, when we commit a frame for rendering to the compositor, we request presentation feedback. We also store a timestamp for when the frame was committed. The 'presented' callback then looks at the input and commit timestamps, and compares it with the presented timestamp. The delay is logged at INFO when the delay was less than one frame interval, at WARN when it was one frame interval, and at ERR when it was two or more frame intervals. We also update statistic counters that we log when foot is shut down.
* PKGBUILD/meson: bump version to 1.0.01.0.0releases/1.0Daniel Eklöf2019-12-15-1/+1
|
* meson: we now require -lmDaniel Eklöf2019-12-05-1/+3
|
* meson: require fcft 0.4.xDaniel Eklöf2019-12-05-1/+1
|
* meson: we don't need -lm anymoreDaniel Eklöf2019-12-03-3/+0
|
* meson: we don't need -lm anymoreDaniel Eklöf2019-12-03-1/+1
|
* fcft: update to 0.3.0Daniel Eklöf2019-12-03-1/+1
| | | | | fcft now calculates the underline and strikeout integer positions, making our rendering code much simpler.
* selection: break out isword() to a new fileDaniel Eklöf2019-12-03-0/+1
|
* meson: require fcft 0.2.0Daniel Eklöf2019-12-01-1/+1
|
* meson: fcft: version must be 0.1.xDaniel Eklöf2019-12-01-1/+1
|
* PKGBUILD/meson: add version requirements to tllist+fcftDaniel Eklöf2019-12-01-2/+2
|
* meson: tllist/fcft: use system dependency first, fallback to subprojectsDaniel Eklöf2019-12-01-14/+3
|
* meson/PKGBUILD: we no longer depend directly on fontconfig/freetypeDaniel Eklöf2019-12-01-3/+1
|
* meson: tllist/fcft: oops, forgot to set 'required: false'Daniel Eklöf2019-12-01-2/+2
|
* fcft: use fcft instead of local copy of font.c/font.hDaniel Eklöf2019-12-01-2/+8
|
* meson: tllist: try subproject first, then fallback to system dependencyDaniel Eklöf2019-12-01-1/+6
|
* meson: add 'version' dependency to footclientDaniel Eklöf2019-11-18-1/+1
| | | | | footclient (`client.c`, to be precise) includes `version.h`, which is a generated file.
* tllist: use tllist from external git repositoryDaniel Eklöf2019-11-17-2/+4
|
* async: add async_write(), a write primitive to write to a NONBLOCK:ing FDDaniel Eklöf2019-11-04-0/+1
|
* client: a standalone binary that connects to a foot --serverDaniel Eklöf2019-11-01-0/+6
|
* server: implement a --server modeDaniel Eklöf2019-11-01-0/+1
| | | | | | | | | | | In this mode, foot listens on a UNIX socket and creates terminal windows when clients connect. A connecting client sends argc/argv to the server, and the server instantiates a new terminal window. When the terminal window is closed, the exit code is sent back to the client.
* kbd: move into waylandDaniel Eklöf2019-10-27-1/+0
|
* kbd: break out XKB kbd struct to a separate fileDaniel Eklöf2019-10-27-0/+1
|
* wayland: implement wayl_destroy()Daniel Eklöf2019-10-27-1/+1
|
* wayland: move wayland struct definitions to a separate fileDaniel Eklöf2019-10-27-0/+1
|
* fdm: use the FDM's poll loopDaniel Eklöf2019-10-27-0/+1
|
* completions: add zsh completionsDaniel Eklöf2019-10-20-0/+1
|
* meson: fix version generation from gitDaniel Eklöf2019-10-19-26/+10
| | | | | | | | | | run_command() was only run at configure time, meaning the generated version (that was passed on to the sources via -DFUZZEL_VERSION) became stale. Fix by implementing a shell script that generates a header file, and wrap this in a custom target that is run every time (but the generated file is only updated when the version changes)
* meson: install footrc example file to $datadir/foot/footrcDaniel Eklöf2019-09-20-0/+1
|
* main: request server-side decorationsDaniel Eklöf2019-08-30-0/+1
|
* search: wip: re-direct input while searching, and build a search bufferDaniel Eklöf2019-08-27-0/+1
| | | | | | | | | | | This adds a new state, 'is_searching'. While active, input is re-directed, and stored in a search buffer. In the future, we'll use this buffer and search for its content in the scrollback buffer, and move the view and create a selection on matches. When rendering in 'is_searching', everything is dimmed. In the future, we'll render the current search buffer on-top of the dimmed "regular" terminal output.
* meson: remove unused wayland protocolsDaniel Eklöf2019-08-17-2/+0
|
* Remove all references to cairo; we now use pixman onlyDaniel Eklöf2019-08-16-2/+1
|
* meson: add pixman dependencyDaniel Eklöf2019-08-16-1/+3
|
* output: initial support for output scalingDaniel Eklöf2019-08-12-0/+1
| | | | | | * Not updated run-time; only scale at start up used * Multiple monitors (outputs) not supported, as we can't track which output we're on (yet).
* doc: add foot.1 man pageDaniel Eklöf2019-08-11-0/+2
|
* main: add -h,--help and -v,--version command line optionsDaniel Eklöf2019-08-11-2/+23
|
* font: set FT load and render flags from FontConfig propertiesDaniel Eklöf2019-07-29-1/+1
|
* cairo-ft: remove all usages of cairo-ftDaniel Eklöf2019-07-28-2/+1
|
* terminfo: add XM (mouse initialization)Daniel Eklöf2019-07-21-1/+1
|
* dcs: we have no parent terminal to pass through toDaniel Eklöf2019-07-21-1/+0
|
* base64: initial base64 decode implementationDaniel Eklöf2019-07-19-0/+1
|
* dcs: sort of implement DCS passthroughDaniel Eklöf2019-07-19-0/+1
| | | | | | | We now store the passthrough characters in a buffer, and call dcs_passthrough() on unhook. However, dcs_passthrough() doesn't do anything.
* terminfo: intitial terminfo specificationDaniel Eklöf2019-07-18-0/+8
|
* slave: break out command line tokenizerDaniel Eklöf2019-07-17-0/+1
|
* conf: initial support for configuration fileDaniel Eklöf2019-07-16-0/+1
| | | | | | | * Look for configuration file in (in this order): - XDG_CONFIG_HOME/footrc - ~/.config/footrc * Currently supports setting the font
* meson: install foot.desktopDaniel Eklöf2019-07-15-0/+2
|
* rename project to 'foot'Daniel Eklöf2019-07-11-2/+2
|
* selection: add support for pasting *from* primaryDaniel Eklöf2019-07-11-0/+1
|
* selection: add a selection APIDaniel Eklöf2019-07-11-0/+1
|
* wip: initial scroll back supportDaniel Eklöf2019-07-09-0/+1
| | | | | | | | | | | | | | | | | | | | | | | Can scroll up and down, and stops when the beginning/end of history is reached. However, it probably breaks when the entire scrollback buffer has been filled - we need to detect when the view has wrapped around to the current terminal offset. The detection of when we've reached the bottom of the history is also flawed, and only works when we overshoot the bottom with at least a page. Resizing the windows while in a view most likely doesn't work. The view will not detect a wrapped around scrollback buffer. I.e. if the user has scrolled back, and is stationary at a view, but there is still output being produced. Then eventually the scrollback buffer will wrap around. In this case, the correct thing to do is make the view start following the beginning of the history. Right now it doesn't, meaning once the scrollback buffer wraps around, you'll start seeing command output...