Skip to content

Commit fdc8efc

Browse files
chore(main): release 1.0.0
1 parent 3cbb216 commit fdc8efc

File tree

2 files changed

+135
-1
lines changed

2 files changed

+135
-1
lines changed

CHANGELOG.md

Lines changed: 134 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
# Changelog
2+
3+
## 1.0.0 (2024-07-23)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* Remove TextRange class
9+
* Remove TextLocation class
10+
* Change the test API for scripts
11+
* Rename Script QML module to Knut
12+
* Remove the uiFilePath property from ScriptDialog
13+
* refactor the ScriptDialog API for progressbar
14+
* Rename LspDocument to CodeDocument
15+
* Deprecate symbol references
16+
* Deprecate followSymbol & switchDeclarationDefinition
17+
18+
### Features
19+
20+
* 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)
21+
* Add a Logs menu with options to log to file or not ([523f71b](https://github.com/KDAB/knut/commit/523f71b13748ec9086e70215e3fbeed21eb0e747))
22+
* 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))
23+
* add a new CLI option for testing a script ([9398ed9](https://github.com/KDAB/knut/commit/9398ed950e4f2f1cfbc6e6f0f094ff11b2394468))
24+
* add a ribbon model for rcviewer" ([d8c2db6](https://github.com/KDAB/knut/commit/d8c2db68e4914e2a60d88e641a7835af2a9adde8))
25+
* add API to create a ui file in QtUiDocument ([1610090](https://github.com/KDAB/knut/commit/161009084afb6fe7bfe890534217d04328b56e7c))
26+
* add id property for QtUiWidget ([6884f4e](https://github.com/KDAB/knut/commit/6884f4e7dba36286605416e25067212f61830820))
27+
* add json-list CLI option to list available scripts as json ([26860e9](https://github.com/KDAB/knut/commit/26860e901805b8acdb8967e23203ece309d727f0))
28+
* add method for changing class base ([570b3c0](https://github.com/KDAB/knut/commit/570b3c0480376696ddd0f5645ab00bd3f6cd5b90))
29+
* 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)
30+
* add replaceAllInRange API ([9d796d0](https://github.com/KDAB/knut/commit/9d796d0eadedfbd3c39b757c5f8ca94f4b1f26d0))
31+
* Add ribbon to the RcViewer ([eb2acce](https://github.com/KDAB/knut/commit/eb2acce39e50edbd32d6ff801396c84fc0003bcc)), closes [#73](https://github.com/KDAB/knut/issues/73)
32+
* add stringForDialog* methods. Allow to extract text from widget ([fb9a182](https://github.com/KDAB/knut/commit/fb9a182c99c8550a992eb5baad1097807eeb43b6))
33+
* add support for QmlJs via tree-sitter-qmljs ([4da27e1](https://github.com/KDAB/knut/commit/4da27e1cafffd0ffb3dbf5781653c25270ae758e))
34+
* Add utility class to help write Qt Ui files ([efb0f15](https://github.com/KDAB/knut/commit/efb0f15a73f931a0efdb7bf259f370c7d2d21cf4))
35+
* added line property for a message node ([#122](https://github.com/KDAB/knut/issues/122)) ([89805dd](https://github.com/KDAB/knut/commit/89805dd0d181398b828cfef5f9247192b9d2757e))
36+
* allow to disable remove temporary file (usefull for debugging autotests) ([79673b6](https://github.com/KDAB/knut/commit/79673b6a1eff463af644c59f76871537e8c9f457))
37+
* allow to extract one string from specific language ([92c013f](https://github.com/KDAB/knut/commit/92c013f6b40cf362f7b22db37091eed400f44d41))
38+
* allow to generate locale code from language from rc file ([bcbce89](https://github.com/KDAB/knut/commit/bcbce8925b52875eeabd9a489e45ed95e8307a00))
39+
* allow to get DialogData info (missing method) ([f3b1046](https://github.com/KDAB/knut/commit/f3b1046ad5e15ecd655b7ec3e7a72355db1365e5))
40+
* allow to search string in qttsview ([2b2edf4](https://github.com/KDAB/knut/commit/2b2edf482ed9fb105b69686ec74131225a6637af))
41+
* Create a JsonDocument ([88fdd03](https://github.com/KDAB/knut/commit/88fdd03098de594162281f0b02098b7ec5efaded))
42+
* Create a list of C++ keywords for verification ([d53fb72](https://github.com/KDAB/knut/commit/d53fb7298c82dcb608cce0d5e5a5cedd4f689288))
43+
* create a Script List panel, remove suggestions ([842c139](https://github.com/KDAB/knut/commit/842c13986f01533460f351bdd132ff18be9edc33))
44+
* Disable LSP when running a script via command line ([52b4c34](https://github.com/KDAB/knut/commit/52b4c340cf3cc6c8d1d57b7042f83847930d0f3b))
45+
* extract string from specific language ([9dc892f](https://github.com/KDAB/knut/commit/9dc892fd7d02c9c8bd2b52358d502265832cde2a))
46+
* implement ts document ([00ebf75](https://github.com/KDAB/knut/commit/00ebf758c1b7ae51704edc904c15b0b9e39ff8dc))
47+
* Improve progress window for ScriptDialogItem ([d46e6b7](https://github.com/KDAB/knut/commit/d46e6b7d1cdc5c90495cb67531ac51fd56f9534e))
48+
* introduce Qml to parser ([87ffede](https://github.com/KDAB/knut/commit/87ffede4207fd3e725f37c66c9bef4417188fafe))
49+
* migrate symbols to treesitter ([34fdebb](https://github.com/KDAB/knut/commit/34fdebb1db7d9068bf01136381ae99abc22330a1))
50+
* parse ribbon description files for RC files ([37c6d0b](https://github.com/KDAB/knut/commit/37c6d0b5c56e83317b29dd3d4d8c525b25614e71))
51+
* **rc:** add IMAGE tag support ([742c4c3](https://github.com/KDAB/knut/commit/742c4c3cf2787e488ac2557baa008fe1902020e5))
52+
* refactor the ScriptDialog API for progressbar ([2210b29](https://github.com/KDAB/knut/commit/2210b29c69f1b68388a78f61ae66768070c16011))
53+
* Remove the call to toStdString() from loggers ([032c19a](https://github.com/KDAB/knut/commit/032c19aa30450332a50367b12a017ba4ff342478))
54+
* Remove the uiFilePath property from ScriptDialog ([c483e79](https://github.com/KDAB/knut/commit/c483e79c3bdd0d48ec003907f5fb174ff838357f))
55+
* Select Smaller/Larger/Next/Previous Syntax Nodes ([#105](https://github.com/KDAB/knut/issues/105)) ([cd81b3b](https://github.com/KDAB/knut/commit/cd81b3b31c379ffdae27fecd80e93e5534cbbd2a))
56+
* show ts strings ([e300577](https://github.com/KDAB/knut/commit/e30057722052462039c130d43e29941f567f28e1))
57+
* Skip macros in C++ during parsing ([#116](https://github.com/KDAB/knut/issues/116)) ([c6d50a7](https://github.com/KDAB/knut/commit/c6d50a7cc94f523d33c9f53586ec6041d0af1d3a))
58+
* Support for scripts with multiple steps ([11779ed](https://github.com/KDAB/knut/commit/11779ed0f2777aa290cbfa9fb19fb40c4d04d0c0))
59+
* **tst_knut:** Better error on failed knut launch ([79bff98](https://github.com/KDAB/knut/commit/79bff989d71f625fc2036406913c917809f43fb7))
60+
61+
62+
### Bug Fixes
63+
64+
* adapt optimization compilation to microsoft compiler ([97ebda6](https://github.com/KDAB/knut/commit/97ebda6605ca3b3dfe9517dc441a7438a9687804))
65+
* add missing override keyword ([16d3a8f](https://github.com/KDAB/knut/commit/16d3a8f1ca7a250d04be9d98153058bc992d55e8))
66+
* Add missing properties to ScriptRunner::isProperty ([7c1a04e](https://github.com/KDAB/knut/commit/7c1a04eac36975e01a45585e1709be6fa10fe0f5))
67+
* add original language + fix change lang ([96732ad](https://github.com/KDAB/knut/commit/96732ad5bc035541a39ccc9f65c61cd41bd5f0de))
68+
* add separator between action and actionTreeSitterInspector ([b11a572](https://github.com/KDAB/knut/commit/b11a572e2336eea8d94ffe46a2e95fe8bb1ae03c))
69+
* add stdset="0" we don't want to generate property ([4ff2b07](https://github.com/KDAB/knut/commit/4ff2b07e9c5dc7c837247bc5f6f0b36a7b1c545e))
70+
* add tr("..") even if we don't translate code we already use tr("..") in code ([acf5978](https://github.com/KDAB/knut/commit/acf597820116aa1886be2abb883f506448c5a98e))
71+
* allow to replace by empty string (=> remove text) ([ed03e9b](https://github.com/KDAB/knut/commit/ed03e9bd16f543459835548664f5b3b629fd3cbd))
72+
* **build:** Fix debug build on Windows ([9164f63](https://github.com/KDAB/knut/commit/9164f63f91257314d69e34281c4729dfcc50d8ec))
73+
* change color. It's very hard to read "yellow" text. ([3f651fa](https://github.com/KDAB/knut/commit/3f651fab30a25515b8eac115833372a4dec3f536))
74+
* cleanup the Ribbon API and documentation ([6a6ac86](https://github.com/KDAB/knut/commit/6a6ac86c4c4905756a4a7d501458c63ee6dd9a66))
75+
* const'ify code ([122b068](https://github.com/KDAB/knut/commit/122b06820d068ac6e6d5b73e2a3610a0eb5f32da))
76+
* const'ify pointer ([988190e](https://github.com/KDAB/knut/commit/988190e7504a52cd25b5cfb232c72389acfd2085))
77+
* const'ify value in knutstyle ([7d8be58](https://github.com/KDAB/knut/commit/7d8be58ac9986b8085e28955bb1dacead5a8c07d))
78+
* constify pointer ([625337e](https://github.com/KDAB/knut/commit/625337e7820a26884da83c03f1e4c7c2188a56fa))
79+
* crash when pressing Esc without editors ([fcf4aac](https://github.com/KDAB/knut/commit/fcf4aac33784e1f7687b9a15fc6f7ccd528ad0ad))
80+
* 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))
81+
* Delete the TreeSitter inspector when closed ([f922902](https://github.com/KDAB/knut/commit/f9229020992d6bfd9527822b758d9bb8db77a7d0))
82+
* deleteLine method name in logging ([170fadf](https://github.com/KDAB/knut/commit/170fadfcf1ae88d8fd311d84fa73a887edafadff))
83+
* disable actionTreeSitterInspector when file is not c++ file ([67a26cd](https://github.com/KDAB/knut/commit/67a26cdbb8bf43a839a9a1b310ef5b3ed700d188))
84+
* Disable LogSilencers in tst_clientbackend ([60b56c0](https://github.com/KDAB/knut/commit/60b56c0cefe617feef6d4b93d3ca167359ff844f))
85+
* Do not fall back to Qt5, it's not compatible ([245df3e](https://github.com/KDAB/knut/commit/245df3e488bc002af38510c1d1405907cc6866f6))
86+
* **docs:** Fix an issue with `array<>` in doc ([349bfc9](https://github.com/KDAB/knut/commit/349bfc930d4d7c9b04ec68ebf238e13fe537e999))
87+
* don't allow to open empty file ([aa2e840](https://github.com/KDAB/knut/commit/aa2e84097d21a0429f0638d496574f713735dc2f))
88+
* Fix crash in TreeSitter inspector with non-code document ([cc9f71f](https://github.com/KDAB/knut/commit/cc9f71f4c8109254d147d0b7d115f77f1785f7ac))
89+
* fix generate ts file when we start from empty file ([d9ad68c](https://github.com/KDAB/knut/commit/d9ad68c421ffb5424783f3ceaa087f2557c4a618))
90+
* fix includes ([c075099](https://github.com/KDAB/knut/commit/c0750996b7a2cdc651fe6ac8b968fd956b2d6aca))
91+
* fix json ui extension + add ts json support ([c0e3949](https://github.com/KDAB/knut/commit/c0e3949419eada8fe50110716cce572f7a3ea31b))
92+
* Fix lints found by pre-commit ([437c57e](https://github.com/KDAB/knut/commit/437c57e95a4c7c730b6c2a466c8358dae9eea5ad))
93+
* Fix message map extraction when namespaces are used ([ff46f1c](https://github.com/KDAB/knut/commit/ff46f1c4204a65416af3bbeacc9ac036c9b7365f))
94+
* Fix saving stringlist in Settings via script ([5746b64](https://github.com/KDAB/knut/commit/5746b644ebe7282b6dd883bc90e33a9069bcc2f8))
95+
* fix typo in comment ([46c4ee5](https://github.com/KDAB/knut/commit/46c4ee59714dc646d508940f88a72b6d3e7204bd))
96+
* fix typo in method name ([35e689d](https://github.com/KDAB/knut/commit/35e689da7449462cbdd1a78c1d3f53c834d65da7))
97+
* handle escaped characters when reading XML files ([adbf92f](https://github.com/KDAB/knut/commit/adbf92fb1ff0aab89c512ad25e6c98e8d980f6cb))
98+
* in qt6 QVector is an alias to QList ([8a5cfe8](https://github.com/KDAB/knut/commit/8a5cfe881c318e04154da4d9b7af55e568ffcd1f))
99+
* makes the id property non-translatable for ui files ([bbf31ac](https://github.com/KDAB/knut/commit/bbf31ac3d8c1fc91b0a050ca198e895d032caec9))
100+
* modification of the setTranslation function for the case where the node is untranslated ([bc41c5d](https://github.com/KDAB/knut/commit/bc41c5d8489ea94d2d6627a8a5149986d9037f1c))
101+
* Only test asyncHover if clangd is available ([73a0071](https://github.com/KDAB/knut/commit/73a00715a8a0a5575425eb51a09a50080df70600))
102+
* properly exit knut when running a script on cli ([1f590b8](https://github.com/KDAB/knut/commit/1f590b819cb76333212a3d6728824762cb1be11b))
103+
* 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)
104+
* queryMember - #eq? Unmatched capture warning ([65b82d3](https://github.com/KDAB/knut/commit/65b82d365639e88b3504737331292db9ce01fe8e))
105+
* Remove LSP client check from symbol functions ([11894dd](https://github.com/KDAB/knut/commit/11894ddafdb603c6d52952a0cadd86e7d3599a77))
106+
* remove rootIsDecorated attribute ([83d0c55](https://github.com/KDAB/knut/commit/83d0c551fa5b7d5b59b6a4515b61ee2e7c49a932))
107+
* Remove version from import ([512b5e2](https://github.com/KDAB/knut/commit/512b5e2c02d4a6d3962291cbd7d03d661a8732f1))
108+
* rename `strings.h` into `string_helper.h` ([ddad2b5](https://github.com/KDAB/knut/commit/ddad2b537c66433cea3226a0a421ad8656ba0caf))
109+
* rename as *qtuidocument ([7348917](https://github.com/KDAB/knut/commit/73489171777f2cf11b2f63c983f3f44117045996))
110+
* save settings file in different directory in testing mode ([7576540](https://github.com/KDAB/knut/commit/75765406633cdd9414fa18489c8f9a583fda9a25))
111+
* **tests:** update mfc-utils for tests to pass ([a188701](https://github.com/KDAB/knut/commit/a188701edee9f06092863ea23176106bec829fde))
112+
* translate string ([5077596](https://github.com/KDAB/knut/commit/50775965531b93e8cc0ae6beb416aea27745ed79))
113+
* use ] for closing it ([983955f](https://github.com/KDAB/knut/commit/983955fbc7fd81a1c3f4a66a74c3b0aa2609bf9a))
114+
* use /O3 with MSVC rather than -O3 ([8812c1f](https://github.com/KDAB/knut/commit/8812c1f3a12d8eb2d7872f39587183d87e6c78a5))
115+
* use correct variable for toolButton ([49ae6cf](https://github.com/KDAB/knut/commit/49ae6cf5f66ac5c7e4a1fdc62f0e1156bad31a0c))
116+
* use directly enum ([31acc0e](https://github.com/KDAB/knut/commit/31acc0e2ee27238686e9d39740d5e1e2353591b7))
117+
* Use emit as for other code ([5fb666b](https://github.com/KDAB/knut/commit/5fb666b68f82c886040ca6014e9cddb39f9989ff))
118+
* Use Generator expression for KNUT_BINARY_PATH ([f2de2f3](https://github.com/KDAB/knut/commit/f2de2f3d0c4a7037adb688fd926ac0daa36c76a7))
119+
* Use Qt_QPA_PLATFORM=offscreen for testing ([f8c61a1](https://github.com/KDAB/knut/commit/f8c61a1a7d9768988e06fdf1548b4277729d6267)), closes [#53](https://github.com/KDAB/knut/issues/53)
120+
* use spdlog::warn here ([657d38a](https://github.com/KDAB/knut/commit/657d38ac80514451a3c673680ba149db12790888))
121+
* use tr(...) ([3fea497](https://github.com/KDAB/knut/commit/3fea497ed251c22b21e09a272d055c983c48a831))
122+
* we build against qt6 only now ([#78](https://github.com/KDAB/knut/issues/78)) ([290e869](https://github.com/KDAB/knut/commit/290e8692a815cc7be85d3b32040116c16e1b886a))
123+
* we need to call invertedAppearance=true when it's vertical ([13e0fe1](https://github.com/KDAB/knut/commit/13e0fe17b04e9ba82539e29428755cc90100cae2))
124+
125+
126+
### Code Refactoring
127+
128+
* Change the test API for scripts ([cf7f514](https://github.com/KDAB/knut/commit/cf7f51464e6e4a8135f2d73d52762349a25f5491))
129+
* Deprecate followSymbol & switchDeclarationDefinition ([0118e21](https://github.com/KDAB/knut/commit/0118e214506f386f4d64e5329b434f3fbfe3cdc7))
130+
* Deprecate symbol references ([e0da610](https://github.com/KDAB/knut/commit/e0da61022166105316b469854a8b33c2bd2e29e2))
131+
* Remove TextLocation class ([70a719a](https://github.com/KDAB/knut/commit/70a719a4d9c58b35f1d2d2907a26f7e575c859d2)), closes [#67](https://github.com/KDAB/knut/issues/67)
132+
* Remove TextRange class ([aa41a17](https://github.com/KDAB/knut/commit/aa41a17fb59e8751f4280a0e7ca562c7420743d6)), closes [#67](https://github.com/KDAB/knut/issues/67)
133+
* Rename LspDocument to CodeDocument ([c91f23f](https://github.com/KDAB/knut/commit/c91f23f9e393b7e3dd31af96b968391594c2836a))
134+
* Rename Script QML module to Knut ([935c61f](https://github.com/KDAB/knut/commit/935c61f9da975ea61b1e405d381bc36091a281e8)), closes [#56](https://github.com/KDAB/knut/issues/56)

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0
1+
1.0.0

0 commit comments

Comments
 (0)