7272 Commits

Author SHA1 Message Date
Enrico Tröger
82842b230b Install header files and geany.pc also on Windows 2014-04-11 00:06:29 +02:00
Pavel Roschin
3d403b6d9f Update of Russian translation 2014-04-11 00:45:48 +04:00
Enrico Tröger
6834c3458c Merge branch 'master' of https://github.com/geany/geany 2014-04-10 22:25:50 +02:00
Enrico Tröger
e1ce9cfbec Change the working directory on Windows properly
On Windows we need to change the working directory on startup to not
lock the directory Geany was started from (bug #2626124).
However we can't change the directory to late in the startup process
otherwise plugins maybe unable to load resources from the installation
directory.

Though we also can't change it too early otherwise opening files given
with relative paths in Geany from the command line won't work anymore
(bug #3613096).

This change should fix both issues by changing the working directory after
command line file handling happened and before plugins will be loaded.
2014-04-10 22:24:15 +02:00
Frank Lanitz
2cde2cc5f7 Adding tr update to NEWS file 2014-04-10 22:21:15 +02:00
Frank Lanitz
fd660e4dd8 Update of Turkish translation 2014-04-10 22:20:00 +02:00
Colomban Wendling
9ea8b9d11a Fix conflicting mnemonics in the French translation 2014-04-10 17:31:29 +02:00
Colomban Wendling
9f4ef363f2 Html chars: fix translation of category names
Although the strings were properly marked for translation, they weren't
actually translated because they missed run-time replacement.
2014-04-10 14:16:18 +02:00
Frank Lanitz
264d2ad6bd Add Dutch translation update to NEWS 2014-04-10 09:12:50 +02:00
Frank Lanitz
f0a12433e3 Merge pull request #239 from peter-scholtens/master
Update nl.po
2014-04-10 09:11:46 +02:00
Colomban Wendling
aff07fb2dc French translation update 2014-04-09 23:13:30 +02:00
Peter Scholtens
55034a358e Update nl.po
First contrib in Github
2014-04-09 22:49:18 +02:00
Frank Lanitz
90658b2a82 Update of Russian translation 2014-04-09 22:10:22 +02:00
Frank Lanitz
6a432d2a9b Update NEWS with recent translation updates 2014-04-09 19:02:58 +02:00
Frank Lanitz
c7b1a7a659 Update of Kazakh translation 2014-04-09 19:01:22 +02:00
Frank Lanitz
fb9da9714c Update of Catalan translation 2014-04-09 18:58:47 +02:00
Colomban Wendling
de2eaa38ab Update NEWS 2014-04-09 18:14:36 +02:00
Colomban Wendling
f8564585e6 Merge branch 'export/fixes' 2014-04-09 18:08:17 +02:00
Colomban Wendling
85af65323b Export: escape file name in case it contains HTML control characters 2014-04-09 18:08:01 +02:00
Colomban Wendling
1032d0fc68 Export: use DOC_FILENAME() instead of re-implementing it manually 2014-04-09 18:07:58 +02:00
Colomban Wendling
527dee7203 Export: fix LaTeX export for more than 2 consecutive '-', '<' or '>'
Fix escaping of '-', '<' and '>' characters to properly handle inputs
with more than 2 consecutive identical characters of this set.
2014-04-09 18:07:48 +02:00
Colomban Wendling
874c822328 Export: don't include unused, random styles
Fix the bounds checking on included styles only to check for inclusion
actually defined styles, not to include random styles based on
uninitialized array indices.
2014-04-09 18:07:30 +02:00
Colomban Wendling
4eb8205f56 Export: don't try to read past the document end
A faulty bound checking resulted in reading a byte past the document
end, which resulted in Scintilla returning byte 0 because the position
was invalid.  By adding this NUL byte to the string used to build the
body, the body was truncated after the last document byte (as C strings
are NUL-terminated), leading to any format structure after it to be
missing from the output.

This broke HTML and LaTeX export if the last line didn't end with a
newline, as the last line's style closing structure were missing.
2014-04-09 18:05:38 +02:00
Colomban Wendling
e135da8a79 Fix replacing colors with "0x" prefix with length different than 6
We used to assume that if the selected text started with "0x" when
inserting a color, we had to replace exactly 6 bytes after the "0x"
prefix.  Although this is generally the case as most color formats use
6 hexadecimal digits, it still would erase either too many or too few
characters if actually replacing something shorter (i.e. "0xfff") or
longer (i.e. "0xffffffffffff").

It could even partially override multi-byte characters if the 8th byte
after the selection start was in the middle of a character, as the
length was in bytes and not characters.

Fix this by honoring the actual selection end.
2014-04-09 03:06:49 +02:00
Colomban Wendling
ab6390fc8c Update NEWS with newer changes 2014-04-08 14:50:15 +02:00
Frank Lanitz
d7e3d4247f Update of Galician translation by José Manuel Castroagudín Silva 2014-04-07 22:17:28 +02:00
Enrico Tröger
bd811b96ca Change include order on Windows
As suggested by a preprocessor warning from winsock2.h
(i686-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please
include winsock2.h before windows.h).
2014-04-06 21:52:17 +02:00
Enrico Tröger
20547265e6 Add /waf-* to exclude Waf on Windows 2014-04-06 21:43:17 +02:00
Enrico Tröger
d9fca40de3 Include missing header
It seems this header is necessary on Windows 7 or newer gcc versions
(not sure which one requires it) but according to the docs, it is
necessary anyways.
2014-04-06 21:40:56 +02:00
gymka
b31e66d321 updated lithuanian translation 2014-04-06 08:42:21 +03:00
Colomban Wendling
e94d162d30 Merge branch 'SiegeLord/rust_updates' 2014-04-02 19:56:24 +02:00
SiegeLord
e4c6aa3d9c Rust: Add a test for leading 'priv'. 2014-04-02 13:42:30 -04:00
SiegeLord
e89c4af47c Rust: Add some more syntax examples to the CTags test file.
Also, made it compile again.
2014-04-02 13:05:57 -04:00
SiegeLord
530d047c9d Rust: Skip 'pub' keyword in front of struct fields. 2014-04-01 21:37:03 -04:00
SiegeLord
ff796360ce Rust: Update keywords 2014-04-01 21:37:03 -04:00
SiegeLord
2a80759a3a Rust: Update ctags tests.
Also, make them compile again with the Rust compiler.
2014-04-01 21:37:03 -04:00
SiegeLord
478534e635 Rust: Allow [] delimeters for macros.
New Rust syntax.
2014-04-01 21:37:03 -04:00
SiegeLord
2bde26b202 Rust: Fix parsing of attributes in structs/enums.
Previously, things like:

struct Foo
{
    #[bar]
    baz: int
}

or

struct Foo
{
    #![bar]
    baz: int
}

would horribly confuse the parser and prevent proper parsing of the rest of the
file.
2014-04-01 21:37:03 -04:00
SiegeLord
52a179dce1 Rust: Fix parsing of function pointer struct fields.
Previously, skipUntil was confused by the -> token.
2014-04-01 21:37:03 -04:00
Frank Lanitz
16d9bbb267 Merge pull request #236 from federeghe/translate
Update Italian translation
2014-04-01 21:45:21 +02:00
federeghe
98be8b1cf3 Updated Italian translation 2014-04-01 21:35:15 +02:00
Yosef Or Boczko
4b6e27c516 Updated Hebrew translation 2014-04-01 18:40:16 +02:00
Frank Lanitz
ea53365b81 Merge pull request #235 from xhacker/zh_CN
Update zh_CN.po
2014-04-01 11:28:14 +02:00
LIU Dongyuan / 柳东原
726ee2b372 Update zh_CN.po 2014-03-31 17:37:45 -07:00
Frank Lanitz
60af2f1bcd Update NEWS files for more updated translations 2014-03-31 20:53:08 +02:00
Frank Lanitz
8e06d0dc1d Update of Spnaish translation 2014-03-31 20:52:03 +02:00
Stanislav Horáček
aed357254c Updated Czech translation 2014-03-31 19:07:45 +02:00
Frank Lanitz
cf3da8c661 Update NEWS files for more updated translations 2014-03-30 20:52:21 +02:00
Frank Lanitz
c6e3c578ad Update of German translation 2014-03-30 20:51:36 +02:00
Frank Lanitz
3b56809a45 Update of po files for string freeze of Geany 1.24 2014-03-30 20:49:21 +02:00