Commit Graph

810 Commits

Author SHA1 Message Date
JorisE 7b5c8fc425 Update man page
The man page still said that configuration is read from /etc/xdg/termite.cfg
2015-07-23 16:46:21 -04:00
Daniel Micay eb1628c867 use xdg-open as the default fallback browser 2015-06-26 10:04:46 -04:00
Daniel Micay 0652af0220 improve compatibility with non-X11 backends 2015-06-22 13:26:34 -04:00
Daniel Micay 2b5af377aa stop setting VTE_VERSION, as VTE sets it now 2015-06-22 13:06:06 -04:00
Daniel Micay 86e2bc88e8 style fixes 2015-06-22 12:36:24 -04:00
Daniel Micay b1349a52ea deal with gtk_widget_override_background_color deprecation 2015-06-22 12:31:41 -04:00
Daniel Micay 67dc8905e5 drop warning triggered by glib/gtk macros 2015-06-22 12:18:46 -04:00
Daniel Micay 91bdd0dcbd add technically required (no-op) g_spawn_close_pid 2015-06-22 12:09:12 -04:00
Daniel Micay cccc77928a vte-ng fork replaces the VTE patch 2015-06-21 13:59:17 -04:00
Simon Gomizelj 1ac9d1d850 Merge pull request #228 from mattikus/add_q_escape
Add q to escape from selection mode
2015-05-24 23:53:31 -04:00
Matt Kemp 5b730eb69c Updated the readme. 2015-05-24 17:06:56 -05:00
Matt Kemp ecd495d737 Added Q as a key to return to insert mode. 2015-05-24 16:37:02 -05:00
Daniel Micay 7b4957616d document using CSS to alter padding
Closes #220
2015-05-04 13:25:58 -04:00
Daniel Micay 5a17c7e02d tweak sample configuration 2015-04-22 19:22:58 -04:00
Simon Gomizelj d7f15c12eb Merge pull request #211 from dkasak/ycm-fix
Specify proper vte version in .ycm_extra_conf.py
2015-04-11 15:42:53 -04:00
Simon Gomizelj b7ea6570d9 Merge pull request #216 from jck/master
update vte patch to 0.4.0
2015-04-11 15:41:51 -04:00
Simon Gomizelj 308e49cd0a Merge pull request #217 from holomorph/vte4-palette_size
Set color palette size to 256
2015-04-11 15:26:20 -04:00
Mark Oteiza fa1943c76e Set color palette size to 256
Required by vte 0.40.0
2015-04-10 05:39:53 -04:00
Keerthan Jaic 63c21e9958 update vte patch to 0.4.0 2015-04-10 00:14:43 -04:00
Daniel Micay 0928a1112a fix bépo command mode binding
Closes #214
2015-03-24 19:20:29 -04:00
Denis Kasak 142a594c81 Specify proper vte version in .ycm_extra_conf.py 2015-02-11 14:24:21 +01:00
Simon Gomizelj cb3dfb71a0 Screwed up my iterators, sorry 2014-11-10 21:04:09 -05:00
Simon Gomizelj e2c9769f38 Match gnome-terminal with its font scaling logic
Gnome terminal jumps between a predefined set of font scales. libvte seems
to break if we try to jump in between them. This behaviour is an exact
match from what you get in gnome-terminal (and certainly looks
considerably better).

Relevant to issue #195.
Closes #194 since it no longer crashes.
Probably a proper fix (finally) for #47.
2014-11-10 20:45:02 -05:00
Simon Gomizelj bed98f83e8 Port font scaling to the new VTE API
Closes #195
2014-11-10 20:12:23 -05:00
Daniel Micay f9f285e5ba add a sample config line for a transparent bg 2014-11-01 01:11:07 -04:00
Daniel Micay cc34465621 fix unused parameter warning 2014-10-27 12:53:26 -04:00
Daniel Micay 96668c23cf rm resize grip setting, gtk dropped support for it 2014-10-27 12:39:26 -04:00
Daniel Micay 7612e90369 add back support for transparency
Closes #191
2014-10-27 12:25:58 -04:00
Daniel Micay 05f3bbf626 rm obsolete visual bell call (not in VTE anymore) 2014-09-21 22:54:24 -04:00
Daniel Micay e63d868ed6 use the vte_terminal_spawn_sync wrapper
The vte_ptr_set_term function is gone, so there's no reason to create
the pty object manually.
2014-09-21 20:35:25 -04:00
Mark Oteiza be4e2faf73 add ^B and ^F for paging in selection mode 2014-09-21 19:43:34 -04:00
Mark Oteiza 113ca4b7c9 add active hint colors to the default config
* addresses #137
2014-09-21 19:36:24 -04:00
Daniel Micay e4ad66736a rm extra newline 2014-09-21 19:20:48 -04:00
Daniel Micay 7f03ded730 port to vte 0.38.0
VTE is not making any attempt to maintain API stability. The following
changes to the API impacted Termite, despite it avoiding deprecated
functions:

* vte_pty_set_term removed (hopefully without an impact...)
* vte_terminal_get_child_exit_status replaced with new signal parameter
* beep signal -> bell signal
* vte_char_attributes -> VteCharAttributes
* sync suffix added to I/O functions along with some parameter changes
* rgba suffix removed from all color functions
* inner-border attribute replaced with GtkStyleContext padding
* vte_terminal_set_font_from_string removed, use Pango directly
* vte_terminal_is_word_char removed - is_word_char copied to Termite
* vte_terminal_set_word_chars removed - feature dropped
* vte_terminal_set_visible_bell removed - feature dropped

Support for text selection is still not supported upstream. The required
API is tiny and does not expose internal details. Despite the lack of a
compelling reason to leave it out like a backwards compatibility risk,
the patch has been left to rot on the bug tracker.

The vte_terminal_get_user_shell_with_fallback API was also removed,
although it was an internal API and Termite was only using it for
convenience. The functionality has been moved inside Termite.

Closes #187
2014-09-21 19:11:40 -04:00
Simon Gomizelj fb09063431 document --name and --class
Closes issue #181.
2014-08-24 13:09:08 -04:00
Simon Gomizelj 524ba450a7 Finally! A man page for the termite config!
Start of something more comprehensive (needs to document theming). See
issue #120.
2014-08-24 13:08:01 -04:00
Simon Gomizelj 76a707b665 use std::unique_ptr in more places 2014-08-24 12:07:27 -04:00
Daniel Micay e98ccd3821 rename command mode to selection mode 2014-07-09 11:53:21 -04:00
Simon Gomizelj d20bee9a34 Add 'fullscreen' conf setting to disable F11
Settings fullscreen to false prevents termite from intercepting F11.

See #144
2014-06-26 23:58:55 -04:00
Daniel Micay c4a39f9d8d fix typo in the man page
Closes #173
2014-06-15 18:37:06 -04:00
Simon Gomizelj bcf5152ad3 add a .ycm_extra_conf.py file 2014-04-10 22:33:12 -04:00
Simon Gomizelj 85f8a2691a fix memory leak 2014-03-08 18:24:48 -05:00
Simon Gomizelj 3b078b83a0 Query padding before drawing hints
Hints are not getting placed in the right place when vte has an
inner-padding. Start taking this into consideration.

Relevant to issue #162
2014-03-08 17:32:40 -05:00
Simon Gomizelj 2bf484277b Fix vte padding calculations.
Sometimes we only care about left and top offsets. get_vte_padding is
currently returning left + right and top + bottom, leading to
check_match miscalculating its offsets.

Closes #162
2014-03-08 17:32:40 -05:00
Simon Gomizelj 4e6a393d6c Merge pull request #161 from holomorph/holomorph/modifyotherkeys
produce escape sequences for extra Ctrl- modified keys
2014-03-07 22:50:47 -05:00
Mark Oteiza d4f8e66568 provide a modify_other_keys config option. defaults to false 2014-03-07 19:45:39 -05:00
Mark Oteiza 4416affc56 produce escape sequences for extra Ctrl- modified keys
current xterm has the resource modifyOtherKeys which, when enabled,
constructs escape sequences for many Ctrl-, Shift-, and Meta- modified
keys.  This implements support for some Ctrl- modified keys.
2014-03-04 14:10:42 -05:00
Simon Gomizelj 9edd015348 make error messages more self-consistent 2014-02-25 21:31:54 -05:00
Simon Gomizelj 190a1d01ee check and report errors in launch_browser
Just in case issues like #141 pop up again, lets have more debugging
and error reporting.
2014-02-25 21:22:19 -05:00
Simon Gomizelj 343140c8db error message should end in newline 2014-02-25 21:16:56 -05:00