8671 Commits

Author SHA1 Message Date
Frank Lanitz
d51daca284 Little update of NEWS for recent translation updates 2016-09-04 17:36:50 +02:00
Robert Antoni Buj Gelonch
39eb8ac66f Update Catalan translation (#1206) 2016-09-04 13:06:08 +02:00
Marcelo Camargo
7ccee5287a i18n: Fixed incorrect word in pt_BR (#1202)
* Changed gender of noun IDE

* Fixed incorrect word in pt_BR
2016-09-02 14:50:45 +02:00
Colomban Wendling
095d889582 VTE: Fix crash when trying to change VTE directory at startup
2150302fe6e88f88e5eba78502b478be2b78c662 introduced a bug, because
configuration_load_session_files() calls VTE code if vte_info.have_vte
is non-FALSE, before vte_init() has been called.  So, it relied in the
implicit 0-initialization of the vte_info global, which the above
commit changed carelessly.

So, instead of altering vte_info.have_vte early, add a specific flag
for whether VTE is disabled on the command line.

Also, explicitly initialize vte_info to suggest to the reader the
default values does matter.
2016-08-22 20:03:18 +02:00
Colomban Wendling
d3b0bbec26 Merge pull request #1154 from b4n/lines-around-scroll
Add support for keeping the cursor a number of lines from the edges
2016-08-21 13:56:25 +02:00
Colomban Wendling
a4a4accc42 Add support for keeping the cursor a number of lines from the edges
Closes #1152.
2016-08-21 13:56:04 +02:00
Colomban Wendling
c5d409340b Merge pull request #1174 from b4n/escape-markup
Escape format arguments passed to ui_label_set_markup(), and deprecate
ui_frame_new_with_alignment() which exposed a broken API because of it.
2016-08-20 19:58:42 +02:00
Colomban Wendling
42c02db149 Merge pull request #1155 from b4n/cxx-check
Test whether the C++ compiler works by compiling a test program
2016-08-20 19:55:26 +02:00
Colomban Wendling
5002f92dc6 Merge pull request #651 from b4n/vte-in-various-prefs
Show some hidden VTE preferences in the Various preferences page
2016-08-20 01:48:43 +02:00
Colomban Wendling
2150302fe6 VTE: Don't show the various settings when VTE is disabled on the CLI 2016-08-20 01:47:30 +02:00
Colomban Wendling
29bffe6923 Deprecate ui_frame_new_with_alignment()
It has no usage inside Geany itself, had a bug in handling of markup
in the label, has only one user in Geany-Plugins, and is fairly easy
to reproduce.
2016-08-19 21:39:48 +02:00
Colomban Wendling
2499b96ea1 Escape format arguments passed to ui_label_set_markup() 2016-08-10 03:00:56 +02:00
Colomban Wendling
0c01192a31 search: Fix the tooltip to mention Perl-like, not PCRE regular expressions
Follow-up to #1168.
Closes #1170.
2016-08-10 02:49:52 +02:00
Stefan
fa699cc4c9 Fixes spelling mistake in German translation for geany.glade.h:425. (#1167) 2016-08-09 07:32:18 +02:00
Colomban Wendling
c354384c3a search: Fix the tooltip to mention PCRE, not POSIX regular expressions 2016-08-08 21:39:51 +02:00
Colomban Wendling
e3f7d256c3 Test whether the C++ compiler works by compiling a test program
This is more reliable than using `which`, which doesn't work if the CXX
environment variable is set to something else than an executable (e.g
contains options), and is apparently less portable on some systems.

See:
 * http://lists.geany.org/pipermail/devel/2009-September/001367.html,
   which lead to 5bb28825aadb43ea8ba536c34970d53860b50759.
 * https://sourceforge.net/p/geany/bugs/455/, which lead to a revert
   of the above, 5b9605a9d6d799629b8ed3163596069c8c948b06.

Fixes #829.
2016-07-31 00:54:56 +02:00
Colomban Wendling
5d8e291c6f Merge pull request #1070 from techee/tm_move
Move TM and ctags files
2016-07-25 02:06:20 +02:00
Colomban Wendling
cbe2c542e0 Merge pull request #1133 from techee/readme_rst
Minor README updates
2016-07-25 02:02:50 +02:00
Jiří Techet
b7f47f2932 Update Colomban's email address 2016-07-25 01:02:59 +02:00
Jiří Techet
af3ad0b6f0 Rename variable to avoid warning about variable being shadowed 2016-07-23 00:36:04 +02:00
Jiří Techet
3cf0161527 Store "equal" tags into binary trees instead of lists in Symbol tree
At the moment tags with identical names are stored into a linked list in
tags_table and parents_table. This however leads to quadratic complexity
when looking up the nearest parent or tag in tree because the whole list
has to be traversed.

Use binary trees indexed by line number instead of lists so the lookup can
be performed in log(N) time and the overall complexity is N*log(N) instead
of N^2.

The GTree API is a little stupid because during the search it doesn't give
access to the value and it doesn't tell when a leaf node was reached. For
this reason the lookup has to be made in two steps - first, the best line
number is found (returned in user_data) and then a normal search for the
found line number is made to get the value stored in the tree.

This patch fixes the problem described in #577 when e.g. a big json export
file contains many identically named tags.
2016-07-22 23:21:09 +02:00
Jiří Techet
f95656cbe8 Remove makefile.win32 based build system
No more needed using MSYS2.
2016-07-21 13:21:32 +02:00
Jiří Techet
3b4d9fadf8 Rename js.c to jscript.c to match universal-ctags 2016-07-21 13:14:21 +02:00
Jiří Techet
470d99ee94 Update various comments mentioning tagmanager/src 2016-07-21 13:14:21 +02:00
Jiří Techet
03becc7789 Update paths for doxygen 2016-07-21 13:14:21 +02:00
Jiří Techet
eb2865a819 Separate ctags into parsers and main sources 2016-07-21 13:08:42 +02:00
Jiří Techet
18b7527fcc Use the single-file implementation of MIO from universal-ctags
The version of MIO corresponds to commit 509a47dbc in universal-ctags
which contains just minimal changes mostly related to changing MIO from
a library into a single ctags source file:

- replaced the glib types with ordinary C types
- removed the "virtual" calls and replaced them with simple if/else
- made the implementation in a single file
- reformatted the library to more or less match universal-ctags style
- removed the MIO_FORCE_ANSI ifdef as it included some glib file and
  we don't really need it
- added mio_flush() - of course makes sense just for the file backend
  (calls fflush())
- made mio_free() return error code from fclose()
- changed mio_new_fp() to return NULL when the passed FILE is NULL
  (simplifies logic at one place in ctags and makes sense IMO)
2016-07-21 13:08:42 +02:00
Jiří Techet
3d2e7d4fca Move TM into src
Move the tag manager implementation to src as it really is part of Geany
sources and start making the ctags directory structure similar to
the universal-ctags one.

In principle, the patch does

mv tagmanager/src src/tagmanager
mv tagmanager/ctags tagmanager/main
mv tagmanager ctags

plus corresponding Makefile.am and configure.ac updates.
2016-07-21 13:08:42 +02:00
Colomban Wendling
89d3bf7155 Merge pull request #1137 from b4n/adwaita-fixes
Custom theming fixes for Adwaita 3.20/GTK 3.20
2016-07-16 03:38:06 +02:00
Colomban Wendling
5d74eef546 Set custom selection color on no-match search entry on GTK2
Follows the GTK3 behavior, and avoid text becoming invisible if the
selection background is too light (unlikely, but possible).
2016-07-16 03:35:03 +02:00
Colomban Wendling
4b163bcdab Restore custom selection color on no-match search entry on GTK3 2016-07-16 03:35:03 +02:00
Colomban Wendling
a35816c92f Fix custom search entry background on Adwaita 3.20 under GTK2
Adwaita 3.20 on GTK2 uses the pixmap engine to set a background image
on all states of all GtkEntries.  Earlier versions did the same but
with a transparent background, thus not hiding our background color.

Fixes #1135, fixes #1101.
2016-07-16 03:27:43 +02:00
Matthew Brush
313b85a149 Move enumerator to end of enum (oops)
This fixes the plugin ABI break that happened in previous commmit.
2016-07-13 16:06:17 -07:00
Abel 'Akronix' Serrano Juste
14904a18ff Added keybinding for Delete from line start to current position
Closes #1134
2016-07-13 15:51:10 -07:00
Jiří Techet
88ee4983f9 README: Update part regarding patch submission 2016-07-11 23:13:09 +02:00
Jiří Techet
4928ed437c Minor formal updates of README
- slight rst formatting improvements
- Mac OSX -> Mac OS
- punctuation
2016-07-11 23:12:54 +02:00
Enrico Tröger
fdcf860156 Add the IRC command to get channel OP permissions 2016-07-10 16:30:01 +02:00
Colomban Wendling
69b44afbb5 Improve making-a-release a little 2016-07-10 16:27:44 +02:00
Colomban Wendling
5b6b89fd5b Post release version bump
Say hello to Geany 1.29 "Jowar"!
2016-07-10 16:07:56 +02:00
Colomban Wendling
06e85355f1 Set release date 2016-07-10 14:22:20 +02:00
Enrico Tröger
f81a3c734d NEWS: add release date, line break and a PR prefix 2016-07-10 12:40:32 +02:00
Enrico Tröger
1f915bd03a Merge pull request #1108 from eht16/win32_installer_c_runtime
Windows installer: C and GTK runtime installation
2016-07-09 23:40:13 +02:00
Colomban Wendling
0c16667875 Small NEWS update 2016-07-09 22:19:07 +02:00
Frank Lanitz
5ce9115713 Another small update of NEWS to reflect latest changes on translations 2016-07-09 14:01:26 +02:00
RPG
7ff5580c50 Update Russian translation (#1131) 2016-07-09 10:36:47 +02:00
Frank Lanitz
6cd266186d Update NEWS for recent translation updates 2016-07-09 01:09:36 +02:00
zygimantus
005c8c3eae Lithuanian translation updates (#1129) 2016-07-09 01:08:28 +02:00
Colomban Wendling
a260a5ac9a Merge pull request #1126 from b4n/plugin-key-group-strings-lifetime
Don't require plugin key group name and label strings to be static
2016-07-09 00:26:32 +02:00
Colomban Wendling
9ba7f67238 Don't require plugin key group name and label strings to be static
Take a copy of the strings not to require them to live live as long as
the plugin does.

This is mostly useful for plugins implemented in dynamic languages
(e.g. through a plugin proxy), as most C plugins will use a static
string here; but it makes the API more straightforward and avoids odd
issues if any plugin doesn't use static strings here, even C ones.

Closes #1125.
2016-07-09 00:23:01 +02:00
Philipp Wiesemann
8384e2fdcf Fix typos in French translation (#1119) 2016-07-06 22:42:35 +02:00