Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update man pagesHEADv2.3.4master | Reuben Thomas | 2023-02-19 | 3 | -3/+3 |
| | |||||
* | Fix potential NULL dereferences (thanks, GCC!) | Reuben Thomas | 2022-12-11 | 2 | -4/+7 |
| | | | | | Also fix some English in the API for enchant_dict_suggest, the implicated function. | ||||
* | lib.c: fix double-free (thanks, GCC) | Reuben Thomas | 2022-12-08 | 1 | -0/+1 |
| | |||||
* | Convert man pages to HTML for online documentation (do not distribute) | Reuben Thomas | 2022-09-25 | 5 | -1/+489 |
| | |||||
* | Improve man page markup | Reuben Thomas | 2022-09-25 | 2 | -11/+11 |
| | | | | Use curly quotes, and indent code examples. | ||||
* | Improve the documentation | Reuben Thomas | 2022-09-25 | 5 | -48/+97 |
| | | | | | | | | These changes were inspired by issue #311. Move the documentation on personal wordlists from README into enchant.5, and the documentation on ordering files from enchant.1 to enchant.5. Add a cross reference from README to the man page. | ||||
* | enchant++.h: make is_added() method return a result (fix #304) | Reuben Thomas | 2022-04-16 | 1 | -3/+3 |
| | |||||
* | Reduce dependency on gnulib by requiring C99 and POSIX 2008 | Dimitrij Mijoski | 2022-03-19 | 3 | -18/+15 |
| | | | | | | | | | - Remove gnulib modules c99, getopt-posix, strdup-posix, ssize_t - Also remove obsolete gnulib module snippet/unused-parameter, use _GL_UNUSED instead of older _GL_UNUSED_PARAMETER, and instead of [[maybe_unused]]. Thanks to @dimztimz for providing the patch on which this commit is based. | ||||
* | enchant.1: document format of language tags (see issue #295) | Reuben Thomas | 2021-12-03 | 1 | -2/+3 |
| | |||||
* | enchant-lsmod.c: show provider error if any when request_dict fails | Reuben Thomas | 2021-11-16 | 1 | -1/+5 |
| | | | | | This should prevent confusion such as that which led to https://github.com/AbiWord/enchant/issues/289 | ||||
* | Add debug.h for debugging | Reuben Thomas | 2021-11-16 | 3 | -0/+36 |
| | |||||
* | enchant_provider_is_valid: do NULL checks in same order as fields are declared | Reuben Thomas | 2021-11-08 | 1 | -6/+6 |
| | |||||
* | Make request_dict member of provider mandatory | Reuben Thomas | 2021-11-08 | 1 | -16/+14 |
| | |||||
* | Fix generation of man pages | Reuben Thomas | 2021-11-08 | 2 | -6/+4 |
| | | | | | | | | First, enchant-lsmod man page does not need to be run through the edit script, as it contains no references to datadir. Secondly, datadir needs to be handled differently, to prevent its being prematurely expanded by configure. | ||||
* | Clean up whitespace in main sources | Reuben Thomas | 2021-11-08 | 5 | -103/+103 |
| | |||||
* | Remove redundant braces; merge initializers with declarations | Reuben Thomas | 2021-11-08 | 3 | -89/+42 |
| | | | | This also makes the style of the code more consistent. | ||||
* | lib.c: remove redundant NULL checks | Reuben Thomas | 2021-11-08 | 1 | -23/+20 |
| | | | | | | A provider cannot be loaded unless it has a ‘list_dicts’ member, which is checked by enchant_provider_is_valid(). Hence, no need to check that ‘list_dicts’ is non-NULL before calling it. | ||||
* | lib.c, pwl.c: update copyright dates for myself | Reuben Thomas | 2021-11-07 | 2 | -1/+2 |
| | | | | Add myself to pwl.c, which I have worked on for some years! | ||||
* | Fix license exception | Reuben Thomas | 2021-08-06 | 3 | -6/+6 |
| | | | | | Update license exception that allows linking with proprietary spellcheckers to include all copyright holders, not just Dom Lachowicz. | ||||
* | enchant.ordering: do not prefer aspell for “en” | Reuben Thomas | 2021-08-06 | 1 | -1/+0 |
| | | | | | Only for locales it supports. (This was the intent of the previous change, as far as I can tell, in commit c030073.) | ||||
* | lib.c: ignore hidden files when loading providers | Reuben Thomas | 2021-06-18 | 1 | -0/+1 |
| | |||||
* | enchant.c: add -p flag | Reuben Thomas | 2021-06-14 | 2 | -12/+49 |
| | | | | | Support -p, as ispell and hunspell do, to specify a personal wordlist (in practice, this could be a per-project wordlist). | ||||
* | pwl.c: allow the PWL APIs to be passed -1 as word length | Reuben Thomas | 2021-06-14 | 2 | -9/+21 |
| | | | | | | This is strictly an API/ABI change, but bump only the minor version, as in practice it is simply an extension that makes the enchant_pwl_* APIs work like the enchant_dict_* APIs. | ||||
* | enchant-provider.h: add documentation (fix #239) | Reuben Thomas | 2021-06-03 | 1 | -13/+36 |
| | | | | | | | | | | Document enchant_get_user_config_dir and enchant_get_conf_dirs. Tweak other documentation for consistency. Correct the name of the preprocessor guard token in the closing comment. This commit only changes comments. | ||||
* | Make Aspell the default backend for English locales it supports | Peter Oliver | 2021-02-04 | 1 | -0/+5 |
| | | | | | | The data at http://aspell.net/test/common-all-all/ indicates that Aspell is much quicker than Hunspell and achieves slightly better results. Fixes #270. | ||||
* | enchant.c: report output of --version/-v to stdout, not stderr | Reuben Thomas | 2020-11-02 | 1 | -1/+1 |
| | | | | This is the normal output, and may be required on stdout by clients. | ||||
* | src/lib.c: sort tags in enchant_broker_list_dicts | Reuben Thomas | 2020-09-07 | 1 | -27/+26 |
| | | | | | This makes enchant-lsmod produce more readable output. The order of output may as well be useful. | ||||
* | enchant: ignore -B for ispell compatibility (Emacs passes -B to ispell) | Reuben Thomas | 2020-09-07 | 1 | -2/+3 |
| | |||||
* | libenchant: fix use of deprecated GLib macro | Reuben Thomas | 2020-09-01 | 2 | -2/+2 |
| | | | | | G_UNICODE_COMBINING_MARK (deprecated since GLib 2.30) becomes G_UNICODE_SPACING_MARK. | ||||
* | enchant.c: some slight tidy-up | Reuben Thomas | 2020-09-01 | 1 | -13/+6 |
| | |||||
* | Nuspell provider implementation | PanderMusubi | 2020-02-27 | 3 | -12/+12 |
| | |||||
* | src/enchant.c: overhaul command-line parsing and documentation | Reuben Thomas | 2020-01-18 | 2 | -110/+108 |
| | | | | | | | | | | | | 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! | ||||
* | src/pwl.c: fix buffer overflow in trie matching | Reuben Thomas | 2020-01-18 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | src/enchant.c: remove FILE * arg from print_help(): only stdout is used | Reuben Thomas | 2020-01-18 | 1 | -3/+3 |
| | |||||
* | src/pwl.c: treat PWL as text, not binary | Reuben Thomas | 2019-09-01 | 1 | -3/+3 |
| | |||||
* | src/pwl.c: cope with different line endings when reading PWL | Reuben Thomas | 2019-09-01 | 1 | -5/+3 |
| | | | | | (Fixes a problem with the tests on Windows, which for some reason only manifested recently.) | ||||
* | src/lib.c: use correct g_free for result of g_build_filename (not free) | Reuben Thomas | 2019-06-30 | 1 | -1/+1 |
| | |||||
* | tokenize_line: fix skipping back over non-word characters (fix #212) | Reuben Thomas | 2019-06-17 | 1 | -11/+9 |
| | | | | | | | 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. | ||||
* | Add missing enchant-lsmod.1.in to EXTRA_DIST in src | Reuben Thomas | 2018-01-03 | 1 | -1/+1 |
| | |||||
* | Fix FSF address | Robert-André Mauchin | 2017-12-14 | 8 | -8/+8 |
| | |||||
* | Make enchant_relocate public in the provider API | Reuben Thomas | 2017-12-11 | 2 | -1/+11 |
| | | | | As a result, bump version to 2.2.0. | ||||
* | Fix use of relocatable so that relocatable.c is correctly built | Reuben Thomas | 2017-12-11 | 1 | -1/+0 |
| | | | | See http://lists.gnu.org/archive/html/bug-gnulib/2017-12/msg00012.html | ||||
* | Make man pages parallel installable (fix #168) | Reuben Thomas | 2017-12-07 | 4 | -13/+22 |
| | |||||
* | enchant-lsmod.1 should not be in DISTCLEANFILES | Reuben Thomas | 2017-11-26 | 1 | -1/+1 |
| | |||||
* | Support parallel installation of different Enchant versions | Reuben Thomas | 2017-11-25 | 3 | -16/+18 |
| | | | | | | Fixes #162. Thanks to Sébastien Wilmet. Followed instructions at https://developer.gnome.org/programming-guidelines/unstable/parallel-installability.html.en | ||||
* | Overhaul enchant(1) | Reuben Thomas | 2017-08-09 | 3 | -12/+33 |
| | | | | | Generate the system paths in the man page at build time, and rewrite the section FILES AND DIRECTORIES. | ||||
* | Fixes #146: add a man page for enchant-lsmod | Reuben Thomas | 2017-08-07 | 3 | -2/+37 |
| | |||||
* | enchant-lsmod: simplify argument parsing, and add -word-chars | Reuben Thomas | 2017-08-07 | 1 | -64/+57 |
| | | | | | -word-chars prints the value of enchant_dict_get_extra_word_characters for the given language’s dictionary. | ||||
* | Deal with strdup failure in enchant_relocate | Reuben Thomas | 2017-07-31 | 1 | -6/+26 |
| | |||||
* | Allow Enchant to be built without --enable-relocatable | Reuben Thomas | 2017-07-31 | 1 | -0/+4 |
| | | | | | | | 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. |