1602 Commits

Author SHA1 Message Date
Enrico Tröger
836c368d50 Apply patch from Bo Lorentsen to add support for project session files (thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 19:06:41 +00:00
Enrico Tröger
416e1b0a69 Enable close tab on middle-clicking a notebook tab label.
Enable toggle additional widgets on double-clicking notebook tab label.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2042 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 10:19:50 +00:00
Enrico Tröger
d04c3f594f Don't compile plugin command line option when plugin support is disabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 09:09:47 +00:00
Enrico Tröger
11dcb382f4 Remove utils_get_date() and add format argument to utils_get_date_time().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2040 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-11 09:03:01 +00:00
Nick Treleaven
d1d24b30c5 Allow VTE to interpret F-keys (except if they're focus commands).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 16:58:20 +00:00
Nick Treleaven
a4abd28278 Set Ctrl-Alt-P as default Prefs KB.
Change Decrease Indent default KB to Ctrl-U (very common action,
and Ctrl-U was unused).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 16:39:34 +00:00
Nick Treleaven
6687b67074 Fix popup menu item capitalization according to Gnome HIG.
Add separator menu item to VTE popup menu.
Move VTE Prefs item below Input Methods.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 16:21:46 +00:00
Nick Treleaven
feba4143ef Separate keybindings tree setup code from prefs_init_dialog(); use
enum for tree model columns.
Ask the user whether to override an existing keybinding when setting
a combination that is already in use.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2036 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 15:58:11 +00:00
Enrico Tröger
b0109e93ca Remove unused unnecessary function utils_btoa().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2034 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 12:46:43 +00:00
Enrico Tröger
31e13db9f1 Fix bug when creating configuration directory on Unix.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2032 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-07 17:33:42 +00:00
Enrico Tröger
c5f190f725 Apply patch from Simone Denei to add a "Restart" item to the VTE popup menu in case running application hangs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-07 17:16:28 +00:00
Nick Treleaven
4fcc44ee72 Allow scrolling past end of document, so the user can append text
with the last lines drawn at the top of the view.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 17:29:51 +00:00
Enrico Tröger
73e6e90342 Quote first element of command line when using Compile, Build and Make commands on Windows to avoid problems if the tools are specified with full path.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2028 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 17:07:26 +00:00
Nick Treleaven
f1e323f158 Make VTE interpret all keyboard shortcuts except for focus group
keybindings.
Add enum values for keybinding groups.
Make Notebook tabs keybindings group.
Move Go to tags items into Tags keybindings group.
Move navigation items into a new Other keybindings group.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 16:59:01 +00:00
Enrico Tröger
8787314e74 Enable stopping of Run command on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 15:54:46 +00:00
Nick Treleaven
92a00f1f8e Add 'Strip Trailing Spaces' document menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-06 13:24:39 +00:00
Enrico Tröger
e99a263013 Fix compile error on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 18:05:49 +00:00
Enrico Tröger
c5f7867aea Don't use unnecessary #ifdefs for utils_get_locale_from_utf8().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-05 15:09:13 +00:00
Enrico Tröger
f819bde65a Use g_unlink() instead of unlink(). Minor code cleanups and add some sanity checks. Fix broken Run command on Windows by not changing Geany's working directory (this might break other things, unfinished).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 19:26:02 +00:00
Enrico Tröger
7cc8825ef1 Fix crashes on Windows when configuration directory could not be created. Fix problems when configuration directory path contains special characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 15:48:14 +00:00
Enrico Tröger
9610c0f63d Add document_set_text_changed() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 10:12:15 +00:00
Enrico Tröger
dc4bc34e36 Add support for env wrapper in shebang detection (inspired by a patch from Yura Siamashka).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 10:06:06 +00:00
Enrico Tröger
281641de55 Fix error in Compile and Build commands on Windows if the command contains double quotes. Fix error in Build command when the executable file name contains spaces(Linux and Windows).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 09:57:47 +00:00
Nick Treleaven
046d5ef796 Fix bug with using the default extension, not the user set one, if
'New with template' is used before any documents of the same filetype
are open.
Load filetype keyfiles from filetypes_load_config(), not from
styleset_foo_init().
Add highlighting_init_styles(), highlighting_set_styles(),
simplifying a lot of styleset function code.
Remove filetype::style_func_ptr field.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 17:44:05 +00:00
Nick Treleaven
be322a8703 Show line wrap symbol at start of line for wrapped lines.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 16:57:51 +00:00
Enrico Tröger
c25e30510d Remove Scintilla keybinding Alt-Backspace for Undo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 16:07:01 +00:00
Enrico Tröger
dba689edf2 Fix broken window maximization.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 13:03:54 +00:00
Enrico Tröger
bceb2ce942 Add exit code detection for Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-02 12:58:38 +00:00
Nick Treleaven
79ff87713a Add configurable default file extension setting for filetype
definition files.
Note: There is a bug with using the default extension, not the user
set one, if 'New with template' is used before any documents of the
same filetype are open.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 16:33:06 +00:00
Nick Treleaven
dcd06b21af Ensure document_update_tag_list() always shows the empty symbol list
when tags cannot be parsed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 13:00:32 +00:00
Nick Treleaven
fbb8fb5f54 Enable build support on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:54:38 +00:00
Nick Treleaven
340c76f01c Prevent prefs dialog being hidden after using the prefs file dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 12:53:00 +00:00
Enrico Tröger
991a6c7811 Create tagmanager status file in configuration directory, not in a guessed temporary directory to ensure having write access. Fix crashes if status file can't be written.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 11:49:29 +00:00
Nick Treleaven
deb7a04d14 Only translate '%s source file' instead of whole title for filetypes
(easier for new translations).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 16:41:01 +00:00
Nick Treleaven
d8c3ecaf11 Ensure empty symbol list is shown when tags cannot be parsed (fixes
wrong symbol list shown when creating a new document with an unsaved
filename set).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 16:22:01 +00:00
Nick Treleaven
c1205dc504 Use newline as autocompletion list separator, so that reST entries
show correctly.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1995 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 12:56:12 +00:00
Nick Treleaven
f836bbcd7f Set reStructuredText default file extension .rst.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-31 12:16:48 +00:00
Nick Treleaven
25b85ba09c Make Fold All/Unfold All attempt to scroll the current line in view.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-29 16:53:40 +00:00
Enrico Tröger
560341bfcf Replace "Hide" popup menu items of the symbol and document list with "Show Document List" and "Show Symbol List" check menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1986 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-28 21:14:35 +00:00
Enrico Tröger
2d77d3013a Add support for relative project base path.
Improve and synchronize base path tooltips in project new and properties dialogs.
Fix minor GUI annoyances in project dialogs.	    


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1984 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-28 17:02:36 +00:00
Nick Treleaven
3d91095b64 Fix bug with choosing 'show full path name' from documents list popup
menu when there is no selected item (can happen after using the command
twice).
Fix hiding the sidebar/documents list from the popup menu when there's
no selected item.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 16:10:56 +00:00
Nick Treleaven
601dfd69f7 Make msgwin_status_add() only log a message, not display it on the
status bar.
Make ui_set_statusbar() take a log argument for whether to record the
message in the Status window.
(Plugin API functions already do this).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-24 10:52:48 +00:00
Nick Treleaven
90f19ceb3f Remove unused variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1970 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-23 15:23:08 +00:00
Enrico Tröger
0c79897dfe Don't make notebook tabs higher than necessary.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 17:10:02 +00:00
Nick Treleaven
a54ddf4795 Added File Browser sidebar plugin.
Rename 'Open Files' sidebar tab 'Documents'.
Add keybindings->send_command() and tm->get_real_path() to the plugin
API.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-22 12:42:19 +00:00
Enrico Tröger
fbe1d5429d Fix possible wrong window title when loading session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-20 14:57:37 +00:00
Frank Lanitz
0cf185f4e5 Added Swedish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 17:56:24 +00:00
Enrico Tröger
fd4881a7bd Forgot to commit, sorry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 16:55:04 +00:00
Enrico Tröger
6b94181466 Apply most of the patch from #1794250 (thanks):
Remove compiler specific flags.
Add configure option to specify the path to libvte.so.
Remove many unnecessary configure checks.
Stop configure if msgfmt was not found(gettext not installed).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 14:48:19 +00:00
Enrico Tröger
00afcbcc86 Add special key wordchars to autocomplete.conf to let the user redefine used wordchars.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1960 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-18 19:55:21 +00:00