7030 Commits

Author SHA1 Message Date
Enrico Tröger
e802194ad3 Re-add the previous workaround to remember the directory Geany was started from
My previous fix (e1ce9cfbec) didn't fix all possible use cases (opening
files from CLI when starting Geany). This one should close the gap.
2014-04-13 15:14:35 +02:00
Frank Lanitz
9462367afc Fix a little typo on NEWS 2014-04-13 14:44:55 +02:00
Enrico Tröger
cfe43e2979 Add colorschemes from the geany-themes project if available 2014-04-13 11:34:58 +02:00
Enrico Tröger
e5eb69b20c Add linker flags -static-libgcc and -static-libstdc++ on Windows
This seems necessary with newer gcc versions to not
require libgcc*.dll libraries on runtime.
2014-04-13 11:00:56 +02:00
Enrico Tröger
9f294c25c3 Add --no-scm configure option to bypass SCM detection 2014-04-13 10:43:55 +02:00
Frank Lanitz
6fce95cb10 Update list of updated translation of NEWS file 2014-04-12 20:11:28 +02:00
Frank Lanitz
fc942f607d Merge pull request #241 from kgkilo/master
Updated Hungarian translation
2014-04-12 19:55:14 +02:00
Colomban Wendling
148283356d Fix a missing cast (oops) 2014-04-12 16:17:52 +02:00
Colomban Wendling
3cf35f24c5 Fix possible crash on quit
When quitting, we still have to destroy the Scintilla widget to avoid
any possibility for us to receive signals from it after we destroyed
the associated editor and/or document (used in signal handlers).

I myself don't suffer from the issue, but it is theoretically possible
for Scintilla to emit signals anytime before it is destroyed, so it is
safer like this anyway.  And an user on IRC suffered from crashes on
quit because of this issue, so it seems to actually happen in some
situations.
2014-04-12 16:14:15 +02:00
kilo aka Gabor Kmetyko
929c7f7402 Updated Hungarian translation 2014-04-12 00:38:46 +02:00
Frank Lanitz
f74b4ed494 Update of Portuguese translation 2014-04-11 23:30:00 +02:00
Colomban Wendling
95edb95a38 Add a warning about using plugin_signal_connect() on short-lived objects 2014-04-11 23:23:35 +02:00
Enrico Tröger
e656043874 Add a new section to the Windows installer to install header files 2014-04-11 00:07:33 +02:00
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