Nick Treleaven
7e7b07e3b7
Sort Configuration Files menu.
...
Add ui_menu_sort_by_label().
Add foreach_list() macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3700 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-08 12:25:47 +00:00
Enrico Tröger
28ac7814fd
Don't add opened project files to the GtkRecentManager.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 22:09:23 +00:00
Enrico Tröger
8111ada01b
Prevent showing an empty macro list.
...
Show only macros of the same filetype instead of all macros of all loaded filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 22:09:08 +00:00
Enrico Tröger
d02a9f9c88
Silently ignore a request to start auto-completion when the document has no filetype set.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3697 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 22:08:50 +00:00
Enrico Tröger
6d50bdf31a
Make editor_highlight_braces() static.
...
Remove unused wrapper functions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3696 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 22:08:38 +00:00
Enrico Tröger
1dc5f0175d
Fix setting a wrong default window size when starting without an existing configuration.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3695 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 22:08:19 +00:00
Nick Treleaven
bfe7da53bd
Fix 2 old uses of filetype IDs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 15:42:24 +00:00
Nick Treleaven
a50dde5037
Add Configuration Files item for snippets.conf.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3693 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-07 15:28:03 +00:00
Frank Lanitz
4b711df385
Update of French translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3692 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-06 22:36:32 +00:00
Enrico Tröger
ab88bb8270
Minor string improvements (spotted by Jean-Philippe Moal, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3691 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-06 16:01:15 +00:00
Enrico Tröger
7065a92232
Fix Windows build (oops).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3690 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-06 13:39:33 +00:00
Enrico Tröger
e652d1f16a
Show a message dialog when renaming a file fails.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 21:41:38 +00:00
Enrico Tröger
1f7def7b71
Fix typo in the G_LIKELY checks, introduced in last commit.
...
Fix the size of the styles array.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3688 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 21:22:49 +00:00
Enrico Tröger
a9dc990049
Start using G_LIKELY/G_UNLIKELY macros to gain a little more performance when building the code with gcc.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3687 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 21:07:40 +00:00
Frank Lanitz
1053d2496d
Update of Turkish translation
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3686 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 19:58:30 +00:00
Enrico Tröger
b98b9b16b9
Describe how to build Geany using the Waf build system.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-05 15:12:56 +00:00
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
Enrico Tröger
d71d3521d2
Fix Windows build by removing the last reference of the old VCdiff plugin (oops, reported by Timothy Boronczyk).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-02 15:49:19 +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
6d34508059
Fix wording & typo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/reorder-filetypes@3674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-03-31 15:11:58 +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
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