8412 Commits

Author SHA1 Message Date
Thomas Martitz
4a54ee86f3 Include more headers into geany-gtkdoc.h
gtkcompat.h is more convinient, and includes gtk.h and glib.h. Due to
including ScintillaWidget.h, the manual ScintillaObject typedef isn't required
anymore.
2016-03-09 22:49:51 +01:00
Colomban Wendling
ed700a9dc6 Fix forward reference to enumeration types in GtkDoc header
It's invalid to forward-declare enumerations, yet they might be
referenced by typedefs.

Fix this by outputting enumerations first so typedefs can references
them.  As enumerations can't reference other types, it's safe to place
them before anything else.

Closes #952.
Closes #955.
2016-03-09 22:41:48 +01:00
Frank Lanitz
e18011fa7d Update of Portuguese translation 2016-03-09 19:59:04 +01:00
Frank Lanitz
88b7e7a991 Update NEWS to reflect latest po-file updates 2016-03-09 19:57:57 +01:00
Frank Lanitz
0feba302e8 Merge pull request #954 from scriptum/russian-translation
Update of Russian translation
2016-03-09 19:44:02 +01:00
Pavel Roschin
6e59ea0b70 Update of Russian translation 2016-03-09 20:22:59 +03:00
Colomban Wendling
32be0c910f Merge pull request #923 from techee/typedef_goto
Don't show the goto popup for typedef synonyms
2016-03-09 16:09:48 +01:00
Colomban Wendling
fe598274fb Merge pull request #947 from techee/fix_warning
Use correct flag for `gtk_style_get_color()`
2016-03-09 16:07:48 +01:00
Jiří Techet
e5c11cd46a Use correct flag for gtk_style_get_color() 2016-03-08 20:40:08 +01:00
Frank Lanitz
eeb1d53c6f Merge pull request #944 from peter-scholtens/master
Update of Dutch translation.
2016-03-08 18:40:20 +01:00
Frank Lanitz
e133839633 Merge pull request #945 from andrej-herceg/sk-po
Update of Slovak translation
2016-03-08 13:36:22 +01:00
Andrej Herceg
fa5c7ba7f6 Update of Slovak translation 2016-03-07 21:56:38 +01:00
Benno Schulenberg
77d4c208eb Update of Dutch translation. 2016-03-07 19:42:21 +01:00
Colomban Wendling
6818ba6baf Avoid NULL dereference when typing a dot in a file without tags 2016-03-07 15:46:34 +01:00
Colomban Wendling
69d7a1aa67 Merge pull request #941 from b4n/objc/uctags-update
Import Objective-C parser changes from universal-ctags
2016-03-07 14:40:28 +01:00
solawing
bef06691b5 objc: fix property parser won't exit bug
Based on 21e74e6a019975045a7975bc611ae63f0917f976 from universal-ctags,
and update the tests accordingly, thanks to @JX7P.

Closes #940.

X-Universal-CTags-Commit-ID: 21e74e6a019975045a7975bc611ae63f0917f976
2016-03-07 12:50:52 +01:00
solawing
fec974687c objc: fix property Protocol type error
X-Universal-CTags-Commit-ID: 43330bfe114658726bd3926c8a48bfe1858352fa
2016-03-07 12:48:57 +01:00
Colomban Wendling
e3d066c203 Do not generate tags for disabled kinds
Closes universal-ctags/ctags#324.
X-Universal-CTags-Commit-ID: 4a95e4a55f67230fc4eee91ffb31c18c422df6d3
2016-03-07 12:46:36 +01:00
Masatake YAMATO
6180b10226 suppress the compiler warnings by adding static
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
X-Universal-CTags-Commit-ID: 9be84d26c1fd1653f20e9feda6a67484f7e86bd9
2016-03-07 12:44:50 +01:00
Masatake YAMATO
07a3772700 ObjectiveC: free memory blocks allocated at initialize method
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
X-Universal-CTags-Commit-ID: 882c5f8506159d77acd6c418239e33c5439bd290
2016-03-07 12:38:51 +01:00
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
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