8366 Commits

Author SHA1 Message Date
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
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
b46e183cbc Move the popup 1px further so it isn't below mouse pointer
Otherwise the mouse pointer highlights a wrong value if the popup is
large enough to extend above the mouse pointer.
2016-02-26 00:05:22 +01:00
Colomban Wendling
c8dd52eb46 Position the popup at the very click position if any 2016-02-26 00:05:22 +01:00
Colomban Wendling
653990c011 Pass the actual event button to gtk_menu_popup()
In case it's actually useful.  Also properly free the GdkEvent returned
by gtk_get_current_event().
2016-02-26 00:05:22 +01:00
Jiří Techet
a168f69887 Make sure the mouse cursor is out of the popup
The x coordinate is now taken from the scintilla caret position. However,
when performing ctrl+click, we have to distinguish two cases:

1. the click happens in the second half of a letter - in this case the caret
is placed behind the letter and the popup appears behind it - no problem

2. the click happens in the first part of a letter - caret is placed before
the letter and the popup appears before the position where the click
happened - this means that the mouse cursor is above the popup which causes
that the mouse cursor highlights the item at the position of the cursor
instead of having the first item in the menu highlighted.

The patch calculates offset between caret and the mouse click event
position and uses this value to adjust the popup positioning so it's
outside the mouse cursor.
2016-02-26 00:05:22 +01:00
Colomban Wendling
848a123f00 Improve placement of the goto tag popup 2016-02-26 00:05:22 +01:00
Jiří Techet
1f9bfdf65f Set push_in parameter to false
This behaves a bit strangely when the list is long and when clicked at the
bottom of the screen (the top part of the popup is empty).
2016-02-26 00:05:22 +01:00
Jiří Techet
61582a42f9 Always select the first item for better keyboard manipulation
Even when the user Ctrl+clicks to perform goto tag definition, it should
be possible to select the item from the list using keyboard (and have
the first item automatically selected so ctrl+click plus enter afterwards
always gets you somewhere).
2016-02-26 00:05:22 +01:00
Colomban Wendling
943bfa52c5 Re-implement goto tag popup with a poped-up GtkMenu 2016-02-26 00:05:22 +01:00
Jiří Techet
4c0c76e6f4 If more tags are found during tag definition/declaration goto, let user select which one to use
If only a single tag is found, just perform the goto. If more tags are found,
show them in a popup. Try to help the user find the right file by
putting the "best" tag at the first position and emphasizing it.

Thanks to Colomban Wendling for various improvements of this patch.
2016-02-26 00:03:45 +01:00
Thomas Martitz
1f53552007 Undo removal of "can be NULL" remark
Also remove a unecessary empty line.
2016-02-25 14:50:25 +01:00
Thomas Martitz
3d51d8f6a6 GeanyFiletypeGroupID shall be gir-only 2016-02-25 14:49:18 +01:00
Colomban Wendling
725083ffe7 Small update of the French translation 2016-02-25 02:07:46 +01:00
Thomas Martitz
17e4a604c5 plugin api: export editor_set_indent_width()
Plugins can now change the indentation width of an editor.

Closes #903.
2016-02-25 00:45:47 +01:00
Colomban Wendling
269980ca45 Merge pull request #914 from eht16/update_doc_images
Update images/screenshots in the manual for 1.27
2016-02-25 00:40:13 +01:00
Colomban Wendling
8bce6031b5 Avoid use of deprecated API from core plugins 2016-02-24 23:08:48 +01:00
Colomban Wendling
7af832da80 Avoid confusing Doxygen with function attributes 2016-02-24 23:03:35 +01:00
Frank Lanitz
77324b5e7d Update of German translation 2016-02-24 22:14:49 +01:00
Colomban Wendling
409fe1a323 Try and avoid meaningless deprecation warnings from GLib and GTK
Avoid deprecation warnings from GLib and GTK versions newer than what
we currently require by default.

To undo this and get all deprecation warnings back, undefine
`GLIB_VERSION_MIN_REQUIRED` and `GDK_DISABLE_DEPRECATION_WARNINGS` on
the command line (e.g. using `-U...` in `CFLAGS`).
2016-02-24 22:06:14 +01:00
Frank Lanitz
3654b8f6f1 Small update of NEWS to reflect latest translation updates 2016-02-24 21:27:04 +01:00
Frank Lanitz
417a096356 Update of Spanish translation 2016-02-24 21:26:30 +01:00
Frank Lanitz
3b2174b3f7 Merge pull request #915 from crayxt/master
Update of Kazakh translation
2016-02-24 21:22:15 +01:00
Frank Lanitz
231814ad1f Merge pull request #909 from giuspen/master
Updated language Italian
2016-02-24 21:20:14 +01:00
Colomban Wendling
3973892e29 Move deprecated setptr() macro inside GEANY_DISABLE_DEPRECATED guards 2016-02-24 19:29:44 +01:00