Nick Treleaven
14e61b9bdb
Re-detect any document filetypes set to None after reloading
...
filetype extensions (closes #2979661 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4803 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-06 16:37:27 +00:00
Nick Treleaven
a190e1bfb7
Use 3rd person for more API dox.
...
Change 'This is a wrapper function for...' to 'Wraps...' in brief
descriptions.
Change 'After all...' to 'Afterwards...'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4760 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 13:01:16 +00:00
Nick Treleaven
138cbaa02f
Use 3rd person (gets not get) for API function brief descriptions.
...
Avoid using 'convenience function' in API brief descriptions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-12 18:15:48 +00:00
Enrico Tröger
db6c8bcaa0
Add R tagmanager symbol parser (patch by Jon Senior, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4685 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 14:54:53 +00:00
Enrico Tröger
55f670b777
When reloading configuration, process the current document at last so the symbol list will be updated correctly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4644 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-06 17:25:58 +00:00
Enrico Tröger
7ba4a81181
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Nick Treleaven
e1a392d328
Make group for custom filetypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4478 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-08 12:35:13 +00:00
Nick Treleaven
5f28284cb1
Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-07 17:51:37 +00:00
Nick Treleaven
3e6b304c77
Add/improve debug messages for custom filetypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4464 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-02 16:38:20 +00:00
Nick Treleaven
cf540a712f
Deprecate documents_foreach() as it looks more like a function; use
...
foreach_document() instead.
Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 15:28:38 +00:00
Nick Treleaven
d17141ca9a
Support loading global tags files for custom filetypes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-20 12:07:12 +00:00
Nick Treleaven
7c450e2939
Add filetype "lexer_filetype" key so custom filetypes can use an
...
existing lexer.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4340 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 14:58:51 +00:00
Nick Treleaven
68657d327b
Add filetype "tag_parser" key so custom filetypes can use an existing
...
tag parser.
Add tm_source_file_get_named_lang().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4339 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-19 14:24:40 +00:00
Nick Treleaven
8bdacdf027
Use foreach_dir().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4267 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 13:57:43 +00:00
Enrico Tröger
b84a64934d
Add new filetype: Abc (patch by Eric Forgeot, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4211 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-20 18:46:56 +00:00
Nick Treleaven
1986d915cc
Run ./scripts/fix-alignment.pl -w src/*.[hc] plugins/*.[hc] (skipping generated files).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-16 14:13:38 +00:00
Nick Treleaven
683e09aae5
Update syntax highlighting after changing the 'Invert syntax
...
highlighting colors' pref, instead of requiring a restart.
Remove filetypes.common invert_all option - use 'Invert syntax
highlighting colors' pref instead (closes #2854525 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-14 11:53:08 +00:00
Enrico Tröger
6a73751aba
Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4163 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 20:57:42 +00:00
Lex Trotman
8af51d54f5
Only write filetype config files when build command or regex is
...
actually changed. Removed commented code in src/filetypes.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-03 03:40:21 +00:00
Nick Treleaven
89a708bd11
Merge trunk changes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-31 15:46:19 +00:00
Enrico Tröger
55b68b76fa
Fix compiler warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4138 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-29 18:44:14 +00:00
Lex Trotman
081e9e768f
Merged trunk to build-system
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4101 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-17 04:27:07 +00:00
Nick Treleaven
858a97e90a
Prevent adding entries for both system and user custom filetype
...
files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4072 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 15:12:50 +00:00
Nick Treleaven
1665bc61bc
Change custom filetype filename format to filetypes.Foo.conf for
...
consistency with built-in filetype files.
Fix loading custom filetype settings (e.g. default extension).
Add note about using GeanyFiletype pointer instead of filetype_id
for function arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 14:47:44 +00:00
Nick Treleaven
2bb49a38c8
Support adding custom filetype files e.g. filetype.Foo.conf. (Only
...
tested with empty file so far).
Allow GeanyFiletype::extension to be NULL.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 11:19:54 +00:00
Nick Treleaven
6f312b2d19
Add filetype_make_title() instead of using:
...
ft->title = g_strdup_printf(_("%s source file"), ft->name);
It also supports "%s file" strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 12:38:10 +00:00
Nick Treleaven
5e55af41fc
Add Markdown filetype (patch by Jon Strait, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 11:29:53 +00:00
Lex Trotman
8a4b302d7f
Make build API symbols prefixed GEANY_
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4043 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 02:04:08 +00:00
Lex Trotman
6108436176
Fix warnings, build API and execute toolbutton
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/build-system@4033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 01:38:41 +00:00
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