Enrico Tröger
80532b616d
Store more document-related settings session-based in the configuration file(including the file encoding).
...
Detect in-file specified file encoding by scanning the file using regular expressions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2093 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-07 14:13:05 +00:00
Enrico Tröger
d3994ae07d
Prevent execution of commands by Geany if the VTE may contain any text on the prompt (thanks to "Jeff Pohlmeyer for reporting).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2092 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-06 16:38:13 +00:00
Enrico Tröger
e3e90f3de9
Improve error message when external command could not be executed.
...
Allow use of external command also for the special ".." item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2091 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-05 13:54:43 +00:00
Enrico Tröger
834fbcfc2e
Add "b" flag to fopen when saving files to avoid broken line ending characters on Windows (flag was removed by accident, closes #1844405 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2090 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-05 13:36:11 +00:00
Enrico Tröger
083e5057af
Let right-clicks select an item.
...
Don't load unused symbols from library.
Grab focus after right-clicked in the VTE widget.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2088 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-04 15:28:17 +00:00
Enrico Tröger
01928d453a
Add ".." path entry to every directory.
...
Fix display of double backslash in path entry on Windows.
Add basic path entry auto completion.
Print error message when external command fails to execute.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2087 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-04 13:25:41 +00:00
Enrico Tröger
6b650084a2
Updated Scintilla to version 1.75.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2086 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-02 11:58:17 +00:00
Enrico Tröger
c27e9b54c6
Add search_show_find_in_files_dialog() to the plugin API.
...
Make path entry of filebrowser plugin editable.
Add "Open with" and "Find in Files" popup menu items to filebrowser plugin and add configuration dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2085 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-02 10:52:19 +00:00
Enrico Tröger
de8caa6055
Remove obsolete SVNdiff plugin, use the VC Diff plugin.
...
Add option for amount of characters to trigger symbol completion.
Add document_find_by_filename to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-01 17:53:36 +00:00
Enrico Tröger
0ea90e6cdd
Avoid inclusion of PHP tags in PHP function descriptions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2083 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-01 11:27:03 +00:00
Frank Lanitz
35d83d5926
Forgotten ChangeLog
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2082 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-30 18:06:10 +00:00
Nick Treleaven
ee029a2bf9
Fix broken generate tags command.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2080 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-30 18:01:43 +00:00
Nick Treleaven
d1534b9c1d
Remove unused config_dir argument for tm_get_workspace().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-30 17:34:01 +00:00
Enrico Tröger
e2112fac0c
Use Ruby parser from CTags SVN and add/fix symbol list sections.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 18:24:06 +00:00
Enrico Tröger
9ff741053c
Fix broken Run command on Java files on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2076 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 18:18:52 +00:00
Enrico Tröger
e4d11212cf
Deny "(Un)Fold All" actions when folding is disabled.
...
Hide "(Un)Fold All" menu items instead of just disabling them.
Add dialogs_show_msgbox_with_secondary().
Add line and column number in charset conversion error dialog when saving a file and improve display of the failed character.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2075 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 18:08:20 +00:00
Enrico Tröger
42e026fe4b
Fix display of double slash in path entry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 17:56:36 +00:00
Enrico Tröger
fabc1c9940
Improve usage of "Unfold all children" option and add some basic documentation for folding support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-29 17:52:24 +00:00
Enrico Tröger
43fcd434eb
Fix syntax colouring bug when using '?>' in a PHP comment ( closes #1838854 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2072 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-27 15:18:57 +00:00
Enrico Tröger
bb974f08f2
Display character which caused a failed encoding conversion when saving a file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-25 13:48:22 +00:00
Enrico Tröger
8cb52f7f3b
Fix plugin separator placement in the Tools menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-23 16:37:03 +00:00
Enrico Tröger
889a1e6d03
Use FreeBasic specific sections in symbol list.
...
Use Basic parser from CTags SVN and improve the parser for better handling of dim and const keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2069 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-23 16:05:53 +00:00
Enrico Tröger
62b45d6326
Enable Shift+click on a fold point to unfold all possibly folded children (same as the pref "Unfold all children of a fold point").
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-22 17:48:59 +00:00
Enrico Tröger
ac48d14376
New plugin: Auto Save.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-22 17:03:53 +00:00
Enrico Tröger
5e6b3d5165
Remove ununsed function project_save().
...
Fix typo in plugin API at utils_mkdir().
Add document_get_n_idx() to the plugin API.
Fix display of plugin separator in the Tools menu when only plugins without menu item are loaded.
Add three new signals: project_open, project_save, project_close.
On Shutdown close the project before plugins are unloaded to let plugins work on the last project closed event.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-21 18:54:12 +00:00
Enrico Tröger
130318f94f
Revert the change to make symbol sections bold and use some small indentation when expanders are hidden.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2064 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-21 17:20:26 +00:00
Enrico Tröger
b2141dd29d
Fix crash when trying to add a multiline comment in filetypes which don't support it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-21 17:14:58 +00:00
Enrico Tröger
5f6958cba4
Add utils_mkdir() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2061 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-20 18:37:20 +00:00
Enrico Tröger
2b07283739
Add plugin manager dialog to select plugins to load at startup and to call a plugin configure dialog.
...
Add configure symbol for plugins which is called by Geany when a configure dialog for the plugin is requested, optionally.
Add author field to plugin info struct.
Add sample configure dialog to the demo plugin.
Fix cleanup code in filebrowser plugin to remove it completely when unloaded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-20 18:15:46 +00:00
Enrico Tröger
5179f16628
Make sections in the symbol list bold for better distinction if expanders are hidden.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-19 15:35:30 +00:00
Enrico Tröger
e6fb5a8ac8
Fix file type detection for parsers using regexp code with non-standard file type extensions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-19 14:34:02 +00:00
Enrico Tröger
26f6490c41
Apply patch from Bo Lorentsen to improve support for project session files (thank you).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2057 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-18 18:24:23 +00:00
Enrico Tröger
92a7cff5e6
Add missing symbol types: Interface and Constants for PHP.
...
Disable use of non-ASCII characters for PHP parser, it caused problems when using with locales other than "C".
Add missing line break characters in error messages in lregex.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-18 17:17:59 +00:00
Enrico Tröger
6dc14025ea
Add hidden pref to hide symbol list treeview expander (GTK >= 2.12).
...
Double click on symbol list sections now expands/collapses them.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-18 15:09:28 +00:00
Enrico Tröger
47c1c7e0cc
Fix two more compiler warnings.
...
Use php.c and lregex.c from CTags SVN (closes #1795810 ).
Add regex.c and regex.h (GNU regex) for regex support on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 19:27:50 +00:00
Enrico Tröger
6d12044f8c
Set line width for page header, handle empty filename in page header correctly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 17:03:25 +00:00
Enrico Tröger
fff66178da
Add native GTK printing support.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 14:04:27 +00:00
Enrico Tröger
1672c377fe
Fix possible memory leak and add time_t argument in utils_get_date_time() to pass a time pointer to use.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 13:09:19 +00:00
Nick Treleaven
31c1cae631
Added plugin 'VC Diff', slightly modified from a patch by Yura
...
Siamashka (thanks). It was adapted from the SVN Diff plugin.
Currently it supports SVN, CVS and GIT.
Fixed GTK warnings when the current file has no filename and when
the current directory has no version control system.
Made some refactoring changes to make the VC_RECORD struct contain
all necessary attributes about each version control system.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-14 16:44:45 +00:00
Nick Treleaven
27fafa5ac7
Make 'Set path from document' use the current working directory or
...
the project base path when no document is open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-13 16:41:59 +00:00
Enrico Tröger
9edb496fb9
Don't change control char symbol in Scintilla.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-13 14:46:58 +00:00
Enrico Tröger
97aa254f9d
Forgot to commit, sorry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:36:25 +00:00
Enrico Tröger
4b43e762d0
Rename "Contruct autocompletion" to "Snippets".
...
Allow changing height of the symbol completion list even if automatic symbol is disabled, it still can be forced by keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-12 09:27:43 +00:00
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
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