7939 Commits

Author SHA1 Message Date
Frank Lanitz
d124f56375 Merge pull request #529 from xhacker/zh_CN
Update Simplified Chinese translation
2015-06-24 10:30:35 +02:00
LIU Dongyuan / 柳东原
e7a52ccec5 Update Simplified Chinese translation 2015-06-23 23:10:52 -07:00
Colomban Wendling
b165de1f77 Fix color of unmodified build commands on GTK3
Also, as changing the color of the label button doesn't currently work
on GTK2, but would on GTK3 with this change, explicitly skip it for
consistency.

Closes #528.
2015-06-23 02:54:02 +02:00
Colomban Wendling
09cd9b4d30 Small update of the French translation 2015-06-23 00:04:19 +02:00
Frank Lanitz
15f012c2bf Update of Portuguese translation 2015-06-22 23:14:02 +02:00
Frank Lanitz
e274dba084 Update of German translation 2015-06-22 22:06:25 +02:00
Frank Lanitz
a26bd58639 Merge pull request #526 from b4n/po/fr
French translation update
2015-06-22 19:13:20 +02:00
Frank Lanitz
094a71c2cb Update of Spanish translation 2015-06-22 19:12:14 +02:00
Colomban Wendling
0cc3bf31c2 Move comment meant for translators so xgettext can pick them
Apparently xgettext only recognize comments that are straight above the
translation, so move them where it can find them.
2015-06-22 15:46:11 +02:00
Colomban Wendling
3c38434d51 French translation update 2015-06-22 15:40:55 +02:00
Frank Lanitz
d37588241a Merge pull request #525 from scriptum/russian-translation
Update of Russian translation
2015-06-22 10:35:31 +02:00
Pavel Roschin
5bb21066ab Update of Russian translation 2015-06-22 11:01:47 +03:00
Frank Lanitz
5e9176512d Update of Spanish translation 2015-06-21 15:18:18 +02:00
Colomban Wendling
5ebed27d4b Fix incorrect variadic argument type fetch (oops) 2015-06-21 14:23:44 +02:00
Matthew Brush
37794432cc Add G_BEGIN_DECLS and G_END_DECLS to spawn.h 2015-06-20 20:25:08 -07:00
Colomban Wendling
f7a036aab8 VTE: Switch directory on startup when following current document's path 2015-06-20 20:05:39 +02:00
Frank Lanitz
5c2ac4c856 Initial update of po files for string freeze of Geany 1.25 2015-06-20 18:17:26 +02:00
Matthew Brush
3a8ef62794 Fix GLib version number missed in last bump (oops) 2015-06-19 17:12:53 -07:00
Enrico Tröger
3b1f20037b Merge pull request #291 from bittner/master
Autodetect .bashrc, .bash_aliases, and the like
2015-06-18 23:11:32 +02:00
Colomban Wendling
f427a3a6e1 Merge pull request #455 from techee/filebrowser_icons
Show icons corresponding to MIME types in the file browser plugin
2015-06-18 16:49:37 +02:00
Colomban Wendling
f715f8a35c Merge pull request #425 from b4n/remove-some-unused-sciwrappers
Remove a few unused Scintilla wrappers functions
2015-06-18 16:22:25 +02:00
Colomban Wendling
67b464a586 GTK: Fix runtime completion popup warning
GtkScrolledWindow in GTK 3.16 might have a minimum and natural height
of 0 if GTK_OVERLAY_SCROLLING is enabled (which is the default), so we
need to fix our overridden minimal height to never be greater than the
natural height.

Do that by only changing the minimal height if it is greater than what
we want.

I don't know why we didn't use to set 0 here, but it might be that a
height of 0 caused problems on older GTK versions, so keep 1 to be sure.

X-Scintilla-Commit-ID: e9f9c964236a6b740f75d09a8b0ac76e5d6dd09f
2015-06-18 01:37:00 +02:00
Peter Bittner
3ad1627249 Autodetect .bashrc, .bash_aliases, and the like
Autodetect /etc/bash_completion (and the like)

Splitted up autodetection patterns for Bash

This will match:

- `*.bash` (any manufactured Bash scripts)
- `~/.bashrc` (hidden Bash configuration in your home directory)
- `~/.bash_*` (partials included by bashrc, e.g. `.bash_aliases`,  `.bash_history`,  `.bash_logout`)
- `/etc/bash.bashrc` (global Bash configuration)
- `/etc/bash_completion` (and potentially any other `/etc/bash_*` file)
2015-06-18 00:21:40 +02:00
Jiří Techet
358758c9f8 Show icons corresponding to MIME types in the file browser plugin 2015-06-16 15:43:45 +02:00
Colomban Wendling
f86b39c7cb Merge pull request #491 from techee/ft_config
Add filetype configuration menu entries
2015-06-15 21:39:22 +02:00
Jiří Techet
ecc4e0285a Add filetype configuration menu entries
This adds a "Filetype Configuration" under Tools->Configuration Files
with all filetype configuration files (grouped by language type).

This patch mostly reuses the stuff we already have in Geany - the menu
creation code from Document->Set Filetype, file creation in the .config
directory if it doesn't exist (similarly to filetypes.common) and config
file reloading when the file gets updated.
2015-06-15 17:14:00 +02:00
Colomban Wendling
1306bc52d8 Merge pull request #506 from techee/msgwin_resize
Don't resize message window when changing Geany's window height
2015-06-15 15:39:24 +02:00
Colomban Wendling
6f60de3656 Merge pull request #514 from techee/linear_tag_remove
Add linear tag remove path for cases where not many files are open
2015-06-15 14:56:07 +02:00
Colomban Wendling
48ea3e6f85 Merge pull request #515 from b4n/symbol-icons-fixes
Fix unreffing NULL icons when generating tags
2015-06-15 14:29:12 +02:00
Colomban Wendling
733b10efc4 Merge branch 'universal-ctags-fixes'
Import some various parser fixes from Universal CTags.
2015-06-15 00:10:09 +02:00
Colomban Wendling
cdd07e15f5 Fix unreffing NULL icons when generating tags 2015-06-15 00:09:13 +02:00
Colomban Wendling
195d2e3a77 Don't try and query the theme when we don't have a screen
This happens when generating tags.
2015-06-15 00:09:12 +02:00
Colomban Wendling
23eff5cadf Over-engineer symbol tree icon cache a little
This will get useful to fix problems when generating tags.
2015-06-15 00:09:12 +02:00
Colomban Wendling
882687ec37 C#: Don't ignore the character following an '@'
The character following an '@' was dropped if it didn't start a string
literal.

This could lead to unexpected problems if '@' was valid in other
situations.

X-Universal-CTags-Commit-ID: 2e62f475af1db08850447de46f56db14ce99d2eb
2015-06-14 18:27:17 +02:00
Colomban Wendling
dbbc042786 c family: Add support for digraphs
See http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf 6.4.6§3.

Note: This is not exactly the upstream Universal CTags commit because
it depends on another change for adding the `enter` label, which was
then included here.

X-Universal-CTags-Commit-ID: 3b3b60c7664a321a31ec87de336fc6bda90c405e
2015-06-14 18:25:38 +02:00
Colomban Wendling
b737f031ca c family: Fix trigraph handling
X-Universal-CTags-Commit-ID: d6d1a0f2b90a600bdec9cd6ba964ee69382743e4
2015-06-14 18:23:29 +02:00
Colomban Wendling
b975c2652d read: Allow to unget up to 3 characters
Some parsers need to unget more than one characters, so add support for
this.

X-Universal-CTags-Commit-ID: 956af0555d3a8ef33304c5ae6ed873f22b4e4284
2015-06-14 17:57:18 +02:00
Jiří Techet
e26c9ba2ce Add linear tag remove path for cases where not many files are open
When tested with 200000 LOC python file (created by making many copies
of scripts/create_py_tags.py), the tm_tags_remove_file_tags() function
takes about 50% of the CPU time when only this file is open. After adding
the linear path to tm_tags_remove_file_tags() it takes just about 2%. See
the comment in the patch for more details.
2015-06-14 17:52:24 +02:00
Colomban Wendling
944bffb967 json: Fix handling of tags containing a dot
X-Universal-CTags-Commit-ID: 7ae28a3d8a7ad5f8a9d6399a4e357fcf19ad2b2e
2015-06-14 17:29:04 +02:00
Colomban Wendling
f30b72d91e vstring: Add vStringTruncate()
Add API to truncate a vString to a certain length. This doesn't support
growing the string, only shrinking it.

X-Universal-CTags-Commit-ID: 4e3d9edf2e7a8a476ff97bc678e71c3919b960f9
2015-06-14 17:25:33 +02:00
Colomban Wendling
d75598cc48 python: Fix resetting scope on anonymous blocks
The previous fix, coming from [CTags bug #1988026], was incorrect if
the parent was not a root-level element, as it checked the level name
(unqualified) against the parent name (qualified).

However, there is no need to check the level name, all what counts is
the indentation level itself: if it's smaller than an existing level,
it ends it.

This fixes [CTags bug #356].

[CTags bug #1988026]: https://sourceforge.net/p/ctags/bugs/227/
[CTags bug #356]: https://sourceforge.net/p/ctags/bugs/356/

X-Universal-CTags-Commit-ID: ab91e6e1ae84b80870a1e8712fc7f3133e4b5542
2015-06-14 17:13:46 +02:00
Colomban Wendling
935c389f28 Merge pull request #509 from techee/child_icon + followup
Cache symbol tree icons
2015-06-12 19:06:41 +02:00
Colomban Wendling
6792bf0db7 Simplify some code a little 2015-06-12 18:54:34 +02:00
Colomban Wendling
9458d5cfe6 Release symbols icons when quitting 2015-06-12 18:48:29 +02:00
Jiří Techet
7006bdfd8c Sync the fold_changed() implementation with SciTE
SciTE added the SCI_GETALLLINESVISIBLE check in revision
8dc4127cc8d76ecdf988928ac34e79955c09bda4:

"Minimize cost of processing fold level changes to ensure visibility for
the common case where the whole document is already visible."

When nothing is folded, this improves the performance considerably which
is visible e.g. when pasting larger amounts of text.

Closes #507.
2015-06-12 18:18:21 +02:00
Jiří Techet
62e6de9f10 Cache symbol tree icons
When profiling Geany I/O activity, there are lots of I/O operations happening
when just typing in the editor caused by the updates of the symbol tree
and loading the icon files.

In addition, in the case of tag_other the leaves of the tree use
classviewer-var instead of the parent icon (e.g. with enums). In this case
the icon is loaded from the disk every time it's requested which takes
about 70% of the tree creation time when the tree consists only of such
nodes.

To fix these problems load the icons once and return the loaded icons when
requested instead of reloading them from the disk all the time.
2015-06-11 12:42:28 +02:00
Enrico Tröger
ccec1fe29a Merge pull request #414 from eht16/plugin_manager_usability
Plugin manager usability improvements
2015-06-05 18:45:56 +02:00
Jiří Techet
65c34bd37e Improved search for the plugin manager
Search in name, description, author fields and show all results
which contain all the words from the search query.
Search plugins also by filename
2015-06-05 18:44:04 +02:00
Colomban Wendling
e38b803ccd stash: Fix invalid free in sync from object property 2015-06-03 14:45:29 +02:00
Colomban Wendling
94389788da stash: Fix sync to object property 2015-06-03 14:43:39 +02:00