Daniel Micay
062b5796dd
fix compile error on x86
2012-11-11 13:04:23 -05:00
Daniel Micay
0f17d4f2c5
wrap vte_terminal_get_text_range
2012-11-09 19:05:28 -05:00
Daniel Micay
abf07337c5
replace move_to_eol loop with std::find
2012-11-09 18:50:16 -05:00
Daniel Micay
37ac605880
use find_if instead of a loop
2012-11-09 15:24:53 -05:00
Daniel Micay
c85700366e
get 0, ^ and $ bindings working like vim
2012-11-09 14:13:47 -05:00
Daniel Micay
8d5b52ad35
remove the term setting
...
The xterm-termite value provides both correct terminfo and matches
xterm* checks done by applications to check for functionality not
exposed by terminfo.
2012-11-09 13:08:11 -05:00
Daniel Micay
5190acf978
add support for opening terminal in set directory
2012-10-21 18:50:23 -04:00
Daniel Micay
b76df7f5b2
get_config_boolean isn't needed anymore
2012-10-14 15:32:21 -04:00
Daniel Micay
033bed5bac
fix whitespace alignment
2012-10-14 15:08:46 -04:00
Daniel Micay
8486a64986
no need for templated function to be static
2012-10-14 15:08:06 -04:00
Daniel Micay
3909b180f7
one more usage of cfg_bool
2012-10-14 14:30:47 -04:00
Daniel Micay
f8954994bb
use cfg_bool for config_info settings too
2012-10-14 14:26:23 -04:00
Daniel Micay
f00df4e8f4
get_bool_or -> cfg_bool
2012-10-14 14:21:15 -04:00
Daniel Micay
83d1874f79
start cleaning up load_config
2012-10-14 14:19:37 -04:00
Simon Gomizelj
93446a222f
fix whitespace alignment
2012-10-14 13:53:02 -04:00
Daniel Micay
16dc6b7e83
Merge remote-tracking branch 'origin/better-hints'
...
Conflicts:
termite.cc
2012-10-14 13:48:47 -04:00
Daniel Micay
7fe8c69d59
fix indent style issue
2012-10-11 10:17:35 -04:00
Daniel Micay
02c92665ac
clean-up config parsing with option type
2012-10-11 10:13:54 -04:00
Daniel Micay
9cd8d5122a
get rid of clamp macro to make gcc happy
2012-10-10 23:42:03 -04:00
Daniel Micay
3d92b8b61e
use const for button_press_cb config_info param
2012-10-10 22:42:32 -04:00
Daniel Micay
298dddc6e2
kill off the last global variable
2012-10-10 22:25:10 -04:00
Daniel Micay
4aa5cba78e
no need for browser_cmd to be global
2012-10-10 17:44:59 -04:00
Daniel Micay
ea31f4c3e3
rm useless check
2012-10-08 11:50:40 -04:00
Simon Gomizelj
4a87e93620
add a configuration for padding
2012-10-08 10:09:51 -04:00
Simon Gomizelj
2e3edd46bd
add roundness and border color
2012-10-08 10:09:51 -04:00
Simon Gomizelj
11e6bbf8e2
add setting for hint border width
2012-10-08 10:09:51 -04:00
Simon Gomizelj
e5340a90dc
add a [hints] section
2012-10-08 10:09:51 -04:00
Simon Gomizelj
58ab9cad0f
wrong resolution
2012-10-08 10:09:51 -04:00
Simon Gomizelj
a1fbff67cd
move to pangocairo for hint rendering
...
Also add some configuration options: hint_font, hint_forground and
hint_background
2012-10-08 10:09:51 -04:00
Daniel Micay
b06873bf98
get rid of macro/concat hack
2012-10-05 17:12:13 -04:00
Daniel Micay
b4f059391a
fix url hint invalid error
2012-10-05 12:45:17 -04:00
Daniel Micay
a905414491
add util repo as submodule
2012-10-05 10:57:49 -04:00
Daniel Micay
506166230c
use a wrapper to make std::unique_ptr less verbose
2012-10-04 15:35:48 -04:00
Daniel Micay
3d2c98b162
initialize directory to nullptr
2012-10-02 19:27:14 -04:00
Daniel Micay
f21b9f55b2
add a command-line switch for chdir()
2012-10-02 19:14:12 -04:00
Daniel Micay
a7e2352596
add ctrl-left/right and shift-left/right bindings
2012-10-02 11:10:59 -04:00
Daniel Micay
a12645212c
end can be local to the strtok loop
2012-09-28 13:58:12 -04:00
Daniel Micay
4bd4bff004
set errno to 0 before strtoul call
2012-09-28 13:54:10 -04:00
Daniel Micay
eb6389e042
switch to strtok_r for comma-separator urls
...
this avoids an infinite loop when there is an invalid hint number
2012-09-28 13:41:18 -04:00
Daniel Micay
4f515865f6
move the other if-else into the switch
2012-09-28 12:18:13 -04:00
Daniel Micay
a4de8fdbc1
if-else chain -> switch-case
2012-09-28 09:52:53 -04:00
Daniel Micay
5cbfb8113d
fix input completion bindings for all modes
2012-09-28 03:45:49 -04:00
Simon Gomizelj
3f6ca1dedc
make sure the panel gets hidden on escape
2012-09-27 19:00:59 -04:00
Daniel Micay
dfec1ef085
make transparency double check a bit more robust
2012-09-27 12:54:44 -04:00
Simon Gomizelj
a7458fba67
properly exit url hint mode on Esc key
2012-09-27 12:39:06 -04:00
Simon Gomizelj
21d15c0cb6
selecting a url should exit command mode
2012-09-27 12:26:16 -04:00
Simon Gomizelj
4e8721b365
allow for comma seperated url entry
2012-09-27 12:20:14 -04:00
Simon Gomizelj
307f2438c1
exiting command mode should kill the entry
2012-09-27 11:55:06 -04:00
Daniel Micay
6e168e25d6
rm type alias
2012-09-25 05:44:07 -04:00
Daniel Micay
16159f2b1c
give url_data ownership over the url pointer
2012-09-25 05:03:14 -04:00