Re: [SailfishDevel] SQLite: ON DELETE CASCADE with Foreign Keys not working

2016-08-24 Thread David Greaves
Did you try? I combined both the PRAGMA foreign_keys = ON; and PRAGMA foreign_keys; into one transaction. David On 24/08/16 14:56, TE wrote: Sorry for being ambiguous. It returns: {"foreign_keys":0} On 24.08.2016 15:53, David Greaves wrote: What does function queryForeignK

Re: [SailfishDevel] SQLite: ON DELETE CASCADE with Foreign Keys not working

2016-08-24 Thread David Greaves
What does function queryForeignKeysEnabled() { instance().transaction(function(tx) { var rs = tx.executeSql("PRAGMA foreign_keys = ON; PRAGMA foreign_keys;"); console.log(JSON.stringify(rs.rows.item(0))) }); } return? David On 24/08/16 13:45, TE wrote: Hello

Re: [SailfishDevel] Update 2.0.1.3 and ssh

2015-10-28 Thread David Greaves
Login to the device as root and: cp /etc/ssh/sshd_config /etc/ssh/sshd_config.safe cat <> /etc/ssh/sshd_config # Added this line to enable SDK to connect Ciphers +aes128-cbc EOF systemctl restart sshd.service *** Don't forget to fix it when the

Re: [SailfishDevel] New documentation on sailfishos.org

2015-06-04 Thread David Greaves
Yep - feel free to use the Mer wiki - it is available for all communities based on Mer. David On 04/06/15 17:41, Andrey Kozhevnikov wrote: In this case jolla should create some community wiki, or at least merproject wiki can be used for this. 04.06.2015 21:24, François K. пишет: Hi !

Re: [SailfishDevel] Neo900 support

2015-04-09 Thread David Greaves
Or you could buy, you know, a Jolla phone *today* and https://www.kickstarter.com/projects/2028347278/tohkbd-the-other-half-keyboard-for-your-jolla because there's no point in Jolla being as open as possible and then users not supporting the community that develops awesome things like that

[SailfishDevel] Mer (and Sailfish and anyone else using Mer) meetup/dinner at FOSDEM

2015-01-21 Thread David Greaves
Hi all We're planning a dinner at FOSDEM on the saturday night and I'd like to get some numbers for the reservation. The meals aren't cheap so I've asked for a €30/€40/€50 menu options at http://www.restaurantvincent.com I'll post more info as it arrives (like the menu choices - it's a

Re: [SailfishDevel] How does the mer build engine compile for armv7hl?

2015-01-10 Thread David Greaves
On 10/01/15 11:13, Dirk Zimmermann wrote: On 10.01.2015 11:15, jerome levreau wrote: for all project, click the project tab and add a kit, that all. Than select target from the build button (bottom left) to be able to deploy you have to add a device from tool-options-mobile ; dev mod must be

Re: [SailfishDevel] [Minutes] SailfishOS community meeting 10.6 + planning for next one 17.6

2014-06-16 Thread David Greaves
Also were there any action points that needed reporting/following up? David On 16/06/14 09:32, Andrea Bernabei wrote: I just added two topics...is there still a chance of having the meeting by tomorrow? :) 2014-06-16 10:21 GMT+02:00 Carol Chen carol.c...@jolla.com

Re: [SailfishDevel] Acceptable Behaviour Guidelines - you decide

2014-05-27 Thread David Greaves
but no matter what tool we use we will have to go back to the main question). Just to try to steer the boat back on the original journey this the question that David was asking at the beginning: On 22/05/14 17:18, David Greaves wrote: We need to be careful about over-policing discussions

[SailfishDevel] Acceptable Behaviour Guidelines - you decide

2014-05-22 Thread David Greaves
There's been enough noise on this mailing list recently that some people have felt they don't want to participate. We need to be careful about over-policing discussions but there is such a thing as under-policing too. How would we (community, not Jolla) determine the line? and what measures do

Re: [SailfishDevel] Proposal to skip 29th Apr meeting? Re: Next weekly meeting on 29-Apr: SailfishOS, open source, collaboration and way forward

2014-04-28 Thread David Greaves
+1 - I'm travelling and won't be able to attend On 28/04/14 10:03, Carol Chen wrote: +1 for Carsten's proposal Mon Apr 28 2014 11:55:34 GMT+0300 (EEST) Carsten Munk 寫了: On 22/04/14 19:19, Carol Chen wrote: Hi again! Now let's nail down some specifics for the next meeting. We need at least

Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future

2014-04-14 Thread David Greaves
On 14/04/14 14:49, Chris Walker wrote: On Mon, 14 Apr 2014 14:26:58 +0100 Chris Walker cdw_noki...@the-walker-household.co.uk wrote: Can somebody help me with this one please? I've just rebuilt my machine and have reinstalled QtCreator etc. I never had this problem before so I'm guessing

Re: [SailfishDevel] Where is the source code for the Sailfish OS version of fingerterm (and other GPL applications)

2014-04-12 Thread David Greaves
On 12/04/14 14:31, me...@tickmeet.com wrote: Hi, I'd like to make a few tweaks to fingerterm for my Jolla. So I went to get the source code but can't seem to find it anywhere. I've found the Nemo mobile project version (https://github.com/nemomobile/fingerterm). But that uses Meego

Re: [SailfishDevel] ShaderEffect QML element

2014-04-10 Thread David Greaves
caveat: I'm pretty new to GLSL For me: vec2(-0.75, -0.5) is fine. Note that integers like: vec2(-0.75, 1) fail. I will be putting the glsl validation and optimiser tool into mer-tools 'soon'. (Sooner now I know other people are playing with it) David On 10/04/14 12:50, Luca Donaggio

Re: [SailfishDevel] Adding tinc to mer-tools

2014-04-03 Thread David Greaves
On 02/04/14 20:45, Graham Cobb wrote: I have now got a tinc package which handles systemd (systemctl can be used to start and stop tincd using a service called tinc@netname.service, where netname is the network name to be used by tinc). I have not done anything about connman. I have looked

Re: [SailfishDevel] Adding tinc to mer-tools

2014-03-30 Thread David Greaves
On 30/03/14 08:05, Thomas B. Rücker wrote: On 03/29/2014 11:44 PM, Graham Cobb wrote: I have taken the tinc rpm source from CentOS (tinc-1.0.23-1.el5.src.rpm) and rebuilt it on my jolla phone (using rpmbuild --rebuild). It seems to work fine. That's nice. I guess it's CLI only and you'll

Re: [SailfishDevel] how can I translate the application name

2014-02-19 Thread David Greaves
Apps have 2 names: * harbour name * pretty name The harbour name is the internal name used for things like filesystem locations and packages. It should not be translated. The pretty name is used for presentation and can be translated like any other string. I'm english so I'm awful at translation

Re: [SailfishDevel] How to get the screen capture but don't block UI

2014-02-12 Thread David Greaves
Correct David On 12/02/14 06:46, Andrey Kozhevnikov wrote: using Qt DBus classes and not use system() call? On 12.02.2014 12:08, itviewer wrote: Dear all, I need the screen capture function in my application . There are two applications (screenshot and opensource sailshotme) in the

Re: [SailfishDevel] When does Jolla give us an API?

2014-02-09 Thread David Greaves
On 09/02/14 11:28, Putze Sven wrote: Hi, On 03.02.2014, at 16:58, David Greaves david.grea...@jolla.com wrote: On 03/02/14 15:29, Putze Sven wrote: What does a developer need to write quality apps? An API and a documentation of such. So far there is a quite limited API available

Re: [SailfishDevel] Sideload Native App To Sailfish

2014-02-06 Thread David Greaves
It may also be worth talking to the community. I'm sure there would be people willing to help with shipping like this - possibly in Finland too. I know I've done that for friends in Europe for other devices in the past because UK companies wouldn't ship there. David On 06/02/14 11:23, joao

Re: [SailfishDevel] FOSDEM Community follow-up - open source app community

2014-02-05 Thread David Greaves
On 04/02/14 07:40, Thomas B. Rücker wrote: My question has been lingering for a while. ( https://together.jolla.com/question/13605/visible-open-source-app-community-supported-by-jolla/ ) But during FOSDEM we had a Sailfish/Jolla Community Round-Table (

Re: [SailfishDevel] Qt Creator Code AutoCompletion in QML for C++ declarative plugins

2014-01-26 Thread David Greaves
On 26/01/14 16:23, christopher.l...@thurweb.ch wrote: Hi All My app exposes chunks of functionality to the QML side from C++ declarative plugins. On the QML side QtCreator gives me automatic code completion for elements exposed from such plugins, suggesting property and method names.

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-23 Thread David Greaves
On 23/01/14 09:28, Wim de Vries wrote: On 01/22/2014 05:34 PM, David Greaves wrote: Fantastic - I just verified that it works here too. How are you getting the GL into the QML scene? From one of the GL examples (Squircle in c++): glViewport() determining the position (not yet QML) in Page

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread David Greaves
On 22/01/14 08:37, Wim de Vries wrote: Hi, Some time ago Thomas Perl was so kind to supply us with an example 'OpenGL Over QML'. It uses the afterRendering() signal. I am trying to use the beforeRendering() signal (including setClearBeforeRendering(false)), but I get no OpenGL output. It

Re: [SailfishDevel] OpenGL Under Selica QML

2014-01-22 Thread David Greaves
: Thanks, I'll stick to standard QML then. r wim David Greaves schreef op 2014-01-22 12:04: On 22/01/14 10:59, David Greaves wrote: The other option is to render to an FBO and then assign that to a QML item http://qt-project.org/doc/qt-5/qtquick-visualcanvas-scenegraph.html#mixing-scene-graph

Re: [SailfishDevel] Scriptlets in RPM hot allowed to Harbour

2014-01-12 Thread David Greaves
All run as user: (Aside: the chum repository is something I'm doing with my community hat on, not my Jolla one. It's intended to be run ***and QA'ed*** by the community. More on this 'soon') On 11/01/14 21:45, Semuonov Basil wrote: I guess, that I am the person who started this story about

Re: [SailfishDevel] No inbox? - SMS

2014-01-10 Thread David Greaves
On 10/01/14 12:52, Chris Walker wrote: On Fri, 10 Jan 2014 11:51:27 +0100 Markus Svensson markus.svens...@me.com wrote: Ah - tap-and-pan, never tried that particular gesture :) But it does work - thanks for pointing it out. A definite +1 for that. I looked at an iPhone recently and to

Re: [SailfishDevel] Putting data with QML on first screen after power on ?

2014-01-08 Thread David Greaves
It's swipe - and yes there's material that uses the original push still. David On 08/01/14 01:31, Timur Kristóf wrote: Hey, I recall that a while ago you called swipe as push - I'm pretty sure the word push is used repeatedly in many videos too. So which one is the correct term? snip

Re: [SailfishDevel] Qt Creator Yaml file editor loses new entries

2014-01-08 Thread David Greaves
The original intention was to offer a range of functionality to suite different skill levels. Essentially the Qt way is to use the .pro files to specify things like myapp.files/myapp.path and INSTALLS += myapp. That should drive the Files: section of the yaml. To avoid making experience Qt devs

Re: [SailfishDevel] Putting data with QML on first screen after power on ?

2014-01-07 Thread David Greaves
On 07/01/14 11:46, Matthias Barmeier wrote: Hi, is it possible to add notification, calendar entries or something else on the first screen with QML ? Does an official name for all the screens exists ? There is the screen after the device is double tapped or the power button is pressed,

Re: [SailfishDevel] Putting data with QML on first screen after power on ?

2014-01-07 Thread David Greaves
I'm sorry to say that some of the terminology in that documentation is a little out-of-date. The page you point at is correct but, eg, the gestures are not (I was part of the user guide team so I know that uses the latest agreed terminology). One key thing on gestures is we now use 'swipe' and

Re: [SailfishDevel] Deploy as RPM Package vs Deploy By Building As RPM Package

2014-01-06 Thread David Greaves
On 06/01/14 16:21, christopher.l...@thurweb.ch wrote: Hi All In QtCreator for the Sailfish i486-x86 Target I have two options Deploy as Binaries and Deploy as RPM Package For the Sailfish Arm target there is a third option Deploy by Building an RPM Package What is the

Re: [SailfishDevel] Is pragmatically taking a screenshot possible?

2014-01-05 Thread David Greaves
It certainly does; there are 2 screenshot apps in the Harbour - check in 'utils' section David (Author of 'screenshot' ... with an update in QA right now) On 06/01/14 00:48, James Mugford wrote: Great, this sounds hopeful. Do you know if there are there any permission issues surrounding

Re: [SailfishDevel] Check for OS in .PRO file

2014-01-04 Thread David Greaves
Just for the record this will fail to build on the Community OBS or even in a Mer Platform SDK using a SailfishOS target. Thomas and Timur's suggestions would work. David On 04/01/14 10:42, Putze Sven wrote: Hi, I should read my mails more often 8) Just figured out win32|macx{

Re: [SailfishDevel] Impossible to SSH since update

2013-12-30 Thread David Greaves
On 30/12/13 14:02, Vincent B. wrote: Since I upgraded to the last update, I can't ssh the device (no USB interface created under Linux) anymore. Does anyone else has this problem ? Do you pick developer mode when you plugin the usb? Does dmesg or similar show an rndis_host? FWIW I always ssh

Re: [SailfishDevel] Fwd: Re: Impossible to SSH since update: SSH via Wifi

2013-12-30 Thread David Greaves
You need to ensure your device has a working Jolla Account (ie Store opens and shows apps). 1.0.0.5 has a bug where trying to use developer updates messes up the update system. https://together.jolla.com/question/6055/what-are-developer-updates/ Having 2 Chris-es in the thread is a touch

Re: [SailfishDevel] Developer mode: SSH config and devel-su

2013-12-28 Thread David Greaves
On 28/12/13 11:20, Graham Cobb wrote: I would like to make a few changes to the login/auth setup for developer mode on my phone, to make it more similar to the other embedded devices I hack on. Does anyone see any problem with doing the following: 1) Put an authorized key in

Re: [SailfishDevel] together.jolla.com

2013-12-26 Thread David Greaves
On 26/12/13 00:23, AL13N wrote: ... is open! Go there and contribute with ideas :) awesome idea... hadn't thought of that. some things: 1. bad search (results in too much duplicates) 2. wiki post is a bit useless A) either remove wiki post B) or ability to make a real wiki post

Re: [SailfishDevel] The Other Half I2C

2013-12-23 Thread David Greaves
From some (soon-to-be-released) docs by Kalle Jokiniemi # Enable VDD echo 1 /sys/devices/platform/reg-userspace-consumer.0/state # Disable VDD echo 0 /sys/devices/platform/reg-userspace-consumer.0/state David On 23/12/13 14:49, Kimmo Lindholm wrote: Anchors aweigh! Just hooked up scope

Re: [SailfishDevel] Where does my locally installed app go?

2013-12-22 Thread David Greaves
On 22/12/13 13:43, Wim de Vries wrote: Hi, On Jolla phone. I did a local install (pkcon install-local checklists-1.0.1-1.i586.rpm). No errors. But I cannot find any trace of app anywhere. Any rpm installs to standard locations qpm -ql checklists will tell you more David

Re: [SailfishDevel] QtContacts available

2013-12-22 Thread David Greaves
Yes - all reasonably accurate. But then there's the SDK control centre: * Open Control Centre in SDK (the SailfishOS button on the left - don't ask why) * Go to Targets * Click manage by SailfishOS-armv7hl or SailfishOS-i486-x86 * type contact into the search box (no return) * hmm, too many, add

Re: [SailfishDevel] Calling QML function from C++ class

2013-12-21 Thread David Greaves
Or: http://qt-project.org/doc/qt-5.0/qtqml/qtqml-cppintegration-interactqmlfromcpp.html On 21/12/13 10:42, Gabriel Boehme wrote: Here is a Link in addition. It's from Qt4.8 Doc but still valid and a way to go. :) http://qt-project.org/doc/qt-4.8/qtbinding.html Am Samstag, den 21.12.2013,

Re: [SailfishDevel] Is there any way to report a bug?

2013-12-18 Thread David Greaves
Summary: In the Clock application, saved alarms display as set to one hour later than the time they were set to Steps to reproduce: 1. Open the Clock application and select New alarm 2. Set an alarm for any time (for example, 7:30 am) 3. Tap the alarm time to save Outcome: on the

Re: [SailfishDevel] working on apps?

2013-12-15 Thread David Greaves
On 15/12/13 17:41, AL13N wrote: Currency Converter: https://github.com/tanghus/currency-converter-qml Kitchen Timer: https://github.com/tanghus/kitchen-timer-qml The capcha for your site is ridiculous, so posting it here instead :) It's not my site (it's for embedded linux), but that

Re: [SailfishDevel] Connecting Jolla device to SDK

2013-12-06 Thread David Greaves
On 05/12/13 13:01, Seppo Tiainen wrote: First, is the current Alpha2 QtCreator/SDK capable of connecting to the new Jolla phone through USB for testing apps under development? If yes, there are many parameters (Device type, Username/Password...) that need to be correctly set. Short

Re: [SailfishDevel] Developing with SailfishOS - a short introduction

2013-12-01 Thread David Greaves
On 01/12/13 15:18, Sven Putze wrote: Hi there, first of all: this is far from complete and basically just a skeleton yet. Nevertheless I have started to write down a howto for SailfishOS development. Criticism, suggestions, bugfixes, contribution wanted!

Re: [SailfishDevel] Jolla Harbour and Jolla Store

2013-11-06 Thread David Greaves
Looking back a little: http://mer-l-in.blogspot.co.uk/2011/01/meego-community-development-apps.html David On 06/11/13 15:34, Marcin M. wrote: And what about in-app-store depends? (Free app, paid databases, databases depend on the free app) -- Marcin 2013/11/6 Andrey Kozhevnikov

Re: [SailfishDevel] Ride the wave!

2013-08-01 Thread David Greaves
that the something new works! Grüsse Chris Zitat von David Greaves david.grea...@jollamobile.com: First of all, thank you very much for waiting - and now here is the SailfishOS SDK Alpha-Qt5 update supporting Qt5, QtQuick2 and Wayland! In this release we roll out a SailfishOS SDK that works

Re: [SailfishDevel] Ride the wave!

2013-08-01 Thread David Greaves
an update of the SDK!!! Best Regards, Stefan Am 01.08.2013 21:00, schrieb David Greaves: First of all, thank you very much for waiting - and now here is the SailfishOS SDK Alpha-Qt5 update supporting Qt5, QtQuick2 and Wayland! In this release we roll out a SailfishOS SDK that works like it's

Re: [SailfishDevel] Building with the SDK without QtC

2013-07-27 Thread David Greaves
On 27/07/13 19:28, Lucien XU wrote: Hello, I have asked the question in #SailfishOs, but it might be better to have it archived in the mailing list. We were talking about the advantages of vim vs QtCreator in JollaFr's channel, so I was wondering if there is a way to code for Sailfish

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread David Greaves
On 16/06/13 09:23, Weixiang Guan wrote: Hello everyone, I am new to the Sailfish SDK. I used to develop in Qt before, but the way how Qt and the Sailfish SDK cooperate is new to me. So far I have found some issues in this kind of cooperation. Thanks for taking the time to provide feedback 1.

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread David Greaves
von David Greaves david.grea...@jollamobile.com: On 16/06/13 09:23, Weixiang Guan wrote: Hello everyone, I am new to the Sailfish SDK. I used to develop in Qt before, but the way how Qt and the Sailfish SDK cooperate is new to me. So far I have found some issues in this kind of cooperation

Re: [SailfishDevel] rare error which I can not reproduce [new]

2013-06-16 Thread David Greaves
On 16/06/13 19:47, Stefan Lahner wrote: Hello, I already send this mail, but somehow it never appeared on the maillist ... (maybe because I added pictures? I changed it to links now!) Yes, in general don't send attachments :) I found a rare error which I can not reproduce. After uploading

Re: [SailfishDevel] Some issues about developing in the SDK

2013-06-16 Thread David Greaves
root 18 2013-02-22 18:15 sensord.service - ../sensord.service lrwxrwxrwx 1 root root 31 2013-02-22 18:15 systemd-tmpfiles-clean.timer - ../systemd-tmpfiles-clean.timer [root@SailfishEmul basic.target.wants]# Chris Zitat von David Greaves david.grea...@jollamobile.com: On 16/06/13

Re: [SailfishDevel] Virtual Size of sailfishos.vdi

2013-05-29 Thread David Greaves
On 29/05/13 20:34, Erlend Boe wrote: Hi all, is there a reason why sailfishos.vdi has a virtual size of only 1.95 GB? Yes - during the creation process a full image is created and I decided to use a 'reasonable' size. In the futre I plan to automate the process below on boot to allow

Re: [SailfishDevel] Fwd: Fwd: mb gives error sb2: Error: Invalid target specified, aborting.: Part 3

2013-04-22 Thread David Greaves
Hi Chris On 22/04/13 09:16, christopher.l...@thurweb.ch wrote: The problem seems to be that ether: a) /root/.scratchbox2/SailfishOS-i486-x86/sb2.config is missing or b) sb2 is looking for this file in the wrong place or ... :) Well found and you are actually 100% correct with a) however you

Re: [SailfishDevel] Fwd: Fwd: mb gives error sb2: Error: Invalid target specified, aborting.: Part 3

2013-04-22 Thread David Greaves
On 22/04/13 20:18, christopher.l...@thurweb.ch wrote: Hi David I am a microstep further ...8-) logged as mersdk, and with a freshly backed Demo3 project I now get this far: Building rpm/Demo3.spec for SailfishOS-i486-x86 Checking dependencies... Loading repository data... Reading

[SailfishDevel] Unsubscribing - details

2013-04-20 Thread David Greaves
No problem Please send an email to devel-requ...@lists.sailfishos.org In the message itself (not the subject) simply put the work unsubscribe The list administrator can do this for you on monday if there are any difficulties. I'll also see if we can get the footer to include this information

Re: [SailfishDevel] Multiplatform apps on Sailfish, a.k.a. scoping and ifdeffing

2013-03-13 Thread David Greaves
On 13/03/13 20:29, Attila Csipa wrote: Hi, I'm wondering if Sailfish has or plans to have any qmake level scoping or ifdeffing to make development for multiplatform projects less painful? I understand Sailfish is just Linux, but just Linux doesn't imply Silica and similar, Qt is a bit on