Monday, 2014-01-13

*** macben has joined #sailfishos00:04
*** jjanvier has joined #sailfishos00:06
*** macben has quit IRC00:07
*** jstaniek has quit IRC00:09
*** nodevel has quit IRC00:15
*** sequantz has quit IRC00:21
*** Morpog_Mobile has joined #sailfishos00:21
*** roric has quit IRC00:27
*** macben has joined #sailfishos00:35
*** rashm2k1 has quit IRC00:35
*** macben has quit IRC00:40
*** Zotan has quit IRC00:42
*** triggerhappy has joined #sailfishos00:57
*** jjarven has quit IRC01:00
*** Morpog_ has quit IRC01:05
*** jjarven has joined #sailfishos01:15
*** inara has quit IRC01:17
*** inara has joined #sailfishos01:20
*** guardianx has joined #sailfishos01:22
*** Eztran has quit IRC01:35
*** macben has joined #sailfishos01:36
*** nodevel has joined #sailfishos01:40
*** macben has quit IRC01:41
*** triggerhappy has quit IRC01:47
*** xowap has quit IRC01:51
*** wickwire has quit IRC01:55
*** Kabouik has quit IRC01:56
*** jjanvier has quit IRC02:02
*** Kabouik has joined #sailfishos02:03
*** softmetz has joined #sailfishos02:04
*** Eismann_ has quit IRC02:06
*** softmetz_ has quit IRC02:08
*** Eismann has joined #sailfishos02:08
*** mohjive has quit IRC02:09
*** Kabouik has quit IRC02:12
*** Morpog_Mobile has quit IRC02:34
*** alight has quit IRC02:40
*** amonk has joined #sailfishos02:42
*** BeholdMyGlory has quit IRC02:57
*** amonk has quit IRC03:04
*** SeekingFor has quit IRC03:05
*** SeekingFor has joined #sailfishos03:06
*** macben has joined #sailfishos03:09
*** macben has quit IRC03:13
*** Morpog_Mobile has joined #sailfishos03:29
*** alight has joined #sailfishos03:51
*** alight has quit IRC03:56
*** furikku has joined #sailfishos03:59
*** SeekingFor has quit IRC04:00
*** SeekingFor has joined #sailfishos04:01
*** ericcc has joined #sailfishos04:18
*** Custodian has joined #sailfishos04:26
*** ericcc has quit IRC04:28
*** ericcc has joined #sailfishos04:29
*** PeterPark has quit IRC04:35
*** martyone_ has joined #sailfishos04:45
*** Tomiol80 has joined #sailfishos04:45
*** rm_work_ has joined #sailfishos05:03
*** ericcc is now known as ERI05:05
*** Custodian has quit IRC05:12
*** macben has joined #sailfishos05:13
*** Tomiol80 has quit IRC05:15
*** macben has quit IRC05:17
*** guardianx has quit IRC05:35
*** janmalte has joined #sailfishos05:38
*** ericcc has joined #sailfishos05:49
*** ERI has quit IRC05:51
*** Pat_o has joined #sailfishos06:00
*** dafox has joined #sailfishos06:04
*** fk_lx has quit IRC06:04
*** dafox has quit IRC06:07
*** Bloob has joined #sailfishos06:08
*** janmalte has quit IRC06:19
*** VDVsx has quit IRC06:23
*** ericcc_ has joined #sailfishos06:24
*** amonk has joined #sailfishos06:25
*** ericcc has quit IRC06:27
*** flyapen has joined #sailfishos06:28
*** rm_work_ has quit IRC06:34
wellu_all: Any idea what kind of QA process is run for Android apps in Jolla Store? As we know there isn't any kind of QA process in e.g Google Play and what I've seen majority of the so-called free apps on Android are crap.06:38
wellu_I'm worried that Jolla Store gets its share of this crap too. Like having n^x calculators that call home, show adds and steal user data.06:39
*** Eismann has quit IRC06:41
*** rcg has joined #sailfishos06:42
*** ericcc_ has quit IRC06:42
*** ericcc has joined #sailfishos06:43
*** Naranek has joined #sailfishos06:47
*** Morpog_PC has joined #sailfishos06:50
*** VDVsx has joined #sailfishos06:50
*** dafox has joined #sailfishos06:52
*** Morpog_PC has quit IRC06:58
*** euroelessar has joined #sailfishos07:05
*** roric has joined #sailfishos07:08
*** cargocult has joined #sailfishos07:11
*** roric has quit IRC07:14
*** macben has joined #sailfishos07:17
*** dafox has quit IRC07:18
*** macben has quit IRC07:21
*** cargocult has quit IRC07:22
*** Almehdin has quit IRC07:23
*** Sfiet_Konstantin has joined #sailfishos07:23
*** Pat_o has quit IRC07:27
*** amonk has quit IRC07:28
*** euroelessar has quit IRC07:34
*** euroelessar has joined #sailfishos07:34
*** amonk has joined #sailfishos07:35
*** Pat_o has joined #sailfishos07:40
*** Blizzzek has joined #sailfishos07:42
*** rcg has quit IRC07:47
*** Pat_o has quit IRC08:00
*** jardous has joined #sailfishos08:03
smokexwellu_: The Sailfish QA process is fairly stringent. They check included libraries and only allow you to use some for example.08:06
ln-allow using only certain Android libraries?08:07
smokexI'm farly certain that someone test runs every app before it is added to the store repo08:07
smokexI'm talking about jolla harbor08:07
ln-so am i, so was wellu_08:07
_Razor_screen -Dr08:10
*** macben has joined #sailfishos08:10
_Razor_sorry08:10
Nicd-tmux att08:11
wellu_smokex: there are already some non-working Android apps in Harbour.08:13
wellu_..like crashing, not getting GPS fix etc.08:13
smokexmight be a good idea to talk to the sailfish guys then08:14
jake9xxkontio: ^08:14
smokexbut I'm pretty sure they aren't awake at 6:13pm brisbane, australia time08:14
smokexsince most of them are in finland08:14
tbrpeople should be waking up now08:15
suosaaskiit's 10:15 here in Finland.08:15
tbrit's 1015 local08:15
smokexyou might want to /join #jollamobile too if you haven't already08:15
smokexand email developer-care (at) jolla.com08:20
smokexhttps://lists.sailfishos.org/pipermail/devel/2013-November/000989.html08:20
*** macben has quit IRC08:21
*** b0bben has joined #sailfishos08:22
*** Kabouik has joined #sailfishos08:22
*** jjanvier has joined #sailfishos08:22
ln-let's say someone submits an Android app to the store, and later creates a native sailfish app with the sama name. can it be submitted as an update to the Android one?08:25
*** jmlich has joined #sailfishos08:26
*** rcg has joined #sailfishos08:26
*** atiti has joined #sailfishos08:31
*** _miqu_ has joined #sailfishos08:31
*** roric has joined #sailfishos08:32
*** b0bben has quit IRC08:34
*** veskuh has joined #sailfishos08:37
*** faenil has joined #sailfishos08:40
*** atiti has quit IRC08:44
*** ericcc has quit IRC08:46
*** atiti has joined #sailfishos08:50
*** clau has joined #sailfishos08:50
*** sequantz has joined #sailfishos08:54
claucurrently pkcon can be used by user nemo to install new packages. this also means any app running under user name can do it (for instance Warehouse, from openrepos).08:54
clauthis looks like a huge security risk.08:54
clauam I missing something?08:54
*** Vant has joined #sailfishos08:55
*** Xruxa has joined #sailfishos08:56
*** Almehdin has joined #sailfishos08:56
*** jardous has quit IRC08:57
*** jardous has joined #sailfishos08:58
*** Blizzzek is now known as Blizzz08:58
*** TheBootroo_ has quit IRC09:01
*** macben has joined #sailfishos09:03
*** zsombi has joined #sailfishos09:07
*** xyll has joined #sailfishos09:10
*** sletta has joined #sailfishos09:11
*** zhxt has joined #sailfishos09:11
*** alight has joined #sailfishos09:16
*** leinir has quit IRC09:17
*** goroboro has joined #sailfishos09:17
*** leinir has joined #sailfishos09:17
*** roboro has quit IRC09:17
*** zsombi has quit IRC09:19
*** wickwire has joined #sailfishos09:19
*** jjarven has quit IRC09:19
*** kopla has joined #sailfishos09:21
*** _miqu_ has quit IRC09:23
*** mk2soldier has joined #sailfishos09:24
*** euroelessar has quit IRC09:25
*** rc_ has joined #sailfishos09:25
*** zsombi has joined #sailfishos09:26
*** rc_ has quit IRC09:27
wellu_clau: what about running 'devel-su'09:32
wellu_clau: what about running 'devel-su' from main.cpp ?09:32
clauwhat about it?09:32
claudoesn't it ask for password?09:32
wellu_ah, you're right09:32
*** KangOl has joined #sailfishos09:33
wellu_"Please enter you password to continue" dialog first :)09:33
clauessentially a malicious app can do whatever it pleases :(09:34
*** ericcc has joined #sailfishos09:34
wellu_clau: yes, so don't worry about installing packages. It is the least of the problems.09:36
clau /var/lib/polkit-1/localauthority/50-local.d/75-store-client-pkgkit-issues-workaround.pkla09:36
clauwell, that's the main source of my worries09:36
wellu_"Law #1: If a bad guy can persuade you to run his program on your computer, it's not your computer anymore"09:37
clauyeah, but currently this looks like win95, security wise09:37
clauhow do I know that a closed source app from store doesn't do some bad stuff?09:37
*** cxl000 has joined #sailfishos09:37
wellu_clau: You don't. No one knows.09:38
rcgwellu_, i think what clau means is that a malicious app can install any rpm from anywhere. by installing an rpm, usually, some scripts, such as postinst etc. are run as root. which means that, essentially, by allowing arbitrary packages being installed you could gain root09:38
wellu_Except the author of course.09:38
clauthat's why there's so much security around09:38
clauprivilege separation, stuff like that09:38
*** jjarven has joined #sailfishos09:38
clauI was already pissed that all apps run under the same user, and essentially a flashlight app can read my emails from home dir.09:38
rcgbut i haven't looked into the details of pkcon and ssu so i dunno if they allow such things easily09:39
rcglike adding arbitrary repos etc.09:39
*** dhbiker has quit IRC09:39
claurcg, a warehouse bug just removed the phone app from someone's phone09:39
*** yunta has quit IRC09:39
rcgor downloading and installing apps from arbitrary sources09:39
rcgclau, yay xD09:39
clauso at the least there's a risk of DoS09:39
rcgindeed09:39
*** yunta has joined #sailfishos09:39
clauhttps://together.jolla.com/question/13946/problem-i-deleted-a-warehouse-app-and-it-deleted-android-support-and-the-call-application09:40
*** dhbiker has joined #sailfishos09:40
wellu_It all boils down to this. Always. "Law #1: If a bad guy can persuade you to run his program on your computer, it's not your computer anymore"09:40
clauno, it doesn't.09:40
*** zsombi has quit IRC09:40
claucurrently a bug in the browser can possibly allow someone to run code on the phone.09:40
clauand basically the attacker already has root, by means of pkcon.09:40
wellu_that might be true *too*09:41
clauthis is not cool in 2014, really.09:41
*** macben has quit IRC09:41
rcgbut also think about something like that in a postinst script or something similar: passwd foo; enable ssh (changed config if necessary) ; send jolla-ip to bad-guy; qed09:41
*** alight has quit IRC09:41
rcgjust to give pretty simple example09:42
claucorrect me if I am wrong, but someone could provide an "upgrade" for an existing package, that installed malicious bins09:42
*** b0bben has joined #sailfishos09:42
clauso, someone could even repackage jolla apps09:42
rcgwell, that would require the attacker to add a repo, wouldn't it?09:42
claunot sure09:43
rcgor redirect repo access to his own site09:43
clauyou can install rpms from local disk, right?09:43
rcgsure, yes09:43
*** b0bben_ has joined #sailfishos09:43
clauare the installed packages bound to a specific source?09:43
rcgdunno09:43
rcgas said, i didn't look that much into the details of pkcon and ssu09:43
clauin any case, regardless of the details if a possible attack... this is just very very bad.09:43
rcgbut i think you mention valid points09:44
clau*of09:44
clauI am starting to miss aegis :(09:44
rcgone thing you might look into is if it is required for certain packages to be signed09:44
rcgand if it is or at least can be prohibited to install packages that aren't properly signed09:45
claueven if it is so, that won't stop installing new packages09:45
rcgiirc when messing with zypper you could enable something like a gpg check09:45
clauand really, how many users ever list all the packages and checks them?09:45
rcgwell, having a requirement that packages need to be signed would require an attacker to gain access to the signing key/certificate/whatever09:46
clauyou mean signed by repo source?09:46
rcgi don't know how it is implemented09:46
Stskeepsguys, we have positions open for security engineer09:46
Stskeeps:P09:46
clauit could be done, I suppose, and it would increase security09:46
*** b0bben has quit IRC09:46
rcgwhat i mean is that on the device there would be pre-installed keys that are regarded as trusted and those are used to verify the integrity of packages to be installed09:47
rcgStskeeps, ;D09:47
rcgso, e.g., by adding something to harbour, the rpm would then be signed by the jolla-trusted certificate or something09:47
claurcg, I got it. and the device can remain as open if there's a way to manually install new keys, but just as root.09:48
*** hardcodes has joined #sailfishos09:48
rcgclau, something like that09:48
rcgclau, but as you mention, right now, i am not sure about the current state09:48
koplahi! how to detect power key (button) event? qmkeys.h? https://github.com/nemomobile/qmsystem/blob/master/system/qmkeys.h or ?09:48
rcgso far, i could easily install all rpms i downloaded simply via the file browser app09:48
clauI wonder if someone can pursuade the browser to do it.09:49
suyStskeeps: jolla page says to send CV before December 31, so now, you are covered :-P  (/me hides)09:50
clau:D09:50
clauStskeeps, good to know :)09:50
rcgclau, iirc there are similar discussions on together.jolla.com and iirc i read something about some setting like "allow installation from non-trusted sources" or so being added with an update09:52
rcgessentially, pretty much similar to what was possible with the n909:52
clauyep, I'll search for it and vote it up.09:52
rcg:)09:52
rcgbut good to know that people are concerned about security :D09:53
rcgyou know, the "good guys" ;)09:53
clau:D09:53
clauStskeeps, I see you hire people on many fronts.09:55
*** _miqu_ has joined #sailfishos09:55
hardcodesanyone here that knows about merssh?09:57
*** zsombi has joined #sailfishos09:58
suyhardcodes: probably a lot. Make the real question, and somebody can answer then :)09:59
hardcodesOK, I want to pass the project dir on deployment with -p09:59
hardcodessomehow it gets lost until it reaches the mb2 script09:59
*** alight has joined #sailfishos09:59
hardcodesand every proxy script in .config/SailfishAlpha3/mer-sdk-tools/MerSDK/SailfishOS-i486-x86 uses merssh10:00
hardcodesso what does merssh do and does it set a fixed directory when calling mb2?10:01
*** amonk has quit IRC10:01
radiofreejolla arrives today, how exciting :D10:02
*** alight has quit IRC10:03
*** alight has joined #sailfishos10:03
claucongrats :)10:04
*** alight has quit IRC10:07
*** s1gk1ll has quit IRC10:12
*** macben has joined #sailfishos10:12
*** s1gk1ll has joined #sailfishos10:13
*** clau has quit IRC10:14
*** fk_lx has joined #sailfishos10:14
*** macben has quit IRC10:16
*** macben has joined #sailfishos10:16
*** Zzz has joined #sailfishos10:22
*** stephg has joined #sailfishos10:24
*** alight has joined #sailfishos10:24
*** macben has quit IRC10:28
hardcodesAWAY business10:28
*** dhbiker has quit IRC10:30
*** PeterPark has joined #sailfishos10:33
*** _Razor_ has quit IRC10:34
*** _Razor_ has joined #sailfishos10:35
*** Zzz has quit IRC10:35
*** Sfiet_Konstantin has quit IRC10:37
*** Zzz has joined #sailfishos10:39
*** simbrown has joined #sailfishos10:39
*** Eztran has joined #sailfishos10:43
*** euroelessar has joined #sailfishos10:43
*** testyfallen has joined #sailfishos10:44
*** goroboro is now known as roboro10:45
testyfallenhello :)10:47
*** triggerhappy has joined #sailfishos10:47
euroelessarhi10:48
*** Communi109 has joined #sailfishos10:53
*** alight has quit IRC10:53
*** testyfallen has quit IRC10:54
*** euroelessar has quit IRC10:54
*** euroelessar has joined #sailfishos10:56
*** Zzz has quit IRC10:58
*** mikhas has joined #sailfishos11:00
*** zsombi has quit IRC11:02
*** zsombi has joined #sailfishos11:05
*** nodevel has quit IRC11:10
*** Communi109 has quit IRC11:10
*** nodevel has joined #sailfishos11:13
*** zsombi has quit IRC11:14
*** zsombi has joined #sailfishos11:14
*** dhbiker has joined #sailfishos11:15
*** zhxt has quit IRC11:16
*** lizardo has joined #sailfishos11:17
*** alight has joined #sailfishos11:18
*** nodevel has quit IRC11:18
*** nodevel has joined #sailfishos11:18
coderushello hello :)11:19
smokexhey coderus :)11:19
smokexon your N9, is data transfer over 3G disabled with no way to enable it?11:20
*** ericcc_ has joined #sailfishos11:21
*** freedomrun has joined #sailfishos11:23
*** ericcc has quit IRC11:23
*** ericcc has joined #sailfishos11:27
*** mk2soldier has quit IRC11:29
*** jluisn has joined #sailfishos11:29
*** ericcc_ has quit IRC11:29
*** macben has joined #sailfishos11:32
*** wellu_ has quit IRC11:32
*** cargocult has joined #sailfishos11:33
*** zsombi is now known as zsombi|lunch11:34
*** khertan_ has quit IRC11:36
*** b0bben_ has quit IRC11:37
*** MFaro-Tusino has joined #sailfishos11:41
*** khertan_ has joined #sailfishos11:42
raijinmy data transfer works just fine smokex11:48
raijinoh11:48
raijinbelay that11:48
raijin-_-11:48
coderussmokex: its working11:49
coderussmokex: you need to long tap on it and enter access point credentials11:50
*** b0bben has joined #sailfishos11:53
*** artemma has joined #sailfishos11:57
smokexthanks coderus11:58
*** faenil has quit IRC11:58
ponkycoderus: any eta on mitakuuluu background daemon :)? or is it even possible yet12:02
*** hardcodes has quit IRC12:03
*** KangOl has quit IRC12:04
*** Eztran has quit IRC12:08
*** Dotti has joined #sailfishos12:08
*** KangOl has joined #sailfishos12:10
*** ericcc has quit IRC12:11
*** sequantz has quit IRC12:12
*** b0bben has quit IRC12:12
*** ericcc has joined #sailfishos12:13
*** b0bben has joined #sailfishos12:16
*** mk2soldier has joined #sailfishos12:22
*** triggerhappy has quit IRC12:24
*** triggerhappy has joined #sailfishos12:25
*** _miqu_ has quit IRC12:26
*** khertan_ has quit IRC12:28
*** cargocult has quit IRC12:31
*** Venemo has joined #sailfishos12:32
*** khertan has joined #sailfishos12:32
*** MFaro-Tusino has quit IRC12:32
khertanHello !12:33
khertanStskeeps, ping12:33
tbrkhertan: on a plane to HEL12:34
*** Master-Passeli has quit IRC12:36
*** Khertan_Atwork has quit IRC12:36
*** artemma has quit IRC12:36
*** Master-Passeli has joined #sailfishos12:37
ericcctbr  hi  can you   add  some   color  to the log of pagehttp://merproject.org/logs/%23sailfishos/%23sailfishos.2014-01-13.log12:37
tbrericcc: need to find my ssh key for that machine. last time I looked for it, I couldn't find it.12:39
khertantbr, oh thx12:40
*** _miqu_ has joined #sailfishos12:40
khertantbr, :)12:40
khertanhe ask me to ping him tomorrow about the suddent reset12:40
khertani got on my jolla12:40
khertanbut didn't join it12:40
ericcctbr   3q12:41
*** auri___ is now known as auri__12:43
*** pihlanen has joined #sailfishos12:44
*** Raim has quit IRC12:46
*** BeholdMyGlory has joined #sailfishos12:48
*** pihlanen has quit IRC12:51
*** sequantz has joined #sailfishos12:52
ericcctbr    how  can  i   instlll  rpm  to  my sdk12:54
*** 92AAAMSQ5 has joined #sailfishos12:55
smokexericcc: zypper13:00
ericccsmokex: how  can  i  do  then13:01
tbrin your SDK you should use the management interface13:03
smokexericcc the log is a plain text file... can't add color13:04
tbrsmokex: log2html can do that13:04
tbrsmokex: I just need to log on to the virtual machine and add it to the cron-cjobs13:04
smokexah I see.. convert it to html13:05
ericccsmokex:   like  this  http://merproject.org/logs/%23nemomobile/%23nemomobile.2014-01-13.log.html13:05
*** hardcode_ has joined #sailfishos13:07
*** Finleida has joined #sailfishos13:11
*** TemeV has quit IRC13:11
*** TemeV has joined #sailfishos13:11
*** Raim has joined #sailfishos13:11
*** TemeV has quit IRC13:12
*** zsombi|lunch is now known as zsombi13:13
ericccon  twitter  i   just  see  a  sumsung phone run  the nemo os ,maybe  mer os13:14
*** TemeV has joined #sailfishos13:17
*** khertan has quit IRC13:19
*** Bysmyyr has quit IRC13:24
thpcoderus: https://github.com/sailfish-sdk/libsailfishapp in case you want to try adding i18n support to it13:25
*** macben_ has joined #sailfishos13:25
tbrericcc: http://merproject.org/logs/%23sailfishos/latest.log.html13:25
*** cargocult has joined #sailfishos13:26
*** macben has quit IRC13:29
coderusponky: what you mean?13:30
*** b0bben has quit IRC13:35
*** KangOl has quit IRC13:40
coderusthp: okay13:40
*** macben_ has quit IRC13:40
coderusbtw, maybe cover all elements with QScoppedPointer by default?13:41
*** KangOl has joined #sailfishos13:41
suyEven better, not returning new'ed pointers... Is not the standard practice in all the apps I've seen (at least not for QQuickView, and certainly not for QApplication). Just local variables in main().13:47
ericcctbr:   nice job13:47
*** KhertanAtwork has joined #sailfishos13:48
*** macben has joined #sailfishos13:48
euroelessarthp: libsailfishapp is opensourced?13:49
thpeuroelessar: yes13:49
euroelessargreat13:50
*** macben has quit IRC13:50
suyOh, seems the culprit for the pointers is libmdeclarativecache... :-/13:52
coderussuy: what wrong with MDeclarativeCache?13:54
suycoderus: returns a pointer to QApplication, and you have to delete it yourself, or use a QScopedPointer13:55
*** _miqu_ has quit IRC13:55
*** lbt has quit IRC13:56
suyI haven't seen any other app that uses such pattern. I can live with it, I suppose, but makes the application strange if you want to have a main() shared for sailfish and other platforms.13:56
*** Pat_o has joined #sailfishos13:56
*** lbt has joined #sailfishos13:56
fk_lxseems that Harbour rpm validator will be avaliable for developers soon: https://github.com/sailfish-sdk/sdk-harbour-rpmvalidator13:56
suyYep. Good news today :)13:57
*** euroelessar has quit IRC13:59
*** euroelessar has joined #sailfishos13:59
fk_lxand what we see from the stuff is that Jolla has it's private repos on bitbucket14:00
*** euroelessar has quit IRC14:01
*** euroelessar has joined #sailfishos14:01
*** edgar2 has joined #sailfishos14:02
*** ericcc has quit IRC14:02
*** euroelessar has quit IRC14:02
thpsuy: just write a main() for every platform, once you go to more exotic platforms, you won't be able to fit everything into main(), anyway14:02
*** euroelessar has joined #sailfishos14:02
thp(think: android/jni or even windows with WinMain or emscripten)14:03
*** dirkvl has joined #sailfishos14:04
coderusthp: making default translation picker based on default locale in SailfishApp::main14:06
coderusthp: and make SailfishApp::installTranslator(locale) ?14:06
thpcoderus: yeah, possibly also having it as utility method so users with a custom main() can use it14:06
thpyeah sounds good14:07
euroelessarcoderus: where would you store QTranslator? would you just make it QApplication's child?14:09
coderuseuroelessar: ::installTranslator would return pointer to QTranslator, you can save it if you need to change translations dynamically14:11
euroelessarcoderus: may be it should be named as loadTranslator?14:12
coderusof course14:12
euroelessaras install means installing it to QApplication14:12
fk_lxsounds better14:12
coderuseuroelessar: QGuiApplication::instance() is there14:12
coderusand it will install it, yes14:13
coderuseuroelessar: hm, seems resonable. no need for ::installTranslator, just ::loadTranslation is enough14:15
coderusmain users will have automatically loaded translations14:16
coderuspower users wiill have QTranslator and can should install it manually to app14:16
euroelessaryeah14:20
euroelessarmake it's signature loadTranslation(const QLocale &locale = QLocale()), so default option will be the system one14:21
*** macben has joined #sailfishos14:21
coderusSAILFISHAPP_EXPORT QTranslator *loadTranslation(QLocale locale = QLocale::system());14:22
euroelessaryes, that's nice, but don't forget const reference :)14:23
*** macben has quit IRC14:23
*** euroelessar has quit IRC14:23
*** euroelessar has joined #sailfishos14:23
*** faenil has joined #sailfishos14:23
*** macben has joined #sailfishos14:24
euroelessarcoderus: and why QLocale::system() but not QLocale()?14:24
*** macben has quit IRC14:25
*** cargocult has quit IRC14:25
*** master_of_master has joined #sailfishos14:25
*** blaamann has quit IRC14:28
*** master_o1_master has quit IRC14:29
dirkvlhey!14:29
*** Pat_o has quit IRC14:29
dirkvlwe are having troubles with accessing the interrupt line14:29
dirkvlfrom the software side14:30
coderuseuroelessar: for compability :)14:30
coderusdirkvl: interrupt line? what it means?14:30
*** blaamann has joined #sailfishos14:30
*** Pat_o has joined #sailfishos14:30
dirkvlinterrupt line from the i2c bus14:30
dirkvl3.3v,ground,sda,scl,interrupt14:30
*** Tomiol80 has joined #sailfishos14:30
radiofreeyay jolla arrived!14:30
radiofreehowever, can't update it14:31
radiofreejust seems to "Checking" for ages14:31
Yanielit takes a long time14:31
Yanielor did in the first version14:31
roboromy jolla arrived and the update went through okay14:31
roborotook a while14:31
*** itbaron has joined #sailfishos14:31
roborostill getting used to things :D14:31
dirkvlcoderus: seems to be no support for interrupt in sdk14:32
sledgesroboro: congrats \o/14:32
radiofreeroboro: same14:33
roborothanks guys14:33
*** khertan has joined #sailfishos14:33
khertanHello14:33
radiofreewas an n9 user, then i broke it, so now need to un-learn 6 months of using android ;)14:33
khertanhow can i read old journalctl log when persistent mode is activated ?14:33
roborobeen working on a tvheadend app... but still struggling with playing video... will be nice to test on an actual phone now14:33
sledgeswill be easy radiofree, it's the reverse process that seems painful (still swiping my android phones :))14:34
radiofreeyes that was me for about 5 of the 6 months with my s3 ;)14:34
* khertan get back to n914:34
* khertan try it to use it again as main phone ... without result14:35
dirkvlcoderus: see http://talk.maemo.org/showpost.php?p=1406090&postcount=27314:37
khertanjournalctl: unrecognized option '--since=yesterday'14:38
radiofreehmm still "Checking..."14:38
khertangrrr14:38
*** b0bben has joined #sailfishos14:40
*** dirkvl has quit IRC14:40
*** Master-Passeli has quit IRC14:44
*** softmetz has quit IRC14:45
*** macben has joined #sailfishos14:45
*** softmetz has joined #sailfishos14:46
*** macben has quit IRC14:46
*** b0bben has quit IRC14:49
*** Master-Passeli has joined #sailfishos14:50
*** blaamann has quit IRC14:51
*** matoking has joined #sailfishos14:52
*** simbrown has quit IRC14:52
*** blaamann has joined #sailfishos14:52
faenilkhertan,  journalctl </var/log/journalfile>14:53
radiofreehmm how big is the system update?14:53
radiofreefile size wise14:54
radiofree1.0.0.5 to... whatever the current one is14:54
radiofreedid it over my data connection by accident14:54
valdur551.0.2.514:54
valdur55releaste  to relase upgrades are big ones.... it reinstall bunch of packages...14:55
valdur55all libs must reinstalled etc....14:56
valdur55damn... mosts of jolla apps have reinstalled.14:56
khertanfaenil: thx but that s the first thing i tryed :) Failed to add match 'system@0004efdab884b558-6e55f2dccdffd29a.journal~': Invalid argument14:56
radiofreevaldur55: ahh thanks14:56
radiofreewell there goes my data ;P14:56
Yaniel1.0.0.5 to 1.0.0.15 or so was 300MB iirc14:56
valdur55so. big :)14:57
Yanieland I did it over 3G as well :D14:57
Yanielsince I couldn't get it to connect to my wlan14:57
valdur55updates on same relase are typically smaller ones.14:57
*** jluisn has quit IRC14:58
radiofreeYaniel: ditto about the wlan14:58
radiofreeis that fixed in the new update?14:58
Yanielyeah, now it works14:58
Yanielstill has problems if you input a wrong password though14:58
khertanfaenil: i'm not familiar with systemd and now man about journalctl and doc available on web look like didn't apply to jolla14:58
*** jjarven has quit IRC14:58
*** martyone_ has quit IRC14:59
faenilkhertan, I used that before on Jolla, and I think it was just journalctl <file>14:59
*** b0bben has joined #sailfishos14:59
faenilso either the journal got corrupted with the shutdown, or I'm misremembering :)14:59
faenilkhertan, mmm now that I think about it, maybe there was --d option involved15:00
valdur55btw. if wifi doesn't work and mobile data is expencive then share your computer's connection with usb cable15:00
faenilkhertan, yeah try "journalctl --directory=/var/log/journal or whatever the directory is for persistent journals15:01
radiofreeseems to be stuck in a connecting/disconnecting loop with my wifi now :\15:01
khertanfaenil: -D is for directory, but load only last file so last boot can't get what cause shutdown of the phone15:01
faenilkhertan, maybe -D + file?15:02
khertanfaenil: not a directory15:02
*** _Razor_ has quit IRC15:02
radiofreehmm actually just the store15:02
khertan:)15:02
*** _Razor__ has joined #sailfishos15:02
faenilkhertan, why don't you just move the file in another dir :)15:03
khertani tryed many pattern before whining15:03
khertanfaenil: except that idea15:03
khertan:)15:03
faenil:)15:03
khertangood try but it have nothing to print15:04
*** matoking has quit IRC15:04
khertanlook like that s not a valid log15:04
faenilmaybe you copied wrong file? or maybe just part of the log?15:04
khertaneven with persistent config15:04
*** KangOl has quit IRC15:05
khertan217963 6,8M -rw-r----- 1 root adm 6,8M 2014-01-13 12:14 system@0004efd82cb8c3be-6b849721186daa62.journal~15:05
*** zsombi has quit IRC15:05
*** _Razor__ is now known as _Razor_15:05
faeniland are you reading that as root?15:05
khertanof course15:06
khertani'm trying to understand that random shutdown i got on my device15:06
faenilI vaguely remember seeing the empty output when I did something wrong15:06
faenilbut I can't remember what15:06
faenilyeah I guessed that :)15:06
faenilI have never had a single reboot/shutdown, I know you wouldn't want to hear that though :D15:07
*** Morpog_Mobile has quit IRC15:08
khertanfaenil: yeah that happen often, without any apparent case, during a call, sleeping on the desk, sometime reboot, sometime shutdown and display charging logo (and there is no charger connected)15:11
khertandid u know what is /dev/twl4030_wdt15:11
khertan?15:11
faenilnope15:11
*** simbrown has joined #sailfishos15:11
*** macben has joined #sailfishos15:11
faenilwatchdog maybe?15:12
faenilwd15:12
khertanarf15:12
faenilyeah it's watchdog15:12
khertani remember seeing an error opening /dev/twl4030_wdt during a reboot15:13
khertani think i log thing with a good old methid15:13
khertanjournalctl -f > log.log15:13
khertanthat s enough for today swith back to n9 and come back to home15:14
khertanfaenil: thx for your help15:14
faenilkhertan, never surrender! :D15:14
faeniljust wait for someone else who knows why you're not able to read the persistent log at least .)15:15
faeniland I would try in #jollamobile, this is more of a SDK related channel15:15
*** alight has quit IRC15:15
*** KangOl has joined #sailfishos15:16
*** jjarven has joined #sailfishos15:17
*** tomyri has quit IRC15:20
faenilkhertan, you still there?15:20
*** macben has quit IRC15:27
*** flyapen has quit IRC15:30
*** b0bben has quit IRC15:32
*** Morpog_Mobile has joined #sailfishos15:34
*** dirkvl has joined #sailfishos15:37
*** tomyri has joined #sailfishos15:40
*** macben has joined #sailfishos15:40
*** hardcode_ has quit IRC15:40
*** CoderCandy has quit IRC15:42
*** jardous has quit IRC15:43
euroelessaris it legal (for harbour) to look for user's calls (other side's number, duration of call, etc) through telepathy api?15:46
*** alight has joined #sailfishos15:46
*** dirkvl has quit IRC15:47
*** Master-Passeli has quit IRC15:48
*** alight has quit IRC15:48
*** alight has joined #sailfishos15:48
*** Master-Passeli has joined #sailfishos15:50
*** alight has quit IRC15:50
*** alight has joined #sailfishos15:50
*** Morpog_PC has joined #sailfishos15:50
*** macben has quit IRC15:51
*** alight has quit IRC15:51
*** alight has joined #sailfishos15:52
*** alight has quit IRC15:53
*** alight has joined #sailfishos15:53
*** alight has quit IRC15:54
*** alight has joined #sailfishos15:54
*** Zzz has joined #sailfishos15:59
*** Vant has quit IRC16:00
*** raven24^{off} is now known as raven2416:02
*** CoderCandy has joined #sailfishos16:05
*** mikhas has quit IRC16:11
*** VDVsx has quit IRC16:12
*** macben has joined #sailfishos16:13
*** Sfiet_Konstantin has joined #sailfishos16:13
*** macben has quit IRC16:14
radiofreehmm Mitakuuluu has been "checking account" for some time now16:18
*** macben has joined #sailfishos16:18
radiofreeah, because i'm an idiot16:19
ln-it measures your iq and adds delay?16:20
radiofreesomething like that yes16:21
*** atiti has quit IRC16:21
*** Xruxa has quit IRC16:23
*** VDVsx has joined #sailfishos16:27
*** Sfiet_Konstantin has quit IRC16:29
guaqua`is there some faq on debugging upgrade problems available?16:29
guaqua`i'm trying to go from laadunjärvi to the newest one and the update starts, but it seems to never finish16:29
guaqua`i.e. the new one doesn't get installed16:30
*** faenil has quit IRC16:30
radiofreeso far there's been a lot of user error on my part, but i'm pretty sure this contact syncing problem in mitakuuluu isn't my fault16:30
*** arcean has joined #sailfishos16:31
radiofreeis there any magic i need to do, it's always failing16:32
radiofreetried +44, 0044, no 44....16:32
radiofreeah, bug16:36
guaqua`seems like running pkcon refresh on the command-line enabled the upgrade to go through16:37
*** roric has quit IRC16:37
guaqua`interesting16:37
*** triggerhappy has quit IRC16:40
*** rcg has quit IRC16:40
*** macben has quit IRC16:42
*** sletta has quit IRC16:46
*** cargocult has joined #sailfishos16:46
radiofreephone is lovely so far, but lots of problems with wifi connections16:48
Venemohow do I ssh into the build machine?16:50
hoelzroVenemo: ssh -i ~/SailfishOS/vmshare/ssh/private_keys/engine/mersdk mersdk@localhost -p 222216:51
*** zmc has quit IRC16:51
hoelzro(assuming you installed the SDK to ~/SailfishOS)16:51
*** zmc has joined #sailfishos16:51
Venemono I didn't16:52
Venemobut thanks :)16:52
*** cargocult has quit IRC16:52
hoelzroVenemo: if you're curious about development from the command line, I wrote up a quick README for my own project: https://github.com/hoelzro/harbour-sudoku/blob/master/README.md16:57
Venemothank you hoelzro but that's not what I was trying to do :)16:58
Venemolbt: ping16:58
hoelzrooh, ok16:59
92AAAMSQ5i'm trying to figure out if the phone is connected to wlan or cell network but qt systeminfo i'm using for that is not working as i thought it should, https://together.jolla.com/question/14429/how-to-find-out-if-phone-is-connected-to-wlan-or-cellular-network/16:59
Venemowow, if you give 3 virtual cores to the build machine it can compile at an almost acceptable speed16:59
*** 92AAAMSQ5 is now known as juke_16:59
juke_Venemo, how do i do that?17:00
lbtVenemo: pong17:02
*** tomyri has quit IRC17:02
Venemojuke_: from virtualbox settings17:03
Venemolbt: why does rpmbuild put a bunch of qml files into my build directory when nobody asked it to do so?17:03
juke_which virtualbox is the one doing compilation?17:03
Venemojuke_: the Mer SDK17:03
*** hene- has left #sailfishos17:03
juke_Venemo, thanks, i think i found it17:04
lbtVenemo: your rpmbuild is sentient?17:04
lbtwooo17:04
lbtwe've been waiting for this day...17:04
Venemolbt: it says Installed (but unpackaged) file(s) found17:04
Venemoand lists a dozen or so QMLs17:05
Venemowhereas the QMLs are NOT specified to be installed anywhere17:05
lbtaww ... in that case it just ran make install and the default make probably installs them17:05
Venemobut why? the makefile is generated from the .pro by qmake, and the QMLs are not specified in INSTALLS17:06
*** tomyri has joined #sailfishos17:06
* lbt doesn't do qmake very well17:07
lbtbut since the default one has no INSTALL at all I guess some magic happens17:07
jpnurmiit's all in sailfisapp.prf17:07
lbtCONFIG += sailfishapp probably17:07
lbt*sigh* ... and here was me thinking my baby rpmbuild was finally alive ...17:08
*** jjanvier has quit IRC17:08
Venemoman17:08
VenemoW T F17:08
Venemosrsly, sailfishapp messes it up17:08
Venemo?17:08
*** kor has quit IRC17:08
*** kor has joined #sailfishos17:09
Venemooh yes17:10
Venemolbt: removed CONFIG+=sailfuckapp and now it works properly17:11
lbtVenemo: srsly ... it does what it says on the tin :)17:11
Venemonot sure who authored sailfishapp, but why would anyone with a brain in their head think that any of this is a good idea?17:11
*** cargocult has joined #sailfishos17:11
lbtVenemo: if you want me to spend any time helping you then please watch your tone17:11
fk_lxVenemo: I think you are to rough to sailfishapp author(s)17:12
fk_lx*too17:12
lbthttps://github.com/sailfish-sdk/libsailfishapp17:12
Venemosorry but this is not the first time the damn thing gets in my way. the entire SDK does things that are undocumented, unneeded and not obvious to debug, for no real reason17:12
lbtVenemo: how many doc patches have you pushed?17:13
fk_lxVenemo: hint: you can now improve that source are open17:13
* lbt off to do some work ... l8r o/17:13
fk_lxlbt: I must honestly say that I've spotted some bugs in docs, and they weren't fixed17:13
Venemolbt: if you point me to the place where this is supposed to be explained, I'll gladly help revise the docs for it17:14
fk_lxlbt: despite I've reported them long time ago on sailfish-devel mailing list17:14
w00tVenemo: quoting the documentation (https://sailfishos.org/develop-firstapp-code.html): "The CONFIG declaration also ensures the application binary and its data files are deployed to the proper locations both on the emulator and on devices"17:14
w00tand subsequently: "The qml directory contains files that should be deployed as a part of your application. In addition to QML files, audio, image, and JavaScript files that are used by the application should be placed in this directory or in a subdirectory in it. Basically, anything you put in the qml directory gets deployed when your application is installed in the emulator or on a device."17:14
w00tso saying that it isn't documented isn't really fair :)17:14
fk_lxw00t: +117:14
Venemow00t: qml is not a data file, thus I would never suspect the first sentence to apply17:16
Venemo"The qml directory contains files that should be deployed as a part of your application" -> doesn't amke sense either. the files that SHOULD be deployed as part of my app do NOT go to the qml directory.17:16
Venemoso this was totally not clear for me17:17
fk_lxlbt, w00t: speaking of docs, just one example, I reported issue on this page long, long, long time ago, and it's not fixed17:17
fk_lxlbt, w00t: import com.jolla.components 1.017:17
Venemow00t: I gladly help to reword that doc, though, if you are open to such an offer!17:18
*** Pat_o has quit IRC17:22
fk_lxw00t: this (https://lists.sailfishos.org/pipermail/devel/2013-September/000755.html) went to /dev/null17:22
*** roric has joined #sailfishos17:25
*** veskuh has quit IRC17:28
w00tfk_lx: I took care of 1/2, 3 I presume is a problem with generation as the source docs are ok, I'll try remember to look back after the next update and see if it's still broken, 4.. well, not strictly speaking a problem depending on the case at hand - you should only import what you _need_, not just copy/paste the same imports everywhere17:29
*** Venemo has quit IRC17:29
fk_lxw00t: of course, but even if sth was needed it once omitted and sometimes not17:31
fk_lxbesides 4th wasn't the most important17:31
*** arcean has quit IRC17:32
fk_lxw00t: 1 is not fixed17:32
w00tfk_lx: it won't be until the documentation is updated again, probably in sync with a new SDK release17:32
fk_lxw00t: hint -> end of the mail, docs with community contributions17:34
*** Venemo_j has joined #sailfishos17:34
Venemo_jhey17:34
*** cargocult has quit IRC17:35
Venemo_jsorry for my rudeness earlier, lbt & w00t17:35
lbtOK :)17:36
Venemo_jbut it really feels bad when something starts doing things you don't expect17:36
lbtVenemo_j: I was debugging a fragment shader over the weekend ... I *know* how you feel17:37
Venemo_jI know it's not your fault and I should not have vented my frustration on you17:37
*** freedomrun has quit IRC17:37
Venemo_jbut my offer still stands: I can help make the docs more clear17:37
*** Pat_o has joined #sailfishos17:38
*** Sfiet_Konstantin has joined #sailfishos17:40
*** macben has joined #sailfishos17:42
*** Pat_o has quit IRC17:45
*** euroelessar has quit IRC17:49
*** jmlich has quit IRC17:50
*** mk2soldi_ has joined #sailfishos17:51
*** mk2soldier has quit IRC17:52
*** arcean has joined #sailfishos17:52
*** macben has quit IRC17:54
*** macben has joined #sailfishos17:54
*** Pat_o has joined #sailfishos18:00
*** attah has joined #sailfishos18:00
*** RoKenn has joined #sailfishos18:01
*** leinir has quit IRC18:04
*** qqK has joined #sailfishos18:07
*** leinir has joined #sailfishos18:07
*** nodevel has quit IRC18:10
*** macben has quit IRC18:11
*** cargocult has joined #sailfishos18:11
*** AlmAck has joined #sailfishos18:12
*** stephg has quit IRC18:13
*** Pat_o has quit IRC18:15
*** John24 has joined #sailfishos18:19
*** macben has joined #sailfishos18:19
John24Hey guys18:19
John24Is athere an alternative to .toFixed() that would not round the numbers?18:20
coderuswhy?18:20
John24I am trying to get a seekback going18:20
John24and because it's gettting 0.6Hours it shows as 118:20
coderusi'm using parseFloat(value.toPrecision(2))18:20
John24as .tofixed rounds up18:20
coderusaha18:21
John24I shall try the precision now18:21
John24using to precision() gives me 0.4h18:22
John24.toPrecision(1)18:23
coderusso?18:23
John24I already have minutes bar18:23
John24it looks like this now 0.4h 24m18:24
John24but it should be 0h 24m18:24
coderusfix your agorithm18:24
John24I was afraid you might say that18:24
*** dafox has joined #sailfishos18:25
coderusyou have seconds, right?18:25
John24vlc xml gives me the lengh of the movie in frames as in 5688 frames18:25
John24seconds18:26
John24sorry I meant seconds18:26
*** faenil has joined #sailfishos18:26
coderusvar value = duration18:27
coderusvar seconds = duration % 6018:28
coderusvar minutes = value / 6018:28
coderusvar hours = minutes / 6018:28
coderusminutes = minutes % 6018:28
coderusthats it18:28
*** sletta has joined #sailfishos18:28
*** piggz has joined #sailfishos18:28
John24won't I need to udate that all the time? in the seekbar I got :  valueText: (value /60 / 60).toPrecision(1) + "h " + (value/60).toFixed() + "m "18:29
FireFlyJohn24, coderus: why turn a value into a string and then back into a number?18:30
*** sletta has quit IRC18:30
John24I need to learn better programing18:31
*** jjanvier has joined #sailfishos18:32
attahHow do i force/poll autocomplete in Qt Creator, anyone? (on a mac)18:35
*** fuz_ has quit IRC18:36
coderusJohn24: look:18:37
coderus    function intToTime(value) {18:37
coderus        var sizes = [ qsTr('n/a'), qsTr('S'), qsTr('M'), qsTr('H')]18:37
coderus        var i = +Math.floor(Math.log(value) / Math.log(60))18:37
coderus        return  (value / Math.pow(60, i)).toFixed( i ? 1 : 0 ) + ' ' + sizes[ isNaN( value ) ? 0 : i+1 ]18:37
coderus    }18:37
*** mk2soldi_ has quit IRC18:39
Yanielplease, pastebins exist for a reason18:39
John24thank you coderus :)18:39
coderussorry, lazy18:39
John24your always a great help18:39
*** dafox has quit IRC18:40
*** fuz_ has joined #sailfishos18:41
smokexeh, only 5 lines18:43
*** s1gk1ll has quit IRC18:45
*** martyone_ has joined #sailfishos18:47
coderussmokex: what you mean?18:49
smokexthe code paste wasn't that much. I wouldn't complain about it lol18:51
*** piggz has quit IRC18:51
*** s1gk1ll has joined #sailfishos18:52
*** blaamann has quit IRC18:59
*** blaamann has joined #sailfishos19:00
*** M4rtinK has joined #sailfishos19:01
*** Eztran has joined #sailfishos19:01
coderusthp: https://github.com/sailfish-sdk/libsailfishapp/pull/119:01
*** mk2soldier has joined #sailfishos19:03
*** Kabouik has quit IRC19:08
*** macben has quit IRC19:10
*** mk2soldier has quit IRC19:11
*** edgar2 has quit IRC19:12
*** dafox has joined #sailfishos19:15
*** macben has joined #sailfishos19:15
*** furikku has quit IRC19:16
attahThis is probably me just not knowing QT, but anyway.. I want to load an image (to QImage i guess) from an url, an then i want to pass that to my qml and display it, i.e. change contents of a placeholde image.19:16
*** Eismann has joined #sailfishos19:17
attah( I want to avoid loading the same image from the server several times if the user browses back and forth between a few, that's my rationale for storing it in C++-land)19:17
*** onurati has joined #sailfishos19:17
*** wickwire has quit IRC19:20
*** macben has quit IRC19:20
*** macben has joined #sailfishos19:21
jake9xxattah: make that image as item, mark it loaded if the object is already there and before refreshing, check if it's loaded19:22
*** blaamann has quit IRC19:22
*** sletta has joined #sailfishos19:23
*** Kabouik has joined #sailfishos19:24
*** blaamann has joined #sailfishos19:24
*** macben has quit IRC19:25
attahjake9xx: i feel stupid.. but i barely got a word of what you said19:25
attahSo i declare an item in my qml instead?19:25
jake9xxwhy not? you can load images with qml w/o probs19:25
attahso like onImageChanged.. i do myItem.what?19:27
coderusisnt image.cache: true not working for remote images?19:28
* coderus Zzzz...19:28
attahcoderus: No clue, but worth exploring.. thanks!19:28
attahOkay.. so i guess that's good :) But how would i change the image properly?19:31
attahso i set source to http://this.that/lol.jpg and then http://this.that/rofl.jpg it just simply doesen't reload when i set it back to http://this.that/lol.jpg ?19:32
attahand all magic is taken care of for me?19:32
*** John24 has quit IRC19:33
*** mk2soldier has joined #sailfishos19:34
* attah is used to working on performance critcal c++ with no STL or GUIs to be found19:35
*** cvp has joined #sailfishos19:36
Venemo_jattah: that sounds AWESOME!19:37
*** Bloob has quit IRC19:39
*** piggz has joined #sailfishos19:39
attahVenemo_j.. yup, some cool RT-OS (we don't do hard RT although we could), and superspecial HW.. I like it, but it's not for everyone19:39
*** Venemo_j has quit IRC19:39
*** KangOl has quit IRC19:40
*** mohjive has joined #sailfishos19:41
*** cargocult has quit IRC19:43
*** piggz has quit IRC19:44
*** piggz has joined #sailfishos19:45
*** martyone_ has quit IRC19:45
*** Venemo_j has joined #sailfishos19:46
attahcoderus: did i understand you correctly?19:47
*** stephg has joined #sailfishos19:49
*** s1gk1ll has quit IRC19:53
attahcoderus: Note that this property is only valid for images read from the local filesystem. Images loaded via a network resource (e.g. HTTP) are always loaded asynchonously.19:58
attahFML19:58
*** rashm2k has joined #sailfishos19:58
*** dafox has quit IRC19:59
stephgattah you love it!20:01
attahno.. I'm slowly but steadily going insane20:01
*** piggz has quit IRC20:01
*** Venemo has joined #sailfishos20:02
smokexattah: link this? http://www.youtube.com/watch?v=PaXgK5HRBjk20:02
smokexs/link/like20:03
*** Venemo_j has quit IRC20:03
attahit's becoming more and more tempting to take that way out anyway20:04
*** mk2soldier has quit IRC20:07
suyI've been reading the backlog, and you guys were talking about docs, and sending patches, but... To where? Where is the repo with the docs?20:09
suyI mean for the components, or the overviews, etc.20:09
tanghus_How can I keep a Timer running even when application is inactive? It just slows down until it eventually stops.20:10
*** s1gk1ll_ has joined #sailfishos20:11
*** dafox has joined #sailfishos20:11
jake9xxwhoot? I've got timers running on my apps when they are on background20:12
tanghus_jake9xx: yeah, I have no idea what is going on...20:13
*** piggz has joined #sailfishos20:13
jake9xxtanghus_: normal qml timer  ?20:14
tanghus_jake9xx: yub20:15
jake9xxwanna share some source?20:15
*** Frye has quit IRC20:15
tanghus_https://github.com/tanghus/kitchen-timer-qml/blob/master/qml/pages/TimerPage.qml#L6520:16
jake9xxuhmm.. what is the purpose there with the seconds tuning?20:17
*** Frye has joined #sailfishos20:18
*** Finleida has quit IRC20:18
attahwhy isn't QHttp availabe? :S shouldn't it just be in QtNetwork?20:18
tanghus_jake9xx: the setSeconds call? A leftover I forgot to remove :P20:19
jake9xxtanghus_: yeah, looks like it :)20:19
jake9xxtanghus_: http://pastie.org/8630523 that's one timer I've got in my apps20:19
jake9xxworks a-ok20:20
M4rtinKjake9xx: how does it react to locking the screen ?20:20
tanghus_jake9xx: I'll do some poor mans debugging ;)20:20
M4rtinKjake9xx: does it still keep going ?20:20
suyattah: because qhttp is qt 4.x only20:21
suyuse qnetworkaccessmanager20:21
jake9xxM4rtinK: yes , but that app does not respect the locking in that way20:21
M4rtinKI'll need reliable timers eventually in modRana (turn-by-turn navigation, track logging, etc.)20:22
attahsuy: i was just finding out.. thanks!  searching the doc is a hassle20:22
attahok.. looking at that now20:22
jake9xxM4rtinK: those are reliable, but taking that app into question, you might wanna look at the mce sleep prevention in together.jolla.com20:22
suyattah: not with qt creator... the locator is excellent for that20:22
M4rtinKjake9xx: sure, you should stop UI only timers, but are needed for other stuff :)20:22
suyis my main use for it, I still write the code in vim20:22
*** sletta has quit IRC20:23
attahsuy: what is this locator you speak of? :)20:23
M4rtinKjake9xx: good point, that might also be needed20:23
attahhmm, cool.. i'll try that!20:23
M4rtinKvim \o/20:23
suyattah: ctrl+k, then type one letter for the class of stuff you want (e.g. "." for a member of the class, "?" for the help), then the thing20:24
attah:)20:25
*** khertan has quit IRC20:25
jake9xxM4rtinK: pkcon install vim :D real live coding20:26
*** khertan has joined #sailfishos20:27
M4rtinKjake9xx: well, I'm quite close to live coding already :)20:27
M4rtinKjake9xx: I have a script that rsyncs the code from my PC and runs it :)20:27
M4rtinKjake9xx: and as it is all Python & QML, I don't have to compile anything20:28
*** s1gk1ll_ has quit IRC20:28
jake9xxM4rtinK: we experimented with something like that - so that qtc would have a qfilewatcher and each time you save a non-compilable file -> rsync20:28
*** Pat_o has joined #sailfishos20:29
jake9xxthe only way professionally to use windows pc.. is with a mobaXterm or Cygwin20:30
*** Zucca has quit IRC20:30
jake9xxor go on the 'all IDE' route - and grow beard while waiting for the ui sometimes20:30
Nicd-or just ditch windows entirely20:31
jake9xxNicd-: once there is fully working linux setup for this Asus UX32VD then yes20:31
M4rtinKjake9xx: yeah, should be easy to do with inotify20:31
M4rtinKjake9xx: but still rather limited by the need to relaunch the whole context20:32
M4rtinKjake9xx: but anything more would be probably a bit harder...like NP-hard :)20:33
jake9xxM4rtinK: hmm.. if it's just the ui thread that gets disabled, run your own engine20:33
jake9xxand keep timers etc there20:33
M4rtinKyeah, that might be doable20:34
M4rtinKif the UI is really simple20:34
jani_has anyone thought about if there would be any benefit to node.js & tools on sailfish/jolla? wondering would there be any benefit for having those for native app development..20:34
*** jani_ is now known as jani20:34
*** Pat_o has quit IRC20:35
*** KangOl has joined #sailfishos20:35
M4rtinKor take memory snapshots each time a QML file is loaded and rollback just before the loading once the given file is changed20:35
*** macben has joined #sailfishos20:35
M4rtinKok, I think we are getting a bit offtopic :)20:35
*** Pat_o has joined #sailfishos20:36
*** macben has quit IRC20:40
*** itbaron has quit IRC20:40
*** Pat_o has quit IRC20:40
*** Pat_o has joined #sailfishos20:43
*** Gugli has joined #sailfishos20:43
*** Zucca has joined #sailfishos20:43
*** winfriedd has joined #sailfishos20:45
M4rtinKSo what do you think about: https://together.jolla.com/question/14555/suggestion-xmppjabber-muc-support/ ? :)20:49
khertanM4rtinK, that s adding feature isn't really the priority :)20:51
*** Frye has quit IRC20:51
specialM4rtinK: my reply on https://together.jolla.com/question/1668/facebook-group-chat/ touches on that20:51
khertanM4rtinK, basic things are still working20:51
khertanstill not working20:51
khertan(by  basic i didn't mean simple ...)20:52
M4rtinKkhertan: sure, but still we should be able to track even not so serious issues like this20:52
*** jstaniek has joined #sailfishos20:52
specialit's useful information when prioritizing features20:53
Stskeepskhertan: see /msg ?20:53
khertanM4rtinK, indeed ... i didn't say that we should not : you ask what we think about ... :)20:53
khertanStskeeps, oh ... no20:53
khertan:)20:53
khertanthx20:53
M4rtinKalso there are some communities that use Jabber MUC quite heavily from what I've heard20:53
M4rtinKkhertan: you have a point :)20:54
attahjaay.. i think i made a QNetworkRequest.. and quite possibly loaded an image from it... but how would i display it now?20:54
M4rtinKstuff it to an image provider20:55
M4rtinKattah: http://qt-project.org/doc/qt-5.0/qtquick/qquickimageprovider.html20:55
*** juke_ has left #sailfishos20:55
*** Frye has joined #sailfishos20:56
M4rtinKBTW, this is how I load map tiles - they are downloaded and cached in local storage by the backend, so each tile is downloaded from the Internet only once20:56
janihttp://pastebin.com/3wgCku3V w00t - that wasnt so hard.20:56
attahM4rtinK: Thanks.. but i thing some of the code is missing20:56
*** Eztran has quit IRC20:59
*** DarkSim has joined #sailfishos21:02
*** Pat_o has quit IRC21:04
*** amonk has joined #sailfishos21:07
*** Pat_o has joined #sailfishos21:08
attahaaargh... that's so backwards for preloading images over http21:09
attahfuture me will have to deal with that21:09
specialattah: are you aware that you can load images directly from the network in QML?21:10
specialImage { source: "http://..." }21:10
M4rtinKwell, if you use the http URL directly in QML, it will fetch it and use it from the QtQuick image cache21:10
M4rtinKbut just for the one session or until it flushes the cache21:11
attahspecial: yes.. but they don't get cache'd.. and i'd like to not abuse archive.org more than necessary21:11
specialah21:11
attahf*ck me for being a kind person21:12
attahM4rtinK: what's the scope of this session you talk about?21:13
attahThis was in the QML doc for image: Images loaded via a network resource (e.g. HTTP) are always loaded asynchonously.21:15
M4rtinKattah: when you do: Image { source: "http://foo.bar/baz.jpg" }21:16
attah(conserning cache property)21:16
M4rtinKattah: will load it from "http://foo.bar/baz.jpg" only ones21:16
M4rtinKattah: every other Image with source set to "http://foo.bar/baz.jpg" will get it from local image cache automatically21:17
attahM4rtinK: That sounds awesome! And now i realize that I have misread the doc on that regard..21:18
M4rtinKattah: but 1) the cache is flushed when application exits, so it will refetch it on the next start21:18
M4rtinKattah: 2) the cache has limited capacity so it might get replaced by new data and get refetched once an image with "http://foo.bar/baz.jpg" shows again, even if it was already cached once21:18
special3) that cache is stupid :<21:19
M4rtinKattah: 3) the image cache doesn't seem to be configurable (size, persistence, etc.)21:19
attah(1) Is fine by me.. hopefully the user selected to apply the downloaded pic (doing a cover art fixer/finder app)21:19
M4rtinKspecial: could be also worded like this :)21:19
attah2 & 3 sounds more worrying21:20
M4rtinKstill quite nice for working with local images21:20
M4rtinKbut one might need to work around it for remote images21:21
attahI'll just have to get a larger music collection and wireshark it to see if it behaves21:21
attahit should hopefully be able to cache quite a few 250px images..21:23
*** lizardo has quit IRC21:24
*** cvp has quit IRC21:24
*** Zzz has quit IRC21:25
*** jstaniek_ has joined #sailfishos21:31
*** jstaniek has quit IRC21:34
*** nodevel has joined #sailfishos21:34
*** Frye has quit IRC21:38
*** amonk has quit IRC21:39
*** wickwire has joined #sailfishos21:41
*** Pat_o has quit IRC21:44
*** Frye has joined #sailfishos21:47
*** freedomrun has joined #sailfishos22:01
*** amccarthy has quit IRC22:02
*** KangOl has quit IRC22:06
*** KangOl has joined #sailfishos22:07
*** stephg has quit IRC22:08
*** amccarthy has joined #sailfishos22:11
*** mtfk has joined #sailfishos22:22
mtfkhi, I would like to try run sailfishOs on different arm base device, where I can find some relevent information about that, as on the main page/wiki there is no information about that?22:24
*** jstaniek_ has quit IRC22:24
*** dafox has quit IRC22:24
tbrmtfk: right now the only way is to make mer/nemo run on the device first22:28
tbrmtfk: but supposedly there is a new approach coming soon where you'll be able to reuse a CM10.1+ install as the android base system22:29
mtfkI am not using android at all, so for me deploying just linux distro is ok.22:30
*** attah has quit IRC22:31
*** cxl000 has quit IRC22:31
mtfkbut after deploying nemo how I will get "SailfishOS" on top of that?22:31
*** MMori has quit IRC22:31
mtfklike UI and all environment?22:31
Yanielnot22:31
tbrmtfk: this has been blogged about22:31
mtfktbr: could you give some links? or point who and where?22:32
*** artemma has joined #sailfishos22:32
tbrI think vgrade has blogged about it and also the sailfish-on-n9 blog posts might help22:32
mtfkthanks I will check that22:33
*** mk2soldier has joined #sailfishos22:34
*** arcean_ has joined #sailfishos22:35
*** arcean has quit IRC22:36
*** onurati has quit IRC22:39
thpcoderus: thx, will review in the next days22:46
*** RoKenn has quit IRC22:47
*** clau has joined #sailfishos22:50
*** clau has joined #sailfishos22:50
*** mk2soldier has quit IRC22:50
*** mk2soldier has joined #sailfishos22:51
smokexmtfk: http://n9.araya.su/images/mic_images/sailfish-1.0.2.5/vgrade/r5.1/ use this instead of the nemo tar22:52
smokexfor n9/50 devices at least22:53
smokexI'm not sure if anyone has gotten an android device running yet.. besides jolla22:53
*** mk2soldier has quit IRC22:54
*** mk2soldier has joined #sailfishos22:55
*** qqK has quit IRC23:03
*** mk2soldier has quit IRC23:04
*** mk2soldier has joined #sailfishos23:05
*** arcean_ has quit IRC23:09
*** winfriedd has quit IRC23:11
*** Tomiol80 has quit IRC23:14
*** datagutt has quit IRC23:14
*** Blizzz has quit IRC23:21
*** wickwire has quit IRC23:23
*** khertan has quit IRC23:24
*** KangOl has quit IRC23:26
*** nodevel has quit IRC23:28
*** nodevel has joined #sailfishos23:28
*** mk2soldier has quit IRC23:30
*** AlmAck has quit IRC23:33
mtfkI am trying to do it on Cotton Candy: fxitech.com23:38
*** xyll has quit IRC23:44
*** artemma has quit IRC23:45
*** Morpog_PC has quit IRC23:47
*** artemma has joined #sailfishos23:51
*** M4rtinK has quit IRC23:52
*** artemma has quit IRC23:53
*** nodevel has quit IRC23:54
*** khertan has joined #sailfishos23:59

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!