153 Commits

Author SHA1 Message Date
Nick Treleaven
9eb9a8facf Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
because they are now sent to the VTE.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1929 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-03 11:25:28 +00:00
Nick Treleaven
05a8bf08a2 Make common bash Ctrl-[a-z] keyboard shortcuts work in the VTE.
(Not sure why Ctrl-Shift-[cv] copy/paste shortcuts still don't work).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-26 16:22:20 +00:00
Nick Treleaven
ef1399e000 Rename MyApp -> GeanyApp.
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
dialogs;
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-23 11:34:06 +00:00
Enrico Tröger
8cae1cc3ee Add auto focus (to auto focus widgets below mouse cursor).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-11 08:58:37 +00:00
Enrico Tröger
2f7fc48bf4 Added popup menu item: Change current working directory.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1560 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 13:40:57 +00:00
Enrico Tröger
e0985eac5a Fixed handling of command line arguments within the shell command for the VTE to enable use of shells as login shells.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1464 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-19 13:44:42 +00:00
Nick Treleaven
b05c0a7f0e Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:47:27 +00:00
Nick Treleaven
806dd5be1d Add descriptions for all .c source files below the file header.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 11:41:56 +00:00
Enrico Tröger
aecbcaee94 Applied patch from Jeff Pohlmeyer to improve loading of the VTE library.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1229 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-25 15:45:14 +00:00
Enrico Tröger
133a8b7ae6 Use g_shell_quote to avoid problems with special characters in the path of a filename.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1198 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 15:57:00 +00:00
Enrico Tröger
ac48b2bc35 Fixed changing directories when the path contains whitespace.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1192 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-15 15:08:10 +00:00
Enrico Tröger
7b61ad934d Updated copyright information.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Enrico Tröger
2ceedcdc7b Improved tool tip for terminal emulation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-08 18:24:45 +00:00
Nick Treleaven
40e4ab0dda Stop Valgrind complaining about a vc->emulation leak.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-20 15:43:01 +00:00
Nick Treleaven
b71c227f55 Add 'Hide Message Window' popup menu item for each window in the
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-13 16:41:25 +00:00
Enrico Tröger
33425f1a5d Added option to execute programs in the VTE instead of executing them in a terminal emulation window (closes #1594456).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-10 21:29:04 +00:00
Enrico Tröger
351af2978a Added missing header file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1061 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:51:31 +00:00
Enrico Tröger
019859b55b Revert the last change to utils_str_equal() and use it again because g_str_equal() is not NULL-safe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:12:01 +00:00
Nick Treleaven
e4a974349e Make the switch to vte menu shortcut override work before the VTE
has been realized.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-01 12:19:09 +00:00
Nick Treleaven
31aa37fb65 Remove vte_char_size_changed() workaround, not needed since r988;
this also fixes an issue where the VTE is limited to 30x5 chars.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-25 12:23:49 +00:00
Nick Treleaven
4c9b41dfe4 Move VTE preferences GUI code to vte.c.
Move on_pref_tools_button_clicked() to prefs.c.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-24 11:47:29 +00:00
Enrico Tröger
76931febcf Fixed segfault when opening the preferences dialog for the first time from the VTE widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-23 15:04:10 +00:00
Nick Treleaven
bfd785b72a Applied patch from Bob Doan to prevent scrolling when wrap searching
around a document, and to add a preference for suppressing search
dialogs when wrapping or after Find Next.
Rearranged some Preferences dialog options, added Files tab.
Disable tab position when file tabs are hidden (not new file tab
placement option, it still affects order of pages).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-18 15:47:28 +00:00
Enrico Tröger
c8b497d1ca Don't unload the VTE module on exit to avoid crashes on some systems.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-15 18:20:13 +00:00
Nick Treleaven
78d474e3d8 Fix message window horizontal scrollbar being too tall on some systems (thanks to Rob van der Linde).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-12 15:29:40 +00:00
Enrico Tröger
bae191b373 Probe different versions of libvte.so, not only libvte.so and libvte.so.4.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-11 00:07:49 +00:00
Nick Treleaven
72f287fe0f Move geany_debug prototype to geany.h so that all files can use it
without a dependency on main.h.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@912 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-21 11:16:54 +00:00
Nick Treleaven
2b8066b9ac Change VTE word selection chars to include paths
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@840 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-27 14:57:17 +00:00
Nick Treleaven
a63fc1e40e Moved UI related utils from utils.c to ui_utils.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00
Enrico Tröger
5321e14d3f Change the current working directory within the VTE also when a new file is saved.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@774 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-30 18:53:45 +00:00
Enrico Tröger
aef63f1772 Added new VTE settings to the preferences dialog.
Improved ignore menu bar accelerator settings.
Keep current working directory when restarting the VTE (happens when hitting Ctrl+C).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@759 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-23 16:37:05 +00:00
Enrico Tröger
f509afca7e Save all VTE settings in an own VTE section in the configuration file instead of using an unhandy string list.
Added new settings: ignore menu bar accelerator and define the shell which is started within the VTE.
(Code not yet complete, might be buggy, GUI stuff is missing)


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@755 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-22 19:03:38 +00:00
Enrico Tröger
d79e82f633 Moved prototype for geany_debug() to main.h.
Moved declaration of document struct to document.h.
Keep selection when commenting and uncommenting code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 15:47:18 +00:00
Nick Treleaven
ac3d928453 Remember the VTE current directory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 15:07:11 +00:00
Enrico Tröger
c308b37049 Added the GTK IM menu items to the VTE popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@710 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 08:45:59 +00:00
Nick Treleaven
4300a7496a Fix applying vte settings on startup and prevent the message window vertical scrollbar being hidden
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@565 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 19:10:37 +00:00
Enrico Tröger
100987ee91 Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar buttons can be hidden.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@548 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 14:15:56 +00:00
Enrico Tröger
086aeb4c4c Added option to disable the VTE follows path feature.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 18:34:03 +00:00
Enrico Tröger
1451d8f72d Change the path in the VTE widget when switching between files according to the path of the current file.
Process the switch_page callback only once.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 23:51:32 +00:00
Nick Treleaven
c9de3027db remove vte middle click override to allow X paste and update popup preferences item for Terminal tab number
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@360 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-23 20:26:23 +00:00
Enrico Tröger
d703c394a6 declared some functions static
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 00:19:15 +00:00
Enrico Tröger
9401f5e836 applied patch from Nick Treleaven to improve removing the vte widget, fixed also a bug with disappearing scrollbars
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@287 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-29 18:14:19 +00:00
Enrico Tröger
c2344d66bb removed some compiler warnings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@272 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 17:54:02 +00:00
Enrico Tröger
e7185d7530 replaced g_new() by g_new0()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@268 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-25 16:29:48 +00:00
Enrico Tröger
8c9d299115 applied patches from Nick Treleaven
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@261 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-05 14:15:14 +00:00
Enrico Tröger
c8ca726838 hopefully fixed a crash when closing the preferences dialog and message window was hidden and shown before
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-25 22:21:57 +00:00
Enrico Tröger
4f9aec2d51 fixed a crash when preferences are set and message window is hidden
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@171 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-06 06:30:59 +00:00
Enrico Tröger
36055a4942 added commandline option "--vte-lib" to specify the location of libvte.so.x
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@109 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-01-06 18:37:24 +00:00
Enrico Tröger
d53f10b8d9 check first for libvte.so, then for libvte.so.4
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@76 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-21 19:44:48 +00:00
Enrico Tröger
2afef49a5e added popup menu for the VTE widget
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@59 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-16 22:19:51 +00:00