Commit Graph

1980 Commits

Author SHA1 Message Date
Gaetan Semet
3e4eefcfd2 Minor code update and error management 2019-04-18 15:15:55 +02:00
Louie Lu
156af87664 Fix Vte-WARNING about regex flags
Vte.Regex.new_from_match keep warning with:

    (guake:29728): Vte-WARNING **: 19:36:56.760: (vtegtk.cc:1964):int
    vte_terminal_match_add_regex(VteTerminal*, VteRegex*, guint32): runtime check failed:
    (_vte_regex_get_compile_flags(regex) & PCRE2_MULTILINE)

In Vte source code, it will check the flags have contain PCRE2_MULTILINE:

    g_warn_if_fail(_vte_regex_get_compile_flags(regex) & PCRE2_MULTILINE);

But, Vte nor GLib didn't provide the MULTILINE flag value:

    GLib.RegexCompileFlags.MULTILINE = 2
    Vte.REGEX_FLAGS_DEFAULT = 0x40180000

Vte source code in vte/bindings/vala/app.vala give out the value

    flags = 0x40080400u /* PCRE2_UTF | PCRE2_NO_UTF_CHECK | PCRE2_MULTILINE */;

from Vte commit list, we can found that PCRE2_MULTILINE value is 0x400:
(https://mail.gnome.org/archives/commits-list/2016-September/msg06218.html)

    flags |= 0x00000400u; /* PCRE2_MULTILINE */

Fix it with providing 0x40080400u as flag value
2019-04-18 14:03:12 +02:00
Louie Lu
4200b42a17 Add releasenote 2019-04-18 12:58:44 +02:00
Louie Lu
500be20990 Block notebook button-press-event when search box visible
If we don't block notebook button-press-event, it will affect search box,
when double click on search box button or search entry, it will then add
a new page with focus, which is what we don't want.

So, block this event when search box is visible, and unblock it when
search box is show off.
2019-04-18 12:58:44 +02:00
Louie Lu
39be44a519 Add terminal search box
User can search their terminal by search box. Search is based on vte.

Default accel-key is CTRL+SHIFT-F, it will then show up a search box
at right bottom of the page. User can search by hitting Return to search
next, or hitting Return with Shift to search previous, or using next/prev
button to search.

ESC or anyother focus-out of search entry will hide the search box.

NOTE: it will only search on last focus terminal if the terminal has been
split out.
2019-04-18 12:58:44 +02:00
Louie Lu
6719c0b026 Remove f-strings (still support python 3.5) 2019-04-17 07:13:06 +02:00
Louie Lu
b327089a4a Fix releasenote broken and W0631 2019-04-17 07:13:06 +02:00
Louie Lu
ed14b771a0 Add verbose option to run-local and make run
Now we can run guake with verbose when `make run`:

    $ make run V=1
2019-04-17 07:12:49 +02:00
Louie Lu
3e5e39c2c0 Fix save/restore tabs for workspaces
This fix #1527
2019-04-16 22:19:16 +02:00
Louie Lu
3efff38b28 Fix CLI with 2 toggle to hide when combine some options #1499 2019-04-16 16:14:32 +02:00
Louie Lu
3b1f811104 Fix save tabs on window title changed 2019-04-15 11:43:12 +02:00
Louie Lu
62ac8a2ed5 remove xvfb start 2019-04-15 10:46:04 +02:00
Louie Lu
b518d6ed60 Move x11 related to before_script 2019-04-15 10:46:04 +02:00
Louie Lu
e98c76c003 Disable redefined-outer-name for unittest 2019-04-15 10:46:04 +02:00
Louie Lu
6f420f95d0 Update .travis.yml 2019-04-15 10:46:04 +02:00
Louie Lu
45a4e2acbe Update with fixture and mocker 2019-04-13 15:17:33 +02:00
Louie Lu
c5535838b8 Address gsemet pytest points 2019-04-13 15:17:33 +02:00
Louie Lu
47eb528fd3 Add notebook unittest 2019-04-13 15:17:33 +02:00
Louie Lu
5dc10e353a Add about dialog unittest 2019-04-13 15:17:33 +02:00
Louie Lu
476c32419d Add releasenote 2019-04-13 15:15:12 +02:00
Louie Lu
9b2f85ee5f Add save/restore preferences to Guake CLI
$ guake --save-preferences prefs.guake
    $ guake --restore-preferences prefs.guake

**WARNING**

User will need to ensure the content inside the preferences file,
otherwise it may broke up the preferences, e.g. bad accel-key binding
2019-04-13 15:15:12 +02:00
Louie Lu
507b71c148 Add releasenote 2019-04-13 14:14:32 +02:00
Louie Lu
e72dacf45e Add auto save tabs, enable by prefs 2019-04-13 14:14:32 +02:00
Louie Lu
d6cdcf81fc Add restore tabs when startup by prefs 2019-04-13 14:14:32 +02:00
Louie Lu
29ba0ff0a3 Update restore tabs notify enable by prefs 2019-04-13 14:14:32 +02:00
Louie Lu
eab26070b9 Add prefs for startup/tabs 2019-04-13 14:14:32 +02:00
Louie Lu
3e54e73c9b Add notify message when restore the tabs 2019-04-13 14:14:32 +02:00
Louie Lu
9dad00e829 Add log into save/restore tabs 2019-04-13 14:14:32 +02:00
Louie Lu
9a0d8ca23d Add releasenote 2019-04-13 14:14:11 +02:00
Louie Lu
f053bb4a98 Remove unused logging level setup (#1518) 2019-04-13 14:14:11 +02:00
Louie Lu
b69fa720b5 Add releasenote 2019-04-13 14:13:04 +02:00
Louie Lu
4cb9f32d6a Fix typo 2019-04-13 14:13:04 +02:00
Louie Lu
2f9542a9d0 Fix tabs session filename and its directory to xdg config home 2019-04-13 06:28:48 +02:00
Louie Lu
f40c579a9e Add dep. to pyxdg 2019-04-13 06:28:48 +02:00
Louie Lu
e3e880e10e Reorder notebook context menu items 2019-04-13 06:28:48 +02:00
Louie Lu
c14c1db607 Add releasenote 2019-04-13 06:28:48 +02:00
Louie Lu
61f2bab360 Add save/restore tabs 2019-04-13 06:28:48 +02:00
Louie Lu
626b5a4811 Add label parameter for new_page_with_focus 2019-04-13 06:28:48 +02:00
Louie Lu
1a1c161bbf Revert "Fixes #1438"
This reverts commit 4ba0b2abcb.
2019-04-13 06:28:48 +02:00
Gaetan Semet
a85c905459 Typo 2019-04-03 15:25:20 +02:00
Gaetan Semet
51dff399c3 Updating release note 2019-04-03 15:23:07 +02:00
Gaetan Semet
ba4bc8c9a5 Reverse transparency slider
to be more accurate.

Fix #1501

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
2019-04-03 15:23:07 +02:00
Gaetan Semet
da9ae57d53 Update dependencies 2019-04-03 15:23:07 +02:00
Gaetan Semet
a80c5972bd Update reno config 2019-04-03 15:23:07 +02:00
tensor-zeng
4ba0b2abcb Fixes #1438 2019-04-03 14:08:30 +02:00
Philip Waritschlager
f0d68cc898 Create split_options-7b2e2e469ebcc509.yaml 2019-03-31 14:59:36 +02:00
Philip Waritschlager
3983065c4b Add --split-vertical and --split-horizontal options
Closes #1497
2019-03-31 14:59:36 +02:00
Eli Schwartz
94836b19c8 Implement option for 8-bit bright text
In vte 0.52, a new option was added to emit only bold when bold text is
emitted, and made the default behavior in vte 0.56. For details, see
https://bugzilla.gnome.org/show_bug.cgi?id=762247

The motivation for the change is to allow better 256-bit color in applications
and colorschemes. However, traditionally, applications assumed that bold text
would also be bright, and many applications look quite bad with this setting.
It is therefore useful to allow users to decide whether to utilize this
behavior.

Fixes #1507
Closes #1089
2019-03-29 20:22:53 +01:00
bendev
7c91cfe398 Fixes #1492
- select_tab checks for correct index before switching tab
- "invalid index" error message goes to stderr now
2019-01-26 15:08:17 +01:00
Aleksandr Mezin
e0dba674ee Add optional close buttons for tabs
sem-ver: feature

Signed-off-by: Aleksandr Mezin <mezin.alexander@gmail.com>
2019-01-11 18:39:55 +01:00