8444 Commits

Author SHA1 Message Date
Frank Lanitz
7ba7fa02ec Merge pull request #938 from xhacker/update-translation
Update zh_CN translation
2016-03-06 23:59:45 +01:00
柳东原 LIU Dongyuan
ca6890a98f Update zh_CN translation 2016-03-06 12:26:59 -08:00
Enrico Tröger
c9a799bb0c Windows Installer: fix documentation installation paths 2016-03-06 16:50:32 +01:00
Colomban Wendling
0556b89d08 Merge pull request #603 from eht16/create_php_tags_update
Rewrite PHP tag creation script using up to date upstream tag
definitions.
2016-03-06 16:28:03 +01:00
Colomban Wendling
3247643446 Merge pull request #932 from b4n/filetype_id
Deprecate filetype_id.
2016-03-06 16:26:51 +01:00
Colomban Wendling
b883c82378 Merge pull request #933 from techee/socket_info
Rename socket_info_struct to SocketInfo
2016-03-06 16:25:59 +01:00
Enrico Tröger
52f5b88873 Windows Installer: declare files to be reserved for faster startup
This tells NSIS to place the necessary libraries at the beginning
of the packed installer so the installer does not need to extract
everything before it can start.
2016-03-06 16:14:46 +01:00
Enrico Tröger
2f5eca2cfd Add error reporting for opening URIs on Windows
Before it silently failed if there was any error. Now at least a
console warning is logged.
2016-03-06 11:16:52 +01:00
Enrico Tröger
b0cf5f6cda Rewrite PHP tag creation script using up to date upstream tag definitions
Fixes #584.
2016-03-06 09:41:39 +01:00
Jiří Techet
6ecfb8b5a6 Rename socket_info_struct to SocketInfo 2016-03-05 11:55:57 +01:00
Jiří Techet
c84c41e44a Don't show the goto popup for typedef synonyms
For instance when performing goto tag for Foo and Foo is defined as

typedef struct Foo {} Foo;

go immediately to the struct location without showing the goto popup with
both the struct name and typedef. When there are more occurrences of the
name, filter the list and don't show the synonyms in the popup.

In addition, if the cursor is on the same line as the typedef, go to
the struct and vice versa.

Note the missing

g_strcmp0(second->var_type, first->name) == 0

in the check - in this particular case we won't get the type to which the
typedef refers inside var_type because at the time the typedef tag is
generated in c.c the struct tag doesn't exist yet. On the other hand
there's no second->var_type == NULL either because this behaviour seems
to be rather implementation-specific and might easily change in the
future. The existing checks are probably sufficient for the real-world
code.
2016-03-05 11:10:38 +01:00
Colomban Wendling
9a854751e1 Fix GtkDoc header generation script to handle references inside typedef 2016-03-04 23:21:23 +01:00
Colomban Wendling
5858bc3c08 Deprecate filetype_id in favor of GeanyFiletypeID 2016-03-04 23:08:32 +01:00
Colomban Wendling
856ee6633f Replace filetype_id with GeanyFiletypeID
Used only in static functions so no API change.
2016-03-04 23:07:04 +01:00
Colomban Wendling
f4b270a60e Use the same DOCDIR on Windows than on other platforms
NSIS installer changes were not tested, hopefully they'll work.

Closes #928.
2016-03-04 20:31:52 +01:00
Colomban Wendling
be29bad098 Merge pull request #906 from techee/scope_fallout
Scope completion fallout patches
2016-03-04 20:06:10 +01:00
Colomban Wendling
debe14549d Improve API docs related to keybindings configuration file 2016-03-03 15:00:15 +01:00
Colomban Wendling
78c6a2ad6d Fix check for GtkDoc header generation dependencies
The checks itself were correct, but the logic for the final decision
didn't properly handle `--enable-gtkdoc-header=auto`, which also
happens to be the default.

Also fix hiding error messages from Python when trying to import the
`lxml` module to see whether it's available or not.

Closes #929.
2016-03-03 14:49:37 +01:00
Frank Lanitz
0619801b74 Small update of German translation 2016-03-02 19:59:46 +01:00
Colomban Wendling
6ba26cf1fe Use "symbol" instead of "tag" in comments too 2016-03-01 22:31:47 +01:00
Colomban Wendling
85f556b381 Make Doxygen happy about signallist.i
Doesn't alter the documentation output in anyway, but shuts Doxygen up
about it not finiding the file.
2016-03-01 20:34:46 +01:00
Colomban Wendling
47816339b6 Merge pull request #911 from b4n/deprecations
Deprecations cleanup and improvement
2016-03-01 19:25:53 +01:00
Colomban Wendling
b70dbc44bd Use our own deprecation macros
This allows us to conditionally enable our deprecation warnings, like
when building Geany itself or when `GEANY_DISABLE_DEPRECATION_WARNINGS`
is defined.
2016-03-01 19:21:41 +01:00
Colomban Wendling
d7c2a38509 Merge pull request #925 from techee/doxygen_warning
Comment-out some options not available on older Doxygen versions
2016-03-01 19:11:21 +01:00
Colomban Wendling
3fda6988b3 Merge pull request #890 from kugel-/gtkdoc-hdr
Generated and ship a GtkDoc header suitable for GObject Introspection.
2016-03-01 18:53:08 +01:00
Colomban Wendling
44694f638b Remove unused classes from the GtkDoc header generation script 2016-03-01 16:37:08 +01:00
Colomban Wendling
9ce7c22ad7 Fix Doxygen generation instead of working around incorrect output
Make Doxygen ignore `G_{BEGIN,END}_DECLS` and `GEANY_API_SYMBOL` itself
instead of stripping those manually when parsing the XML output.

This makes Doxygen parsing more robust by ignoring some odd C syntax,
and also improves the HTML version removing some incorrect C code
references.
2016-03-01 16:34:05 +01:00
Frank Lanitz
d6ce561eea Merge pull request #926 from giuspen/master
updated it.po
2016-02-29 23:13:50 +01:00
Giuseppe Penone
e49bca1850 updated it.po 2016-02-29 21:40:20 +00:00
Jiří Techet
e9dd2269c2 Comment-out some options not available on older doxygen versions
This eliminates some warnings with doxygen 1.8.7 on Ubuntu 14.04.4 LTS
based system. The default values of these options are equal to the
commented-out values so nothing should be broken by this change.
2016-02-29 21:28:46 +01:00
Colomban Wendling
6f79a94cec Add GPL header to GtkDoc header generation script 2016-02-29 00:34:27 +01:00
Colomban Wendling
532c61c64c Small update of the French translation 2016-02-28 19:49:23 +01:00
Colomban Wendling
ceca962a4a Merge pull request #547 from techee/locale_utf8
Locale/utf8 fixes
2016-02-28 19:42:34 +01:00
Jiří Techet
49cdc27897 Document the new symbol goto popup 2016-02-28 17:05:03 +01:00
Jiří Techet
2d88bc9a63 Bump GEANY_API_VERSION for langType rename 2016-02-28 16:22:45 +01:00
Frank Lanitz
e99a73ef73 Update po files for string freeze for 1.27 2016-02-28 14:18:17 +01:00
Colomban Wendling
d44f06a8b5 Merge pull request #406 from techee/multi_tag_goto
If more tags are found during tag definition/declaration goto, let the
user select which one to use.
2016-02-28 13:30:07 +01:00
Colomban Wendling
8b61b9f941 Mark the goto popup label as translatable for localized colons
It could arguably not be translatable and only `filename:line` display,
but as we have already a space on the right of the colon it's not, and
allowing translation is not a problem and can give better localization.
2016-02-28 13:27:31 +01:00
Colomban Wendling
00f0ce5991 PEP8 the GtkDoc header generator script a little
But use 110 as line length and leave visual operators alignment alone.
2016-02-28 04:49:51 +01:00
Colomban Wendling
871c562589 Further improve annotations rendition in HTML output 2016-02-28 02:35:43 +01:00
Colomban Wendling
f90da20359 Add @nullable annotations everywhere 2016-02-28 02:12:35 +01:00
Colomban Wendling
1be0bc7c74 Mark output parameters as such 2016-02-28 02:03:04 +01:00
Colomban Wendling
e4bdf45cc6 Add support for out and optional GI annotations 2016-02-28 01:58:48 +01:00
Colomban Wendling
f69c72f486 Improve HTML rendition of some annotations 2016-02-28 01:58:04 +01:00
Colomban Wendling
2b8cfb3f84 Use %NULL, %FALSE and %TRUE in the GtkDoc output 2016-02-28 01:02:52 +01:00
Colomban Wendling
d57ca1daef Fix inclusion of spurious @s in the GtkDoc header
Apparently Doxygen doesn't like `\<type>only` tags when not preceded by
another command.  But use a no-op instead of `\a`.
2016-02-28 00:03:12 +01:00
Jiří Techet
86cb9aeac0 Make the use of TMParserType private
Or semi-private by removing the docstring.
2016-02-26 01:40:37 +01:00
Jiří Techet
833921e6ee Install tm_parser.h
Included now in other headers and needed for successful plugin compilation.
2016-02-26 01:29:50 +01:00
Jiří Techet
292383c197 Some more uses of TMParserType instead of int 2016-02-26 01:11:53 +01:00
Jiří Techet
00cb498ebc Don't use ctags types inside Geany
We should isolate ctags from Geany completely and use separate types. At
the moment langType is shared by both Geany and ctags. For Geany redefine
it as TMParserType (which was currently used as the name of the enum and
was unused) and use everywhere in Geany. At the same time convert some
ints to TMParserType where they denote the parser.

This is strictly speaking an API change but no plugin uses langType at the
moment so its renaming doesn't cause any problems.

The only remaining visible ctags type is tagEntryInfo - it is however
used only inside tagmanager (and can be later removed quite easily too
by slightly reorganizing TM source files).
2016-02-26 01:10:00 +01:00