Enrico Tröger
38185ff65d
Don't let the tagmanager automatically reparse files if they seem to be changed on disk (affects all files in the current session, not the current one). This should speed up file saving a little bit, especially with remote files.
...
Remove now unnecessary calls to tm_workspace_update().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-02-24 18:27:01 +00:00
Enrico Tröger
bc52e9db5d
Update Fortran parser from CTags SVN ( closes #2545000 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3527 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-29 17:24:31 +00:00
Enrico Tröger
0582c61824
Replace remaining occurrences of '__func__' with 'G_STRFUNC'.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-21 22:49:21 +00:00
Enrico Tröger
a47b682f6f
Remove GTK tags (data/global.tags).
...
Add C (C99) tags (data/c99.tags) and a script to generate them).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3480 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-17 18:44:38 +00:00
Enrico Tröger
e65d0f2362
Add a format specification in global tags files and implement an additional fallback if the specification is missing.
...
Adjust code and scripts which generate global tags files to add the new format specification.
Update global tags files.
Add documentation for the two supported global tags files formats.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3465 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-14 16:08:00 +00:00
Enrico Tröger
4a6abdaa0e
Fix build without GIO again (sorry).
...
Remove trailing slashes in Makefile.am's (patch by Daniel Richard G., thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3463 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-12 00:33:29 +00:00
Enrico Tröger
c636728975
Fix several compiler warnings and build errors (patch by Daniel Richard G., thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3460 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-11 18:29:39 +00:00
Enrico Tröger
a097d3dbb7
Fix some bugs in parsing FreeBasic code ( #2489605 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3449 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-06 14:53:31 +00:00
Enrico Tröger
39a6eb455e
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-04 18:30:42 +00:00
Enrico Tröger
b5aee22fbe
Fix crash in Makefile parser when trying to read defines.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-01-03 16:22:28 +00:00
Nick Treleaven
83e0fc1b1b
Parse sections in the order of first-used underline character,
...
which can now be any punctuation character (as per the spec).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3410 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-21 12:32:25 +00:00
Nick Treleaven
0f8cbba37e
Fix indentation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3409 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 18:11:54 +00:00
Nick Treleaven
e1ed9fdf62
Add comment about improving/fixing parsing; allow section names of length 3.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 17:31:59 +00:00
Nick Treleaven
32f0c26b4a
Use plurals for HTML symbol list parent items.
...
Fix Fortran Types showing as Interfaces in the symbol list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-19 16:28:14 +00:00
Nick Treleaven
bb612394a7
Also parse headings with tags inside header tag.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3397 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-18 16:26:26 +00:00
Enrico Tröger
43ecef8c55
Fix a few compiler warnings about unused return values caused by recent glibc versions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-15 21:20:34 +00:00
Enrico Tröger
7c5fd2c6ec
Various improvements for parsing Vala files (mainly fix handling of function attributes, fix nested types handling, add some missing keywords, patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-12-09 19:00:45 +00:00
Nick Treleaven
f73a652e44
Fix nested namespaces not having parent namespace scope (fixes
...
#2141317 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3276 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-24 13:35:10 +00:00
Enrico Tröger
d7caf0f9c0
Follow XDG Base Directory specification and use $XDG_CONFIG_HOME/geany (most often this is ~/.config/geany) as default configuration directory ( closes #2166229 ).
...
The previous configuration will be moved to the new location if the new directory doesn't exist yet.
Move utils_make_settings_dir() into main.c.
Remove win32_get_appdata_folder() because g_get_user_config_dir() does the same.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3219 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-13 14:37:47 +00:00
Enrico Tröger
04e41e15a4
Fix indentation to consistently use tabs (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3217 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-12 19:37:02 +00:00
Nick Treleaven
0f5bce0172
Use separate keyword table for D (still missing keywords though).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3206 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 17:42:54 +00:00
Nick Treleaven
eafc95a59f
Apply patch from Colomban Wendling to add Vala filetype (thanks).
...
Fix c.c tagLetter() bug.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-11 16:33:20 +00:00
Nick Treleaven
5329a0c59d
Group Conf symbol list tags by section.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3199 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-10 17:03:11 +00:00
Enrico Tröger
474a0b4410
Add new filetype 'Matlab' ( closes #1938631 , patch by Roland Baudin, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3190 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:39:45 +00:00
Enrico Tröger
8bf87e009c
Again, oops: this line got lost while merging.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3189 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:38:51 +00:00
Enrico Tröger
26f86a38a7
Oops, forgot to commit.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:38:38 +00:00
Enrico Tröger
99860e187a
Add support for updating tags from a memory buffer (code merged from Anjuta).
...
This still doesn't work and is currently disabled. It would only work for a few filetypes like C, Fortran and JavaScript.
The current implementation is still buggy, e.g. function signature parsing is broken.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3184 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-07 14:37:17 +00:00
Enrico Tröger
a3b27b3714
Enable generation of API documentation of tagmanager functions which are exposed in the plugin API, hide all others from the API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3160 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-27 19:17:28 +00:00
Enrico Tröger
c4145b7f1f
Add get_path_max() to get a sane value if PATH_MAX is not defined.
...
Change code where PATH_MAX was used unnecessarily.
Use GSlice API when building against GLib >= 2.10 (patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3142 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:36:16 +00:00
Enrico Tröger
7321901d73
Add variable 'regex_sources' to append to libtagmanager_a_SOURCES if necessary.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3106 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-16 16:57:42 +00:00
Nick Treleaven
567d0634b7
Fix gcc warning, wrap line.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3075 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 15:26:41 +00:00
Enrico Tröger
be3849e33a
Upate of the CSS parser to detect also ID and Type selectors (patch by Bronisław Białek, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 17:52:22 +00:00
Enrico Tröger
bed14c6353
Use g_strerror() instead of strerror().
...
Remove build system checks for strerror().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:37:10 +00:00
Nick Treleaven
6ce421f141
Add OpenGL Shader Language (GLSL) filetype (patch from Colomban
...
Wendling, thanks; closes #2060961 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-27 12:44:54 +00:00
Enrico Tröger
b25c2d6248
Fix wrong parsing of keywords if they are not followed by a space ( closes #2037728 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2856 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-08-05 08:54:02 +00:00
Enrico Tröger
ed016dc093
Split filetype Fortran into Fortran 77 and Fortran 90.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2777 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-14 18:27:20 +00:00
Nick Treleaven
d994c9f7e1
Fix infinite loop when parsing datatypes ( fixes #2011356 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2758 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-07-07 11:09:23 +00:00
Enrico Tröger
bdac40d369
Fix a regression introduced in latest bug fixes and fix some indentation and comments.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-15 17:50:07 +00:00
Enrico Tröger
95c9b0e751
Use proper quoted multi-line string check from CTags SVN.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-11 16:37:18 +00:00
Enrico Tröger
361a64c3fd
Change format of PHP tags file to internal tagmanager format since it is auto-generated and is read maybe a little bit faster.
...
Add auto-generated notice and timestamp at the beginning of the file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:44:00 +00:00
Enrico Tröger
3b1b9fd6d2
Fix endless loop when there are two triple strings on one line inside a multiline string.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2676 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 16:18:08 +00:00
Nick Treleaven
9ab442e146
Remove unnecessary vStringClear(name) calls after using the name
...
buffer, as the convention is now to clear the buffer before use, and
this is easier to remember to do.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2674 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-10 12:16:27 +00:00
Enrico Tröger
680b133ea6
Remove useless check (left-over from testing).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2670 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:17:38 +00:00
Nick Treleaven
86b48c20fc
Refactor using findVariable().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 17:12:19 +00:00
Nick Treleaven
8d71676280
Fix variable names sometimes having leading junk characters.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-09 15:03:53 +00:00
Enrico Tröger
e816713cb2
Remove duplicate.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2664 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 15:15:30 +00:00
Enrico Tröger
454a871de2
Use Python from CTags SVN.
...
Adapt variable parsing code from the old parser code.
Fix three bugs (see CTags bugs #1988026 , 1988027 and 1988130).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2660 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-08 14:04:01 +00:00
Enrico Tröger
d56ef68ae4
Remove check for unistd.h, assume it is available (already often used without checking).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2649 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-06-05 16:52:39 +00:00
Enrico Tröger
5ec3c087f3
Fix parsing when heading tags contain attributes (part of #1896068 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2550 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-05-04 17:39:38 +00:00
Enrico Tröger
ade798f9f2
Add configure option --enable-gnu-regex to implicitly build the included GNU regex library (in case the host system doesn't provide a usable regex library).
...
Rename tagmanger/include/regex.h in tagmanager/include/gnuregex.h to avoid unintended inclusion in source files (this fixes the OpenSolaris crashes).
Don't use GNU regex specific regex_t::buffer element to build also without this extension (e.g. on OpenSolaris).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-04-27 14:33:40 +00:00