1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460
|
2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c:
Use the new PLUGIN_SET_TRANSLATABLE_INFO() macro.
2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c:
Fix broken checks when the selected text is only on one line.
* src/scplugin.c:
Save dictionary directory only if it is set
(patch by Colomban Wendling, thanks).
2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/*.c, src/*.h:
Update copyright information.
2009-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c:
Try to make broker initialisation a bit more robust.
* src/gui.c, src/scplugin.c, src/scplugin.h:
Add an option to make the editor menu items for Spelling
Suggestions optional.
* src/gui.c:
Prevent looking for very long search terms which most probably
will fail anyway.
2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c, src/scplugin.h, src/gui.c, src/gui.h, src/speller.c:
Allow setting a custom dictionary directory without reloading
the plugin.
Minor fixes.
2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c, src/speller.c, src/scplugin.h:
Add an option to the preference dialog to select a custom
directory to look for additional dictionary files.
2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c:
Remove more unused code.
* src/speller.c:
Add preliminary support for configurable dictionary directories.
2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c:
Remove unused code.
2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c, src/scplugin.c, src/speller.c:
Use single header includes.
Use the global version macro to set the plugin's version.
2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c:
Fix compilation with GTK < 2.16.
2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, po/geanyspellcheck.pot:
Prefix the gettext package with "geany" to avoid possible
naming conflicts.
2009-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c, src/scplugin.c, src/gui.h:
Update the label of the "Default" menu item if the default language
has been changed.
* src/speller.c:
Update Pascal styles as they changed in Scintilla.
2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c:
Fix broken menu item "Default".
2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c, src/scplugin.c, src/gui.h:
List the available languages in the Tools menu as radio items
to easily indicate which language is currently in use.
Show the default language also next to the 'Default' menu item.
Show the currently used language in the toolbutton tooltip.
2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* New release: Spell Check 0.3.
2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c, src/gui.h, src/scplugin.c, src/scplugin.h, src/speller.c,
src/speller.h:
Revert back the changes to use the "editor-notify" signal as it
makes things worse than before. Instead use the old code to connect
to the global "key-press-event" signal but reduce the delay
to half a second to make checking while typing smoother.
2009-02-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am:
Fix 'make distcheck' by uninstalling documentation files.
2009-02-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c, src/gui.h, src/scplugin.c, src/scplugin.h, src/speller.c,
src/speller.h:
Use the "editor-notify" signal to catch text modifications for
checking while typing. Also remove the timeout which never worked
as intended.
Don't add suggestions to the messages window when checking while
typing.
These changes should increase the usability and accuracy of the
'check while typing' feature while not being much slower (if ever).
* src/gui.c, src/scplugin.c, src/scplugin.h:
Display accelerator on the 'Default' menu item.
* src/gui.c, src/gui.h, src/scplugin.c, src/scplugin.h, src/speller.c,
src/speller.h:
Prefix all non-static functions which sc_ to avoid symbol clashes.
* src/speller.c:
Synchronise lexer checks with Geany's new filetypes.
2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sc_plugin.c:
Use Geany's main_locale_init() to init the localisation system.
2009-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c:
Display a pulsing progressbar while checking large documents.
2009-02-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c:
Remove unnecessary gpointer casts.
If the toolbar item is disabled, just hide it instead of destroying
it.
2009-02-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, Makefile.am:
Install documentation files into the geany-plugins doc dir.
* src/Makefile.am, src/scplugin.c:
Implement plugin_help() to open the Readme file in Geany.
2009-01-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c:
Don't enable mnemonics for "Add ... to Dictionary" and "Ignore All"
menu items to prevent wrongly displayed labels.
2009-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c, src/speller.c:
Update to Geany API 126 - LexOMS was removed.
2009-01-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c:
Fix deprecated usage of g_win32_get_package_installation_directory(),
pass NULL as package name.
* po/de.po, src/gui.c, src/scplugin.c, src/speller.c, src/gui.h,
src/scplugin.h, src/speller.h:
Update copyright information.
2008-12-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c, src/gui.c, src/speller.c:
Update to Geany API 115 - use geanyfunctions.h, from Nick's patch.
2008-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/gui.c:
Show the 'Suggestions' sub menu in the editor menu also when we
have a misspelled word but no suggestions.
If there is a selection use it instead of the current word when
updating the editor menu.
2008-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/scplugin.c, src/gui.c:
Make use of ui_image_menu_item_new().
2008-11-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c, src/gui.c:
Update to Geany API 108 - indicator functions renamed.
2008-11-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c, src/speller.h, src/gui.c:
When replacing a misspelled word with a suggestion, add this
replacement to the spell checker to remember it in further checks.
* src/gui.c, src/scplugin.c, src/speller.c, src/gui.h, src/scplugin.h:
Move SpellClickInfo struct into gui.c.
* src/gui.c:
Remove SpellClickInfo::suggs and retrieve the suggestion text from
the menu item label directly.
Remove the limit of showing a maximum of 10 suggestions, instead
add sub menus for more suggestions if available, similar to what
'gtkspell' does.
Fix an endless loop and some mismatches in clearing indicators when
using 'Add to Dictionary' and 'Ignore All'.
2008-11-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c, src/speller.h, src/gui.c:
When using 'Ignore All', add the word to ignore to the enchant
session list to really ignore it for further checks, too.
2008-11-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c, src/speller.h, src/gui.c:
Check the Scintilla lexing style for the word to check and
skip any further checks if the word is not a comment, string
or has any other style which belongs to the filetype language of
the current document. This makes the whole plugin much more useful,
eliminates many false positives and increases speed a lot.
2008-10-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c, src/speller.h, src/scplugin.c:
Improve the auto-detection of the user's language (handle locales
like 'de_DE.UTF-8' correctly).
* src/gui.c:
Add 'Ignore All' menu item to the suggestions menu.
* New release: Spell Check 0.2.
2008-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/speller.c:
Add some error checking and prevent crashes if Enchant doesn't
provide any dictionaries.
Plug a little memory leak.
If showing suggestions in the messages window is disabled, don't
check for suggestions at all, this heavily reduces the time needed
for a full document check.
* src/gui.c:
Ignore numbers when updating the editor menu.
Rename the editor menu item to 'Spelling Suggestions'.
When adding words to the dictionary, remove all indicators on
these words.
* src/gui.c, src/gui.h, src/scplugin.c:
Add keybinding to toggle the 'Check while typing' setting.
2008-10-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c, src/scplugin.c, src/gui.c, src/speller.c,
src/scplugin.h, src/gui.h, src/speller.h, src/Makefile.am,
po/POTFILES.in:
Split spellcheck.c into three source files.
* README:
Add some notes about known problems, especially with the
Zemberek provider.
2008-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Test whether stored language is (still) available in enchant and fall
back to the first supported language if not.
2008-10-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Update to Geany API 100 - use p_ui->add_document_sensitive().
2008-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/spellcheck.c:
Update to Geany API 99 - use p_plugin->add_toolbar_item().
2008-09-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/spellcheck.c:
Update to Geany API 95.
2008-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Update to Geany API 94 and use new indicator API.
2008-09-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Add toolbar button to quickly enable/disable the
'check while typing' setting (closes #2062239).
Do not check numbers and words starting with digits.
Use the 'gtk-spell-check' GTK stock icon for the main menu
item in the Tools menu.
2008-08-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Disable the Tools menu item and the keybinding callbacks when
a dictionary could not be loaded.
Improve error message when loading the chosen dictionary failed.
2008-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Remove temporary testing code.
Replace deprecated g_strncasecmp() with g_ascii_strncasecmp().
2008-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Note: Don't use this revision for productive use!
Experimental changes in word retrieval to work better with complex
Unicode characters like in Hindi.
Use Scintilla's messages for finding word start and end positions
instead of my own variant which didn't work well in Hindi.
Add a temporary option to switch between Geany's word retrieval
method when showing the editor menu or use an alternative one
(only for testing).
This code is still in testing and should be considered as WIP.
2008-07-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Update to Geany API 78 (GeanyEditor changes).
2008-07-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Update to Geany API 75.
2008-07-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Add option to enable/disable use of the messages window.
Don't act on key release events when the input focus is not in the
editor widget.
Fix showing an empty Spellcheck menu item in the editor popup menu.
Rename signal "populate-edit-menu" into "update-editor-menu".
2008-07-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Create a new dict object when the default language in the preferences
dialog was changed to actually use the new language.
2008-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Use "populate-edit-menu" signal to add a "Spell Check" menu item to
the editing menu and provide a submenu with suggestions for
misspelled words and allow to add the word to the personal
dictionary.
2008-06-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* README, configure.in, src/Makefile.am, src/spellcheck.c:
Use enchant as spell check engine instead of Aspell.
Highlight only misspelled instead of whole the line.
Add Tools->Spellcheck sub menu to easily change the language
to use for spell checking.
Add "check as you type" feature.
Change doc pointer usage.
Update Readme.
2008-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Compilation fixes.
* Makefile.am:
Add HTML target.
2008-05-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/spellcheck.c:
Add new GeanyFunctions API.
Avoid crashes when LANG environment variable can't be read
(e.g. on Windows).
Detect the Aspell installation prefix on Windows and use it to find
installed dictionaries.
* makefile.win32:
Make Windows Makefile working.
* configure.in:
Explicitly depend on Geany >= 0.15.
2008-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in:
Post-release version bump.
Display install location of the plugin binary and separately the
location of other files like translations for clarity.
* src/spellcheck.c:
Fix a big memory leak and don't use an unneeded array.
Fix possible crashes on Windows when working on unsaved documents
(patch by Nick, thanks :)).
2008-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/*, src/*, *:
Initial import of spellcheck plugin.
* Makefile.am:
Add missing dist-bzip2 and sign targets.
* Initial 0.1 release of the spellcheck plugin.
|