9373 Commits

Author SHA1 Message Date
Colomban Wendling
667d0b5142 Fix indentation 2017-11-14 23:11:34 +01:00
LarsGit223
b0d3b5ed0f Close "Deleted from Disk" Infobar on Reload. (#1628)
Cancel 'MSG_TYPE_RESAVE' info bar if still open in function 'document_reload_force'.
This closes the "Deleted from Disk" message if the user clicks on the reload button.
Fixes #1330.
2017-11-14 23:02:00 +01:00
Frank Lanitz
66abc600f3 Update of Spanish translation 2017-11-13 14:18:33 +01:00
Enrico Tröger
a14adc78c9 Reword two phrases in German translation (#1686)
Including typo fixes.
2017-11-13 10:25:14 +01:00
elextr
dd58ab6f49 Make Python comment hash space (#1682) 2017-11-09 12:54:36 +01:00
Giuseppe
b54a117de1 updated it.po (#1680)
* updated it.po

* Small update of metadata on Italian translation
2017-11-09 10:01:45 +01:00
Frank Lanitz
f770ff3df9
Update NEWS
to reflect latest translations updates
2017-11-07 12:49:12 +01:00
gymka
fdaabd4720 updated lithuanian trasnlation (#1676)
* updated lithuanian translation

* Revert "updated lithuanian translation"

This reverts commit e45985679464ed2e495bef6bf16383a472a237c4.

* updated lithuanian translation
2017-11-07 12:47:00 +01:00
柳东原 LIU Dongyuan
d1cdfe0971 Update zh_CN.po (#1677)
* Update zh_CN.po

* Update metadata
2017-11-07 12:45:29 +01:00
Peter C. S. Scholtens
54a98688fb Update of Dutch translation. (#1674) 2017-11-07 10:20:23 +01:00
Frank Lanitz
687813b524 Sync NEWS-file with update translations for 1.32 2017-11-06 21:28:48 +01:00
Frank Lanitz
bc39afa411 Update of Portuguese translation 2017-11-06 21:25:52 +01:00
Frank Lanitz
26f8539c10 Update of Catalan translation 2017-11-06 21:22:20 +01:00
Frank Lanitz
e7b4c3406c Small update of Italian translation
This is based upon a suggestion by Andrea on i18n mailing list
2017-11-06 21:20:21 +01:00
Andrej Herceg
393cdb301a Update of Slovak translation (#1673) 2017-11-06 20:59:09 +01:00
Enrico Tröger
2c8f754988
Merge pull request #1667 from eht16/issue1018_win_execute_builtin_path
Use utils_get_uri_file_prefix() as file URI prefix
2017-11-05 23:02:24 +01:00
Frank Lanitz
a8512a2a1f Update of German translation 2017-11-05 20:33:48 +01:00
Frank Lanitz
47cfe3e270 Update po-files for string freeze of Geany 1.32 2017-11-05 14:42:09 +01:00
Frank Lanitz
b305936983 Update of Latvian translation 2017-11-04 22:20:53 +01:00
Enrico Tröger
cb669e2a01 Use utils_get_uri_file_prefix() as file URI prefix
utils_get_uri_file_prefix() gives "file:///" for Windows and
"file://" for all other platforms. So we don't need "g_path_skip_root()"
any longer.
Using "g_path_skip_root()" removed the drive letter from the URI which
worked only as long as the file to be opened was on drive C: (or
whatever drive Windows considers as the default). But since local file
URIs including the drive letter are supported on Windows, we should use
it, so opening files on other drives works as well.

Fixes #1018.
2017-10-29 16:20:53 +01:00
Enrico Tröger
a1991c4d37 Use utility function to get a file URI prefix
On Windows, we need "file:///" for local file URIs while on all other
platforms the prefix is "file://" for absolute filenames.
The utility function saves us from replicating the platform
specific logic.
2017-10-29 16:16:17 +01:00
Jean-Philippe Moal
fca450e10b Update of French translation (#1653) 2017-10-25 09:14:34 +02:00
Colomban Wendling
7d53e1c790 Add a note for applying the indent settings in the project preferences
Add the same note about applying indentation settings on currently open
documents in the project preferences as there already is in the main
preferences dialog.
2017-10-16 18:49:38 -07:00
Colomban Wendling
958974338d Remove redundant and erroneous file patterns from Doxygen 2017-10-16 00:33:01 -07:00
Matthew Brush
960a0d5aae Improve CLI argument help 2017-10-14 23:58:17 -07:00
Colomban Wendling
9185395c40 Merge pull request #1636 from techee/kb_osx_fix
Make sure GDK_MOD2_MASK is cleared when getting modifiers.
2017-10-12 15:14:11 -07:00
Frank Lanitz
deff041a66 Make translation of a string consistent in German translation Fixes #390 2017-10-12 23:29:51 +02:00
Jiří Techet
83e8ae1737 Make sure GDK_MOD2_MASK is cleared when getting modifiers
gtk_accelerator_get_default_mod_mask() behaves differently on OS X under
GTK 3 when compared to GTK 2. On GTK 2 it used to clear the GDK_MOD2_MASK
bit while on GTK 3 it's preserved. We need to clear it ourselves
otherwise e.g. <Command>S leads to <Commands><Mod2>S and none of the
keybindings work under GTK 3.
2017-10-12 19:27:56 +02:00
Jiří Techet
3fb94c235c Use non-symlinked VTE libraries on macOS (#1625)
* Try non-symlinked VTE libraries on macOS before the symlinked ones

Plugins using VTE such as multiterm or debugger are linked against the
non-symlinked version of the library like libvte.9.dylib and not
libvte.dylib. When a bundle is created, all symlinks are replaced by
a copy of the symlinked file. This means there are both libvte.dylib
and libvte.9.dylib in the bundle both containing the same code. When
Geany loads libvte.dylib and plugins load libvte.9.dylib the same code
gets loaded twice and when the same type gets registered by GTK, it fails
and the whole application freezes.

This problem doesn't exist on linux or when running from the command line
on macOS because the operating system detects it's the same library
because of the symlink and it's loaded only once.

Loading the same library as the one used by plugins fixes the issue with
macOS bundle. The original symlinked name is still used as a fallback.

The patch also adds #ifdef __APPLE__ around the Apple-specific library
names which also prevents unnecessary retries on other platforms. Loading
*.so libraries is still kept as a fallback on Apple as these are legal too
and could in theory be used on OS X as well.

* Try loading newer VTE versions before older ones on GTK 2
2017-10-07 10:48:47 +10:00
Frank Lanitz
b4415b16da Update of Swedish translation 2017-10-06 15:52:33 +02:00
Frank Lanitz
0e26c726e3 Update of German translation 2017-10-03 10:21:30 +02:00
Colomban Wendling
05fce1a2ee Move some functions from tm_tag to tm_parser namespace
Those don't actually work on tags, so it makes more sense to have them
in the parser namespace.
2017-09-23 12:53:59 -07:00
Colomban Wendling
198a0cf2ba Update a comment to better reflect the internal data changes 2017-09-23 11:59:20 -07:00
Colomban Wendling
fda8b97ea6 Keep the current tab when closing documents to the right of another tab 2017-09-18 12:54:23 -07:00
Frank Lanitz
87b7e3cf42 Add Latvian translation 2017-09-12 11:10:09 +02:00
Colomban Wendling
b1e0d0948c Fix a typo (#1597) 2017-09-02 08:57:42 +02:00
Colomban Wendling
6522332ba9 Fix the symbols tree hierarchy when several tags have the same name
Fix the symbols tree hierarchy by considering the whole scope when
adding a tag, avoiding choosing the wrong parent when several tags have
the same name.  Until now, to avoid such misbehavior we only used to
choose the parent candidate that appeared last (line-wise) before the
child.  It works in most typical situations as generally tag names are
fairly unique, and children appear right after their parent.

However, there are cases that are trickier and cannot be handled that
way.  In the following valid C++ snippet, it is impossible to know
whether `function` should be listed under the namespace `A` or the
class `A` without looking at its full scope:

```C++
namespace A {
    namespace B {
        class A {
            void method() {}
        };
    };
    void function() {}
};
```

And it is a real-world problem for some parsers like the JSON parser
that generates numeric indices for array elements name, often leading
to several possibly close duplicates.

Additionally, to prevent trying to set a tag as its own parent, the
code guarded against accepting a parent if the child had the same name,
lading to incorrect hierarchy for `method` in cases like this:

```C++
namespace A {
    class A {
        void method() {}
    };
};
```

So to fix this, consider the whole hierarchy of a tag for choosing its
parent, when that information is available from the parser.

Fixes #1583.
2017-09-01 17:31:56 -07:00
Matthew Brush
76c69a9bac Add GNU assembler extensions
Closes #904
2017-08-31 18:31:29 -07:00
Frank Lanitz
0dc1e4c6d3 Change wordorder on Russian translation to fit with actual meaning of button
Closes #1589
2017-08-28 10:07:41 +02:00
LarsGit223
f1b84c995b Mention G_GNUC_UNUSED macro. (#1582)
Mention G_GNUC_UNUSED as an alternative to `-Wno-unused-parameter`.
2017-08-22 09:38:31 +10:00
Colomban Wendling
3ffc5773a0 Mark a local function static 2017-08-19 17:16:21 -07:00
kloun
adc22a453b bash may not found in the system (#1574)
exampe openbsd.
2017-08-08 14:40:58 +10:00
Matthew Brush
44f96d08a8 Mark tm_get_real_path with G_DEPRECATED_FOR
This will allow the compiler to notify any callers that it's deprecated.
The macro is guarded-out for when Geany is compiling so it won't cause
warnings when tagmanager uses it internally and for the utils_ wrapper.
2017-08-04 03:44:31 -07:00
Matthew Brush
4a60cdd127 Add utils_get_real_path() and use it
This is a wrapper around tm_get_real_path() but is in a more suitable
namespace/module.
2017-08-04 03:31:25 -07:00
Matthew Brush
7261742f81 Allow plugins to get the data they set 2017-08-04 02:33:40 -07:00
Matthew Brush
a108f9162c Re-enable SIGTERM handling
Now that a new enough GLib is available the signal can be
handled cleanly on the main loop using the GSource for Unix signals.
This replaces the illegal SIGTERM handling that was disabled in
fbb89f523af47b35e238678d348cfa98e56c760a.

Closes #1255
2017-08-04 02:22:04 -07:00
Matthew Brush
fd38a49b55 Add note about data types to HACKING
Closes #1282
2017-08-04 02:09:45 -07:00
Matthew Brush
092f2a936a Fixups 2017-08-04 02:09:37 -07:00
Matthew Brush
ea217b7d4d Update HACKING for best practices (C99) 2017-08-04 02:09:37 -07:00
Matthew Brush
a40823084e Add "Close Documents to the Right" feature
Similar to applications like Firefox and Chromium.
2017-08-04 01:55:43 -07:00