diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..e43212e1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,119 @@ +# Changelog + +## 1.0.0 (2024-07-10) + + +### ⚠ BREAKING CHANGES + +* 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 Logs menu with options to log to file or not ([523f71b](https://github.com/KDAB/knut/commit/523f71b13748ec9086e70215e3fbeed21eb0e747)) +* 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 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 ribbon to the RcViewer ([eb2acce](https://github.com/KDAB/knut/commit/eb2acce39e50edbd32d6ff801396c84fc0003bcc)), closes [#73](https://github.com/KDAB/knut/issues/73) +* 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 utility class to help write Qt Ui files ([efb0f15](https://github.com/KDAB/knut/commit/efb0f15a73f931a0efdb7bf259f370c7d2d21cf4)) +* 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)) +* Disable LSP when running a script via command line ([52b4c34](https://github.com/KDAB/knut/commit/52b4c340cf3cc6c8d1d57b7042f83847930d0f3b)) +* extract string from specific language ([9dc892f](https://github.com/KDAB/knut/commit/9dc892fd7d02c9c8bd2b52358d502265832cde2a)) +* implement ts document ([00ebf75](https://github.com/KDAB/knut/commit/00ebf758c1b7ae51704edc904c15b0b9e39ff8dc)) +* 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)) +* show ts strings ([e300577](https://github.com/KDAB/knut/commit/e30057722052462039c130d43e29941f567f28e1)) +* 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 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)) +* **build:** Fix debug build on Windows ([9164f63](https://github.com/KDAB/knut/commit/9164f63f91257314d69e34281c4729dfcc50d8ec)) +* change color. It's very hard to read "yellow" text. ([3f651fa](https://github.com/KDAB/knut/commit/3f651fab30a25515b8eac115833372a4dec3f536)) +* 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)) +* 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)) +* **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)) +* 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 typo in comment ([46c4ee5](https://github.com/KDAB/knut/commit/46c4ee59714dc646d508940f88a72b6d3e7204bd)) +* fix typo in method name ([35e689d](https://github.com/KDAB/knut/commit/35e689da7449462cbdd1a78c1d3f53c834d65da7)) +* handle escaped characters when reading XML files ([adbf92f](https://github.com/KDAB/knut/commit/adbf92fb1ff0aab89c512ad25e6c98e8d980f6cb)) +* in qt6 QVector is an alias to QList ([8a5cfe8](https://github.com/KDAB/knut/commit/8a5cfe881c318e04154da4d9b7af55e568ffcd1f)) +* makes the id property non-translatable for ui files ([bbf31ac](https://github.com/KDAB/knut/commit/bbf31ac3d8c1fc91b0a050ca198e895d032caec9)) +* 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 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)) +* **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)) +* 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) diff --git a/version.txt b/version.txt index 6e8bf73a..3eefcb9d 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.1.0 +1.0.0