[SailfishDevel] Add locale support to jolla calendar

2014-11-12 Thread E.S. Rosenberg
Hi all,
I'm trying to add support for locale (or at least firstDayOfWeek) to
jolla-calendar, in the MonthPage.qml file I successfully made the day
labels depend on the locale, but to actually shift all the dates over seems
to be more of an issue.

As far as I can tell this should involve the AgendaModel (found in
nemomobile/nemo-qml-plugin-calendar), but I may be wrong.

Either way I have 2 questions:
1. Am I on the right track?
2. Assuming I pull this off successfully what is the process for submitting
the patch? A pull request on git? sending a patch to this list?

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

Re: [SailfishDevel] Add locale support to jolla calendar

2014-11-13 Thread E.S. Rosenberg
2014-11-13 14:25 GMT+02:00 Pekka Vuorela pekka.vuor...@jolla.com:

 to, 2014-11-13 kello 02:25 +0200, E.S. Rosenberg kirjoitti:
  Hi all,
 
  I'm trying to add support for locale (or at least firstDayOfWeek) to
  jolla-calendar, in the MonthPage.qml file I successfully made the day
  labels depend on the locale, but to actually shift all the dates over
  seems to be more of an issue.
 
 
  As far as I can tell this should involve the AgendaModel (found in
  nemomobile/nemo-qml-plugin-calendar), but I may be wrong.
 
 
  Either way I have 2 questions:
 
  1. Am I on the right track?

 AgendaModel returns events between start and end dates. It does not care
 about localization details or where a week starts from.

  2. Assuming I pull this off successfully what is the process for
  submitting the patch? A pull request on git? sending a patch to this
  list?

 For changes in nemo-qml-plugin-calendar, a pull request in github.
 Jolla-calendar itself is not open so we don't take patches. However,
 there are some patches around people have been applying themselves.

Well it would be cool of Jolla released the source of jolla-calendar so we
can fix these things, it seems the calendar is anyhow not getting that much
attention...


 Support for sunday as first day of week should go to
 DatePicker...Dialog. To be done at some point.

Is this defined in compiled code or in QML... I'll happily fix it and
donate the code :)
At the moment I for the life of me can't figure out where it is getting the
actual start and end dates of the displayed calendar days...

 Not much votes yet on these, though:

 https://together.jolla.com/question/26507/ability-to-set-firstdayofweek-in-jolla-calendar/


I can't vote on my own questions... :D
If jolla intends to come to Israel at some point this needs to be fixed
though...
Thanks,
Eli


 https://together.jolla.com/question/35138/can-i-change-the-first-day-of-week-in-calendar/


 ___
 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] Building command line Linux tools for jolla

2014-11-13 Thread E.S. Rosenberg
Before you do a lot of work check openrepos, htop is already there...

2014-11-13 10:18 GMT+02:00 Jonni Rainisto jonni.raini...@jolla.com:

 https://build.merproject.org/project/subprojects/sailfishos:chum

 Has subprojects for each sailfish version.

 
 From: devel-boun...@lists.sailfishos.org [
 devel-boun...@lists.sailfishos.org] on behalf of Florian Kellmer [
 flor...@kellmer.net]
 Sent: Wednesday, November 12, 2014 3:47 PM
 To: Sailfish OS Developers
 Subject: Re: [SailfishDevel] Building command line Linux tools for jolla

 On 2014-11-11 22:09:05 +0100, Martin Kolman wrote:
  Dne 11.11.2014 v 22:04 Philipp Seiler napsal(a):
   Hi guys,
  
   It's me once again, asking a question. I already have a Jolla with
   some nice native apps but I want to have some command line programms
 for
   that typical geeky linux feeling on this mobile phone. Programs like
   zsh as shell, htop, mplayer,...
  
   I already found out that Jolla/Sailfish uses RPM as package manager so
   is there a public Open Build Service where I can build my tools against
   current sailfish versions?
  Sure, here:
  https://build.merproject.org/
 
  To get an account just register to the Mer Bugzilla and wait 10 minutes.
 
  I'm using it for building my Sailfish OS packages and it works just
 fine. :)

 which repo do you use to build?
 I tried the sailfish_latest_armv7hl but there are a lot of development
 tools unresolvable.

 I add mer-core:armv7hl:devel/Core_armv7hl as additional path but there ar
 still some pakages
 missing, for example update-desktop-files and
 sb2-tools-qt5-armv7l-dependency-inject

 Is there an another repo which I should add as additional path?

 greets
 flo


 --
 Florian Kellmer
 GPG ID: 0xA60FD95A

 ___
 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] Add locale support to jolla calendar

2014-11-16 Thread E.S. Rosenberg
2014-11-14 13:51 GMT+02:00 Pekka Vuorela pekka.vuor...@jolla.com:

 to, 2014-11-13 kello 23:43 +0200, E.S. Rosenberg kirjoitti:
  Well I solved it and now it's dependent on the locale (which by
  default is not set on Jolla) so:

  1. I am more then happy to submit my patches to Jolla, though you guys
  claim 'closed source' every file I edited had a BSD license at the
  top.

 I expect you have been checking Silica files. There the QML file side
 does have BSD licenses on files. Rationale being to allow application
 developers taking snippets of code when using provided elements directly
 is not enough for some reason.

 I don't think we have a precedent of merging contributions there,
 though. So while it's great you got it working how you like, it could be
 easier for us (or me) right now to implement this separately.

  2. To actually make this work properly jolla one or all of the
  following environment variables need to be present LC_TIME, LC_ALL,
  LANG, by default LANG is present but for people like me who want
  language A but locale B for dates etc. so some way to set LC_* or at
  least LC_ALL would be cool.
  I tried adding to my .bashrc but that had no effect for launching from
  the launcher, from CLI it helpend of course.
 
  I assume I need to add it somewhere in dconf but I'm not knowledgeable
  enough about dconf for the moment...

 User session picks up the locale values (that is, LANG at the moment
 set) from /var/lib/environment/nemo/locale.conf

 But having different locale categories working properly is not that
 simple. String translations are also used for date/time patterns, Qt
 knows only one system locale, etc.

Are you sure about this, as far as I can tell it's working fine, Qt is one
of those frameworks that handles locales really well


 Acknowledged that some people want this, though.

  Should I publish the patches here or is that considered unacceptable
  behavior on this list?

 I see no reason not to.

So here are the patches, they will help you implement it.

/usr/lib/qt5/qml/Sailfish/Silica/DatePickerDialog.qml -- haven't gone over
the whole file.
I am not 100% sure the DatePickerDialog.qml patch is needed for the
calendar fix, but I guess for other uses
Modified start date of labels and added Qt.locale().firstDayOfWeek into the
calculation.

/usr/lib/qt5/qml/Sailfish/Silica/private/DatePicker.js -- this file does
all the work
removed variable _weekStartsOnMonday
added variable _firstDayOfWeek
added function _setFirstDayOfWeek(dayNo)
modified function _getStartDateForMonthView(year, month) -- modified the
math of the function so that it now always gives the right date (no matter
what the firstDayOfWeeks' value is) and therefor the exception set for
Monday was commented out.

/usr/share/jolla-calendar/pages/MonthPage.qml -- the QML file that
describes the jolla-calendar page that matters
Modified start date of labels and added Qt.locale().firstDayOfWeek into the
calculation.

/usr/lib/qt5/qml/Sailfish/Silica/DatePicker.qml
added property firstDayOfWeek which calls
DatePicker.js._setFirstDayOfWeek() -- this was the only way I know at the
moment to pass the information known to Qt.locale to the javascript, there
may be better ways.

As said everything was checked in locales with the 3 different week starts
that exist according to wikipedia (sat, sun, mon), but it should work for
any day so unless someone decides that s/he observes the calendar of
Discworld (8 days/week) it should be fine.

The order of the files in diff was diff new orig.

A mention of me in the source would be nice, but not mandatory.
Hope this helps you implement it...
Eli



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

281c281
 var dt = new Date(2012, 0, 1 + Qt.locale().firstDayOfWeek)   // Jan 1, 2012 is a Sunday
---
 var dt = new Date(2012, 0, 2)   // Jan 2, 2012 is a Monday
74,75c74,75
 // 2 Jan 2000 was a Sunday
 text: Qt.formatDateTime(new Date(2000, 0, 2 + Qt.locale().firstDayOfWeek + index, 12), ddd)
---
 // 3 Jan 2000 was a Monday
 text: Qt.formatDateTime(new Date(2000, 0, 3 + index, 12), ddd)
55,56d54
 property int firstDayOfWeek: DatePickerScript._setFirstDayOfWeek(Qt.locale().firstDayOfWeek)
 
39,47c39
 //var _weekStartsOnMonday = true
 var _firstDayOfWeek = 1
 
 function _setFirstDayOfWeek(dayNo) {
 if(_firstDayOfWeek != dayNo  dayNo = 0  dayNo = 6) {
 	_firstDayOfWeek = dayNo;
 }
 return _firstDayOfWeek;
 }
---
 var _weekStartsOnMonday = true
74,76c66,67
 if (start.getDay() != _firstDayOfWeek) {
 	// Math used to offset  (7 - (firstdayoffset - startDay))%7
 start.setDate(start.getDate() - ((7 - (_firstDayOfWeek - start.getDay())) % 7))
---
 if (start.getDay()  0) {
 start.setDate(start.getDate

Re: [SailfishDevel] Using virtual machine's network (UDP BCast)

2014-12-28 Thread E.S. Rosenberg
Though I haven't tried this with the SDK my experience with VirtualBox is
that you can change the network settings/type while the machine is already
running, so you could deploy etc. and only after the emulator is running
change the settings to be on a different network

HTH,
Eli

2014-12-28 3:46 GMT+02:00 Niels Christian Ørgaard ncoth...@gmail.com:

 Hi Sailfish Devs :)

 I'm wondering if any of you have any experience changing network-settings
 on the Emulator image for Sailfish.

 My headache is that my application needs to receive UDP Broadcast messages
 from the local (real) network, and with the 2 network interfaces being set
 to NAT and Internal Network, this seems to be, uhm, not quite possible.

 I have tried changing either of them to Bridged (first tried with the
 NAT'ed one, then later with the Internal Network one), but in both cases,
 QtCreator refuses to work with the Emulator:
 

 Error while building/deploying project Lightfish_qt (kit:
 MerSDK-SailfishOS-i486)

 When executing step 'Start Emulator'
 
 Even after changing them back, and comparing them to a clone of the
 original, I get the above error - seems to me that there is something more
 to the network settings, than exposed by Virtual Box.

 Testing the connection from QtCreator's preferences (manage devices -
 Test Emulator), I am told that it is quite able to connect; it is merely
 during the deployment steps, that it fails miserably.
 The above is also the only thing I can see, relating to this failure.


 Any insights into getting this to work, where I can have the emulator on a
 bridged network, receiving packages from other devices, and actually reach
 it from QtCreator, would be most welcome.
 Steps on how to get from the point where QtCreator SAYS it can communicate
 with the Emulator, to the point where it actually can, also very welcome.


 Note: Due to my phone managing to take out QtCreator earlier tonight, I'm
 on a completely clean install of the SDK (incl deleting the files in
 .config) - but if I need to, I'll re-install a few more times.
 (the ca 20-second crash-restart loop QtCreator got itself into were
 interesting, but quickly tiresome)

 Also: Since my Jolla Phone is effectively dead following the recent
 update, I am having to rely on the Emulator to get any work done - thus,
 no need to suggest that I test using a real device: a functional one is
 currently not available :(


 In advance, thank you for any and all help,
 Niels Chr. Ørgaard
 Belgium

 ___
 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] Roadmap for Qt 5.4 support?

2015-01-15 Thread E.S. Rosenberg
OT: I really enjoy your game (too much), thanks!

2015-01-15 12:27 GMT+02:00 Alexey Rochev equ...@gmail.com:

 Qt WebEngine is still in active development. Version 5.4 has only basic
 features, it will be much improved in 5.5
 Also Qt WebEngine 5.4 does not support Wayland (will in 5.5).

 2015-01-15 11:10 GMT+03:00 Daniel Beck d.danielb...@googlemail.com:

 Hi Alejandro

 porting applications to ubuntu oxide, the chromium fork for ubuntu touch,
 was really nice and straightforward. QtWebkit has many problems, the worst
 one is that it even doesn't support the metadata viewport directive (i.e.
 this one: meta name=viewport content=width=device-width,
 initial-scale=1.0, user-scalable=no). This makes porting HTML5
 applications to Jolla really hard.

 QtWebEngine should support this (at least, I hope so, since it is based
 on chromium).



 2015-01-14 21:42 GMT+01:00 Alejandro Exojo s...@badopi.org:

 El Tuesday 13 January 2015, Daniel Beck escribió:
  Hello,
 
  Qt 5.4 introduces the new Qt Webengine. This an essencial feature
 because
  Qt Webkit lacks many features and has many bugs that makes it quite
  impossible to publish good HTML5 apps on Jolla. In my case, I'm looking
  forward to it to make my game Green Mahjong work better on Jolla.
 (For
  the moment, it sucks a lot because of QtWebkit).
 
  My question is: when will jolla support Qt 5.4?

 I would not hold my breath. Think of this: QtWebkit is a browser engine
 wrapped in Qt. Qt WebEngine is another one (Blink). Jolla has their
 browser
 based on a third browser engine. Linux distributions are not specially
 happy
 with Qt WebEngine:

 http://permalink.gmane.org/gmane.linux.debian.kde.talk/1126

 I would expect Jolla to be at the same level of discomfort, or more. :-(

 --
 Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
 http://barnacity.net/ | http://disperso.net
 ___
 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



 ___
 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] Add locale support to jolla calendar

2015-01-19 Thread E.S. Rosenberg
Here is a more decent patch (in the unified format) I redid the code after
update10 instead of trying to apply the patches, though I expect it all
came out more or less the same...

The patch can now also be found here:
https://github.com/Keeper-of-the-Keys/jolla-utils/tree/master/jolla-calendar

Just one thing, I'm not the biggest expert on patch, should I remove the
.orig/.update10 in the patch so that both pathes are the original file?

Thanks,
Eli

2014-11-16 15:45 GMT+02:00 E.S. Rosenberg 
es.rosenberg+sailfishos@gmail.com:

 2014-11-14 13:51 GMT+02:00 Pekka Vuorela pekka.vuor...@jolla.com:

 to, 2014-11-13 kello 23:43 +0200, E.S. Rosenberg kirjoitti:
  Well I solved it and now it's dependent on the locale (which by
  default is not set on Jolla) so:

  1. I am more then happy to submit my patches to Jolla, though you guys
  claim 'closed source' every file I edited had a BSD license at the
  top.

 I expect you have been checking Silica files. There the QML file side
 does have BSD licenses on files. Rationale being to allow application
 developers taking snippets of code when using provided elements directly
 is not enough for some reason.

 I don't think we have a precedent of merging contributions there,
 though. So while it's great you got it working how you like, it could be
 easier for us (or me) right now to implement this separately.

  2. To actually make this work properly jolla one or all of the
  following environment variables need to be present LC_TIME, LC_ALL,
  LANG, by default LANG is present but for people like me who want
  language A but locale B for dates etc. so some way to set LC_* or at
  least LC_ALL would be cool.
  I tried adding to my .bashrc but that had no effect for launching from
  the launcher, from CLI it helpend of course.
 
  I assume I need to add it somewhere in dconf but I'm not knowledgeable
  enough about dconf for the moment...

 User session picks up the locale values (that is, LANG at the moment
 set) from /var/lib/environment/nemo/locale.conf

 But having different locale categories working properly is not that
 simple. String translations are also used for date/time patterns, Qt
 knows only one system locale, etc.

 Are you sure about this, as far as I can tell it's working fine, Qt is one
 of those frameworks that handles locales really well


 Acknowledged that some people want this, though.

  Should I publish the patches here or is that considered unacceptable
  behavior on this list?

 I see no reason not to.

 So here are the patches, they will help you implement it.

 /usr/lib/qt5/qml/Sailfish/Silica/DatePickerDialog.qml -- haven't gone over
 the whole file.
 I am not 100% sure the DatePickerDialog.qml patch is needed for the
 calendar fix, but I guess for other uses
 Modified start date of labels and added Qt.locale().firstDayOfWeek into
 the calculation.

 /usr/lib/qt5/qml/Sailfish/Silica/private/DatePicker.js -- this file does
 all the work
 removed variable _weekStartsOnMonday
 added variable _firstDayOfWeek
 added function _setFirstDayOfWeek(dayNo)
 modified function _getStartDateForMonthView(year, month) -- modified the
 math of the function so that it now always gives the right date (no matter
 what the firstDayOfWeeks' value is) and therefor the exception set for
 Monday was commented out.

 /usr/share/jolla-calendar/pages/MonthPage.qml -- the QML file that
 describes the jolla-calendar page that matters
 Modified start date of labels and added Qt.locale().firstDayOfWeek into
 the calculation.

 /usr/lib/qt5/qml/Sailfish/Silica/DatePicker.qml
 added property firstDayOfWeek which calls
 DatePicker.js._setFirstDayOfWeek() -- this was the only way I know at the
 moment to pass the information known to Qt.locale to the javascript, there
 may be better ways.

 As said everything was checked in locales with the 3 different week starts
 that exist according to wikipedia (sat, sun, mon), but it should work for
 any day so unless someone decides that s/he observes the calendar of
 Discworld (8 days/week) it should be fine.

 The order of the files in diff was diff new orig.

 A mention of me in the source would be nice, but not mandatory.
 Hope this helps you implement it...
 Eli



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



--- /usr/lib/qt5/qml/Sailfish/Silica/private/DatePicker.js.update10	2014-12-28 18:09:01.990994576 +0200
+++ /usr/lib/qt5/qml/Sailfish/Silica/private/DatePicker.js	2014-12-28 18:19:19.529953760 +0200
@@ -36,7 +36,20 @@
 
 // if this can change dynamically, needs to be a QML property instead
 // and also should refer to some settings instead (theme?)
-var _weekStartsOnMonday = true
+//var _weekStartsOnMonday = true
+
+// Instead of (bool)_weekStartsOnMonday have an (int)_firstDayOfWeek, set through 
+// _setFirstDayOfWeek which is called in QML which in turn is aware of locale settings

Re: [SailfishDevel] Update on SailfishOS roadmap

2015-03-23 Thread E.S. Rosenberg
Will the kernel ever be taken to a newer longterm version? 3.14 or 3.18
come to mind here, currently there is a mismatch between the kernel version
of btrfs and btrfs-tools installed on the phone


2015-03-23 12:50 GMT+02:00 Oleg Linkin maledictusdema...@gmail.com:

 will 1.1.4  contain new UI framework with richer eventsview?

 2015-03-23 13:42 GMT+03:00 Soumya Bijjal soumya.bij...@jollamobile.com:

 Hi all,

 During the last iteration, we had an intensive development period on
 tablet hardware adaptation and the new UI framework. The results were
 demonstrated at Mobile World Congress early this month. We are overwhelmed
 with the positive response and reviews of the Tablet. Do take a look at the
 blog entry summarizing our participation at MWC if you haven't already:
 https://blog.jolla.com/mobile-world-congress-2015/

 A quick recap on the progress so far:
 New UI framework:
  * Lockscreen with time, day and date information
  * Media player controls in lock screen for native Media app
  * Persistent status area in homescreen and lockscreen
  * Richer eventsview with widgets such as
- displaying weather info
- upcoming calendar events
- shortcuts to toggle commonly used settings such as bluetooth,
 airplane mode, wlan and location,
- shortcuts to perform quick actions , e.g search on web, take a
 picture, make a note etc
- improved notification handling, grouping, secondary actions
  * Power key menu
  * Carousel transition to access home, open apps and events view
  * New swipe animations and transitions
  * Presence settings moved from events view to settings app

 Landscape mode and layout updates for apps for tablet:
 * Work in progress for Settings, Startup wizard, Calculator, Media
 player, Calendar and Gallery apps

 Drop upower in favour of statefs:
 Implementation work is now complete, now working towards gracefully
 handling the removal of obsolete packages. This task depends updating Mer
 Core OS to use newer version of libsolv, libzypp, zypper libraries.

 GStreamer update to 1.x:
 * More work on cleaning up the code for gst-droid encoders and decoders.
 The code is now more robust.
 * Viewfinder and captured images should have the correct orientation.
 * Hunting down issues with writing the correct orientation for the
 recorded videos.
 * Porting the thumbnailer to a more recent libav
 * Making sure qtmultimedia can be used with GStreamer 1.x by building it,
 rebasing nemo patches on top of it and fixing any issues.
 * PHONE ONLY: jolla camera more or less works with some issues remaining.
 Gallery video playback with some issues remaining.

 Toolchain upgrade to gcc4.8:
 Moved to a later OS upgrade to give us time to complete the
 implementation of BTRFS balancing operation before performing OS upgrade.

 For this iteration, we have planned the following:
 * Kernel update to latest linux-stable version 3.4.106 for Jolla Phone
 * Tablet adaptation work
   - recovery mode/factory reset operation
   - device identifiers supporting tablet OS upgrade
 * Preparations for Bluetooth certification qualification
 * Security fixes for  gnutls vulnerabilities (CVE-2015-0282,
 CVE-2015-0294), libgcrypt vulnerabilities CVE-2014-3591, CVE-2015-0837 and
 openssl vulnerability  notified in http://marc.info/?l=openssl-
 announcem=142667932619582w=2
 * Implement parts of voicecall-manager for SIP and other VoIP protocols
 * Finalize the new UI framework features demonstrated during MWC
 * Tablet-optimized apps and landscape layouts
 * Refresh visuals for Sailfish Silica components
 * Virtual/HW keyboard opening policy
 * Email Search
 * Improve folders list in Mail app
 * Continue with the following from last iteration
   - Camera adaptation work on Tablet
   - File system layout  implementation for Tablet
   - Android runtime support Tablet
   - Continue working on landscape modes for apps
   - Settings pane to display disk usage
   - Allow factory reset operation to reset the OS to the latest available
 public version instead of the age old factory image
   - Upgrade to Pulseaudio 6.0
   - Private browsing
   - SIP integration into accounts. test IM capabilities in messaging

 The following tasks unfortunately did not progress during the last
 iteration, we hope to catch up on them now.
   - Review certification middleware code
   - USB tethering UI
   - Enable open VPN support on the OS

 The next OS upgrade, version 1.1.4 (Aijänpäivänjärvi) is in the release
 candidate phase. Here are a few highlights on the release content:
 - Landscape mode for Maps
 - Split keyboard in landscape mode with a setting to disable it if
 needed under Settings  System  Text input
 - IMAP idle/push support for mail accounts
 - Resolution independent icons

 In addition, Facebook account has been updated to use API version 2.2,
 which has unfortunately lead to extreme reduction in functionality, i.e no
 instant messaging nor contacts sync. Facebook has notified that the XMPP
 chat API 

Re: [SailfishDevel] Update on SailfishOS roadmap

2015-03-23 Thread E.S. Rosenberg
2015-03-23 14:33 GMT+02:00 Andrea Bernabei and.berna...@gmail.com:

 I don't think it will, that would mean updating all the drivers to the
 new(er) kernel, and Jolla probably doesn't even have access to those
 drivers, they probably just get the blobs from the manufacturer.

 Welcome to the mobile market :(

I have heard this answer many times but never from an official Jolla
source, considering the fact that the latest Android release uses kernel
3.14 iirc there is always a chance that the drivers were/will be updated.

Another thing I would very much like to see is a better way to submit
patches to Jolla, I have published my localization patch for Jolla-calendar
and even mailed the person who is listed in the source at Jolla but no-one
ever got back to me and neither the patch nor the feature implemented in a
different way have so far made it into jolla-calendar.

Regards,
Eli


 2015-03-23 12:29 GMT+00:00 E.S. Rosenberg 
 es.rosenberg+sailfishos@gmail.com:

 Will the kernel ever be taken to a newer longterm version? 3.14 or 3.18
 come to mind here, currently there is a mismatch between the kernel version
 of btrfs and btrfs-tools installed on the phone


 2015-03-23 12:50 GMT+02:00 Oleg Linkin maledictusdema...@gmail.com:

 will 1.1.4  contain new UI framework with richer eventsview?

 2015-03-23 13:42 GMT+03:00 Soumya Bijjal soumya.bij...@jollamobile.com
 :

 Hi all,

 During the last iteration, we had an intensive development period on
 tablet hardware adaptation and the new UI framework. The results were
 demonstrated at Mobile World Congress early this month. We are overwhelmed
 with the positive response and reviews of the Tablet. Do take a look at the
 blog entry summarizing our participation at MWC if you haven't already:
 https://blog.jolla.com/mobile-world-congress-2015/

 A quick recap on the progress so far:
 New UI framework:
  * Lockscreen with time, day and date information
  * Media player controls in lock screen for native Media app
  * Persistent status area in homescreen and lockscreen
  * Richer eventsview with widgets such as
- displaying weather info
- upcoming calendar events
- shortcuts to toggle commonly used settings such as bluetooth,
 airplane mode, wlan and location,
- shortcuts to perform quick actions , e.g search on web, take a
 picture, make a note etc
- improved notification handling, grouping, secondary actions
  * Power key menu
  * Carousel transition to access home, open apps and events view
  * New swipe animations and transitions
  * Presence settings moved from events view to settings app

 Landscape mode and layout updates for apps for tablet:
 * Work in progress for Settings, Startup wizard, Calculator, Media
 player, Calendar and Gallery apps

 Drop upower in favour of statefs:
 Implementation work is now complete, now working towards gracefully
 handling the removal of obsolete packages. This task depends updating Mer
 Core OS to use newer version of libsolv, libzypp, zypper libraries.

 GStreamer update to 1.x:
 * More work on cleaning up the code for gst-droid encoders and
 decoders. The code is now more robust.
 * Viewfinder and captured images should have the correct orientation.
 * Hunting down issues with writing the correct orientation for the
 recorded videos.
 * Porting the thumbnailer to a more recent libav
 * Making sure qtmultimedia can be used with GStreamer 1.x by building
 it, rebasing nemo patches on top of it and fixing any issues.
 * PHONE ONLY: jolla camera more or less works with some issues
 remaining. Gallery video playback with some issues remaining.

 Toolchain upgrade to gcc4.8:
 Moved to a later OS upgrade to give us time to complete the
 implementation of BTRFS balancing operation before performing OS upgrade.

 For this iteration, we have planned the following:
 * Kernel update to latest linux-stable version 3.4.106 for Jolla Phone
 * Tablet adaptation work
   - recovery mode/factory reset operation
   - device identifiers supporting tablet OS upgrade
 * Preparations for Bluetooth certification qualification
 * Security fixes for  gnutls vulnerabilities (CVE-2015-0282,
 CVE-2015-0294), libgcrypt vulnerabilities CVE-2014-3591, CVE-2015-0837 and
 openssl vulnerability  notified in http://marc.info/?l=openssl-
 announcem=142667932619582w=2
 * Implement parts of voicecall-manager for SIP and other VoIP protocols
 * Finalize the new UI framework features demonstrated during MWC
 * Tablet-optimized apps and landscape layouts
 * Refresh visuals for Sailfish Silica components
 * Virtual/HW keyboard opening policy
 * Email Search
 * Improve folders list in Mail app
 * Continue with the following from last iteration
   - Camera adaptation work on Tablet
   - File system layout  implementation for Tablet
   - Android runtime support Tablet
   - Continue working on landscape modes for apps
   - Settings pane to display disk usage
   - Allow factory reset operation to reset the OS to the latest
 available public

Re: [SailfishDevel] Funny display in Sailfish Emulator

2015-03-05 Thread E.S. Rosenberg
Windows is not meant for use. ;)

2015-03-05 10:22 GMT+02:00 Gabriel Böhme m.gabrielboe...@googlemail.com:

 And you should keep in mind that Windows 10 Preview is not meant for daily
 use at the moment. ;-)

 E.S. Rosenberg es.rosenberg+sailfishos@gmail.com schrieb am Mi., 4.
 Mär. 2015 14:33:

 You're running a desktop hypervisor inside of a desktop hypervisor and
 you're surprised it messes up?
 Even on proper hypervisors (ESXi, Linux KVM, Xen) that's not recommended
 (however running a desktop hypervisor inside of them is possible).

 'desktop' hypervisor - VirtualBox, VMware Player, Parallels.

 2015-02-27 7:07 GMT+02:00 Cardenal Jiménez 
 mprime4-develsailfis...@yahoo.fr:

 Hi,

 Since I like so much my Jolla phone and its UI paradigms, I thought
 Let's develop some Sailfish app, that will be fun!.

 Right now, I'm stuck at My First App deployment (
 https://sailfishos.org/develop/sdk-overview/develop-firstapp-article/)
 of installation guide-through, with this funny outcome - see screenshot
 attached.

 Any hint of where to look, logs to browse, settings to play with, or
 anything that would explain that stuff and help solve it - meaning display
 it properly, the way it is intended, portrait mode, everything *whithin*
 screen borders ?


 My installation:
 * Very capable laptop running Windows 8.1 (a.k.a. host), with various
 softwares installed, amongst them VirtualBox 4.3.22
 * In that VirtualBox, one Windows 10 Technical Preview VM, running
 latest said version with all updates, 32 GB HDD, 3 GB RAM - a.k.a. guest
 * In guest, everything needed for Sailfish development installed,
 configured  running, with latest versions (i.e. VirtualBox 4.3.2 w/
 Extension Pack, SDK v1412, sailfish VMs ok, MerSDK + emulator).

 The reason Sailfish emulator display is not *quite* in the *right place*
 is probably because it is a Linux VirtualBox VM run in a Window 10
 VirtualBox VM - Sailfish OS is probably a bit confused and got left/right
 and up/down mixed up.

 I'm sure there's a way to fix this, but I'm not quite sure of where to
 look in the first place. Also, I'm pretty confident it's got nothing to do
 with VirtualBox - both of them - settings, because I've already tried LOTS
 of different things. And also when starting emulator VM from VBox
 interface, it also behaves the same way, displayed like it is landscaped.
 So my guess is emulator is either interpreting or getting wrong parameters
 from guest VM, thus this display we might qualify as a bit shy - but
 still working, including pulley menu.


 WARNING: for all trigger-happy repliers here, who've already typed an
 answer when reading my installation 12 lines above, please read this
 https://together.jolla.com/question/83686/sailfishos-sdk-installation-on-windows-881-caveats/
 before hitting send...

 Thanks,


 ___
 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-unsubscribe@lists.
 sailfishos.org


 ___
 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] Suggestion: expose androids intents on dbus

2015-02-22 Thread E.S. Rosenberg
2015-02-15 21:23 GMT+02:00 Anton Thomasson antonthomas...@gmail.com:

 Hi

 I recently managed to execute Android commands from outside of Alien
 Dalvik.
 This was achieved by looking at how it's done when apps are launched and
 Alien Dalvik is started normally.

 To see the resulting scripts, go here:
 https://github.com/attah/alien-tools

 Now to the point, I think these should be exposed for use in sailfish
 native apps.
 The way I see it being done is by adding a daemon that forwards intents
 that it receives over dbus.
 This solves a couple of things, firstly that it seems to require root for
 the intents to take effect and secondly it enables us to add a layer of
 security so that the user is prompted when app wants to invoke an intent.
 This obviously needs a allow permanently option, otherwise intents won't
 be very useful. Using a daemon also takes care of the fact that it would
 have to execute in a rather particular environment. That is what i have
 managed to set up in alien-tools, but it is essentially the same as in
 /opt/alien/system/script/start_alien.sh, which is what is invoked by the
 aliendalvik.service. So spawning the daemon from there would work.

 Polkit seems to be the way to do handle permissions, so that should work
 out. I also think that this whole thing is better done, at least in part,
 by Jolla. Especially since it needs to work with Alien Dalvik which is
 3rd-party, and so that it goes together well with the workflow of the os in
 general. Thus this email. :)

 I'm not sure how much else, apart from intents, that we'd like to have
 exposed. I found that the input application works as well, and many other
 should too. The scary part her is that i could send input without being
 root. Not sure that is a very good idea. And even if we would add som
 security layer, who is to check what is ok and what is not? Intents at
 least have a limited scope whereas input can do pretty much anything.

 What do you guys think?

 Regards,
 Anton (attah)

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

Hi attah,
I'm not familiar with android so forgive me if I'm completely
misunderstanding what is happening here.
I mainly have lots of questions and probably not so much extra input...

Are you basically using alien as a 'shell' (just like one would use tcsh,
zsh etc) to execute jars? Isn't that how alien always works?

What are these intents?

My gut says that more access might be dangerous, also in the sense that
someone may end up writing a jolla native app that still depends on alien
being there and having a ton of unnecessary overhead (without even talking
about the security implications), surely not the aim of jolla or the
community if we want to improve the jolla ecosystem...

(What are the security implications of what you are proposing?)

Hope you don't mind my flood of questions, the subject matter looks
interesting to me and so far no one seems to have commented at all...

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

[SailfishDevel] patch command

2015-02-24 Thread E.S. Rosenberg
Can anyone point me in the right direction for getting the 'patch' command
on my Jolla? When I search on openrepos the results are flooded with
patchmanager stuff, for now I don't want patchmanager I just want to be
able to patch from command-line

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

Re: [SailfishDevel] Update on SailfishOS roadmap

2015-02-24 Thread E.S. Rosenberg
I wouldn't expect Qt = 5.3 before SailfishOS 2.0... (and more likely that
it will be SailfishOS  2.0)

2015-02-23 8:23 GMT+02:00 Krisztian Olah fasza2mob...@gmail.com:

 Hi,
 It is going to be Qt 5.2 for a while, there are libs from 5.2 that are
 still not allowed.

 Kris

 On Sun Feb 22 21:46:32 2015 GMT, Alex Smirnoff wrote:
  Hello.
  What about Qt version?
  Is it still 5.2.2 in update 11?
  I really need qt 5.3 to be able to build version 1.2 of QtQuick
 Controlls.
 
  Alex.
 
  2015-02-13 13:09 GMT+01:00 Soumya Bijjal soumya.bij...@jollamobile.com
 :
 
   Hi all,
  
   Here is an update on our progress from the past month. Do note that
 they
   are all work in progress and not release ready for another few months.
  
   * Tablet hardware adaptation is nearly ready for MWC
 - USB charging, stereo speakers, sensors, accelerometer, Bluetooth,
 WLAN
   functionalities have been verified
  
   * Work on the new UI framework is progressing at a good pace
 - lock screen has been separated from the homescreen
 - improved notifications with visual grouping and additional actions
 - events view with a richer user experience
 - improved home screen interactions and transitions
 - new swipe edge transition
  
   * Lock screen media player controls implemented for the native media
   player app, under review https://together.jolla.com/
   question/3414/control-music-from-the-lock-screen/
  
   * IMAP idle/push support implemented https://together.jolla.com/
   question/493/imap-idle-imap-push-for-the-e-mail-app/
  
   * Landscape mode enabled in Maps
  
   * Toolchain has been updated (upgraded to GCC 4.8, binutils 2.25,
 switch
   to Thumb2+NEON for ARM by default, march=i686 and SSE2 minimum for X86)
   and will take into effect with update13; expect a huge download size
 for
   the update
  
   * Dual-stack support  (ipv4 and ipv6) for cellular connectivity in the
   middleware
  
   * Update to GStreamer 1.x: souphttpstc is enabled, AAC
 encoding/decoding
   works
  
   * Prototyping of encrypted filesystem: This is currently on hold for a
   short while due to MWC preparations
   - We have a development template to build filesystem layout on
 tablet
   that could allow home encryption
   - Most of the real work is still ahead of us: studying if in-place
   conversion  can be done with changing LVM logical volumes, /var/
   encryption, user application binaries and user app data encryption and
 most
   of all placement to home instead of root, boot target for password
 query
  
   * Drop upower in favour of statefs:
 - udev is used directly to fetch power and battery temperature
   information via statefs power-udev provider
 - MCE now fetches battery info from statefs
  
   * Performance improvements:
 - Improved performance of adding items to the scenegraph,
 particularly
   when e.g. scrolling lists
 - Pool allocator for shadow nodes in the scenegraph used to reduce
   possible memory fragmentation
 - Substantially reduced the number of nodes required by the
 scenegraph
 - Reduced the amount of memory required by internal JS structures
 - Reduced the need to heap allocate when dealing with IR structures
 - Reduced the amount of memory required for SQLite caches
  
   As  for the next OS release, we are currently at release candidate 5
 for
   Yliaavanlampi (update 11) and expect to have another release candidate
   before we can decide on the release schedule.
  
   For this iteration, we have two main goals:
   1. Demonstrate the new UI framework and Tablet functionality at the
   Mobile World Congress, Barcelona
   2. Make the device usable in filesystem full condition to allow the
   user to recover from it on her own
  
   In addition, we have planned to work on the following:
   * Tablet specific work:
 - Bluetooth audio configuration
 - Integrate microphone
 - Improve boot up and shutdown time
 - Support for OBEX FTP Bluetooth profile
 - Upgrade Bluetooth AVRCP to version 1.3
 - Check Bluetooth+WLAN coexistence
 - Verify MTP functionality
 - Performance improvements
 - Intel support for Android runtime
   * Enable OpenVPN support on the OS
   * Update to Facebook API 2.2
   * Telepathy farstream / SIP Audio routing policy
   * Bug fixing on issues related to Bluetooth sync, presence and
   accounts/calDAV
   * New settings options to
- display disk space used by images, media, backup, app data etc
- display SD card information
   * Update main view of Gallery app for the Tablet
  
   The following activities continue from the last iteration:
   * Adapt middleware to modemless device i.e. Tablet
   * Work towards Pulseaudio 6.0
   * Drop upower in favour of statefs
   * Allow factory reset operation to reset the OS to the latest available
   public version instead of the age old factory image
   * Run btrfs balance operation before installing OS update
   * Improvements to PackageKit 

Re: [SailfishDevel] SSH listen address

2015-04-19 Thread E.S. Rosenberg
2015-04-19 23:55 GMT+03:00 Kimmo Lindholm kimmo.lindh...@eke.fi:

 I'm also not worried on mobile side, but more on allowing ssh in while
 visiting random wlan networks.
 If the wlan network configuration had something like home network and
 public network, and ssh logins allowed only on home network ?

This worries me but not as much since I have unlimited data the only time I
ever connect to a wireless network is at home, but it is definitely an
issue.


 I remember also seeing an app for allowing ssh in only after user
 acceptance on phone.

 On mobile side, I can activate a public IP for the phone (Saunalahti,
 Finland) but that works only for 3G.

I am not worried about the public IP, I have no doubt that the NAT will
stop it, I am worried about the other mobile users who are also on the NAT,
if they can port-scan the 10.0.0.0/8 network they are on and talk to the
other hosts (phones) freely then we do need to be worried...

An additional reason for it to be worrisome is that for now we are still
using default usernames, I am looking forward to the day that my phone will
not have a default username (nemo/user) but whatever I choose during setup.
If someone can explain why we don't have it already I would really
appreciate that but it is OT...

Regards,
Eli


 -kimmo

 -Original Message-
 From: devel-boun...@lists.sailfishos.org [mailto:
 devel-boun...@lists.sailfishos.org] On Behalf Of Ove Kåven
 Sent: 19. huhtikuuta 2015 22:07
 To: devel@lists.sailfishos.org
 Subject: Re: [SailfishDevel] SSH listen address

 Den 19. april 2015 18:50, skrev E.S. Rosenberg:
  So this leaves an, I think, interesting question: how do we on the one
  hand allow SSH access while on the other hand preventing access from
  GSM/3G/4G?

 Is it important? Most likely your carrier is going to firewall you anyway.

 As an experiment, I just tried pinging and ssh-ing to my 4G-connected
 phone, but neither worked. That is, I tried to connect to the IP address
 shown in ifconfig rmnet0 (which is showing a real IP address, not NAT),
 but apparently something is blocking it. (And my ssh seems to be listening
 on all interfaces.) So at least for me, there seems to be no need to do
 anything to prevent such access. I'm guessing it's pretty much the same for
 all carriers.

 ___
 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

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

Re: [SailfishDevel] Keeping background process running in Sailfish OS

2015-05-03 Thread E.S. Rosenberg
I think it's the regular linux OOM killer, in general it doesn't kill
everything but it will/should kill up to the point that enough RAM was
freed to regain system stability...
So if your deamon has a very small RAM footprint the chance it will get
killed is much lower then if it's a RAM hog...

HTH,
Eli

2015-05-03 8:08 GMT+03:00 Taixzo tai...@gmail.com:

 I notice that Sailfish tends to close all running applications when some
 limit of RAM or CPU is reached. Is there a way to make an app launch a
 daemon process that does not get killed by this?


 --
 Sent from Whiteout Mail - https://whiteout.io

 My PGP key: https://keys.whiteout.io/tai...@gmail.com
 ___
 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] Keeping background process running in Sailfish OS

2015-05-03 Thread E.S. Rosenberg
Also note that if you skew it too much in favor of yourself the system may
end up killing genuinely important system processes instead of your daemon,
no user will be happy about that

2015-05-03 14:43 GMT+03:00 Martin Grimme martin.gri...@gmail.com:

 Hi,

 2015-05-03 13:09 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com:
  afaik it only closing propcesses with windows, no?

 No, it is the Linux OOM handler, which does not care or know about
 what a Wayland window is.
 If your daemon is invoked as a systemd service, you can adjust the
 OOMScore in the system .service file of the daemon, like this:

   [Service]
   ExecStart=/usr/sbin/mydaemon
   OOMScoreAdjust=-250

 The lower the value the less likely the process will be selected by
 the OOM killer.
 However, if you want to remain harbour-compatible, you cannot run the
 daemon as a systemd service. In that case maybe you can write the
 score directly at runtime to

   /proc/your process pid/oom_score_adj

 but I did not test that solution.


 Martin
 ___
 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] Keeping background process running in Sailfish OS

2015-05-03 Thread E.S. Rosenberg
Well for one thing you have the extremely RAM hungry Android environment
which they didn't have...

2015-05-03 17:16 GMT+03:00 Taixzo tai...@gmail.com:

 I wonder why Sailfish OS does this while Harmattan and Maemo did not? They
 certainly didn't have more RAM to work with.

 Sunday, May 3, 2015 7:56 AM E.S. Rosenberg wrote:
  Also note that if you skew it too much in favor of yourself the system
 may
  end up killing genuinely important system processes instead of your
 daemon,
  no user will be happy about that
 
  2015-05-03 14:43 GMT+03:00 Martin Grimme martin.gri...@gmail.com:
 
  Hi,
 
  2015-05-03 13:09 GMT+02:00, Andrey Kozhevnikov coderusin...@gmail.com
 :
  afaik it only closing propcesses with windows, no?
 
  No, it is the Linux OOM handler, which does not care or know about
  what a Wayland window is.
  If your daemon is invoked as a systemd service, you can adjust the
  OOMScore in the system .service file of the daemon, like this:
 
[Service]
ExecStart=/usr/sbin/mydaemon
OOMScoreAdjust=-250
 
  The lower the value the less likely the process will be selected by
  the OOM killer.
  However, if you want to remain harbour-compatible, you cannot run the
  daemon as a systemd service. In that case maybe you can write the
  score directly at runtime to
 
/proc/your process pid/oom_score_adj
 
  but I did not test that solution.
 
 
  Martin
  ___
  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


 --
 Sent from Whiteout Mail - https://whiteout.io

 My PGP key: https://keys.whiteout.io/tai...@gmail.com

 ___
 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] Neo900 support

2015-04-09 Thread E.S. Rosenberg
You realize the keyboard doesn't need to be attached while it's in your
pocket? Only while you're typing and while you type its' not covering the
lens

2015-04-09 11:27 GMT+03:00 schif...@polytech.unice.fr:

 I'm aware of this product, but I don't like how it is done.
 The main issue of this keyboard is that it masks the camera. So I can't
 take quickly a picture, I have to remove in first the keyboard. With this
 TOHKBD, we can't have an other one : it's either a keyboard or something
 else. So this smartphone is just like all the others with a physical
 keyboard, but less interesting because of the camera issue. And finally,
 I'm not convinced by the magnets. I rather prefer a true slider keyboard.

 The main interest of this design could have been the possibility to slide
 out only the directional pad with the smartphone in portrait mode, for
 allowing users to control there smartphone with it (in case they have
 gloves for example).

 So for the moment, for me, the Jolla phone with TOHKBD is not interesting.

  The TOHKBD promises to be a very good add-on, though I don't know if it
  will be available to people who didn't pre-order...
 
  (But right now you can still pre-order here:
 
 http://funkyotherhalf.com/?page_id=9#!/TOHKBD2-PRE-ORDER/p/42141285/category=9141090
  )
 
  Regards,
  Eli
 
  2015-04-09 1:27 GMT+03:00 Schifano Alexandre schif...@polytech.unice.fr
 :
 
  It depends of what you mean by good, and what do you expect as
  physical keyboard. You can find two or three year-old smartphones which
  are fine, with physical keyboard, but no ubber processors and no 4G.
  You can also find on the Chinese market smartphones like the Samsung
  Galaxy Golden.
  But of course the best smartphone with a physical keyboard will be the
  one which Jolla will make ;) (if Jolla will do it one day ...)
 
  On 08/04/2015 23:41, Brenda Fernández wrote:
   Are there still good Android phones with physical keyboards? ;)
  
   On Mon, Apr 6, 2015 at 1:59 PM, Schifano Alexandre
   schif...@polytech.unice.fr mailto:schif...@polytech.unice.fr
  wrote:
  
   Oh, I assumed you install Android app in a chrooted Android
  environment
   which implies an Android kernel.
   I confess than I'm a bit disapointed to discover this, because I
  wanted
   to install Sailfish either on the Neo900 or on a good Android
  phone
  with
   a physical keyboard for having an interresting OS/device with the
   possibility to install Android apps when there is not equivalent.
  
   Thank you, now I have a better understanding of how it works.
  
   On 06/04/2015 14:54, Andrey Kozhevnikov wrote:
Sailfish is Jolla UI over Mer with Wayland Lipstick windows
   manager. It
runs on normal Linux kernel. Android adaptations using
  libhybris.
If you can run Nemo on your device you can just add/replace
  Jolla
repositories and install sailfish on it.
You will not have possibility to install android apps until
   someone will
create open android launcher or Jolla start licensing
  aliendalvik
  for
non-Jolla devices.
   
06.04.2015 17:48, Schifano Alexandre пишет:
Hi,
   
Still about a Neo900 support, I have an other question :
   
As far as I understand, basically Sailfish is Mer (Wayland
   version) with
the Jolla UI, and with an Android kernel and libhybris. So if I
   am able
to have Nemo running rightly on a N(eo)900 with Wayland, I will
   be able
to run Sailfish apps ? And if I am able to do it with an
  Android
   kernel
and libhybris, I will be able to have it working with the
   possibility to
install Android apps ?
   
Best regards
   
On 05/04/2015 08:12, Schifano Alexandre wrote:
Hi,
   
I'm very interrested by Sailfish OS, however I'm also very
   interrested
by the Neo900. This smartphone is a modified Nokia N900, with
  a
  TI
DM3730 1 GHz processor (Cortex-A8 with ARMv7-A instructions,
   mono-core)
and 1GB of RAM (more here : http://neo900.org/specs). Do you
  think
Sailfish will be able to run smoothly on it ? Will you support
  the
Neo900 and allowing users to install your OS on it ?
   
Best regards,
Alexandre Schifano
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
   mailto:devel-unsubscr...@lists.sailfishos.org
   
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to
devel-unsubscr...@lists.sailfishos.org
   mailto:devel-unsubscr...@lists.sailfishos.org
   
___
SailfishOS.org Devel mailing list
 

Re: [SailfishDevel] SailfishOS community meeting tomorrow, 14.4.2015?

2015-04-13 Thread E.S. Rosenberg
Though I have so far not really been in these meetings and am not a huge
dev (for now I stay a very small dev) there is one topic which I think
should be discussed but I imagine has already been discussed:

The ability of us community to contribute fixes to jolla-* components.

Background: as some of you are probably aware I modified/fixed
jolla-calender so that it would support whatever first-day-of-the week your
locale uses, all files I modified are marked as BSD by jolla (even though
they claim jolla-* components to be closed source).

I posted my patches on github, on the mailing list, on together.jolla.com
and even contacted the person at jolla listed as the maintainer of the
files I modified.

So far I never got a single reply on the subject and I need to repatch at
every update, not a stance I can appreciate. I understand that certain
things need to also be decided UI/UX wise (like how to set this
preference), but the under the hood changes can be made regardless and
again some communication (even just a 'thank you we will look at it') would
be nice...

Regards,
Eli

2015-04-13 18:02 GMT+03:00 Iekku Pylkka iekku.pyl...@jolla.com:

 Ahoy,

 Since no new topics proposed, meeting is postponed one more week. Let's
 hope we have enough topics on Tuesday 21.4.2015.

 Br,
 Iekku




 From: devel-boun...@lists.sailfishos.org [
 devel-boun...@lists.sailfishos.org] on behalf of Iekku Pylkka [
 iekku.pyl...@jolla.com]

 Sent: Monday, April 13, 2015 11:08 AM

 To: devel@lists.sailfishos.org

 Subject: [SailfishDevel] SailfishOS community meeting tomorrow, 14.4.2015?










 Ahoy,

 We postponed meeting one week due only one topic. Situation is still same.
 Please propose topics today before 17:00 UTC:


 https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

 Or we might have to postpone meeting again. I will check topics again in
 the evening and make invitation if there’s need for meeting.

 Br,
 Iekku






 ___
 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] i wanr to tey this juat need more knfkrmation

2015-04-05 Thread E.S. Rosenberg
No offense but you should probably try and re-write your mail

Afaik Sailfish works to differing extents on various Nexus devices...

Regards,
Eli

2015-04-05 11:07 GMT+03:00 david beckett cri...@fea.st:

 First off this is my girlfriends phone and I would never do anything to
 mess it up. I was wondering what would be a good cheap phone to test
 sailfish on? I hate Android and I think the Windows phone is even worse.
 A few months ago I bought a coolpad phone for $10 what a great phone it
 was. Any help would be greatly appreciated. I will be an active part in
 the community just lie I was with Linux for over 10 years. In my
 considered opinion Google til advantage of everything Linus and the open
 source community did and use for there own selfish greedy gain. Thanks
 guys.
 p.s. didn't nous spend along time developing the is that eventually
 become aailfish after selling out to m$?

 --
   david beckett
   cri...@fea.st
 ___
 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] Neo900 support

2015-04-05 Thread E.S. Rosenberg
Though on the one hand I would also love to give my n900 another lease on
life it seems to me that sailfish and/or meego would not work very well on
the n900 or the neo900 since the resistive touch screen used would make all
the gestures as pretty major pain in the backside to use (even though I
tend to agree with the argument that resistive touch has the potential to
be better, and for certain use cases is definitely better I have yet to see
a real product that uses superior resistive touch technology - stantum
showed impressive prototypes 5-6 years ago, but I never saw it in a real
product).

Regards,
Eli

2015-04-05 9:18 GMT+03:00 Brenda Fernández m...@brendafernandez.com:

 I'm not very convinced the Neo900 will ever become a reality. :(

 On Sun, Apr 5, 2015 at 3:12 AM, Schifano Alexandre 
 schif...@polytech.unice.fr wrote:

 Hi,

 I'm very interrested by Sailfish OS, however I'm also very interrested
 by the Neo900. This smartphone is a modified Nokia N900, with a TI
 DM3730 1 GHz processor (Cortex-A8 with ARMv7-A instructions, mono-core)
 and 1GB of RAM (more here : http://neo900.org/specs). Do you think
 Sailfish will be able to run smoothly on it ? Will you support the
 Neo900 and allowing users to install your OS on it ?

 Best regards,
 Alexandre Schifano
 ___
 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

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

[SailfishDevel] SSH listen address

2015-04-19 Thread E.S. Rosenberg
Hi all,
On my phone SSH listens on all interfaces, I am not 100% sure if the
default jolla setup also runs like this since I have NielDKs' openssh
packages installed.

Either way this brings up the interesting question of how to limit SSH to
listen only on local interfaces (USB, bluetooth and WiFi - where the last
one may be network dependent).

My first instinct was to change the ListenAddress, the problems with that
are (from the top of my head):
- One would need to list all the possible 192.168.0.0/16 addresses the
phone can take for the different connection types.
- There is no way to guarantee that a cellular operator won't decide for
some weird reason to use 192.168.0.0/16 instead of 10.0.0.0/8
- A WiFi you connect to could have 10.0.0.0/8, 192.168.0.0/16 or even
172.16.0.0/12 and there is no telling ahead of time which address the phone
will have.

So this leaves an, I think, interesting question: how do we on the one hand
allow SSH access while on the other hand preventing access from GSM/3G/4G?

The obvious solution seems to be an iptables/nftables rule linked to the
interface of cellular internet which prevents access, iptables -L shows me
the phones' table is currently completely empty, which may not be the best
of ideas

Suggestions?

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

Re: [SailfishDevel] New SailfishOS phone manufacturer

2015-06-09 Thread E.S. Rosenberg
I doubt there is any contract that says other companies can't get a license
on dalvik...

2015-06-09 11:06 GMT+03:00 schif...@polytech.unice.fr:

 Because as somebody told me in the Neo900 support thread, Jolla has
 currently only the licence to distribute Myriad Alien Dalvik with there
 smartphones and not for all devices which can run Sailfish.

  Hi,
 
  I don't see why dalvik would not be available. If the OS runs on the
  device, dalvik should be able to run too.
 
  Alex.
 
  On Mon, Jun 8, 2015 at 3:09 PM, schif...@polytech.unice.fr wrote:
 
  Well it seems Jolla will not make a new device soon. So in case somebody
  has an answer to my previous question, I'm still listening ;).
 
   TOH is only Jolla feature, not 3rd party developers of course. Talk to
   these companies and ask them to implement TOH in their sailfishos
  devices
   :)
  
   03.06.2015 23:02, Martin Kolman пишет:
   Wed, 3 Jun 2015 13:46:02 +0200 schif...@polytech.unice.fr:
   Hi,
  
   I have heard there will be new official Sailfish phone
  manifacturers.
   On
   this smartphones will the Android apps be supported ? If yes, does
  it
   mean
   that all the smartphones with Sailfish will have Alien Dalvik
   available ?
   Also what about the ToH concept ? It would be a shame to loose it on
  new
   devices just when the first ToH keyboards start shipping...
  
   (BTW, as most current ToHs use 3D printed components it does not
   necessarily
   need to be mechanically compatible, just electrically - and even that
   is not
   that important. In short - any interface that makes it possible to
   mechanically
   attach something to the back of the device + power  data  interrupt
   channel
   would do.)
  
   Best Wishes
   Martin
  
   Best Regards,
   Alexandre Schifano
  
   ___
   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
  
   ___
   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
 
  ___
  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

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

Re: [SailfishDevel] Sailfish OS SDK 1506 update available now

2015-06-16 Thread E.S. Rosenberg
I have to say I am very surprised 1.1.6.27 shipped as is, quite a few of us
early adopters suffered from deal breaking bugs like WiFi/USB Tethering
(and dev mode) stopped working, Silence sound indicator stopped showing...

2015-06-16 16:32 GMT+03:00 Jarkko Lehtoranta jarkko.lehtora...@jolla.com:

 Hello again,

 Today (June 16th) at 13:00 UTC we have published new installers and
 repositories of the Sailfish OS SDK.

 The installers for this release of the SDK are available at
 http://www.sailfishos.org. If you have an older beta release of the SDK,
 you should see an update notification in the SailfishOS IDE.

 SDK content has been updated to match Jolla Release 1.1.6.27
 (Aaslakkajärvi). Please see below for detailed information of the changes.

 A couple of things you should be aware of:
 - As before, in this update the build engine, emulator and targets are
 reinstalled so you will lose all changes you may have made in those -
 However, if your application packaging is done correctly, rebuilding your
 projects should reinstall the packages you have been using.
 - Any customization done to SDK (adding new package repositories, adding
 custom targets, additional source paths) will be removed during the
 installation process so make your own backup of those before starting the
 update.
 - If you import existing projects made with a previous version of the
 Sailfish OS SDK, make sure to select the correct kit in the project
 configuration step. Both ARM and i486 kits are available.
 - Package repository contents have been updated and consequently using a
 previous SDK version with these package repositories is not supported.
 - Supported host platforms can be found from:
 https://sailfishos.org/develop/sdk-overview/sdk-release-notes/

 - For more information, please see the SDK Beta-Qt5 known issues list at:
 https://sailfishos.org/develop/sdk-overview/sdk-beta-qt5-known-issues/.

 SDK IDE (Qt Creator):
 - Added rpmvalidator deploy step
 - Updated Sailfish Silica help documentation and examples

 SDK Build engine:
 - Build targets refreshed to Jolla release 1.1.6.27 level

 Emulator:
 - Emulator packages refreshed to Jolla release 1.1.6.27 level

 If you have any questions, feel free to either send an email to this
 mailing list: mailto:devel@lists.sailfishos.org, write it up in
 http://together.jolla.com  and tag your issue with 'sdk' or send an
 e-mail to developer-c...@jolla.com.

 Happy hacking,
 Jolla SDK Team
 ___
 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

[SailfishDevel] Yoga Tablet 2 and Sailfish OS

2015-05-31 Thread E.S. Rosenberg
Hi all,
I was recently issued a Yoga Tablet 2 by school for use with my studies, I
am not quite enjoying Android and am wondering if I can get Sailfish on
there.

Hardware wise it seems to be fairly similar to the Jolla Tablet so it
should be possible I think.

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

[SailfishDevel] Yoga Tablet 2 and Sailfish OS

2015-05-30 Thread E.S. Rosenberg
Hi all,
I was recently issued a Yoga Tablet 2 by school for use with my studies, I
am not quite enjoying Android and am wondering if I can get Sailfish on
there.

Hardware wise it seems to be fairly similar to the Jolla Tablet so it
should be possible I think.

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

Re: [SailfishDevel] Support for paid applications

2015-07-12 Thread E.S. Rosenberg
As far as I understand if the user allows non-trusted sources s/he can
install any rpm, so if you have a way to sell rpms the answer is yes

But that does require 'considerable' effort both on the part of the user
(going into settings and changing a setting) and on your part to setup your
selling/licensing infrastructure

HTH,
Eli

2015-07-11 20:27 GMT+03:00 Giuliettasw users.giulie...@gmail.com:

 Ofc its possible for example if the app provides its own licensing /
 purchase service.


 Best,
 tk

 Von meinem iPad gesendet

 Am 11.07.2015 um 13:52 schrieb John Pietrzak jpietrz...@gmail.com:

 Hey, newbie question here.  Can I ask, is distribution via Jolla's
 harbor (or some equivalent store) the only viable way to sell software on
 a Sailfish device?  I'm not a huge fan of the closed garden ecosystem
 used by Apple  Google.  I remember being able to purchase Joikuspot on my
 N900 without going through any store...

 On 7/11/15 5:37 AM, Bob Summerwill wrote:

 Please could we get a status update?


 https://together.jolla.com/question/6522/harbourstore-support-for-paid-applications/

 If the newly licensing-oriented Jolla wants to make any sales, this
 feature is essential.

 Without a means for developers to make money (hint - donations are nice
 but thoroughly inadequate) the ecosystem will never grow.

 Unless this is seen as outside of the scope of Sailfish?  Ie. Store would
 be an 'exercise for the reader', provided by licensees on a per
 manufacturer basis.


 ___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


 ___
 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] [Minutes] SailfishOS community meeting 26.11 + planning for next one 3.12

2015-11-27 Thread E.S. Rosenberg
Above the question was raised how much/good of a base the Jolla community
is, I think the simple fact that Jolla started with crowd-funding (The
First One, remember?) shows that they have a strong and passionate
community willing to back them.

I did not buy a tablet for the simple reason that I did not see any value
in a tablet when I have a phone and a laptop on me all the time, I was
provided a tablet through a program I am currently in and that has made me
change my mind a bit but by now even if I want I can't buy it, the same
goes for OH (where is the Angry Birds OH? Stella doesn't count because you
can't get it without a phone), extra batteries and a ton of other things
that could have generated some 'cheap' revenue but were never done.

As said above now that Jolla essentially canceled the Jolla2 (by saying
they won't do hw development anymore) it doesn't make sense for me to buy
another OH because I have no way of know how much ROI I will get in the
form of being able to use it in the future.

I have no problem with Jolla having a feature bounty program where the
community can steer what features are important to them and I have no
problem with Jolla saying "Please help us" in some crowd funding campaign,
I may not even want a T-shirt in return but to go from there to a
subscription system for updates to me is completely in-culpable.

If Jolla were to take a more Open Source approach to software development
they would also find that the cost of development would probably be lower
after all there are all kinds of basic functions that community members
have gone and added in the past (keyboards, calendar localization,
translations etc.) that actually allow the phone to be sold in markets that
would otherwise just not touch it because they can't type/read their local
language.
I have no idea how much time and effort it cost to add the calendar
localization in SFOS2 (yes it's finally there, I don't need to patch it
anymore!) and I really hope that they did use my patches because otherwise
that is a great example of how money is wasted on re-developing features
done by the community which just need QA.
I don't believe that Jolla would be in severe danger from being all Open
Source just look at Red Hat and other big Linux players it can work not
only that the dirt-cheap Chinese players may copy the product but on the
way they also expose the platform more and they may also both contribute
back and have support contracts with Jolla.

Anyhow I hope that Jolla pulls through and am waiting to see either another
crowd funding campaign or some other form of cash generation, have you
considered selling shares to the community? Or after all developing a
Jolla2?

Regards,
Eli

2015-11-27 11:46 GMT+02:00 Ruediger Schiller :

> On Fri, Nov 27, 2015 at 07:28:17AM +, Peter Kovacs wrote:
> > Hello,
> >
> > I am not able to join on next community meeting due to work restrictions
> I
> > have. So I can not propose a topic. I am instead post my thoughts
> directly
> > to this list.
> > I think no 1 topic is to stabilise Dev efforts for SailfishOS.
> > I do not believe to simply put sailfish in multiple places will ensure
> its
> > existance. This would only be the case if SailfishOS would open source
> it's
> > Software. This would be the death of Jolla in my eyes at this point.
> >
> > I see rather a better strategy in a business model change. Instead of
> > trying to sell the OS to big companies sell the OS to your community.
>
> Selling it to bigger companies is the actual way to earn a lot of money.
>
> > I think the crowed funding method was quite successful. So I propose
> > another Crowed funding camagne. This has now to be a success. So I
> propose
> > something small. Like getting payment function into Jolla.
> > Perks could be to get better conditions after the Shop is live. Maybe
> 10% -
> > 50% off.
> > I do not know how much money you need to make add payment
> functionallities
> > and survive the next month)
>
> Won't generate enough revenue in this timeframe.
>
> >
> > Another step could be to have a System suscription. This system
> > subscription is made to ensure updates. It should not be much like 5-10
> > euros a month. Free of choice if possible, enforce if neccessary. I have
> no
> > feeling how close Jolla is to the death.
>
> You pay 260€ (now it is 200€ I know) to then pay another 120€ to get
> upgrades?
>
> > I do like the Crowed funding mythology of star citizen. Most of them can
> > not be reused. But in art of communication they are top. Maybe open up
> your
> > communication on development, would be great.
> >
> > I would also like to see more jolla stuff in the shop. I still want to
> buy
> > the external keyboard or the solar panel for jolla. Bit i still can not
> > find those in the Jolla shop. This is also an income Jolla must
> participate
> > in. Sell those stuff even from third party developers in your shop.
> > I refuse to buy from the third party 

Re: [SailfishDevel] [Minutes] SailfishOS community meeting 26.11 + planning for next one 3.12

2015-11-26 Thread E.S. Rosenberg
2015-11-27 9:28 GMT+02:00 Peter Kovacs :

> Hello,
>
> I am not able to join on next community meeting due to work restrictions I
> have. So I can not propose a topic. I am instead post my thoughts directly
> to this list.
> I think no 1 topic is to stabilise Dev efforts for SailfishOS.
> I do not believe to simply put sailfish in multiple places will ensure its
> existance. This would only be the case if SailfishOS would open source it's
> Software. This would be the death of Jolla in my eyes at this point.
>
> I see rather a better strategy in a business model change. Instead of
> trying to sell the OS to big companies sell the OS to your community.
> I think the crowed funding method was quite successful. So I propose
> another Crowed funding camagne. This has now to be a success. So I propose
> something small. Like getting payment function into Jolla.
> Perks could be to get better conditions after the Shop is live. Maybe 10%
> - 50% off.
>
So for your support now Jolla would either have to take 0 margin on every
purchase you make in the store or the application developer would have to
take a hit.

> I do not know how much money you need to make add payment functionallities
> and survive the next month)
>
> Another step could be to have a System suscription. This system
> subscription is made to ensure updates. It should not be much like 5-10
> euros a month. Free of choice if possible, enforce if neccessary. I have no
> feeling how close Jolla is to the death.
> I do like the Crowed funding mythology of star citizen. Most of them can
> not be reused. But in art of communication they are top. Maybe open up your
> communication on development, would be great.
>
I know I (and probably a lot of others) would turn my back on Jolla the
moment they adopted the evil model you describe above, the core of
jolla/sailfish OS is open source and to start demanding money for updates
is wrong.
Personally I have been on this adventure since the days of the n900 and one
of the things that were/are very important to me is the fact that I know
that even if the company fails/pulls the plug there is a active community
that will continue to release bugfixes/improvements.
(BTW 5-10 EUR/month means you paid for another phone in 2 years, when I buy
a phone I estimate [price]/[expected use time] you just doubled the cost.)

> I would also like to see more jolla stuff in the shop. I still want to buy
> the external keyboard or the solar panel for jolla. Bit i still can not
> find those in the Jolla shop. This is also an income Jolla must participate
> in. Sell those stuff even from third party developers in your shop.
> I refuse to buy from the third party directly because I know how much
> jolla needs the money.
>
The whole point of open sourcing the spec was that Jolla wanted others to
create stuff for their phone, expand it etc. it is most likely more
expensive for jolla to start selling products made/designed by 3rd parties
because it means that they need to actually stock up on the product, sell a
certain amount to brake even, take the risk of not selling that amount,
take the risk of needing to replace faulty hardware at their cost and again
ending up losing money, do I need to continue?
Or alternatively they'd need to make the serious investment of developing
the product themselves which again has all the above points plus serious
R and QA costs.
The guys at funkyOH do great work and deserve the support just as much.

> Get the old hardware section of jolla to develop some more second half
> stuff. Like battery banks or 2nd phonecard connector. Maybe a mobility hub
> for pcs. I do not know.
>
> Sorry that this has nothing to do with development of source code. But I
> think this is not really time for dreaming of open Source.
>
> I know that you might not like this steps, but I think there is no chance
> in rearranging debts will lead you from the death valley you are in.
> That is only one way to get bankrupted fast.
> You must generate money quickly. That is the only way somebody will
> continue to invest into Jolla. And a credit is also an investment of sort.
>
> This is an unpleasant message of sort. But jolla should focus on those
> people has already convinced. Apple did that in their beginning. I know
> some and they agree first iPhone were not very good. I think the sailfish
> has potential but currently this potential is limited to the community you
> have. And this are the ones here who prepare their products for sailfish,
> and the ones who already spend money on the product.
>
> Please take a break from convincing people that can play Jolla against
> android, blackberry and iOS. You can return to that dream if you got out of
> the valley.
>
> I have time from 14th Dec till end of the year. I will participate then in
> the meetings and bug you to various topics around Jolla. I hope this helps.
>
So am I to understand that in the last Community meeting it was said that
Jolla is in a bad 

Re: [SailfishDevel] Not documented missing SDK features

2016-06-13 Thread E.S. Rosenberg
I don't mind the fact that they are missing, I mind the fact that the SDK
doesn't give a clear error and that it is not documented, instead of
spending my time in a useful way I spent it trying to solve a problem that
wasn't there because the error doesn't read "not implemented" but rather a
potentially normal error that could be caused by a ton of different
things...

2016-06-13 12:24 GMT+03:00 Alexey Andreyev <yetanotherandre...@gmail.com>:

> Hello! I'm not from Jolla, but I'm also working with the SDK.
> As I can see, Jolla is not a super-huge company, but there are a lot of
> hard tasks to solve...
> I know some guy (also not from Jolla) who also needs some missing SDK
> emulator features (let's say GPS coords, etc),
> if you want to help, we can start some project to implement missing SDK
> features for the emulator.
>
> 2016-06-13 11:00 GMT+03:00 E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>> Hi all,
>> After a week of trying to get sound working on the SDK only to discover
>> that the issue is the SDK doens't support it while my code works on my
>> phone I can only say I a very miffed.
>> Why doesn't the error message in the SDK reflect the fact that it
>> shouldn't work?
>> Or the docs, why is there no mention of this?
>> Why do I need to find a forum discussion that says "Oh yes, use your
>> phone as a deploy device instead"?
>>
>> I hope someone from Jolla on the list sees this and does something about
>> it, because waisting your developers' time is just about the best way of
>> showing you don't respect them.
>>
>> Regards,
>> Eli
>>
>> ___
>> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Not documented missing SDK features

2016-06-13 Thread E.S. Rosenberg
Hi all,
After a week of trying to get sound working on the SDK only to discover
that the issue is the SDK doens't support it while my code works on my
phone I can only say I a very miffed.
Why doesn't the error message in the SDK reflect the fact that it shouldn't
work?
Or the docs, why is there no mention of this?
Why do I need to find a forum discussion that says "Oh yes, use your phone
as a deploy device instead"?

I hope someone from Jolla on the list sees this and does something about
it, because waisting your developers' time is just about the best way of
showing you don't respect them.

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

Re: [SailfishDevel] Not documented missing SDK features

2016-06-13 Thread E.S. Rosenberg
2016-06-13 12:49 GMT+03:00 Alexey Andreyev <yetanotherandre...@gmail.com>:

> Yes, Eli, I've understood you.
> In my opinion, wriring good documentation (for example, similar to Qt
> which is probably the best documentation I've even seen) is also a very
> hard task to implement.
>
If you claim to want developers on your platform writing docs is one of the
most important tasks you have, now in their case of course they have the
luck that Qt is well documented.

> There are several communication channels (IRC, Telegram, email) --
>
But when no-one on IRC is aware of the SDK VM limitations either it starts
being a real problem

> I guess you should ask there first, in my opinion current state requires
> direct communication with the developers.
> Probably with your experience you could contribute to SDK documentation.
>
> P.S.: if you are talking not about HW emulation tasks, but about some libs
> missing try to check directly via emulator ssh.
>
> 2016-06-13 12:45 GMT+03:00 Kaj-Michael Lang <mil...@tal.org>:
>
>> On Mon, 2016-06-13 at 11:00 +0300, E.S. Rosenberg wrote:
>> > After a week of trying to get sound working on the SDK only to
>> > discover that the issue is the SDK doens't support it while my code
>> > works on my phone I can only say I a very miffed.
>>
>> Sounds strange, when I was testing my radio app tablet version sound was
>> working just fine. What exactly are you doing ?
>>
> QML QSoundEffect and Audio objects both didn't work in the SDK
Regards,
Eli

>
>> --
>> Kaj-Michael Lang <mil...@tal.org>
>>
>> ___
>> 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
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [Official Announcement] Join the Sailfish Community Device Program now!

2016-05-30 Thread E.S. Rosenberg
Talking about the size, if Jolla has any influence on the size of 3rd party
vendors can you please influence them to shrink a bit?
Even the size of the Jolla 1 is too large for proper single handed use,
swiping from the opposite side of the thumb holding the device is almost
impossible which kind of defeats the purpose of gesture based
interaction

2016-05-30 21:03 GMT+03:00 Michal Hrusecky :

> Erik Lundin - 19:57 30.05.16 wrote:
> > Den 2016-05-30 kl. 19:53, skrev Michal Hrusecky:
> > > one more question, are dimensions known? Would like to start looking
> for some
> > > case :-)
> >
> > Height: 142 mm
> > Width: 72 mm
> > Thickness: 9.6 mm
> >
> > Shamelessly copied from https://jolla.com/jollac/ (expand "View full
> specs")
> > :)
>
> Thanks! :-)
> ___
> 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] Device IP address

2016-05-11 Thread E.S. Rosenberg
ifconfig?
If QNetworkInterface is available you should have
http://doc.qt.io/qt-5/qnetworkinterface.html#allAddresses

(I think it probably is since it's most likely part of qnetwork which is
listed as available).

2016-05-11 18:48 GMT+03:00 Matthias Fehring :

> Hello list,
>
> I am searching for a way to get the currently used IP address of the
> device.
> Is there a Qt-way or some Sailfish/Mer specific API?
>
> Best greetings
> Matthias Fehring
>
> --
> Das Gesetz hat zum Schneckengang verdorben, was Adlerflug geworden wäre.
> (Friedrich Schiller - Die Räuber)
>
> Und der Buschfunk spielt gerade "Shadow Of The Dead" von "Anti-Flag".
>
> www.buschmann23.de
> GPG-Key: 0x614C3258
> GPG Fingerprint: B770 E0D0 69CF BFC1 5FE1 D78E 3A70 A936 614C 3258
>
> ___
> 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

[SailfishDevel] license of Sailfish app Icons

2016-08-10 Thread E.S. Rosenberg
Hi all,
Does anyone know under what license the Jolla/SailfishOS application icons
are?
Specifically I would like to modify the People application icon for my
application...
Thanks,
Eli
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Not documented missing SDK features

2016-06-28 Thread E.S. Rosenberg
Hi Martin,
First of thanks for looking into it!

Currently I am not near the computer on which it wasn't working, on my
laptop it does indeed work.
The OS on my laptop is Ubuntu Gnome 16.04, on the other computer Ubuntu
16.04.
I will get back to you when I can double check the other system, I suspect
that it may either be a hw/sw combination issue or a
configuration/installation issue on that system

Regards and thanks,
Eliyahu - אליהו


2016-06-28 11:15 GMT+03:00 Martin Kampas <martin.kam...@jolla.com>:

> Hello Eli,
>
> I have tested SoundEffect and Audio QML elements with SDK-1602 on Linux
> and it worked.
>
> SoundEffect element worked out of box. For Audio element to work I had to
> package my app with  "Requires:
> qt5-qtmultimedia-plugin-mediaservice-gstmediaplayer". There was a warning
> on application output which helped me to identify the missing requirements:
>
> [W] QPluginServiceProvider::requestService:437 -
> defaultServiceProvider::requestService(): no service found for -
> "org.qt-project.qt.mediaplayer"
>
> Does sound work for you at all in emulator? E.g. sound effects when
> closing applications or pulling down menus? What about "paplay
> /usr/share/sounds/jolla-ringtones/stereo/jolla-ringtone.wav" executed on
> emulator (logged in as user "nemo", not "root")?
>
> What platform do you use the SDK on? What is your VirtualBox version?
>
> BR,
> Martin
>
> --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of Martin Kampas [
> martin.kam...@jolla.com]
> *Sent:* Monday, June 13, 2016 2:21 PM
>
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] Not documented missing SDK features
>
> Hello Eli,
>
> here https://sailfishos.org/wiki/Application_SDK_Known_Issues
> <http://redir.aspx?REF=gQ3KQKIHjqU7l4WXAu6xr537olQe2Vz7xb4rxym24hYE1mkSKJ_TCAFodHRwczovL3NhaWxmaXNob3Mub3JnL3dpa2kvQXBwbGljYXRpb25fU0RLX0tub3duX0lzc3Vlcw..>
> you can find the list of *known* issues related to the SDK. Seems you
> just hit an unknown one. Thank you for reporting!
>
> Regards,
> Martin
>
> --
> *From:* devel-boun...@lists.sailfishos.org [
> devel-boun...@lists.sailfishos.org] on behalf of E.S. Rosenberg [
> es.rosenberg+sailfishos@gmail.com]
> *Sent:* Monday, June 13, 2016 11:39 AM
> *To:* Sailfish OS Developers
> *Subject:* Re: [SailfishDevel] Not documented missing SDK features
>
> I don't mind the fact that they are missing, I mind the fact that the SDK
> doesn't give a clear error and that it is not documented, instead of
> spending my time in a useful way I spent it trying to solve a problem that
> wasn't there because the error doesn't read "not implemented" but rather a
> potentially normal error that could be caused by a ton of different
> things...
>
> 2016-06-13 12:24 GMT+03:00 Alexey Andreyev <yetanotherandre...@gmail.com
> <http://UrlBlockedError.aspx>>:
>
>> Hello! I'm not from Jolla, but I'm also working with the SDK.
>> As I can see, Jolla is not a super-huge company, but there are a lot of
>> hard tasks to solve...
>> I know some guy (also not from Jolla) who also needs some missing SDK
>> emulator features (let's say GPS coords, etc),
>> if you want to help, we can start some project to implement missing SDK
>> features for the emulator.
>>
>> 2016-06-13 11:00 GMT+03:00 E.S. Rosenberg <
>> es.rosenberg+sailfishos@gmail.com <http://UrlBlockedError.aspx>>:
>>
>>> Hi all,
>>> After a week of trying to get sound working on the SDK only to discover
>>> that the issue is the SDK doens't support it while my code works on my
>>> phone I can only say I a very miffed.
>>> Why doesn't the error message in the SDK reflect the fact that it
>>> shouldn't work?
>>> Or the docs, why is there no mention of this?
>>> Why do I need to find a forum discussion that says "Oh yes, use your
>>> phone as a deploy device instead"?
>>>
>>> I hope someone from Jolla on the list sees this and does something about
>>> it, because waisting your developers' time is just about the best way of
>>> showing you don't respect them.
>>>
>>> Regards,
>>> Eli
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscr...@lists.sailfishos.org <http://UrlBlockedError.aspx>
>>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to
>> devel-unsubscr...@lists.sailfishos.org <http://UrlBlockedError.aspx>
>>
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [CardDAV] duplicate entries

2017-02-20 Thread E.S. Rosenberg
2017-02-20 3:41 GMT+02:00 Chris Adams <chris.ad...@jolla.com>:

> Hi Eli,
>
Hi Chris,

>
> Sorry for top posting, but OWA doesn't quote properly.
>
No problem

>
> Firstly, was_local contacts occur when a local (phone device) contact is
> aggregated into another contact which already had a local constituent.  We
> only allow one single local constituent per aggregate contact, so one of
> them gets demoted to was_local.  This can occur if you import from a .vcf
> or via Bluetooth, for example.
>
Is there somewhere I can read more on this subject?

>
> If you can reproduce the duplication event and provide sync logs of that
> event (as per https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_
> Contributions#Sync_Logs) that would be helpful!
>
I'll try.

>
> You should be able to delete the contacts from the database so long as you
> also delete any entries from the OOB table which relate to that CardDAV
> account.
>
So I actually deleted very aggressively yesterday (all carddav and all
google) but did not modify oob, which resulted in 0 contacts being read,
however even restoring the backed up contacts.db file does not fix this
issue.
Any pointers what may be going wrong or where to look would be very welcome.
Thanks,
Eli

>
> Best regards,
> Chris.
>
>
> ----------
> *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of E.S.
> Rosenberg [es.rosenberg+sailfishos@gmail.com]
> *Sent:* Monday, February 20, 2017 9:13 AM
> *To:* Sailfish OS Developers
> *Subject:* [SailfishDevel] [CardDAV] duplicate entries
>
> Hi everyone,
> Last week I noticed that my phone seems to have gone into similar behavior
> as I described a long time ago with google sync here:
> https://together.jolla.com/question/58416/fixing-the-contacts-db/
> <http://redir.aspx?REF=BkinU6px9FrM54d6ielCeDXCD5DIiZfVbcbzrM1uzBJs4ViOMFnUCAFodHRwczovL3RvZ2V0aGVyLmpvbGxhLmNvbS9xdWVzdGlvbi81ODQxNi9maXhpbmctdGhlLWNvbnRhY3RzLWRiLw..>
>
> I currenlty have 26k entries in contacts.db for 9xx contacts.
>
> I suspect that this may be linked to a stage where I was connected via a
> filtered provider that tried to MITM the connection and caused it to close
> with an authentication error, I'm going to clean it up the same way I
> described there and turn carddav back on but I am wondering if anyone else
> has experienced similar issues.
>
> Is anyone aware of any reason not to just delete everything with
> syncTarget == carddav (or != local)?
>
> Thanks,
> Eli
>
> Stats:
> 987aggregate
> 23128carddav
> 1419google
> 930local
> 2sim
> 65telepathy
> 2voicemail
> 3was_local
>
> What does 'was_local' mean?
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [CardDAV] duplicate entries

2017-02-20 Thread E.S. Rosenberg
2017-02-20 12:32 GMT+02:00 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> 2017-02-20 3:41 GMT+02:00 Chris Adams <chris.ad...@jolla.com>:
>
>> Hi Eli,
>>
> Hi Chris,
>
>>
>> Sorry for top posting, but OWA doesn't quote properly.
>>
> No problem
>
>>
>> Firstly, was_local contacts occur when a local (phone device) contact is
>> aggregated into another contact which already had a local constituent.  We
>> only allow one single local constituent per aggregate contact, so one of
>> them gets demoted to was_local.  This can occur if you import from a .vcf
>> or via Bluetooth, for example.
>>
> Is there somewhere I can read more on this subject?
>
>>
>> If you can reproduce the duplication event and provide sync logs of that
>> event (as per https://sailfishos.org/wiki/Ca
>> lDAV_and_CardDAV_Community_Contributions#Sync_Logs) that would be
>> helpful!
>>
> I'll try.
>
>>
>> You should be able to delete the contacts from the database so long as
>> you also delete any entries from the OOB table which relate to that CardDAV
>> account.
>>
> So I actually deleted very aggressively yesterday (all carddav and all
> google) but did not modify oob, which resulted in 0 contacts being read,
> however even restoring the backed up contacts.db file does not fix this
> issue.
> Any pointers what may be going wrong or where to look would be very
> welcome.
> Thanks,
> Eli
>

Tiny additional update:
>From digging through contacts.db it seems that it needs a lot more cleanup
then just the contacts table, tables with crazy counts:
addresses, birthdays, avatars, deletedcontacts (~4k entries), details
(>100k), emailaddresses, guids (~25k), organizations (~16k), phonenumbers
(~56k), relationships (~25k), urls.

Thanks,
Eli

>
>> Best regards,
>> Chris.
>>
>>
>> --
>> *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of E.S.
>> Rosenberg [es.rosenberg+sailfishos@gmail.com]
>> *Sent:* Monday, February 20, 2017 9:13 AM
>> *To:* Sailfish OS Developers
>> *Subject:* [SailfishDevel] [CardDAV] duplicate entries
>>
>> Hi everyone,
>> Last week I noticed that my phone seems to have gone into similar
>> behavior as I described a long time ago with google sync here:
>> https://together.jolla.com/question/58416/fixing-the-contacts-db/
>> <http://redir.aspx?REF=BkinU6px9FrM54d6ielCeDXCD5DIiZfVbcbzrM1uzBJs4ViOMFnUCAFodHRwczovL3RvZ2V0aGVyLmpvbGxhLmNvbS9xdWVzdGlvbi81ODQxNi9maXhpbmctdGhlLWNvbnRhY3RzLWRiLw..>
>>
>> I currenlty have 26k entries in contacts.db for 9xx contacts.
>>
>> I suspect that this may be linked to a stage where I was connected via a
>> filtered provider that tried to MITM the connection and caused it to close
>> with an authentication error, I'm going to clean it up the same way I
>> described there and turn carddav back on but I am wondering if anyone else
>> has experienced similar issues.
>>
>> Is anyone aware of any reason not to just delete everything with
>> syncTarget == carddav (or != local)?
>>
>> Thanks,
>> Eli
>>
>> Stats:
>> 987aggregate
>> 23128carddav
>> 1419google
>> 930local
>> 2sim
>> 65telepathy
>> 2voicemail
>> 3was_local
>>
>> What does 'was_local' mean?
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [CardDAV] duplicate entries

2017-02-20 Thread E.S. Rosenberg
2017-02-20 12:54 GMT+02:00 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> 2017-02-20 12:32 GMT+02:00 E.S. Rosenberg <es.rosenberg+sailfishos.org@
> gmail.com>:
>
>> 2017-02-20 3:41 GMT+02:00 Chris Adams <chris.ad...@jolla.com>:
>>
>>> Hi Eli,
>>>
>> Hi Chris,
>>
>>>
>>> Sorry for top posting, but OWA doesn't quote properly.
>>>
>> No problem
>>
>>>
>>> Firstly, was_local contacts occur when a local (phone device) contact is
>>> aggregated into another contact which already had a local constituent.  We
>>> only allow one single local constituent per aggregate contact, so one of
>>> them gets demoted to was_local.  This can occur if you import from a .vcf
>>> or via Bluetooth, for example.
>>>
>> Is there somewhere I can read more on this subject?
>>
>>>
>>> If you can reproduce the duplication event and provide sync logs of that
>>> event (as per https://sailfishos.org/wiki/Ca
>>> lDAV_and_CardDAV_Community_Contributions#Sync_Logs) that would be
>>> helpful!
>>>
>> I'll try.
>>
>>>
>>> You should be able to delete the contacts from the database so long as
>>> you also delete any entries from the OOB table which relate to that CardDAV
>>> account.
>>>
>> So I actually deleted very aggressively yesterday (all carddav and all
>> google) but did not modify oob, which resulted in 0 contacts being read,
>> however even restoring the backed up contacts.db file does not fix this
>> issue.
>> Any pointers what may be going wrong or where to look would be very
>> welcome.
>> Thanks,
>> Eli
>>
>
> Tiny additional update:
> From digging through contacts.db it seems that it needs a lot more cleanup
> then just the contacts table, tables with crazy counts:
> addresses, birthdays, avatars, deletedcontacts (~4k entries), details
> (>100k), emailaddresses, guids (~25k), organizations (~16k), phonenumbers
> (~56k), relationships (~25k), urls.
>
> Thanks,
> Eli
>
It seems I made a mistake when restoring the backup I now again have all my
contacts :)

Now my first step I think is going to be to cleanly remove all carddav sync
data, any pointers on that will be much appreciated (I assume I need to
somehow cascade the delete into all the linked tables), when that is done
I'll turn carddav back on and see if I can again trigger such a sync
situation with logs.

Thanks,
Eli

>
>>> Best regards,
>>> Chris.
>>>
>>>
>>> --
>>> *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of E.S.
>>> Rosenberg [es.rosenberg+sailfishos@gmail.com]
>>> *Sent:* Monday, February 20, 2017 9:13 AM
>>> *To:* Sailfish OS Developers
>>> *Subject:* [SailfishDevel] [CardDAV] duplicate entries
>>>
>>> Hi everyone,
>>> Last week I noticed that my phone seems to have gone into similar
>>> behavior as I described a long time ago with google sync here:
>>> https://together.jolla.com/question/58416/fixing-the-contacts-db/
>>> <http://redir.aspx?REF=BkinU6px9FrM54d6ielCeDXCD5DIiZfVbcbzrM1uzBJs4ViOMFnUCAFodHRwczovL3RvZ2V0aGVyLmpvbGxhLmNvbS9xdWVzdGlvbi81ODQxNi9maXhpbmctdGhlLWNvbnRhY3RzLWRiLw..>
>>>
>>> I currenlty have 26k entries in contacts.db for 9xx contacts.
>>>
>>> I suspect that this may be linked to a stage where I was connected via a
>>> filtered provider that tried to MITM the connection and caused it to close
>>> with an authentication error, I'm going to clean it up the same way I
>>> described there and turn carddav back on but I am wondering if anyone else
>>> has experienced similar issues.
>>>
>>> Is anyone aware of any reason not to just delete everything with
>>> syncTarget == carddav (or != local)?
>>>
>>> Thanks,
>>> Eli
>>>
>>> Stats:
>>> 987aggregate
>>> 23128carddav
>>> 1419google
>>> 930local
>>> 2sim
>>> 65telepathy
>>> 2voicemail
>>> 3was_local
>>>
>>> What does 'was_local' mean?
>>>
>>> ___
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>> shos.org
>>>
>>
>>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] [CardDAV] duplicate entries

2017-02-19 Thread E.S. Rosenberg
Hi everyone,
Last week I noticed that my phone seems to have gone into similar behavior
as I described a long time ago with google sync here:
https://together.jolla.com/question/58416/fixing-the-contacts-db/

I currenlty have 26k entries in contacts.db for 9xx contacts.

I suspect that this may be linked to a stage where I was connected via a
filtered provider that tried to MITM the connection and caused it to close
with an authentication error, I'm going to clean it up the same way I
described there and turn carddav back on but I am wondering if anyone else
has experienced similar issues.

Is anyone aware of any reason not to just delete everything with syncTarget
== carddav (or != local)?

Thanks,
Eli

Stats:
987aggregate
23128carddav
1419google
930local
2sim
65telepathy
2voicemail
3was_local

What does 'was_local' mean?
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Long term TCP connection

2017-01-18 Thread E.S. Rosenberg
The only scenario where you can say "I expected longer times" with any
certainty is wired LAN where both parties are on the same switched LAN and
there was no significant load on either party or the switch.

The moment you're dealing with wireless signals you added so many things
into the equation that can mess up your connection that a continuous
connection of a half hour that is only being kept alive with the occasional
ping is very nice.
Depending on the settings if the connection is such that you require more
then one ping/keepalive to be lost before it is torn down that may help it,
this basically requires you to know what the settings are on the serverside
stack of how long it is willing to maintain an idle connection and setting
your ping/keepalive to be x times more often then the window where x is a
nice balance between the phones' battery usage and keeping the connection
alive.

With Whatsapp it's really just an "allow this android service to run at
startup" as far as I understand things, how/if that exists for Jolla
applications I don't know.

HTH,
Eli

2017-01-18 13:45 GMT+02:00 george b :

> Of course, one can't expect a stable TCP connection on a mobile device
> upon regular use. You are right, the app has to deal with this cases and
> reconnect in case of a network error.
>
> But my testing environment was using wifi only. And I expected the TCP
> connection to last longer then just 30 minutes and then collaps.
>
> One other thing:
> What do I need to implement to allow an app to be configured to run as a
> background service? Like WhatsApp in Settings -> Apps -> WhatsApp -> 'Allow
> start of background services on device turn on'?
>
> And what is the consequence of these setting? Is the app just started
> 'headless' on device boot up?
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SQLite linking

2017-01-18 Thread E.S. Rosenberg
Though I have not done this myself yet 2 observations based on your mail:
1. Removing it from the dependency spec is bad (unless you statically link
see point 2), though it is currently widely used by system applications and
3rd party applications alike you can never know if in the future someone
decides that some other technology is replacing it and is great, if you did
not declare "I need sqlite3" then it will just be removed and you'll be
left scratching your head why your application stopped working.

2. Though attractive from the point of view of making your application
self-contained as you point out yourself static linking will result in a
lot of unnecessary bloat and also force you to maintain that part of your
application rebuilding/publishing every time a vulnerability is found in
sqlite3 plus that there is really no valid reason to install a new copy of
sqlite3 for every program installed.

Is the automatic checker not allowing it through with sqlite3 as a
requirement? Are you sure that you used the packagename used on jolla
systems for the requirement?

HTH,
Eli

2017-01-18 12:50 GMT+02:00 rinigus :

> Hi!
>
> I wonder what is the best practice concerning linking to sqlite3?
>
> It's probably always installed on devices/emulators and there is no
> problem with deployment of an app requiring it. However, its a bit odd to
> just cancel off the requirement in RPM SPEC, as I am supposed to do to get
> it through automatic checker.
>
> Alternatively, I could embed sqlite into my compiled code. The app is huge
> already anyway since it needs several specialized libraries and even larger
> datasets, so having sqlite embedded would probably be not a biggest concern
> anyway (well, haven't tested it though).
>
> So, to summarize, what would be recommended practice in this case?
>
> cheers,
>
> Rinigus
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Connect to 2 databases

2016-09-14 Thread E.S. Rosenberg
Assuming you need SQLite since you are developing for SailfishOS the first
result here seems to be what you are looking for:
https://www.google.nl/search?q=c%2B%2B+sqlite

Instead of creating one SQLite object you create 2 or more, one for each
database though if you are opening a lot of databases you might want to
consider if they shouldn't all be different tables in the same database.

Of course you could also be more forthcoming about what exact db you're
trying to connect to and what you tried so that we don't do double work for
you, I believe as a community we need to be helpful etc. but as a member
looking for help I also need to do my due diligence, without that expect
short basic answers or none...

The general idea should be along these lines:

sqlite3 *db1, *db2;
sqlite_open(path1, );
sqlite_open(path2, );

Regards,
Eli

2016-09-14 18:03 GMT+03:00 Chris Walker <
cdw_noki...@the-walker-household.co.uk>:

> On Wed, 14 Sep 2016 00:19:02 +0300
> "E.S. Rosenberg" <es.rosenberg+sailfishos@gmail.com> wrote:
>
> > 2 different connection objects?
> >
> > 2016-09-08 16:40 GMT+03:00 Chris Walker <
> > cdw_noki...@the-walker-household.co.uk>:
> >
> > > Can anybody point me in the direction of some C++ code to connect to
> > > two SQL databases please?
>
> I'd like to point out the wording of my question? I said ".. point me in
> the direction of some code". So can anybody help with that please?
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Connect to 2 databases

2016-09-13 Thread E.S. Rosenberg
2 different connection objects?

2016-09-08 16:40 GMT+03:00 Chris Walker <
cdw_noki...@the-walker-household.co.uk>:

> Can anybody point me in the direction of some C++ code to connect to
> two SQL databases please?
>
> I want to have one set as read-only and the other as read-write.
>
> Whatever I'm doing is wrong as I always end up with a default
> connection.
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] App doenst launch in intex aqua fish

2016-11-20 Thread E.S. Rosenberg
I was thinking in the follow direction of the SSH key, could it be it
doesn't like/support multiple keys?

2016-11-20 21:14 GMT+02:00 Tone Kastlunger :

> Hey!
> A shot in the dark,
> did you corretly package your qml files?
>
> Best,
> tortoisedoc
>
> On Sun, Nov 20, 2016 at 1:19 AM, joao morgado 
> wrote:
>
>> I have removed the app and sailfish ide and reinstalled it again. No app
>> on the phone and now I have a messed up arm kit that doenst work, not sure
>> how I make it work the first time. I also have tried on windows, also
>> doenst work I have this error
>>
>> https://s13.postimg.org/x2mnwo3uv/qtcreator_kit_error.png
>>
>> Any ideias how to fix the kit ?
>>
>>
>> Em Sábado, 12 de Novembro de 2016 9:30, Chris Walker <
>> cdw_noki...@the-walker-household.co.uk> escreveu:
>>
>>
>> On Sat, 12 Nov 2016 08:03:41 + (UTC)
>>
>> joao morgado  wrote:
>>
>> > Hi sailors
>> > My intex aqua fish arrived  few days a go, so it's coding time :)
>> > I activated the developer mode, installed latest Sailfish sdk,
>> > sucessfully connected the device by wifi / ssh and deployed a
>> > template QtCreator Sailfish OS Qtquick application. The template app
>> > runs fine on the emulator, but on the intex it faills at launch
>> > without any error, I only get an "Application finished with exit code
>> > 0." in qtcreator output window. I didnt change any code yet, so its
>> > not a bug related with code. When tapping the app icon on the device,
>> > the app tries to load during a few seconds, but then it fails. I also
>> > experienced some computer crashs during build. I'm runing a core i7
>> > laptop with nvidia 840m, with latest mint cinamon 64bits. So I stuck
>> > at the very begginig, any suggestions on what to do ?
>>
>>
>> As you can SSH into the device, can you not start the application from
>> the command line and see what the app returns by way of failure mode?
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to upgrade/replace factory image

2016-10-31 Thread E.S. Rosenberg
There's OTA upgrades but there's also guides on flashing the Jolla 1 which
is presumably very similar to flashing the Jolla C, you can find them by
searching "jolla flasher" on google.
HTH,
Eli

2016-10-26 23:19 GMT+03:00 Jozef Macko :

> Hello everbody,
>
> Could you help me how i can upgrade / replace old factory image delivery
> with Jolla C with a new one.
>
> Thanks.
>
> __
>
>
>
> s pozdravom | best regards
>
> Jozef *Macko*
>
>
>
> +421 908 95 14 14 <+421%20905%20319%C2%A0399>
>
> j.macko...@gmail.com
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Troubleshooting *DAV

2017-01-05 Thread E.S. Rosenberg
Hi Chirs et al,

Sorry it took me a while had another look today.
Through your instructions I found the following line:
Jan 05 21:38:41 Sailfish carddav-client[2705]: [W]
CardDav::sslErrorsOccurred:451 - void CardDav::sslErrorsOccurred(const
QList&) SSL errors occurred, aborting: ("The issuer certificate
of a locally looked up certificate could not be found", "No certificates
could be verified")

This reminded me of the fact that SSL checkers had pointed out that I was
not using the fullchain cert, though browsers seemed (both on Jolla and
desktop Linux) to still trust my server it seems the carddav client did
need the full chain, after turning that on it started working.

Side question:
Will changes I make server side to my contacts sync back into my phone or
should I edit my contacts on the phone only? (I recall there are 2 contact
dbs one that only root can edit and the other one 'overlays' it)

Thanks!
Eli

2016-12-21 2:35 GMT+02:00 Chris Adams <chris.ad...@jolla.com>:

> Hi Eli,
>
> Sorry for top posting but I'm on OWA which doesn't handle quoting
> unfortunately.
> Please see https://sailfishos.org/wiki/CalDAV_and_CardDAV_Community_
> Contributions#Sync_Logs for information about collecting debug output
> from the C*DAV plugins.
>
> Your issue sounds a lot like https://bugs.merproject.org/
> show_bug.cgi?id=1689 although it may not be due to a captive portal in
> your case but instead some particular SSL response case which we may not
> handle correctly.
>
> Best regards,
> Chris.
>
> ____
> From: Devel [devel-boun...@lists.sailfishos.org] on behalf of E.S.
> Rosenberg [es.rosenberg+sailfishos@gmail.com]
> Sent: Wednesday, December 21, 2016 8:12 AM
> To: Sailfish OS Developers
> Subject: [SailfishDevel] Troubleshooting *DAV
>
> Hi everyone,
> This is mainly to the gals and girls working on the *DAV support.
>
> Can anyone give me some pointers on how to trouble shoot on the Jolla side?
>
>
> Problem details:
> I set up a sogo 3 (nightly) server to have something to sync my
> calander and contacts against.
>
> When I create the *DAV account it allows me to save but then it
> immediately after that when it tries to sync fails with "Account needs
> to be updated" (new password).
>
> On the server side I see the following 4 requests come in while I am
> creating the account:
>  [ip] "PROPFIND /SOGo/dav/[user] HTTP/1.1" 401 0/85 0.198 - - 0
>  [ip] "PROPFIND /SOGo/dav/[user] HTTP/1.1" 207 324/85 0.274 - - 0
>  [ip] "PROPFIND /SOGo/dav/[user] HTTP/1.1" 207 364/120 0.203 - - 0
>  [ip] "PROPFIND /SOGo/dav/[user]/Calendar/ HTTP/1.1" 207 473/273 0.213
> 2124 77% 0
>
> After which no further requests are seen *ever*, not after I enter a
> new password or anything else.
>
> Connection (jolla): 3/4G (carrier grade NAT)
> Server side: https, allowing only TLS >= 1.0 and strong ciphers.
>
> So any suggestions on how to further troubleshoot this are very welcome.
>
> Thanks!
> Eli
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] Troubleshooting *DAV

2016-12-20 Thread E.S. Rosenberg
Hi everyone,
This is mainly to the gals and girls working on the *DAV support.

Can anyone give me some pointers on how to trouble shoot on the Jolla side?


Problem details:
I set up a sogo 3 (nightly) server to have something to sync my
calander and contacts against.

When I create the *DAV account it allows me to save but then it
immediately after that when it tries to sync fails with "Account needs
to be updated" (new password).

On the server side I see the following 4 requests come in while I am
creating the account:
 [ip] "PROPFIND /SOGo/dav/[user] HTTP/1.1" 401 0/85 0.198 - - 0
 [ip] "PROPFIND /SOGo/dav/[user] HTTP/1.1" 207 324/85 0.274 - - 0
 [ip] "PROPFIND /SOGo/dav/[user] HTTP/1.1" 207 364/120 0.203 - - 0
 [ip] "PROPFIND /SOGo/dav/[user]/Calendar/ HTTP/1.1" 207 473/273 0.213
2124 77% 0

After which no further requests are seen *ever*, not after I enter a
new password or anything else.

Connection (jolla): 3/4G (carrier grade NAT)
Server side: https, allowing only TLS >= 1.0 and strong ciphers.

So any suggestions on how to further troubleshoot this are very welcome.

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

Re: [SailfishDevel] lock JP01 on 4G, is it possible?

2017-04-11 Thread E.S. Rosenberg
The dialog in System Settings should be enough, it should be noted though
that LTE did not usually support voice calls so when you are making the
call the phone always needs to switch back to UMTS (things may have
changed).

2017-04-10 16:25 GMT+03:00 :

> This should force lte (calls will most likely be disabled, change 'lte' to
> 'any' to switch back):
>
> dbus-send --system --print-reply --dest=org.ofono /ril_0 org
> .ofono.RadioSettings.SetProperty string:"TechnologyPreference"
> variant:string:"
> lte"
>
> (or at least this used to work in 2014)
>
>
> On Monday, 10 April 2017, Claudio Campeggi wrote:
> > Hi,
> > in the past I used the Radio Switch app (on warehouse) to lock my JP01
> > on 4G network (it seems that if 3G signal is low sailfish doesn't search
> > for 4G networks, but in my area 3g is 2100MHz and 4g on 800MHz, so it
> > penetrates the building walls way better), but a while ago the 4G mode
> > stopped working because the bash command use was no longer working.
> >
> > I'm writing to know if it's still possible with a new bash command to
> > lock the phone in 4G only mode, and if so how.
> >
> > I do know there is the "more network modes" patch but I would like to
> > avoid to use patches.
> >
> > Thank you
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.or
>
> --
> Sent from my Jolla
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] CLI update

2017-04-11 Thread E.S. Rosenberg
Can I somehow run the update process from CLI?
Currently my Jolla (1) is running 2.1.0.9 and every time I try to update
through the GUI I get "Could not determine the size of the update".

Non-standard things about my phone:
- Using 32G SD card formatted with btrfs mounted for android and sdcard.

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

Re: [SailfishDevel] CLI update

2017-04-21 Thread E.S. Rosenberg
So when I try to run "ssu up" I get:
Device is not registered, can't update credentials

And when I run "ssu r" I get
Last operation failed:
Host requires authentication

Even though I use the same account/credentials as in the store



2017-04-20 18:59 GMT+03:00 Krzysztof Lesiak <wave@hotmail.com>:

> What about this: https://together.jolla.com/question/50986/howto-how-to-
> revert-to-an-earlier-sailfish-os-version/?answer=51003#post-id-51003
>
> It's about downgrading, but should work the same for upgrades.
> On Apr 20, 2017 5:51 PM, "E.S. Rosenberg" <es.rosenberg+sailfishos.org@
> gmail.com> wrote:
>
> Anyone?
>
> 2017-04-12 0:10 GMT+03:00 E.S. Rosenberg <es.rosenberg+sailfishos.org@
> gmail.com>:
>
>> Can I somehow run the update process from CLI?
>> Currently my Jolla (1) is running 2.1.0.9 and every time I try to update
>> through the GUI I get "Could not determine the size of the update".
>>
>> Non-standard things about my phone:
>> - Using 32G SD card formatted with btrfs mounted for android and sdcard.
>>
>> Thanks,
>> Eli
>>
>
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] CLI update

2017-04-21 Thread E.S. Rosenberg
Yes, but at least according to the ssu help output:
ssu up == update system
ssu r == register device

And it seemed logical to use ssu r when the first error message is "Device
not registered"...

Will try ssu re 2.1.0.11 instead later...

2017-04-21 14:10 GMT+03:00 Andrey Kozhevnikov <coderusin...@gmail.com>:

> there are no "ssu up" and "ssu r" in article
> https://together.jolla.com/question/50986/howto-how-to-rever
> t-to-an-earlier-sailfish-os-version/?answer=51003#post-id-51003
>
> 21.04.2017 14:05, E.S. Rosenberg пишет:
>
> So when I try to run "ssu up" I get:
> Device is not registered, can't update credentials
>
> And when I run "ssu r" I get
> Last operation failed:
> Host requires authentication
>
> Even though I use the same account/credentials as in the store
>
>
>
> 2017-04-20 18:59 GMT+03:00 Krzysztof Lesiak <wave@hotmail.com>:
>
>> What about this: https://together.jolla.com/que
>> stion/50986/howto-how-to-revert-to-an-earlier-sailfish-os-
>> version/?answer=51003#post-id-51003
>>
>> It's about downgrading, but should work the same for upgrades.
>> On Apr 20, 2017 5:51 PM, "E.S. Rosenberg" <es.rosenberg+sailfishos.org@g
>> mail.com> wrote:
>>
>> Anyone?
>>
>> 2017-04-12 0:10 GMT+03:00 E.S. Rosenberg <es.rosenberg+sailfishos.org@g
>> mail.com>:
>>
>>> Can I somehow run the update process from CLI?
>>> Currently my Jolla (1) is running 2.1.0.9 and every time I try to update
>>> through the GUI I get "Could not determine the size of the update".
>>>
>>> Non-standard things about my phone:
>>> - Using 32G SD card formatted with btrfs mounted for android and sdcard.
>>>
>>> Thanks,
>>> Eli
>>>
>>
>>
>> ___
>> SailfishOS.org Devel mailing list
>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>> shos.org
>>
>
>
>
> ___
> 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-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] CLI update

2017-04-20 Thread E.S. Rosenberg
Anyone?

2017-04-12 0:10 GMT+03:00 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> Can I somehow run the update process from CLI?
> Currently my Jolla (1) is running 2.1.0.9 and every time I try to update
> through the GUI I get "Could not determine the size of the update".
>
> Non-standard things about my phone:
> - Using 32G SD card formatted with btrfs mounted for android and sdcard.
>
> Thanks,
> Eli
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [CardDAV] duplicate entries

2017-03-02 Thread E.S. Rosenberg
2017-02-20 20:32 GMT+02:00 E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

>
>
> 2017-02-20 12:54 GMT+02:00 E.S. Rosenberg <es.rosenberg+sailfishos.org@
> gmail.com>:
>
>> 2017-02-20 12:32 GMT+02:00 E.S. Rosenberg <es.rosenberg+sailfishos.org@g
>> mail.com>:
>>
>>> 2017-02-20 3:41 GMT+02:00 Chris Adams <chris.ad...@jolla.com>:
>>>
>>>> Hi Eli,
>>>>
>>> Hi Chris,
>>>
>>>>
>>>> Sorry for top posting, but OWA doesn't quote properly.
>>>>
>>> No problem
>>>
>>>>
>>>> Firstly, was_local contacts occur when a local (phone device) contact
>>>> is aggregated into another contact which already had a local constituent.
>>>> We only allow one single local constituent per aggregate contact, so one of
>>>> them gets demoted to was_local.  This can occur if you import from a .vcf
>>>> or via Bluetooth, for example.
>>>>
>>> Is there somewhere I can read more on this subject?
>>>
>>>>
>>>> If you can reproduce the duplication event and provide sync logs of
>>>> that event (as per https://sailfishos.org/wiki/Ca
>>>> lDAV_and_CardDAV_Community_Contributions#Sync_Logs) that would be
>>>> helpful!
>>>>
>>> I'll try.
>>>
>>>>
>>>> You should be able to delete the contacts from the database so long as
>>>> you also delete any entries from the OOB table which relate to that CardDAV
>>>> account.
>>>>
>>> So I actually deleted very aggressively yesterday (all carddav and all
>>> google) but did not modify oob, which resulted in 0 contacts being read,
>>> however even restoring the backed up contacts.db file does not fix this
>>> issue.
>>> Any pointers what may be going wrong or where to look would be very
>>> welcome.
>>> Thanks,
>>> Eli
>>>
>>
>> Tiny additional update:
>> From digging through contacts.db it seems that it needs a lot more
>> cleanup then just the contacts table, tables with crazy counts:
>> addresses, birthdays, avatars, deletedcontacts (~4k entries), details
>> (>100k), emailaddresses, guids (~25k), organizations (~16k), phonenumbers
>> (~56k), relationships (~25k), urls.
>>
>> Thanks,
>> Eli
>>
> It seems I made a mistake when restoring the backup I now again have all
> my contacts :)
>
> Now my first step I think is going to be to cleanly remove all carddav
> sync data, any pointers on that will be much appreciated (I assume I need
> to somehow cascade the delete into all the linked tables), when that is
> done I'll turn carddav back on and see if I can again trigger such a sync
> situation with logs.
>
> Thanks,
> Eli
>

Hi Chris,
Is there any chance you can provide a schematic overview of the contacts.db
file of the different relations etc.?
I really want to clean up but reverse engineering from column names is
sub-ideal.
Thanks,
Eli

>
>
>>>> Best regards,
>>>> Chris.
>>>>
>>>>
>>>> --
>>>> *From:* Devel [devel-boun...@lists.sailfishos.org] on behalf of E.S.
>>>> Rosenberg [es.rosenberg+sailfishos@gmail.com]
>>>> *Sent:* Monday, February 20, 2017 9:13 AM
>>>> *To:* Sailfish OS Developers
>>>> *Subject:* [SailfishDevel] [CardDAV] duplicate entries
>>>>
>>>> Hi everyone,
>>>> Last week I noticed that my phone seems to have gone into similar
>>>> behavior as I described a long time ago with google sync here:
>>>> https://together.jolla.com/question/58416/fixing-the-contacts-db/
>>>> <http://redir.aspx?REF=BkinU6px9FrM54d6ielCeDXCD5DIiZfVbcbzrM1uzBJs4ViOMFnUCAFodHRwczovL3RvZ2V0aGVyLmpvbGxhLmNvbS9xdWVzdGlvbi81ODQxNi9maXhpbmctdGhlLWNvbnRhY3RzLWRiLw..>
>>>>
>>>> I currenlty have 26k entries in contacts.db for 9xx contacts.
>>>>
>>>> I suspect that this may be linked to a stage where I was connected via
>>>> a filtered provider that tried to MITM the connection and caused it to
>>>> close with an authentication error, I'm going to clean it up the same way I
>>>> described there and turn carddav back on but I am wondering if anyone else
>>>> has experienced similar issues.
>>>>
>>>> Is anyone aware of any reason not to just delete everything with
>>>> syncTarget == carddav (or != local)?
>>>>
>>>> Thanks,
>>>> Eli
>>>>
>>>> Stats:
>>>> 987aggregate
>>>> 23128carddav
>>>> 1419google
>>>> 930local
>>>> 2sim
>>>> 65telepathy
>>>> 2voicemail
>>>> 3was_local
>>>>
>>>> What does 'was_local' mean?
>>>>
>>>> ___
>>>> SailfishOS.org Devel mailing list
>>>> To unsubscribe, please send a mail to devel-unsubscribe@lists.sailfi
>>>> shos.org
>>>>
>>>
>>>
>>
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] CLI update

2017-04-25 Thread E.S. Rosenberg
Neither "pkcon update" nor "ssu re 2.1.0.11" helped in any way

As a side note to the Jolla peeps: it's ridiculous that the error message
of the store show and then just disappears instead of remaining as a
notification, I must have initially ran "download" a bunch of times before
I was finally looking at my screen while it failed.

2017-04-25 18:46 GMT+03:00 Ove Kåven <p...@ovekaaven.com>:

> Den 11. april 2017 23:10, skrev E.S. Rosenberg:
> > Can I somehow run the update process from CLI?
>
> If you have to, you can try the "pkcon" command (e.g. pkcon update),
> though I'm not sure it would do the same thing as the standard updater.
>
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe@lists.
> sailfishos.org
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] qt upgrade

2019-02-10 Thread E.S. Rosenberg
Flatpak would make our phones so much more insecure - instead of Jolla
updating bad/insecure libraries (which also happens at a pace that leaves
to be desired) you become dependent on the devs of the application you are
using doing that.

Since Jolla tries to have one of its' claims to fame be security it seems
that flatpak support should be just about the last thing they should
support.

Just my 2c

Op zo 10 feb. 2019 om 22:56 schreef Martin Kolman :

> Sun, 10 Feb 2019 09:56:06 +0200 Rinigus 
> :
>
> Morning,
>
> suggestion to consider Qt 5.12 in /opt comes from the following:
>
> * newer web engine
> * we can use and contribute to the code written for Plasma with its
> Kirigami
>
> It will not bring native new applications, we don't have Silica for it.
> However, I personally think it makes more sense to use and help out with
> the development of Linux-based solutions than to use Android-provided web
> browsers through SFOS Android compatibility layer.
>
> This would not to be intended to be installed in /usr and having platform
> supporting multiple Qt versions at once. I have no idea whether its
> possible and no desire to get into messing up the system layer.
>
> Dmitriy: I don't know whether you can mix different Qt versions in the
> same application. In this respect, yes, you could probably ship Qt 512
> stack fully, but would probably have to stay away from the system-provided
> Qt.
>
> Leszek: fragmentation is to be considered, indeed. But, as far as I
> understood, it makes sense to develop browser against the last version of
> Qt. In some aspect, using Qt59 on SFOS contributes to fragmentation in a
> way that we, on SFOS, will be using the version that is slowly phased out
> already. At present, Kirigami is developed using Qt512, with Qt511 version
> having at least one bug that will never be fixed. Not sure whether Kirigami
> runs against Qt59. So, if we would like to run Kirigami apps, Qt 5.12 is
> most probably needed.
>
> I hope eventually support for using Flatpak for package distribution is
> added to Sailfish OS, as that would make it possible to decouple the
> "system" Qt version from the "application" Qt version. Updating the system
> version would not longer risk breakage in third party applications and
> could be done on it's own, likely slower, pace. On the other hand updating
> the "application" Qt would mean just releasing a new Flatpak runtime with
> the updated Qt version. Old application would continue working with old
> runtime/-s while new apps would be able to use all the new goodies
> available via the new runtime. IIRC this is already being done for Qt on
> the desktop via the Flatpak runtimes maintained by the KDE project.
>
> Of course there are some trade-offs and things to consider - you would
> have to, in some capacity, maintain multiple versions of Qt and system
> libraries in parallel. On the other hand, each Qt version would be either a
> "system" only one or "application" one. Not one that needs to be perfect or
> else both the system and apps will stop working. This could help to reduce
> the maintenance burden somewhat.
>
> Also, even if it would be nice to keep all older runtimes around so that
> all old (and likely abandoned) apps continue working, it would be likely
> prudent to stop maintaining old runtimes after a while to keep the
> maintenance burden reasonable.
>
> There is also a question if this is something that community can at least
> start or Jolla involvement is needed. As already mentioned in the thread,
> due to Silica still being closed source a community only Flatpak effort
> likely could not support running Silica applications. A Jolla provided
> runtime - or open source Silica - would be needed for that.
>
>
>
> Cheers,
>
> Rinigus
>
> On Sun, Feb 10, 2019 at 8:55 AM Dmitriy Purgin  wrote:
>
>> Hi all,
>>
>> if there are some parts of the newer Qt you need in your app, you can
>> always compile it yourself, link your app against the newer version and
>> ship these libraries with your app.
>>
>> Cheers
>> Dmitriy
>>
>> On Sat, Feb 9, 2019 at 6:44 PM rinigus  wrote:
>>
>>> Hi,
>>>
>>> sounds like there are porting and licensing issues on the way of getting
>>> qt 5.9 for SFOS (see logs from the last #mer-meeting). Its all
>>> understandable, but it would be great to get a way forward. Not sure
>>> whether it has been considered by others and I wonder whether we can make a
>>> separate Qt 5.12 packages for /opt/qt512?
>>>
>>> From a quick test, it is possible to run non-silica applications as well
>>> (tested with qmlscene and QML with plain Window). In that test, even
>>> keyboard worked as expected. Look was non-native, but let it be for now.
>>>
>>> So, I wonder, whether its possible to get Qt 5.12 compiled with
>>> /opt/qt512 prefix and then use it for development using the latest libs
>>> (new web browser?) and collaborate with other mobile Linux'es out there. As
>>> far as I remember, Wayland was rather old and, maybe, it will preclude 

Re: [SailfishDevel] Fwd: [python/qml] packaging issues

2019-07-11 Thread E.S. Rosenberg
Op do 11 jul. 2019 om 21:51 schreef Oskar Roesler via Devel <
devel@lists.sailfishos.org>:

> Am 11.07.19 um 20:43 schrieb E.S. Rosenberg:
>
> Hi all,
> I'm trying to build the gpodder package with the SDK and am experiencing 2
> issues that I haven't managed to solve yet.
> 1. The package that gets built includes python bytecode files (*.pyc and
> *.pyo)
> 2. The package is architecture specific instead of "noarch"
>
> As said in IRC, you have to specify this in the .spec file.
>
Thanks, IRC was running on my aptop so I missed that :)
I'll continue to monitor there for now.

> I took the original gpodder and I added a .pro file so that the SDK can
> work with it and removed the rpm spec file which the SDK wants to
> autogenerate based on the .pro and the .yaml files as far as I understand.
>
> If gpodder is a cmake-based project, you should can/should use .spec
> directly.
>
I'm trying to make gpodder-sailfish build from the SDK, until now it was
being built by SSH'ing into the buildenv and manually building, though that
of course works I feel that it is a significant barrier to convenient and
quick development.
Strictly speaking it doesn't need any form of make, just a bunch of cp
commands to copy the right files to the right locations.

>
> Any help on how to fix the two above issues would be welcome.
>
> Also does harbour accept mpris now or does the fact that the SDK screams
> about that mean I have no chance of updating?
>
> Harbour still doesn't allow mpris.
>
:/ Oh well openrepos it is then.

>
> Thanks,
> Eli
>
> ___
> 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] [python/qml] packaging issues

2019-07-15 Thread E.S. Rosenberg
Op ma 15 jul. 2019 om 07:59 schreef Martin Kampas :

> Hi Eli,
>
>
>
> > 1. The package that gets built includes python bytecode files (*.pyc and
>
> > *.pyo)
>
>
>
> That's desired AFAIK
>
OK, not really clear to me why, either way it can be disabled with:
%define __os_install_post %{___build_post}
in the spec file.
If you are using the yaml file to generate the spec file then the above
needs to be placed in the macros section of the spec file and it will be
transferred to each new spec that is generated.

>
>
> > 2. The package is architecture specific instead of "noarch"
>
>
>
> You can add the following to your .yaml:
>
>
>
> BuildArch: noarch
>
Thanks, iirc they told on IRC

>
>
> > [...] which the SDK wants to
>
> > autogenerate based on the .pro and the .yaml files as far as I
> understand.
>
>
>
> Just the .yaml is consulted when generating the .spec.
>
In the end I deleted the yaml file and left only the spec file that I knew
to do what I wanted and it seems to work.

>
>
> > Also does harbour accept mpris now or does the fact that the SDK screams
>
> > about that mean I have no chance of updating?
>
>
>
> The two FAQ items https://harbour.jolla.com/faq#2.16.0 and
> https://harbour.jolla.com/faq#6.1.0 refer to the list of allowed
> dependencies - mpris is not listed there. You should be able to package
> mpris with you package to avoid the dependency on system mpris - such an
> approach is allowed of course.
>
I don't really understand why the dependency is not allowed.
The claim that "the API isn't stable yet" seems a bit outlandish when you
consider that MPRIS was added 2 years ago to gPodder and that the code
works without any modifications today.
The suggested workaround is a lot of work and leaves openings for security
holes since instead of using the automatically updated system version of a
library users will be at the mercy of the dev for updates to dependencies
(and considering the sheer ridiculous amount of orphaned apps in the store
that is just about the last thing you should want in your ecosystem).

Best regards and hoping to see some positive change soon,
Eli

>
>
> BR,
>
> Martin
>
>
> ___
> 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] Sailfish SDK 2.2 has been released to all users

2019-08-04 Thread E.S. Rosenberg
When repositories include references to minor versions that is what will
happen...

So does Jolla intend to fix this or we're stuck manually downgrading our
SDKs?

Op do 1 aug. 2019 om 11:49 schreef deloptes :

> E.S. Rosenberg wrote:
>
> > On together.jolla.com sashikknox suggested that the problem is that
> there
> > are no public 3.1 repositories yet thus no packages are available to the
> > SDK and software that has dependencies fails to build.
>
> OK, but if 3.1.0.11 works and 3.1.0.12 does not work, it means that this is
> the case only for 3.1.0.12.
>
>
>
> ___
> 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] Sailfish SDK 2.2 has been released to all users

2019-08-04 Thread E.S. Rosenberg
I'm still getting the same error, I ran check for updates with no effect.

Op zo 4 aug. 2019 om 16:05 schreef Андрей Кожевников :

> It is already fixed and 3.0.1.12 repos available
>
> вс, 4 авг. 2019 г., 15:21 E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>> When repositories include references to minor versions that is what will
>> happen...
>>
>> So does Jolla intend to fix this or we're stuck manually downgrading our
>> SDKs?
>>
>> Op do 1 aug. 2019 om 11:49 schreef deloptes :
>>
>>> E.S. Rosenberg wrote:
>>>
>>> > On together.jolla.com sashikknox suggested that the problem is that
>>> there
>>> > are no public 3.1 repositories yet thus no packages are available to
>>> the
>>> > SDK and software that has dependencies fails to build.
>>>
>>> OK, but if 3.1.0.11 works and 3.1.0.12 does not work, it means that this
>>> is
>>> the case only for 3.1.0.12.
>>>
>>>
>>>
>>> ___
>>> 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
>
> ___
> 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] Sailfish SDK 2.2 has been released to all users

2019-08-04 Thread E.S. Rosenberg
Thanks!
Seems jolla servers are under load, together.jolla.com is giving bad
gateway errors and it's failing to connect to releases.jolla.com in the
targets :|

Anyone know what is going on? Is jolla being DoS'ed?
Regards,
Eli

Op zo 4 aug. 2019 om 17:26 schreef Андрей Кожевников :

> Ssh to target and zypper ref
>
> вс, 4 авг. 2019 г., 16:39 E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>> I'm still getting the same error, I ran check for updates with no effect.
>>
>> Op zo 4 aug. 2019 om 16:05 schreef Андрей Кожевников <
>> coderusin...@gmail.com>:
>>
>>> It is already fixed and 3.0.1.12 repos available
>>>
>>> вс, 4 авг. 2019 г., 15:21 E.S. Rosenberg <
>>> es.rosenberg+sailfishos@gmail.com>:
>>>
>>>> When repositories include references to minor versions that is what
>>>> will happen...
>>>>
>>>> So does Jolla intend to fix this or we're stuck manually downgrading
>>>> our SDKs?
>>>>
>>>> Op do 1 aug. 2019 om 11:49 schreef deloptes :
>>>>
>>>>> E.S. Rosenberg wrote:
>>>>>
>>>>> > On together.jolla.com sashikknox suggested that the problem is that
>>>>> there
>>>>> > are no public 3.1 repositories yet thus no packages are available to
>>>>> the
>>>>> > SDK and software that has dependencies fails to build.
>>>>>
>>>>> OK, but if 3.1.0.11 works and 3.1.0.12 does not work, it means that
>>>>> this is
>>>>> the case only for 3.1.0.12.
>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> 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
>>>
>>> ___
>>> 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
>
> ___
> 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] Sailfish SDK 2.2 has been released to all users

2019-07-31 Thread E.S. Rosenberg
I'm unable to build gPodder in the new SDK, it tells me nothing provides

pyotherside-qml-plugin-python3-qt5

Did something get changed? Was pyotherside removed?

Thanks,

Eliyahu - אליהו

Op wo 31 jul. 2019 om 11:11 schreef Martin Kampas :

> Hello,
>
>
>
> Today (July 31th) at 07:00 UTC the Sailfish SDK 2.2 has been released to
> all users. Please, check out the release notes from
> https://together.jolla.com/question/210749/.
>
>
>
> The installers for this SDK release are now available at
> https://sailfishos.org/wiki/Application_SDK#Latest_SDK_Release. If you
> have an older release of the SDK installed, you should see an update
> notification in the Sailfish OS IDE.
>
>
>
> If you have any questions, feel free to either send an email to this
> mailing list: devel at lists.sailfishos.org, write it up in
> http://together.jolla.com and tag your issue with ‘sdk’ or send an e-mail
> to developer-care at jolla.com.
>
>
>
> Happy hacking,
>
> Jolla SDK Team
> ___
> 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] Sailfish SDK 2.2 has been released to all users

2019-08-01 Thread E.S. Rosenberg
On together.jolla.com sashikknox suggested that the problem is that there
are no public 3.1 repositories yet thus no packages are available to the
SDK and software that has dependencies fails to build.

Op do 1 aug. 2019 om 10:20 schreef deloptes :

> Lukáš Karas wrote:
>
> > Forwarding reply from Bird Zhang to the maling list... After "downgrade"
> > target to previous build number application building works again.
> >
> > sb2 -t SailfishOS-3.1.0.12-armv7hl -m sdk-install -R ssu re 3.1.0.11
>
> So is mce supported, cause I read it will be dropped and I would not be
> able
> to have double tap to unlock the screen.
>
> I know this is not a question for the list, but hence it was mentioned can
> someone answer?
>
> thank you and regards
>
>
>
> ___
> 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] Question about connecting a Sailfish phone to Ubuntu Linux box

2019-07-19 Thread E.S. Rosenberg
Depending on how your network connections are setup it could be that you
have to manually trigger the USB-ethernet connection to become active.
You can check if you have an interface with the address 192.168.2.1 on you
machine, the SailfishOS device is always at 192.168.2.15.
HTH,
Eli

Op vr 19 jul. 2019 om 12:28 schreef Sahlan :

> Hello,
>
> I am currently developing and porting some C++ apps to a variety of
> operating systems, including Sailfish. I live in the Republic Of Ireland,
> so the first problem was to find a Sailfish phone! I have purchased a phone
> which is running Sailfish 3 and have set up Developer Mode on it. On Ubuntu
> 18.04 LTS, I installed the Sailfish Qt Creator IDE and built a simple test
> app. I connected the Sailfish phone via USB and confirmed with lsusb that
> the device is recognised as being connected. Under Tools / Options /
> Devices, I try to add the phone as a Sailfish OS Physical Device. The IP
> address, username and password correctly correspond to those on the phone,
> but clicking "Test Connection" always gives me the message "Host
> unreachable". Increasing the SSH timeout does not help. I also tried
> pinging the i.p. address of the phone from a terminal window, and it is not
> found, though I am not sure whether ping should work with i.p. over usb. I
> also tried changing the phone i.p. address, in case of address clash, but
> this does not work either.
>
> Can anyone suggest how I might solve this problem? I know that remote
> connections can be temperamental. For example, I have a Blackberry 10
> mobile which I can only develop for on a Windows 7 machine, because all
> other boxes: Windows 10, Linux, Mac fail to recognise the device, even
> using identical tools and setup procedures!
>
> With thanks, in anticipation of some help,
> Sahlan
>
>
>
> ___
> 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] Question about connecting a Sailfish phone to Ubuntu Linux box

2019-07-19 Thread E.S. Rosenberg
Hey Sahlan,
The fact that you have a network on the same subnet but a different device
is probably what is preventing you from contacting the Jolla device.
Your computer has 2 routes for 192.168.2.0/24 which would lead to
unpredictable behavior.
If you connect the Jolla device on WiFi to this 192.168.2.x network and
make sure that it gets assigned 192.168.2.15 as IP address the SDK might be
"fooled" (I never tried this but since SSH access is available on the WiFi
interface of the device it is likely to work)
HTH,
Eli

Op vr 19 jul. 2019 om 13:08 schreef Sahlan :

> Eli,
>
> Thank you for the quick response. My development network happens to be all
> 192.168.2.x addresses, with the router as 192.168.2.1. No other device is
> using 192.168.2.15. The i.p. of the Ubuntu machine to which the sailfish
> mobile  is connected is 192.168.2.42,
>
> Regards,
>
> Sahlan
>
> -- Original Message --
> From: "E.S. Rosenberg" 
> To: "Sahlan" ; "Sailfish OS Developers" <
> devel@lists.sailfishos.org>
> Sent: 19/07/2019 10:53:07
> Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to
> Ubuntu Linux box
>
> Depending on how your network connections are setup it could be that you
> have to manually trigger the USB-ethernet connection to become active.
> You can check if you have an interface with the address 192.168.2.1 on you
> machine, the SailfishOS device is always at 192.168.2.15.
> HTH,
> Eli
>
> Op vr 19 jul. 2019 om 12:28 schreef Sahlan :
>
>> Hello,
>>
>> I am currently developing and porting some C++ apps to a variety of
>> operating systems, including Sailfish. I live in the Republic Of Ireland,
>> so the first problem was to find a Sailfish phone! I have purchased a phone
>> which is running Sailfish 3 and have set up Developer Mode on it. On Ubuntu
>> 18.04 LTS, I installed the Sailfish Qt Creator IDE and built a simple test
>> app. I connected the Sailfish phone via USB and confirmed with lsusb that
>> the device is recognised as being connected. Under Tools / Options /
>> Devices, I try to add the phone as a Sailfish OS Physical Device. The IP
>> address, username and password correctly correspond to those on the phone,
>> but clicking "Test Connection" always gives me the message "Host
>> unreachable". Increasing the SSH timeout does not help. I also tried
>> pinging the i.p. address of the phone from a terminal window, and it is not
>> found, though I am not sure whether ping should work with i.p. over usb. I
>> also tried changing the phone i.p. address, in case of address clash, but
>> this does not work either.
>>
>> Can anyone suggest how I might solve this problem? I know that remote
>> connections can be temperamental. For example, I have a Blackberry 10
>> mobile which I can only develop for on a Windows 7 machine, because all
>> other boxes: Windows 10, Linux, Mac fail to recognise the device, even
>> using identical tools and setup procedures!
>>
>> With thanks, in anticipation of some help,
>> Sahlan
>>
>>
>>
>> ___
>> 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] Question about connecting a Sailfish phone to Ubuntu Linux box

2019-07-23 Thread E.S. Rosenberg
Sahlan,
There is a potential routing issue, you have the same network connected to
different devices (usb networking and vm/dev networks) so the machine may
end up sending packets over one interface but not the other and vice versa.
It's not advisable in general to work like that since you are making
trouble shooting that much harder for yourself because you now have to
account for unpredictable and undefined network behavior.
Regards,
Eli

Op di 23 jul. 2019 om 23:29 schreef Sahlan :

> Eli,
>
> My development PCs  and VMs running on OSX (about twelve in total) each
> use a static i.p. address from that range, but not the 192.168.2.15 address
> that the phone is currently set to. No devices use DHCP. Are you saying
> there might still be a clash with an address used by the Jolla subnet of
> which I won't be aware? Tomorrow I will install arp-scan to see if it can
> pick up an address clash problem. I will also try making a connection by
> wi-fi instead of usb, as the phone reports wifi as being on the 192.168.3.x
> subnet. When I added the Jolla phone, it reported success, but, as I said
> in my second email, the Debug / Start and Break on Main does not seem to be
> working.
>
> Regards,
>
> Sahlan
>
> -- Original Message --
> From: "E.S. Rosenberg" 
> To: "Sahlan" ; "Sailfish OS Developers" <
> devel@lists.sailfishos.org>
> Sent: 23/07/2019 19:38:41
> Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to
> Ubuntu Linux box
>
> Sahlan,
> Did you change your LAN to not be on 192.168.2.0/24?
> As mentioned previously your LAN IPs clash with the Jolla USB subnet and
> this *will* lead to unpredictable behavior.
> HTH,
> Eliyahu - אליהו
>
> Op di 23 jul. 2019 om 18:59 schreef Sahlan :
>
>> Hello,
>>
>> Thanks to the several people who gave advice on my problem, I have made
>> progress.
>> a) I updated my Jolla phone to the latest update it was offering: 3.0.0.8
>> b) I updated VirtualBox on Ubuntu to the new version 6
>> c) I uninstalled and reinstalled the Sailfish SDK, same version as
>> before, 2.1.1, but this time I ticked the boxes to add images for my
>> updated phone OS, 3.0.0.8
>> d) I made no changes to my settings for the phone Developer Mode, but I
>> did open the terminal and issue the command devel-su
>> e) Now, when I tried to add the phone hardware, the result was successful.
>>
>> I then built a skeleton Sailfish app in Qt Creator with the phone being
>> the target. I added no code to the default code created. As you would
>> expect, it builds fine. Now I am confused as what to do next. In
>> Xamarin-Android development one naturally proceeds to the deploy stage, so
>> I did that in QtCreator and chose the Build / Deploy option, and it told me
>> RPMs had been created OK, but, under the Issues tab, I get the message "No
>> RPM validation suite is available for the current Sailfish OS build target,
>> the package will not be validated"
>>
>>  Then I clicked Debug / Start and Break on Main, but nothing happens.
>> I've searched for info on how to debug on Sailfish with QtCreator but
>> haven't found anything. Can anyone suggest a url for a step by step page of
>> instructions?
>>
>> PS Having updated my phone to 3.0.0.8, I see a message telling me
>> 3.1.0.11 is available. I wonder if it is going to work its way
>> incrementally through the available updates :)
>>
>> Regards,
>>
>> Sahlan
>>
>> -- Original Message --
>> From: "David Llewellyn-Jones" 
>> To: devel@lists.sailfishos.org
>> Sent: 19/07/2019 11:04:27
>> Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone
>> to Ubuntu Linux box
>>
>> On 19/07/2019 12:27, Sahlan wrote:
>> [snip]
>>
>> I have
>> purchased a phone which is running Sailfish 3 and have set up Developer
>> Mode on it. On Ubuntu 18.04 LTS, I installed the Sailfish Qt Creator IDE
>> and built a simple test app.
>>
>>
>> Which phone are you using? Did you flash it over USB to install
>> Sailfish? Your setup with Ubuntu is pretty standard, so it should work.
>>
>> It's an obvious question, but did you, activate the Remote connection
>> option, and give yourself a root password?
>>
>>
>> https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode
>>
>>
>> I connected the Sailfish phone via USB and
>> confirmed with lsusb that the device is recognised as being connected.
>> Under Tools / Options / Devices, I try to add the phone as a Sailfish OS
>>

Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box

2019-07-23 Thread E.S. Rosenberg
Sahlan,
Did you change your LAN to not be on 192.168.2.0/24?
As mentioned previously your LAN IPs clash with the Jolla USB subnet and
this *will* lead to unpredictable behavior.
HTH,
Eliyahu - אליהו

Op di 23 jul. 2019 om 18:59 schreef Sahlan :

> Hello,
>
> Thanks to the several people who gave advice on my problem, I have made
> progress.
> a) I updated my Jolla phone to the latest update it was offering: 3.0.0.8
> b) I updated VirtualBox on Ubuntu to the new version 6
> c) I uninstalled and reinstalled the Sailfish SDK, same version as before,
> 2.1.1, but this time I ticked the boxes to add images for my updated phone
> OS, 3.0.0.8
> d) I made no changes to my settings for the phone Developer Mode, but I
> did open the terminal and issue the command devel-su
> e) Now, when I tried to add the phone hardware, the result was successful.
>
> I then built a skeleton Sailfish app in Qt Creator with the phone being
> the target. I added no code to the default code created. As you would
> expect, it builds fine. Now I am confused as what to do next. In
> Xamarin-Android development one naturally proceeds to the deploy stage, so
> I did that in QtCreator and chose the Build / Deploy option, and it told me
> RPMs had been created OK, but, under the Issues tab, I get the message "No
> RPM validation suite is available for the current Sailfish OS build target,
> the package will not be validated"
>
>  Then I clicked Debug / Start and Break on Main, but nothing happens. I've
> searched for info on how to debug on Sailfish with QtCreator but haven't
> found anything. Can anyone suggest a url for a step by step page of
> instructions?
>
> PS Having updated my phone to 3.0.0.8, I see a message telling me 3.1.0.11
> is available. I wonder if it is going to work its way incrementally through
> the available updates :)
>
> Regards,
>
> Sahlan
>
> -- Original Message --
> From: "David Llewellyn-Jones" 
> To: devel@lists.sailfishos.org
> Sent: 19/07/2019 11:04:27
> Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to
> Ubuntu Linux box
>
> On 19/07/2019 12:27, Sahlan wrote:
> [snip]
>
> I have
> purchased a phone which is running Sailfish 3 and have set up Developer
> Mode on it. On Ubuntu 18.04 LTS, I installed the Sailfish Qt Creator IDE
> and built a simple test app.
>
>
> Which phone are you using? Did you flash it over USB to install
> Sailfish? Your setup with Ubuntu is pretty standard, so it should work.
>
> It's an obvious question, but did you, activate the Remote connection
> option, and give yourself a root password?
>
>
> https://jolla.zendesk.com/hc/en-us/articles/202011863-How-to-enable-Developer-Mode
>
>
> I connected the Sailfish phone via USB and
> confirmed with lsusb that the device is recognised as being connected.
> Under Tools / Options / Devices, I try to add the phone as a Sailfish OS
> Physical Device. The IP address, username and password correctly
> correspond to those on the phone, but clicking "Test Connection" always
> gives me the message "Host unreachable". Increasing the SSH timeout does
> not help. I also tried pinging the i.p. address of the phone from a
> terminal window, and it is not found, though I am not sure whether ping
> should work with i.p. over usb.
>
>
> Pinging should work over USB, and personally I'd focus on getting that
> to work first, since until you can ping it's unlikely ssh will work.
>
> It might also be worth trying to ping in the opposite direction (i.e
> pinging your computer from the phone over USB) by opening a console on
> the phone and using something like this:
>
> su-devel ping 192.16.2.6
>
> Some of the advice on this page may also be useful (if not now, then
> once you have a connection!):
>
> https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet
>
> David
> --
> Website: http://www.flypig.co.uk
> ___
> 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] SDK versioning

2019-07-25 Thread E.S. Rosenberg
Hi all,
TL;DR - if we're doing version numbers for the SDK can they at least be the
same as the SFOS to which they correspond?

I assume this may have come up already in the past but I still want to ask
this again.
I noticed when recently redownloading the SDK that the versioning scheme
had switched twice from numbers to dates and then back to numbers.

As a rule I am a proponent of the dates versioning system since it allows
me the user to easily know just how far behind I am.
That being said in this case I am actually a proponent of version numbers
with the caveat that the SDK version and the SFOS version number should be
the same.
When I was downloading the SDK I actually ended up cancelling the download
and double checking the file listsing to see whether I was indeed
downloading the most recent version because 2.x was also a SFOS version
once upon a time.
Regards,
Eli
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] SDK versioning

2019-07-25 Thread E.S. Rosenberg
Andrey I don't need the older SDKs, due to some technical issues (lack of
free space to download updates) I did a delete+reinstall of the SDK but
while downloading the version number of the current SDK (2.1) caused me to
cancel the download and double check that I was indeed getting the latest
SDK what I am proposing is that the SDK version number should have been 3.0
and the next SDK should be 3.1 or whatever the SFOS version it goes with is.

Eli

Op do 25 jul. 2019 om 21:43 schreef Андрей Кожевников <
coderusin...@gmail.com>:

> Why you need older sdk with bugs, when you can use latest sdk with
> multiple targets for older sfos versions?
>
> чт, 25 июл. 2019 г., 20:39 Tone Kastlunger :
>
>> +1 to this;
>> I had the same issue. It's confusing if you have to reinstall from
>> scratch for instance.
>>
>> On Thu, Jul 25, 2019 at 7:44 PM E.S. Rosenberg <
>> es.rosenberg+sailfishos@gmail.com> wrote:
>>
>>> Hi all,
>>> TL;DR - if we're doing version numbers for the SDK can they at least be
>>> the same as the SFOS to which they correspond?
>>>
>>> I assume this may have come up already in the past but I still want to
>>> ask this again.
>>> I noticed when recently redownloading the SDK that the versioning scheme
>>> had switched twice from numbers to dates and then back to numbers.
>>>
>>> As a rule I am a proponent of the dates versioning system since it
>>> allows me the user to easily know just how far behind I am.
>>> That being said in this case I am actually a proponent of version
>>> numbers with the caveat that the SDK version and the SFOS version number
>>> should be the same.
>>> When I was downloading the SDK I actually ended up cancelling the
>>> download and double checking the file listsing to see whether I was indeed
>>> downloading the most recent version because 2.x was also a SFOS version
>>> once upon a time.
>>> Regards,
>>> Eli
>>>
>>> ___
>>> 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
>
> ___
> 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] SDK versioning

2019-07-25 Thread E.S. Rosenberg
Hi Martin,

Op vr 26 jul. 2019 om 00:02 schreef Martin Kampas :

> Hi Eli,
>
>
>
> does the Android SDK version match the Android OS version?
>
> does the macOS SDK version match the macOS version?
>
> does the Windows SDK version match the Windows OS version?
>
> does the Qt Creator version match the Qt version?
>
> ...
>

>
> The universal answer is No, simply because the SDK and the platform are
> two different products with their own life cycles.
>
>
>
> Each Sailfish SDK version supports multiple Sailfish OS versions.
> Currently this means the latest OS version published to all users + some
> older OS versions. Soon, we will start releasing also build targets for the
> latest OS version published to EA users.
>
As far as I recall most every SFOS release came with a SDK release, of
course I may be wrong.
Either way if versioning "should not" be tied to SFOS versions then why in
the world not use a date versioning scheme like you did from 2014 until
2018?

>
>
> You can be sure the links published on
> https://sailfishos.org/wiki/Application_SDK#Latest_SDK_Release always
> point to the latest SDK release, so unless you dig them out yourself, you
> cannot download older installers by mistake.
>
Nobody makes no mistakes big or small company, when I went to latest and it
gave me an apparently meaningless version number that matches an OS version
number from over a year ago that made me do a double take and look at
modify dates here http://releases.sailfishos.org/sdk/installers/

>
>
> Enjoy using the latest greatest SDK and forget about version numbers, they
> become important only when dealing with issues :)
>
I am enjoying and hope you will take the suggestion to revert to date
versioning or SFOS version matching seriously.

Best regards,
Eli

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

[SailfishDevel] harbour libs survey

2019-09-21 Thread E.S. Rosenberg
Hi All,
At last weeks SFOS community meeting one of the things that came up was
libraries/APIs that are as of yet not supported and that we (the community
members) would like to see in harbour (or at least see a blocking bug list
for).

What would be the best way to do this? A "question" on TJC with answers we
vote for? A poll on the mailing list?

Just trying to get the ball rolling here...
Eli
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] "Floating" object

2019-11-14 Thread E.S. Rosenberg
Hi all,
Has anyone ever implemented a "floating" object in QML, specifically I am
interested in implementing a VideoOutput area that "floats" like the
picture-in-picture youtube in whatsapp on Android.
Thanks!
Eli
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] "Floating" object

2019-11-16 Thread E.S. Rosenberg
Would picture-in-picture that shows on other screens even make it through
Jolla QA?

Op za 16 nov. 2019 om 21:37 schreef Андрей Кожевников <
coderusin...@gmail.com>:

> if same app then just put it inside applicationwindow and increase z if
> needed
>
> сб, 16 нояб. 2019 г. в 20:43, E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>>
>>
>> Op za 16 nov. 2019 om 00:26 schreef Tone Kastlunger <
>> users.giulie...@gmail.com>:
>>
>>> Hmm to have video in a notification window sounds daring..
>>>
>> That goes too far I think I just want a video area with the video
>> showing while the user is in the program but on a different page.
>> When they are not in the program the cover can show the video, I don't
>> think picture-in-picture should affect other programs...
>> (Though I do think that exists on Android and maybe that can also be done
>> here but great care would be needed implementing such a thing)
>>
>>>
>>> On Thu, Nov 14, 2019 at 11:27 PM Андрей Кожевников <
>>> coderusin...@gmail.com> wrote:
>>>
>>>> overlay? check screentapshot.
>>>>
>>>> пт, 15 нояб. 2019 г. в 00:17, E.S. Rosenberg <
>>>> es.rosenberg+sailfishos@gmail.com>:
>>>>
>>>>> Hi all,
>>>>> Has anyone ever implemented a "floating" object in QML, specifically I
>>>>> am interested in implementing a VideoOutput area that "floats" like the
>>>>> picture-in-picture youtube in whatsapp on Android.
>>>>> Thanks!
>>>>> Eli
>>>>> ___
>>>>> 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
>>>
>>> ___
>>> 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
>
> ___
> 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] "Floating" object

2019-11-16 Thread E.S. Rosenberg
Op za 16 nov. 2019 om 00:26 schreef Tone Kastlunger <
users.giulie...@gmail.com>:

> Hmm to have video in a notification window sounds daring..
>
That goes too far I think I just want a video area with the video
showing while the user is in the program but on a different page.
When they are not in the program the cover can show the video, I don't
think picture-in-picture should affect other programs...
(Though I do think that exists on Android and maybe that can also be done
here but great care would be needed implementing such a thing)

>
> On Thu, Nov 14, 2019 at 11:27 PM Андрей Кожевников 
> wrote:
>
>> overlay? check screentapshot.
>>
>> пт, 15 нояб. 2019 г. в 00:17, E.S. Rosenberg <
>> es.rosenberg+sailfishos@gmail.com>:
>>
>>> Hi all,
>>> Has anyone ever implemented a "floating" object in QML, specifically I
>>> am interested in implementing a VideoOutput area that "floats" like the
>>> picture-in-picture youtube in whatsapp on Android.
>>> Thanks!
>>> Eli
>>> ___
>>> 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
>
> ___
> 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] Cannot resume playback with Bluetooth headphones

2019-12-08 Thread E.S. Rosenberg
Hi Anton,
As of late I have also noticed this but haven't had the time to dive into
it (also kind of blamed the headset with which I'm less then happy).
Ssometimes I need to do a manual disconnect/reconnect, phonecall or even a
reboot to get sound output back again.
Sorry I can't be of more assistance beyond confirming you are not "seeing
things".
Regards,
Eli

Op zo 8 dec. 2019 om 17:19 schreef Anton Thomasson :

> Dear list,
>
> I have an app where in order to keep streaming audio playing (when i
> switch between WiFi and celluar) i have hooked up onError of the QML
> MediaPlayer to a timer which tries to start playing again.
>
> This has been working great so far, as in like 95%+ success rate, but
> hardly ever succeeds when i'm using a Bluetooth headset.
>
> Upon further debugging, i found that the MediaPlayer component did indeed
> report that it started playing, despite failing to output any sound due to
> (i guess) the following error:
>
> Transport TryAcquire() failed for transport
> /org/bluez/hci0/dev_00_22_37_52_F0_01/fd0 (Operation Not Authorized)
>
> It seems the MediaPlayer is definitely thinking that it is outputting to
> the Bluetooth headphones, because it stops when i disconnect them.
>
> Is there something wrong with my approach?
> Can i improve, or is the underlying system borked?
> Is this a known issue or otherwise reproducible?
>
> Br,
> Anton
> ___
> 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

[SailfishDevel] Does a system update trigger reinstalls?

2019-12-12 Thread E.S. Rosenberg
Hi all,
These days I maintain gPodder and we use the same version number on harbour
and OpenRepos however the OpenRepos version has more functionality.

With the last few system updates I noticed that after an update I'm always
on the harbour version of gPodder instead of the version I installed
(manually during testing of RPMs before publishing).

Is this known behavior? Does this happen for OpenRepos users due to the
matching version numbers or only for manual installs?
Thanks!
Eli
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] settings through Settings > Apps > application

2019-12-11 Thread E.S. Rosenberg
Hi all,
The question is as the title, if I want to add settings the "official" SFOS
way how do I do it?
I didn't see any examples of this in the sfos/silica documentation.
Thanks,
Eli
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] settings through Settings > Apps > application

2019-12-11 Thread E.S. Rosenberg
OK Thanks.
My jaw kind of hit the pavement when I read this because we are quite some
years in and it would make sense that if we are promoting a certain UX it
should apply to all applications.
I guess that is is why "setting inside your app" is not in the "common
pitfalls section".

Op wo 11 dec. 2019 om 15:25 schreef Thomas Tanghus :

> On Wednesday, 11 December 2019 13.42 E.S. Rosenberg wrote:
> > The question is as the title, if I want to add settings the "official"
> > SFOS way how do I do it?
> > I didn't see any examples of this in the sfos/silica documentation.
> > Thanks,
>
> Currently it's not allowed in Harbour, don't know if it'll ever be, but
> some
> apps have apparently done it e.g Depecher:
> https://github.com/blacksailer/depecher
>
> --
> Med venlig hilsen / Best regards
>
> Thomas Tanghus
>
> A: Because it breaks the logical sequence of discussion
> Q: Why is top posting bad?
> ___
> 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] Correct way to implement an import/export dialog

2019-10-23 Thread E.S. Rosenberg
I like your idea!
For now I did it with a dropdown and will wait for the other contributors
feedback after my pull request to see how to proceed.

Op wo 23 okt. 2019 om 10:57 schreef Richard Grooff via Devel <
devel@lists.sailfishos.org>:

> Maybe use the new phone app with its tabs as an example: tab import and
> export with the same component underneath...
>
> Regards, Richard
>
> On Wednesday, 23 October 2019, E.S. Rosenberg wrote:
> > Both pulldown and push up menus as is already have 3 options, the pull up
> > menu has an import option so I want to change that to import/export and
> the
> > page it goes to switches between import and export based on user desire.
> >
> > Op wo 23 okt. 2019 om 01:43 schreef Андрей Кожевников <
> > coderusin...@gmail.com>:
> >
> > > like a caller ui? push up to export, pull down to import?
> > >
> > > вт, 22 окт. 2019 г. в 23:29, E.S. Rosenberg <
> > > es.rosenberg+sailfishos@gmail.com>:
> > >
> > >> Hi all,
> > >> I would like to build a dialog that allows both import and export on
> the
> > >> same page or at least accessible from the same pulley menu item.
> > >>
> > >> At first I thought I would just have two different forms with buttons
> on
> > >> the same page however according to:
> > >>
> > >>
> https://sailfishos.org/develop/docs/silica/sailfish-application-pitfalls.html/#using-buttons-instead-of-platform-style-gestures
> > >>
> > >> that seems to be the "wrong" way.
> > >>
> > >> So I wondered is there a "right" way to implement this while trying to
> > >> stay within the SFOS UX paradigms?
> > >>
> > >> Thanks!
> > >> Eli
> > >> ___
> > >> 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
> >
>
> --
> Sent from my Sony Xperia X with Sailfish X
> ___
> 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

[SailfishDevel] Correct way to implement an import/export dialog

2019-10-22 Thread E.S. Rosenberg
Hi all,
I would like to build a dialog that allows both import and export on the
same page or at least accessible from the same pulley menu item.

At first I thought I would just have two different forms with buttons on
the same page however according to:
https://sailfishos.org/develop/docs/silica/sailfish-application-pitfalls.html/#using-buttons-instead-of-platform-style-gestures

that seems to be the "wrong" way.

So I wondered is there a "right" way to implement this while trying to stay
within the SFOS UX paradigms?

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

Re: [SailfishDevel] Correct way to implement an import/export dialog

2019-10-22 Thread E.S. Rosenberg
Thanks!
The way I'm looking at doing this now is having a combobox on the page that
changes the Dialog from Import to Export.
Like this I can have a single pulley item and still allow both actions to
happen.

Op wo 23 okt. 2019 om 00:01 schreef Thomas Tanghus :

> On tirsdag den 22. oktober 2019 22.29.25 CEST E.S. Rosenberg wrote:
> > Hi all,
> > I would like to build a dialog that allows both import and export on the
> > same page or at least accessible from the same pulley menu item.
> >
> > that seems to be the "wrong" way.
> >
> > So I wondered is there a "right" way to implement this while trying to
> > stay within the SFOS UX paradigms?
>
> I'd say a pulley menu would be to hidden in this case. The UI/UX paradigms
> shouldn't be cast in stone, and buttons are used also in the Jolla apps,
> i.e. Settings->Apps->Browser.
>
> --
>
> /Thomas___
> 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] harbour libs survey

2019-09-22 Thread E.S. Rosenberg
Hi Damien,
Thanks for already doing that, I must admit I only login to TJC every once
in a while so had not noticed it but was wondering how to go about this
"poll".
Maybe this should be postponed to the meeting after the next to give more
people time to respond?
Thanks again!
Eli

Op zo 22 sep. 2019 om 17:22 schreef Caliste Damien :

> Hello Eli,
>
> Le dimanche 22 septembre 2019, E.S. Rosenberg a écrit :
> > At last weeks SFOS community meeting one of the things that came up
> > was libraries/APIs that are as of yet not supported and that we (the
> > community members) would like to see in harbour (or at least see a
> > blocking bug list for).
> I continued to discuss this a bit with Venemo on mer-meeting channel
> after the meeting finished. I pointed out that it may be constructive
> from the harbour persons to point out per library what is blocking
> integration so that community may help fixing defective implementation
> or test fragile APIs. Venemo replied with rightness that harbour
> persons would need first a list of desirable libraries, as you're
> mentioning. I've created yet another TJC question to centralize
> existing requests. As a wki, it may serve an exchange between sailors
> and the community to find solutions for blocking libraries (hopefully).
>
> > What would be the best way to do this? A "question" on TJC with
> > answers we vote for? A poll on the mailing list?
> You can find this wiki at
>
> https://together.jolla.com/question/213847/status-of-allowed-libraries-in-harbour/
>
> Feel free to add missing entries, contribute to existing one adding use
> cases or app in openrepo that may benefit of them being allowed…
>
> I've requested a slot during the next meeting to discuss the output of
> this wiki in ten days.
>
> Have a nice Sunday,
>
> Damien.
> ___
> 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] Sailfish X: issues on Web Radio apps when using wify

2019-10-07 Thread E.S. Rosenberg
When switching between connection paths connectivity is lost for a short
while, the application tries to pick up where it left off instead of going
to the current position of the stream and gets rejected.
The connectivity issue is to the best of my knowledge almost unpreventable
(but an OS level issue).
The stream resumption issue is something you can open a bug for with the
AllRadio maintainer on github.
HTH,
Eli

Op di 1 okt. 2019 om 15:28 schreef Carlos Jose Mazieri <
carlos.mazi...@gmail.com>:

> Hello,
> I am using Sailfish X on a Xperia Ultra DUAL SIM.
>
> For me Web Radio apps such as 'AllRadio', 'Receiver' work fine when using
> 4G, but when using wify they stop after playing for some time.
>
>
> *journalctl -fa* log:
> Oct 01 08:53:02 Sailfish kernel: swr-wcd msm_sdw_swr_ctrl:
> swrm_cleanup_disabled_data_ports: end of list
> Oct 01 08:53:02 Sailfish mce[2798]: modules/cpu-keepalive.c:
> cka_session_finish(): long session lasted 8115157 ms; id=12/undefined
> name=:1.28 owner=:1.28 pid=3922 uid=10 gid=10 priv=0
> cmd=/usr/bin/pulseaudio --start -n --file=/etc/pulse/arm_droid_def
> Oct 01 08:53:02 Sailfish mce[2798]: modules/cpu-keepalive.c:
> cka_state_set(): long keepalive stopped after 8115156 ms
>
>
> *Receiver* log:
> [W] unknown:0 - Error: "Server does not support seeking."
>
> How  can I solve this problem?
>
> Any help/information will be appreciated,
> Thank you,
> Carlos Mazieri
>
>
> ___
> 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] Silica QML objects that can have a menu property

2019-10-12 Thread E.S. Rosenberg
(Or just being able to add a contextMenu to a Label)

Op zo 13 okt. 2019 om 00:52 schreef E.S. Rosenberg <
es.rosenberg+sailfishos@gmail.com>:

> Hi Thomas,
>
> Thanks for your long answer and the many references, I guess my main point
> was a bit nit-picking in the sense that Semantically/Linguistically it does
> not seem to make sense to me to use a ListItem (yes it works, but if you
> were to tell anyone that is what you need to use I think they would also
> say "huh?")
>
> Container and Item and are not documented here:
> https://sailfishos.org/develop/docs/silica/sailfish-silica-all.html/
> To me using Item or Container for this would make most sense actually.
>
> Thanks again for your time,
> Eli
>
> Op vr 11 okt. 2019 om 16:16 schreef Thomas Tanghus :
>
>> On torsdag den 10. oktober 2019 06.30.33 CEST E.S. Rosenberg wrote:
>> > Hi all,
>> > My question may be very simple - is ListItem the only type of object
>> that
>> > may display a text on a page that can have a "menu" property? I went
>> over
>> > the Silica reference quickly and I didn't find any other similar items.
>> >
>> > The reason I ask this is that I have a single item I am displaying to
>> > which I am adding a context menu and semantically it just seemed weird
>> > that I would have to put that inside of a ListItem to be able to add a
>> > menu: ContextMenu property.
>> >
>> > Or did I miss some other object that does support this property?
>>
>> You can set the 'container' property to the parent of the menu as done in:
>>
>> https://github.com/tanghus/kitchen-timer-qml/blob/master/qml/pages/TimerPage.qml#L220
>>
>> There it's a BackgroundItem:
>>
>> https://github.com/tanghus/kitchen-timer-qml/blob/master/qml/pages/TimerPage.qml#L124
>>
>> Or did I misunderstand you?
>>
>> --
>>
>>
>> /Thomas___
>> 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] Silica QML objects that can have a menu property

2019-10-12 Thread E.S. Rosenberg
Hi Thomas,

Thanks for your long answer and the many references, I guess my main point
was a bit nit-picking in the sense that Semantically/Linguistically it does
not seem to make sense to me to use a ListItem (yes it works, but if you
were to tell anyone that is what you need to use I think they would also
say "huh?")

Container and Item and are not documented here:
https://sailfishos.org/develop/docs/silica/sailfish-silica-all.html/
To me using Item or Container for this would make most sense actually.

Thanks again for your time,
Eli

Op vr 11 okt. 2019 om 16:16 schreef Thomas Tanghus :

> On torsdag den 10. oktober 2019 06.30.33 CEST E.S. Rosenberg wrote:
> > Hi all,
> > My question may be very simple - is ListItem the only type of object that
> > may display a text on a page that can have a "menu" property? I went over
> > the Silica reference quickly and I didn't find any other similar items.
> >
> > The reason I ask this is that I have a single item I am displaying to
> > which I am adding a context menu and semantically it just seemed weird
> > that I would have to put that inside of a ListItem to be able to add a
> > menu: ContextMenu property.
> >
> > Or did I miss some other object that does support this property?
>
> You can set the 'container' property to the parent of the menu as done in:
>
> https://github.com/tanghus/kitchen-timer-qml/blob/master/qml/pages/TimerPage.qml#L220
>
> There it's a BackgroundItem:
>
> https://github.com/tanghus/kitchen-timer-qml/blob/master/qml/pages/TimerPage.qml#L124
>
> Or did I misunderstand you?
>
> --
>
>
> /Thomas___
> 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] Silica QML objects that can have a menu property

2019-10-11 Thread E.S. Rosenberg
Hi Coderus (Andrey?),
Not quite, I want to show current information and allow the user to edit it
by long pressing the field.
The field itself is free text.
As far as I can tell this is done as I described before by embedding a
Label in a ListItem, it works so it's not a big deal, as said it's mainly a
semantical issue that this is not list data at all but a single field on a
page.
Thanks!
Eli

Op do 10 okt. 2019 om 09:40 schreef Андрей Кожевников <
coderusin...@gmail.com>:

> Hi! I think you looking for ComboBox.
>
> чт, 10 окт. 2019 г., 7:30 E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>> Hi all,
>> My question may be very simple - is ListItem the only type of object that
>> may display a text on a page that can have a "menu" property? I went over
>> the Silica reference quickly and I didn't find any other similar items.
>>
>> The reason I ask this is that I have a single item I am displaying to
>> which I am adding a context menu and semantically it just seemed weird that
>> I would have to put that inside of a ListItem to be able to add a menu:
>> ContextMenu property.
>>
>> Or did I miss some other object that does support this property?
>> Thanks!
>> Eli
>> ___
>> 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Flatpak for Sailfish

2019-12-29 Thread E.S. Rosenberg
Native apps rely on the libs shipped with the OS, thus they don't ship with
unsecure libs unless Jolla is shipping them and they become secure the
moment Jolla updated the libs (and should the update break binary
compatibility will require a new release compiled against the new libs).
Flatpacks and snaps are security nightmares, instead of getting them lets
work on moving the SFOS platform along.

Op zo 29 dec. 2019 om 20:41 schreef rinigus :

> Hi,
>
> If you refer to http://flatkill.org/ , it does have lot of good points.
> In this respect, its similar to what we have with the native apps, as soon
> as some security flaws are used. At the moment, I would prefer to get
> access to the latest Qt and other recent software. But users are still
> responsible for thinking before installing, as they are now. Note that in
> many aspects our current packaging together with bundled libs is similar to
> flatpak already. So, why not to make it with the recent libs as well?
>
> Cheers,
>
> Rinigus
>
>
> On Sun, Dec 29, 2019 at 8:26 PM E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com> wrote:
>
>> No one is bothered by the serious (bad) security implications of running
>> flatpacks?
>> Though I guess we are all tolerating the claim to "security" on ancient
>> kernels so we have no right to blab about security now 樂
>>
>> Op za 28 dec. 2019 om 12:04 schreef rinigus :
>>
>>> Hi,
>>>
>>> I am not 100% sure whether xdg-shell availability is the blocker. There
>>> is something going on which I cannot explain yet - its as if Wayland
>>> rendering disappears even when I use qxcomposer.
>>>
>>> qxcomposer does allow me to minimize and then restore. However, when
>>> keeping app minimized and switching to other apps, I do get (with
>>> WAYLAND_DEBUG=1)
>>>
>>> [2294832.935] wl_pointer@8.motion(207667, 0.00, 0.00)
>>> [2299966.213] qt_extended_surface@29.onscreen_visibility(1)
>>> [2303645.301] qt_extended_surface@29.onscreen_visibility(0)
>>> [2303647.486]  -> wl_surface@26.destroy()
>>> [2303648.296]  -> wl_buffer@4278190080.destroy()
>>> [2303648.395]  -> wl_buffer@4278190082.destroy()
>>> [2303648.448]  -> wl_buffer@4278190081.destroy()
>>>
>>> and the app window disappears from qxcomposer.
>>>
>>> Same happens when running directly using SFOS composer:
>>>
>>> [2614530.331] qt_extended_surface@29.onscreen_visibility(0)
>>> [2614552.802]  -> wl_surface@26.destroy()
>>> [2614555.653]  -> wl_buffer@4278190080.destroy()
>>> [2614556.795]  -> wl_buffer@4278190082.destroy()
>>> [2614557.099]  -> wl_buffer@4278190081.destroy()
>>>
>>> So, looks like the surface gets destroyed, but nothing really restores
>>> it.
>>>
>>> As such, some kind of wrapper, similar to qxcomposer, around Flatpak
>>> programs maybe handy. It could take few tasks, such as
>>>
>>> - follow orientation of the screen
>>> - restore app after wl_buffer.destroy()
>>> - provide keyboard support
>>>
>>> I don't know enough about Wayland to be efficient in working on it. So,
>>> I wonder if someone would like to step in and help with this part. If there
>>> is interest, I will work on packaging libhybris extension and provide an
>>> example at OBS for Xperia Tama devices.
>>>
>>> Cheers,
>>>
>>> Rinigus
>>>
>>> On Sat, Dec 28, 2019 at 12:54 AM Damien Caliste 
>>> wrote:
>>>
>>>> Thank you Rinigus for all of this. Indeed, the current main blocker
>>>> seems to be the fact that xdg-shell is not available in Lipstick. This is
>>>> linked to the ancient version of QtWayland, even not 5.6, but still 5.4 !
>>>> They already have a 5.9 branch in SailfishOS git (
>>>> https://git.sailfishos.org/mer-core/qtwayland/tree/mer-5.9), but we
>>>> need to wait for Jolla to make the Qt switch. I don't think it's something
>>>> community can change on device... I hope I can be proven wrong though.
>>>>
>>>> Damien.
>>>> ___
>>>> 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
>>
>> ___
>> 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Flatpak for Sailfish

2019-12-29 Thread E.S. Rosenberg
No one is bothered by the serious (bad) security implications of running
flatpacks?
Though I guess we are all tolerating the claim to "security" on ancient
kernels so we have no right to blab about security now 樂

Op za 28 dec. 2019 om 12:04 schreef rinigus :

> Hi,
>
> I am not 100% sure whether xdg-shell availability is the blocker. There is
> something going on which I cannot explain yet - its as if Wayland rendering
> disappears even when I use qxcomposer.
>
> qxcomposer does allow me to minimize and then restore. However, when
> keeping app minimized and switching to other apps, I do get (with
> WAYLAND_DEBUG=1)
>
> [2294832.935] wl_pointer@8.motion(207667, 0.00, 0.00)
> [2299966.213] qt_extended_surface@29.onscreen_visibility(1)
> [2303645.301] qt_extended_surface@29.onscreen_visibility(0)
> [2303647.486]  -> wl_surface@26.destroy()
> [2303648.296]  -> wl_buffer@4278190080.destroy()
> [2303648.395]  -> wl_buffer@4278190082.destroy()
> [2303648.448]  -> wl_buffer@4278190081.destroy()
>
> and the app window disappears from qxcomposer.
>
> Same happens when running directly using SFOS composer:
>
> [2614530.331] qt_extended_surface@29.onscreen_visibility(0)
> [2614552.802]  -> wl_surface@26.destroy()
> [2614555.653]  -> wl_buffer@4278190080.destroy()
> [2614556.795]  -> wl_buffer@4278190082.destroy()
> [2614557.099]  -> wl_buffer@4278190081.destroy()
>
> So, looks like the surface gets destroyed, but nothing really restores it.
>
> As such, some kind of wrapper, similar to qxcomposer, around Flatpak
> programs maybe handy. It could take few tasks, such as
>
> - follow orientation of the screen
> - restore app after wl_buffer.destroy()
> - provide keyboard support
>
> I don't know enough about Wayland to be efficient in working on it. So, I
> wonder if someone would like to step in and help with this part. If there
> is interest, I will work on packaging libhybris extension and provide an
> example at OBS for Xperia Tama devices.
>
> Cheers,
>
> Rinigus
>
> On Sat, Dec 28, 2019 at 12:54 AM Damien Caliste  wrote:
>
>> Thank you Rinigus for all of this. Indeed, the current main blocker seems
>> to be the fact that xdg-shell is not available in Lipstick. This is linked
>> to the ancient version of QtWayland, even not 5.6, but still 5.4 ! They
>> already have a 5.9 branch in SailfishOS git (
>> https://git.sailfishos.org/mer-core/qtwayland/tree/mer-5.9), but we need
>> to wait for Jolla to make the Qt switch. I don't think it's something
>> community can change on device... I hope I can be proven wrong though.
>>
>> Damien.
>> ___
>> 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Backup data of application via System settings

2020-04-09 Thread E.S. Rosenberg
At the moment applications can't access Settings to allow users to set
prefernces from there "The SFOS way".
The data itself would be a question of whether the backup process includes
all of ~ (/home/nemo) or only those parts flagged for backup by the Backup
process.
HTH,
Eli

Op wo 8 apr. 2020 om 15:29 schreef Chris Josten via Devel <
devel@lists.sailfishos.org>:

> Hi all,
>
> I'm wondering if it's possible to include data of your own application
> in the backup created in the system settings? And if there is, is that
> method allowed on Harbour? If no, are there any plans to open it up?
>
> With backup via system settings, I mean for example like the browser
> does for its bookmarks.
>
> I couldn't find any documentation on the wiki about this subject, but I
> have found two projects on the sailfish Gitlab instance which might have
> to do something with it, namely "the vault"
> (https://git.sailfishos.org/mer-core/the-vault), which seems
> unmaintained, and "vault" (https://git.sailfishos.org/mer-core/vault),
> which seems like it was based on the first project, but then almost
> everything got removed
> (
> https://git.sailfishos.org/mer-core/vault/commit/1419af0acbff716a2773dc563bd5d93db8f6bd91
> ).
> Is it going to be deprecated? And if so, is there a better alternative?
> --
> Kind regards / Met vriendelijke groet,
> Chris Josten
> ___
> 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

[SailfishDevel] memory leak?

2020-04-13 Thread E.S. Rosenberg
Hi all,
Recently I've noticed my phone running out of memory more often.
I've update to 3.3.0.14 but I also released a newer version of gPodder
which may be guilty of this.
However closing gPodder does not release memory so I'm not really sure if I
should blame myself or that lipstick is after all leaking memory.
Also how does one optimize a qml/python apps memory usage? Neither is
managed to the best of my knowledge.
I may have time later to test the level of involvement of gPodder by
downgrading.
Thanks,
Ei
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] memory leak?

2020-04-13 Thread E.S. Rosenberg
Hi David,
I have been using htop to monitor what is going on before and after closing.
In the past I've used valgrind for C++ projects (openlighting) but this is
python/QML with no compiled code (from my side) at all to the best of my
understanding valgrind can't help me with this, but I may be wrong.

Memory usage of the newer version of gPodder is definitely higher (it loads
a large amount of images) but it's also not released with closing gPodder
(which does not background) so I suspect there is some bad synergy
happening by a memory leak in system libraries being exasperated by gPodder.
I downgraded on my phone and I could push memory usage up by just switching
between lots of different pages and it seems pages don't get cleared from
memory when not in use, though memory usage did drop a bit when I locked
the screen.
(By opening all podcast information pages which include logos and all
episode listings one after the other I managed to enlarge the total memory
footprint [VIRT] from ~500M to 1200M after screen lock it dropped back down
to ~850M, resident memory usage [RES] was doubled by this and never dropped
back down)
In the newer version the episode listings are much heavier because each
episode comes with a picture.

Thanks,
Eli

Op ma 13 apr. 2020 om 17:03 schreef David Llewellyn-Jones <
da...@flypig.co.uk>:

> On 13/04/2020 15:54, E.S. Rosenberg wrote:
> > Recently I've noticed my phone running out of memory more often.
> > I've update to 3.3.0.14 but I also released a newer version of gPodder
> > which may be guilty of this.
> > However closing gPodder does not release memory so I'm not really sure
> > if I should blame myself or that lipstick is after all leaking memory.
> > Also how does one optimize a qml/python apps memory usage? Neither is
> > managed to the best of my knowledge.
> > I may have time later to test the level of involvement of gPodder by
> > downgrading.
>
> Hi Eli,
>
> If the memory isn't released when gPodder's closed (assuming the app is
> definitely closed, and not just hidden), then it's highly unlikely to be
> gPodder draining your memory.
>
> A very simple way to check memory usage is just to take a look at the
> output of "top". The following will show everything running ordered by
> memory usage and keep it updated:
>
> top -o %MEM
>
> Or if you just want to track gPodder you could use something like this:
>
> top -o %MEM -p `pgrep sailfish-qml`
>
> I used sailfish-qml as the app name, since probably that's what gPodder
> will be called if it's QML/python-only, but you can change it to
> whatever you're interested in.
>
> Finally I was going to suggest to run it with valgrind, which gives a
> summary of memory leaks when you close the app and I've found useful in
> the past for C++ code. Unfortunately when I tried it on another QML-only
> app the results weren't very helpful at all. So this may not be a
> helpful route to go down.
>
> Nevertheless I uploaded an RPM to openrepos in case it's helpful in some
> other context:
>
> https://openrepos.net/content/flypig/valgrind
>
> David
> --
> Website: https://www.flypig.co.uk
> ___
> 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] Conditional QML element

2020-04-07 Thread E.S. Rosenberg
Hi David,
You are absolutely correct, this is the better solution which runs at a
reasonable speed (though I expect it consumes more memory).
Thanks!
Eli
PS - so far I have never really profiled the application for memory usage
or tried to do so, does the SDK have some way of doing this?

Op di 7 apr. 2020 om 11:55 schreef David Llewellyn-Jones :

> Hi Eli,
>
> I'm probably misunderstanding the situation, but can you make individual
> items visible or not (visible: true/false), rather than using Loaders in
> the list?
>
> David
>
> On 07/04/2020 11:22, E.S. Rosenberg wrote:
> > Hi Andrey,
> > Thanks for the suggestion, though having them as Components in the same
> > file instead of external qml files does improve performance it is still
> > a lot slower then just having the component directly in use without a
> > Loader.
> >
> > ie:
> >
> > ListItem {
> > (...)
> > ArtArea {
> > }
> > }
> >
> > Of course like that there is no logic to have either ArtArea or
> > CoverArea but I can have logic in each ArtArea as to which image it is
> > displaying so image loading an logic speed are not the issue but rather
> > just the loader (I can have 400+ length lists where you really see the
> > slowdown).
> >
> > Any other suggestions?
> > Thanks!
> > Eli
> >
> > Op di 7 apr. 2020 om 01:15 schreef Андрей Кожевников
> > mailto:coderusin...@gmail.com>>:
> >
> > wrap inside Component and set using sourceComponent property
> >
> > вт, 7 апр. 2020 г. в 01:13, E.S. Rosenberg
> >  > <mailto:es.rosenberg%2bsailfishos@gmail.com>>:
> >
> > Hi all,
> > In the application I maintain (gPodder) I would like to show an
> > element holding Image(s) in each ListItem, depending on whether
> > or not the ListItem has a property either a component with 2
> > images or a component with 1 image should be loaded (an possibly
> > also a no image fallback).
> >
> > I have tried implementing this using a Loader:
> > Loader {
> > id: artArea
> > anchors {
> > left: parent.left
> > }
> > height: titleItem.height + subtitleItem.height
> > width: titleItem.height + subtitleItem.height
> >
> > asynchronous: true
> > source: episode_art ? "ArtArea.qml" : "CoverArea.qml"
> > }
> >
> > However this totally tanks performance, using just "ArtArea"
> > without the loader is really fast thus the issue is not the
> > amount of images that need to be loaded.
> > Is there a better/faster way to do this?
> >
> > Thanks!
> > Eli
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
> > <mailto:devel-unsubscr...@lists.sailfishos.org>
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscr...@lists.sailfishos.org
> > <mailto:devel-unsubscr...@lists.sailfishos.org>
> >
> >
> > ___
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> devel-unsubscr...@lists.sailfishos.org
> >
>
>
> --
> Website: https://www.flypig.co.uk
> ___
> 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] Conditional QML element

2020-04-07 Thread E.S. Rosenberg
If anyone is curious, this is how I resolved it:
https://github.com/Keeper-of-the-Keys/gpodder-sailfish/blob/episode-art-list/qml/ArtArea.qml

Op di 7 apr. 2020 om 20:19 schreef Alexey Andreyev <
yetanotherandre...@gmail.com>:

> Hello! I could be wrong, but I've probably faced BackgroundItem as the
> freezes reason (ListItem inherits BackgroundItem) the other day with the
> Silica's ListView.
> I could recommend to try fallback to Item and MouseArea from ListItem and
> BackgroundItem accordingly and check is that true. Just a hint from my side
> what to check twice, I would be glad to hear about the results is that the
> case.
>
> вт, 7 апр. 2020 г. в 18:52, E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>> Hi David,
>> You are absolutely correct, this is the better solution which runs at a
>> reasonable speed (though I expect it consumes more memory).
>> Thanks!
>> Eli
>> PS - so far I have never really profiled the application for memory usage
>> or tried to do so, does the SDK have some way of doing this?
>>
>> Op di 7 apr. 2020 om 11:55 schreef David Llewellyn-Jones <
>> da...@flypig.co.uk>:
>>
>>> Hi Eli,
>>>
>>> I'm probably misunderstanding the situation, but can you make individual
>>> items visible or not (visible: true/false), rather than using Loaders in
>>> the list?
>>>
>>> David
>>>
>>> On 07/04/2020 11:22, E.S. Rosenberg wrote:
>>> > Hi Andrey,
>>> > Thanks for the suggestion, though having them as Components in the same
>>> > file instead of external qml files does improve performance it is still
>>> > a lot slower then just having the component directly in use without a
>>> > Loader.
>>> >
>>> > ie:
>>> >
>>> > ListItem {
>>> > (...)
>>> > ArtArea {
>>> > }
>>> > }
>>> >
>>> > Of course like that there is no logic to have either ArtArea or
>>> > CoverArea but I can have logic in each ArtArea as to which image it is
>>> > displaying so image loading an logic speed are not the issue but rather
>>> > just the loader (I can have 400+ length lists where you really see the
>>> > slowdown).
>>> >
>>> > Any other suggestions?
>>> > Thanks!
>>> > Eli
>>> >
>>> > Op di 7 apr. 2020 om 01:15 schreef Андрей Кожевников
>>> > mailto:coderusin...@gmail.com>>:
>>> >
>>> > wrap inside Component and set using sourceComponent property
>>> >
>>> > вт, 7 апр. 2020 г. в 01:13, E.S. Rosenberg
>>> > >> > <mailto:es.rosenberg%2bsailfishos@gmail.com>>:
>>> >
>>> > Hi all,
>>> > In the application I maintain (gPodder) I would like to show an
>>> > element holding Image(s) in each ListItem, depending on whether
>>> > or not the ListItem has a property either a component with 2
>>> > images or a component with 1 image should be loaded (an
>>> possibly
>>> > also a no image fallback).
>>> >
>>> > I have tried implementing this using a Loader:
>>> > Loader {
>>> > id: artArea
>>> > anchors {
>>> > left: parent.left
>>> > }
>>> > height: titleItem.height + subtitleItem.height
>>> > width: titleItem.height + subtitleItem.height
>>> >
>>> > asynchronous: true
>>> > source: episode_art ? "ArtArea.qml" : "CoverArea.qml"
>>> > }
>>> >
>>> > However this totally tanks performance, using just "ArtArea"
>>> > without the loader is really fast thus the issue is not the
>>> > amount of images that need to be loaded.
>>> > Is there a better/faster way to do this?
>>> >
>>> > Thanks!
>>> > Eli
>>> > ___
>>> > SailfishOS.org Devel mailing list
>>> > To unsubscribe, please send a mail to
>>> > devel-unsubscr...@lists.sailfishos.org
>>> > <mailto:devel-unsubscr...@lists.sailfishos.org&g

[SailfishDevel] Conditional QML element

2020-04-06 Thread E.S. Rosenberg
Hi all,
In the application I maintain (gPodder) I would like to show an element
holding Image(s) in each ListItem, depending on whether or not the ListItem
has a property either a component with 2 images or a component with 1 image
should be loaded (an possibly also a no image fallback).

I have tried implementing this using a Loader:
Loader {
id: artArea
anchors {
left: parent.left
}
height: titleItem.height + subtitleItem.height
width: titleItem.height + subtitleItem.height

asynchronous: true
source: episode_art ? "ArtArea.qml" : "CoverArea.qml"
}

However this totally tanks performance, using just "ArtArea" without the
loader is really fast thus the issue is not the amount of images that need
to be loaded.
Is there a better/faster way to do this?

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

Re: [SailfishDevel] 回复:Devel Digest, Vol 72, Issue 18

2020-04-16 Thread E.S. Rosenberg
With what?

Op wo 15 apr. 2020 om 15:05 schreef 不瘦十斤不改名字 <1028294...@qq.com>:

>
> help
>
> -- 原始邮件 --
> *发件人:* "devel-request";
> *发送时间:* 2020年4月15日(星期三) 晚上8:06
> *收件人:* "devel";
> *主题:* Devel Digest, Vol 72, Issue 18
>
> Send Devel mailing list submissions to
> devel@lists.sailfishos.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel
> or, via email, send a message with subject or body 'help' to
> devel-requ...@lists.sailfishos.org
>
> You can reach the person managing the list at
> devel-ow...@lists.sailfishos.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Devel digest..."
>
>
> Today's Topics:
>
>1. 回复:Devel Digest, Vol 72, Issue 17
>   (=?gb18030?B?srvK3cquve+yu7jEw/vX1g==?=)
>
>
> --
>
> Message: 1
> Date: Wed, 15 Apr 2020 20:01:31 +0800
> From: "=?gb18030?B?srvK3cquve+yu7jEw/vX1g==?=" <1028294...@qq.com>
> To: "=?gb18030?B?ZGV2ZWwtcmVxdWVzdA==?=" 
> Subject: [SailfishDevel] 回复:Devel Digest, Vol 72, Issue 17
> Message-ID: 
> Content-Type: text/plain; charset="gb18030"
>
> 为什么我交了钱不能用安卓虚拟机
>
>
> --原始邮件--
> 发件人:"devel-request" 发送时间:2020年4月15日(星期三) 晚上8:00
> 收件人:"devel"
> 主题:Devel Digest, Vol 72, Issue 17
>
>
>
> Send Devel mailing list submissions to
> devel@lists.sailfishos.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sailfishos.org/cgi-bin/mailman/listinfo/devel
> or, via email, send a message with subject or body 'help' to
> devel-requ...@lists.sailfishos.org
>
> You can reach the person managing the list at
> devel-ow...@lists.sailfishos.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Devel digest..."
>
>
> Today's Topics:
>
>  1. Re: 回复:Devel Digest, Vol 72, Issue 15 (Chris Walker)
>  2. Re: Lipstick not launching app (Adam Pigg)
>  3. Re: Lipstick not launching app (Slava Monich)
>  4. Re: Lipstick not launching app (Julien Blanc)
>
>
> --
>
> Message: 1
> Date: Tue, 14 Apr 2020 13:04:50 +0100
> From: Chris Walker  To: devel@lists.sailfishos.org
> Subject: Re: [SailfishDevel] 回复:Devel Digest, Vol 72, Issue 15
> Message-ID:
>  
>
> Content-Type: text/plain; charset="UTF-8"
>
> On Tue, 2020-04-14 at 19:39 +0800, 不瘦十斤不改名字 wrote:
> 
>  能回复我一下吗
>
> For pete's sake learn to quote the stuff you need and not the whole
> digest!
>
> Also, try and post in English.
>
> --
> __ __| |_ __ __
> .-.
> / _/ _` \ V V / | mailto:
> cdw_noki...@the-walker-household.co.uk |
> \__\__,_|\_/\_/
> |_|
>
>
>
> --
>
> Message: 2
> Date: Tue, 14 Apr 2020 13:50:42 +0100
> From: Adam Pigg  To: Sailfish OS Developers  Subject: Re: [SailfishDevel] Lipstick not launching app
> Message-ID:
>  Content-Type: text/plain; charset="UTF-8"
>
> I think the qt5 booster is a no-op, but im sure someone with more
> knowledge can correct me. The regular booster will try and load the
> app as a shared library so it will need to be compiled a certain way.
> Depends how your app is written. Anything based on the sdk templates
> should be fine.
>
> On Tue, 14 Apr 2020 at 12:19, Julien Blanc  wrote:
> 
>  Le mardi 14 avril 2020 à 11:27 +0100, Adam Pigg a écrit :
>   Have you tried using invoker to launch it?
> 
>  [nemo@Sailfish ~]$ invoker --type silica-qt5 harbour-kontroller
>  invoker: Invoking execution: '/usr/bin/harbour-kontroller'
>  invoker: error: Can't send signal 11 to application [24388]: No such
>  process
>  Segmentation fault
> 
>  [nemo@Sailfish ~]$ invoker --type qt5 harbour-kontroller
>  invoker: Invoking execution: '/usr/bin/harbour-kontroller'
> 
>  -- app launches correctly.
> 
>  So that’s indeed a difference, and i can fix the .desktop file
>  accordingly. Thanks for the tip.
> 
>  But what is the difference between silica-qt5 and qt5 ? Why would it
>  cause an app crash ?
> 
>  Regards,
> 
>  Julien
> 
>   On Tue, 14 Apr 2020 at 11:18, Julien Blanc  
>   wrote:
>Finally found something relevant in the logs :
>   
>Apr 14 12:15:42 Sailfish mapplauncherd[5363]: Boosted
> process
>(pid=16324) was terminated due to signal 11
>   
>So apparently, my app segfaults, but only when launched from
>applauncherd. This is somewhat good news. I can start to
> track the
>issue adding some debug traces.
>   
>I'm still puzzled as what's the difference between
> launching from
>lipstick and from a terminal.
>   
>Regards,
>   
>Julien
>   
>Le mardi 14 avril 2020 à 07:35 +0200, Julien Blanc a écrit :
> There it is :
>
> [Desktop Entry]
> Type=Application
> X-Nemo-Application-Type=silica-qt5
> Icon=harbour-kontroller
> 

Re: [SailfishDevel] Conditional QML element

2020-04-07 Thread E.S. Rosenberg
Hi Andrey,
Thanks for the suggestion, though having them as Components in the same
file instead of external qml files does improve performance it is still a
lot slower then just having the component directly in use without a Loader.

ie:

ListItem {
(...)
ArtArea {
}
}

Of course like that there is no logic to have either ArtArea or CoverArea
but I can have logic in each ArtArea as to which image it is displaying so
image loading an logic speed are not the issue but rather just the loader
(I can have 400+ length lists where you really see the slowdown).

Any other suggestions?
Thanks!
Eli

Op di 7 apr. 2020 om 01:15 schreef Андрей Кожевников :

> wrap inside Component and set using sourceComponent property
>
> вт, 7 апр. 2020 г. в 01:13, E.S. Rosenberg <
> es.rosenberg+sailfishos@gmail.com>:
>
>> Hi all,
>> In the application I maintain (gPodder) I would like to show an element
>> holding Image(s) in each ListItem, depending on whether or not the ListItem
>> has a property either a component with 2 images or a component with 1 image
>> should be loaded (an possibly also a no image fallback).
>>
>> I have tried implementing this using a Loader:
>> Loader {
>> id: artArea
>> anchors {
>> left: parent.left
>> }
>> height: titleItem.height + subtitleItem.height
>> width: titleItem.height + subtitleItem.height
>>
>> asynchronous: true
>> source: episode_art ? "ArtArea.qml" : "CoverArea.qml"
>> }
>>
>> However this totally tanks performance, using just "ArtArea" without the
>> loader is really fast thus the issue is not the amount of images that need
>> to be loaded.
>> Is there a better/faster way to do this?
>>
>> Thanks!
>> Eli
>> ___
>> 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Error with libstdc++.so.6(CXXABI_1.3.8)

2020-04-05 Thread E.S. Rosenberg
You're using an SDK targeted at newer releases thus there is a mismatch
between what is available on your phone and in the SDK.
HTH,
Eli

Op zo 5 apr. 2020 om 06:34 schreef joao morgado via Devel <
devel@lists.sailfishos.org>:

> Hi
>
> I'm porting a C++/QML OpenGL app from android to Sailfish. I'm trying to
> isolate an error I got,  so I started adding class's one by one (not yet
> instanciating any object). One class that causes the error has the
> following includes:
>
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
>
>  Deploying the app as RPM package, I get the error:
>
> Error: nothing provides libstdc++.so.6(CXXABI_1.3.8) needed by
> harbour-mathgraphica-0.1-1.armv7hl
>
> Finished transaction (status=2, runtime=408ms)
>
> Deploy failed
>
> 03:48:44: The process
> "/home/joao/.config/SailfishSDK/libsfdk/build-target-tools/Sailfish OS
> Build Engine/SailfishOS-3.2.1.20-armv7hl/deploy" exited with code 1.
>
> Error while building/deploying project harbour-mathgraphica (kit:
> SailfishOS-3.2.1.20-armv7hl (in Sailfish OS Build Engine))
>
> When executing step "RPM"
>
> Deploying the app by copying binaries I get the error:
>
> 04:08:47: Starting
> /opt/sdk/harbour-mathgraphica/usr/bin/harbour-mathgraphica ...
>
> /opt/sdk/harbour-mathgraphica/usr/bin/harbour-mathgraphica:
> /usr/lib/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by
> /opt/sdk/harbour-mathgraphica/usr/bin/harbour-mathgraphica)
>
> 04:08:48: Application finished with exit code 1.
>
> Building the RPM package for manual deployment works, but installing the
> binaries manually fails with an error.
>
> I have a Intex AguaFish  with OS 3.0.1.11. the sdk I'm using has the
> version 3.0.7 with toolchain 3.2.1.20. They both should be compatible right
> ? Any ideias ?
>
> Cheers
> João
>
>
>
>
>
> ___
> 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] What is going on with SFOS 3.3

2020-03-26 Thread E.S. Rosenberg
It's strange, with the JP1 hooked directly to my laptop I can get things
working as described on TJC.
But connected to the router it doesn't and I don't see any reason for it
not to
Either way looking forward to 3.3 release asap please in the mean time I'm
eating my data package and battery of my daily driver (X 5122 with SFOS).
Eli


Op do 26 mrt. 2020 om 17:02 schreef Matti Viljanen :

> Hi,
>
> I have been using my Sony Xperia XA2 Ultra (3.2.1) as a modem by
> connecting it to my router with USB cable, and it has worked perfectly -
> after I did the fixes found in TJC, that is. I assume the same fixes I
> did should fix Jolla Phone, too. I have my Jolla Phone still, but I
> don't have the time to test it right now.
> --
> Matti Viljanen
>
> E.S. Rosenberg kirjoitti 26.3.2020 klo 13.20:
> > Hi Everyone,
> > SFOS 3.2.1 was released in december.
> > Yes most of the world is working from home but in our field that barely
> > matters so what is going on? Any projected date?
> > Thanks,
> > Eli
> >
> > (I just made the stupid mistake of updating my JP1 to 3.2.1 while I'm
> > using it as my WFH modem but according to TJC this will be fixed in 3.3,
> > though I'm trying to see whether I will succeed in fixing it manually)
> >
> > ___
> > 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
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] Error deploying app to a salfish device

2020-04-02 Thread E.S. Rosenberg
Hi João,
I'm going to go out on a limb and say you are not connecting over USB but
rather using wireless (because on USB it's always 192.168.2.15).
The SDK is not running the DHCP server of your network and has no control
over the assigned IP address, so either you need to make sure the phone
always gets the same address or you would need to have some form of dynDNS
setup (major overkill) for your LAN. The easiest method is undoubtedly
setting a static lease for your phone in your router.
HTH,
Eli

Op vr 3 apr. 2020 om 03:30 schreef joao morgado via Devel <
devel@lists.sailfishos.org>:

> Hi there
>
> Every time the IP adress of my Intex Aqua Fish changes I have to update it
> in the QtCreator device hostname.
> I can sucessfully test the connection with the device from QtCreator
> device menu.
> But when deploying a app I get the following error:
>
> Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /home/deploy/installroot
>
> Deploy failed
>
> ssh: connect to host 192.168.1.4 port 22: Connection timed out
>
> rsync: connection unexpectedly closed (0 bytes received so far) [sender]
>
> rsync error: error in rsync protocol data stream (code 12) at io.c(226)
> [sender=3.1.0]
>
> 01:00:47: The process
> "/home/joao/.config/SailfishSDK/libsfdk/build-target-tools/Sailfish OS
> Build Engine/SailfishOS-3.2.1.20-armv7hl/deploy" exited with code 1.
>
> Error while building/deploying project harbour-eletronicgames (kit:
> SailfishOS-3.2.1.20-armv7hl (in Sailfish OS Build Engine))
>
> When executing step "Rsync"
>
> Note that the error message shows ip 192.168.1.4, but the device ip is in
> fact 192.168.1.6.
> I wonder if there is some other option in QtCreator that I'm overlookin to
> update the device ip.
>
>
> Also from the know issues
> https://sailfishos.org/wiki/Application_SDK_Known_Issues
> there is a error related with:
> ... Checking for unpackaged file(s): /usr/lib/rpm/check-files
> /home/deploy/installroot
>
> I edited the hosts file name and add SailfishSDK, as sugested there, but
> the error persists.
> I'm using Intex Aqua Fish with 3.0.1.11 and Salfish SDK 3.0.7, kit 
> SailfishOS-3.2.1.20-armv7hl,
> my pc with Linux Mint 19.3 CinnamonLinuxMint64bit.
> Any ideias how to fix this ?
>
> Chers
> João
>
>
>
> ___
> 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

[SailfishDevel] "shift" key in SDK

2020-03-30 Thread E.S. Rosenberg
Hi all,
I'm not sure if I messed up something in my config or if this is something
else.
Inside the SDK the shift key combined with arrow keys doesn't work at all.
I can select a block of text by holding shift and clicking with the mouse
but shift+{up,down,left,right,home,end,pgup,pgdn} doesn't work.
(all the above buttons are mapped to my arrow keys on my laptop).

Anyone else also seeing this?

specs: QtCreator 4.9.1 (latests SDK - 3.2.1.x OS), Ubuntu 20.04 (pre
release)
Thanks,
Eli
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

  1   2   >