Commit Graph

210 Commits

Author SHA1 Message Date
Igor Sirotin 861103baee
feat: installMessageHandler (#58) 2024-07-18 21:23:10 +01:00
IvanBelyakoff 20d4db12bb
Merge pull request #57 from status-im/feat/add_float64_metatype
feat: add support for float64 as QMetatype
2024-04-12 11:33:13 +02: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 13a8890db4
Merge pull request #56 from status-im/feat/add-restartApp-support
feat: Add restartApp support
2024-02-09 11:31:30 +02:00
Alex Jbanca acf83a023d
feat: Add restartApp support 2024-02-05 00:02:07 +02:00
Stefan Dunca 2d733c5ec6
Merge pull request #55 from status-im/expose_webview_initialize-12301
Expose QT API - WebView::initialize()
2023-10-30 12:12:37 +01: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 dd5cfe2fae.

see: https://github.com/status-im/nimqml/pull/51#pullrequestreview-1500143068
2023-06-27 09:49:01 +02:00
Alex Jbanca 06a6c70404
Merge pull request #51 from status-im/fix/crash-on-emit-with-null
fix(qobject): Crash on signal emit with null vptr
2023-06-27 10:46:10 +03: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 e8d27eee27
Merge pull request #48 from status-im/fix/add-threader-renderer-support
Fix/add threaded renderer support
2023-03-06 16:19:08 +02:00
Alex Jbanca bf7c4f0c51
chore(nimqml): Add threaded renderer support 2023-03-06 15:51:29 +02:00
Alex Jbanca 3769de5030
Merge pull request #47 from status-im/fix/memory-leak-qabstractlistmodel
perf(qabstractlistmodel): Fix memory leak
2023-02-27 18:34:25 +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 3625347921
Merge pull request #46 from status-im/fix/memory-leak
fix(nimqml): Fixing memory leak - qmodelindex and char*
2023-02-24 12:46:35 +02:00
Alex Jbanca bb4103cd4c
fix(nimqml): Fixing memory leak on qmodelindex and char* 2023-02-23 18:55:21 +02:00
dlipicar 1dc7e8097c
Merge pull request #45 from status-im/bug-cannot-expose-float-QtProperty
Fixed wrong setFloat declaration that used float instead of cfloat #42
2023-01-04 13:52:16 -03: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
Michał Iskierko 0931c98089
Merge pull request #42 from status-im/4922-indicate-notifications-on-the-taskbar
feature(desktop/general): Expose showing icon badge notification functions
2022-05-26 14:14:02 +02: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-dev-cpp d1b79f8a4c
Merge pull request #40 from status-im/feat/DownloadCopyImageByUrl
feat: Add support for downloading and copying an image by url
2022-03-29 22:48:01 +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
saledjenic fea98f226c
Merge pull request #37 from status-im/feat/sound-manager
feat: sound manager added
2022-02-21 21:27:07 +01: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
Iuri Matias d3fdb6eed2
Merge pull request #35 from status-im/fix/qguiapplication
QGuiApplication to not mess with QCoreApplication and QApplication
2021-09-20 11:35:25 -04:00
Andrei Smirnov c60406b288 QGuiApplication to not mess with QCoreApplication and QApplication 2021-09-20 11:24:52 -04:00
Iuri Matias b5ed94dfb4
Merge pull request #30 from status-im/feature/issue-2675
feat(@desktop/general): Keychain manager added
2021-09-17 12:46:49 -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
Iuri Matias ca381eb8a2
Merge pull request #34 from status-im/feat/download-messages
feat: expose to local file
2021-09-16 16:31:39 -04: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
Iuri Matias b67014a56a
Merge pull request #32 from status-im/feat/single-instance-deep-links
Passing custom events over single instance IPC
2021-09-15 14:24:50 -04: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
Iuri Matias 536401f0c1
Merge pull request #31 from status-im/feat/scale-factor
Added scale factor support.
2021-09-02 15:50:31 -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
Iuri Matias 936a4fa8ab
Merge pull request #26 from status-im/feat/copy_download
feat: Adding support for copying and downloading an Image
2021-08-19 10:00:48 -04:00