6732 Commits

Author SHA1 Message Date
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
Colomban Wendling
4a199f8505 Merge branch 'ctags-tests' 2013-06-24 17:54:41 +02:00
Colomban Wendling
ac344e5d83 Improve error log when a tag parser test fails 2013-06-23 20:15:51 +02:00
Colomban Wendling
8037fa5d10 Import all test cases from upstream CTags that work for us
The test results were auto-generated and not manually checked, so they
may be inaccurate.  They should be fixed if appropriate if they start
to fail, e.g. when modifying the relevant parser.

CTags' tests that didn't pass weren't imported, but probably should be
added an the relevant parser fixed.
2013-06-23 15:13:13 +02:00
Colomban Wendling
c1deb7457f Add a test infrastructure for tag parsers 2013-06-23 15:08:27 +02:00
elextr
fa0f92def2 Prevent C++ static_assert from stopping parsing
For some conditions static_assert was stopping further parsing.
For example:
static_assert(a<1,"too small");
would stop all further parsing.  Now static_assert is recognised
and content of the parens is ignored.
2013-06-23 17:31:20 +10:00
Matthew Brush
79db59d019 Add API docs for search_show_find_in_files_dialog()
This function is used in File Browser plugin and in Tree Browser,
GProject, and GeanyPrj plugins from Geany-Plugins.
2013-06-15 12:45:45 -07:00
Frank Lanitz
c1b511d942 Merge pull request #144 from krofna/patch-1
break is keyword in pascal
2013-06-10 00:27:14 -07:00
Matthew Brush
13ec6ffbea Add new API function plugin_builder_connect_signals() 2013-06-09 15:22:25 -07:00
Mislav Blažević
ce3cfa25da break is keyword in pascal 2013-06-09 21:52:13 +03:00
Ilario Pierbattista
e949ff8872 Add "strictfp" Java keyword
Closes #936.
2013-06-08 14:55:39 +02:00
Dimitar Zhekov
b7fbb78ca7 import cxx_compiler to enable C++ compiler detection change 2013-06-08 13:43:37 +02:00
Braden Walters
8c10f6a90d Parse Java annotations with parameters
Closes #924.
2013-06-08 03:29:40 +02:00
Frank Lanitz
bc926a3ff0 Update of Italian translation 2013-06-07 11:04:44 +02:00
Dimitar Zhekov
42c00f2f50 sync C++ compiler detection under Windows with the C compiler detection 2013-06-07 06:57:41 +02:00
Frank Lanitz
0af6130fea Update of Swedish translation 2013-06-06 20:59:01 +02:00
Colomban Wendling
8498957cf1 Update Scintilla to version 3.3.3 2013-06-06 16:31:47 +02:00
Colomban Wendling
6b406d04dc Add a note in the Scintilla update script to add files to the build system 2013-06-06 16:07:08 +02:00
elextr
2fdcad6290 Allow Javascript new operator to apply to any object constructor
js.c only allowed keywords 'function' 'Function' or 'Object' after
'new' but js syntax allows any constructor function:

var name = new constructor_function( args );

ie an identifier where js.c allowed only keywords.
So changed js.c to allow any identifier as well as the keywords.
2013-06-06 13:10:06 +10:00
Colomban Wendling
467639c7c9 Fix inclusion of some build files to the generated tarballs 2013-06-05 20:34:10 +02:00
Colomban Wendling
fe0280037d Indentation width detection: try not to get fooled by comments
C-style multiline comments, used among others in C, C++ and Java, are
often continued on next lines with an additional space followed by an
asterisk:

  1.    /* first comment line
  2.     * continuation line (asterisk is aligned with previous line)
  3.     * last line */

This fools the indentation with detection because lines 2 and 3 from
the above example have an extra space in what is considered being the
line indentation.  In this example, the algorithm would detect an
indentation width of 5 rather than 4, because here most lines have an
indent of 5 -- although they actually have an indent of 4 plus a space
for alignment.  This is not a problem in most situations because there
generally are fewer comment continuation lines than actual code lines
which have a indent multiple of the actual indent width, but with some
code with a lot of comments (e.g. short functions with verbose
documentation comments) this might start to fool the algorithm and
give wrong, annoying, results.

So, try to detect these continuation lines and avoid taking them into
account.
2013-06-02 22:42:47 +02:00
Colomban Wendling
8afff838c1 Improve scrolling to display a plugin's keybindings
When scrolling the keybinding list to display a particular row, which
is used to display a particular plugin's keybindings, consistently
scroll so the row is on the top left.  This makes it easier to see the
row in question since it's always at the same location, and it shows
more child keybindings.
2013-06-01 20:07:12 +02:00
Colomban Wendling
d3b88fb5b1 Fix a leak searching for the keybinding group row 2013-06-01 01:56:31 +02:00
Matthew Brush
44fcdf1b7c Minor tweak to plugin manager button spacing 2013-05-25 17:02:49 -07:00
Pavel Roschin
169a2f4957 Keybindings for plugins 2013-05-25 16:49:06 -07:00
Colomban Wendling
0dc9e4ec38 Import fix from upstream Scintilla to fix crash upon DnD with GTK3
This imports Scintilla commit e488315f2d30e1795f0899779bac948da41b4eef
from HG, "Bug: [#1481]. Incorrect event copying on GTK+ 3.x."
2013-05-25 17:48:49 +02:00
Colomban Wendling
6cff31488e Import fix from upstream Scintilla to fix crash on drag and drop
This imports Scintilla commit 06f36a3217229ec2c2a360e370ae1b07597ce7b6
from HG, "Fix crashes with SelectionText instances that did not have \0
terminators."
2013-05-25 17:45:07 +02:00