| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The \generatelist command takes an optional argument
that affect how the members are listed, for example,
`classesbymodule` which creates an annotated list of
the classes in a named C++ module.
`groupsbymodule` is not recognized or documented. QDoc
falls back to generating a list of all members of a
group in this case. While the end result is correct,
this relies on an undocumented feature that is likely
to change and break.
Replace these instances with an explicit \annotatedlist
command that produces the same output.
Pick-to: 6.10
Task-number: QTBUG-138901
Change-Id: I74a52f8a625703fe829024b51beec3ad900d67e3
Reviewed-by: Paul Wicking <[email protected]>
|
|
|
|
|
| |
Change-Id: Ieaaad62d131febe5e7d361c6c8019cb03c3e52a8
Reviewed-by: Joerg Bornemann <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
The snippets define MyObject in multiple cpp files. That's fine for
snippets (at the risk of odr violations), but it breaks unity builds.
Disabling them entirely for snippets.
Pick-to: 6.8 6.9 6.10
Change-Id: I8c32404c6497956bec17231cd782cca380afb186
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Change dbus declaration with Proximity methods and properties
Add proximity support for iio-sensor-proxy
Change-Id: I8c595ea7ca6b37dc1b40ffe78fb10a1c0adde636
Pick-to: 6.9 6.10
Reviewed-by: Joerg Bornemann <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Since 6.10, QDoc is capable of generating links to the declaration in
the source code for each documented C++ API entity in their `Detailed
description`.
Add the required configuration to enable this feature in Qt Sensors.
Change-Id: I247cb4ab461a14deca88863e030bc5f3dfae417a
Reviewed-by: Paul Wicking <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Added PURL and CPE information to the
attribution files of 3rd party sources.
Pick-to: 6.8 6.9
Fixes: QTBUG-137192
Task-number: QTBUG-129602
Change-Id: Ifa362af2b1bd25b2daa11760be9cc953aac7f1ea
Reviewed-by: Joerg Bornemann <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
Use dbusxml2cpp --namespace parameter to wrap the generated interfaces
into a custom namespace.
Task-number: QTBUG-134305
Change-Id: I7efec1e3c43238d4532e0e11fab819540b9a8e3d
Reviewed-by: Juha Vuolle <[email protected]>
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
| |
qdoc will soon warn about C++ types in QML property documentation.
This change fixes existing documentation to prevent warnings.
Pick-to: 6.8 6.9
Change-Id: I4668c94f1ac96bf1a017479f8ff27e53794716d7
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
| |
Change-Id: I859927960d9234bd1c70fffd116f62082f060738
Reviewed-by: Kai Köhne <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Amends 4e88cf83abe67d05d3294fe1a5057302d2f9259d and 45c8ae323.
-rdynamic is a linker option and it's one you should NEVER use in a real
application.
There's no library called liblog.
Change-Id: I1b86798bad105f187eb8fffd6855ea6a028be577
Reviewed-by: Volker Hilsheimer <[email protected]>
|
|
|
|
|
|
|
|
| |
Amends 4e88cf83abe67d05d3294fe1a5057302d2f9259d.
Pick-to: 6.8
Change-Id: Ia4bc526e4ec714a6c5fafffd10ab8b03b86c1bc1
Reviewed-by: Volker Hilsheimer <[email protected]>
|
|
|
|
|
|
| |
Fixes: QTBUG-131578
Change-Id: I37da2c9b2e755c2e94eec477dec3e3bb27a7e035
Reviewed-by: Alexey Edelev <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
CMake is the only build we support, so if this hasn't been ported in
nearly 4 years, it's not important and therefore does not warrant a
build-time warning.
Amends 45c8ae3232df8955644697ee88c4321f26bb5cf2 ("QtSensors initial
cmake support").
Change-Id: Ic0b8d4425761cd3c7e4ffffdb5e92f6907788bf8
Reviewed-by: Alexey Edelev <[email protected]>
|
|
|
|
|
| |
Change-Id: I1cc1ddf14f43317a01c0aeef4a0cb55b17a6188d
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
moc/AUTOMOC will detect Q_OBJECT macros in code, regardless of whether
it is in a comment or not. This is why originally a qdoc macro Q_OBJECT
was introduced.
Anyhow, due to the underscore, qdoc never did treat \Q_OBJECT as a macro
invocation of this, resulting in \Q_OBJECT being verbally printed in the
generated documentation.
Fix this by moving the snippet into its own file. This also allows
compile-testing it as a bonus point.
Pick-to: 6.8
Task-number: QTBUG-130799
Change-Id: Ic586dcf6b403ff3d3be513b6cc95bed191862ef4
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
ALooper_pollAll has been deprecated and removed from NDK 27.
This patch replaces ALooper_pollAll with ALooper_pollOnce.
This patch adds also a wider return value handling.
Fixes: QTBUG-128167
Pick-to: 6.8 6.5
Change-Id: If744371fe2a50957a34d63451710af694afea7c2
Reviewed-by: Assam Boudjelthia <[email protected]>
Reviewed-by: Juha Vuolle <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
REUSE.toml files are read by reuse to complement or override the
copyright and licensing information found in file.
The use of REUSE.toml files was introduced in REUSE version 3.1.0a1.
This reuse version is compatible with reuse specification
version 3.2 [1].
With this commit's files,
* The SPDX document generated by reuse spdx conforms to SPDX 2.3,
* The reuse lint command reports that the Qt project is reuse compliant.
[1]: https://reuse.software/spec-3.2/
Task-number: QTBUG-124453
Task-number: QTBUG-125211
Pick-to: 6.8
Change-Id: I3aad0e67cb30c5cadeb74271aa6f49389ed92362
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The QDoc command `\tableofcontents` was rendered useless by a change
more than a decade ago. Remove the use of `\tableofcontents` as it
serves no purpose, and ensure that the surrounding context still makes
sense for the reader, by removing preceding text that refers to a
non-existing table of contents, such as `Contents:`.
Task-number: QTBUG-128173
Pick-to: 6.8
Change-Id: Ibb3ebd4767d96414d037ef2a7114f3b456a909e3
Reviewed-by: Venugopal Shivashankar <[email protected]>
Reviewed-by: Safiyyah Moosa <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
Since the implementation of the `\nativetype`-command in QDoc,
the `\instantiates`-command is deprecated. Replace the use of the
deprecated command in favor of its replacement.
Pick-to: 6.8
Task-number: QTBUG-128216
Change-Id: I2afa7a4a10de7e9f06b72fd21782debf3f613ab5
Reviewed-by: Venugopal Shivashankar <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit organizes the articles, so they:
- have a reasonable tree structure
- can be navigated through the topic tree in the Qt Creator help viewer
The commit also fixes a link to the sensorfw repository.
Task-number: QTBUG-127384
Change-Id: I5aeef7b1d17c9d70c09c507cc8ca360e47c28a2a
Reviewed-by: Lorn Potter <[email protected]>
Reviewed-by: Topi Reiniö <[email protected]>
|
|
|
|
|
|
|
| |
It's only used in a single translation unit.
Change-Id: Ief7ac120c862b44c7fe9254d69e0a66c54f2820a
Reviewed-by: Ivan Solovev <[email protected]>
|
|
|
|
|
|
|
|
|
| |
The behavior that argument was enabling is the default one now.
Pick-to: 6.8
Task-number: QTBUG-90492
Change-Id: Ia82c7f7499242342afcd625493ad1505144102e8
Reviewed-by: Alexandru Croitor <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][Third-Party Code] Add attribution for
Android getRotationMatrix and getOrientation code, copied from Android
sources under Apache-2.0. This code is only used on Android, as part of
the Android Sensor plugin.
Pick-to: 6.2 6.5 6.7
Task-number: QTBUG-110806
Change-Id: I4074e72b7ba8a8b77406d5bf07667560ec64abb5
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to QUIP-18 [1], all example and snippet files should be
LicenseRef-Qt-Commercial OR BSD-3-Clause
[1]: https://contribute.qt-project.org/quips/18
Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: Id774a0d7afd03c06bc8598fe929c7021d9b2fb7e
Reviewed-by: Kai Köhne <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
According to QUIP-18 [1], all tool files should be
LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
[1]: https://contribute.qt-project.org/quips/18
Task-number: QTBUG-121787
Change-Id: Iac56dce5ddef4685563dd092d23cfe7497d3ae24
Reviewed-by: Kai Köhne <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Explicitly specify the underlying type of the Feature enum, so that
QML does not need to guess it.
- Use Q_REVISION macro on a new Q_INVOKABLE method.
Amends f5eae761742c9099b9a8226c11559e61fc63de15
Found during 6.7 QML API review
Pick-to: 6.7
Change-Id: I8fb3d8627a2908a828c98c4b6931a391e339978d
Reviewed-by: Fabian Kosmale <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-117983
Change-Id: I4f46c8b8d3d188296e45ec8c468dc3e33b823848
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
| |
Task-number: QTBUG-117983
Change-Id: I8360b44a9074fa8ad0cb99a95ff032a1e1f77c39
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Checking if a specific feature is supported by the backend is now
available from QML.
[ChangeLog][QmlSensor] Add QmlSensor::isFeatureSupported().
Fixes: QTBUG-97273
Change-Id: I0ec71fa51c792afc4b6b6191b85910095d2b87a2
Reviewed-by: Ivan Solovev <[email protected]>
Reviewed-by: Juha Vuolle <[email protected]>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-117209
Pick-to: 6.6
Change-Id: I07b6b2ec95c7f497f3cdebfae2c007dc4e6783a9
Reviewed-by: Topi Reiniö <[email protected]>
Reviewed-by: Dennis Oberst <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
The implicit include through QJniObject is gone in qtbase, adapt to
that.
Change-Id: I3eec44c79b31d2c98ff7f52737e2353a8c85ccd3
Reviewed-by: Zoltan Gera <[email protected]>
Reviewed-by: Petri Virkkunen <[email protected]>
Reviewed-by: Juha Vuolle <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
That we have two macros to declare a C++ type to represent a Java class
is confusing. The TYPE macro as of now allows us to declare array types,
but with QJniArray we won't need that anymore, and can just use Class[]
as the type instead. Changing that will be a follow-up commit; for now,
get rid of TYPE-usages to declare regular classes.
Change-Id: I46956bfe1feb658f908a039eb1fb6f6bfde79799
Reviewed-by: Zoltan Gera <[email protected]>
Reviewed-by: Juha Vuolle <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
By adding it to the default build flags via .cmake.conf.
This amends commit 2c723b6af7ac6c359916dcd240b1f57057871321.
Task-number: QTBUG-116296
Change-Id: Ic485c2f4596f77f59928df960050421d2d08748f
Reviewed-by: Juha Vuolle <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This disables the 3-arg QObject::connect() overload:
QObject::connect(sender, signal, functor)
For details see:
https://lists.qt-project.org/pipermail/development/2023-July/044141.html
Change-Id: I9e068cacae63f4a5594d712c4fbff25e380da55c
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Juha Vuolle <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The autogenerated list of overviews was adding the \group command which
included all the groups instead of overviews.
The idea here is to categorize the overviews later on once we have
the list of all overviews.
Task-number: QTBUG-114762
Pick-to: 6.5 6.6
Change-Id: Iab8b6c00f38f0741e200756a178b901f1d195c4f
Reviewed-by: Leena Miettinen <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-115044
Pick-to: 6.5 6.6
Change-Id: Ib32136b1946c9f6cd9278599515d751eec4e1c79
Reviewed-by: Topi Reiniö <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The most common limit for the maximum number of allowed documentation
warnings is zero. As all Qt module docs include() a common configuration
from qtbase, it's better to control the base warninglimit from a central
location in qtbase/doc/global.
This allows for a temporary increase of the limit across all modules as
needed - for example, when updating the QDoc binary that the CI
provisions to a version that introduces new types of documentation
warnings.
Task-number: QTBUG-113326
Change-Id: I9a55264f38c56a3f95971dc43392128b9c95b413
Reviewed-by: Paul Wicking <[email protected]>
|
|
|
|
|
|
|
|
|
| |
qt_configure_add_report is an internal macro that is supposed to be
used implicitly. Use the qt_configure_add_report_entry instead.
Pick-to: 6.6 6.5 6.2
Change-Id: I32b427533e19a2dddf10de446a66908e93f0d187
Reviewed-by: Joerg Bornemann <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QDoc provides a "\raw" command that allows a user to inject
format-specific code that complements the code that QDoc generates.
The "\raw" command expect the user to provide a "format" argument to
ensure that the provided code is generated only for the format that is
written for.
Due to a bug in QDoc DocBook generation, the DocBook documentation was
generating, sometimes incorrectly, "\raw" commands intended for the HTML
format.
The Qt Sensors documentation uses the "\raw HTML" commands to
provide some custom-colored table.
Due to the aforementioned bug, QDoc was generating some equivalent code
for DocBook, albeit no user-provided DocBook equivalent existed.
As the bug is now being fixed, the DocBook documentation for Sensors
will lose the custom-colored table in its output.
To preserve the custom-colored table when generating the DocBook
documentation, an equivalent "\raw DocBook" command is now provided.
Change-Id: I249dec021719d1f7823e813b67e4de5ce93b49a6
Reviewed-by: Paul Wicking <[email protected]>
Reviewed-by: Topi Reiniö <[email protected]>
|
|
|
|
|
|
|
|
|
| |
Documentation for creating your own sensors
Task-number: QTBUG-111251
Change-Id: Ia747995cff99ba34a41ede4125a433fd7952b628
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Juha Vuolle <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The dummy plugin appears to have adverse effects on performance on
linux. It causes constant CPU usage in for example KDE's background
daemon, without having any use. The condition should be fixed to only
build when dummy was explicitly enabed.
Pick-to: 6.5 6.2
Fixes: QTBUG-113435
Change-Id: If10750fb08b1537b0108f09f23cff6af10c33c31
Reviewed-by: Lorn Potter <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
`dbusPath()` is defined in several places, and it seems to me that it
can be implemented as a private static data member. When resolved, we
can remove these files from the exclusion list.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: I1f4290fb8495ce1f1c941a46240b60c8fed4bbe4
Reviewed-by: Alexandru Croitor <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was colliding with a similarly named typedef in
`winrtrotationsensor.cpp` and it seems to me that the name should have
been GyrometerReadingHandler in the first place.
This was causing issue for unity build.
Pick-to: 6.5
Task-number: QTBUG-109394
Change-Id: I721740caaf994ccf5514cbdc93371a3443378270
Reviewed-by: Joerg Bornemann <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
This was previously illustrated by the sensor_explorer example, which
is now a manual test.
Task-number: QTBUG-110939
Pick-to: 6.5
Change-Id: Id5dceb8bdb5833ebb69818146d163200a93a52e0
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The example is useful as a sensor testing tool, but less necessary
as an example. The primary demonstrative element of the example was
how to iterate the available sensors, which is covered in a
documentation snippet (followup commit).
This commit also renames the pre-existing widget-based sensor_explorer
manual test to avoid name conflicts, as well as removes the qdoc and qmake
support from the now-a-manual-test application.
Task-number: QTBUG-110939
Pick-to: 6.5
Change-Id: I422f62f852d0a7e40a76f555ec8aa98404164f7a
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The primary purpose of the grue example is to demonstrate how to create
new sensors. However, while a nice implementation, it doesn't achieve
this purpose particularly well, and is all in all an overly complex
construct given the straightforward purpose (for instance causing build
and deployment challenges).
Instead it should be replaced with a tutorial-like step-by-step guide
on how to add new sensors. The item to track this: QTBUG-111251
Task-number: QTBUG-110939
Pick-to: 6.5
Change-Id: If353fd019483ad3d608f16d90820c09e676f1df1
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-106533
Change-Id: I1fa3e75b5be433184c9259935ffb843f21676e48
Reviewed-by: Alexandru Croitor <[email protected]>
Reviewed-by: Assam Boudjelthia <[email protected]>
|
|
|
|
|
|
|
|
| |
The table is written as raw HTML, which allows for this kind of
mistake.
Change-Id: I011009fb6eb3a03b979e9a2cb2db98e5e8ba297f
Reviewed-by: Paul Wicking <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deliberately omitted:
- QML interfacing code
- public APIs
- sensorfw, whose code is disabled/not practical to compile,
and whose future is uncertain
Fixes: QTBUG-107069
Change-Id: I84f0adf2f099da616ba6ff496fb84675bc845797
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Lorn Potter <[email protected]>
|
|
|
|
|
|
|
|
|
|
| |
As the preferred method. Potentially may be deprecated similar
to QString/QByteArray
Fixes: QTBUG-107068
Change-Id: I0cfc9d7f8e2e450849f1d22c5b98aa353748ecf6
Reviewed-by: Qt CI Bot <[email protected]>
Reviewed-by: Lorn Potter <[email protected]>
|