8455 Commits

Author SHA1 Message Date
Jiří Techet
7fcda040ab Fix various utf8/locale problems in build and message window
Non-ascii characters in file/directory names caused:

1. build commands didn't succeed
2. characters in the message window weren't shown in correct encoding
3. clicking on a row with error in the message window didn't open the file
with error.

This patch fixes these three issues.
2016-01-05 17:36:46 +01:00
Colomban Wendling
e083c8d1c9 reflow: Use plain ASCII space instead of GDK_space
`GDK_space` is not guaranteed to have the value of an ASCII space
(although it does in practice), and using a GDK constant does not make
sense inside a text manipulation function.
2016-01-04 22:30:32 +01:00
Colomban Wendling
ffde79e8ef reflow: Don't split right before a whitespace
Avoid splitting lines right before a whitespace when reflowing (e.g.
in case of several consecutive ones) not to move whitespaces at the
start of the next line, which, while they will be removed later on,
can lead to incorrect reflow width and even fully empty lines.
Prefer leave trailing spaces then, which is less of a problem.
2016-01-04 22:21:19 +01:00
Colomban Wendling
46ed77bf19 reflow: Fix infinite loop on some input with many consecutive spaces
Avoid triggering auto-indentation with consecutive whitespaces when
reflowing, as it can lead to infinite loop if auto-indent leads to
inserting full lines.

Fixes #848.
2016-01-04 21:58:42 +01:00
Ben Wiederhake
2df9f83bf2 Typos overlooked by codespell 2016-01-03 18:44:00 +01:00
Ben Wiederhake
29a6b9c003 Fix typos
All of these typos were found by codespell, so credits go the
the authors of this incredibly useful tool.

I manually confirmed and adapted all changes, which includes
reflowing over-long lines or filling up with spaces for alignment.

Some of these typos may need forwarding to their original authors.
codespell reported a lot words where I am unsure; I have not
included those corrections.
2016-01-03 18:33:25 +01:00
Ben Wiederhake
9941c2d044 Fix obvious typo 2016-01-03 18:01:10 +01:00
Thomas Martitz
ae0fac33f4 doxygen: undo export of some items from commit 302b40e
Some types were undocumented on purpose and shall not be exported just yet.
2015-12-21 20:07:56 +01:00
Devyn Collier Johnson
d1fcd9f226 Add *.asm51 and *.a51 extensions for 8051 assembly
The *.a51 extension is also used for Adobe Authorware files, but we are
unlikely to ever support those.

Closes #739
2015-12-19 17:31:06 -08:00
Colomban Wendling
8d643d6688 Fix missing progress bar during build runs
Restore progress bar pulsation while a build is running, as it was lost
by accident in 690cb922be902f023881d455ae0c0a87d1c62170.

Closes #765.
2015-12-19 17:08:01 -08:00
Matthew Brush
45f531cd4b Fix known memory leak in win32_show_folder_dialog() 2015-12-19 16:56:45 -08:00
Colomban Wendling
9365110c4c CUDA: Use C++ ctags parser
Closes #830.
2015-12-18 21:31:38 +01:00
Thomas Martitz
302b40e977 doxygen: various doxygen-related fixes in preparation for gtkdoc generation
Major changes are:

- Some types were accidentally documented, even though they couldn't be
accessed by any exported API functions. Those are removed (especially
from encodings.h).

- Some types were not documented where they should. Documentation is
added for them. Members are not necessarily documented separately if names
are self-explanatory.

- @a XXX refers to parameters of the function, it's inappropriate for
highlighting NULL (change to @c)

- As per consensus, build_info is removed from GeanyData (replaced by
pointer to avoid ABI break; added grep-able abi-todo tag so it doesn't get
forgotten)
2015-12-17 09:52:52 +01:00
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
Enrico Tröger
34088fbbb8 Drop Waf build system support
See #768.
2015-12-13 14:36:12 +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