2096 Commits

Author SHA1 Message Date
Nick Treleaven
486e1cdbc6 item: basic support for adding custom filetypes?
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 13:42:22 +00:00
Nick Treleaven
43890f2045 Use documents->open_files() as it's more efficient when opening
multiple files and existing files are open for filetypes with
typename colouring.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2141 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 13:39:53 +00:00
Nick Treleaven
42889d65ad Ignore D import statements.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2140 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-01-02 13:17:25 +00:00
Enrico Tröger
eb7b9b38ed Remove unnecessary macro GEANY_HOME_DIR.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2139 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 21:02:50 +00:00
Enrico Tröger
8849ed8819 Create Geany's configuration directory in user's appdata path instead of the default home directory (closes #1856305).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2138 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 20:57:34 +00:00
Enrico Tröger
347c1da00c Add debug console window when debug mode is enabled to get any text messages on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2137 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 15:54:00 +00:00
Enrico Tröger
7746eee602 Avoid crash on Windows with enabled debug messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2136 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 15:31:45 +00:00
Enrico Tröger
f313105d71 Don't parse in comments and fix wrong creation of tags including non-tag characters(e.g. '=' sign).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-30 15:20:22 +00:00
Nick Treleaven
de3d1e3223 Disable popup menu items when there is no selection.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2134 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-28 17:35:58 +00:00
Nick Treleaven
6ea61f1722 Refactor with functions: check_single_selection(),
is_folder_selected(), get_tree_path_filename() and separate menu
item callbacks.
Rename "Open with..." popup item "Open externally" ("..." is usually
used when the user can input more information).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2133 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-28 17:02:07 +00:00
Frank Lanitz
ddc2d139dd Update of Swedish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2132 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-27 20:23:50 +00:00
Enrico Tröger
5d3801fe30 Add *.vala extension to CSharp filetype to support the Vala language.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-25 14:19:47 +00:00
Nick Treleaven
bd6c2c611f Add configurable keybindings for Cut, Copy and Paste.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-25 14:00:18 +00:00
Enrico Tröger
2ca754ab0f Enable parsing command line options without a valid X display.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 17:06:11 +00:00
Enrico Tröger
6b2df19863 Add Python filetype template (patch by Elena of Valhalla, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2128 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 15:22:55 +00:00
Enrico Tröger
8b71fea887 Remove an extra space.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2127 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 15:20:17 +00:00
Enrico Tröger
48847cb372 Fix inverted move tab first/last commands.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2126 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-23 15:19:42 +00:00
Frank Lanitz
bb65c72945 Update languages list
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2125 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-22 19:34:11 +00:00
Frank Lanitz
56320eba5d Moved uk_UA.po to uk.po
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2124 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-22 14:35:15 +00:00
Frank Lanitz
91771c7905 Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-22 14:34:53 +00:00
Nick Treleaven
39738f90ca Make Open, Save As dialogs start in project base path (or default
path pref) when the current file has no filename.
Split up widget setup code for dialogs_show_open_file(),
dialogs_show_save_as().
Add initial_dir argument for win32_show_file_dialog().
Add utils_get_default_dir_utf8().
Rename utils_get_current_file_dir() to
utils_get_current_file_dir_utf8().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-21 17:25:58 +00:00
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
Nick Treleaven
ad852bf420 Fix missing line comment char.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2119 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-20 12:56:54 +00:00
Frank Lanitz
673c5de208 Added uk_UA to language list (oops) and fixed a little typo inside ChangeLog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2118 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-19 20:29:40 +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
Enrico Tröger
659fabbc35 Don't delete geany.ico since it is not installed anymore.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2113 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:23:44 +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
28d9c63e79 Add PREFIX macro.
Don't construct LOCALEDIR manually but use autotools $(localedir) variable instead.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2110 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-18 17:01:36 +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
450595f6b8 Set treeview rules hint for several treeviews and remove manual setting the background colour of odd rows of the status and message treeviews (closes #1848901).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-12 16:34:02 +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