8658 Commits

Author SHA1 Message Date
Colomban Wendling
66c3323afb Force enable GtkDoc header on distcheck
This allows to make sure this is tested, and part of the distribution.c
2016-02-18 23:39:43 +01:00
Colomban Wendling
91a8bb6c6a Don't generate GtkDoc header stuff if GtkDoc header will not be built 2016-02-18 23:38:54 +01:00
Colomban Wendling
240b5903be Fix distcheck
We need to distribute the GtkDoc header generation script.

We need not to distribute the generated header, otherwise the VPATH
lookup would find the distributed one in $(srcdir) and try to update
it; but touching $(srcdir) is a bad thing.
2016-02-18 23:19:24 +01:00
Colomban Wendling
e9e2ddf581 Add an option to control GtkDoc header generation
This allows explicit activation or deactivation of the GtkDoc header
generation.

This might allow to e.g. force enable it on distcheck.
2016-02-18 22:51:30 +01:00
Colomban Wendling
2f55540f75 Merge pull request #582 from techee/tags_are_symbols
Use the word "symbol" instead of "tag" in the UI and documentation
2016-02-17 22:54:55 +01:00
Jiří Techet
9b686871de Use the word "symbol" instead of "tag" in the UI and documentation
For users a tag is <this> so the naming can be confusing.

The only exception where we probably shouldn't use the word symbol is the
"tags file" (*.tags) containing global tags - this has already the "tags"
extension and is more related to ctags and using "symbols file" is a bit
strange in this case.

As a result, the only places where this patch leaves the word "tag" are:

* phrase "tags file(s)"
* phrase "tags parser(s)"
* documentation mentioning the "tags" directory
* documentation mentioning the *.tags extension

and of course where it means the HTML/XML markup <thing>. The rest of the
uses of the word "tag" is replaced with "symbol".

Documentation is updated accordingly.

Fixes #579.
2016-02-17 22:38:00 +01:00
Colomban Wendling
4afe6a584a manual: Improve the error_regex description 2016-02-17 20:33:28 +01:00
Colomban Wendling
444a18b5e1 calltips: Allow for C++-style explicit specialization after the name
Closes #496.

Based on PR#496 by @DThought, thanks.
2016-02-17 18:49:32 +01:00
Colomban Wendling
989e0df412 calltips: Allow for more than one space between the brace and the word 2016-02-17 18:46:16 +01:00
Colomban Wendling
d0cd111883 Merge pull request #575 from techee/colourise
Colourise only the visible area when highlighting typenames
2016-02-17 17:37:21 +01:00
ZoomRmc
4316872503 Rust: Updated suggested indentation defaults
Indentation per official style guide:
https://github.com/rust-lang/rust/blob/master/src/doc/style/style/whitespace.md

Closes #595.
2016-02-17 16:34:00 +01:00
Colomban Wendling
372d7632e8 Merge branch 'tsahlin/more-cc-kb'
Closes #858.
2016-02-16 22:24:24 +01:00
Colomban Wendling
54613a26cf Update documentation for additional custom commands keybindings 2016-02-16 22:23:03 +01:00
Thomas Sahlin
74e3dd6d1c Added keybindings for custom commands 4-9 2016-02-16 22:21:34 +01:00
Thomas Martitz
607c95ed98 stash: drop @transfer annotation, not needed for boxed types 2016-02-16 15:50:01 +01:00
Thomas Martitz
f2ebd288b3 doc: gir annotations cleanup
- @skip -> @girskip
- @null -> @nullable
- @addtogir -> @gironly
- changed internal xml representation of @cb, @cbdata, @cbfree
- @girskip keybindings_set_item() too
2016-02-16 07:14:27 +01:00
Thomas Martitz
c35f29ae36 scripts: gen-api-gtkdoc.py cleanup
- do not write out scintilla_object_* functions
- remove scioutput file parameter
- do not open output file until after xml parsing to avoid stale files
- fixed simplesect handling
- handle output being a pipe to head or tail
2016-02-16 07:14:11 +01:00
Thomas Martitz
b741ea76df doc: Makefile.am cleanup
- split doxygen make recipe up
- rename geany_includedir to geany_gtkdocincludedir
- removed all references to geany-scintilla-gtkdoc.h

Also, remove geany-scintilla-gtkdoc.h from .gitignore
2016-02-16 07:08:58 +01:00
Matthew Brush
c0bde0dbf4 Add check for lxml package if Python is enabled
This prevents a make-time error later if it can't be imported. lxml is
considered optional so there's no build failure if Python doesn't exist or if
the lxml package can't be imported.
2016-02-16 06:52:09 +01:00
Matthew Brush
8033e26180 Remove commented-out code 2016-02-16 06:52:09 +01:00
Matthew Brush
5a391c79c3 Replace comments and asserts with doc-comments and doc-tests 2016-02-16 06:52:09 +01:00
Matthew Brush
4f3e32e95f Rename global "constant" to follow PEP-8 naming 2016-02-16 06:52:08 +01:00
Matthew Brush
402e771c9b Use 4-space indentation to follow PEP-8
The other Python scripts already follow this convention.
2016-02-16 06:52:08 +01:00
Matthew Brush
5534e5cca0 Move globals into main() function
This prevents running a bunch of top-level code if the module is
ever imported and cleans-up the global namespace.
2016-02-16 06:52:08 +01:00
Matthew Brush
5290f18916 Exclude new generated files from VCS 2016-02-16 06:52:08 +01:00
Thomas Martitz
7279037dd6 project: change GeanyProject::file_patterns type to GStrv
GStrv is identical to gchar ** (as per typedef) but a bit more gir friendly.
This does not break the ABI or API.
2016-02-16 06:52:03 +01:00
Colomban Wendling
8dd7759048 spawn: Don't truncate a NULL GString 2016-02-13 18:23:10 +01:00
Frank Lanitz
a5a9762498 Update of Portuguese translation 2016-02-13 11:42:38 +01:00
Frank Lanitz
64fbf3cbfe Merge pull request #883 from blogcin/trans
Update Korean Translations
2016-02-12 23:44:01 +01:00
Colomban Wendling
2c99c8827f c++: Fix a test result
748137bd1dfa648948d9d127aa3e27b6857db764 improved return types, but as
this test case was added in parallel it wasn't updated as needed for
the new, more correct, results.
2016-02-11 15:48:50 +01:00
Colomban Wendling
a775da0714 Merge pull request #862 from techee/tm_workspace_find_cleanup3
Rewrite scope completion v3.

Closes #488 and #505.
2016-02-11 15:30:09 +01:00
Colomban Wendling
e38c7e3b67 Merge pull request #879 from b4n/c/cxx11-raw-strings
c++: Fix parsing of C++11 raw string literals.
2016-02-11 15:26:32 +01:00
Colomban Wendling
1438a99e17 Merge pull request #889 from b4n/c/return-type
C, C++, C#, D: Improve return type and var type recognition.
2016-02-11 15:25:49 +01:00
Frank Lanitz
1d58c7faf8 Update i18n on NEWS 2016-02-10 23:02:47 +01:00
Frank Lanitz
7344907df8 Update of German translation 2016-02-10 23:00:18 +01:00
Frank Lanitz
f413f02395 Merge pull request #898 from zygimantus/master
lt translation updated
2016-02-08 20:52:23 +01:00
zygimantus
88ca58e2d6 lt translation updated 2016-02-08 08:31:49 +02:00
Thomas Martitz
658821d2dd api: add script to generate {geany,geany-scintilla}-gtkdoc.h
The script reads the doxygen xml output and generates two headers (optionally
a single header) that contains all of the plugin API in gtk-doc format.

Two headers because it's preferrable to group Scintilla related stuff
into its own namespace. This is a lot easier if g-ir-scanner can
work with a separate header file. If we change minds later on the script is
prepared to generate only one header.
2016-02-07 17:50:23 +01:00
Thomas Martitz
bfa0946420 doxygen: various doxygen-related fixes in preparation for gtkdoc generation 2016-02-07 17:50:23 +01:00
Thomas Martitz
d8f75b7d0f doxygen: generate xml too in preparation for gtkdoc generation
A script will use the xml to generate a gtkdoc'ized header of the plugin API.
The xml files are also installed so that external users can use the xml
that corresponds to the installed version of Geany.

For now a separet doxyfile is used because the gtkdoc'ized header needs
a few types to be documented which not desired to be documented generally.
2016-02-07 17:50:23 +01:00
Enrico Tröger
1ca2554b3a Merge pull request #878 from eht16/drop_obsolete_plugin_test_script
Remove obsolete scripts/plugin_test.c
2016-02-07 14:27:03 +00:00
Frank Lanitz
1be0a255f7 Update of Japanese translation 2016-01-28 19:47:00 +01:00
Jiří Techet
6b2e99d067 Remove scope prefix of variable types
We only perform search based on variable name so if a variable is e.g. of
the type std::Foo, we can drop the std:: prefix and search only for the
Foo type.
2016-01-27 01:06:56 +01:00
Colomban Wendling
748137bd1d C, C++, C#, D: Improve return type and var type recognition
This is far from perfect and contains a lot of guessing.  It showed
good results based on our tests cases, fixing several issues and not
introducing any more issues (admittedly, after working around a subtle
one regarding D static ifs).

Closes #845.
2016-01-26 16:18:11 +01:00
Colomban Wendling
496d51210c Merge pull request #839 from kugel-/gboxed-types
GBoxed types
2016-01-25 23:10:37 +01:00
Colomban Wendling
85f16ebf78 Merge pull request #874 from kugel-/sci-api-export
scintilla: add scintilla_object_* to the plugin api
2016-01-25 23:09:17 +01:00
Colomban Wendling
b40d1f255b Use explicit character literal instead of numerical value 2016-01-25 22:22:51 +01:00
blogcin
dff861cc36 Update Korean Translations 2016-01-26 03:11:28 +09:00
Giuseppe Penone
a32a0d5be3 updated language Italian 2016-01-24 23:20:44 +01:00
Giuseppe Penone
31b7a2d6ad updated language Italian 2016-01-24 21:59:56 +00:00