Commit Graph

260 Commits

Author SHA1 Message Date
Daniel Micay e1822fbfde name the overlays 2012-09-16 15:53:09 -04:00
Daniel Micay 14c62d6074 manually merge vodik's old url hint branch 2012-09-16 05:57:01 -04:00
Daniel Micay a6abd786cf minor move_forward cleanup (\0 terminator not used) 2012-09-09 22:28:38 -04:00
Daniel Micay 8f3c799b01 replace 2 lambdas with partial functions 2012-09-09 18:19:44 -04:00
Daniel Micay 7168c5fcc4 fix last change 2012-09-09 17:20:06 -04:00
Daniel Micay 8abd6aa82e keep word movement conventions the same 2012-09-09 17:05:34 -04:00
Daniel Micay d0fca6953c pointer -> index for word movement iterators 2012-09-09 16:59:51 -04:00
Daniel Micay 74bf1c58ea another tweak to move_forward 2012-09-09 16:51:07 -04:00
Daniel Micay 8073df7dfe replace lambda with std::not1 2012-09-09 16:00:19 -04:00
Daniel Micay a2bafff951 stop forward word movement at the end of the text 2012-09-08 17:42:30 -04:00
Daniel Micay 7328e96110 minor cleanup 2012-09-08 16:59:25 -04:00
Daniel Micay e96ab0829e add support for setting highlight 2012-09-08 02:59:32 -04:00
Daniel Micay 5402716718 get rid of (some) duplicated word movement code 2012-09-08 01:18:10 -04:00
Daniel Micay 27e6fba2ef add forward/backword WORD motion 2012-09-08 01:10:29 -04:00
Daniel Micay ad861b7224 rm unused variable 2012-09-08 00:12:06 -04:00
Daniel Micay a1591e795a call update_selection in set_cursor_column 2012-09-07 22:49:16 -04:00
Daniel Micay d3d7276ec0 cleaning up naming 2012-09-07 22:41:41 -04:00
Daniel Micay deffdd9c83 fix error handling in color parsing 2012-09-07 21:11:29 -04:00
Daniel Micay 810b86aa08 rm redundant comment 2012-09-07 19:00:00 -04:00
Daniel Micay aa0cc3b7e3 update_selection always removes the old selection 2012-09-07 18:55:01 -04:00
Daniel Micay 4b164c1e82 very minor cleanup 2012-09-07 16:41:20 -04:00
Simon Gomizelj e027b88f30 order of stuff in main matters, oops
Terminal needs to be resized after g_spawn_async, not after.
2012-09-03 03:26:44 -04:00
Daniel Micay 978e6b2d76 switch to xterm-termite for TERM
This works with applications that hardcode the xterm* check, but still
allows for a correct entry in the terminfo database.
2012-09-02 18:56:25 -04:00
Daniel Micay 89077663ab rm unused parameter 2012-08-30 04:28:15 -04:00
Daniel Micay 1e19755049 use the real cursor, instead of the selection hack 2012-08-30 04:27:01 -04:00
Daniel Micay 343a743830 just use vte's function to get the shell fallback 2012-08-30 01:03:15 -04:00
Daniel Micay 29b4f64420 0 -> nullptr 2012-08-27 02:00:14 -04:00
Daniel Micay 2a7c36d9ac set _POSIX_C_SOURCE in the Makefile, not the code 2012-08-27 01:23:36 -04:00
Daniel Micay 72eec58d9e pause output in command mode 2012-08-27 00:46:52 -04:00
Daniel Micay fc3adf68b7 one last 1 -> EXIT_FAILURE 2012-08-26 20:29:32 -04:00
Daniel Micay 275bed4ea0 replace multi_url with a different keybinding 2012-08-24 10:27:48 -04:00
Daniel Micay 388539ae6c make exiting command-mode on opening url optional 2012-08-21 22:42:33 -04:00
Daniel Micay e07d1b4137 add check for NULL 2012-08-19 15:07:07 -04:00
Daniel Micay 2865781c70 fix focus loss issue with the completion widget 2012-08-14 23:52:28 -04:00
Daniel Micay 8fb9aad003 synthesize events for GtkEntryCompletion
adding keybindings has to be done by intercepting the desired key events
and replacing them with the default bindings
2012-08-14 23:47:19 -04:00
Daniel Micay 10a3eb0bac zap some magic numbers 2012-08-14 20:34:11 -04:00
Daniel Micay 68939cc5ba add missing cstdlib include 2012-08-14 20:19:19 -04:00
Daniel Micay e4c2900c4f some minor cleanup 2012-08-14 20:06:30 -04:00
Daniel Micay c4a9494123 silence the g_key_file const warning 2012-08-14 20:02:11 -04:00
Daniel Micay 343cee1702 do not try opening empty selection in browser 2012-08-14 19:52:18 -04:00
Daniel Micay cf78dbcd3e initial implementation of 'w' and 'b' 2012-08-14 16:29:38 -04:00
Simon Gomizelj d76afec3d7 fix the resizing issue in termite
Manually calculate the vte's size from the windows dimensions before
displaying it.
2012-08-12 06:45:14 -04:00
Daniel Micay 1246b64518 make geometry configurable in termite.cfg 2012-08-08 17:34:37 -04:00
Daniel Micay 139006d32a fix assertion on forced exit 2012-07-30 11:46:49 -04:00
Daniel Micay f1ff458911 fix minor leak 2012-07-27 05:05:27 -04:00
Daniel Micay 8b97b04cd1 expose word_chars option 2012-07-27 04:58:50 -04:00
Daniel Wallace affac554fe exit command mode after launching url
Signed-off-by: Daniel Wallace <daniel.wallace@gatech.edu>
Signed-off-by: Simon Gomizelj <simongmzlj@gmail.com>

This fixes issue #30.
2012-07-21 19:02:15 -04:00
Daniel Micay 2809a040bc Revert "get rid of GTree"
This reverts commit 7e55478fb1.

Conflicts:
	termite.cc
2012-07-21 01:43:16 -04:00
Daniel Micay b8d574f76a minor cleanup 2012-07-20 11:56:07 -04:00
Daniel Micay c6869dd493 replace g_strdup_printf call with static buffer 2012-07-20 11:53:13 -04:00
Daniel Micay 1a3f3d2b4a silence clang warning 2012-07-20 11:41:44 -04:00
Daniel Micay e7acfc1635 move url_regex to a header 2012-07-20 11:32:49 -04:00
Daniel Micay 8200137f5d strongly typed enum for input mode 2012-07-20 11:19:42 -04:00
Daniel Micay 497b8667fa use strongly typed enum for overlay_mode 2012-07-20 11:05:30 -04:00
Daniel Micay bd4b0bd144 rm redundant typedefs 2012-07-20 11:01:57 -04:00
Daniel Micay 76274d59ba avoid glib MIN/MAX macros 2012-07-20 11:00:49 -04:00
Daniel Micay fcb10e72e4 cleanup includes 2012-07-20 10:56:09 -04:00
Daniel Micay 7e55478fb1 get rid of GTree 2012-07-20 10:55:38 -04:00
Daniel Micay d44ed632ae minor cleanup (unused param) 2012-07-20 10:42:00 -04:00
Daniel Micay 0e7d8c4ce0 use the correct file extension 2012-07-20 10:35:45 -04:00