Commit Graph

832 Commits

Author SHA1 Message Date
Carlo Abelli 6855a9b474 Add bold_is_bright option 2018-09-19 22:06:40 -04:00
jelle van der Waa 3e2c10f9f0
Merge pull request #599 from jelly/emoji
Document GTK's 'great' emoji input keybinding
2018-05-18 23:38:51 +02:00
Jelle van der Waa db9eb18e97 Document GTK's 'great' emoji input keybinding 2018-05-18 23:43:15 +02:00
jelle van der Waa 3dcf389430
Merge pull request #568 from dotdash/leak
Revert "Use std::make_unique from c++14 #360"
2018-02-13 16:33:32 +01:00
Björn Steinbrink 9aaf970fba Revert "Use std::make_unique from c++14 #360"
This reverts commit 8dd8f55088.

The make_unique function in util/memory.hh is not at all like
std::make_unique. The former is just a plain wrapper for the unique_ptr
constructor and makes the resulting unique_ptr take ownership of the
instance identified by the given pointer.

std::make_unique on the otherhand allocates a new instance of a given
type and makes creates a unique_ptr that has ownership of that instance.

So what the patch did was to allocate a char pointer, that did not
point at the string we're interested in, but instead points at the
pointer that points to that string. This means that the string that was
meant to be freed by the unique_ptr upon leaving its scope leaks.

Additionally, the check in open_selection() wasn't adapted to handle
the extra layer of indirection added by this change, so it always
assumed that there was some selection, and tried to open it, completely
breaking mouse usage.
2018-02-12 14:52:01 +01:00
jelle van der Waa a4af9e7e41
Merge pull request #567 from jelly/remove_geometry
Remove geometry
2018-02-11 02:32:29 +01:00
Rohan Rao b019a80b7c Remove geometry option from config and man pages 2018-02-11 02:36:21 +01:00
Jelle van der Waa 8f6ce5239f Remove deprecated geometry handling 2018-02-11 02:36:06 +01:00
jelle van der Waa 7138bc4949
Merge pull request #564 from 0xcpy/master
Use std::make_unique from c++14
2018-02-11 02:08:44 +01:00
0xcpy 8dd8f55088 Use std::make_unique from c++14 #360 2018-02-05 19:47:28 +01:00
Jelle van der Waa 051e2fbf66 Add missing case for c key
Fix the breakage introduced in 01bfd9f9ea
2018-02-03 14:25:39 +01:00
Jelle van der Waa 01bfd9f9ea vte_terminal_copy_clipboard() is deprecated in VTE 0.50 2018-01-27 15:37:33 -05:00
jelle van der Waa e9e72d0893
Merge pull request #543 from adlpz/master
Set title to passed command when executing with -e
2017-12-11 22:37:05 +01:00
Jelle van der Waa 3bc2a43bef Check if there is an selection when opening selection
Prevent a segfault when trying to open a selection, when there is no
selection.
2017-12-01 20:50:14 +01:00
Jelle van der Waa 9eda6c5913 Revert "Merge pull request #546 from ThrosturX/master"
This reverts commit 86db8ab133, reversing
changes made to 1f9ab29f74.
2017-12-01 18:50:06 +01:00
jelle van der Waa 86db8ab133
Merge pull request #546 from ThrosturX/master
fixed a segfault on attempting to open a void selection in a newly op…
2017-12-01 18:42:16 +01:00
throsturx 06170ca5e9 fixed a segfault on attempting to open a void selection in a newly opened terminal window 2017-11-29 14:41:57 +00:00
Adria Lopez b595d90ff5 Set title to passed command when executing with -e 2017-11-27 12:29:30 +01:00
jelle van der Waa 1f9ab29f74
Merge pull request #532 from kyrias/fix-urls
Need to fall back to check_match after hyperlink_check_event
2017-10-28 11:07:26 +02:00
Johannes Löthberg 459a8258a8 Need to fall back to check_match after hyperlink_check_event
vte_terminal_hyperlink_check_event only matches explicit OSC 8 marked
hyperlinks, so we still need to fall back to the existing check_match
function for the vast majority of URLs to be clickable.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-10-28 01:32:52 +02:00
Josip Janzic 14ee4ff101 Add support for hyperlinks
More info:

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

https://bugzilla.gnome.org/show_bug.cgi?id=779734
2017-10-26 21:20:47 +02:00
Jelle van der Waa 285f4d77a3 README.rst: Update terminfo part
Update the installation part with a dedicated one for Arch. Use wget
instaed of scp for adding the terminfo to the server.
2017-10-14 21:47:21 +02:00
Jørn Lode 7adefddb66 url_regex: Don't allow : or / in passwords 2017-10-14 21:13:27 +02:00
Jørn Lode 4f558cd62d url_regex: Add missing : in <username>:<password> 2017-10-14 21:13:27 +02:00
jelle van der Waa 68b92d3702 Merge pull request #510 from xzfc/master
Add optional scrollbar
2017-08-20 11:23:17 +02:00
jelle van der Waa 01f8542ffb Merge pull request #441 from wbangna/vim-movement-top-middle-bottom
Vim movement top middle bottom
2017-08-18 21:38:08 +02:00
Jonatan Vela 8dad4e51e4 Support vim movements: H M L
Vim movements H, M and L implemented and documented.
2017-08-14 09:40:09 +02:00
Albert Safin d83ba0052d intruduce `.termite` CSS class 2017-08-13 12:28:14 +07:00
Albert Safin 9521dc3b11 add optional scrollbar 2017-08-13 12:28:14 +07:00
jelle van der Waa 3c2753bab2 Merge pull request #512 from xzfc/reset
Add ^L to reset and clear
2017-08-12 21:42:21 +02:00
Albert Safin 1ddbbe5d5f add ^L to reset and clear 2017-08-12 16:02:45 +07:00
jelle van der Waa fc70854161 Merge pull request #505 from eroen/master
Fix order of arguments in tic command
2017-07-27 11:04:33 +02:00
eroen 8c2adbc2c9 Fix order of arguments in tic command
hanetzer in #gentoo-chat on freenode reported errors like this when building
termite-12:

    tic -x termite.terminfo -o /tmp/portage/x11-terms/termite-9999/image//usr/share/terminfo
    tic: Too many file names.  Usage:
        tic [-e names] [-o dir] [-R name] [-v[n]] [-V] [-w[n]] [-1aCDcfGgIKLNrsTtUx] source-file

Moving the input filename to the end of the tic invocation seems to resolve
this for them, but I am unable to reproduce the issue.
2017-07-27 00:49:54 +02:00
jelle van der Waa d87e7c8269 Merge pull request #470 from kohlerm/master
improving shell detection
2017-07-08 21:37:29 +02:00
jelle van der Waa d7d90e47c9 Merge pull request #492 from jelly/config_parsing_failure
Handle invalid configuration file format
2017-07-08 21:00:13 +02:00
Jelle van der Waa 5dc2d638a0 Handle invalid configuration file format
Print an error when an invalid key/value config is given to termite.

Closes: #486
2017-07-08 20:59:43 +02:00
Jelle van der Waa 18b653954d man: Add keybinding to move forward to end of word
Describe the new keybindings e and E to move forward to end of word.
2017-07-08 20:57:46 +02:00
jelle van der Waa 5690a82ad0 Merge pull request #498 from janza/end-of-word-keybinding
Add keybinding to move forward to end of word
2017-07-08 20:54:26 +02:00
Josip Janzic c18668fe8e
Add keybinding to move forward to end of word
Closes #495
2017-07-05 22:38:18 +02:00
jelle van der Waa 37309fdd0d Merge pull request #445 from jelly/config_scrollback
config: man: document scrollback_lines config option
2017-06-19 21:24:09 +02:00
jelle van der Waa 4c1a9a56a2 Merge pull request #401 from jelly/gregex_deprecated
Replace deprecated gregex api
2017-06-19 21:00:34 +02:00
Jelle van der Waa c1890ae7e2 Replace deprecated gregex api
vte_terminal_match_add_gregex, vte_terminal_search_get_gregex and
vte_terminal_search_set_gregex are all deprecated and replaced with the
VTeRegex API which uses PCRE2.

Closes: #395
2017-06-19 20:55:59 +02:00
TiredSounds 909b8034b3 Fix typo 2017-05-03 12:45:37 -04:00
Markus Kohler 340a1613bb reformatted 2017-03-31 18:03:31 +02:00
kohlerm af11439bd5 improving shell detection 2017-03-31 13:47:07 +00:00
jelle van der Waa 5610a384b8 Merge pull request #468 from jelly/terminfo_readme
README: Add terminfo information
2017-03-27 20:42:43 +02:00
Jelle van der Waa 4dbcc9e54c README: Add terminfo information
Add a section about copying terminfo to remote systems to hopefully stop
the pile of non-issues opened because of a missing terminfo file.
2017-03-26 22:14:02 +02:00
Jelle van der Waa 1c895b45e9 config: man: document scrollback_lines config option
Document the three possible configuration options for scrollback_lines.
2017-01-18 22:24:28 +01:00
jelle van der Waa 7738c766f5 Merge pull request #426 from polyzen/config-cleanup
config, capitalise letters, sort options alphabetically, comment out default options and add missing fullscreen option
2016-12-12 21:31:31 +01:00
Daniel M. Capella eac212f84f
config: Sort contents of [options] alphabetically 2016-12-06 14:22:28 -05:00