Commit Graph

21 Commits

Author SHA1 Message Date
Robert Griebl
aa820e936e Fix compilation against Qt >= 6.11 2025-12-28 19:53:06 +01:00
Robert Griebl
c0623ca85f Remove obsolete code 2025-09-23 15:19:09 +02:00
Robert Griebl
91a56957ed 2025 copyright bump 2025-01-09 21:14:31 +01:00
Robert Griebl
50a9fb70d8 Improve dev console output
- use QML type names if available
- do not expand lists and maps in sub-objects to keep the output short
- do not explicitly list superclasses - just collect all properties
- shorten output for objects with no properties

Also added code to detect recursions.

Closes: #885
2024-05-24 16:57:41 +02:00
Robert Griebl
119ed73fe9 Delay the extension loading to avoid problems with visual QML elements 2024-03-24 17:05:30 +01:00
Robert Griebl
f081e92d1f Update all copyright texts to 2024 2024-01-11 20:37:20 +01:00
Robert Griebl
9071ebc3c9 Revert adding an organization name to the QCoreApplication
This was done for 2023.11.2 to decouple the cookie saving from the
Config mechanism, but this ended up backfiring:

Both the 'Cache' and 'AppData' standard paths were affected by that
change (as in, there's an additional sub-directory named "BrickStore").

The Cache part is easy, as we can just go back to the old
cache directory (it's just a cache after all). For the AppData, we
need to make sure that people haven't copied and later modified
their extensions.
2024-01-09 00:38:05 +01:00
Robert Griebl
6802be200e Clazy fixes 2023-12-29 01:46:45 +01:00
Robert Griebl
5dae9514a7 JS shell cleanup 2023-12-26 15:04:37 +01:00
Robert Griebl
173ca6d5b4 Decouple the error log/dev console from the dock system
Before, you couldn't access the console, if no documents are open.
2023-11-03 15:12:40 +01:00
Robert Griebl
a20c9091cd Finally a workaround to access singletons in the JS console 2023-10-07 00:01:08 +02:00
Robert Griebl
32d4738741 Fix all relevant clang-tidy and clazy findings
- clazy level 0, 1, 2 and manual
- clang analyze, modernize and performance
2023-03-07 01:12:43 +01:00
Robert Griebl
da0ce99bef License update (GPLv2 -> GPLv3)
- updated the main license from GPLv2 to GPLv3. This was necessary
  because newer Qt modules (like Quick3D) are not available under
  the GPLv2 anymore.
- replaced the verbose per-file license headers with SPDX headers.
- license headers were missing in most QML files and scripts.
- simplified the license section of the "About" dialog.
2023-02-18 22:47:38 +01:00
Robert Griebl
d53eadaa7a Replace all qAsConst with std::as_const 2023-01-03 15:56:30 +01:00
Robert Griebl
add6d28ff7 Standardize on string concatenation via operator+
By defining QT_USE_QSTRINGBUILDER globally, we can get rid of all the
individual #include <QStringBuilder> and the weird looking operator%
based concatenations.

Also cleaned up the Exception implementation while at it.
2023-01-03 15:56:29 +01:00
Robert Griebl
571dd24fb3 Fix Reload-User-Scripts by forcing a QML component cache clear 2022-11-18 17:01:14 +01:00
Robert Griebl
dc1b90484d Revamp dev console 2022-10-31 04:48:34 +01:00
Robert Griebl
ee9915a9bf Better stringify formatting in the dev console 2022-10-31 04:48:33 +01:00
Robert Griebl
1316de6633 clangd: #include cleanup 2022-10-16 02:11:11 +02:00
Robert Griebl
32fe569bb7 Better introspection via the dev console 2022-10-05 23:20:53 +02:00
Robert Griebl
1352c1441d Get the printing extension interface going again
Had to change a few APIs to make old extensions load correctly
2022-07-13 12:41:29 +02:00