summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* draw: Remove need to generate codeHEADmasterEgmont Koblinger2023-04-235-850/+865
| | | | | | | | Use user-defined string literals to move the box drawing data into the source code, instead of having a separate text file that gets turned into code from a generator. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2628
* widget: Fix compilationChristian Persch2023-04-131-1/+1
| | | | | | ... somehow the last commit was incompletely committer. Fixes: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7975
* widget: Fix setting clipboard with html dataChristian Persch2023-04-111-5/+8
| | | | Fixes: https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/7975
* emulation: Fix invalid mouse scroll event on window edgeEric Johnson2023-04-051-1/+1
| | | | Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2621
* widget: Fix introspection warningsChristian Persch2023-04-051-2/+2
|
* widget: Fix cursor blink timeoutChristian Persch2023-04-053-26/+28
| | | | | | Fix s/ms confusion to make the cursor stop blinking correctly. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2622
* Update Bulgarian translationAlexander Shopov2023-03-311-2/+2
| | | | (cherry picked from commit 307a7363cbee8a84ed569bc07593721f9f7d10ae)
* fonts: Keep the PangoLayout unchangedChristian Persch2023-03-101-3/+16
| | | | | | | | | | | | | | The previous commit still wasn't completely fixing the problem, since the FontInfo and the UnistrInfo are cached too, and m_layout will be re-used when creating the next UnistrInfo, but the code in pango_cairo_show_layout_line() requires the PangoLayout to still have the same text as when it was created for the UnistrInfo. To fix this, adopt the PangoLayout into the PangoLayoutLine cached in the UnistrInfo, and create a new layout for next use. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2606 Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2620
* fonts: keep layout text available for cairoChristian Hergert2023-03-091-8/+3
| | | | | | | | | | | When a cairo recording surface is used, it will memcpy() the text and therefore expects the layout's text to be complete enough to contain each glyph item's offset from base pointer. This keeps that text around long enough to satisfy that requirement. It will be reset on the next operation/call to get_unistr_info(). Fixes #2620
* all: Use defined values for definesChristian Persch2023-03-0830-180/+177
| | | | | ... instead of defined/undefined names, so that -Wundef can catch mistakes.
* all: Use __has_includeChristian Persch2023-03-089-38/+22
| | | | ... instead of checking for header presence from meson.build.
* fonts: Don't declare this inlineChristian Persch2023-03-082-3/+2
|
* pty: Do not typecast to GSpawnFlagsKhem Raj2023-03-021-12/+12
| | | | | | | | | GSpawnFlags is enum with max value 1 << 15 which means it fits into a short, however here we are oring VTE_SPAWN_* as well which have higher values (by design). This fixes a compile error on clang 16 with the -Wenum-constexpr-conversion flag. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2618
* fonts: Remove unnecessary context change callChristian Persch2023-02-281-2/+0
| | | | | Calling pango_context_changed() is not necessary here; all changes to the context done above this have already done that.
* widget: Add API to override font optionsCalvin Walton2023-02-2811-34/+172
| | | | https://gitlab.gnome.org/GNOME/vte/-/issues/2573
* widget: Fix a deprecation warningChristian Persch2023-02-282-1/+3
|
* widget: gtk4: Hint and quantize font metricsCalvin Walton2023-02-282-8/+33
| | | | | | | | | | | | | | | | | | | With gtk4, the font metrics are unhinted by default. This causes problems when measuring the font, since the width or height may have fractional pixel values that get rounded up - resulting in vte using integer cell sizes that are larger than would be appropriate for the font - the usual side-effect is that horizontal letter spacing looks too wide. To fix this, set the cairo font option to hint vertical metrics, which will result in the glyph ascent and descent values both being integers. Also make pango round glyph positions, so that the horizontal advance of the glyphs will be integers appropirate for a renderer that doesn't do sub-pixel glyph positioning. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2573
* widget: Fix introspection APIChristian Persch2023-02-241-0/+1
| | | | Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2617
* Update Turkish translationSabri Ünal2023-02-221-9/+9
|
* build: More detailed version infoChristian Persch2023-02-111-1/+9
|
* widget: Ensure the ringview is updated before converting coordinatesChristian Persch2023-02-111-17/+53
| | | | | | | | | | When checking event coordinates, make sure the ringview is updated first, before converting the coordinates to grid coordinates. This should fix the top crash on retrace.fedora.org for all vte-based terminals (gnome-terminal, gnome-console, etc.). Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2577
* widget: Update some Since annotationsChristian Persch2023-02-031-12/+12
|
* build: Post branch version bumpChristian Persch2023-02-031-1/+1
|
* widget: gtk4: Translate control+key events when using multiple layoutsChristian Persch2023-01-211-3/+28
| | | | | | Same as for gtk3. https://gitlab.gnome.org/GNOME/gtk/-/issues/5384
* widget: Use correct end row for getting the selected textMartin Kühl2022-12-301-1/+1
| | | | | | The range is end-exclusive, so use end_row() instead of last_row(). Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2584
* widget: Add API to get text as HTMLChristian Persch2022-12-203-24/+156
| | | | | | Based on a patch by Lex Bailey <gitcommit@lexbailey.me>. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2589
* parser: Add more OSC codesChristian Persch2022-12-201-0/+2
|
* widget: clipboard: Add missing elseChristian Persch2022-12-201-1/+1
|
* parser: modes: Mark modes that should not be reset by DECSTRChristian Persch2022-12-201-5/+6
|
* parser: Update list of known OSC codesChristian Persch2022-12-201-0/+3
| | | | ... with new codes from xterm master.
* pty: Remove useless setenv callsChristian Persch2022-11-291-9/+0
| | | | | | | Spawning will always provide its own envp which will replace the environment when execve()ing. https://gitlab.gnome.org/GNOME/vte/-/issues/271
* Update Belarusian translationVasil Pupkin2022-11-271-45/+32
|
* widget: Modernise HTML outputNoa2022-11-161-3/+3
| | | | | | Use <span> instead of <font> for copy-as-html functionality Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2604
* missing: Add better fdwalk implementation for darawinMatthew Rose2022-11-161-0/+35
| | | | | | Port of glib!3040 to vte. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2602
* build: Print warning on unstable releaseChristian Persch2022-11-151-0/+6
|
* build: Add define for openbsdChristian Persch2022-11-151-0/+5
|
* build: Add define for darwinChristian Persch2022-09-231-0/+6
| | | | Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2592
* build: Fix netbsd defineChristian Persch2022-09-231-1/+1
|
* app: Disconnect signal handlers on disposeChristian Persch2022-09-211-0/+9
| | | | Fixes two critical warnings when closing a window with the close button.
* lib: Add gresources to vte/gtk4Christian Persch2022-09-212-1/+33
|
* app: Filter unwanted environment variablesChristian Persch2022-09-201-2/+83
|
* Update Turkish translationSabri Ünal2022-09-181-83/+11
|
* pty: netbsd fixChristian Persch2022-09-181-0/+10
| | | | | | | On netbsd, posix_openpt() accepts O_NONBLOCK | O_CLOEXEC, but silently ignores them, so they need to be applied explicitly afterwards. https://gitlab.gnome.org/GNOME/vte/-/issues/2575
* build: Update meson req versionChristian Persch2022-09-181-8/+4
|
* widget: Fix value type checkChristian Persch2022-09-051-1/+1
|
* widget: Clipboard fixes for gtk4Christian Persch2022-09-041-4/+9
| | | | Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2557
* widget: Offer text/html also in UTF-8 formatChristian Persch2022-09-011-21/+42
| | | | Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2527
* widget: Implement clipboard for gtk4Christian Persch2022-09-017-35/+530
| | | | Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2557
* widget: Fix Widget::regex_match_check_at()Alexander Mikhaylenko2022-09-011-1/+1
| | | | | | | It was calling Terminal::regex_match_check() instead of Terminal::regex_match_check_at(). Fixes https://gitlab.gnome.org/GNOME/vte/-/issues/2578
* lib: Fix spawning on netbsdChristian Persch2022-08-191-1/+1
| | | | | | | | Add netbsd to the platforms that can safely use sysconf(3) to close the file descriptors before exec, since according to netbsd's man:sigaction(2), sysconf(3) is async-signal-safe. Fixes: https://gitlab.gnome.org/GNOME/vte/-/issues/2574