Enrico Tröger
e6fb5a8ac8
Fix file type detection for parsers using regexp code with non-standard file type extensions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-19 14:34:02 +00:00
Enrico Tröger
92a7cff5e6
Add missing symbol types: Interface and Constants for PHP.
...
Disable use of non-ASCII characters for PHP parser, it caused problems when using with locales other than "C".
Add missing line break characters in error messages in lregex.c.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-18 17:17:59 +00:00
Enrico Tröger
47c1c7e0cc
Fix two more compiler warnings.
...
Use php.c and lregex.c from CTags SVN (closes #1795810 ).
Add regex.c and regex.h (GNU regex) for regex support on Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-17 19:27:50 +00:00
Enrico Tröger
dbbb3d5fe9
Oops, forget to remove this.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-08 12:48:20 +00:00
Enrico Tröger
0f74a88165
Don't create tagmanager status file, seems to be unnecessary (needs testing).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2033 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-07 17:57:38 +00:00
Enrico Tröger
cd77937561
Use g_unlink() instead of unlink().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-04 16:31:47 +00:00
Enrico Tröger
991a6c7811
Create tagmanager status file in configuration directory, not in a guessed temporary directory to ensure having write access. Fix crashes if status file can't be written.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-11-01 11:49:29 +00:00
Enrico Tröger
6b94181466
Apply most of the patch from #1794250 (thanks):
...
Remove compiler specific flags.
Add configure option to specify the path to libvte.so.
Remove many unnecessary configure checks.
Stop configure if msgfmt was not found(gettext not installed).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-19 14:48:19 +00:00
Nick Treleaven
b14e5a7590
Parse arrays, const and pointers in C-like function return types
...
(and store in varType).
Fix some indentation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1952 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-17 11:55:59 +00:00
Nick Treleaven
4ef7e0c7eb
Show parent class for inner classes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1921 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-10-01 10:52:56 +00:00
Nick Treleaven
74727e051d
Fix a possible segfault with vStringPut() - backported from CTags
...
5.7. This appears to fix a segfault on Windows 2000 when loading
tagmanager/c.c.
Also adds vStringChop() - chop last character from string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1920 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-28 17:06:09 +00:00
Nick Treleaven
f0c92858b1
Show Haxe enum types in the symbol list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1886 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 15:46:41 +00:00
Nick Treleaven
67c2afa93a
Apply code from blackdog to parse Haxe typedef tags (thanks).
...
Show Haxe typedefs in the symbol list.
Add tag_type treeview iter.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1885 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-09-17 15:28:27 +00:00
Nick Treleaven
92b94aed5f
Fix parsing C macro argument list.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-17 14:50:55 +00:00
Nick Treleaven
b1b36a9bf3
Don't use double if statements.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1806 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-16 16:49:17 +00:00
Nick Treleaven
2e454f7af5
Add reStructuredText filetype and parser.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-14 11:50:03 +00:00
Enrico Tröger
64cfc2b948
Fix parsing classes with modifiers like 'final'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1781 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-09 22:29:31 +00:00
Nick Treleaven
023a60cda5
Parse Python global variables and class variables from assignment
...
statements; assignment to a tuple literal ('x, y =') not supported.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-07 12:36:03 +00:00
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