Lex Trotman
28d96a3909
Merge with trunk
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4020 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 00:59:12 +00:00
Enrico Tröger
39a74c5a18
Continue unifying usage of @a and @c markup elements in API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-21 22:12:13 +00:00
Lex Trotman
9164392983
Merge with trunk
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-17 04:55:35 +00:00
Lex Trotman
3bc23327f5
Fix many warnings, remove make cmd preference
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3982 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-17 00:23:38 +00:00
Enrico Tröger
9af1f7c78a
Fix broken special case handling when detecting filetypes from a shebang or other special file headers.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3981 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 17:41:25 +00:00
Nick Treleaven
28dad7a899
Remove filetypes_foreach_named().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:14:38 +00:00
Nick Treleaven
99641558bb
Add documents_foreach() API macro that skips invalid docs.
...
Make filetypes[], documents[] part of the API again.
Add GEANY() macro for sharing geany symbols between API and core.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 13:05:51 +00:00
Lex Trotman
bc8f9f771e
added dialog support for error regexes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3959 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 07:15:31 +00:00
Nick Treleaven
093bb17b67
Reload filetypes.common after saving it.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3957 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 12:38:32 +00:00
Nick Treleaven
b051d01215
Apply patch from Eugene Arshinov to reload color schemes via menu
...
(thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3955 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-13 11:58:21 +00:00
Lex Trotman
e345d180d2
Fixed load/save filetypes build config, implemented Build Commands Dialog clear button
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3947 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-10 09:00:37 +00:00
Lex Trotman
1726e57092
Configurable Build Menu Alpha
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@3941 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-09 06:49:42 +00:00
Enrico Tröger
89a37d011c
Fix a small memory leak.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3904 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-29 19:46:24 +00:00
Nick Treleaven
f56cad490e
Remove data_ptr argument to foreach_[s]list() macros, as using
...
node->data is enough sometimes; this makes the macro a bit more
efficient too.
Add foreach_[s]list() macros to the plugin API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3862 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-12 15:32:35 +00:00
Nick Treleaven
aa4e9831c4
Add filetypes.common Configuration Files menu item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3848 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-09 14:39:28 +00:00
Enrico Tröger
61f89d5c25
Add a trivial symbol parser for NSIS files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-21 20:52:19 +00:00
Enrico Tröger
0a4256565c
Prevent double execution of radio menu item "activate" or "toggled" signal handlers.
...
Move 'Set Encoding' callback function into encodings.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3712 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-17 15:30:01 +00:00
Enrico Tröger
a95a59a42f
Remove all G_LIKELY macros inside g_return_if_fail() statements as this is redundant.
...
Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much sense to keep the code more readable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3708 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-15 22:47:33 +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
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
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
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
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
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
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
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
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
b2eeefc919
Add some missing @since tags to the API documentation of various functions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-30 18:53:23 +00:00
Enrico Tröger
60e751eaf2
Remove filetype O-Matrix (probably unused for years).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3482 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-18 18:18:38 +00:00
Enrico Tröger
c636728975
Fix several compiler warnings and build errors (patch by Daniel Richard G., thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 18:29:39 +00:00
Enrico Tröger
39a6eb455e
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:30:42 +00:00
Enrico Tröger
42578efd22
Add *.desktop as extension for the Conf filetype.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3445 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:24:50 +00:00
Enrico Tröger
d007adc71f
Add filetype Ada ( closes #1811306 and #1765830 , patch by Philipp Gildein, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3444 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 16:00:50 +00:00
Nick Treleaven
077270c647
Remove geanyobject.h includes.
...
Use GObject instead of unused GeanyObject argument.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 13:03:42 +00:00
Enrico Tröger
6c60580989
Add new filetypes CMake and NSIS.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 20:31:09 +00:00
Enrico Tröger
9e25c43487
Move implementation of lookup_widget() into ui_lookup_widget().
...
Change uses of lookup_widget() to ui_lookup_widget().
Remove now unneeded support.c.
Use GLib gettext macros in support.h instead of own ones.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 21:21:53 +00:00
Enrico Tröger
5db30d1067
Change comment character to '!' for Fortran 90 ( closes #2438423 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-17 16:01:09 +00:00
Nick Treleaven
5763dfbe2d
Add document_index(), filetypes_index() array accessor functions to
...
the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-03 18:03:54 +00:00
Enrico Tröger
e5de10ac67
Fix wrongly detected PHP files as HTML if they start with HTML code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3297 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-29 18:35:44 +00:00
Enrico Tröger
0f8b8a2f2f
Add new filetype 'YAML' (patch by Walery Studennikov, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3290 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-29 12:51:50 +00:00
Nick Treleaven
492f78c769
Move configuration_read_filetype_extensions() to
...
filetypes_read_extensions().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3281 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-26 16:09:48 +00:00
Nick Treleaven
899dce26b6
Add 'Tools->Configuration Files' menu with items to open
...
filetype_extensions.conf and ignore.tags. These files are also
reloaded automatically when saved.
- Code changes:
Make app->configdir a realpath().
Add ui_add_config_file_menu_item().
Add utils_build_path(), similar to g_build_path() but (re)using a
fixed buffer, so the result is never freed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3279 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-26 13:15:53 +00:00
Nick Treleaven
eafc95a59f
Apply patch from Colomban Wendling to add Vala filetype (thanks).
...
Fix c.c tagLetter() bug.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 16:33:20 +00:00
Enrico Tröger
474a0b4410
Add new filetype 'Matlab' ( closes #1938631 , patch by Roland Baudin, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:39:45 +00:00
Enrico Tröger
af1c81efcb
Fix doc comment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:12 +00:00
Enrico Tröger
57c764867c
Add simple auto-detection for HTML files without proper extension.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 18:44:05 +00:00
Enrico Tröger
087872260f
Add new filetype 'Gettext translation file' ( closes #2131985 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 16:32:49 +00:00