Nick Treleaven
a46c2fd899
Support copying filetype definition file group keys from a system
...
keyfile with e.g. [styling=C].
Add function utils_make_filename() for building filenames easily.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5596 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-03-17 12:17:04 +00:00
Enrico Tröger
ec408fa4b9
Add filetype Cobol (based on a patch by Seth Keiper).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-30 15:03:51 +00:00
Enrico Tröger
6ac2623208
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5528 ea778897-0a13-0410-b9d1-a72fbfd435f5
2011-01-19 19:39:09 +00:00
Nick Treleaven
ce19e74134
Fix memory leak.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 18:04:15 +00:00
Nick Treleaven
eba0571fb6
Add xml_indent_tags filetype setting for documents using the
...
HTML/XML lexers (patch by Eugene Arshinov, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5392 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-10 17:47:55 +00:00
Nick Treleaven
025e391dba
Save build commands for filetype None (patch by Lex, thanks).
...
Make filetypes_get_conf_extension() return "common" for filetype
None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-09 15:34:24 +00:00
Nick Treleaven
f346f985df
Add filetypes_get_display_name() to get translations for filetype
...
None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 18:06:09 +00:00
Nick Treleaven
29bc84dfce
Do not translate 'name' field for filetype None because it is used
...
for hash table lookup. This fixes missing files in the Open dialog
for the 'All files' filter with non-English locales (thanks to Sardem
FF7).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-04 16:45:47 +00:00
Nick Treleaven
b6e22c8bdf
Detect user and system filetype configuration files as Conf
...
filetype.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5349 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-01 15:18:32 +00:00
Nick Treleaven
3b90c93953
Fix notebook tab menu icons using theme for "text/plain" filetypes.
...
Make filetype mime_type "text/plain" instead of NULL.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5334 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-27 14:20:18 +00:00
Nick Treleaven
ad222465b3
Leave text/plain mime_type fields as NULL (like custom filetypes).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 17:36:35 +00:00
Nick Treleaven
e0702ea2b2
Add filetype mimetype field (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 16:02:30 +00:00
Nick Treleaven
f87e9d5d68
Sort filetypes_by_title last instead of on insertion to prevent
...
exponential time.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5328 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-26 15:33:16 +00:00
Nick Treleaven
f091b41ff8
Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5313 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 15:59:06 +00:00
Nick Treleaven
a366609fb0
Remove filetype default extensions from code.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5312 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-21 15:41:24 +00:00
Nick Treleaven
1487173f71
Don't write 'ft->lang = -2' for filetypes with no tag parser; this is the default anyway.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5311 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:28:06 +00:00
Nick Treleaven
a83ee579fa
Move filetype comment_{open,close} defaults into data files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5310 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:22:58 +00:00
Nick Treleaven
e28f5bc3ab
Move filetype 'extension' default into data files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5309 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 16:15:39 +00:00
Nick Treleaven
38e23095dd
Add Erlang filetype (patch by Taylor Venable, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-20 15:45:25 +00:00
Nick Treleaven
1e37c8922b
Prevent debug message about a missing 'default' named style when
...
using just a user color scheme file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5303 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-18 17:13:59 +00:00
Nick Treleaven
24fd9c1824
Set C++, C# title as *source* file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5289 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-07 13:45:23 +00:00
Nick Treleaven
b109889e5e
Add Lisp filetype (patch by Mário Silva, thanks).
...
Note: Lisp lexer was taken from Scintilla instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5286 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-06 17:10:15 +00:00
Nick Treleaven
054afed310
Add Forth filetype (patch by Thomas Huth, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5266 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 16:59:22 +00:00
Nick Treleaven
d8dce113a2
Add symbol_list_sort_mode per-filetype setting, set to sort by line
...
number by default for Markdown, reStructuredText and Txt2Tags.
Add utils_get_setting() macro for reading a key from a home or
system keyfile.
Move GeanyFiletypePrivate to filetypesprivate.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5262 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-30 13:50:33 +00:00
Nick Treleaven
a24d6dca6a
Auto-enable building with included regex if no regcomp function is
...
found.
Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
regex support is required.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-25 11:44:33 +00:00
Nick Treleaven
30ac6b98e8
Rename Matlab -> Matlab/Octave. Datafile name remains the same.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5196 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-24 16:01:14 +00:00
Nick Treleaven
b8f3ce774b
Fix segfault on Tools->Reload Configuration when no documents are
...
open (#3037079 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-16 12:21:22 +00:00
Enrico Tröger
441b37589e
On Windows, convert filetype extensions read from config files to lower case ( closes #3028856 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5105 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-07-13 20:53:25 +00:00
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