9399 Commits

Author SHA1 Message Date
柳东原 LIU Dongyuan
fb64009aae Update zh_CN.po (#2013)
* Update zh_CN.po

* Update version number for zh_CN translation
2018-12-09 11:04:09 +01:00
Colomban Wendling
66a08f6570 Remove an unused variable and fix a related comment 2018-12-09 09:45:55 +01:00
Colomban Wendling
1c3634ebb9 Update functions and declarations checks for current ctags 2018-12-09 09:45:49 +01:00
Colomban Wendling
89a934edee Guard some more code for non-library builds only 2018-12-09 09:45:49 +01:00
Colomban Wendling
e792d4fdf9 Don't export some local functions
They are already fixed upstream, so it doesn't add to the diff.
2018-12-09 09:45:48 +01:00
Colomban Wendling
f61bd540b7 Remove two unused variables 2018-12-09 09:45:48 +01:00
Colomban Wendling
f93aa14788 Remove an unused function that was removed upstream 2018-12-09 09:45:43 +01:00
Masatake YAMATO
749ab56058 main: remove duplicated declarations
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
2018-12-09 09:42:09 +01:00
Masatake YAMATO
33a102ee91 Add dummy definitions to Assert* macros for suppressing compiler warnings
main/field.c:968:23: warning: \
     suggest braces around empty body in an ‘else’ statement [-Wempty-body]

     AssertNotReached();

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
2018-12-09 09:42:09 +01:00
Giuseppe
27737ae5db updated it.po (#2012)
* updated it.po

* Update some copyright times on it.po
2018-12-09 09:29:58 +01:00
Frank Lanitz
c2c23ad309 Update of Russian translation 2018-12-07 17:39:55 +01:00
Colomban Wendling
33dafac8f0 Revert to previous modifier for creating rectangular selections
This is the default since forever, so don't change it on the users,
no matter what is the new default in Scintilla 3.10.0.

Fixes #2010.
2018-12-06 22:29:27 +01:00
Colomban Wendling
afa6efe44e Small update of the French translation
After 3b1c6f36359fdcc180aa23d670fe525e4b8996bc (PR#2005) a string
slightly changed, so update the translation to match.
2018-12-06 22:14:40 +01:00
Frank Lanitz
d22bc1aec1 Update of Portugese translation 2018-12-06 21:15:47 +01:00
張修銘
4d787658f6 Update of Traditional Chinese translation (#2009)
* Update of Traditional Chinese translation

* Correct version number on zh_TW.po
2018-12-06 10:16:10 +01:00
Frank Lanitz
57c418e4ba Small update of NEWS 2018-12-05 20:55:18 +01:00
Frank Lanitz
eaab6f7f48 Update of German translation 2018-12-05 20:54:59 +01:00
Frank Lanitz
7132eb3877 Update of Spanish translation 2018-12-05 20:53:42 +01:00
Frank Lanitz
25f1c7529e Small update of NEWS 2018-12-05 17:21:49 +01:00
Frank Lanitz
7411332438 Remvoe a fuzzy string from da.po 2018-12-05 17:20:41 +01:00
scootergrisen
c2f48e4219 Update da.po to 1.34 (#2006) 2018-12-05 17:04:05 +01:00
scootergrisen
3b1c6f3635 email to Email (#2005) 2018-12-05 10:01:12 +10:00
Colomban Wendling
9cc18f9143 Merge pull request #1445 from kugel-/fix-1069
Improve goto-symbols popup
2018-12-04 22:43:18 +01:00
Andrej Herceg
7681a87772 Update of Slovak translation (#2004) 2018-12-04 20:10:56 +01:00
Colomban Wendling
23f51e4edf Small update of the French translation 2018-12-03 23:04:12 +01:00
Colomban Wendling
8f16685d9e Fix a few signed vs unsigned comparisons 2018-12-03 22:33:59 +01:00
Thomas Martitz
724e7886de Changes for review comments
- Notably the utils_strv_{find_common_prefix,find_lcs,shorten_file_list}
  now take -1 for num to mean to compute the array length.

- utils_strv_find_common_prefix implementation simplified.

- if num == 0 is passed to the above functions the passed strv is not
  dereferenced (so could be NULL).
2018-12-03 22:33:59 +01:00
Thomas Martitz
e0a2c6277a Refactoring and review comments
- Fix lots of compiler warnings
- Fix a bug where a long base name would prevent ellipsizing the longest
  common substring
- rewrite utils_strv_shorten_file_list to be more clear (hopefully)
- use g_strlcpy
- optimize case where the longest common substring need not be searched for
2018-12-03 22:33:59 +01:00
Thomas Martitz
fb9673eb61 api: pass gtkdoc annotation parameter as-is
The array annotation has many possible parameters, this avoids having a Doxygen
command for each one.

Luckily you can define Doxygen commands multiple times with different a number
of parameters each.
2018-12-03 22:33:59 +01:00
Thomas Martitz
7fdd360b85 Fix one oops and a couple of mistakes in comments, found by review. 2018-12-03 22:33:59 +01:00
Thomas Martitz
c05837055b api: export new utils_strv_shorten_file_list() function
Since I based the algorithm of the above function on code in one of my python
plugins, I would like to remove the implementation in my plugin and call
Geany's function.
2018-12-03 22:33:59 +01:00
Thomas Martitz
3512f6cc74 gtkdoc: add support for array annotions
We can now use @array and @arraylen{param} annotations for arrays that
will make it to the generated gtkdoc header.

g-ir-scanner cannot properly parse 'gchar **' parameters without this.
2018-12-03 21:51:01 +01:00
Thomas Martitz
b116a66862 symbols: provide a bit more path information in the goto-symbol popup.
From #1069:
> At the moment if symbols of the same name are defined in identically named
> files, it's hard to distinguish which file is which because there's no path
> in the popup.

> The popup should show part of the path until a directory where the paths
> differ so it's possible to distinguish the different files. At the same time
> there should probably be some top limit for the length of the paths as they
> can make the popup too wide.

This addresses the above by showing more of the file's paths but still try
to make it as short as possible. The file list is processed by the new
utils_strv_shorten_file_list(), as a result the popup will list files with
the common prefix stripped and the longest common sub-path ellipsized.

As a result, the file list shows enough of the path to make them unique but
still is still very short and doesn't make the dialog too wide.

Fixes #1069.
2018-12-03 21:51:01 +01:00
Thomas Martitz
4956b05d1e utils: add functions to process file name list
1) utils_strv_find_common_prefix
Locates the common prefix.

2) utils_strv_find_lcs
Finds the longest common substring.

3) utils_strv_shorten_file_list
Transforms the file list by removing the common prefix and ellipsizing
the longest common substring. This is intended to be used for fixing #1069.

Although only 3 will be used immediately, I separated the functionality, so
that the other two function can be used on their own.
2018-12-03 21:51:01 +01:00
Frank Lanitz
dce02fcc6c Update po files for upcoming string freeze 2018-12-03 21:06:10 +01:00
Frank Lanitz
5efcaf0b4d Update of Russian translation 2018-12-03 19:04:03 +01:00
Colomban Wendling
75094bd9c8 binreloc: Properly undef a macro before re-defining it 2018-12-02 23:14:26 +01:00
Colomban Wendling
499ca112f5 travis: Add binreloc to the build matrix 2018-12-02 23:13:48 +01:00
Colomban Wendling
9542d574c2 travis: Run distcheck 2018-12-02 22:58:20 +01:00
Colomban Wendling
1cd03a6417 travis: Enable ccache cache 2018-12-02 19:27:32 +01:00
Colomban Wendling
dbf1d009d4 Add mnemonics keys for some preferences 2018-12-02 17:49:14 +01:00
Colomban Wendling
51385f2a73 Add relations between label widgets and labelled widgets 2018-12-02 17:48:37 +01:00
Colomban Wendling
837a2ff5db Fix distribution of Scintilla's ILoader.h 2018-12-02 09:06:27 +01:00
Colomban Wendling
2fdf45730a Update NEWS for upcoming release 2018-11-30 17:47:30 +01:00
Colomban Wendling
8e6e3037ba Always show icons in the go to symbol popup
This uses a menu and is thus subject to the menu icons visibility
setting, but here it should reflect the view from the symbols list,
and thus show the icon in all cases.
2018-11-26 15:32:26 +01:00
Enrico Tröger
10252bea6e
Merge pull request #1932 from eht16/issue1912_change_batch_comment_to_rem
Use REM as single comment marker for Batch files
2018-11-25 15:04:57 +01:00
Enrico Tröger
9cec0a8fc4
Merge pull request #1992 from eht16/issue692_windows_dpi_aware
Windows: Enable DPI-aware mode in Windows Assembly Manifest
2018-11-25 14:53:51 +01:00
Enrico Tröger
09d17e8646
Merge pull request #1970 from dmaphy/master
Update std.php.tags to be current with PHP 7.2
2018-11-25 14:48:32 +01:00
elextr
653b06e07a
Fix line breaking with multibyte characters (#1960)
Fixes #1958 

Also replace GDK_space with ASCII space, its searching for that, not the keycode (which just happens to have the same value, lucky).
2018-11-18 19:29:54 +10:00
Frank Lanitz
7956fd5b3a Update of Traditional Chinese translation 2018-11-18 10:15:44 +01:00