Commit Graph

747 Commits

Author SHA1 Message Date
Simon Gomizelj 476a26c5f7 disable clickable_url when no browser configured 2013-11-23 20:34:40 -05:00
Simon Gomizelj f493b4c83e clickable_url should be false whenever browser isn't set 2013-11-23 20:20:41 -05:00
Simon Gomizelj bdec3ffc22 Merge pull request #138 from aroig/exitstatus
return success when the window is closed
2013-11-02 14:58:12 -07:00
Abdo Roig-Maranges 0994063fac return success when window is closed 2013-11-01 15:34:08 +01:00
Daniel Micay 928a95bfaf Merge pull request #135 from baskerville/master
Use proper comment string in vim's modeline
2013-10-25 10:44:36 -07:00
Bastien Dejean 1a00f66ab1 Use proper comment string in vim's modeline
The dosini format's comment string is normally *;*. In order to allow
vim plugins similar to *commentary* to work, we need to set it to *#*.
2013-10-25 11:24:16 +02:00
Simon Gomizelj dc9948bbd1 Reload config file on SIGUSR1
Refactor config reloading into a lambda stored globally.

Closes #131
2013-10-23 15:07:41 -04:00
Daniel Micay 132dbda8f6 update README for changed config file path 2013-10-19 18:57:29 -04:00
Daniel Micay 9baf7c94e1 rm support for transparency (deprecated upstream)
I considered replacing this with `gtk_widget_set_opacity`, but it's no
more usable than window manager transparency since the font is transparent.

Since this is already broken with URL hints and won't be around in the
future, it might as well go sooner rather than later.

Closes #128
Closes #39
2013-10-19 16:45:29 -04:00
Simon Gomizelj b47ad17efb Fix up hints to match the GdkColor -> GdkRGBA switch
We no longer need to convert from ints to doubles, GdkRGBA already
provides doubles.

Closes #129
2013-10-14 23:42:51 -04:00
Daniel Micay 7593d77027 switch from GdkColor -> GdkRGBA
The old type is on the way out and `gtk_widget_modify_bg` has already
been marked as deprecated.

Closes #124
2013-10-13 12:06:39 -04:00
Daniel Micay 6da9e28e20 Revert "switch from GdkColor -> GdkRGBA"
This reverts commit 172a79223b.

temporary revert - default color calculation needs to be updated
2013-10-12 19:24:14 -04:00
Daniel Micay 172a79223b switch from GdkColor -> GdkRGBA
The old type is on the way out and `gtk_widget_modify_bg` has already
been marked as deprecated.

Closes #124
2013-10-12 18:26:57 -04:00
Daniel Micay 1cb51e3665 drop support for pseudo-transparency
This has been deprecated upstream, and there isn't going to be a way to
preserve the functionality. True transparency is also deprecated as a
feature of the VTE widget, but should be possible with GTK itself.
2013-10-12 18:23:05 -04:00
Simon Gomizelj f0ff025c1b set bold colour to foreground too just in case
Fixes #118
2013-08-24 12:20:04 -04:00
Simon Gomizelj 72f51a5be1 size hints should be recalulcated on font resizing 2013-08-07 15:18:48 -04:00
Simon Gomizelj 181723932f cleanup the mess of structures somewhat 2013-08-07 15:16:34 -04:00
Evan Purkhiser 7982fac85c Add option for enabling size hints for the window
Cleaned up per discussion on #112
2013-08-07 14:53:40 -04:00
Daniel Micay f4f21ebb89 Merge pull request #107 from holomorph/ctrl_leftbracket
update man page with C-[
2013-07-15 11:34:49 -07:00
Mark Oteiza 2cde1be628 update man page with C-[ 2013-07-15 14:12:53 -04:00
Daniel Micay d6a8fcad1c Merge pull request #106 from holomorph/ctrl_leftbracket
add C-[ as a binding to leave command mode
2013-07-15 09:40:38 -07:00
Mark Oteiza 840e16527e add C-[ as a binding to leave command mode 2013-07-15 12:30:30 -04:00
Simon Gomizelj 0d0f54195a Merge pull request #102 from numerical/master
Fix pseudo transparency
2013-06-17 10:12:38 -07:00
numeral d9a9765a61 Make Pseudo Transparency Work!
Added pseudo_transparency bool in info_config struct, and changed set_opacity
to use it for vte_set_background_transparent().
2013-06-17 12:04:58 -04:00
Simon Gomizelj 86b6842b59 fix whitespace indent level
@Xecantur: please don't mess with the whitespace
2013-06-17 02:10:46 -04:00
Simon Gomizelj 85d49aca17 reorder options in manpage and --help 2013-06-17 02:07:24 -04:00
Simon Gomizelj 7c949dc22d don't convert float to bool 2013-06-17 02:07:24 -04:00
Justin Strickland 30ec184e77 implement --transparency/-x at the command line
Closes #100
2013-06-17 02:07:20 -04:00
Simon Gomizelj 53ae4efc0b update man page 2013-06-14 16:28:36 -04:00
Daniel Micay 72c93ad732 README: fix the instructions for setting the dir 2013-06-14 16:19:34 -04:00
Simon Gomizelj a9ba1e9913 set VTE_VERSION to what gnome-terminal sets it
Addresses issue #99
2013-06-14 14:31:35 -04:00
Simon Gomizelj 661ededa76 docs: fix up man and usage for --title 2013-06-13 02:58:40 -04:00
Simon Gomizelj 491bd56449 Merge pull request #93 from numerical/titleflag
Add option to set arbitrary window name
2013-06-03 23:19:08 -07:00
numeral e50b25a05c Add option to set arbitrary window name
Added main() level scoped char* to hold title. Added a GOptionEntry
for grabbing the title with a switch. If the switch is given we
force dynamic title to be false and don't connect vte window title
change signal to top level window change. That is all folks.

Signed-off-by: numeral <numerical@gmail.com>
2013-06-04 02:09:05 -04:00
Simon Gomizelj 8ea886095b make build section a codeblock 2013-06-02 12:22:46 -04:00
Simon Gomizelj 906301f977 set window background colour too
Setting the window background window won't remove the flickering, but
it should prevent it from being so glaring.

If it works, this fixes #87.
2013-06-02 12:19:15 -04:00
Simon Gomizelj 32cc68e0c1 Merge pull request #90 from AeroNotix/docs/build_instructions
Added a small note about building termite.
2013-06-02 09:14:19 -07:00
Aaron 89eb220a01 Added a small note about building termite. 2013-06-02 14:38:05 +02:00
Simon Gomizelj d4d9a42dde Merge pull request #85 from EvanPurkhiser/fixup/ncurses-utf8-terminfo
Make ncurses recognize UTF8 support
2013-05-16 15:22:33 -07:00
Evan Purkhiser 6d48b706c3 Make ncurses recognize UTF8 support
Add the U8#1 option to the terminfo file, this is an extended option in
the terminfo specifying support for utf8 line graphics.

This fixes some issues with ncurses not rendering utf8 glpyhs for it's
extended ASCII set when termite supports utf8 just fine.
2013-05-16 03:33:15 -04:00
Daniel Micay f39741347b set 100 columns as the long line limit 2013-04-12 07:00:08 -04:00
Simon Gomizelj 0b66678c01 don't actually need lambda's here 2013-04-11 21:10:51 -04:00
Simon Gomizelj 56ac2acf44 if the search fails, clear selection and try again
This really smells like we're working around a vte bug/limitation.
Thanks to @numerical.

This closes #76
2013-04-11 21:06:16 -04:00
Simon Gomizelj 05eb389c48 use nullptr over NULL everywhere 2013-04-11 15:35:05 -04:00
Simon Gomizelj fb163c61da fix memory leak handling hints 2013-04-11 15:34:32 -04:00
Simon Gomizelj 46ad894cfe man: close quotes properly 2013-03-26 19:26:31 -04:00
numerical 63f52cea8b Improve and add colour to possible hint matches
Changed URL hinting to be a lot smarter and to colour hints when
possible matches are found.

- Add active_foreground and active_background config options
- Add a new char* to hold entry text for checking against when redrawing

Signed-off-by: numeral <numerical@gmail.com>
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com>
2013-03-26 19:26:18 -04:00
Simon Gomizelj 224c76ea37 Initial commit of a man page
This finally closes issue #48.

Special thanks to Jakob Wrigley for the first draft.
2013-03-26 02:17:46 -04:00
Simon Gomizelj 74621daafe add license header to termite.cc
Addresses issue #68
2013-03-20 16:38:52 -04:00
Daniel Micay 1b32c0af7f make geometry switch override the config file
Closes #69
2013-03-15 18:06:50 -04:00