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