2765 Commits

Author SHA1 Message Date
Enrico Tröger
9a0c567918 Add "Recent Projects" menu to the Project menu (#2728630, patch by Elias Pschernig, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 14:14:29 +00:00
Enrico Tröger
9d8d3f5b2b Add sanity checks in ui_lookup_widget() just to be safe.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 14:13:56 +00:00
Enrico Tröger
ee99a3e841 Remove checks for the .pdf or .dvi files when viewing a LaTeX file (as we did for all other files in SVN r3382).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3682 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-03 14:48:20 +00:00
Nick Treleaven
1681861fa1 Merge reorder-filetypes branch:
Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
append randomly without breaking the ABI).
Make None filetype name = title = _("None").
Add foreach_slist() macro.
Add filetypes_by_title list to GeanyData for plugin API access
- a list of filetype pointers, which includes the None filetype
first. This list stays constant by the time plugins are initialized,
so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
index the sorted list.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-03 14:23:45 +00:00
Nick Treleaven
d3cdd27904 Move ActionScript to the Script group.
Fix wording & typo.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-03 13:53:04 +00:00
Nick Treleaven
8bf28b76fb Merge trunk changes.
Add string.h include for htmlchars.c.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-03 13:45:47 +00:00
Nick Treleaven
26d27cbd2e Rename sorted_filetypes filetypes_by_title, and add to GeanyData
for plugin API access.
Fix order of filetypes in Save Actions Instant Save configuration
dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3677 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-02 15:00:17 +00:00
Enrico Tröger
08b0712fcc When hiding the messages window, set the input focus back to the editor widget (part of #1910393).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-31 19:01:31 +00:00
Enrico Tröger
8eb2028ab5 Add widget names for the menubar and toolbar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3675 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-31 17:39:17 +00:00
Nick Treleaven
68928213df Use g_slist_nth_data() with sorted_filetypes list instead of
filetypes_find() as it is neater.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3673 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-31 15:07:27 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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