8641 Commits

Author SHA1 Message Date
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
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
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
Frank Lanitz
1abd2b6b66 Update of Portuguese translation 2016-07-05 21:16:07 +02:00
Frank Lanitz
30f8481c84 Update of Catalan translation 2016-07-05 21:11:45 +02:00
Frank Lanitz
8ac5946a95 Update of NEWS 2016-07-04 20:44:31 +02:00
Frank Lanitz
c4630c8b3f Update of Spanish translation 2016-07-04 20:43:59 +02:00
Colomban Wendling
91b6304985 Fix utils_spawn_async()::child_pid annotations 2016-07-04 19:19:36 +02:00
Enrico Tröger
eb7cc73660 Ignore generated doc/doxygen_* files
For example "doc/doxygen_sqlite3.db" is created on Windows/MSYS2.
2016-07-03 19:50:31 +02:00
Enrico Tröger
8925ddb5d4 Ignore generated file src/geany_private.res
The location of the file changed since we are using MSYS2.
2016-07-03 11:22:00 +02:00
Frank Lanitz
296ad2488d Merge pull request #1109 from andrej-herceg/sk-po
Update of Slovak translation
2016-07-02 19:34:13 +02:00
Andrej Herceg
613bb135c0 Update of Slovak translation 2016-07-02 16:02:37 +02:00
Enrico Tröger
acd4a92199 Windows installer: Add C runtime libraries to default installation
While the installation of the GTK runtime environment is optional,
we need the C runtime environment in every case and so install
it unconditionally.
2016-07-02 14:46:05 +02:00
Enrico Tröger
6a4cb61a55 Windows installer: copyright and NSIS version update 2016-07-02 14:39:13 +02:00
Frank Lanitz
4a150096ca Change a proposition at German translation based upon a suggestion from i18n mailing list 2016-07-02 11:24:17 +02:00
Frank Lanitz
1a817910ed Update of Japanese translation 2016-07-02 11:19:03 +02:00
Frank Lanitz
8cda930634 Correct string in German translation to be more clear 2016-07-02 11:14:08 +02:00
Frank Lanitz
be73ff0f5a Merge pull request #1106 from philippwiesemann/fix-po-de-fuzzy
Fix fuzzy entries in German translation
2016-07-02 00:33:51 +02:00
Philipp Wiesemann
85f7f9344c Fix fuzzy entries in German translation 2016-07-01 23:07:07 +02:00
Frank Lanitz
52f4f73146 Update NEWS for recent i18n updates 2016-07-01 11:17:42 +02:00
Frank Lanitz
af48d2fac7 Merge pull request #1105 from xhacker/update-zh-cn
Update zh_CN translation
2016-07-01 11:16:56 +02:00
柳东原 LIU Dongyuan
d084c6ba41 Update zh_CN translation 2016-07-01 00:53:30 -07:00
Colomban Wendling
87ab6052bd CSS: Add missing :last-child pseudo-class
Fixes #1102.
2016-07-01 01:52:05 +02:00
Frank Lanitz
a14a492c32 Merge pull request #1103 from giuspen/giuspen
updated it.po for upcoming 1.28
2016-06-30 23:18:57 +02:00
Giuseppe Penone
e7a316f769 updated it.po for upcoming 1.28 2016-06-30 19:09:23 +01:00
Colomban Wendling
f9ea9c4e26 Merge pull request #1093 from kugel-/api-tmtag
Properly expose TMTag which already contains documented members.
2016-06-29 17:45:51 +02:00
Colomban Wendling
b1267cc82c api: Annotate element type for TMSourceFile::tags_array 2016-06-29 17:44:56 +02:00
Colomban Wendling
0dbe74a026 autotools: Avoid listing the same files twice 2016-06-29 16:56:26 +02:00
Colomban Wendling
987124d417 autotools: Fix circular dependencies in doc/ when building in srcdir
Don't use wildcards that can catch generated files.

While at it, also avoid Doxygen picking up those generated files.
2016-06-29 16:54:37 +02:00
Thomas Martitz
659b277ef6 api: annotate element types in the TMWorkspace arrays
This allows GI-based plugins to traverse/inspect the array and consequently
Geany loaded tags.
2016-06-28 22:52:47 +02:00
Thomas Martitz
cef4751fa4 doxygen: make doxygen scan necessary tagmanager files
tm_tag.h and tm_parser.h contain documented symbols so doxygen shall process
them.
2016-06-28 22:52:40 +02:00
Thomas Martitz
989af29bb1 api: formally put struct TMTag into the API
It's members are already documented so it's kind of half-exported anyway.
Since geanygendoc already uses the structure (and I plan on writing a plugin
that requires it too) just make it official.
2016-06-28 22:51:08 +02:00