Skip to content

Commit 8d41073

Browse files
chore(main): release 1.0.0
1 parent fa7ffd8 commit 8d41073

File tree

2 files changed

+152
-1
lines changed

2 files changed

+152
-1
lines changed

CHANGELOG.md

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