Skip to content

Commit

Permalink
chore(main): release 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonMatthesKDAB committed Aug 26, 2024
1 parent 67349ef commit 160619e
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 1 deletion.
161 changes: 161 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
# Changelog

## 1.0.0 (2024-08-26)


### ⚠ BREAKING CHANGES

* Remove treesitter transformations
* Remove TextRange class
* Remove TextLocation class
* Change the test API for scripts
* Rename Script QML module to Knut
* Remove the uiFilePath property from ScriptDialog
* refactor the ScriptDialog API for progressbar
* Rename LspDocument to CodeDocument
* Deprecate symbol references
* Deprecate followSymbol & switchDeclarationDefinition

### Features

* Add a code view with button for TreeSitter ([39efa03](https://github.com/KDAB/knut/commit/39efa032da5fb638b6ccf695428dc2097985158f)), closes [#62](https://github.com/KDAB/knut/issues/62)
* add a find in files API to Project ([#143](https://github.com/KDAB/knut/issues/143)) ([6041dbf](https://github.com/KDAB/knut/commit/6041dbf7bf8446259a807375b4b04f45005d344b))
* add a find in files panel on the GUI ([#152](https://github.com/KDAB/knut/issues/152)) ([67349ef](https://github.com/KDAB/knut/commit/67349efac70a3a546bc2a958e27f68d8b8923651))
* Add a Logs menu with options to log to file or not ([523f71b](https://github.com/KDAB/knut/commit/523f71b13748ec9086e70215e3fbeed21eb0e747))
* add a method to change the context of a message ([#121](https://github.com/KDAB/knut/issues/121)) ([3cbb216](https://github.com/KDAB/knut/commit/3cbb21689a4898826e8216289961f6016f84bf09))
* add a new CLI option for testing a script ([9398ed9](https://github.com/KDAB/knut/commit/9398ed950e4f2f1cfbc6e6f0f094ff11b2394468))
* add a ribbon model for rcviewer" ([d8c2db6](https://github.com/KDAB/knut/commit/d8c2db68e4914e2a60d88e641a7835af2a9adde8))
* add a way to initialize script dialog from command line ([#136](https://github.com/KDAB/knut/issues/136)) ([611f80c](https://github.com/KDAB/knut/commit/611f80c0e2813ceb0a1f6e6ccda45f1c9c8a7a54))
* add API to create a ui file in QtUiDocument ([1610090](https://github.com/KDAB/knut/commit/161009084afb6fe7bfe890534217d04328b56e7c))
* add id property for QtUiWidget ([6884f4e](https://github.com/KDAB/knut/commit/6884f4e7dba36286605416e25067212f61830820))
* add json-list CLI option to list available scripts as json ([26860e9](https://github.com/KDAB/knut/commit/26860e901805b8acdb8967e23203ece309d727f0))
* add method for changing class base ([570b3c0](https://github.com/KDAB/knut/commit/570b3c0480376696ddd0f5645ab00bd3f6cd5b90))
* add option to return the settings from the CLI ([d42ad7c](https://github.com/KDAB/knut/commit/d42ad7c30be09eaf18601e64de09f2c8e7da9eb2)), closes [#35](https://github.com/KDAB/knut/issues/35)
* add replaceAllInRange API ([9d796d0](https://github.com/KDAB/knut/commit/9d796d0eadedfbd3c39b757c5f8ca94f4b1f26d0))
* Add reuse and fix lint issues ([eb9e3cf](https://github.com/KDAB/knut/commit/eb9e3cf74242f57c2dfcdf1ae5bdec1de0cfac84))
* Add ribbon to the RcViewer ([eb2acce](https://github.com/KDAB/knut/commit/eb2acce39e50edbd32d6ff801396c84fc0003bcc)), closes [#73](https://github.com/KDAB/knut/issues/73)
* Add some more API to JsonDocument ([#76](https://github.com/KDAB/knut/issues/76)) ([2559458](https://github.com/KDAB/knut/commit/25594585a4e113a4137c049463a36ac855938b5c)), closes [#31](https://github.com/KDAB/knut/issues/31)
* add stringForDialog* methods. Allow to extract text from widget ([fb9a182](https://github.com/KDAB/knut/commit/fb9a182c99c8550a992eb5baad1097807eeb43b6))
* add support for QmlJs via tree-sitter-qmljs ([4da27e1](https://github.com/KDAB/knut/commit/4da27e1cafffd0ffb3dbf5781653c25270ae758e))
* Add symbol listing for Qml ([#79](https://github.com/KDAB/knut/issues/79)) ([7898cb9](https://github.com/KDAB/knut/commit/7898cb91952dd71dbaa18d2c8ae42d69bf60bac6))
* Add TypedSymbol ([f662fc5](https://github.com/KDAB/knut/commit/f662fc5730db13fc49d2a72992482e4fda758cab))
* Add utility class to help write Qt Ui files ([efb0f15](https://github.com/KDAB/knut/commit/efb0f15a73f931a0efdb7bf259f370c7d2d21cf4))
* added line property for a message node ([#122](https://github.com/KDAB/knut/issues/122)) ([89805dd](https://github.com/KDAB/knut/commit/89805dd0d181398b828cfef5f9247192b9d2757e))
* allow to disable remove temporary file (usefull for debugging autotests) ([79673b6](https://github.com/KDAB/knut/commit/79673b6a1eff463af644c59f76871537e8c9f457))
* allow to extract one string from specific language ([92c013f](https://github.com/KDAB/knut/commit/92c013f6b40cf362f7b22db37091eed400f44d41))
* allow to generate locale code from language from rc file ([bcbce89](https://github.com/KDAB/knut/commit/bcbce8925b52875eeabd9a489e45ed95e8307a00))
* allow to get DialogData info (missing method) ([f3b1046](https://github.com/KDAB/knut/commit/f3b1046ad5e15ecd655b7ec3e7a72355db1365e5))
* allow to search string in qttsview ([2b2edf4](https://github.com/KDAB/knut/commit/2b2edf482ed9fb105b69686ec74131225a6637af))
* Create a JsonDocument ([88fdd03](https://github.com/KDAB/knut/commit/88fdd03098de594162281f0b02098b7ec5efaded))
* Create a list of C++ keywords for verification ([d53fb72](https://github.com/KDAB/knut/commit/d53fb7298c82dcb608cce0d5e5a5cedd4f689288))
* create a Script List panel, remove suggestions ([842c139](https://github.com/KDAB/knut/commit/842c13986f01533460f351bdd132ff18be9edc33))
* Custom treesitter grammar ([8227867](https://github.com/KDAB/knut/commit/822786712f761c35523e04c3a993f46189fe4a64))
* Disable LSP when running a script via command line ([52b4c34](https://github.com/KDAB/knut/commit/52b4c340cf3cc6c8d1d57b7042f83847930d0f3b))
* do not update docs if they are not outdated ([#148](https://github.com/KDAB/knut/issues/148)) ([44f1101](https://github.com/KDAB/knut/commit/44f1101311c8fd29ddedfafa0ecbdf153ee2a902))
* extract string from specific language ([9dc892f](https://github.com/KDAB/knut/commit/9dc892fd7d02c9c8bd2b52358d502265832cde2a))
* Handle QTextEdit in the ScriptDialogItem ([#141](https://github.com/KDAB/knut/issues/141)) ([77af0b7](https://github.com/KDAB/knut/commit/77af0b7db96bfe34dd64467334be18d23cbb5cf2))
* implement ts document ([00ebf75](https://github.com/KDAB/knut/commit/00ebf758c1b7ae51704edc904c15b0b9e39ff8dc))
* improve nextStep API in ScriptDialog ([#129](https://github.com/KDAB/knut/issues/129)) ([8c0e224](https://github.com/KDAB/knut/commit/8c0e2248e365be4ee6cfa8a4b7b546a3eee28e26))
* Improve progress window for ScriptDialogItem ([d46e6b7](https://github.com/KDAB/knut/commit/d46e6b7d1cdc5c90495cb67531ac51fd56f9534e))
* introduce Qml to parser ([87ffede](https://github.com/KDAB/knut/commit/87ffede4207fd3e725f37c66c9bef4417188fafe))
* migrate symbols to treesitter ([34fdebb](https://github.com/KDAB/knut/commit/34fdebb1db7d9068bf01136381ae99abc22330a1))
* parse ribbon description files for RC files ([37c6d0b](https://github.com/KDAB/knut/commit/37c6d0b5c56e83317b29dd3d4d8c525b25614e71))
* **rc:** add IMAGE tag support ([742c4c3](https://github.com/KDAB/knut/commit/742c4c3cf2787e488ac2557baa008fe1902020e5))
* refactor the ScriptDialog API for progressbar ([2210b29](https://github.com/KDAB/knut/commit/2210b29c69f1b68388a78f61ae66768070c16011))
* Remove the call to toStdString() from loggers ([032c19a](https://github.com/KDAB/knut/commit/032c19aa30450332a50367b12a017ba4ff342478))
* Remove the uiFilePath property from ScriptDialog ([c483e79](https://github.com/KDAB/knut/commit/c483e79c3bdd0d48ec003907f5fb174ff838357f))
* Saving & loading TS queries in inspector ([987f638](https://github.com/KDAB/knut/commit/987f6383e12fda533e3e70dbf625dcf7b665d5ae)), closes [#62](https://github.com/KDAB/knut/issues/62)
* Scheme syntax highlighting for TreeSitter ([f747caa](https://github.com/KDAB/knut/commit/f747caa9b16ddc6fb75f97e71bd18364917888a6))
* Select Smaller/Larger/Next/Previous Syntax Nodes ([#105](https://github.com/KDAB/knut/issues/105)) ([cd81b3b](https://github.com/KDAB/knut/commit/cd81b3b31c379ffdae27fecd80e93e5534cbbd2a))
* show ts strings ([e300577](https://github.com/KDAB/knut/commit/e30057722052462039c130d43e29941f567f28e1))
* Skip macros in C++ during parsing ([#116](https://github.com/KDAB/knut/issues/116)) ([c6d50a7](https://github.com/KDAB/knut/commit/c6d50a7cc94f523d33c9f53586ec6041d0af1d3a))
* Support for scripts with multiple steps ([11779ed](https://github.com/KDAB/knut/commit/11779ed0f2777aa290cbfa9fb19fb40c4d04d0c0))
* **tst_knut:** Better error on failed knut launch ([79bff98](https://github.com/KDAB/knut/commit/79bff989d71f625fc2036406913c917809f43fb7))


### Bug Fixes

* adapt optimization compilation to microsoft compiler ([97ebda6](https://github.com/KDAB/knut/commit/97ebda6605ca3b3dfe9517dc441a7438a9687804))
* add missing override keyword ([16d3a8f](https://github.com/KDAB/knut/commit/16d3a8f1ca7a250d04be9d98153058bc992d55e8))
* Add missing properties to ScriptRunner::isProperty ([7c1a04e](https://github.com/KDAB/knut/commit/7c1a04eac36975e01a45585e1709be6fa10fe0f5))
* add original language + fix change lang ([96732ad](https://github.com/KDAB/knut/commit/96732ad5bc035541a39ccc9f65c61cd41bd5f0de))
* add separator between action and actionTreeSitterInspector ([b11a572](https://github.com/KDAB/knut/commit/b11a572e2336eea8d94ffe46a2e95fe8bb1ae03c))
* add stdset="0" we don't want to generate property ([4ff2b07](https://github.com/KDAB/knut/commit/4ff2b07e9c5dc7c837247bc5f6f0b36a7b1c545e))
* add tr("..") even if we don't translate code we already use tr("..") in code ([acf5978](https://github.com/KDAB/knut/commit/acf597820116aa1886be2abb883f506448c5a98e))
* allow to replace by empty string (=> remove text) ([ed03e9b](https://github.com/KDAB/knut/commit/ed03e9bd16f543459835548664f5b3b629fd3cbd))
* allows describing type documentation with nested brackets and commas ([ee54436](https://github.com/KDAB/knut/commit/ee54436144a965de98f6e4eebd7f292ae9332055))
* **build:** Fix debug build on Windows ([9164f63](https://github.com/KDAB/knut/commit/9164f63f91257314d69e34281c4729dfcc50d8ec))
* Capturing of return types in FunctionSymbol ([f76298d](https://github.com/KDAB/knut/commit/f76298d3b2c9621f8c1df07b638eb0cb6a155525))
* change color. It's very hard to read "yellow" text. ([3f651fa](https://github.com/KDAB/knut/commit/3f651fab30a25515b8eac115833372a4dec3f536))
* change syntax of comments to remove warning ([#139](https://github.com/KDAB/knut/issues/139)) ([62ed9fc](https://github.com/KDAB/knut/commit/62ed9fca59b88c965b78968da269303df667f443))
* cleanup the Ribbon API and documentation ([6a6ac86](https://github.com/KDAB/knut/commit/6a6ac86c4c4905756a4a7d501458c63ee6dd9a66))
* const'ify code ([122b068](https://github.com/KDAB/knut/commit/122b06820d068ac6e6d5b73e2a3610a0eb5f32da))
* const'ify pointer ([988190e](https://github.com/KDAB/knut/commit/988190e7504a52cd25b5cfb232c72389acfd2085))
* const'ify value in knutstyle ([7d8be58](https://github.com/KDAB/knut/commit/7d8be58ac9986b8085e28955bb1dacead5a8c07d))
* constify pointer ([625337e](https://github.com/KDAB/knut/commit/625337e7820a26884da83c03f1e4c7c2188a56fa))
* crash when pressing Esc without editors ([fcf4aac](https://github.com/KDAB/knut/commit/fcf4aac33784e1f7687b9a15fc6f7ccd528ad0ad))
* default ui windowTitle is "Form" => it can be translated => remove it ([#81](https://github.com/KDAB/knut/issues/81)) ([6b1bee5](https://github.com/KDAB/knut/commit/6b1bee5660113618b71f533a8d6babd9a8de9f49))
* Delete the TreeSitter inspector when closed ([f922902](https://github.com/KDAB/knut/commit/f9229020992d6bfd9527822b758d9bb8db77a7d0))
* deleteLine method name in logging ([170fadf](https://github.com/KDAB/knut/commit/170fadfcf1ae88d8fd311d84fa73a887edafadff))
* disable actionTreeSitterInspector when file is not c++ file ([67a26cd](https://github.com/KDAB/knut/commit/67a26cdbb8bf43a839a9a1b310ef5b3ed700d188))
* Disable LogSilencers in tst_clientbackend ([60b56c0](https://github.com/KDAB/knut/commit/60b56c0cefe617feef6d4b93d3ca167359ff844f))
* Do not fall back to Qt5, it's not compatible ([245df3e](https://github.com/KDAB/knut/commit/245df3e488bc002af38510c1d1405907cc6866f6))
* do not run tests if the path to the directory doesn't exist ([308e7ba](https://github.com/KDAB/knut/commit/308e7ba2aaee07ba3ad113b17865cf2166a02b56))
* **docs:** Fix an issue with `array<>` in doc ([349bfc9](https://github.com/KDAB/knut/commit/349bfc930d4d7c9b04ec68ebf238e13fe537e999))
* don't allow to open empty file ([aa2e840](https://github.com/KDAB/knut/commit/aa2e84097d21a0429f0638d496574f713735dc2f))
* exit knut if there is an error in qml test ([#147](https://github.com/KDAB/knut/issues/147)) ([fa7ffd8](https://github.com/KDAB/knut/commit/fa7ffd8d7280331d80cd112ca9bdcf78fcf7553d))
* Fix crash in TreeSitter inspector with non-code document ([cc9f71f](https://github.com/KDAB/knut/commit/cc9f71f4c8109254d147d0b7d115f77f1785f7ac))
* fix generate ts file when we start from empty file ([d9ad68c](https://github.com/KDAB/knut/commit/d9ad68c421ffb5424783f3ceaa087f2557c4a618))
* fix includes ([c075099](https://github.com/KDAB/knut/commit/c0750996b7a2cdc651fe6ac8b968fd956b2d6aca))
* fix json ui extension + add ts json support ([c0e3949](https://github.com/KDAB/knut/commit/c0e3949419eada8fe50110716cce572f7a3ea31b))
* Fix lints found by pre-commit ([437c57e](https://github.com/KDAB/knut/commit/437c57e95a4c7c730b6c2a466c8358dae9eea5ad))
* Fix message map extraction when namespaces are used ([ff46f1c](https://github.com/KDAB/knut/commit/ff46f1c4204a65416af3bbeacc9ac036c9b7365f))
* Fix saving stringlist in Settings via script ([5746b64](https://github.com/KDAB/knut/commit/5746b644ebe7282b6dd883bc90e33a9069bcc2f8))
* fix typo in comment ([46c4ee5](https://github.com/KDAB/knut/commit/46c4ee59714dc646d508940f88a72b6d3e7204bd))
* fix typo in method name ([35e689d](https://github.com/KDAB/knut/commit/35e689da7449462cbdd1a78c1d3f53c834d65da7))
* flush spdlog messages also when logging to stderr ([#142](https://github.com/KDAB/knut/issues/142)) ([3831bd6](https://github.com/KDAB/knut/commit/3831bd61e100f4260f5242dd543862ad6a80f284))
* handle escaped characters when reading XML files ([adbf92f](https://github.com/KDAB/knut/commit/adbf92fb1ff0aab89c512ad25e6c98e8d980f6cb))
* improve script performance by changing QTreeView settings ([1c26bea](https://github.com/KDAB/knut/commit/1c26beaf3ad0cad93dcd9bc6ad36445a94ffe608))
* in qt6 QVector is an alias to QList ([8a5cfe8](https://github.com/KDAB/knut/commit/8a5cfe881c318e04154da4d9b7af55e568ffcd1f))
* Make Symbols & query... calls consistent ([31157a7](https://github.com/KDAB/knut/commit/31157a7debd7d4617fd8799a04e1207a0439a2e6)), closes [#118](https://github.com/KDAB/knut/issues/118)
* makes the id property non-translatable for ui files ([bbf31ac](https://github.com/KDAB/knut/commit/bbf31ac3d8c1fc91b0a050ca198e895d032caec9))
* minor REUSE issues ([#153](https://github.com/KDAB/knut/issues/153)) ([cd5063c](https://github.com/KDAB/knut/commit/cd5063c9371f29ebf7f44c4e081ab13db4441f36))
* modification of the setTranslation function for the case where the node is untranslated ([bc41c5d](https://github.com/KDAB/knut/commit/bc41c5d8489ea94d2d6627a8a5149986d9037f1c))
* Only test asyncHover if clangd is available ([73a0071](https://github.com/KDAB/knut/commit/73a00715a8a0a5575425eb51a09a50080df70600))
* properly exit knut when running a script on cli ([1f590b8](https://github.com/KDAB/knut/commit/1f590b819cb76333212a3d6728824762cb1be11b))
* put everything from utils/strings.h into the namespace Utils ([94bdab8](https://github.com/KDAB/knut/commit/94bdab8eeaa42ed85700265eccba40370da61a81)), closes [#44](https://github.com/KDAB/knut/issues/44)
* queryMember - #eq? Unmatched capture warning ([65b82d3](https://github.com/KDAB/knut/commit/65b82d365639e88b3504737331292db9ce01fe8e))
* Remove LSP client check from symbol functions ([11894dd](https://github.com/KDAB/knut/commit/11894ddafdb603c6d52952a0cadd86e7d3599a77))
* remove rootIsDecorated attribute ([83d0c55](https://github.com/KDAB/knut/commit/83d0c551fa5b7d5b59b6a4515b61ee2e7c49a932))
* Remove treesitter transformations ([e6e2f9d](https://github.com/KDAB/knut/commit/e6e2f9d2946a56aa1724bd49dc7334552dbf6be1))
* remove unused forward declaration ([795776d](https://github.com/KDAB/knut/commit/795776d688d7964ab1987ea119ce603c5ef677c3))
* Remove version from import ([512b5e2](https://github.com/KDAB/knut/commit/512b5e2c02d4a6d3962291cbd7d03d661a8732f1))
* rename `strings.h` into `string_helper.h` ([ddad2b5](https://github.com/KDAB/knut/commit/ddad2b537c66433cea3226a0a421ad8656ba0caf))
* rename as *qtuidocument ([7348917](https://github.com/KDAB/knut/commit/73489171777f2cf11b2f63c983f3f44117045996))
* save settings file in different directory in testing mode ([7576540](https://github.com/KDAB/knut/commit/75765406633cdd9414fa18489c8f9a583fda9a25))
* save settings on exit ([#125](https://github.com/KDAB/knut/issues/125)) ([be7aff3](https://github.com/KDAB/knut/commit/be7aff3dc095487e78c4fc9ef14e610fbdb8c514))
* simplify the API documentation ([#132](https://github.com/KDAB/knut/issues/132)) ([147fe34](https://github.com/KDAB/knut/commit/147fe349d1d352dfb85b3310a99fba996e79bfe0))
* **tests:** update mfc-utils for tests to pass ([a188701](https://github.com/KDAB/knut/commit/a188701edee9f06092863ea23176106bec829fde))
* translate string ([5077596](https://github.com/KDAB/knut/commit/50775965531b93e8cc0ae6beb416aea27745ed79))
* use ] for closing it ([983955f](https://github.com/KDAB/knut/commit/983955fbc7fd81a1c3f4a66a74c3b0aa2609bf9a))
* use /O3 with MSVC rather than -O3 ([8812c1f](https://github.com/KDAB/knut/commit/8812c1f3a12d8eb2d7872f39587183d87e6c78a5))
* use correct variable for toolButton ([49ae6cf](https://github.com/KDAB/knut/commit/49ae6cf5f66ac5c7e4a1fdc62f0e1156bad31a0c))
* use directly enum ([31acc0e](https://github.com/KDAB/knut/commit/31acc0e2ee27238686e9d39740d5e1e2353591b7))
* Use emit as for other code ([5fb666b](https://github.com/KDAB/knut/commit/5fb666b68f82c886040ca6014e9cddb39f9989ff))
* Use Generator expression for KNUT_BINARY_PATH ([f2de2f3](https://github.com/KDAB/knut/commit/f2de2f3d0c4a7037adb688fd926ac0daa36c76a7))
* Use Qt_QPA_PLATFORM=offscreen for testing ([f8c61a1](https://github.com/KDAB/knut/commit/f8c61a1a7d9768988e06fdf1548b4277729d6267)), closes [#53](https://github.com/KDAB/knut/issues/53)
* use spdlog::warn here ([657d38a](https://github.com/KDAB/knut/commit/657d38ac80514451a3c673680ba149db12790888))
* use tr(...) ([3fea497](https://github.com/KDAB/knut/commit/3fea497ed251c22b21e09a272d055c983c48a831))
* we build against qt6 only now ([#78](https://github.com/KDAB/knut/issues/78)) ([290e869](https://github.com/KDAB/knut/commit/290e8692a815cc7be85d3b32040116c16e1b886a))
* we need to call invertedAppearance=true when it's vertical ([13e0fe1](https://github.com/KDAB/knut/commit/13e0fe17b04e9ba82539e29428755cc90100cae2))


### Code Refactoring

* Change the test API for scripts ([cf7f514](https://github.com/KDAB/knut/commit/cf7f51464e6e4a8135f2d73d52762349a25f5491))
* Deprecate followSymbol & switchDeclarationDefinition ([0118e21](https://github.com/KDAB/knut/commit/0118e214506f386f4d64e5329b434f3fbfe3cdc7))
* Deprecate symbol references ([e0da610](https://github.com/KDAB/knut/commit/e0da61022166105316b469854a8b33c2bd2e29e2))
* Remove TextLocation class ([70a719a](https://github.com/KDAB/knut/commit/70a719a4d9c58b35f1d2d2907a26f7e575c859d2)), closes [#67](https://github.com/KDAB/knut/issues/67)
* Remove TextRange class ([aa41a17](https://github.com/KDAB/knut/commit/aa41a17fb59e8751f4280a0e7ca562c7420743d6)), closes [#67](https://github.com/KDAB/knut/issues/67)
* Rename LspDocument to CodeDocument ([c91f23f](https://github.com/KDAB/knut/commit/c91f23f9e393b7e3dd31af96b968391594c2836a))
* Rename Script QML module to Knut ([935c61f](https://github.com/KDAB/knut/commit/935c61f9da975ea61b1e405d381bc36091a281e8)), closes [#56](https://github.com/KDAB/knut/issues/56)
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.0
1.0.0

0 comments on commit 160619e

Please sign in to comment.