Re: [SailfishDevel] Next meeting on SailfishOS, open source, collaboration: 7-January 2015 @ 15:00 UTC

2015-01-08 Thread Sander van Grieken
Regarding SIP integration, I'm very interested in that.

I can test and possibly also contribute with development, but time is a bit 
limited.

Also I can provide SIP accounts on a kamailio server I'm running.

Regards,
Sander van Grieken

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] OpenSSL AES CTR 128 help needed

2015-03-01 Thread Sander van Grieken
On Monday 23 February 2015 22:00:09 Andrey Kozhevnikov wrote:
 Hello Sailors!
 
 I need help in debugging issue in my simple test project: 
 https://github.com/CODeRUS/aes-test
 In any platform/device it gives at least one failure during iterations. 
 I googled and tried everything and have no ideas anymore.
 Any help/ideas/suggestions are appreciated.
 
 Best regards,
 Andrey Kozhevnikov

QByteArray out(ciphertext.size(), '\0');

This looks like a possible off-by-one bug, it might on occasion not have a 
trailing \0, when the plaintext is exactly of length ciphertext

grtz,
Sander

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] OpenSSL AES CTR 128 help needed

2015-03-01 Thread Sander van Grieken
On Sunday 01 March 2015 11:31:57 Sander van Grieken wrote:
 On Monday 23 February 2015 22:00:09 Andrey Kozhevnikov wrote:
  Hello Sailors!
  
  I need help in debugging issue in my simple test project: 
  https://github.com/CODeRUS/aes-test
  In any platform/device it gives at least one failure during iterations. 
  I googled and tried everything and have no ideas anymore.
  Any help/ideas/suggestions are appreciated.
  
  Best regards,
  Andrey Kozhevnikov
 
 QByteArray out(ciphertext.size(), '\0');
 
 This looks like a possible off-by-one bug, it might on occasion not have a 
 trailing \0, when the plaintext is exactly of length ciphertext
 
 grtz,
 Sander

Hmm it's not that.. Strange how the failed index number is different when 
additional unrelated code is added. 

When I replace
unsigned char ecount[AES_BLOCK_SIZE];
memset(ecount, 0, AES_BLOCK_SIZE);
with
QByteArray ecount(AES_BLOCK_SIZE, '\0');

and change the parameter in the openssl function to 
(unsigned char*)ecount.data()
it works correctly though..

It looks like something goes wrong when passing the locally scoped char array 
ptr.. (?)

grtz,
Sander



___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] Increase buildspeed of the Application SDK

2017-12-23 Thread Sander van Grieken
On woensdag 20 december 2017 04:38:02 CET Dylan Van Assche via Devel wrote:
> Hi,
> 
> Is it possible to increase the build speed of C++ apps in the Application SDK?
> I can asign more CPUs and RAM in the VM manager but it seems that the 
> Application SDK builds applications with the -j1 MAKE flag (max 1 job).

In QtCreator you can specify make arguments (e.g. '-j 4') in the Build Steps of 
the project's Build & Run config.

grtz,
Sander


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Linux desktop software on Sailfish?

2018-03-07 Thread Sander van Grieken
On dinsdag 6 maart 2018 23:46:13 CET Dietmar Schwertberger wrote:
> On 3/6/2018 11:28 PM, tuntematon wrote:
> > Wasn't Maemo GTK based? Qt came with Harmattan/Meego.
> 
> I'm using Python. On Maemo the Python Qt bindings 'PySide' were
> perfectly usable with a native look and feel.
> On Sailfish, I'm using PyQt, but the 'traditional' Qt widgets look like
> on Windows, i.e. with a very non-native look and feel.
> 
> It's not that Sailfish comes with Qt. Effectively it's more that Qt
> comes with Sailfish and there are no other GUI options.

Sailfish doesn't use Qt Widgets, but instead QtQuick QML. Those are completely 
different component sets. You see the same difference in KDE for example, they 
are reïmplementing the existing Qt Widgets in a new QML component library as 
well (Kirigami I believe it's called)

grtz,
Sander




___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] where to define datadir etc.

2018-10-08 Thread Sander van Grieken
On maandag 8 oktober 2018 09:16:38 CEST mariusz sapinski wrote:
> Hi,
> 
> I'm not a regular Sailfish developer, so forgive  me if I'm asking an
> easy question. I have a small program which I used to modify and compile
> from time to time. I belive that since version 2.2.1 I get this kind of
> errors:
> 
> 
> Error on file "/home/deploy/installroot/usr/share/applications/*.desktop":
> No such file or directory
> 
> 
> I do not have /home/deploy directory.
> 
> The error come from these lines in yaml file:
> 
> 
> # All installed files
> Files:
> - '%{_bindir}'
> - '%{_datadir}/%{name}'
> - '%{_datadir}/applications/%{name}.desktop'
> - '%{_datadir}/icons/hicolor/*/apps/%{name}.png'
> 
> 
> I cannot find where bindir and datadir are defined. And in fact how exactly
> they should be defined?

You'll have to provide a a .desktop file for your application in the root of 
your project, using the name of your project (as defined by the TARGET variable 
in the .pro file, e.g. myproject.desktop)

The /home/deploy/installroot path is used within the SDK VM as a base path for 
all files that will become part of your package. So /home/deploy/installroot/
usr/share/applications will end up as /usr/share/applications on the phone.

grtz,
Sander


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] ListView , Image with large height and EGL errors

2019-06-01 Thread Sander van Grieken
ListView probably doesn't split its surface into multiple textures if the 
texture size is exceeded. 
A computer probably has a larger texture size, but you'll probably run into the 
same issue on even
larger images.

grtz,
Sander


On vrijdag 31 mei 2019 01:57:52 CEST AL13N wrote:
> I have a ListView with an ListItem delegate and an Image in it;
> 
> when i have 2 images with a large height on it next to each other, after 
> scrolling to it, i get an EGL Texture error .
> 
> doing this on a computer does not show this error.
> 
> if you do a ListView with a ListItem and it has those 3 Image and they 
> are anchored, then scrolling through them is not a problem at all.
> 
> I suspect it has something to do with how the ListView is instantiating 
> the image, maybe parallel initialization or something?
> 
> anyone have an idea for a workaround?
> 
> AL13N
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Close app in background with visible overlay

2019-12-03 Thread Sander van Grieken
You're creating a view and assigning it to m_overlayView twice.

Grtz,
Sander


On maandag 2 december 2019 23:27:40 CET Thomas Eigel wrote:
> Hi all,
>  
> I have a quite special question: When my app (schwarzenmaker) runs in the 
> background, an overlay is visible to show some kind of progress. If the app 
> is closed from home screen the program keeps up running (cover disappears but 
> 'ps aux' still showing the process and overlay still visible). Closing works 
> as expected when the overlay is hidden beforehand.
>  
> I tried listening to different signals but to no avail:
>  
>   - quit, aboutToQuit: Don't seem to be emitted since the program is not 
> quitting until the overlay is hidden.
>   - onStatusChanged: Is emitted when app is moved to background 
> (Qt.ApplicationInactive) but no new signal when app is "closed".
>  
> The code to create the overlay (which I don't fully understand) can be 
> sketched as follows:
>  
> m_overlayView = SailfishApp::createView();
> m_overlayView->setSource(SailfishApp::pathTo("qml/components/overlay.qml"));
> m_overlayView->create();
> QPlatformNativeInterface *native = QGuiApplication::platformNativeInterface();
> native->setWindowProperty(m_overlayView->handle(), QLatin1String("CATEGORY"), 
> "notification");
> native->setWindowProperty(m_overlayView->handle(), 
> QLatin1String("MOUSE_REGION"), QRegion(0, 0, 0, 0));
> m_overlayView = SailfishApp::createView();
>  
> Maybe closing fails because another "window" is created. So my question is: 
> Does anybody know how to detect the attempted closing of the app?
>  
> Cheers,
> Thomas


___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Minutes] Sailfish OS, OSS Community Collab Meeting on June 11th 2020

2020-06-12 Thread Sander van Grieken
Could you update the outdated links and people in the TJC page you provided the 
link to?
People might think Jolla doesn't care about the community process even before 
reading the minutes!

On vrijdag 12 juni 2020 09:04:39 CEST James Noori wrote:


Hi all, 


Apologies for the late "minutes" email. But nevertheless, here they come: 


Minutes: 
https://irclogs.sailfishos.org/meetings/sailfishos-meeting/2020/sailfishos-meeting.2020-06-11-08.00.log.html[1]
 Minutes (text): 
https://irclogs.sailfishos.org/meetings/sailfishos-meeting/2020/sailfishos-meeting.2020-06-11-08.00.log.txt[2]
 Log: 
https://irclogs.sailfishos.org/meetings/sailfishos-meeting/2020/sailfishos-meeting.2020-06-11-08.00.txt[3]
 
Next meeting will be held on June 25th 2020, at 08:00 UTC 


Please announce your topics over here: 
https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/[4]
 
Cheers,James


 




[1] 
https://irclogs.sailfishos.org/meetings/sailfishos-meeting/2020/sailfishos-meeting.2020-05-28-08.00.html
[2] 
https://irclogs.sailfishos.org/meetings/sailfishos-meeting/2020/sailfishos-meeting.2020-05-28-08.00.txt
[3] 
https://irclogs.sailfishos.org/meetings/sailfishos-meeting/2020/sailfishos-meeting.2020-05-28-08.00.log.html
[4] 
https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org