3938 Commits

Author SHA1 Message Date
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
Enrico Tröger
fbbe778eeb Fix punctuation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3621 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-05 13:03:51 +00:00
Enrico Tröger
05e93ed2df Add keyword 'extends' and fix Fortran parser to support the 'extends' keyword (closes #2654492).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3620 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-05 13:03:25 +00:00
Enrico Tröger
8302a0be66 Don't use menu item images for the tab bar menu to save some vertical space.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3619 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-05 13:03:06 +00:00
Frank Lanitz
785feb5b89 Update of Finnish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3618 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-04 22:21:15 +00:00
Frank Lanitz
b56f1d64a2 Update of Finnish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3617 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-03 21:28:01 +00:00
Frank Lanitz
3adf7c38f2 Update of German and Spanish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3616 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-03 20:07:25 +00:00
Enrico Tröger
93b0278a52 Disable the default tab bar menu for the main notebook widget and use a custom menu instead which lists all open files as usual plus 'Close Other Documents' and 'Close All' menu items.
Remove GeanyDocumentPrivate::tabmenu_label.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3615 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 20:34:31 +00:00
Enrico Tröger
c573d3cc22 Add main.h to the list of installed header files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3614 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 20:34:06 +00:00
Enrico Tröger
9b5d68fee7 Adjust minimum required GTK version.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3613 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 20:33:48 +00:00
Frank Lanitz
e6a55e12a4 Update of Spanish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3612 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-02 18:29:48 +00:00
Enrico Tröger
aec992e1bf Update the Packager tag due to Dominic's various contributions.
Update description and feature list.
Change Source tag to the gzip'ed tarball to be in sync with the Makefile target (thanks to Wolfgang Ocker for reporting).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3611 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:07:20 +00:00
Enrico Tröger
f3351261ed Fix possible crash on non-32-bit systems (patch by Wolfgang Ocker, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3610 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:07:06 +00:00
Enrico Tröger
cff3f126ac Fix broken non-incremental search with the toolbar search entry when pressing Enter (closes #2638180).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3609 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:06:51 +00:00
Enrico Tröger
57c761dea2 Fix missing brace in comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3608 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-27 14:06:34 +00:00