Daniel Micay
f3702b392b
remove unused for loop variable
2012-06-06 22:06:46 -04:00
Daniel Micay
137e8794bb
clean up
2012-06-06 21:26:22 -04:00
Daniel Micay
89a3ddd864
fetch the whole buffer for completion
2012-06-06 21:22:26 -04:00
Daniel Micay
8a4e9f7762
is_selected argument to get_text can just be NULL
2012-06-06 21:06:24 -04:00
Daniel Micay
564b21c2dc
free the tree too
2012-06-06 20:54:33 -04:00
Daniel Micay
7b36f70f6f
free string used for completion
2012-06-06 19:17:39 -04:00
Daniel Micay
a678d559ec
Merge branch 'master' into scrollback-completion
...
Conflicts:
README.rst
2012-06-06 11:42:51 -04:00
Daniel Micay
8ba2f5361a
minor cleanup
2012-06-05 19:39:44 -04:00
Daniel Micay
44d883e04d
really fix completion this time
2012-06-05 19:28:55 -04:00
Daniel Micay
2fb67a3f5a
add \t as a separator for completion tokens
2012-06-05 15:24:05 -04:00
Daniel Micay
0e9b3a86ce
insert the current completion on return
2012-06-05 12:51:23 -04:00
Daniel Micay
1e04f80965
add a setting for the cursor color
2012-06-04 14:57:27 -04:00
Daniel Micay
2f75ce63f5
Merge branch 'master' into scrollback-completion
2012-06-04 11:20:41 -04:00
Daniel Micay
2cc781c241
use g_signal_connect_swapped to clean up a bit
2012-06-04 11:19:59 -04:00
Simon Gomizelj
586dff08ec
Clear the entry and use vte_terminal_feed_child.
...
vte_terminal_feed write to the underling vte while
vte_terminal_feed_child properly simulates keyboard input. The later
is needed, otherwise input can't be erased.
2012-06-04 04:46:50 -04:00
Simon Gomizelj
cc8bb5224d
Small formatting changes.
2012-06-04 01:50:59 -04:00
Simon Gomizelj
90bb50597a
You prefer this inlined.
2012-06-04 01:50:58 -04:00
Simon Gomizelj
63293797f3
Add overlay_show to reduce repetition.
2012-06-04 01:50:58 -04:00
Simon Gomizelj
fdd413c854
Move scrollback completion into the overlay.
...
I also implemented the logic needed to "simulate" the input to the Vte.
As a bonus, the search function also gets completion (this was
unintentional but interesting enough that I let it be).
Visible issues:
- The down key doesn't pop up the completion, it gives focus back to the
terminal.
- The enter key does not select an item from the drop down list, it
closes the entry and accepts the input as is.
Maybe the completion popup delay should be configurable and the default
value decreased?
2012-06-04 01:50:58 -04:00
Daniel Micay
afdad33118
add TODO note
2012-06-02 22:01:33 -04:00
Daniel Micay
3300131801
do_widget -> vte
2012-06-02 21:59:56 -04:00
Daniel Micay
1e5e718f26
Merge branch 'master' into scrollback-completion
2012-06-02 21:58:00 -04:00
Daniel Micay
9cc045181e
rm another cast
2012-06-02 21:53:03 -04:00
Daniel Micay
1e66a76914
use a GTree to remove duplicates and sort
2012-06-02 21:35:14 -04:00
Daniel Micay
3f0911676f
completion prototype with GtkEntryCompletion
2012-06-02 20:28:06 -04:00
Daniel Micay
6c341024d7
Merge branch 'master' into scrollback-completion
2012-06-02 13:29:08 -04:00
Simon Gomizelj
1870e72ff5
Use VTE_PTY_DEFAULT instead of a cast
2012-06-02 11:42:20 -04:00
Daniel Micay
25ecf2d21f
start implementation of scrollback completion
2012-06-02 08:47:39 -04:00
Daniel Micay
f38dfd224b
rm more useless casts
2012-06-02 06:53:31 -04:00
Daniel Micay
840765d74a
rm another cast
2012-06-02 06:22:07 -04:00
Daniel Micay
85eafbf950
use -Wc++-compat and fix the warnings
...
this makes termite compilable as C++, and as a bonus turns on stricter
type checking
2012-06-02 06:13:59 -04:00
Daniel Micay
ebb446a82c
no longer need the designated initializer
2012-06-02 05:38:01 -04:00
Daniel Micay
1802ad4beb
avoid a cast
2012-06-02 05:28:56 -04:00
Simon Gomizelj
17f23074ca
Add setting to configure shape.
2012-06-01 20:55:06 -04:00
Simon Gomizelj
2e8c5d3592
Better to use glib's g_printerr.
2012-06-01 15:53:23 -04:00
Simon Gomizelj
034554ea99
gdkkeysyms.h doesn't need to be explictly included
2012-06-01 14:00:05 -04:00
Daniel Micay
78c9bafd15
more nice warnings
2012-06-01 08:29:18 -04:00
Daniel Micay
ad5c8c97e4
make cursor blink setting a bit more flexible
2012-06-01 06:10:17 -04:00
Daniel Micay
178859fe3c
Merge branch 'cursor' of https://github.com/vodik/termite into cursor-blink
2012-06-01 06:00:04 -04:00
Daniel Micay
e1960f0892
add -Wconversion
2012-06-01 05:42:05 -04:00
Daniel Micay
69b0dc99f1
get rid of the resize grip
2012-06-01 05:14:44 -04:00
Daniel Micay
9b9be657bf
drop gtk2 support
2012-06-01 04:15:49 -04:00
Simon Gomizelj
423537b97f
Clean up position_overlay_cb.
2012-05-31 22:31:15 -04:00
Simon Gomizelj
578856ed9e
Fix the overlay's position a set offset.
...
40 pixels from the right edge of the screen.
2012-05-31 22:27:24 -04:00
Simon Gomizelj
a204100856
Make the escape key hide the overlay again.
2012-05-31 22:27:10 -04:00
Simon Gomizelj
1b2e2a1697
Use gtk_widget_grab_focus to deal with the focus issues.
2012-05-31 21:49:06 -04:00
Simon Gomizelj
2df3250792
Wrap the entry in a Gtk alignment and wire it up.
...
Should be functionally equivalent to the old code. There are still some
strange focus issues.
2012-05-31 21:31:09 -04:00
Simon Gomizelj
18529b7b95
Add an entry widge and overlay it over the vte.
2012-05-31 12:39:59 -04:00
Daniel Micay
167e5947b5
cleaner keybinding config
2012-05-31 09:38:13 -04:00
Daniel Micay
9c7815314b
make keybindings easy to configure
2012-05-31 09:31:54 -04:00
Daniel Micay
b52e7700ff
more minor cleanup
2012-05-31 09:25:22 -04:00
Daniel Micay
74329a6632
argument-related variables can be local
2012-05-31 09:22:13 -04:00
Daniel Micay
0feceaf03a
small cleanup
2012-05-31 09:17:08 -04:00
Daniel Micay
277f27d25c
Merge pull request #8 from vodik/role
...
Add support for setting role.
2012-05-31 06:14:12 -07:00
Daniel Micay
f30aab293f
just use the modern key sym names
2012-05-31 08:05:25 -04:00
Daniel Micay
997b67895f
silence gtk3 warning
2012-05-31 07:49:59 -04:00
Daniel Micay
b74d1d5e1c
rm another useless cast
2012-05-31 07:12:39 -04:00
Simon Gomizelj
ed03fdb554
Better --help message.
2012-05-31 07:09:54 -04:00
Daniel Micay
d1c38ae02c
get rid of the OK button in the search dialog
2012-05-31 07:06:31 -04:00
Simon Gomizelj
2315d1bb1f
Add support for setting role with --role/-r.
...
More consistent coding style.
2012-05-31 05:58:11 -04:00
Daniel Micay
9b432ca2f4
rm useless cast
2012-05-31 05:34:47 -04:00
Daniel Micay
76d02ff57a
more consistent code style
2012-05-31 05:32:51 -04:00
Daniel Micay
160fea50bf
switch to a version check in termite.c
2012-05-31 05:04:57 -04:00
Simon Gomizelj
b43ad9154f
However it breaks transparency for gtk2.
2012-05-31 03:50:40 -04:00
Simon Gomizelj
259ea27dbc
Better transparency implementation.
2012-05-31 03:36:36 -04:00
Simon Gomizelj
4dbd92e478
Add cursor_blink to control blinking.
2012-05-31 02:36:09 -04:00
Daniel Micay
56c1f04cc6
more flexible url command
2012-05-30 13:56:40 -04:00
Daniel Micay
fae27e5b82
fix urgent on beep
2012-05-30 13:30:00 -04:00
Daniel Micay
b564e6e40b
slight cleanup of color-related code
2012-05-30 09:22:02 -04:00
Daniel Micay
b0abd5abd8
make icon an option in config.h
2012-05-30 06:54:10 -04:00
Giuseppe
77b5fa0ab7
Add the window icon.
2012-05-30 13:40:38 +03:00
Daniel Micay
2ffda9fbec
silence warnings
2012-05-30 05:36:14 -04:00
Daniel Micay
19dcb8d0cb
add keybinds for url searches
2012-05-30 05:35:41 -04:00
Daniel Micay
453eb5793d
copy PRIMARY after next/previous search match too
2012-05-30 05:32:05 -04:00
Daniel Micay
ca02e5adb3
slight cleanup in search()
2012-05-30 05:27:27 -04:00
Daniel Micay
7e64f3207f
copy current search match to PRIMARY (bug in vte?)
2012-05-30 05:09:18 -04:00
Daniel Micay
bce40a4666
replace search_direction enum with a bool
2012-05-30 04:29:25 -04:00
Daniel Micay
2a225520e8
add scrollback search again
2012-05-30 04:22:09 -04:00
Daniel Micay
476a3d9975
cleanup transparency option
2012-05-25 08:41:46 -04:00
Daniel Micay
1a45b7e501
explicitly depend on at least vte 0.28
2012-05-24 16:14:40 -04:00
Daniel Micay
e04b2e8638
remove extra whitespace
2012-05-24 15:14:52 -04:00
Daniel Micay
9434b5cadd
Revert "drop ancient vte support, even squeeze has 0.24"
...
This reverts commit df8db98179
.
Conflicts:
termite.c
2012-05-24 15:03:14 -04:00
Daniel Micay
a7534b37d3
GTK_CHECK_VERSION -> VTE_CHECK_VERSION
2012-05-24 15:01:08 -04:00
Daniel Micay
980c1c8120
compatibility with older debian/ubuntu vte
2012-05-24 14:46:19 -04:00
Daniel Micay
0b8d55dac5
add transparency support
2012-05-24 02:52:47 -04:00
Daniel Micay
b6b8c8f7fc
Revert "add opacity support"
...
This reverts commit 055c0c4797
.
2012-05-24 01:24:59 -04:00
Daniel Micay
055c0c4797
add opacity support
2012-05-24 00:40:14 -04:00
Daniel Micay
4dc5aedbe7
use G_SPAWN_SEARCH_PATH
2012-05-23 23:44:37 -04:00
Daniel Micay
ae5857c944
make clickable urls optional
2012-05-23 23:41:55 -04:00
Daniel Micay
df8db98179
drop ancient vte support, even squeeze has 0.24
2012-05-23 23:35:17 -04:00
Daniel Micay
828c9bbad4
removing features that tmux/screen handler better
2012-05-23 23:26:49 -04:00
Daniel Micay
7d13c20f5a
add primitive way of executing commands
2012-05-23 22:50:01 -04:00
Daniel Micay
484fea0cfb
cleanup
2012-05-23 20:15:25 -04:00
Daniel Micay
df40bdc12b
more robust handling of getting the user's shell
2012-05-23 20:12:46 -04:00
Daniel Micay
7ec71b2dc8
fix forward url search
2012-05-23 13:40:04 -04:00
Daniel Micay
0f65a7e7a8
remove old vte_terminal_fork_command_full code
...
vte_terminal_fork_command_full has no way to set TERM
2012-05-23 08:28:03 -04:00
Daniel Micay
84c2f68792
use a custom TERM/terminfo with kbs set correctly
2012-05-23 07:47:56 -04:00
Daniel Micay
3771e54a9c
add bindings for copy/paste to/from CLIPBOARD
2012-05-23 05:40:04 -04:00
Daniel Micay
95567745ed
add keybinds for starting searches for urls
2012-05-23 05:19:13 -04:00
Daniel Micay
6728ef35af
reorder headers again
2012-05-22 15:21:54 -04:00