502 Commits

Author SHA1 Message Date
Enrico Tröger
75c74284f8 Add filetype Haxe (patch by blackdog, thank you).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-26 09:50:12 +00:00
Enrico Tröger
3b00085ae9 Fix compiler warnings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1715 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 12:37:48 +00:00
Enrico Tröger
b54eb0a180 Always use g_fopen() and g_stat() instead of fopen() and stat() to fix several problems with filenames containing special characters on Windows. Use GetFullPathName() instead of lrealpath() to get Tagmanager working on files containing special characters on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 12:04:46 +00:00
Enrico Tröger
2719f6d146 Apply patch from Shiv to make build system more compatible with other compilers than gcc.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1689 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-11 15:27:57 +00:00
Enrico Tröger
287711caf4 Use CTags SVN version of PHP parser.
Use only supported symbol types in the symbol view for PHP.      


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-09 15:11:18 +00:00
Enrico Tröger
f651b49c18 Parse also sections in configuration files.
Allow whitespace in keys and section names.
Remove unused LexConf.cxx.
Highlight also space separated key value pairs.		 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-02 17:09:48 +00:00
Nick Treleaven
7cdacb9ef4 Fix build.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1655 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 16:19:28 +00:00
Enrico Tröger
96b14c8c3d Re-add previously removed code to fix broken calltips.
Merge some minor bugfixes to C/C++ parser from CTags SVN and remove compiler warning.	 


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1653 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 15:42:37 +00:00
Enrico Tröger
fcb06167b4 Change label of GTK check in configure.in from PACKAGE to GTK (only cosmetic).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1644 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-26 18:08:00 +00:00
Enrico Tröger
c4f70b7536 Fix build on Win32.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1638 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-24 13:46:29 +00:00
Enrico Tröger
f8c4a48497 Merge recent changes from CTags SVN.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1636 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-23 16:49:15 +00:00
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