| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This makes enchant-lsmod produce more readable output. The order of output
may as well be useful.
|
| |
|
|
|
|
|
| |
G_UNICODE_COMBINING_MARK (deprecated since GLib 2.30) becomes
G_UNICODE_SPACING_MARK.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use getopt for simpler parsing of command-line arguments and better error
handling and reporting.
Remove some stream variables, as in many cases we always use stdout.
Overhaul the documentation of command-line options and make it consistent
between the output of ‘enchant -h’ and enchant(1).
Allow -L to be combined with another mode; it is useless otherwise!
|
|
|
|
|
|
| |
Add an extra byte to the ‘word’ buffer, as the check for transposed
characters can look two characters (here, NULs, so one character per byte)
past the end of the buffer.
|
| |
|
| |
|
|
|
|
|
| |
(Fixes a problem with the tests on Windows, which for some reason only
manifested recently.)
|
| |
|
|
|
|
|
|
|
| |
We were truncating the string a byte at a time rather than a character at a
time.
Thanks to Juha Jeronen for the bug report.
|
| |
|
| |
|
|
|
|
| |
As a result, bump version to 2.2.0.
|
|
|
|
| |
See http://lists.gnu.org/archive/html/bug-gnulib/2017-12/msg00012.html
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes #162. Thanks to Sébastien Wilmet.
Followed instructions at https://developer.gnome.org/programming-guidelines/unstable/parallel-installability.html.en
|
|
|
|
|
| |
Generate the system paths in the man page at build time, and rewrite the
section FILES AND DIRECTORIES.
|
| |
|
|
|
|
|
| |
-word-chars prints the value of enchant_dict_get_extra_word_characters for
the given language’s dictionary.
|
| |
|
|
|
|
|
|
|
| |
Thanks to Bruno Haible for pointing out the disadvantages (primarily for GNU
system packagers) of forcing --enable-relocatable.
Warn that the tests will fail for a non-relocatable build.
|
| |
|
|
|
|
|
| |
Put all function parameter lists on one line except for the really long
ones.
|
| |
|
|
|
|
|
|
|
| |
Add enchant_dict_get_extra_word_characters, which returns a string of
non-letter characters that may occur in words, and
enchant_dict_is_word_character, which checks whether the given character is
valid as the first, last, or internal character in a word.
|
| |
|
|
|
|
|
|
|
| |
Mostly to use C99-style declarations, moving declarations just before first
use.
Also make some code simplifications.
|
| |
|
|
|
|
|
| |
Now that all back-ends have one. This seems a sensible method to require, as
the ability to list available languages is key for user interfaces.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It transpired that owing to a problem in configure.ac, the backend was
not being built, even on macOS. Fix this.
As a result, some compilation errors recently introduced emerged. Fix
them.
Note that AppleSpell.config wasn't being installed. Fix this. Also fix
its loading: it was being looked for in pkglibdir, but should be
installed in pkgdatadir (and now is).
In order to find the config file, promote enchant_get_conf_dirs to
enchant-provider.h, which now therefore needs to include glib.h again.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
list_dicts
Both dispose and dispose_dicts are required. This makes it harder to have
inadvertent leaks, and simplifies lib.c a little.
Require one of dictionary_exists or list_dicts. This means that request_dict
is no longer called by enchant_provider_dictonary_exists, so remove the
tests for this case.
|
|\
| |
| | |
Remove provider free_string_list method
|
| |
| |
| |
| | |
Specifically enchant_{broker,dict}_get_error.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Assume a malloc-allocated char **.
Voikko used an internally-allocated char **, so copy it before passing it
back, as all the other providers have to.
In the process of fixing some tests, reactivate some disabled tests.
|
| |
| |
| |
| | |
This is too fragile, and anyway it’s an internal API
|
|/
|
|
| |
Signed-off-by: Viktor Oreshkin <stek29@users.noreply.github.com>
|
|
|
|
| |
Replace stdio.h with more accurate stddef.h for size_t
|
|
|
|
| |
for DLLs
|
|
|
|
| |
…and put it in lib.c where it is needed
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
size_t may not be unsigned long.
Also get ssize_t reliably with help from gnulib.
Finally, use dist_man_MANS to install man page, not EXTRA_DIST.
|
| |
|
|
|
|
|
|
|
| |
Add mingw64 and mingw32 to msys builds.
Remove unneeded and bit-rotted Win32 code from tests, hence also remove
GetDirectoryOfThisModule.
|
|
|
|
| |
Thanks, Valgrind!
|
|
|
|
|
|
| |
Testing on MinGW showed that a couple of file modes needed the “b” flag
adding, and that a file positioning operation needed inserting between a
read and a write.
|