8290 Commits

Author SHA1 Message Date
Thomas Martitz
6098f55032 encodings: move private stuff into private header
encodings.h had a pretty large GEANY_PRIVATE part so it's worthwhile to
separate that into its own header (as per HACKING). What's left is used by the
plugin API.
2015-12-17 09:52:49 +01:00
Andrea Stacchiotti
402e669be1 Added some extra Markdown extensions 2015-12-16 03:09:31 +01:00
Jiří Techet
b361b83276 Colourise only the visible area when highlighting typenames
Colorizing the whole document is rather expensive and unnecessary as
Scintilla colorizes the visible part of the document when scrolling
happens. Instead, colorize only the visible area when highlighting
typenames.
2015-12-12 15:07:22 +01:00
Colomban Wendling
27628c0028 Merge pull request #773 from zhekov/pointer-from-integer
Fix warnings about casting pointer from/to different size integer
2015-11-30 19:25:24 +01:00
Colomban Wendling
48217703e1 Simplify encoding menu creation loop
Simplify and optimize creation of the sorted menus by taking advantage
of the fact they might already be partially sorted, and that we can at
least add one entry to each group in each run.

This goes from 4032 runs to 882, which while definitely not optimal for
adding 126 items, is probably totally good enough and don't warrant
duplicating the encoding array and sort it.

Though, such optimization doesn't matter as it's not what takes time in
this function, which is probably rather the widgets creation.
2015-11-27 23:07:07 +01:00
Colomban Wendling
8f9f9c5cf3 Simplify and cleanup encoding menu building
Rewrite a part of `encodings_init()` to remove duplication and some
hard-coded values.

This gives us the item for UHC back, that was lost when adding CP932 in
9d9f40cd15ad121ff3e3fffd40073706c297f2dd, due to a missing update of
the hard-coded group elements count.
2015-11-27 23:05:17 +01:00
Dimitar Zhekov
e49093b75f Fix warnings about casting pointer from/to different size integer
These appear under 64-bit Windows. Only the sciwrappers.c warning is
potentially dangerous. For win32.c, the "handle" provides some useful
information, while "lStdHandle" does not.
2015-11-24 21:04:05 +02:00
Colomban Wendling
1a84bb6e34 Fix the caret_width example in the documentation 2015-11-22 00:01:06 +01:00
Colomban Wendling
1cc171aa7c Drop use of unneeded deprecated GLib API 2015-11-21 19:03:12 +01:00
Colomban Wendling
aa57582a7c Fix build with GLib < 2.32
Closes #764.
2015-11-21 19:00:47 +01:00
Frank Lanitz
ef0cf9cb43 Update of Italian translation 2015-11-17 23:12:42 +01:00
Colomban Wendling
8afbc7a0b6 Update Scintilla to version 3.6.2
Keep scrollbar disposal changes that were backported and are not part
of 3.6.2.
2015-11-16 19:07:59 +01:00
Colomban Wendling
ad354b7477 Post release version bump
Say hello to Geany 1.27 "Rezer"!
2015-11-15 14:53:01 +01:00
Colomban Wendling
b49fa9a13a Set release date 2015-11-15 12:36:15 +01:00
Colomban Wendling
3e151bf42b Small NEWS udpate 2015-11-15 12:21:25 +01:00
Colomban Wendling
2bee7120b0 Allow calls to plugin_module_make_resident() from geany_load_module()
This is useful if a plugin registers i.e. GTypes from its
geany_load_module(), i.e. to implement plugin functions as GObject
class methods.

The implementation can be considered a slight hack, but we need the
module to be know already in geany_load_module(), which is called too
early for the normal process to set it.

Closes #719.
2015-11-15 01:16:22 +01:00
Colomban Wendling
945d6b6364 Merge pull request #746 from techee/scintilla_dispose
Backport Scintilla patch correctly disposing scrollbars
2015-11-15 00:19:53 +01:00
Colomban Wendling
d1ea9ede48 Merge pull request #755 from b4n/python/identifiers
Update keywords and identifiers list for Python 3

Part of #748.
2015-11-15 00:14:29 +01:00
Colomban Wendling
fa1788fe5f python: Update keywords for Python 3 2015-11-15 00:03:13 +01:00
Colomban Wendling
f12edc0299 Update keywords too from the Python identifiers update script 2015-11-14 23:58:37 +01:00
Colomban Wendling
498764bcaf Refactor the Python identifiers update script for better flexibility 2015-11-14 23:52:58 +01:00
Colomban Wendling
301a482555 python: Update identifiers for Python 3 2015-11-14 22:57:22 +01:00
Colomban Wendling
59e13f9e44 Add a script to update Python filetype's identifiers list 2015-11-14 22:57:22 +01:00
Jiří Techet
3d439b4cfc Backport Scintilla patch correctly disposing scrollbars
The unparent method should be called in dispose(), not in finalize().
This patch fixes that which removes some ugly warnings from OS X command
line.
2015-11-14 10:26:07 +01:00
Colomban Wendling
c21db7d80c Fix line end movement on display lines when EOLs are visible
Closes #712.

X-Scintilla-Bug-URL: http://sourceforge.net/p/scintilla/bugs/1772/
X-Scintilla-Commit-ID: 2ce775c433b4910f2fde53c4b5d89bb16b45e3eb
2015-11-12 18:04:27 +01:00
Colomban Wendling
a1145c6ef6 GTK: Fix autoc popup row height on GTK2 when it changes at runtime
Now the popup is cached the row height has to be re-computed when the
font changes on GTK2 too.

Mostly closes #702.

X-Scintilla-Bug-URL: http://sourceforge.net/p/scintilla/bugs/1774/
X-Scintilla-Commit-ID: 547de78f2477e16b0d7241a217a1ead83a14c42b
2015-11-12 17:55:59 +01:00
Colomban Wendling
43e13e61bf Mention autogen.sh in README
Closes #747.
2015-11-12 15:08:41 +01:00
Frank Lanitz
1af507c3f5 Update of Hungarian translation 2015-11-11 19:23:56 +01:00
Frank Lanitz
d7a7c13027 Merge pull request #741 from eht16/waf_deprecation_notice
Add a deprecation notice when using the Waf build system
2015-11-10 22:30:10 +01:00
Frank Lanitz
1569fc8a76 Add Slovak and Indonesian translations updates to NEWS 2015-11-09 23:30:08 +01:00
Frank Lanitz
e2ab39006f Merge pull request #743 from andrej-herceg/sk-po
Update of Slovak translation
2015-11-09 23:26:40 +01:00
Andrej Herceg
101903ebab Update of Slovak translation 2015-11-09 15:58:11 +01:00
Colomban Wendling
7844ecc61d Update NEWS 2015-11-09 13:48:24 +01:00
Frank Lanitz
1ce1b600d4 Merge pull request #740 from samsulmaarif/master
Indonesian translation update
2015-11-09 08:20:45 +01:00
Enrico Tröger
7b5e9a93cb Add a deprecation notice when using the Waf build system
As Waf is to be dropped after the 1.26 release, inform the user
to better use the Autotools build system.
2015-11-08 23:46:49 +01:00
Samsul Ma'arif
44a4c8024d Indonesian Translation update
Signed-off-by: Samsul Ma'arif <mail@samsul.web.id>
2015-11-08 22:33:53 +07:00
Frank Lanitz
a42230539c Small update of NEWS 2015-11-08 13:58:02 +01:00
Samsul Ma'arif
ee2809f92a Merge pull request #1 from geany/master
Update from geany/geany
2015-11-08 18:02:25 +07:00
Frank Lanitz
6c96738740 Merge pull request #731 from DevynCJohnson/patch-4
Update filetype_extensions.conf
2015-11-07 23:30:35 +01:00
Frank Lanitz
bc21947d3d Merge pull request #736 from scriptum/rpg-translate-ru
Update of Russian translation
2015-11-07 23:20:07 +01:00
Pavel Roschin
5c72d54090 Update of Russian translation 2015-11-08 01:05:12 +03:00
Frank Lanitz
756d4abdb2 Merge pull request #733 from peter-scholtens/master
After update of ./waf updatepo
2015-11-05 09:53:05 +01:00
Frank Lanitz
01ed8c7c01 Merge pull request #735 from crayxt/patch-1
Fix missing accelerator mark in Kazakh translation
2015-11-05 08:12:46 +01:00
Baurzhan Muftakhidinov
ccead15b22 Fix missing accelerator mark in Kazakh translation 2015-11-05 07:06:16 +05:00
Peter C. S. Scholtens
3b884b9190 Merge branch 'master' of git://github.com/geany/geany 2015-11-04 22:16:02 +01:00
Colomban Wendling
38f827d087 Merge pull request #533 from techee/doc_changed
Force disk status document check in some specific cases
2015-11-04 21:58:39 +01:00
Peter C. S. Scholtens
2d2445152e After update of ./waf updatepo 2015-11-04 21:47:36 +01:00
Jiří Techet
60bda54626 Check whether the current document changed when Geany window activated
This captures the common case when e.g. changing the document outside
Geany and switching back to Geany.

Remove the osx-specific code doing the same for osx only.
2015-11-04 21:35:24 +01:00
Jiří Techet
2f59aa4a9a Force-check document disk status when switching tabs
The document_check_disk_status() guarantees that there's no check
performed when switching pages using Ctrl+Tab - remove the outdated
comment and idle call and perform force-check.
2015-11-04 21:35:13 +01:00
Colomban Wendling
6efa9bff52 French translation update 2015-11-04 18:27:04 +01:00