summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* doc: Fix vte-regex's section0.43.0Egmont Koblinger2015-10-241-0/+1
|
* widget: Implement smooth scrollingEgmont Koblinger2015-10-244-287/+349
| | | | | | | | | | Scroll the history (scrollback buffer) by pixels rather than rows. This gives a better user experience especially with touchpads. Also, use the extra area at the bottom (if the window is not grid-aligned) to show some text when scrolling. https://bugzilla.gnome.org/show_bug.cgi?id=746690
* Revert "selection: Simplify code"Christian Persch2015-10-211-9/+13
| | | | This reverts commit 2a321165c62c7362b9d225d98e6cc153b6817f8c.
* selection: Simplify codeChristian Persch2015-10-201-13/+9
| | | | | vte_cell_is_between is only ever called with inclusive=TRUE, so drop that parameter. TODO: cleanup this function!
* vteapp: Fix optionChristian Persch2015-10-161-1/+1
|
* regex: Fix crash on match_checkChristian Persch2015-10-161-1/+4
| | | | Always pass non-NULL @tag.
* widget: Filter out most of the control characters when pastingEgmont Koblinger2015-10-121-11/+39
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=753197
* regex: Don't expose PCRE2 in the APIChristian Persch2015-10-125-24/+18
| | | | Until there's a real need to, don't use PCRE2 types in our API.
* regex: Forbid \C in regexesChristian Persch2015-10-122-5/+12
|
* regex: Fix row number in the new vte_terminal_event_* methodsEgmont Koblinger2015-10-081-2/+2
|
* regex: Fix parameter name in documentationChristian Persch2015-10-081-2/+2
|
* a11y: Emit missing space character insertionSamuel Thibault2015-10-071-0/+2
| | | | | | | | | | | | | When backspacing over space, content comparison would not find any difference, so vte always emits a space character deletion by hand, so that screen readers speak it, see bug 150858. That however makes the announced text incoherent, thus confusing brltty. This commit adds emitting a space character insertion, to get back to coherent content. https://bugzilla.gnome.org/show_bug.cgi?id=150858 https://bugzilla.gnome.org/show_bug.cgi?id=754964
* regex: Fix build without PCRE2Christian Persch2015-10-072-0/+6
|
* regex: Add API to check if some regexes match at an event positionChristian Persch2015-10-075-18/+227
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=741728
* vteapp: Use vte_terminal_match_check_eventChristian Persch2015-10-071-7/+3
|
* regex: Use unsigned for offsets into match_contentsChristian Persch2015-10-071-37/+38
| | | | Except when matching with GRegex, since its API returns ints
* regex: Restructure codeChristian Persch2015-10-071-210/+273
| | | | | Factor out actually matching the regex against the subject into its own function, in preparation for adding extra regex matching.
* regex: Fix conditionalChristian Persch2015-10-071-2/+2
|
* regex: Simplify no-match region calculationChristian Persch2015-10-071-16/+18
| | | | | | It is only necessary to updated start/end_blank once per regex. Note that with or without the patch, the no-match region sometimes is wrong.
* regex: Simplify conditionalsChristian Persch2015-10-071-5/+3
|
* regex: Add some more debug outputChristian Persch2015-10-071-7/+33
| | | | Print out the no-match region.
* regex: Simplify codeChristian Persch2015-10-071-7/+8
| | | | | These conditionals can only be true if we set [se]blank above, so we can move them inside the block.
* regex: Simplify codeChristian Persch2015-10-071-59/+59
| | | | | Always pass non-NULL for the out parameters of the internal functions, and use gssize type consistently.
* regex: Pass more data to regex matchingChristian Persch2015-10-071-20/+22
| | | | | | | | | Pass the whole match contents before the line to matching, which is useful if there are lookbehind assertions in the regex. We also want to pass the whole contents after the line to matching to satisfy lookahead assertions, but this isn't possible currently without new PCRE2 API. This also fixes the cell row/column info in the debug output.
* regex: Fix a -Wformat warningChristian Persch2015-10-041-1/+1
|
* regex: Move some shared code to vte_terminal_match_check_internalChristian Persch2015-10-041-18/+10
| | | | Initialising the out params can be done in the main function.
* regex: Fix the build without PCRE2Christian Persch2015-10-041-15/+15
|
* regex: Factor out getting the offset in the match attributesChristian Persch2015-10-041-124/+75
| | | | | This is identical between GRegex and PCRE, so factor it out into its own function.
* build: Make sure the resources are not exportedChristian Persch2015-10-041-1/+1
|
* widget: Report correct mouse coordinates if viewport is scrolled backEgmont Koblinger2015-10-031-2/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755187
* emulation: Disregard bce when a new line appears at the bottomEgmont Koblinger2015-10-021-0/+2
| | | | | | | | Applying bce (background color erase) on a line that newly appears at the bottom when scrolling is a badly designed feature, causing many problems. Let's see if we break anything by disabling it. https://bugzilla.gnome.org/show_bug.cgi?id=754596
* widget: Deprecate vte_terminal_match_checkChristian Persch2015-10-023-3/+7
| | | | | | | Instead of trying to calculate the row and column from event coordinates, vte_terminal_match_check_event() should be used directly. Coordinate translation will fail in future with sub-row scrolling; and this function may be changed to just return NULL ("no match") then.
* draw: Make one function staticChristian Persch2015-10-022-4/+4
| | | | It's not used from outside vtedraw.cc.
* stream: Allocate large buffer on stack rather than on heapEgmont Koblinger2015-10-021-16/+8
|
* widget: Fix painting the preedit text near the right marginEgmont Koblinger2015-10-021-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755668
* search: Fix crashing typoChristian Persch2015-09-301-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755900
* lib: Silence some -Wfloat-equal warningsChristian Persch2015-09-303-3/+13
| | | | | In these cases, it should be safe to really use ==, so silence the warning for these.
* vteapp: Fix build without pcre2Christian Persch2015-09-301-1/+7
|
* build:Fix CXXLDFLAGS checksChristian Persch2015-09-301-4/+4
|
* build: Remove -Wpacked warningChristian Persch2015-09-301-1/+1
| | | | It shows warnings in vte on i386, but not on anything else afaics.
* Fix build with -Werror=formatMichael Catanzaro2015-09-291-2/+2
| | | | -Werror=format is set by default in configure.ac so let's make it work.
* build: Check for pkg-configChristian Persch2015-09-291-0/+2
|
* lib: Fix build without pcre2Christian Persch2015-09-291-4/+10
|
* lib: Fix type builtinsChristian Persch2015-09-294-11/+23
| | | | Move VteRegexError to vteenums.h to fix vtetypebuiltins generation.
* widget: Remove obsolete workaroundChristian Persch2015-09-291-23/+8
| | | | | This used to be necessary when working with glibc's regex, but is unnecessary for both GRegex and PCRE2.
* lib: Add PCRE2 supportChristian Persch2015-09-2918-177/+1407
| | | | | Add VteRegex wrapping PCRE2's pcre2_code_8* to add refcounting, and add API to VteTerminal to use it for matching and searching.
* vteapp: Fix build with gtk+ < 3.16Christian Persch2015-09-283-0/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=755650
* vteapp: Remove glib memory profiler supportChristian Persch2015-09-281-6/+0
| | | | It's gone from glib.
* vteapp: Silence useless debug spew by defaultChristian Persch2015-09-282-0/+8
|
* Updated POTFILES.skipPiotr Drąg2015-09-241-2/+2
|