Skip to content

Releases: CJCombrink/SpellChecker-Plugin

v2.0.1

17 Dec 07:39
Compare
Choose a tag to compare

Version 2.0.1 Release for Qt Creator 4.8.

A bugfix on v2.0.0. and few new features:

Bugfixes:

  • Fixed bug where words from macros (e.g. QStringLiteral()) did not always get the settings applied

New Features

  • Removing color codes:
    • Hex number that starts with # instead of 0x
    • Only applies to 6 or 8 character hex values (RGB and ARGB formats)
  • New option to ignore the first comment in a file.
    • Useful to skip parsing of license headers, for speed and reducing false positives
    • Will not apply to comments that are Doxygen comments.
    • Default is false, it must be enabled if desired.

Downloads:

  • Windows:
    • 64 bit QtCreator: *_x64.zip
    • 32 bit QtCreator: *_x86.zip (Choose this one if QtCreator was installed though the Maintenance Tool)
  • Ubuntu 17.10 & 18.04 (Hunspell 1.6)
    • 64 bit QtCreator : *_Hunspell_v1.6_x64.tar.gz
  • Ubuntu 16.04 (Hunspell 1.3)
    • 64 bit QtCreator : *_Hunspell_v1.3_x64.tar.gz

To deploy in Qt Creator, extract the archive into the root folder of where Qt Creator is installed.

Please refer to the main page of the project for usage information.

On Windows, make sure to download the correct version for the Qt Creator used, not the architecture of the Operating System.
Most people will have a 32-bit Qt Creator even if Windows is 64 bit, thus choose the x86 version.
To check this: From Qt Creator, go to "Help" -> "About Qt Creator..."

v2.0.0

06 Dec 20:56
Compare
Choose a tag to compare

Version 2.0 Release for Qt Creator 4.8

Decided to step version to 2.0 due to the amount of rework in the C++ Parser.
Was hoping to add a bit more before the release but Qt Creator got released before more work was started, thus felt like a good point to make a release. This should be a good baseline for new functionality.

Highlights in this release (Compared to v1.3.0)

  • Better logic to only parse C/C++ files.
    • Using the MIME type to determine correct files, not using extensions anymore.
    • Files that will be opened by the C++ editor will be parsed by the C++ parser.
    • Files can be added to the MIME database for this.
    • Adding MIME type for doxygen documentation to also be opened by the C++ editor.
  • Many changes related to optimisation and speedup.
    • More use of sets due to their improved search performance.
    • When adding or removing files to the project, only the new files will be checked instead of rechecking the whole project.
    • Parsing C++ source files should now also happen in a background thread.
      • Editing should be more responsive in big files.
    • Doxygen tags are removed as soon as possible to reduce processing required later on.
    • STD and PLUGIN added to list of reserved words.
    • Queuing files when parsing a project instead of trying to update all at once.
      • Previous implementation caused almost all files to be parsed twice,. The queue allows the plugin to ignore ones that are already scheduled to be parsed (reduces memory and processing, see below crash* issue)
  • Fixed bug where if a token (comment or literal) was moved, the underlines did not always move correctly.
  • Added progress indicator to show progress parsing C++ files.
    • Could not think of a proper implementation for the spellchecking part, stay tuned.
  • Crash and potential crash fixes
    • Fixed crash(es) on closing Qt Creator while parsing a project.
    • Fixed many threading related crashes.
    • Can consistently parse Qt Creator sources without a crash*.

Downloads:

  • Windows:
    • 64 bit QtCreator: *_x64.zip
    • 32 bit QtCreator: *_x86.zip (Choose this one if QtCreator was installed though the Maintenance Tool)
  • Ubuntu 17.10 & 18.04 (Hunspell 1.6)
    • 64 bit QtCreator : *_Hunspell_v1.6_x64.tar.gz
  • Ubuntu 16.04 (Hunspell 1.3)
    • 64 bit QtCreator : *_Hunspell_v1.3_x64.tar.gz

To deploy in Qt Creator, extract the archive into the root folder of where Qt Creator is installed.

Please refer to the main page of the project for usage information.

On Windows, make sure to download the correct version for the Qt Creator used, not the architecture of the Operating System.
Most people will have a 32-bit Qt Creator even if Windows is 64 bit, thus choose the x86 version.
To check this: From Qt Creator, go to "Help" -> "About Qt Creator..."

Under the hood changes (Technical stuff for those interested):

  • Major refactoring and updates to the C++ parser.
    • Hopefully cleaner API
    • Trying to get rid of out parameters and replace with return values.
    • Hopefully easier to re-use common parts when needed (like QML parser)
  • More API docs.
  • Code cleanup
    • Code formatting using uncrustify
      • Did try clang-format but was rather dissapointed with the level of control and level of documentation
      • Contributors should please try to run uncrustify to format before making a PR.
        • This should't scare contributers off, I will still consider valuable contributions and run uncrustify before/after merging, people should not take offence.
    • Trying to modernise the code as I go, will try clang-tidy at some point.
    • Cleaning up compiler and clang warnings as they are encountered.
  • Started adding wrappers around shared data to allow better mutext protection.
  • Wanted to add more parallel Hunspell checkers but for now decided against it.
    • 1 Checker is good enough for small projects and after the project is parsed there is no benefit in having more.
    • Will be a complete waste if the checker is set to only parse the current file.
    • Will re-evaluate after new features gets added.
  • Windows binaries released with Hunspell v1.7.0
    • They state improved speed to get suggestions, I can confirm, this is about 3 times faster.

Notes:

    • When parsing a large project like Qt Creator using the 32 bit Qt Creator on Windows, the application consistently crashes when changing project level settings when the memory usage goes above about 1.5GB of RAM.
    • Most probably due to the LARGEADDRESSAWARE flag. I have seen a lot of errors stating memory related issues, especially when threads are started.
    • This is not an issue when just opening the large project and starting to work/build.
    • Happens for example when switching quickly between different Kit configurations.
    • If this is an issue, perhaps try to switch to a 64 bit version of Qt Creator or change the settings of the plugin to only parse the current file.
    • Sorry for the long notes, but a lot of effort went into this release.

v1.91.84

02 Dec 21:43
Compare
Choose a tag to compare
v1.91.84 Pre-release
Pre-release

Test release for upcoming release.

Lots and lots of rework on the C++ parser.

  • Will provide full list when proper release is done.
  • Can parse Qt Creator without crashes...

Upgraded Hunspell library to version 1.7.0:

  • No changes to the interface, still using the deprecated API to keep source backwards compatible
  • libHunspell.dll must be replaced in existing installs with the one in the archive

Build only for Qt Creator 4.8-RC1 MSVC2015 32-bit at the moment.

  • Only environment I got set up at the moment, rest should be up by the time that 4.8 falls.
  • Thought I had environment for x64 but due to compiler updates this is not the case
  • Next pre-release will contain other (I hope)

v1.3.0

25 Jul 19:06
Compare
Choose a tag to compare

Version 1.3 Release for QtCreator 4.7

From Version 1.2 notes:
The layout of the archive changed so that one can extract the archive into the root folder of where Qt Creator is installed, thus removing the need to copy individual files into the correct folder.

The README.txt file was also removed from the archives.
Please refer to the main page of the project for usage information.

Downloads:

  • Windows:
    • 64 bit QtCreator: *_x64.zip
    • 32 bit QtCreator: *_x86.zip (Choose this one if QtCreator was installed though the Maintenance Tool)
  • Ubuntu 17.10 & 18.04 (Hunspell 1.6)
    • 64 bit QtCreator : *_Hunspell_v1.6_x64.tar.gz
  • Ubuntu 16.04 (Hunspell 1.3)
    • 64 bit QtCreator : *_Hunspell_v1.3_x64.tar.gz

On Windows, make sure to download the correct version for the QtCreator used, not the architecture of the Operating System.
Most people will have a 32-bit QtCreator even if Windows is 64 bit, thus choose the x86 version.
To check this, from QtCreator go to "Help" -> "About Qt Creator..."

v1.2.83 for QtCreator 4.7 Beta 2

21 Jun 19:24
Compare
Choose a tag to compare
Pre-release

Test builds for Qt Creator 4.7 Beta 2
Did not build any for Linux yet, but might do it.
See instructions on previous releases if not familiar with the plugin.

v1.2.0

06 May 17:12
Compare
Choose a tag to compare

Version 1.2 Release for QtCreator 4.6.

Rebuilt for latest QtCreator with minor updates needed and some warnings removed, no new functionality.

The README.txt file attached contains all information need to deploy the plugin.
The layout of the archive changed so that one can extract the archive into the root folder of where Qt Creator is installed, thus removing the need to copy individual files into the correct folder.
The README.txt file was also removed from the archives.
Please refer to the main page of the project for usage information.

QtCreator 4.6.1

For some reason the plugin libs for Qt Creator 4.6.0 does not load in QtCreator 4.6.1. For that reason updated libraries were added for Qt Creator 4.6.1
Downloads:

  • Windows:
    • 64 bit QtCreator: SpellChecker-Plugin_v1.2.0_QtC_v4.6.1_x64.zip
    • 32 bit QtCreator: SpellChecker-Plugin_v1.2.0_QtC_v4.6.1_x86.zip (Choose this one if QtCreator was installed though the Maintenance Tool)
  • Ubuntu 17.10 & 18.04 (Hunspell 1.6)
    • 64 bit QtCreator : SpellChecker-Plugin_v1.2.0_QtC_v4.6.1_Hunspell_v1.6_x64.tar.gz
  • Ubuntu 16.04 (Hunspell 1.3)
    • 64 bit QtCreator : SpellChecker-Plugin_v1.2.0_QtC_v4.6.1_Hunspell_v1.3_x64.tar.gz

QtCreator 4.6.0

Downloads:

  • Windows:
    • 64 bit QtCreator: *_x64.zip
    • 32 bit QtCreator: *_x86.zip (Choose this one if QtCreator was installed though the Maintenance Tool)
  • Ubuntu
    • 64 bit QtCreator : *_x64.tar.gz

On Windows, make sure to download the correct version for the QtCreator used, not the architecture of the Operating System.
Most people will have a 32-bit QtCreator even if Windows is 64 bit, thus choose the x86 version.
To check this, from QtCreator go to "Help" -> "About Qt Creator..."

v1.1.0

05 Jan 22:27
Compare
Choose a tag to compare

Version 1.1 Release for QtCreator 4.5.

No added functionality from previous release, just rebuilt for latest QtCreator.

The README.txt file attached contains all information need to deploy the plugin.
Please refer to the main page of the project for usage information.

Downloads:

  • Windows:
    • 64 bit QtCreator: *_x64.zip
    • 32 bit QtCreator: *_x86.zip (Choose this one if QtCreator was installed though the Maintenance Tool)
  • Ubuntu
    • 64 bit QtCreator : *_x64.tar.gz

On Windows, make sure to download the correct version for the QtCreator used, not the architecture of the Operating System.
Most people will have a 32-bit QtCreator even if Windows is 64 bit, thus choose the x86 version.
To check this, from QtCreator go to "Help" -> "About Qt Creator..."

v1.0.0

07 Sep 19:57
Compare
Choose a tag to compare

Version 1.0 Release for QtCreator 4.4.

No added functionality from previous release except for few changes and small bug fix.
Decided to release v1.0 (At last). Also removed the experimental flag.
No new major issues were reported and it works quite well for my own needs.

The README.txt file attached contains all information need to deploy the plugin.
Please refer to the main page of the project for usage information.

Downloads:

  • Windows:
    • 64 bit QtCreator: *_x64.zip
    • 32 bit QtCreator: *_x86.zip (Choose this one if QtCreator was installed though the Maintenance Tool)
  • Ubuntu
    • 64 bit QtCreator : *_x64.tar.gz

On Windows, make sure to download the correct version for the QtCreator used, not the architecture of the Operating System.
Most people will have a 32-bit QtCreator even if Windows is 64 bit, thus choose the x86 version.
To check this, from QtCreator go to "Help" -> "About Qt Creator..."

v0.15.0

10 Jul 20:24
Compare
Choose a tag to compare

Optimisation release for Qt Creator 4.3 and minor fixes.

  • Column sizes in output pane are not auto sizing anymore, but can be resized by the user.
    • This is to speed up the IDE when there are many spelling mistakes.
    • Sizes will be saved between IDE runs.
  • More basic buttons in the output pane to replace words.
    • Again for speed.
  • Fixed the checkbox in the output pane that indicates if a misspelled word is a literal.
  • Right align line and column numbers in the output pane.

Again a big thanks goes out to @Typz for all the heavy lifting and finding the slow code and his contributions to speed up the code.

If there are no big issues I am planning to step the major version to 1.0 for the next Qt Creator release (4.4).

The README.txt file attached contains all information need to deploy the plugin. Please refer to the main page of the project for usage information.

For Windows: *.zip
For Ubuntu (x64): *.tar.gz

v0.14.0

06 Jul 20:25
Compare
Choose a tag to compare

Optimisation release for Qt Creator 4.3.

Functionally this release does not add anything new compared to release 0.13.
It does contain many optimisation updates provided and inspired by @Typz (Thanks again).
It should speed up the parsing and underlining of words in documents.

The README.txt file attached contains all information need to deploy the plugin. Please refer to the main page of the project for usage information.

For Windows: *.zip
For Ubuntu (x64): *.tar.gz