1357 Commits

Author SHA1 Message Date
Nick Treleaven
4e262328bd Make utils_get_utf8_from_locale(), utils_get_locale_from_utf8()
NULL-safe.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2121 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-21 16:34:07 +00:00
Nick Treleaven
559ca62705 Add combo box input history for Make Custom Target dialog.
Make dialogs_show_input() automatically activate on pressing enter in
the GtkEntry, use a callback for input text, and have a 'persistent'
option to hide the dialog instead of deleting it, using a combo box
for input text history.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2120 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-21 13:09:09 +00:00
Enrico Tröger
3fef2dcc58 Prefix autotools macros with GEANY to avoid problems with already defined symbols on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-19 15:37:10 +00:00
Enrico Tröger
ee5ea6b728 Apply patch Jeff Pohlmeyer to handle unknown command line options better (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2116 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-19 13:49:59 +00:00
Frank Lanitz
cc4100fe9e Added Ukrainian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 21:46:49 +00:00
Nick Treleaven
3bd9e22309 Fix parsing correct D class name when inheriting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:32:06 +00:00
Nick Treleaven
091a059b8a Remove unused pointerOrder code from C parser, as it's not necessary
since r1952, and not in the standard ctags code. Leaving it in the
TagManager code however for backwards compatibility with global tag
files.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2112 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:05:56 +00:00
Enrico Tröger
1d57381819 Add note about using autotools macros like DATADIR.
Add --print-prefix command line option to output installation paths.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2111 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:03:39 +00:00
Enrico Tröger
948ccf3a2d Don't install pixmaps/geany.ico by default.
Fix mandir path and don't delete icons (patch by Yura Siamashka, thanks).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2109 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 16:30:57 +00:00
Nick Treleaven
9a236fc554 Don't flicker menubar when typing Shift-[a-z] in the VTE.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 13:35:51 +00:00
Nick Treleaven
ebcbeafdf8 Fix parsing C arrays (broken in r1952, oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2107 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 13:16:23 +00:00
Enrico Tröger
4a88efc005 Avoid full path for icon entry.
Add file HACKING and classviewer icons.
Prevent installing geany.desktop twice.   


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2106 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-17 17:20:55 +00:00
Enrico Tröger
0d92c102b5 Use project's base dir and run command when running commands in the VTE.
Add VTE preference to skip the generated run script. when running commands in the VTE.
Make vte_cwd() accept also paths not only filenames.	       


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-17 16:58:26 +00:00
Enrico Tröger
47c7c69214 Add Move document first/last keybindings (patch by Catalin Marinas, thank you).
Add toolbar items to increase/decrease indentation (closes #1850697).	     


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2104 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-16 16:54:47 +00:00
Enrico Tröger
639e23effa Use pluginmacros.h (for classbuilder and htmlchars plugins).
Add highlighting_get_style().
Add highlighting_get_style() to the plugin API.
Rename DocumentFuncs field in GeanyData struct to avoid name clashes.	      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2103 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-16 11:27:59 +00:00
Enrico Tröger
14a1f2957f Apply patch from Ubuntu package to match FD.o standards (thanks to Siegfried-Angel Gevatter Pujals).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-16 11:07:20 +00:00
Enrico Tröger
39b5aea63b Fix Run command for HTML files when set to something else than "builtin".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-14 13:39:15 +00:00
Enrico Tröger
fc6c31a242 Add binary relocation support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2100 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-12 20:04:45 +00:00
Enrico Tröger
2e8a6e8949 Fix crashes when clicking on message window items introduced with changing rules hints for treeviews.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2099 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-12 18:42:53 +00:00
Enrico Tröger
b9f49c02ee Enable dragging of text into the VTE.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2098 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-12 16:55:00 +00:00
Enrico Tröger
c5ad06494b Fix wrong file filters in file dialogs opened in the preferences dialog.
Fix wrong debug display of filenames which could not be loaded from last session.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2096 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-09 16:59:21 +00:00
Enrico Tröger
225e6bc1ce Apply patch from Yura Siamashka and Dominic Hopf to fix build of rpm package (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2095 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-09 16:52:59 +00:00
Enrico Tröger
0573e49653 Fix wrong file filters in project-related file dialogs on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-07 16:31:38 +00:00
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