Saturday, 2014-12-27

*** inte_away has joined #sailfishos00:06
*** WaRi0 has quit IRC00:06
*** ulvus has quit IRC00:07
*** inte_awa` has quit IRC00:09
*** nodevel has joined #sailfishos00:11
*** xerpi_ has joined #sailfishos00:16
*** spider-mario has quit IRC00:19
*** xerpi has quit IRC00:19
*** jua__ has quit IRC00:22
*** zetaz has quit IRC00:26
*** louisdk has quit IRC00:29
*** roboro has quit IRC00:34
*** olafh has quit IRC00:35
*** K4-t has joined #sailfishos00:38
*** zhxt has joined #sailfishos00:40
*** Nc_ has joined #sailfishos00:49
*** arvut has quit IRC00:58
*** arcean has quit IRC01:05
*** nodevel has quit IRC01:06
*** nodevel has joined #sailfishos01:06
*** Kabouik has quit IRC01:10
*** Kabouik has joined #sailfishos01:10
*** mkollaro has quit IRC01:11
*** Sfiet_Konstantin has quit IRC01:15
*** SfietKonstantin has joined #sailfishos01:20
*** fmunozs has joined #sailfishos01:27
*** Behold has quit IRC01:32
*** energycsdx has quit IRC01:39
*** pyksy has quit IRC01:39
*** zhxt_ has joined #sailfishos01:41
*** zhxt has quit IRC01:41
*** nodevel has quit IRC01:45
*** nodevel has joined #sailfishos01:46
*** zhxt__ has joined #sailfishos01:51
*** zhxt_ has quit IRC01:52
*** Sfiet_Konstantin has joined #sailfishos02:00
*** SfietKonstantin has quit IRC02:01
*** nodevel has quit IRC02:13
*** nodevel has joined #sailfishos02:15
*** Nc_ has quit IRC02:16
*** Morpog_PC has quit IRC02:20
*** flywheel has quit IRC02:23
*** mhall119 has quit IRC02:30
*** mhall119 has joined #sailfishos02:33
*** Sfiet_Konstantin has quit IRC02:36
*** SpeedEvil has quit IRC02:37
*** SpeedEvil has joined #sailfishos02:37
*** xerpi_ has quit IRC02:43
*** mhall119 has quit IRC02:44
*** mhall119 has joined #sailfishos02:44
*** Nokius_ has joined #sailfishos02:47
*** Nokius has quit IRC02:50
*** zhxt__ has quit IRC02:52
*** SpeedEvil has quit IRC03:07
*** SpeedEvil has joined #sailfishos03:07
*** SpeedEvil has quit IRC03:23
*** SpeedEvil has joined #sailfishos03:24
*** Morpog_PC has joined #sailfishos03:44
*** Shinryuu has quit IRC03:47
*** R-Z has quit IRC03:50
*** K4-t has left #sailfishos03:56
*** K4-t has joined #sailfishos04:06
*** flash1 has joined #sailfishos04:07
*** flash1 has quit IRC04:09
*** dpurgin has joined #sailfishos04:10
*** tat has joined #sailfishos04:23
*** tortoisedoc_ has joined #sailfishos04:24
*** tat has quit IRC04:25
*** tat has joined #sailfishos04:29
*** jcbjoe has quit IRC04:33
*** SpeedEvil has quit IRC04:34
*** furikku has joined #sailfishos04:34
*** SpeedEvil has joined #sailfishos04:34
*** jcbjoe has joined #sailfishos04:42
*** tat has quit IRC04:45
*** Jef91 has quit IRC05:00
*** JoshStrobl has quit IRC05:01
*** SpeedEvil has quit IRC05:20
*** SpeedEvil has joined #sailfishos05:21
*** fmunozs has quit IRC05:38
*** olafh has joined #sailfishos06:00
*** gexc has joined #sailfishos06:02
*** jcbjoe has quit IRC06:02
*** bluszcz_ has quit IRC06:23
*** nodevel has quit IRC06:26
*** bluszcz has joined #sailfishos06:31
*** cybrNaut has quit IRC06:39
*** nodevel has joined #sailfishos06:40
*** cybrNaut has joined #sailfishos06:42
*** dhbiker has joined #sailfishos06:44
*** flash1 has joined #sailfishos06:49
*** flash1 has quit IRC06:52
*** SpeedEvil has quit IRC06:53
*** SpeedEvil has joined #sailfishos06:54
*** rainemak has quit IRC06:55
*** SpeedEvil has quit IRC07:01
*** SpeedEvil has joined #sailfishos07:01
*** K4-t has left #sailfishos07:03
*** c0ck4m0u53 has joined #sailfishos07:03
*** rainemak has joined #sailfishos07:07
*** SpeedEvil has quit IRC07:14
*** SpeedEvil has joined #sailfishos07:15
*** SpeedEvil has quit IRC07:21
*** SpeedEvil has joined #sailfishos07:21
*** SpeedEvil has quit IRC07:30
*** SpeedEvil has joined #sailfishos07:30
*** roboro has joined #sailfishos07:31
*** ArtVandalae has joined #sailfishos07:32
*** Mano has joined #sailfishos07:35
*** SpeedEvil has quit IRC07:37
*** SpeedEvil has joined #sailfishos07:37
Manohi. i have created an app in qt creator and tested it in emulator. everything is working fine. i have also added my jolla phone to the devices list in qt creator. but it is not getting listed in the 'kit' column when i try to deploy.07:38
Manocan anyone pls help me on this.07:38
*** SCVgeo_ has quit IRC07:39
tbryou'll need to add it elsewhere in the project07:40
*** pyksy has joined #sailfishos07:44
*** Outlander has joined #sailfishos07:44
Manotbr: where exactly? bcoz, when i create a new project,  my device is getting listed.07:46
tbrhaven't done it in a while, it's somewhere in the project configuration07:47
tbrI rarely use qtcreator07:47
*** zhxt has joined #sailfishos07:48
*** Mano has quit IRC07:50
*** bluszcz has quit IRC07:51
*** Mano has joined #sailfishos07:51
*** bluszcz has joined #sailfishos07:53
Manotbr: thanks so much.07:54
Manoany other solutions??07:54
*** SpeedEvil has quit IRC07:56
Stskeepztbr: source code dvd in progress btw07:56
*** SpeedEvil has joined #sailfishos07:57
Stskeepzbut err.. now my screen -d -r dumps core07:57
Stskeepzthat's not good07:57
tbrStskeepz: \o/ /o\07:57
Stskeepzalso, why am i working on a saturday..07:59
Stskeepzthis xmas stuff is tricky07:59
Stskeepz:P07:59
tbrwell, I spent considerable time honing and debugging a windows build and its installer over the last 4 days...08:01
tbrThere aren't as many, but there are windows users of Icecast...08:02
Stskeepzindeed08:02
Stskeepzi think i used it on windows first too back then08:02
*** SpeedEvil has quit IRC08:05
*** SpeedEvil has joined #sailfishos08:06
*** gogeta has joined #sailfishos08:09
*** energycsdx has joined #sailfishos08:09
*** bluszcz has quit IRC08:10
*** bluszcz has joined #sailfishos08:11
*** SpeedEvil has quit IRC08:12
*** SpeedEvil has joined #sailfishos08:12
*** SpeedEvil has quit IRC08:18
*** SpeedEvil has joined #sailfishos08:18
tbrIcecast was the first software I built completely from sources, including dependencies. On some ancient SuSE(?) and a 2.2.19 kernel.08:19
kimmoligood moorning !08:20
kimmoliMano: just deploy as rpm, copy it to phone and pkcon install local your.rpm08:20
Manotbr: thanks for the suggestion. i've got it working. the settings are inside the 'projects' configuration only.08:21
Manokimmoli: thanks for your answer. but i've just got the right answer.08:22
tbrMano: glad to hear.08:23
*** gogeta has quit IRC08:23
kimmoliok08:24
*** SpeedEvil has quit IRC08:26
*** SpeedEvil has joined #sailfishos08:27
*** Mano_ has joined #sailfishos08:27
*** Mano has quit IRC08:27
*** zhxt_ has joined #sailfishos08:32
*** zhxt has quit IRC08:33
*** gogeta has joined #sailfishos08:36
*** Sailalott has joined #sailfishos08:37
*** rm_work|away is now known as rm_work08:44
*** nodevel has quit IRC08:45
*** nodevel has joined #sailfishos08:46
*** m4g0g has quit IRC08:48
*** xerpi has joined #sailfishos09:04
*** bluszcz has quit IRC09:04
*** Mano_ has quit IRC09:17
*** bluszcz has joined #sailfishos09:20
*** tat has joined #sailfishos09:22
*** mihlit has joined #sailfishos09:22
*** Sequenced_ has quit IRC09:31
*** Sequenced_ has joined #sailfishos09:31
*** qqK has joined #sailfishos09:33
*** zetaz has joined #sailfishos09:37
*** mihlit has quit IRC09:42
*** Sailor11736_ has joined #sailfishos09:46
*** cvp_ has joined #sailfishos09:49
*** bluszcz has quit IRC09:52
*** Finlod has joined #sailfishos09:52
*** tat has quit IRC09:57
*** bluszcz has joined #sailfishos09:58
*** Nightmare__ has joined #sailfishos10:03
*** piggz has joined #sailfishos10:04
*** crazy_imp has quit IRC10:14
*** crazy_imp has joined #sailfishos10:20
*** crazy_imp has joined #sailfishos10:20
*** rashm2k has joined #sailfishos10:21
*** spider-mario has joined #sailfishos10:22
*** arvut has joined #sailfishos10:22
*** tat has joined #sailfishos10:22
*** arvut has quit IRC10:23
*** arvut has joined #sailfishos10:23
*** tat has quit IRC10:24
*** Sfiet_Konstantin has joined #sailfishos10:30
*** flash1 has joined #sailfishos10:36
*** tat has joined #sailfishos10:40
*** mkollaro has joined #sailfishos10:42
*** tat_ has joined #sailfishos10:42
*** flash1 has quit IRC10:43
*** bluszcz has quit IRC10:43
*** tat has quit IRC10:44
*** tat_ has quit IRC10:44
*** bluszcz has joined #sailfishos10:45
*** arvut has quit IRC10:50
*** pyksy has quit IRC10:51
*** VDVsx__ has quit IRC10:52
*** pyksy has joined #sailfishos10:54
*** Nc_ has joined #sailfishos10:56
*** arcean has joined #sailfishos10:57
*** bluszcz has quit IRC10:58
*** bluszcz has joined #sailfishos11:00
*** Sfiet_Konstantin has quit IRC11:07
*** Sfiet_Konstantin has joined #sailfishos11:07
*** beidl_ has joined #sailfishos11:08
*** Morpog_PC has quit IRC11:08
*** beidl has quit IRC11:10
*** jua_ has joined #sailfishos11:13
*** daitheflu has joined #sailfishos11:15
*** maxorator has quit IRC11:19
*** maxorator has joined #sailfishos11:21
*** bluszcz has quit IRC11:24
*** rashm2k has quit IRC11:34
*** Sequenced has joined #sailfishos11:35
*** Sequenced_ has quit IRC11:39
*** qqK has quit IRC11:39
*** gogeta has quit IRC11:40
*** Sailor11736_ has quit IRC11:46
*** cloanta has quit IRC11:46
*** cloanta has joined #sailfishos11:47
*** gogeta has joined #sailfishos11:49
*** Nc_ has quit IRC11:57
*** roboro has quit IRC11:59
*** roboro has joined #sailfishos11:59
*** Nc_ has joined #sailfishos12:01
*** soexit has joined #sailfishos12:02
*** ulvus has joined #sailfishos12:04
*** gogeta has quit IRC12:06
*** Nightmare__ has quit IRC12:06
*** Sailor11736_ has joined #sailfishos12:08
*** tat has joined #sailfishos12:12
*** Sailor11736_ has quit IRC12:17
*** spider-mario has quit IRC12:20
*** Behold has joined #sailfishos12:21
*** spider-mario has joined #sailfishos12:24
*** arvut has joined #sailfishos12:30
*** Outlander has quit IRC12:35
*** arvut has quit IRC12:35
*** arvut has joined #sailfishos12:35
*** arvut has quit IRC12:36
*** cvp_ has quit IRC12:36
Yanielhow do I install packages in sb2 with zypper?12:40
locusfsb2 -t target -msdk-install -R zypper in foo12:41
Yanielthanks12:41
*** gexc has quit IRC12:41
Yanielseems the webui doesn't work atm12:41
Yanielit just dies when hitting install12:41
Yanielpossibly because my network connection is currently rather unstable12:42
Yaniel(although that shouldn't matter unless it tries to fetch some external files for the webview)12:44
Yanielnext question, how do I get it to generate a .spec file for a source tarball?12:45
locusfyou can only get .spec file from .src.rpm12:46
Yanielhow do I generate the rpms then?12:46
locusfyou need to make one yourself if the tarball contains rpm packaging12:46
locusfdoes not contain12:47
Yanielhrr this is going to get Fun12:47
*** f3an0r has joined #sailfishos12:47
YanielI was thinking of making life easier for myself and others by putting libsodium on obs12:48
Yanielor let's say at least a libsodium-devel that provides static libs and headers12:51
*** SCVgeo has joined #sailfishos12:51
locusfhmm this would be a lot easier if it was a qt library :p12:52
Yanielit is a generic unix library, what do12:52
locusfoh well I guess there are autotools .spec file templates somewhere12:52
Yanielmake exited without errors \o/12:52
Yanielsooo next would be the spec file12:53
locusfhmm actually12:54
locusfhttp://wiki.rosalab.com/en/index.php/Blog:ROSA_Planet/Spec-gen_-_Automated_Spec_File_Generator_for_GNU_Autotools_and_CMake-based_Programs12:54
locusfhmm I guess thats not in standard distros though :/12:55
Yanielat least zypper doesn't know about it12:55
*** gexc has joined #sailfishos12:57
locusfhttp://asic-linux.com.mx/~izto/checkinstall/docs/README12:57
Yanielooh nice12:58
*** gogeta has joined #sailfishos12:58
*** iskatu_ has joined #sailfishos12:58
Yanielnot found by zypper either though12:59
locusfgah its found on my ubuntu though12:59
locusfis this mer your running?12:59
YanielI'll see if it builds :P12:59
Yanielyeah the mer sdk vm12:59
locusfyeah its not in obs either12:59
*** flash1 has joined #sailfishos13:00
Yanielhmm needs msgfmt13:01
*** iskatu has quit IRC13:02
*** flash1 has quit IRC13:02
Yanielalso needs rpm-build and spec-helper packages it seems13:02
Yanielwhatever those are13:02
*** gexc has quit IRC13:04
*** Sfiet_Konstantin has quit IRC13:04
locusfhmm bummer13:05
Yanielfirst one looks like it is in gettext13:06
Yanielyup13:06
Yanielspec-helper appears to be a shell script from mandrake and rpm-build a part of the rpm package13:09
Yanielhm maybe I'll just write the specs by hand13:10
*** Sfiet_Konstantin has joined #sailfishos13:12
locusfyeah13:12
YanielI'll try to wing it looking at the mitakuuluu spec13:13
Yaniel^^13:13
*** rubdos has joined #sailfishos13:14
*** gogeta_ has joined #sailfishos13:14
*** gogeta has quit IRC13:15
locusfYaniel: check this instead, mitakuuluu is a qt build : https://build.merproject.org/package/view_file/mer-tools:devel/libyaml/libyaml.spec?expand=113:15
Yaniellooks similar anyway13:16
*** gexc has joined #sailfishos13:16
Yanielbut thanks13:16
locusfthat one has -devel package creation as well13:16
*** gogeta_ has quit IRC13:19
Yanielwhat doesthe %setup do?13:22
locusfusually its the configure phase13:22
locusfafaik13:22
Yanielmmnoo there is %configure too13:23
Yaniel%prep13:23
Yaniel%setup -q -n yaml-%{version}13:23
Yanielthis one13:23
locusfhmm then I dunno13:24
locusfjust remove it13:25
Yaniellooks like it's for downloading and unpacking the sources13:26
*** Sfiet_Konstantin has quit IRC13:28
*** Sequenced has quit IRC13:28
*** Sequenced has joined #sailfishos13:28
*** f3an0r has quit IRC13:29
*** Outlander has joined #sailfishos13:32
*** R-Z has joined #sailfishos13:34
locusfok good13:35
*** Sequenced_ has joined #sailfishos13:35
*** BasilSemuonov has joined #sailfishos13:37
*** BasilSemuonov__ has quit IRC13:37
Yanieltime for rpmbuild13:38
*** Sequenced has quit IRC13:38
*** nodevel has quit IRC13:42
*** igordcard has joined #sailfishos13:44
*** Sailor11736_ has joined #sailfishos13:45
*** igordcard has quit IRC13:46
*** gogeta has joined #sailfishos13:49
*** beidl_ is now known as beidl14:01
beidlI'm designing my autostart api PoC for sailfish now, got a question though regarding window focus.14:03
beidlis there a way to pass on the window focus to the previously focused window? or is that a use-case not considered in the compositor?14:04
locusfafaik there is only topmost application window available14:05
locusfdepends on the homescreen compositor implementation though14:05
beidlbummer. since focus stealing is not an option (rightfully so) I might have to find a different way to do this.14:06
beidlin my design, user application A would call a dbus method on trusted daemon B, which in turn would show a wayland window surface. if the user presses a button in that window, it should close and the compositor should return focus to user app A14:07
*** Sfiet_Konstantin has joined #sailfishos14:08
beidlI would have prefered to show the "would you like to start the background task at boot" dialog like the wifi/3g in the shell, but people don't seem to like that idea14:08
*** gogeta has quit IRC14:12
*** phaeron has joined #sailfishos14:18
*** flash1 has joined #sailfishos14:20
*** Sfiet_Konstantin has quit IRC14:26
*** tat has quit IRC14:27
*** Sfiet_Konstantin has joined #sailfishos14:30
*** Outlander has quit IRC14:35
*** flash1 has quit IRC14:35
*** Outlander has joined #sailfishos14:36
*** Sailor11736_ has quit IRC14:44
*** maxorator has quit IRC14:46
*** mkollaro has quit IRC14:46
*** maxorator has joined #sailfishos14:46
*** mkollaro has joined #sailfishos14:47
*** dhbiker has quit IRC14:49
*** JoshStrobl has joined #sailfishos14:57
*** zhxt_ has quit IRC14:57
cos-is there a way to prevent android apps from spamming notifications? it's a bit annoying15:06
*** mkollaro has quit IRC15:07
*** mkollaro has joined #sailfishos15:07
*** Jef91 has joined #sailfishos15:11
*** Jef91 has joined #sailfishos15:11
*** Nokius_ has quit IRC15:14
*** jcbjoe has joined #sailfishos15:15
*** phaeron has quit IRC15:15
*** soexit has quit IRC15:22
*** igordcard has joined #sailfishos15:30
*** tat has joined #sailfishos15:33
*** tat has quit IRC15:36
*** r0kk3rz has joined #sailfishos15:38
*** tat has joined #sailfishos15:46
*** javispedro has joined #sailfishos15:47
*** dhbiker has joined #sailfishos15:50
*** nodevel has joined #sailfishos15:50
*** iskatu_ has quit IRC15:52
*** iskatu has joined #sailfishos15:53
*** Sfiet_Konstantin has quit IRC15:55
Yanielare dynamic libs ok in harbour?16:07
Yanielif distributed with the binary16:07
javispedroI think so, but you have to put them under /usr/share16:08
Yanielokay16:09
Yanielthat's just a little change to the rpmbuild command then16:09
Yanielyay, libsodium rpms built16:11
*** Sfiet_Konstantin has joined #sailfishos16:21
*** tat has quit IRC16:22
*** Morpog_PC has joined #sailfishos16:23
*** nodevel has quit IRC16:24
Yanielhm do you think this is a lib that should rather be available as a .so instead of linking it statically where needed?16:25
javispedrostatic linking is not evil, but if it's any easier for you to ship a .so file then let it be16:26
*** Sfiet_Konstantin has quit IRC16:27
Yanielit builds a .so by default16:27
Yanieloh well16:27
Yanielnow to OBS16:27
Yanielanyway I guess having the crypto library separately upgradeable is not a bad thing16:28
*** mkollaro has quit IRC16:29
Yanielso how do I put stuff on OBS?16:31
*** ajalkane has joined #sailfishos16:31
YanielI have a spec file for the release tarball16:31
*** Nekron_dev has joined #sailfishos16:31
*** Sfiet_Konstantin has joined #sailfishos16:31
r0kk3rzYaniel: im just learning all about OBS myself16:33
r0kk3rzyou use the OSC command16:33
Yanielfirst I suppose I need a mer account16:34
*** ajalkane has quit IRC16:34
*** Sailor11736_ has joined #sailfishos16:35
r0kk3rzyeah you do16:35
r0kk3rzmake sure you can log into build.merproject.org first16:35
Yanielworks16:37
*** mihlit has joined #sailfishos16:37
*** Nekron_dev has quit IRC16:42
*** Sfiet_Konstantin has quit IRC16:43
Yanielwhat then?16:44
Yanielnew repository I guess16:44
r0kk3rzyeah set your repos to the mer repos16:47
Yaniel?16:47
r0kk3rzin your home project16:47
YanielI made a new repo with sailfish_latest_armv7hl16:47
*** Outlander has quit IRC16:48
r0kk3rzor that16:48
Yanielthat only shows armv8el builds by default, is that correct?16:49
*** Outlander has joined #sailfishos16:50
r0kk3rzyeah i recon16:52
r0kk3rzno real point building for the emulator16:52
sandsmarkbeidl: made a dbus API in the daemon, do you want to make the ui/frontend part for it?16:52
sandsmarkI suck at UIs :P16:52
sandsmarkbeidl: basically just connect some signals for warnings and error messages, I guess, and call a function over dbus for reloading the settings if they are changed in the frontend :D16:57
Yanielhmm then I have to upload the tarball it seems16:58
sandsmarkbeidl: I've been thinking about adding automated backups as well16:58
sandsmarklike, upload SMSes to owncloud, etc.16:59
*** nodevel has joined #sailfishos16:59
Yanielmeh, automatically downloading it does not work17:00
Yanielno download_url service17:00
*** rubdos has quit IRC17:02
*** Mivalpuff has joined #sailfishos17:09
*** Outlander has quit IRC17:10
*** Nokius has joined #sailfishos17:14
*** FireFly has quit IRC17:20
*** FireFly has joined #sailfishos17:20
*** Shinryuu has joined #sailfishos17:21
*** Shinryuu has quit IRC17:28
*** phaeron has joined #sailfishos17:32
*** Sailalott has quit IRC17:36
*** beidl has quit IRC17:37
*** javispedro has quit IRC17:38
*** Sailor11736_ has quit IRC17:38
*** beidl has joined #sailfishos17:38
Yanielobs build succeeded17:43
YanielI'll see later if I can change it to install in /usr/share17:44
Yanielhttps://build.merproject.org/package/show/home:yaniel/libsodium for anyone interested17:45
Yaniel(corrections welcome as well if someone knows more about rpm packaging)17:45
r0kk3rzyeah ive just built rtorrent on obs17:46
*** Nightmare__ has joined #sailfishos17:52
*** tat has joined #sailfishos17:53
*** paju has joined #sailfishos17:55
Yanielor maybe I'll first get the rest of the libs I'll need built without trying to be harbour-compliant for now17:57
*** iskatu has quit IRC17:57
*** CorvetteZR1 has joined #sailfishos18:00
*** gexc has quit IRC18:01
*** iskatu has joined #sailfishos18:03
Yanieloh well, I'll leave it as it is and see about harbour when I get to packaging my actual app18:03
Yanielwhich will need to have these libs embedded in the rpm somehow18:04
sandsmarkis it possible to get thumbnails for videos easily from QML?18:09
Nc_A more QT question... Is there any issue with using QList to store pointers?  Am having an class inherent QAbstractListModel, and containing a QList<MyClass*>, but seems suddenly doing a m_list.at(0) returns a pointer I never inserted.18:10
sandsmarkno, there shouldn't be an issue doing that, I've done it before18:12
sandsmarkyou're probably just doing something else interesting :)18:12
Nc_probably, but for the love of me I cannot figure out why I suddenly get garbage out of the list :)18:13
sandsmarkhow do you check that you haven't inserted it already?18:14
sandsmarkdo you modify it elsewhere?18:14
Nc_I insert 1 element for each light-bulb, and can see that m_list.count() returns 3 (there are 3 lights)18:15
*** flwittmann has joined #sailfishos18:15
Nc_then I basically just call the same getLight(index) function repeatedly, each time it says there are 3 lights, but suddenly m_lights.at(0) gives me a garbage object18:16
Nc_at no point after the initial inserts, are any new lights added18:16
sandsmarkyeah, but when do you print out the pointer?18:17
sandsmarkhmm18:17
Nc_getLight(index) does a  court << index << " - " << m_lights.count() << endl; and then after getting the m_list(idx) do a  cout << light.label << "@" static_cast<void*>(light) << endl;18:19
*** SpeedEvil has quit IRC18:19
Nc_this way I can constantly see if something added an object, and that I'm not accessing a bad index etc... :/18:19
sandsmarkwhy do you cast it to a void pointer?18:19
Nc_just to be sure it prints right18:19
*** SpeedEvil has joined #sailfishos18:20
dpurgindid you do a minimal example with nothing else except qlist of pointers?18:21
*** zetaz has quit IRC18:22
sandsmarkNc_: can you paste some of the pointers here?18:23
*** disharmonic has joined #sailfishos18:24
Nc_Actually figured I'd copy the listmodel to pastebin :)18:24
sandsmarkwell, I'm more interested in the pointers now :D18:24
sandsmarkjust paste a few of them here?18:24
Nc_from the output: "returning: Some Name 0@0x2a2c5e30"18:25
*** cloanta has quit IRC18:26
Nc_and of cause this time it crashed in a place it cannot debug ... grr .. gotta run the debug again, see if I can trigger it again18:26
sandsmarkNc_: was that a valid or invalid one?18:26
*** phaeron has quit IRC18:26
Nc_that was a valid one18:26
Nc_uki, now it is giving me a correct pointer, but the object is trashed18:27
dpurginit might have been deleted18:28
dpurginwho owns the pointers btw?18:28
sandsmarkyeah, probably18:28
Nc_I would say the app, or the library actually18:28
sandsmarkcan you run the application under valgrind, then it will tell you where it got deleted18:28
Nc_hmm.. I can try - no experience with valgrind18:28
*** cloanta has joined #sailfishos18:29
sandsmarkwell, it should be as simple as "valgrind myapp"18:29
*** Laxtlo has joined #sailfishos18:29
dpurginqt creator has this built in18:29
dpurginnever tried it in SailfishOS' flavor though18:29
locusfWhat can I do when my homescreen application requires liblipstick-qt5.so.0 but Vaarainjärvi provides only liblipstick-qt5.so.1 ?18:29
dpurginln -s and hope for binary compatibility :D18:29
*** maxorator has quit IRC18:30
dpurginor build your own and ship privately18:30
sandsmarkhaha18:30
*** dis_ has joined #sailfishos18:30
*** CorvetteZR1 has quit IRC18:30
locusflol18:30
sandsmarkthat sounds like a recipe for disaster, a new major version usually signifies api/abi breakage18:30
Nc_dpurgin, it offers "memory analyzer" and "function profiler", and then again same with "(external") ... any suggestions for which to use?18:30
sandsmarklocusf: upgrade and rebuild your application :D18:31
sandsmarkNc_: memory analyzer18:31
*** maxorator has joined #sailfishos18:31
dpurginsandsmark was quicker on that one :-)18:31
Nc_trying it18:31
sandsmark;D18:31
sandsmarkand I have like 3 second lag to IRC from here!18:31
locusfhmm apparently I just need a newer sdk18:31
*** phaeron has joined #sailfishos18:32
dpurgin00:31 here, I have brain lag :D18:32
sandsmarkhaha, ok18:32
Nc_uhm, should it start the app, or? :)18:32
sandsmarkNc_: yeah18:32
sandsmarkbut it's very slow18:32
Nc_uki18:32
*** disharmonic has quit IRC18:33
dpurginiirc it might not show anything until you stop it, then there goes this beautiful Profiling view18:33
Nc_am thinking the light-objects are created by my library, which "emits" them as signals - app then add them to listmodel18:34
sandsmarkNc_: are they QObjects?18:34
sandsmarkif so, remember to set the right parent18:34
Nc_Can't see anything deleting/updating them, unless there is an overly-aggressive GC18:34
dpurginI would ask -- do you use QObject parenting?18:34
Nc_no18:34
dpurginthere's no GC in C++ at all18:34
Nc_parent not set18:34
sandsmarkwhat class is it inheriting?18:35
Nc_dpurgin, I know there is no GC in C++ ... don't know if there is something in QT though18:35
*** Sfiet_Konstantin has joined #sailfishos18:35
sandsmarkno, only reference counting and the qobject magic18:35
Nc_class QTIOTSHARED_EXPORT IoTObject : public QObject18:35
sandsmarkmkay18:35
dpurgin*standard joke about QT being QuickTime18:35
sandsmarkyeah :P18:36
*** CorvetteZR1 has joined #sailfishos18:36
Nc_but yeah, at no point do I set parent (i.e. it used the default of "0")18:37
dpurginNc_, could you please upload the code somewhere? The way I would approch such a problem is to start with a minimal example where you do the same thing (populate QList with ptrs). If it works, start adding things step by step and see where it breaks. If it doesn't, try to break it up to simpler code and find out where the fault is18:39
Nc_http://pastebin.com/EsD4qRpi18:40
dpurginsandsmark is right, QList does handle pointers as soon as you handle ownership correctly, so I think there's no way of telling what's wrong unless we see the bigger picture :)18:40
sandsmarkbut does the actual pointer in the list get fucked up?18:41
sandsmarkcan you paste a valid pointer that gets replaced with an invalid one?18:41
sandsmark*and18:41
Nc_am trying to reproduce, but currently only getting cases where the ptr is the same as the original, and the object it points to being garbage18:42
locusfdpurgin: ln-s didn't help, requires package level provides :/18:42
*** Shinryuu has joined #sailfishos18:42
sandsmarkNc_: so, it gets deleted somehow18:42
Nc_seems like it18:43
dpurginlocusf, you mean your app asks for it?18:43
locusfdpurgin: yup18:43
locusfRequires:   lipstick-qt5 >= 0.17.018:43
*** Morpog_PC has quit IRC18:44
sandsmarkNc_: hmm, try storing them as QPointer in the list?18:44
dpurginlocusf, try rpm -i --nodeps18:44
locusfdpurgin: okay18:44
locusfI just wanted to use mb2 :p18:44
* Nc_ reads up on QPointer18:45
sandsmarki. e. QList<QPointer> >18:45
sandsmarkthen it should be nulled out if the object is nuked18:45
Nc_hmm .. powerled on phone just went berserk blinking turquoise. Guess this Update10 is just not stable :(18:47
dpurginguys, the plain pointers do work, it's just the matter of finding out where the hell are they destroyed :)18:48
sandsmarko.O18:48
Nc_pulled battery, since phone completely stopped responding18:50
locusfhrhhm unhandled page fault :p18:51
Nc_restarted sysmon to see what it logged just now, only to see phone reboot itself18:51
sandsmarkbad memory?18:52
Nc_OoM - seems to happen hourly18:52
sandsmarkhmm, packagekit seems to be stuck18:52
sandsmarkall attempts at transactions just hack18:52
Nc_this is from update8, but shows the headache I'm having with my Jolla: https://plus.google.com/u/0/+NielsChristian%C3%98rgaard/posts/488xZ1aZ9K618:53
*** Sailalott has joined #sailfishos18:54
*** SpeedEvil has quit IRC18:55
*** xerpi has quit IRC18:55
*** SpeedEvil has joined #sailfishos18:55
*** xerpi has joined #sailfishos18:55
Aardmight be the sync scheduler18:55
Nc_?18:58
Aardchecking if there's stuff to do/sync, and loading required plugins for that18:59
Nc_ah, yeah, plausible18:59
Nc_bit scary if that depletes memory :)18:59
*** jua_ has quit IRC19:00
Nc_uki, think I got valgrind installed properly, and running my app19:00
Aardwell, it looks like it goes back to normal quickly. you don't happen to have additional statistics which processes use memory? interesting would be msyncd19:00
Nc_resulting in some messed up UI, but seems to work19:00
*** Sailor11736_ has joined #sailfishos19:01
*** M4rtinK has joined #sailfishos19:01
Nc_Aard, sorry, no - was merely noticing phone dying regularly, or reaping processes left-and-right, and installed sysmon to track things19:01
*** flywheel has joined #sailfishos19:02
Nc_uki, tried valgrind, not seeing any output that makes much sense :)19:07
*** Shinryuu has quit IRC19:07
Nc_"Address 0x4c is not stack'd, malloc'd or (recently) free'd"19:07
*** broth has joined #sailfishos19:08
*** Shinryuu has joined #sailfishos19:09
sandsmarkwhere was that?19:09
sandsmarkhmm, can't get org.nemomobile.thumbnailer to work...19:09
Nc_when it did a SIGSEGV19:10
sandsmarkyeah, but in the stacktrace, where did it happen?19:10
Nc_at 0x116FBC: ???19:10
sandsmarkuh, and before that?19:11
Nc_2 sec, pastebin coming up19:11
sandsmarkwoop, there we go :D19:11
sandsmark(for the thumbnail)19:12
Nc_http://pastebin.com/bg1mBs6X19:12
*** inte_awa` has joined #sailfishos19:13
*** inte_awa` has quit IRC19:13
*** inte_awa` has joined #sailfishos19:13
*** Sfiet_Konstantin has quit IRC19:13
*** broth has quit IRC19:14
*** SpeedEvil has quit IRC19:14
*** SpeedEvil has joined #sailfishos19:14
sandsmarkuuh19:14
sandsmarkok, something really weird is going on :D19:15
Nc_good - that means it is not (only) me going insane19:15
sandsmarkhehe19:15
*** inte_away has quit IRC19:15
*** Finlod has quit IRC19:16
*** Finlod has joined #sailfishos19:17
*** Mivalpuff1 has joined #sailfishos19:18
*** flwittmann has quit IRC19:20
*** Mivalpuff has quit IRC19:21
*** cloanta has quit IRC19:24
*** Morpog_PC has joined #sailfishos19:28
*** cloanta has joined #sailfishos19:28
*** furikku has quit IRC19:30
Nc_dpurgin, seems you're right about object being deleted - put a break-point in the destructor, and it got triggered19:33
*** jua_ has joined #sailfishos19:35
*** SCVgeo has quit IRC19:39
*** timoph has joined #sailfishos19:42
sandsmarkyeah, that's the only thing that makes sense19:43
*** c0ck4m0u53 has quit IRC19:45
Nc_now trying to figure out how to see e.g. a stack trace showing where the delete comes from19:45
*** Bernte has quit IRC19:46
sandsmarkyeah19:46
sandsmarkthat's what valgrind should've shown :D19:47
Nc_gdb just just a stack of 3 x ???19:47
Nc_*just shows19:47
sandsmarkthat is pretty annoying, if I may say so :D19:48
*** Bernte has joined #sailfishos19:50
Nc_thinking need to install more debug packages19:51
sandsmarkyeah, probably19:51
Nc_...or not - now QtCreator is stuck in a crashing loop19:51
Nc_and the phone has turned itself off19:53
* Nc_ rages19:53
sandsmark:V19:53
sandsmarksounds like something is severely wrong with your phone19:54
Nc_ya - the latest update :(19:54
sandsmarkhaven't had any problems like that here...19:56
sandsmarkif anything it is more stable than before19:56
Nc_Jolla Care and tbr suggested steps dealing with battery-connectors - tried, but no luck19:57
sandsmarksounds more like bad memory to me...19:58
Nc_I'm starting to think bad platform :(19:59
*** Finlod has quit IRC19:59
sandsmarkwell, your experience is very unusual :D19:59
Nc_I'm good at making electronics work wrong19:59
Nc_e.g. I'm certifiably unable to use Windows-based laptops. They crash regularly near me20:00
sandsmarkyeah, I have the same problem, I have extremely bad windows karma20:00
Nc_darn, QtCreator now cannot stay alive for 20 seconds, after I tried adding packages20:02
*** Morpog_PC has quit IRC20:04
*** Morpog_PC has joined #sailfishos20:09
*** situ has left #sailfishos20:10
*** tat has quit IRC20:11
*** Morpog_PC has quit IRC20:14
*** Morpog_PC has joined #sailfishos20:14
sandsmarko.O20:16
sandsmarkI don't think I've ever had qtcreator crash on me20:17
Nc_Its a goner - kits aren't even showing, opening projects fails20:17
* Nc_ is now re-re-installing everything20:18
*** tat has joined #sailfishos20:18
*** Morpog_PC has quit IRC20:21
*** Morpog_PC has joined #sailfishos20:24
*** Laxtlo has quit IRC20:26
*** maxorator has quit IRC20:30
*** maxorator has joined #sailfishos20:30
*** Sfiet_Konstantin has joined #sailfishos20:34
Nc_"Error while parsing file /Users/nc/projects/Lightfish_qt/Lightfish_qt.pro. Giving up."20:39
* Nc_ starts crying20:39
*** Sfiet_Konstantin has quit IRC20:41
sandsmark:/20:43
*** pyksy has quit IRC20:59
*** nodevel has quit IRC21:00
*** Sail0r has joined #sailfishos21:02
*** Mivalpuff1 has quit IRC21:05
*** pyksy has joined #sailfishos21:08
*** nodevel has joined #sailfishos21:15
*** SpeedEvil has quit IRC21:15
*** SpeedEvil has joined #sailfishos21:16
*** stephg has joined #sailfishos21:17
*** plfiorini has joined #sailfishos21:23
stephg\o/ internet again21:24
sandsmarkwoop21:26
*** igordcard has joined #sailfishos21:34
*** plfiorini has quit IRC21:39
*** dhbiker has quit IRC21:45
Nokiuscoderus: how is the roadtip so fare?21:47
*** plfiorini has joined #sailfishos21:52
*** maxorator has quit IRC21:57
*** maxorator has joined #sailfishos21:57
*** phaeron has quit IRC22:05
*** tat has quit IRC22:21
*** mihlit has quit IRC22:24
*** orologiaio has joined #sailfishos22:30
*** phaeron has joined #sailfishos22:37
YanielMSameer: GJ, I was about to complain about opus missing from sailfish and see about a spec file for it but you beat me to it22:42
*** 18VABPQ0W has quit IRC22:42
*** misprint_ has joined #sailfishos22:43
*** misprint_ has quit IRC22:43
*** locusf has quit IRC22:50
*** zetaz has joined #sailfishos22:56
*** broth has joined #sailfishos23:10
*** nodevel has quit IRC23:10
*** nodevel has joined #sailfishos23:11
*** Guest1231 has quit IRC23:19
*** Sail0r has quit IRC23:26
*** SCVgeo has joined #sailfishos23:30
*** Nightmare__ has quit IRC23:35
*** daitheflu has quit IRC23:44
*** tat has joined #sailfishos23:46
*** tat has quit IRC23:54
*** phaeron has quit IRC23:54
*** r0kk3rz has quit IRC23:55
*** jua_ has quit IRC23:55
*** tat has joined #sailfishos23:58

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