Colomban Wendling
cc9e56e9bc
PHP: Fix parsing of anonymous functions using the "use" keyword
...
http://www.php.net/manual/en/language.namespaces.php#104136
2013-08-08 17:27:25 +02:00
Colomban Wendling
fb7bd34592
PHP: Fix parsing of anonymous functions returning a reference
2013-08-08 17:27:25 +02:00
Frank Lanitz
9fbe2bc319
splitwindow: Change wording for keybinding to by in sync with tools-menu entries. Should fix #102
2013-08-08 11:43:12 +02:00
elextr
f15f61768d
Fix sign comparison warning
...
Since the previous line ensured len is < 100, just casting it is fine.
2013-08-05 12:13:42 +10:00
Duncan de Wet
992ee22ce7
Add various HTML5 keywords
2013-07-31 17:39:11 +12:00
Colomban Wendling
0b010e2f45
Bash: Fix handling of quoted HereDoc delimiters
...
Imported from upstream Scintilla bb784e214430498e91c9935bbc841c798629212f
Closes [bugs:#952]
2013-07-23 17:25:53 +02:00
Colomban Wendling
458f4f2e75
Don't warn when trying to close a document when none are open
...
When using the document close keybinding, it is legitimate for the
callback to be called even if there are no documents open, so properly
check for this.
Closes [bugs:#941]
2013-07-21 13:50:25 +02:00
Colomban Wendling
f0f3a6cd99
Update Scintilla to version 3.3.4
2013-07-21 12:04:14 +02:00
Colomban Wendling
7d1cd77eef
update-scintilla.sh: Fix displaying of the message for new files
2013-07-21 11:33:40 +02:00
Colomban Wendling
e0ef859c7f
Verilog: Fix parsing initializers
...
Import upstream CTags fix for parsing Verilog initalizers
(fixes parsing of test bug2747828.v).
2013-07-19 17:17:55 +02:00
Colomban Wendling
c7e0fba6ca
ObjectiveC: Fix re-parsing
...
Import upstream CTags fix for proper reinitialization of the ObjectiveC
parser, fixing parsing after the first call.
2013-07-19 17:17:55 +02:00
elextr
8d3085b61c
Add C++ member pointer operator to scope autocomplete operators
...
C++ member pointers use the syntax ->* so the scope autocomplete
list was showing after -> then disappearing when * was typed.
Fixes #907 h.
2013-07-18 13:00:06 +10:00
elextr
cac1115ced
Prevent reading past start of Scintilla buffer
...
A quick check seemed to show Scintilla does not check the minimum
value is positive, so just check here to be safe and log message
if it fails.
2013-07-18 12:36:42 +10:00
Colomban Wendling
6e902613b3
Improve some test ordering
...
Spotted by Daniel Marjamäki, thanks.
2013-07-16 19:13:41 +02:00
Yosef Or Boczko
768f86bf5e
Updated Hebrew translation
...
Signed-off-by: Frank Lanitz <frank@frank.uvena.de>
2013-07-15 20:11:13 +02:00
Colomban Wendling
b016e132fd
Java: Report enums and fix parsing them
2013-07-15 17:42:00 +02:00
Colomban Wendling
80ad5c1459
Merge branch 'aeberspaecher/cython/ndarray-fix'
2013-07-15 15:48:00 +02:00
Alexander Eberspächer
3dc5422860
Add test for complex datatype Cython tag generation
2013-07-15 10:08:11 +02:00
Alexander Eberspächer
e6878e5cbf
Fix ctags for complex Cython type declarations
...
Cython allows the use NumPy arrays on a C level. In that context, a
typical return type declaration could be e.g. "cpdef
numpy.ndarray[dtype=double, ndim=1] name". This now generates a tag for
the function. Previously, the equal sign prevented that.
2013-07-15 10:06:37 +02:00
Colomban Wendling
66396e7ca7
PHP: Fix infinite loop reading an identifier ending at EOF
...
Bit-wise operation is inappropriate here because `c` might be negative,
since EOF is generally represented as -1. Since -1 is stored as all
bits at 1 on most common architectures, the test will evaluate to true,
hence entering an infinite loop.
2013-07-15 00:59:56 +02:00
Yosef Or Boczko
9ae90f3f87
Fix the my last name and update the my e-mail
...
Signed-off-by: Frank Lanitz <frank@frank.uvena.de>
2013-07-14 23:41:14 +02:00
Colomban Wendling
b39f90c94d
C++11, C#: Fix parsing of enums with a base type inside classes
2013-07-14 20:34:44 +02:00
Colomban Wendling
af5dfba9d8
C#: Correctly parse enums with a base type specifier
...
See CSharp Language Specification 14.1.
2013-07-14 03:12:22 +02:00
Colomban Wendling
d91c532f95
Remove a few dead assignments
...
Spotted by clang --analyze.
2013-07-13 23:00:43 +02:00
Colomban Wendling
f23b7267cf
Fix possible dereference of NULL pointer
...
Use g_set_error() instead of doing it manually and forgetting to check
whether the pointer is NULL or not before dereferencing it.
Spotted by clang --analyze.
2013-07-13 22:13:07 +02:00
Colomban Wendling
f0e590022b
Fix the test suite with Automake < 1.13
...
The test suite uses a LOG_COMPILER, which requires the parallel-tests
Automake test driver which is the default only since version 1.13, so
explicitly enable it so it is used by earlier versions too.
Moreover, the parallel-tests test diver was introduced by Automake
1.11, as was the option, so we need to depend on it too. It was
released 2009-05-17, which is 2 months after GTK 2.16, the minimum GTK
version we depend on (2009-03-13). If this is a problem, we could
also rework the Automake test layout to use the older and a little
deprecated serial-tests test driver that is the historical one.
2013-07-12 15:39:57 +02:00
Asier Iturralde Sarasola
4ec7757f2b
Updated Basque translation
...
Signed-off-by: Frank Lanitz <flanitz@bgc-jena.mpg.de>
2013-07-08 10:59:22 +02:00
Colomban Wendling
4bfac4fcda
Merge branch 'wip/better-php-parser'
2013-07-03 19:27:19 +02:00
Colomban Wendling
436e0bf3f3
PHP: add PHP 5.5 keywords
2013-07-03 19:26:23 +02:00
Colomban Wendling
f842ed9aac
Tests: add PHP case sensitivity test
2013-07-03 19:26:23 +02:00
Colomban Wendling
4de97daa8c
Tests: add test for PHP 5.5 additional usage of the "class" keyword
2013-07-03 19:26:23 +02:00
Colomban Wendling
ad37ced1c2
PHP: recognize PHP 5.5 keywords finally and yield as such
2013-07-03 19:26:23 +02:00
Colomban Wendling
9b1890b605
PHP: add support for "<script language=php>" open and close tags
...
http://www.php.net/manual/en/language.basic-syntax.phptags.php
2013-07-03 19:26:23 +02:00
Colomban Wendling
3235f57bc9
Tests: fix PHP tests results
2013-07-03 19:26:23 +02:00
Colomban Wendling
e3fad4a745
Merge branch 'master' into wip/better-php-parser
2013-07-03 19:26:06 +02:00
Colomban Wendling
d1f2005738
Merge branch 'sql-parser-update'
2013-06-26 16:37:12 +02:00
Colomban Wendling
3ba9bd34db
SQL: Show variables in the symbol list
2013-06-26 16:33:35 +02:00
Colomban Wendling
08fe915ce8
SQL: report scope as such, not as part of the tag name
2013-06-26 16:33:35 +02:00
elextr
d4398d7fd0
Add some more explanation to indentation documentation
...
Explain operation of tabs and spaces setting.
Explain relation of autoindent settings and indentation type.
Add note regarding filetypes to match braces.
2013-06-26 14:52:52 +10:00
Colomban Wendling
f02b70949a
tests: Add a missing test file (oops)
...
I forgot to add the files in 32074064ab91104d7bdfbb5dc0dcd97faf7f7f11,
oops.
2013-06-25 15:06:16 +02:00
Yosef Or Boczko
18bc2d92c1
Fix GTK3 build under Windows
2013-06-25 00:14:37 +02:00
John Long
750ac6e978
Add 'self' to list of PHP keywords
2013-06-24 23:56:37 +02:00
Edwin Lee
fbc6bdc850
Add some missing Fortran file extensions
...
Updated Fortran file extensions to include f08 (Fortran 2008) and all
the preprocessor Fortran extensions.
2013-06-24 23:22:30 +02:00
Colomban Wendling
3ec664f544
Merge Fortran fixes from Alexander Eberspächer
...
Closes PR#145 and PR#146 by cherry-picking their commits.
2013-06-24 23:09:36 +02:00
Colomban Wendling
32074064ab
tests: Add a test for Fortran procedure pointers
...
Test file from Alexander Eberspächer.
2013-06-24 23:07:52 +02:00
Alexander Eberspächer
194ef6010d
Tagmanger: recognize Fortran procedure pointers as variables
...
Add a keyword for procedure pointers and treat declarations such as
'procedure(subprogram_to_point_to), pointer :: my_pointer' just like
declarations of a real or integer variable.
2013-06-24 23:00:10 +02:00
Colomban Wendling
e4f82f28b7
tests: Add a test for forall Fortran issue
...
Test file from Alexander Eberspächer.
2013-06-24 22:57:10 +02:00
Alexander Eberspächer
2f31f7477b
Fix tag generation for Fortran with 'forall' blocks
...
* Add 'forall' as a keyword
* Add a check that allows 'forall' as a secondary keyword in
'end' statements.
2013-06-24 22:50:11 +02:00
Colomban Wendling
8b11f9b0ef
SQL: generalize support for SQL Server square brackets quoting
...
This fixes test case tests/ctags/bug1944150.sql.
2013-06-24 20:27:22 +02:00
Colomban Wendling
76a7d3c902
SQL: Update parser from upstream CTags
2013-06-24 18:04:46 +02:00