Enrico Tröger
693649f955
Add new filetypes CSharp and FreeBasic.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1635 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-22 17:34:31 +00:00
Enrico Tröger
6446997286
Use get.c and get.h from CTags SVN.
...
Merged CSharp parser support into from CTags SVN.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1634 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-22 17:22:07 +00:00
Enrico Tröger
ef6c95d18b
Replace malloc() by g_malloc().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-04 16:51:53 +00:00
Enrico Tröger
db9271df29
Add *.ash and *.bash as filetype entensions for filetype SH.
...
Add ash and wish to the shebang patterns.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-25 13:08:17 +00:00
Enrico Tröger
12104026d0
Backport changes from CTags SVN to fix parse problems in the Ruby parser.
...
Add filetype extension "*.ruby".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1563 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 14:26:52 +00:00
Nick Treleaven
e3ffabcdea
Add Haskell tags support from CTags patch on sf.net written by Peter
...
Strand (thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1558 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 12:32:06 +00:00
Nick Treleaven
614ae5c2aa
Move C-only isident(), isident1() functions to get.h.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1557 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-22 15:31:40 +00:00
Nick Treleaven
6fdfb3d50e
Fix #1717418 , Hang on SQL file load.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1529 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-12 12:25:11 +00:00
Nick Treleaven
f39df4005f
Add support for generating global tags files for non-C-like
...
filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-27 11:00:29 +00:00
Nick Treleaven
3489b63b7d
Add tm_source_file_get_lang_name() as a wrapper for getLanguageName()
...
in parse.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1479 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-27 10:58:41 +00:00
Nick Treleaven
ca8153abf4
Keep tag names with different argument lists when loading global
...
tags.
Prevent segfault if using tm_workspace_find_scoped() with global
tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:20:56 +00:00
Nick Treleaven
4e0dd7fcca
Use the usual TM parser for all langTypes except pascal, php, latex when loading global tags files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1461 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-18 15:20:11 +00:00
Nick Treleaven
2a3f6d00f7
Add tm_tag_function_t tags in global tags files, so that inline C++
...
methods (and D functions) get parsed.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1450 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 12:41:59 +00:00
Nick Treleaven
82a0f4dfb1
Allow overloaded argument lists in global tag files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1449 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-15 12:14:33 +00:00
Nick Treleaven
e3aceea275
Show up and down arrows when there are multiple calltip matches.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-13 11:42:25 +00:00
Enrico Tröger
dd7e84f33c
Made "distcheck" working.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1443 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-08 16:38:46 +00:00
Nick Treleaven
369c7bb51c
Make \" filename quoting optional when creating a global tags file
...
(quoting is useful if glob matching is needed). Run geany -g for
example usage.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1439 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 12:07:46 +00:00
Nick Treleaven
3bdadf9727
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
...
tags when creating a global tags file, and store the pointerOrder.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1436 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-05 11:24:10 +00:00
Nick Treleaven
8464538201
Separate alternative PHP/LaTeX global tags parser into
...
tm_tag_init_from_file_alt() (for easier diff with Anjuta).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 16:27:25 +00:00
Nick Treleaven
d3dfe1dd1d
Add option --generate-tags (-g) to generate a global tags file from
...
a list of source files. Currently this is only likely to work
correctly for C-like source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-21 13:26:16 +00:00
Nick Treleaven
c909127a56
Fix wrong D function return type after a class definition.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1280 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-14 17:35:54 +00:00
Nick Treleaven
a0845459c1
Make anonymous typenames use anon_typename_n instead of
...
typename_anon_n (it seems we can't use <> brackets because of
missing scope problem).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-03 13:24:27 +00:00
Enrico Tröger
a1924a3999
Allow \section*{} and other commands with *.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1226 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-24 19:52:12 +00:00
Enrico Tröger
baf9c6988e
Just changed a comment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1212 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-20 15:16:26 +00:00
Nick Treleaven
84b941bf63
Add tm_arglist_compare().
...
Fix comparison in tm_symbol_tag_compare().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1197 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 15:24:01 +00:00
Nick Treleaven
b869858a10
Backport improvements from Anjuta 2.02.
...
Parse anonymous struct and enums (using contextual_fake_count).
Add better C99 support, e.g. wchar_t variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1195 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-16 13:18:37 +00:00
Enrico Tröger
f0d4e65311
Added new filetypes Javascript and Lua.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-13 20:16:09 +00:00
Nick Treleaven
0e75efdd3c
Parse pointers in function return type for C-like files.
...
Show scope in calltips.
Made tm_tag_destroy() static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-03 12:41:10 +00:00
Nick Treleaven
1650924026
Add calltip support for D constructors.
...
Add tm_workspace_find_scoped() (adapted from Anjuta 2.02
tm_workspace_find()).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-26 15:49:35 +00:00
Nick Treleaven
d0347a85c8
Fix missed matches in tm_tags_find().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-26 15:43:50 +00:00
Nick Treleaven
e4dc3d0a05
Add -O2 for tagmanager.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1075 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-09 13:34:47 +00:00
Enrico Tröger
c36e8de3c8
Let the LaTeX parser recognise the keyword \chapter.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-05 16:03:18 +00:00
Enrico Tröger
9b7569e3ef
Added new filetype VHDL.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-13 22:11:19 +00:00
Enrico Tröger
432e7d734f
Removed "begin" section in symbol list and sort it at environment.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@949 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-30 23:00:26 +00:00
Enrico Tröger
10c0780d4d
Use "::" as context separator only for C++, otherwise use ".".
...
Detect module declarations in D and put them in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@903 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-18 20:11:05 +00:00
Nick Treleaven
7f0ca5eebf
Backported tm_get_current_function() from Anjuta
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 16:25:53 +00:00
Enrico Tröger
2da21eb5cc
Fixed compiler warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-12 10:45:49 +00:00
Enrico Tröger
adc721c522
Added simple parser for filetype Diff to create tags for each patched file in a diff file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@883 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-11 19:45:40 +00:00
Nick Treleaven
8190f0cd95
Only parse tags once for simple parsers
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@871 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-08 12:53:33 +00:00
Enrico Tröger
75510506cd
Parse files only once instead of three times.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@868 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-06 22:29:04 +00:00
Enrico Tröger
82b94170ca
Improved Python parser to support nested classes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@867 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-06 22:13:24 +00:00
Nick Treleaven
a5bf4b765d
Let make clean continue when a file can't be deleted.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@832 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-22 12:09:53 +00:00
Enrico Tröger
010d6581e5
Added new filetypes Diff and Ferite.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@765 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-27 17:39:34 +00:00
Enrico Tröger
5d4aad6501
Added recognition for keyword "type".
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@756 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-22 19:15:33 +00:00
Enrico Tröger
63c42ea6af
Merged tagmanager/d.c with tagmanager/c.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@742 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 09:08:48 +00:00
Nick Treleaven
967dc341f2
Merged tagmanager/d.c with tagmanager/c.c, which also adds user function calltips support for D
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@741 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 19:57:02 +00:00
Enrico Tröger
428e6f6fd2
Added fortran files to the Windows makefiles
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@726 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 19:41:12 +00:00
Enrico Tröger
8d581d1552
Added new filetype Fortran 77 (not yet finished).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@724 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 17:57:41 +00:00
Nick Treleaven
6823698d0c
Use guint for search_get_file_list length
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@719 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 12:26:15 +00:00
Enrico Tröger
e52b0bc822
Fixed wrong classification of local functions as methods(thanks to Sebastian Koch).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@696 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 18:01:02 +00:00