Commit Graph

2416 Commits

Author SHA1 Message Date
Thomas Hurst d01ed3554f Handle bogus config values better; err() and keep going rather than raising an exception.
If there are exceptions, return to eating them for 0.10.
2008-08-26 23:32:29 +01:00
Chris Jones f020eaa32b Keep a note of when we are using a custom font size, so we don't override it in reconfigure_vte. Closes #256335 2008-08-26 22:24:36 +01:00
Thomas Hurst 31d598bb9b Few gconf fixes; use_system_font should now work again 2008-08-26 21:43:07 +01:00
Thomas Hurst c304b519ad Handle errors a bit more sensibly, especially with quoted strings 2008-08-26 17:12:29 +01:00
Thomas Hurst 9baf905cab Convert the stderr spam into a gtk.MessageDialog. Format and localise the error.
Handle unterminated quoted string errors better
2008-08-26 17:04:53 +01:00
Thomas Hurst a89f18e095 Make config parsing errors non-fatal. Spam stderr with any errors encountered. 2008-08-26 15:41:27 +01:00
Emmanuel Bretelle 47bc7bc378 readding thomas changes 2008-08-25 20:56:08 +01:00
Emmanuel Bretelle f44955b926 Cleaning up rev 490 2008-08-25 20:16:49 +01:00
Thomas Hurst cac821f58a Add a demo font selection button and a spin button for scrollback 2008-08-24 07:39:49 +01:00
Thomas Hurst 0a6acc19dc Ctrl-Tab and Ctrl-Shift-Tab are actually valid keybindings. Teach keybindings.py that some items may have more than one keybinding by supporting optional tuples in defaults. 2008-08-23 23:57:51 +01:00
Thomas Hurst f37324303b Remove some keybinding changes that were only meant for local testing. 2008-08-23 10:01:50 +01:00
Thomas Hurst f685f3e317 source.keybindings -> source['keybindings'] now. 2008-08-22 06:45:31 +01:00
Thomas Hurst 4dafba1270 Don't use __getattr__ in config stores; use __getitem__ and talk to them using store[key] instead of getattr(store, key). Simpler and maybe faster (1 method lookup vs failed attribute lookup + method lookup). 2008-08-22 03:05:22 +01:00
Chris Jones 5f81247353 Feeble exploration of the parts necessary for a graphical profile editor 2008-08-22 00:19:18 +01:00
Chris Jones 93fad0cee1 remove duplicate config default 2008-08-21 23:06:56 +01:00
Thomas Hurst 769b86119b Handle trailing spaces in configs properly; don't make them part of the value.
Handle unquoted palette values.  Parse errors will occur if they're not exact.
2008-08-21 21:57:59 +01:00
Thomas Hurst fc53521c80 Add a --geometry option. Terminator's constructor is getting a bit long. 2008-08-21 08:07:38 +01:00
Emmanuel Bretelle aad468993d Porting changes needed for gutsy package
* Fix LP#248359
2008-08-16 14:08:33 +01:00
Emmanuel Bretelle e7c57039a4 Fixing Zoom/UnZoom with notebook pages 2008-08-16 13:37:49 +01:00
Thomas Hurst 8ee6c682ca Avoid silently eating gconf exceptions, at least under debug mode. 2008-08-15 17:34:33 +01:00
Thomas Hurst 7f1dc2729a Really. 2008-08-15 17:27:56 +01:00
Thomas Hurst 6e638af1e7 Defaults have moved 2008-08-15 17:27:16 +01:00
Thomas Hurst 894ba31880 Handle case changing better. <Ctrl>F now works like <Ctrl>f rather than <Ctrl><Shift>F 2008-08-15 16:20:08 +01:00
Thomas Hurst fbd862c1aa Make <Ctrl>plus/minus/etc work 2008-08-15 15:46:38 +01:00
Thomas Hurst ca66d55bea Make f11_modifier work again. 2008-08-15 13:40:10 +01:00
Thomas Hurst 1f0bb51e76 Make sections and settings case-insensitive (stored lowercase).
When we get profiles we should be case-preserving, but this will do for now.
2008-08-15 13:22:07 +01:00
Thomas Hurst c0ab0e3f34 Introduce a cut-down version of my .ini parser; this one doesn't do anything special with indents, and just builds a simple dict on parse. It does introduce the same error handling (other than that for indenting), so some previously working (but highly dubious) configs might break.
Hook up a [keybindings] section, to override the default ones now in config.py; teach TerminatorConfig to merge configured keybindings from available sources; gconf support shouldn't be far away.
2008-08-15 04:11:24 +01:00
Emmanuel Bretelle 0c49debaac Make sure the titlebar is shown consistently
* Fixes LP#249200
2008-08-13 18:12:57 +01:00
Thomas Hurst c471d636a6 Save a method call. 2008-08-13 02:06:49 +01:00
Thomas Hurst 4f1eb58135 Document search. 2008-08-13 00:20:52 +01:00
Thomas Hurst 233fd9630b Make search actually only search valid buffer ranges. 2008-08-13 00:17:40 +01:00
Thomas Hurst b02ffdc210 Add a basic scrollback search function, attached to Ctrl-Shift-F for now. Type, hit Enter to search, Enter to continue, and Escape to cancel the search (with the input gadget having focus).
A bit slow because VTE's get_text* API is awful.
2008-08-12 02:12:30 +01:00
Thomas Hurst 07457a29bd Style; remove double lines after some methods. 2008-08-11 20:06:41 +01:00
Thomas Hurst 3a7822253a Fix a few missed keybindings. 2008-08-11 19:30:04 +01:00
Thomas Hurst acaa153810 Style; put method bodies on seperate lines in keeping with the rest. 2008-08-11 19:16:10 +01:00
Thomas Hurst b16c32baa4 Remove some debugging, remove the unused _f11_modifier attribute 2008-08-11 19:14:26 +01:00
Thomas Hurst 9923c9e347 Tidy imports, remove completely useless comments 2008-08-11 19:12:42 +01:00
Thomas Hurst be159574d9 We don't need to do a keyname lookup here any more. 2008-08-11 19:08:26 +01:00
Thomas Hurst e65e396d32 Hook up new keybinding code. Making them configurable shouldn't be far away... 2008-08-11 19:02:14 +01:00
Thomas Hurst d1787e576d Introduce a class for handling keybindings. Not yet hooked up to anything, but initial tests suggest it works. 2008-08-11 15:30:51 +01:00
Thomas Hurst f96018f0bc Use TerminatorTerm's get_window_title(), rather than everyone asking vte and failing to handle it properly. 2008-08-07 23:07:21 +01:00
Thomas Hurst 4c0e500c7b Always set some sort of title; if vte's title is None, use the command the terminal is running.
Add an option to spawn a telnet instance to the local debug server in a tab.  newtab() and splitaxis() now support a command argument for this.
2008-08-07 21:34:47 +01:00
Thomas Hurst 6a14445c74 Debugserver debugging fixups. 2008-08-07 18:20:45 +01:00
Thomas Hurst 9a3ddc0854 Do some tidying. Only spawn a server when running with -dd (debug is now a counter, not just a boolean) 2008-08-07 17:26:46 +01:00
Thomas Hurst 61aafbe028 Give our debugserver a reasonable starting environment 2008-08-07 14:59:10 +01:00
Thomas Hurst d0d81fc152 Introduce a debug service; spawn a Python REPL on a random local TCP port. Supports basic telnet commands, ^C and ^D work, etc. 2008-08-07 05:32:28 +01:00
Chris Jones 807921372b Handle creating popup menus with far less crack, and for kicks, not occasionally spit backtraces trying to create menus. For bonus points, also don't pass the event onto the widget 2008-08-06 23:12:45 +01:00
Thomas Hurst d51ab3a7e2 Change window titles from Terminator: Title to Title - Terminator. 2008-08-05 11:28:46 +01:00
Thomas Hurst 2d6f1c0485 r459 breaks; regexp probing, since \< is valid in both POSIX and GNU regexps; they just don't mean the same thing. This means on !GNU, URL matching silently breaks and POSIX word boundries are never tried.
Since the VTE-warning is annoying people, rather than back it out, try to make everyone happy; Linux now only uses GNU, !Linux always probes, and there's now a try_posix_regexp configuration option who's default reflects this.  Hopefully we will Just Work in most environments.
2008-08-03 03:09:38 +01:00
Chris Jones bcb60d1807 swap match adding order to try the Linux friendly one first. This should reduce reports of the libvte warning as being an error 2008-08-02 23:32:10 +01:00