aboutsummaryrefslogtreecommitdiff
path: root/meson.build (follow)
Commit message (Collapse)AuthorAgeLines
* meson/pkgbuild: bump version to 1.6.21.6.2Daniel Eklöf2020-12-21-1/+1
|
* meson: default to c11sterni2020-12-21-1/+1
| | | | | We don't need any C18 specifics, so C11 is also fine and more widely supported (i. e. in older clang versions).
* meson: add wl_proto_headers to pgo executableDaniel Eklöf2020-12-20-1/+1
| | | | This fixes a build failure of pgo.o
* meson: add missing "wl_proto_headers" dependency for pgolib and vtlibCraig Barnes2020-12-20-0/+2
| | | | | | | | | | | | | | Dependency chains: * pgolib -> terminal.c -> terminal.h -> wayland.h * vtlib -> csi.c -> config.h -> wayland.h wayland.h includes <primary-selection-unstable-v1.h>, which must be generated by a custom_target() rule *before* any sources that require it are built. Failure to fully specify these dependencies can otherwise result in a race condition, where a dependent source file gets compiled (and fails with a "header not found" error) before the header itself has been generated.
* meson/pkgbuild: bump version to 1.6.01.6.0Daniel Eklöf2020-12-18-1/+1
|
* notify: break out desktop notifications from osc.cDaniel Eklöf2020-12-10-0/+1
|
* features: include compile-time enable/disable state of features when printing versionDaniel Eklöf2020-12-07-0/+2
|
* ime: make IME compile-time optionalDaniel Eklöf2020-12-07-6/+9
|
* ime: wip: add text-input object to seatDaniel Eklöf2020-12-07-0/+2
|
* Merge branch 'releases/1.5'Daniel Eklöf2020-12-01-1/+1
|\
| * meson/pkgbuild: bump version to 1.5.41.5.4releases/1.5Daniel Eklöf2020-12-01-1/+1
| |
* | pgo: pull in selection.c in pgolibDaniel Eklöf2020-11-22-2/+3
| | | | | | | | | | Some of the selection functions are in the hot path, so this makes a huge difference!
* | pgo: move pgo.c and pgo stimuli to pgo directoryDaniel Eklöf2020-11-22-1/+1
| |
* | meson: link ‘pgo’ with -lm and -pthreadsDaniel Eklöf2020-11-22-1/+1
| |
* | meson: move log.{c,h} to ‘misc’Daniel Eklöf2020-11-22-1/+1
| |
* | meson: add ‘version.h’ to vtlibDaniel Eklöf2020-11-22-0/+1
| |
* | meson: vtlib: add missing ‘fcft’ dependecyDaniel Eklöf2020-11-22-1/+1
| |
* | meson: add missing ‘tllist’ dependency to vtlib, pgolib and pgoDaniel Eklöf2020-11-22-3/+3
| |
* | wip: pgo without WaylandDaniel Eklöf2020-11-22-13/+37
| | | | | | | | | | | | | | | | | | * Split up source files into several static libraries: misc + vtlib * Add a new executable, pgo, that links to vtlib * pgo is kind of like a mock test: - provides stub implementations of functions not present in vtlib - sets up a dummy terminal instance - calls vt_from_slave() with static (pre-generated) content
* | client/server: simplify setup packet handlingDaniel Eklöf2020-11-21-2/+2
| | | | | | | | | | | | Instead of writing (and logging errors for) every parameter, one at a time, send all fixed size data in a single struct, followed by all the variable length data.
* | hsl: add our own implementations of rgb-to-hsl and hsl-to-rgbDaniel Eklöf2020-11-15-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * New function: rgb_to_hsl() * New function: hsl_to_rgb() * Replace XTerm’s hls_to_rgb() with our own, hsl_to_rgb(). * Ensure hue/lum/sat values are within range before calling hsl_to_rgb() Note that sixels’ use the following primary hues: * blue: 0° * red: 120 * green: 240° While “standard” HSL uses: * red: 0° * green: 120° * blue: 240° Thus, we need to adjust the sixel’s hue value before calling hsl_to_rgb().
* | Merge branch 'releases/1.5'Daniel Eklöf2020-11-06-1/+1
|\|
| * meson/pkgbuild: bump version to 1.5.31.5.3Daniel Eklöf2020-11-06-1/+1
| |
* | uri: add uri_parse() - new function extracts components from an URIDaniel Eklöf2020-10-28-0/+1
|/
* meson/pkgbuild: bump version to 1.5.21.5.2Daniel Eklöf2020-10-13-1/+1
|
* meson/pkgbuild: bump version to 1.5.11.5.1Daniel Eklöf2020-10-11-1/+1
|
* meson/pkgbuild: bump version to 1.5.01.5.0Daniel Eklöf2020-09-18-1/+1
|
* meson/pkgbuild: bump fcft requirement to 2.3.0Daniel Eklöf2020-09-18-1/+1
|
* meson/pkgbuild: require fcft-2.2.90Daniel Eklöf2020-09-15-1/+1
|
* config: add tweak.scaling-filterDaniel Eklöf2020-09-13-1/+1
| | | | | | | | Use the new fcft_set_scaling_filter() API to use a non-default scaling filter. By default, we use lanczo3, the ‘best’ filter. This overrides the default in fcft, which is ‘cubic’ filtering.
* doc: rename footrc.5 to foot.ini.5, and update referencesDaniel Eklöf2020-08-27-1/+1
|
* meson/pkgbuild: bump tllist requirement to 1.0.4Daniel Eklöf2020-08-25-1/+1
| | | | This is the first version of tllist that compiles with '-pedantic'.
* meson: build with -pedanticDaniel Eklöf2020-08-23-1/+2
|
* meson: use "-fno-asynchronous-unwind-tables" for non-debug buildsCraig Barnes2020-08-19-1/+3
| | | | | | | This removes the DWARF stack unwinding tables, which shrinks the ".eh_frame" and ".eh_frame_hdr" sections by about 24KiB. Stack unwinding tables are pretty useless to a C program compiled in release mode.
* Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes2020-08-08-1/+4
|
* config: handle allocation failure explicitlyCraig Barnes2020-08-04-0/+2
|
* user-notification: 'productify' the user-warning systemDaniel Eklöf2020-07-30-0/+1
| | | | | | | | * Rename user_warning to user_notification * Add warning and error types (in addition to the existing deprecated) * Simplify logic when emitting a user notification after forking; we don't need to copy the notification data since we're in a new process and have total control over that memory.
* 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
|