Sunday, 2017-05-14

*** Nokius_ <Nokius_!~Nokius@p5DDB4837.dip0.t-ipconnect.de> has joined #sailfishos00:03
*** Nokius <Nokius!~Nokius@p5DDB4283.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 240 seconds)00:06
*** RoKenn_ <RoKenn_!~RoKenn@2001:a61:3452:9800:b44d:7070:aa7d:3589> has joined #sailfishos00:07
*** RoKenn <RoKenn!~RoKenn@2001:a61:345b:500:b44d:7070:aa7d:3589> has quit IRC (Ping timeout: 272 seconds)00:07
*** dafox <dafox!~dafox@2a02:a448:c25a:1:7061:3b2a:37df:ded3> has joined #sailfishos00:12
*** Guest90495 is now known as [ol]00:17
*** dafox <dafox!~dafox@2a02:a448:c25a:1:7061:3b2a:37df:ded3> has quit IRC (Ping timeout: 255 seconds)00:25
*** ahjolinna <ahjolinna!~manjaro-k@mobile-access-bcee4f-169.dhcp.inet.fi> has quit IRC (Remote host closed the connection)00:55
*** ahjolinna <ahjolinna!~manjaro-k@mobile-access-bcee4f-169.dhcp.inet.fi> has joined #sailfishos00:56
*** ol <ol!~ol@infoserver.lv> has joined #sailfishos01:11
*** kido` <kido`!~kido@coruscant.placeholder.fr> has joined #sailfishos01:35
*** kido <kido!uid142953@gateway/web/irccloud.com/x-yjbrawsiwqteqldw> has quit IRC (Quit: Connection closed for inactivity)01:39
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ixyszkyunbdqlqcq> has joined #sailfishos01:52
*** RoKenn_ <RoKenn_!~RoKenn@2001:a61:3452:9800:b44d:7070:aa7d:3589> has quit IRC (Remote host closed the connection)02:09
*** RoKenn_ <RoKenn_!~RoKenn@2001:a61:3452:9800:2db7:c137:83fb:acb1> has joined #sailfishos02:09
*** RoKenn_ <RoKenn_!~RoKenn@2001:a61:3452:9800:2db7:c137:83fb:acb1> has quit IRC (Quit: NSA proxy service interrupted)02:28
*** nomeata <nomeata!~jojo@nomeata.de> has joined #sailfishos03:02
*** frinring_ <frinring_!~frinring@x4db4eeac.dyn.telefonica.de> has joined #sailfishos03:22
*** frinring <frinring!~frinring@x4db34495.dyn.telefonica.de> has quit IRC (Disconnected by services)03:22
*** nomeata <nomeata!~jojo@nomeata.de> has quit IRC (Ping timeout: 272 seconds)03:36
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-ixyszkyunbdqlqcq> has quit IRC (Quit: Connection closed for inactivity)04:01
*** Sailor8177_ <Sailor8177_!~sailfish@86.111.49.232> has joined #sailfishos05:15
*** gmoro_ <gmoro_!~gmoro@31.169.96.75> has joined #sailfishos05:18
*** gmoro <gmoro!~gmoro@31.169.96.75> has quit IRC (Ping timeout: 240 seconds)05:19
*** piggz <piggz!~piggz@95.147.209.146> has quit IRC (Read error: Connection reset by peer)05:23
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos05:23
*** olafh <olafh!~olafh@pD9E6F584.dip0.t-ipconnect.de> has joined #sailfishos06:47
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has joined #sailfishos07:07
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-eaiqdphrezupfkjm> has joined #sailfishos08:09
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has quit IRC (Ping timeout: 260 seconds)08:09
*** Nc_ <Nc_!~nc@2a02:a03f:2a1c:7e00:3d49:62d9:7fd:7878> has joined #sailfishos08:10
*** Nokius_ is now known as Nokius08:11
*** leinir_ <leinir_!~leinir@amarok/usability/leinir> has joined #sailfishos08:12
*** leinir <leinir!~leinir@amarok/usability/leinir> has quit IRC (Ping timeout: 264 seconds)08:14
*** nutellazwerg <nutellazwerg!~nutellazw@p5B2FEE79.dip0.t-ipconnect.de> has joined #sailfishos08:14
*** Sail0r <Sail0r!~Sail0r@unaffiliated/sail0r> has quit IRC (Quit: ZNC 1.6.4 - http://znc.in)08:15
*** Sail0r <Sail0r!~Sail0r@unaffiliated/sail0r> has joined #sailfishos08:51
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has joined #sailfishos09:25
*** jbadiapa <jbadiapa!~jubapa@2.139.219.105> has quit IRC (Remote host closed the connection)09:33
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-145-98.play-internet.pl> has joined #sailfishos09:37
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has quit IRC (Ping timeout: 272 seconds)09:38
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has joined #sailfishos09:40
Mister_Magister_saidinesh5: ping09:49
*** Mister_Magister_ is now known as Mister_Magister09:50
*** Juhi24_ <Juhi24_!~Juhi24@89-27-52-234.bb.dnainternet.fi> has quit IRC (Quit: Juhi24_)09:53
*** Sailor8177_ <Sailor8177_!~sailfish@86.111.49.232> has quit IRC (Quit: IRC for Sailfish 0.9)09:57
*** leinir_ is now known as leinir10:37
*** nutellazwerg <nutellazwerg!~nutellazw@p5B2FEE79.dip0.t-ipconnect.de> has quit IRC (Read error: Connection reset by peer)10:55
*** disharmonic <disharmonic!~disharmon@unaffiliated/disharmonic> has joined #sailfishos10:59
*** Nekron_dev <Nekron_dev!~nekron@www.noordsee.de> has joined #sailfishos11:03
*** carepack <carepack!~carepack@p3E9E8578.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds)11:04
*** Nekron_dev <Nekron_dev!~nekron@www.noordsee.de> has quit IRC (Client Quit)11:05
*** Nekron_dev <Nekron_dev!~nekron@www.noordsee.de> has joined #sailfishos11:05
*** carepack <carepack!~carepack@p3E9E84A9.dip0.t-ipconnect.de> has joined #sailfishos11:05
*** kido <kido!uid142953@gateway/web/irccloud.com/x-tctqsbgqianeuiwb> has joined #sailfishos11:06
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:11
*** Nekron_dev <Nekron_dev!~nekron@www.noordsee.de> has quit IRC (Quit: IRC for Sailfish 0.9)11:11
*** Zucca <Zucca!~zucca@85-76-37-96-nat.elisa-mobile.fi> has quit IRC (Ping timeout: 272 seconds)11:21
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com)11:22
*** _jester_ <_jester_!~jester@mbl-65-157-96.dsl.net.pk> has joined #sailfishos11:22
_jester_Hello World11:23
_jester_facing a few issues with outdated information in articles, so i thought id stop by11:23
_jester_anyone here running sailfishos on nokia n9 ?11:23
_jester_The issue are the updates, I cannot seem to get the repository information correct enough to install software or to update the system11:26
_jester_from the documentation, im trying to go through the way points hence11:27
_jester_ssu release 10.25; version --dup11:27
_jester_but i get the error, Fatal error: nothing provides contextkit-plugin-kbslider needed by pattern:jolla-hw-adaptation-n9-0.7.15-10.50.5.jolla.noarch11:30
_jester_does anyone have the correct repo urls for an n9 ?11:33
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:34
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)11:35
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:38
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)11:38
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:41
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)11:42
*** disharmonic <disharmonic!~disharmon@unaffiliated/disharmonic> has quit IRC (Quit: Leaving)11:42
*** minimec <minimec!~minimec@unaffiliated/minimec> has quit IRC (Quit: leaving)11:42
* _jester_ drops pin11:42
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:43
*** minimec <minimec!~minimec@xdsl-188-155-167-254.adslplus.ch> has joined #sailfishos11:44
*** minimec <minimec!~minimec@xdsl-188-155-167-254.adslplus.ch> has quit IRC (Changing host)11:44
*** minimec <minimec!~minimec@unaffiliated/minimec> has joined #sailfishos11:44
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)11:44
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:48
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit)11:49
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos11:51
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-145-98.play-internet.pl> has joined #sailfishos11:52
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)11:52
*** dafox <dafox!~dafox@2a02:a448:c25a:1:7061:3b2a:37df:ded3> has joined #sailfishos12:33
_jester_hey dafox12:39
_jester_sup12:39
* pseudodev is wondering why jester would drop a pin12:41
*** cmazieri <cmazieri!~communi@191.184.146.44> has joined #sailfishos12:45
*** fledermaus <fledermaus!~vivek@2001:4d48:ad56:3000:a54b:9f08:d12d:1977> has joined #sailfishos12:48
_jester_so that the sleeping channel wakes up by the loud crash12:50
*** _jester_ <_jester_!~jester@mbl-65-157-96.dsl.net.pk> has quit IRC (Quit: Leaving)12:58
*** nomeata <nomeata!~jojo@nomeata.de> has joined #sailfishos13:03
*** corvinux <corvinux!~hashcore@unaffiliated/corvinux> has joined #sailfishos13:04
*** nomeata <nomeata!~jojo@nomeata.de> has quit IRC (Client Quit)13:04
*** corvinux <corvinux!~hashcore@unaffiliated/corvinux> has quit IRC (Quit: Leaving)13:17
*** corvinux <corvinux!~hashcore@unaffiliated/corvinux> has joined #sailfishos13:17
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has joined #sailfishos13:37
*** pozzoni <pozzoni!pozzoni@2604:180::5a69:7f32> has quit IRC (Ping timeout: 255 seconds)13:49
*** pozzoni <pozzoni!pozzoni@2604:180::5a69:7f32> has joined #sailfishos13:50
*** arvut <arvut!~nobody@unaffiliated/arvut> has joined #sailfishos13:52
*** cmazieri <cmazieri!~communi@191.184.146.44> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com)13:54
*** corvinux <corvinux!~hashcore@unaffiliated/corvinux> has quit IRC (Ping timeout: 268 seconds)13:55
*** zhxt <zhxt!~zhxt@1.180.212.217> has quit IRC (Remote host closed the connection)14:01
*** birdzhang_ <birdzhang_!~quassel@14.23.164.60> has joined #sailfishos14:02
*** zhxt <zhxt!~zhxt@1.180.212.88> has joined #sailfishos14:02
*** birdzhang <birdzhang!~quassel@14.23.164.60> has quit IRC (Ping timeout: 258 seconds)14:02
*** zhxt <zhxt!~zhxt@1.180.212.88> has quit IRC (Ping timeout: 240 seconds)14:14
*** zhxt <zhxt!~zhxt@1.180.212.217> has joined #sailfishos14:15
*** birdzhang_ <birdzhang_!~quassel@14.23.164.60> has quit IRC (Quit: No Ping reply in 180 seconds.)14:19
*** birdzhang <birdzhang!~quassel@43.230.88.228> has joined #sailfishos14:26
*** zhxt <zhxt!~zhxt@1.180.212.217> has quit IRC (Remote host closed the connection)14:45
*** zhxt <zhxt!~zhxt@1.180.212.88> has joined #sailfishos14:47
*** Zucca <Zucca!~zucca@85-76-3-27-nat.elisa-mobile.fi> has joined #sailfishos14:55
*** tango_ <tango_!~tex_vim@151.54.223.181> has quit IRC (Ping timeout: 272 seconds)15:16
*** frinring_ is now known as frinring15:19
saidinesh5hola Mister_Magister_15:25
Mister_Magister_saidinesh5: Hello! Give me a second15:26
saidinesh5aye15:26
*** tango_ <tango_!~tex_vim@151.54.209.82> has joined #sailfishos15:28
Mister_Magister_saidinesh5: i'm back. Was playing mmorpg so now my fingers are hurting :D15:35
saidinesh5Ah no issues..15:35
Mister_Magister_saidinesh5: so teach me sensei please :D15:35
*** Mister_Magister_ is now known as Mister_Magister15:35
saidinesh5lol15:35
Mister_Magisteryesterday you were talking about proper model right?15:36
saidinesh5yup15:36
Mister_Magistercontinue please :)15:37
saidinesh5so say  if you have a class MessengerBackend{  ChatListModel* chatListModel();  ChatModel* chatModelForId(int id);}15:37
saidinesh5where ChatListModel and ChatModel are both subclasses of QAbstractListModels...15:38
Mister_Magisteryeah?15:39
saidinesh5well you can simply share the same model to both the QQuickViews then15:39
Mister_Magisterand?15:40
saidinesh51 sec15:40
Mister_Magistersure15:40
*** rweickel- <rweickel-!~rweickelt@cD68C3E56.dhcp.as2116.net> has joined #sailfishos15:41
*** rweickelt <rweickelt!~rweickelt@cD68C3E56.dhcp.as2116.net> has quit IRC (Ping timeout: 260 seconds)15:42
saidinesh5Okay.. so basically then, in your main funnction you create the MessengerBackend object and share it with your main SailfishSilicaView(?) and the AppletView classes..15:44
saidinesh5that way your same Chat models are shared between both ...15:44
Mister_Magistersaidinesh5: oh i think i know what you mean. I have Messenger class that is shared into qml so qml can connect with it's signals15:47
Mister_Magisterview->rootContext()->setContextProperty("Messenger",&messenger);15:47
saidinesh5yup. something like that should do15:47
saidinesh5so if it is shared between both the appletView and silicaView .. then you wont have to do any more extra work syncing the messages and events between the two classes...15:48
Mister_Magistersaidinesh5: wait i'll upload my code to github maybe? that will be helpful?15:48
Mister_Magisteri was planning to do that anyway15:48
saidinesh5sure15:49
*** RoKenn <RoKenn!~RoKenn@2001:a61:3452:9800:f063:c7e4:96e2:d108> has joined #sailfishos15:49
Mister_Magisterit's not like it's super protected since it's using opensource software15:49
saidinesh5heh sure15:49
*** Dar <Dar!~dar@s76.justhost.in.ua> has quit IRC (Remote host closed the connection)15:50
Mister_Magistersaidinesh5: btw can you help me with connecting c to qml? by now it's in very, very ugly way15:53
Mister_Magisterhttps://github.com/MisterMagister/FishbookMessenger here15:53
Mister_Magisterpurple backend is in c and it's calling its callback funtions which are calling c++ functions which are calling c++ methods from messenger object which are emiting signals to qml15:54
saidinesh5aye looking into it15:56
*** Dar <Dar!~dar@s76.justhost.in.ua> has joined #sailfishos15:58
saidinesh5so Mister_Magister, basically you really need to change this code from a bunch of signals and slots calling each other to DataModels and Properties16:05
Mister_Magisterokay16:05
saidinesh5https://github.com/MisterMagister/FishbookMessenger/blob/master/src/messenger.hpp this doesnt have to know about DBus/QQuickView etc..16:05
saidinesh5and it is better if it has Q_PROPERTY(QSTring status) that you can interact from QML16:06
saidinesh5Also add new methods/proprties there. one to get the  list of active chats16:07
saidinesh5i.e ChatListModel (?)16:07
saidinesh5and one .. given an fbid returns a ChatModel16:07
saidinesh5both subclasses of QAbstractListModel16:08
saidinesh5ChatModel can also then keep a backlog of say 20-30 messages in a ring buffer  and load more on demand16:08
Mister_Magistersaidinesh5: well new chat will open when somebody writes16:08
saidinesh5sure...  then ChatListModel also needs to be updated..16:08
Mister_Magisteryeah16:09
saidinesh5basically forget about UI for now and simply focus on these data models and properties16:09
Mister_Magisterokay16:09
saidinesh5then you can simply plug in multiple UIs.. be it QWidget based ones  or text based ones or QML based ones..16:09
Mister_Magistersaidinesh5: well when somebody writes for first time the conversation-created callback is called so i can get all conversations but dunno about closed chats16:10
Mister_Magisterso better open chat when somebody wries16:10
saidinesh5sure, you still update your ChatListModel for that ..16:11
Mister_Magistersaidinesh5: i know that code i basically shit you don't have to tell me haha :D16:11
saidinesh5then any repeaters/list models connected to that ChatListModel automatically update then16:11
Mister_Magisterokaaay16:12
saidinesh5i dont know how fb deals with acctive chats but basically you need to restructure your code into DataModels and Properties you can expose to QML.. that's all16:12
Mister_Magisterokay but i cannot connect c directly to qml16:12
saidinesh5you wont have to16:12
saidinesh5you will simply update your datamodels16:13
saidinesh5then QML reacts to the changes in the datamodels16:13
Mister_Magisterooookkkaaayyy?16:13
*** zhxt <zhxt!~zhxt@1.180.212.88> has quit IRC (Ping timeout: 272 seconds)16:13
saidinesh5so instead of relying on signals like buddyAdded() on the QML side, you expose a buddyListModel to QML and simply connect that to a ListView there16:14
Mister_Magisteroh okay16:15
saidinesh5that way, on a libpurple callback when buddyAdded, you update the BuddyListModel..  and QML ListView automatically responds to that change then16:15
Mister_Magisterwo when i modify content of my buddylistmodel in c++ then qml will update?16:15
saidinesh5yup16:15
* Mister_Magister is wondering if purple callback can accept c++ functions16:16
Mister_Magisterprobably now16:16
Mister_Magisterno*16:16
saidinesh5it should be able to.16:18
saidinesh5looking at https://github.com/MisterMagister/FishbookMessenger/blob/master/src/messenger_purple.c now..16:18
saidinesh5that's where you specify callbacks right?16:18
Mister_Magisterbut callback have to have purple aka c specific variables16:19
Mister_Magisterline 72016:19
saidinesh5and each of those c callback functions can inturn call your Messenger instance's methods to update the data models?16:22
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has joined #sailfishos16:23
saidinesh5basically the only change is16:23
saidinesh5instead of emitting the signals in main and connecting them inside QML16:23
saidinesh5like https://github.com/MisterMagister/FishbookMessenger/blob/master/src/messenger.cpp#L3616:23
Mister_Magistersorry what?16:24
saidinesh5this16:24
saidinesh5that addBuddy .. instead of just emitting a singal16:24
saidinesh5updates it's buddyListModel instead16:24
saidinesh5is what I'm saying..16:24
Mister_Magisteryou cannot use that Messenger::addBuddy as callback in C16:25
saidinesh5depends... is Messenger a singleton?16:25
Mister_Magisternah16:25
Mister_Magisterconnecting c and c++ is not that simple :V16:26
Mister_Magistersince c doesn16:26
Mister_Magister't have objects16:26
saidinesh5it isnt that tough but i think we are talking about different things16:26
Mister_Magisterprobably16:26
saidinesh5what I am saying is .. for eg. your void Messenger::addBuddy(const QString &name, const QString &fbid, const QString &fba, int isChat) { this methid16:27
saidinesh5this method.16:27
saidinesh5right now all that it is doing is emitting a signal16:27
saidinesh5and then you're doing most of the work inside QML16:27
Mister_Magisteryeah16:27
saidinesh5instead of that what you could do is make that method instead upadte a QAbstractListModel called say BuddyModel..16:28
saidinesh5gimme a minute. giving you a pseudo ccode16:28
Mister_Magisterokay16:28
Mister_Magisteryou are talking about modify my BuddyModel instead of emmiting signal and handle everything in qml? So handle everything in c++ adn qml  will be updated if i use my model in qml list right?16:30
Mister_Magistermy god no beer is left :C16:31
* Mister_Magister is wondering if we should move it to private conversation16:32
Mister_Magisterwell maybe it will be helpful to somebody16:32
saidinesh5more or less yes.16:36
saidinesh5basically make your C++ side expose QAbstractListModels and Q_PROPERTIES instead of signals and slots to the QML side is what I'm saying16:37
Mister_Magisterokay16:38
Mister_MagisterQ_PROPERTIES calls methods to get/set variable16:39
Mister_Magistersaidinesh5: btw using QAbstractListModel i'll be able to sort contacts right?16:41
saidinesh5sure16:41
Mister_Magisterthat will be usefull16:41
saidinesh5yup.. give me a little more time. typing out your header16:42
Mister_Magistersure no problem take your time it's not like the deadline is tomorrow16:42
saidinesh5btw. https://github.com/MisterMagister/FishbookMessenger/blob/master/src/messenger_purple.c#L901 the arg.  is any arbitrary argument you can pass to pthread right?16:43
Mister_Magisterprobably16:44
saidinesh5if only i had an fb id.. this would have been fun to finish..16:45
Mister_Magistersaidinesh5: what do you mean?16:46
saidinesh5i deleted my fb account in 2011 iirc... so cant test what i write myself :P16:46
Mister_Magisterokaaay16:47
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has joined #sailfishos16:47
Mister_Magistersaidinesh5: so what i should do now?16:55
saidinesh5start countdown for me to post this pseudocode :p16:56
Mister_Magisterhah take your time i'll go for sandwich16:56
saidinesh5Mister_Magister: https://bpaste.net/show/4204bb62d48e16:59
*** pykape <pykape!~pykape@a88-115-167-112.elisa-laajakaista.fi> has quit IRC (Ping timeout: 255 seconds)17:00
saidinesh5this way, inside QML .. you can do title: messengerAccount.status17:00
saidinesh5and it should automatically respond to the change...17:01
saidinesh5and this way you can even write proper Unit tests for your backend17:01
*** pykape <pykape!~pykape@a88-115-167-112.elisa-laajakaista.fi> has joined #sailfishos17:02
Mister_Magistersaidinesh5: i see problem in line 1617:03
saidinesh5hmm?17:03
Mister_Magisteryou cannot just put that purple functions in c++17:03
saidinesh5you can17:03
Mister_Magisterit will not compile17:03
saidinesh5you have to use extern C  or something like that17:04
Mister_Magisterthen yes17:04
saidinesh5so this way each of the classes: BuddyListModel, ChatListModel, ChatModel register to their own purple callbacks based on the data..17:04
saidinesh5and deal with things automatically17:05
saidinesh5so for eg. the MessengerAccount class can then only respond to callbacks related to statusChanged, avatarChanged etc...17:05
*** nutellazwerg <nutellazwerg!~nutellazw@p5B2FEE79.dip0.t-ipconnect.de> has joined #sailfishos17:05
Mister_Magisteri really really doubt if you an use c++methods in c17:06
saidinesh5and creates it's own ChatListModel and passes it the purple account(?) object/struct so it can reigster it's own callbacks for the chatlist model17:06
saidinesh5you can use C functions inside C++ using extern C, and that's what you're doing here17:06
Mister_Magisterbut17:06
Mister_Magisterc++ method in c17:06
saidinesh5where?17:07
Mister_Magistercallbacks17:07
saidinesh5it is a static method17:07
saidinesh5you can use it17:07
Mister_Magisterokay17:07
saidinesh5actually tha tline had an error17:07
saidinesh5purple_signal_connect(accounts_handle, "account-status-changed", &handle, PURPLE_CALLBACK(account_status_changed), this);17:07
saidinesh5this line has an error17:07
saidinesh5it should be purple_signal_connect(accounts_handle, "account-status-changed", &handle, PURPLE_CALLBACK(Messenger::account_status_changed), this);17:08
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has joined #sailfishos17:08
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Client Quit)17:08
saidinesh5basically Mister_Magister .. class MyClass {  char* hello; public void printHello(); } MyClass c; c.printHello();  is equivalent to : typedef struct { char* hello; }MyClass; void printHello(MyClass*)17:12
saidinesh5and static methods directly map to C functions17:12
Mister_Magisteroookay17:13
saidinesh5well with a bit of name mangling17:14
saidinesh5https://en.wikipedia.org/wiki/Name_mangling#C.2B.2B17:14
Mister_Magisteroookaaaaayyyy17:19
*** nib <nib!~nib@109.110.95.115> has joined #sailfishos17:21
saidinesh5so now you see how you can share the same data between 2 different QQuickViews right?17:21
Mister_MagisterQQuickViews? sharing data? wher?17:22
saidinesh5lol17:22
saidinesh5once you have a seaprate MessengerAccount class17:22
saidinesh5you simply have to create that MessengerAccount object once in your main function and expose it as a QML property to both the views..17:23
saidinesh5that way if the status gets updated in that MessengerAccount class, it gets reflected both in the AppletView and your main application at the same time17:24
Mister_Magisterokay17:24
saidinesh5which bit is unclear?17:24
Mister_Magisterno i think i understand. I doubt if it will work (that connecting c and c++ but i'll try17:31
Mister_Magisterneed more sandwiches17:31
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 240 seconds)17:35
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has joined #sailfishos17:37
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Read error: No route to host)17:38
*** RoKenn <RoKenn!~RoKenn@2001:a61:3452:9800:f063:c7e4:96e2:d108> has quit IRC (Remote host closed the connection)17:38
*** RoKenn <RoKenn!~RoKenn@2001:a61:3452:9800:dced:27f4:61c9:2528> has joined #sailfishos17:38
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos17:38
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Quit: Communi 3.5.0 - http://communi.github.com)17:45
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 268 seconds)17:45
saidinesh5thanks for the reminder.. need a sandwich maker.. there's a sale17:46
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos17:46
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos17:54
olWhat do you guys think about this announcement? https://android-developers.googleblog.com/2017/05/here-comes-treble-modular-base-for.html17:56
olWhere is Linux kernel in that picture? In vendor implementation or in Android OS framework?17:57
olIn other words, what is Vendor interface, a stable interface between Linux kernel and vendor-specific drivers, or between a bundle consisting of Linux kernel with vendor drivers and vendor-specific libraries as well and Android runtime?17:59
*** flx_ <flx_!flux@coffee.modeemi.fi> has joined #sailfishos18:01
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 260 seconds)18:01
*** NC__ <NC__!~nc@2a02:a03f:2a1c:7e00:3d49:62d9:7fd:7878> has joined #sailfishos18:03
*** Krikke_ <Krikke_!ixevix@ragnaros.hearthstone.fi> has joined #sailfishos18:04
*** chem|st_ <chem|st_!~mayor@svn.unix-ag.uni-kl.de> has joined #sailfishos18:04
*** merlin_1991 <merlin_1991!~merlin@mail.merlin1991.at> has joined #sailfishos18:04
*** MMori_ <MMori_!~MMori@91.121.246.19> has joined #sailfishos18:04
*** zuh_ <zuh_!zuh@humboldt.pingu.fi> has joined #sailfishos18:04
*** zumbi_ <zumbi_!~zumbi@212.47.244.39> has joined #sailfishos18:04
*** kelvan_ <kelvan_!~quassel@mail.merlin1991.at> has joined #sailfishos18:04
*** aivot-on_ <aivot-on_!aivot-on@hilla.kapsi.fi> has joined #sailfishos18:04
*** radish_ <radish_!~radish@188.164.131.220> has joined #sailfishos18:04
*** D-Tick_ <D-Tick_!~D-Tick@athlon.zankt.net> has joined #sailfishos18:04
*** Turski_ <Turski_!~turski@dsl-mlibrasgw2-50de08-195.dhcp.inet.fi> has joined #sailfishos18:05
*** Jonni <Jonni!~rainisto@gateway/vpn/privateinternetaccess/jonni> has joined #sailfishos18:07
*** haasn`phone <haasn`phone!~haasn@haasn.xyz> has quit IRC (Remote host closed the connection)18:09
*** Nc_ <Nc_!~nc@2a02:a03f:2a1c:7e00:3d49:62d9:7fd:7878> has quit IRC (*.net *.split)18:09
*** merlin1991 <merlin1991!~merlin@Maemo/community/cssu/merlin1991> has quit IRC (*.net *.split)18:09
*** kelvan <kelvan!~quassel@mail.merlin1991.at> has quit IRC (*.net *.split)18:09
*** lm2 <lm2!~lm2@163.47.16.177> has quit IRC (*.net *.split)18:09
*** Jonni_ <Jonni_!~rainisto@linuxi.org> has quit IRC (*.net *.split)18:09
*** Sebban <Sebban!indigo176@gateway/shell/blinkenshell.org/x-mcipobhqnbpaeiil> has quit IRC (*.net *.split)18:09
*** hanna <hanna!~haasn@haasn.xyz> has quit IRC (*.net *.split)18:09
*** paulvt <paulvt!~paul@target.luon.net> has quit IRC (*.net *.split)18:09
*** Turski <Turski!~turski@dsl-mlibrasgw2-50de08-195.dhcp.inet.fi> has quit IRC (*.net *.split)18:09
*** radish <radish!~radish@unaffiliated/stryx/x-3871776> has quit IRC (*.net *.split)18:09
*** Firnwath <Firnwath!~firnwath@2001:2003:f95b:5800:ba27:ebff:feeb:9bd6> has quit IRC (*.net *.split)18:09
*** flux <flux!flux@coffee.modeemi.fi> has quit IRC (*.net *.split)18:09
*** iderrick <iderrick!~oschwand@chezlefab.net> has quit IRC (*.net *.split)18:09
*** JvD_ <JvD_!~jvd@xdsl-83-145-207-14.nebulazone.fi> has quit IRC (*.net *.split)18:09
*** zuh <zuh!zuh@humboldt.pingu.fi> has quit IRC (*.net *.split)18:09
*** MMori <MMori!~MMori@armorila.net> has quit IRC (*.net *.split)18:09
*** zumbi <zumbi!~zumbi@39-244-47-212.rev.cloud.scaleway.com> has quit IRC (*.net *.split)18:09
*** Krikke <Krikke!ixevix@ragnaros.hearthstone.fi> has quit IRC (*.net *.split)18:09
*** D-Tick <D-Tick!~D-Tick@athlon.zankt.net> has quit IRC (*.net *.split)18:09
*** chem|st <chem|st!~mayor@svn.unix-ag.uni-kl.de> has quit IRC (*.net *.split)18:09
*** aivot-on <aivot-on!aivot-on@hilla.kapsi.fi> has quit IRC (*.net *.split)18:09
*** radish_ is now known as radish18:09
*** flx_ is now known as flux18:09
*** paulvt <paulvt!~paul@target.luon.net> has joined #sailfishos18:09
*** loicm <loicm!~bballizli@LMontsouris-657-1-230-91.w80-15.abo.wanadoo.fr> has quit IRC (Ping timeout: 255 seconds)18:09
*** JvD_ <JvD_!~jvd@xdsl-83-145-207-14.nebulazone.fi> has joined #sailfishos18:09
*** MMori_ is now known as MMori18:09
*** lm2 <lm2!~lm2@163.47.16.177> has joined #sailfishos18:10
*** radish <radish!~radish@188.164.131.220> has quit IRC (Changing host)18:10
*** radish <radish!~radish@unaffiliated/stryx/x-3871776> has joined #sailfishos18:10
*** Firnwath <Firnwath!~firnwath@dsl-hkibrasgw3-58c15b-88.dhcp.inet.fi> has joined #sailfishos18:15
*** iderrick <iderrick!~oschwand@chezlefab.net> has joined #sailfishos18:16
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos18:23
*** hanna <hanna!~haasn@HSI-KBW-109-193-081-112.hsi7.kabel-badenwuerttemberg.de> has joined #sailfishos18:24
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 240 seconds)18:28
*** Krikke_ is now known as Krikke18:41
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-eaiqdphrezupfkjm> has quit IRC (Quit: Connection closed for inactivity)18:48
r0kk3rzol: if its still linux, then the vendor interface will have to be higher than the kernel18:59
r0kk3rzsince goog dont really control intra kernel interfaces18:59
r0kk3rzso id expect it to be middleware related19:03
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has quit IRC (Quit: Konversation terminated!)19:04
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has joined #sailfishos19:04
*** RoKenn <RoKenn!~RoKenn@2001:a61:3452:9800:dced:27f4:61c9:2528> has quit IRC (Remote host closed the connection)19:08
*** RoKenn <RoKenn!~RoKenn@2001:a61:3452:9800:5c90:615e:5035:ec7b> has joined #sailfishos19:09
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 240 seconds)19:13
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has joined #sailfishos19:15
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has quit IRC (Quit: Odcházím...)19:18
*** ahjolinna <ahjolinna!~manjaro-k@mobile-access-bcee4f-169.dhcp.inet.fi> has quit IRC (Read error: No route to host)19:32
*** ahjolinna <ahjolinna!~manjaro-k@mobile-access-bcee4f-169.dhcp.inet.fi> has joined #sailfishos19:33
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has quit IRC (Remote host closed the connection)19:41
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-173.play-internet.pl> has joined #sailfishos19:44
*** nib <nib!~nib@109.110.95.115> has quit IRC (Ping timeout: 260 seconds)19:54
*** RoKenn <RoKenn!~RoKenn@2001:a61:3452:9800:5c90:615e:5035:ec7b> has quit IRC (Quit: NSA proxy service interrupted)19:59
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has quit IRC (Ping timeout: 268 seconds)19:59
*** nutellazwerg <nutellazwerg!~nutellazw@p5B2FEE79.dip0.t-ipconnect.de> has quit IRC (Read error: Connection reset by peer)21:07
*** dafox <dafox!~dafox@2a02:a448:c25a:1:7061:3b2a:37df:ded3> has quit IRC (Ping timeout: 272 seconds)21:08
*** arvut <arvut!~nobody@unaffiliated/arvut> has quit IRC (Quit: leaving)21:22
*** birdzhang_ <birdzhang_!~quassel@14.23.164.60> has joined #sailfishos21:40
*** juiceme_ <juiceme_!~juice@cerebro.liukuma.net> has joined #sailfishos21:40
*** inara` <inara`!~inara@68.ip-149-56-14.net> has joined #sailfishos21:40
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-173.play-internet.pl> has joined #sailfishos21:41
*** jtopian_ <jtopian_!~quassel@nebulosa.jtopia.org> has joined #sailfishos21:42
*** popey_ <popey_!~alan@popey.com> has joined #sailfishos21:42
*** inara <inara!~inara@68.ip-149-56-14.net> has quit IRC (Ping timeout: 268 seconds)21:42
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-147-173.play-internet.pl> has quit IRC (Remote host closed the connection)21:43
*** cmacrae- <cmacrae-!~cmacrae@cpc5-hitc7-2-0-cust40.9-2.cable.virginm.net> has quit IRC (Ping timeout: 268 seconds)21:43
*** jtopian <jtopian!~quassel@nebulosa.jtopia.org> has quit IRC (Read error: Connection reset by peer)21:43
*** juiceme <juiceme!~juice@Maemo/community/council/juiceme> has quit IRC (Read error: Connection reset by peer)21:43
*** popey <popey!~alan@ubuntu/member/popey> has quit IRC (Ping timeout: 268 seconds)21:43
*** LarstiQ <LarstiQ!~larstiq@cebren.richtlijn.be> has quit IRC (Ping timeout: 268 seconds)21:43
*** salyavin <salyavin!~salyavin@gokuraku.fcac.com> has quit IRC (Ping timeout: 268 seconds)21:43
*** birdzhang <birdzhang!~quassel@43.230.88.228> has quit IRC (Ping timeout: 268 seconds)21:43
*** Lieke <Lieke!~lieke@85.17.167.217> has quit IRC (Ping timeout: 268 seconds)21:43
*** cmacrae <cmacrae!~cmacrae@cpc5-hitc7-2-0-cust40.9-2.cable.virginm.net> has joined #sailfishos21:43
*** LarstiQ <LarstiQ!~larstiq@cebren.richtlijn.be> has joined #sailfishos21:43
*** salyavin1 <salyavin1!~salyavin@gokuraku.fcac.com> has joined #sailfishos21:43
*** Lieke <Lieke!~lieke@85.17.167.217> has joined #sailfishos22:00
*** NC__ <NC__!~nc@2a02:a03f:2a1c:7e00:3d49:62d9:7fd:7878> has quit IRC (Quit: This computer has gone to sleep)22:03
*** RandomNoob <RandomNoob!~RandomNoo@unaffiliated/randomnoob> has joined #sailfishos22:08
RandomNoobHello guys. I am getting error sudo: effective uid is not 0, is sudo installed setuid root? whent trying run sudo zypper in android-tools createrepo zip . I googled the problem with fstab nosuid. But I am following instructions. So it should in my home folder. How to pass this problem?22:09
*** Blizzz <Blizzz!~blizzz@ubuntu/member/blizzz> has quit IRC (Ping timeout: 260 seconds)22:16
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-173.play-internet.pl> has quit IRC (Ping timeout: 240 seconds)22:31
RandomNoobgot solution23:03
*** RandomNoob <RandomNoob!~RandomNoo@unaffiliated/randomnoob> has left #sailfishos23:03
*** cxl000 <cxl000!~cxl000@c27-253-11-51.brodm4.vic.optusnet.com.au> has quit IRC (Quit: Leaving)23:13
*** kido <kido!uid142953@gateway/web/irccloud.com/x-tctqsbgqianeuiwb> has quit IRC (Quit: Connection closed for inactivity)23:26
*** olafh <olafh!~olafh@pD9E6F584.dip0.t-ipconnect.de> has quit IRC (Ping timeout: 260 seconds)23:35
*** mhall119 <mhall119!~mhall@ubuntu/member/mhall119> has joined #sailfishos23:54

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