139 Commits

Author SHA1 Message Date
Igor Sirotin
861103baee
feat: installMessageHandler (#58) 2024-07-18 21:23:10 +01:00
Ivan Belyakov
ef8b329518 fix: float is handled as double for QVariant and QMetatype, float32 is float 2024-04-12 11:23:34 +02:00
Alex Jbanca
acf83a023d
feat: Add restartApp support 2024-02-05 00:02:07 +02:00
Stefan
df74bf1e65 feat(WebView) expose QT API - WebView::initialize() 2023-10-12 21:50:39 +03:00
Lukáš Tinkl
90f19ac030 feat: allow passing empty or no roles to dataChanged
which follows the C++ semantics meaning _all_ roles

Related: https://github.com/status-im/status-desktop/issues/11830
2023-09-08 13:02:47 +02:00
Igor Sirotin
3f61ec4add
fix: drop showAppEvent (#53) 2023-08-02 11:33:14 +03:00
Patryk Osmaczko
ab78548aa3 Revert "fix: replace dos_qobject_delete with dos_qobject_deleteLater"
This reverts commit dd5cfe2fae4199c0cdb15d4c761ddde69efb1b7b.

see: https://github.com/status-im/nimqml/pull/51#pullrequestreview-1500143068
2023-06-27 09:49:01 +02:00
Alex Jbanca
2fda7de6c5
fix(qobject): Crash on signal emit with null vptr
When the QObject is deleted with dos_qobject_deleteLater the QObject slots will remain active until the event loop finished processing the events. It can trigger another emit, but this time the vptr will be null.
2023-06-27 00:42:49 +03:00
Patryk Osmaczko
dd5cfe2fae fix: replace dos_qobject_delete with dos_qobject_deleteLater
Previously, the code used `dos_qobject_delete`, which could potentially
cause problems if the object was still in use, especially if there were
pending events for the object in the event queue. This could lead to
unexpected crashes.

Also, `dos_qobject_delete` disconnects just before the QObject is
deleted, leading to clients not being notified about deletion.

`dos_qobject_deleteLater` ensures that the QObject is not deleted until
all its pending events are processed and also ensures that all clients
are notified about its deletion.
2023-06-23 17:42:32 +02:00
Lukáš Tinkl
75cb0ace7f feat: expose QAIM begin/endMoveRows
Needed for https://github.com/status-im/status-desktop/pull/9792
2023-03-16 16:08:01 +01:00
Alex Jbanca
bf7c4f0c51
chore(nimqml): Add threaded renderer support 2023-03-06 15:51:29 +02:00
Alex Jbanca
3b5fa7daa5
perf(qabstractlistmodel): Fix memory leak
The qabstractlistmodel never takes ownership of c++ QObject.
The owner bool variable is defined on nim qobject and is used to mark qml ownership on objects.
2023-02-27 10:30:42 +02:00
Alex Jbanca
bb4103cd4c
fix(nimqml): Fixing memory leak on qmodelindex and char* 2023-02-23 18:55:21 +02:00
Filippo Cucchetto
223147cedc Fixed wrong setFloat declaration that used float instead of cfloat #42 2023-01-04 13:24:04 -03:00
mprakhov
743674eff1 chore(@desktop/general): expose new QSettings functions to nim 2022-12-30 12:49:43 +02:00
Michal Iskierko
c428cf4397 chore(@desktop): Expose QTimer functions 2022-11-28 09:31:17 +01:00
Michal Iskierko
99435c9b2e feature(desktop/general): Expose showing icon badge notification functions
Issue #4922
2022-05-26 11:32:21 +02:00
Sale Djenic
e66ac18ff5 feat: url scheme event added 2022-05-13 11:13:51 +02:00
Sale Djenic
7baaeee7b9 feat: get text from the clipboard 2022-03-30 18:29:38 +02:00
Khushboo Mehta
f27cf5b19d feat: Add support for downloading and copying an image by url 2022-03-29 00:14:57 +02:00
Richard Ramos
eb20a5ffb9 feat: installSelfSignedCertificate 2022-02-21 17:01:23 -04:00
Sale Djenic
fec518e629 feat: functions to check if the app is active and make the app active are added 2022-02-21 18:08:26 +01:00
Sale Djenic
8d199aa829 feat: sound manager added 2022-02-10 18:07:10 +01:00
Andrei Smirnov
c60406b288 QGuiApplication to not mess with QCoreApplication and QApplication 2021-09-20 11:24:52 -04:00
Sale Djenic
4351b9a61f feat(@desktop/general): Keychain manager added
Exposed methods of KeychainManager class added to `dotherside`

This change is required as part of the feature issue-2675
2021-09-17 18:19:26 +02:00
Sale Djenic
00ee27ca52 feat(@desktop/general): QSettings class exposed to nim 2021-09-17 17:29:27 +02:00
Sale Djenic
fb44e71c57 refactor(@desktop/general): status custom events and os notification renamed type and methods
These changes are needed because of changes applied in `dotherside`.
2021-09-17 17:26:24 +02:00
Michael Bradley, Jr
e8dcf0a7e2 feat: export from local file 2021-09-16 13:45:33 -05:00
Anthony Laibe
a431a8bb75 feat: export to local file 2021-09-16 13:45:33 -05:00
Andrei Smirnov
42b3b1af5b Passing custom events over single instance IPC 2021-09-10 11:55:20 +03:00
Iuri Matias
f2f8f3a9e9
Merge pull request #29 from status-im/fix/issue-2996
fix(@desktop/general): clicking push notification does expand the app but does not open correct channel/chat
2021-09-06 15:08:56 -04:00
Andrei Smirnov
eabd2456a5 Added scale factor support. 2021-09-02 09:24:43 +03:00
Sale Djenic
b4a4642340 fix(@desktop/general): clicking push notification does expand the app but does not open correct channel/chat
An interface for using methods of the StatusOSNotification class added
in the `dotherside` project.

This is corresponding nimqml part of the issue 2996.

Fixes: #2996
2021-08-23 09:55:12 +02:00
Khushboo Mehta
03c8072f89 feat: Adding support for copying and downloading an Image 2021-08-19 11:06:41 +02:00
Sale Djenic
dbabf0b297 fix(@desktop/general): Changing System Appearance on the fly is not working
This is corresponding nimqml part of the issue 1725.

Fixes: #1725
2021-08-12 13:45:23 +02:00
Iuri Matias
753187bae1
Merge pull request #23 from status-im/feat/single-instance
feat: SingleInstance API
2021-08-05 15:47:15 -04:00
Richard Ramos
53d89149f3
feat: add parameter to make the translation dynamic or not 2021-07-28 13:36:55 -04:00
Iuri Matias
8ca765ca11
Merge pull request #22 from status-im/fix/log
chore: remove log
2021-07-23 14:29:06 -04:00
Andrei Smirnov
cbf7c56462 feat: single instance 2021-07-21 20:26:19 +03:00
Jonathan Rainville
379069b556 chore: remove log 2021-07-20 13:42:25 -04:00
Andrei Smirnov
9b0a477b3b Removed cmdline args passing to Qt 2021-07-20 07:11:07 +03:00
Andrei Smirnov
6a5f0ef32e feat: QGuiApplication supporting icon() and installEventFilter() methods as well as passing argc, argv 2021-07-19 12:20:35 +03:00
Iuri Matias
65fa68c244
Merge pull request #20 from status-im/feat/add-dockclicker-event-filter
feat: add DockClicker event filter
2021-05-04 15:45:02 -04:00
Eric Mastro
bf48b9114a
feat: add DockClicker event filter
Add an event filter to `qApp` that can detect a dock icon click (in macos) when the main window is hidden or closed.
2021-05-04 18:25:49 +10:00
Jacek Sieka
9a65a1847e
64-bit + unsigned integer support 2021-02-09 12:28:28 +01:00
emizzle
6776fed33f feat: add QNetworkAccessManager and clearConnectionCache
feat: change QNetworkAccessManager to DosQObject
2021-01-19 13:11:23 +11:00
Richard Ramos
b1ba8cba3c
fix: pointer 2020-11-25 16:39:31 -04:00
Richard Ramos
543ec079c4
Expose network access manager functions 2020-11-23 10:22:59 -04:00
Richard Ramos
aa6a4196db fix: change param order 2020-10-21 08:47:20 -04:00
Richard Ramos
a5d1159292 feat: get hostname, and modify url 2020-10-21 08:47:20 -04:00