Nick Treleaven
4753e20394
Fix sorting filetype template menu items.
...
Add foreach_slist() macro.
Make sorted_filetypes list public, and include None filetype first.
Rename filetypes_foreach_sorted() to filetypes_foreach_named() to
show it doesn't include the None filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3672 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-31 14:32:03 +00:00
Enrico Tröger
9ab2aefa20
Display file/directory icons in the Documents sidebar (patch by Simon Treny, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-30 18:46:37 +00:00
Enrico Tröger
f9a5d444e8
Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-30 18:13:31 +00:00
Enrico Tröger
00bc23cec4
Backport recent changes from Scintilla CVS to add partial support for RFC2822 styled text using the Properties lexer.
...
Ignore leading whitespace for config files and RFC2822 text.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-30 17:49:40 +00:00
Enrico Tröger
560af59610
Add an option to allow appending the toolbar to the main menu bar to save some vertical space.
...
Allow setting toolbar icon size to very small (menu icon size).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-29 16:15:35 +00:00
Enrico Tröger
c70f7c7a8c
Ignore errors when trying to delete the icon cache file even if it doesn't exist.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3667 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 16:42:57 +00:00
Enrico Tröger
9431eea244
Allow negative window coordinates when saving and restoring the position of the main window.
...
Restore the main window position and size *after* the window has been realised to get it positioned accordingly (this affects at least Windows).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 16:25:57 +00:00
Nick Treleaven
c220fadc9e
Make None filetype name = title = _("None").
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3665 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 16:14:29 +00:00
Nick Treleaven
127cef3c9f
Fix Gtk warnings & sort by filetype title, not name.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3664 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 15:52:38 +00:00
Enrico Tröger
a6cecbd433
Add utils_path_skip_root(), a relative path safe variant of g_path_skip_root (forgotten patch by Colomban Wendling, #2518658 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 15:40:19 +00:00
Enrico Tröger
1d7a1226c4
Simplify the code more.
...
Fix the [un]install targets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3662 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 15:39:36 +00:00
Nick Treleaven
ba6b5c81e9
Fix sorting Document menu filetype names.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3661 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 15:36:10 +00:00
Nick Treleaven
ed5f4ecb83
Sort filetype IDs randomly (so we can append randomly).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3660 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 15:33:52 +00:00
Nick Treleaven
bc9639e800
Move sorted_filetypes list insertion to filetype_add().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3659 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 14:14:46 +00:00
Nick Treleaven
0cd1683ca6
Sort open dialog filetypes in combo boxes by title.
...
Add filetypes_foreach_sorted(), filetypes_find().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3658 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-27 14:06:11 +00:00
Frank Lanitz
f5de9e047e
Update of Russian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3657 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-26 23:48:12 +00:00
Enrico Tröger
093c7cff7f
Don't manage the last used documents list when quitting to prevent errors by accessing invalid memory (may close #2533990 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-26 20:31:55 +00:00
Enrico Tröger
b8b30e7e63
Always build Geany completely, also when the fake Makefile is called in a subdirectory.
...
Add fake Makefile for the plugins directory.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3655 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-26 20:17:16 +00:00
Enrico Tröger
76a9d232c2
Use g_win32_get_package_installation_directory_of_module() on Windows with newer GLib versions instead of deprecated API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-26 20:10:47 +00:00
Enrico Tröger
2bc9e3ae02
Re-set the quitting status after all documents have been closed on quitting.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-25 19:38:14 +00:00
Enrico Tröger
2c9d6cf069
Check whether skipping the root element of a document's filename succeeded and use the filename itself if not (e.g. on relative filenames, #2702844 ).
...
Use the locale encoded filename when saving session files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3652 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-25 19:00:34 +00:00
Enrico Tröger
a9bf063c7b
Delete the geany_run_script.sh immediately after execution to prevent leaking old copies when the script was quit unexpectedly ( closes #2710482 , patch by Martin Olsson, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3651 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-25 18:52:17 +00:00
Frank Lanitz
c7a62c6b3d
Applied a patch by Enrico to improve code of htmlchars plugin
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-24 20:35:28 +00:00
Frank Lanitz
10ea2cc7ba
Remove usage of deprecated sci_get_selected_text() from htmlchars plugin.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-24 18:45:16 +00:00
Frank Lanitz
349d516e75
Spelling fixes on Russian translation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3648 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-24 18:44:49 +00:00
Enrico Tröger
df4a62d571
Deprecate sci_get_text(), sci_get_selected_text() and sci_get_text_range().
...
Add sci_get_contents(), sci_get_contents_range() and sci_get_selection_contents() as replacement functions to provide an easier and cleaner API (initial patch by Frank).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3647 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-24 18:13:28 +00:00
Enrico Tröger
97a90efb8b
Delay disk file checks when switching between documents a little bit to avoid fast, unintentional page switching in some cases.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3646 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-24 18:12:39 +00:00
Enrico Tröger
9318d1def6
Fix wrong parsing of CSS tags when the definition block starts on a new line (reported by Dominic Hopf, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3644 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-22 22:49:29 +00:00
Frank Lanitz
3c36f39cd5
Extend htmlchars plugin with some replacment functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-20 17:22:18 +00:00
Nick Treleaven
305707906c
Move ActionScript to the Script group.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3642 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-20 16:41:12 +00:00
Nick Treleaven
2cc65983d2
Fix setting Open dialog filetype on opening a file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-20 16:33:59 +00:00
Nick Treleaven
5ddc129829
Make GEANY_FILETYPES_NONE = 0; other things are now broken, e.g.
...
setting Open dialog filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3640 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-20 16:18:32 +00:00
Nick Treleaven
66382e98e8
Make branch to change GEANY_FILETYPES_NONE = 0, and allow appending filetypes instead of breaking the plugin ABI each time we add one.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-20 16:13:30 +00:00
Enrico Tröger
a404e821a2
Reset current build directory to the base directory after reading a "Leaving directory" message when parsing Make output ( closes #2694479 , patch by Andrea Mazzoleni, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3638 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-19 18:03:38 +00:00
Enrico Tröger
476c18e7af
Add keybindings for the split actions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3637 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-19 17:50:38 +00:00
Enrico Tröger
efdae222c8
Set the initial directory for the Save As dialog only once on initialisation.
...
Add a shortcut of the project's base directory to the File Open/Save As dialogs when a project is open for faster access.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3636 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-19 17:50:23 +00:00
Enrico Tröger
fe3ba59309
Fix wrong display of the filename in the tab bar menu for new files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3635 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-19 17:50:08 +00:00
Enrico Tröger
1ec2a9e323
Update build menu items after changing anything in the 'Set Includes and Arguments' dialog.
...
Disable Compile/Run buttons/menu items when Compile/Run commands are set but empty.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3634 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-19 17:49:52 +00:00
Frank Lanitz
f935f45a26
Update of Russian translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3633 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-17 21:06:10 +00:00
Enrico Tröger
66285ef9f1
Don't present the main window of a running instance when starting a second instance separately.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3632 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-16 14:41:10 +00:00
Nick Treleaven
00de18c7a3
Minor fixes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-16 14:03:20 +00:00
Enrico Tröger
adae4bc707
Fix wrong directory selection behaviour in all Open Folder dialogs ( closes #2688020 , patch by Marcel Stimberg, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3630 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-16 13:45:12 +00:00
Enrico Tröger
009fdd67a1
When using Find All in the Find dialog (in Session and Document), display the right amount of matches.
...
Fix the display of the matches once per line (I broke the original patch).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3629 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-16 13:43:12 +00:00
Enrico Tröger
3be9ab0937
Reduce default file permissions on the Unix Domain socket file (reported by Jörg Sommer, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3628 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-15 07:50:05 +00:00
Enrico Tröger
b2faa6dcfb
When using Find All in the Find dialog, display matches only once per line in the messages window (patch by Bert Vermeulen, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3627 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 17:23:56 +00:00
Enrico Tröger
a70a679898
Add an option to set an additional plugin lookup path.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3626 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 10:02:29 +00:00
Enrico Tröger
f6087b5af8
Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
...
Other minor cleanups.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3625 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 09:59:58 +00:00
Enrico Tröger
4122c1b138
Add filetype ActionScript (patch by Chris Macksey, thanks).
...
Update type keywords only for real C-like languages.
Fix wrong sorting of Assembler and Ada filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3624 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 09:58:27 +00:00
Frank Lanitz
7246f992d3
Minor update of translation file headers
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3623 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-13 00:54:35 +00:00
Frank Lanitz
8c89952c42
Update of Turkish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3622 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-07 22:12:32 +00:00