*** Nokius_ <Nokius_!~Nokius@p5DDB4837.dip0.t-ipconnect.de> has joined #sailfishos | 00: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 #sailfishos | 00: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 #sailfishos | 00: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 #sailfishos | 00:56 | |
*** ol <ol!~ol@infoserver.lv> has joined #sailfishos | 01:11 | |
*** kido` <kido`!~kido@coruscant.placeholder.fr> has joined #sailfishos | 01: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 #sailfishos | 01: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 #sailfishos | 02: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 #sailfishos | 03:02 | |
*** frinring_ <frinring_!~frinring@x4db4eeac.dyn.telefonica.de> has joined #sailfishos | 03: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 #sailfishos | 05:15 | |
*** gmoro_ <gmoro_!~gmoro@31.169.96.75> has joined #sailfishos | 05: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 #sailfishos | 05:23 | |
*** olafh <olafh!~olafh@pD9E6F584.dip0.t-ipconnect.de> has joined #sailfishos | 06:47 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has joined #sailfishos | 07:07 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-eaiqdphrezupfkjm> has joined #sailfishos | 08: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 #sailfishos | 08:10 | |
*** Nokius_ is now known as Nokius | 08:11 | |
*** leinir_ <leinir_!~leinir@amarok/usability/leinir> has joined #sailfishos | 08: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 #sailfishos | 08: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 #sailfishos | 08:51 | |
*** Mister_Magister <Mister_Magister!~foidbgen@user-94-254-145-98.play-internet.pl> has joined #sailfishos | 09: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 #sailfishos | 09: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 #sailfishos | 09:40 | |
Mister_Magister_ | saidinesh5: ping | 09:49 |
---|---|---|
*** Mister_Magister_ is now known as Mister_Magister | 09: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 leinir | 10: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 #sailfishos | 10:59 | |
*** Nekron_dev <Nekron_dev!~nekron@www.noordsee.de> has joined #sailfishos | 11: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 #sailfishos | 11:05 | |
*** carepack <carepack!~carepack@p3E9E84A9.dip0.t-ipconnect.de> has joined #sailfishos | 11:05 | |
*** kido <kido!uid142953@gateway/web/irccloud.com/x-tctqsbgqianeuiwb> has joined #sailfishos | 11:06 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 11: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 #sailfishos | 11:22 | |
_jester_ | Hello World | 11:23 |
_jester_ | facing a few issues with outdated information in articles, so i thought id stop by | 11: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 system | 11:26 |
_jester_ | from the documentation, im trying to go through the way points hence | 11:27 |
_jester_ | ssu release 10.25; version --dup | 11: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.noarch | 11:30 |
_jester_ | does anyone have the correct repo urls for an n9 ? | 11:33 |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 11:34 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit) | 11:35 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 11:38 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit) | 11:38 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 11: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 pin | 11:42 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 11:43 | |
*** minimec <minimec!~minimec@xdsl-188-155-167-254.adslplus.ch> has joined #sailfishos | 11: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 #sailfishos | 11:44 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit) | 11:44 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 11:48 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has quit IRC (Client Quit) | 11:49 | |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 11:51 | |
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-145-98.play-internet.pl> has joined #sailfishos | 11: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 #sailfishos | 12:33 | |
_jester_ | hey dafox | 12:39 |
_jester_ | sup | 12:39 |
* pseudodev is wondering why jester would drop a pin | 12:41 | |
*** cmazieri <cmazieri!~communi@191.184.146.44> has joined #sailfishos | 12:45 | |
*** fledermaus <fledermaus!~vivek@2001:4d48:ad56:3000:a54b:9f08:d12d:1977> has joined #sailfishos | 12:48 | |
_jester_ | so that the sleeping channel wakes up by the loud crash | 12: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 #sailfishos | 13:03 | |
*** corvinux <corvinux!~hashcore@unaffiliated/corvinux> has joined #sailfishos | 13: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 #sailfishos | 13:17 | |
*** SfietKonstantin <SfietKonstantin!~sk@88.190.246.243> has joined #sailfishos | 13: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 #sailfishos | 13:50 | |
*** arvut <arvut!~nobody@unaffiliated/arvut> has joined #sailfishos | 13: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 #sailfishos | 14:02 | |
*** zhxt <zhxt!~zhxt@1.180.212.88> has joined #sailfishos | 14: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 #sailfishos | 14: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 #sailfishos | 14: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 #sailfishos | 14:47 | |
*** Zucca <Zucca!~zucca@85-76-3-27-nat.elisa-mobile.fi> has joined #sailfishos | 14:55 | |
*** tango_ <tango_!~tex_vim@151.54.223.181> has quit IRC (Ping timeout: 272 seconds) | 15:16 | |
*** frinring_ is now known as frinring | 15:19 | |
saidinesh5 | hola Mister_Magister_ | 15:25 |
Mister_Magister_ | saidinesh5: Hello! Give me a second | 15:26 |
saidinesh5 | aye | 15:26 |
*** tango_ <tango_!~tex_vim@151.54.209.82> has joined #sailfishos | 15:28 | |
Mister_Magister_ | saidinesh5: i'm back. Was playing mmorpg so now my fingers are hurting :D | 15:35 |
saidinesh5 | Ah no issues.. | 15:35 |
Mister_Magister_ | saidinesh5: so teach me sensei please :D | 15:35 |
*** Mister_Magister_ is now known as Mister_Magister | 15:35 | |
saidinesh5 | lol | 15:35 |
Mister_Magister | yesterday you were talking about proper model right? | 15:36 |
saidinesh5 | yup | 15:36 |
Mister_Magister | continue please :) | 15:37 |
saidinesh5 | so say if you have a class MessengerBackend{ ChatListModel* chatListModel(); ChatModel* chatModelForId(int id);} | 15:37 |
saidinesh5 | where ChatListModel and ChatModel are both subclasses of QAbstractListModels... | 15:38 |
Mister_Magister | yeah? | 15:39 |
saidinesh5 | well you can simply share the same model to both the QQuickViews then | 15:39 |
Mister_Magister | and? | 15:40 |
saidinesh5 | 1 sec | 15:40 |
Mister_Magister | sure | 15:40 |
*** rweickel- <rweickel-!~rweickelt@cD68C3E56.dhcp.as2116.net> has joined #sailfishos | 15:41 | |
*** rweickelt <rweickelt!~rweickelt@cD68C3E56.dhcp.as2116.net> has quit IRC (Ping timeout: 260 seconds) | 15:42 | |
saidinesh5 | Okay.. 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 |
saidinesh5 | that way your same Chat models are shared between both ... | 15:44 |
Mister_Magister | saidinesh5: oh i think i know what you mean. I have Messenger class that is shared into qml so qml can connect with it's signals | 15:47 |
Mister_Magister | view->rootContext()->setContextProperty("Messenger",&messenger); | 15:47 |
saidinesh5 | yup. something like that should do | 15:47 |
saidinesh5 | so 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_Magister | saidinesh5: wait i'll upload my code to github maybe? that will be helpful? | 15:48 |
Mister_Magister | i was planning to do that anyway | 15:48 |
saidinesh5 | sure | 15:49 |
*** RoKenn <RoKenn!~RoKenn@2001:a61:3452:9800:f063:c7e4:96e2:d108> has joined #sailfishos | 15:49 | |
Mister_Magister | it's not like it's super protected since it's using opensource software | 15:49 |
saidinesh5 | heh sure | 15:49 |
*** Dar <Dar!~dar@s76.justhost.in.ua> has quit IRC (Remote host closed the connection) | 15:50 | |
Mister_Magister | saidinesh5: btw can you help me with connecting c to qml? by now it's in very, very ugly way | 15:53 |
Mister_Magister | https://github.com/MisterMagister/FishbookMessenger here | 15:53 |
Mister_Magister | purple 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 qml | 15:54 |
saidinesh5 | aye looking into it | 15:56 |
*** Dar <Dar!~dar@s76.justhost.in.ua> has joined #sailfishos | 15:58 | |
saidinesh5 | so Mister_Magister, basically you really need to change this code from a bunch of signals and slots calling each other to DataModels and Properties | 16:05 |
Mister_Magister | okay | 16:05 |
saidinesh5 | https://github.com/MisterMagister/FishbookMessenger/blob/master/src/messenger.hpp this doesnt have to know about DBus/QQuickView etc.. | 16:05 |
saidinesh5 | and it is better if it has Q_PROPERTY(QSTring status) that you can interact from QML | 16:06 |
saidinesh5 | Also add new methods/proprties there. one to get the list of active chats | 16:07 |
saidinesh5 | i.e ChatListModel (?) | 16:07 |
saidinesh5 | and one .. given an fbid returns a ChatModel | 16:07 |
saidinesh5 | both subclasses of QAbstractListModel | 16:08 |
saidinesh5 | ChatModel can also then keep a backlog of say 20-30 messages in a ring buffer and load more on demand | 16:08 |
Mister_Magister | saidinesh5: well new chat will open when somebody writes | 16:08 |
saidinesh5 | sure... then ChatListModel also needs to be updated.. | 16:08 |
Mister_Magister | yeah | 16:09 |
saidinesh5 | basically forget about UI for now and simply focus on these data models and properties | 16:09 |
Mister_Magister | okay | 16:09 |
saidinesh5 | then you can simply plug in multiple UIs.. be it QWidget based ones or text based ones or QML based ones.. | 16:09 |
Mister_Magister | saidinesh5: well when somebody writes for first time the conversation-created callback is called so i can get all conversations but dunno about closed chats | 16:10 |
Mister_Magister | so better open chat when somebody wries | 16:10 |
saidinesh5 | sure, you still update your ChatListModel for that .. | 16:11 |
Mister_Magister | saidinesh5: i know that code i basically shit you don't have to tell me haha :D | 16:11 |
saidinesh5 | then any repeaters/list models connected to that ChatListModel automatically update then | 16:11 |
Mister_Magister | okaaay | 16:12 |
saidinesh5 | i 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 all | 16:12 |
Mister_Magister | okay but i cannot connect c directly to qml | 16:12 |
saidinesh5 | you wont have to | 16:12 |
saidinesh5 | you will simply update your datamodels | 16:13 |
saidinesh5 | then QML reacts to the changes in the datamodels | 16:13 |
Mister_Magister | ooookkkaaayyy? | 16:13 |
*** zhxt <zhxt!~zhxt@1.180.212.88> has quit IRC (Ping timeout: 272 seconds) | 16:13 | |
saidinesh5 | so instead of relying on signals like buddyAdded() on the QML side, you expose a buddyListModel to QML and simply connect that to a ListView there | 16:14 |
Mister_Magister | oh okay | 16:15 |
saidinesh5 | that way, on a libpurple callback when buddyAdded, you update the BuddyListModel.. and QML ListView automatically responds to that change then | 16:15 |
Mister_Magister | wo when i modify content of my buddylistmodel in c++ then qml will update? | 16:15 |
saidinesh5 | yup | 16:15 |
* Mister_Magister is wondering if purple callback can accept c++ functions | 16:16 | |
Mister_Magister | probably now | 16:16 |
Mister_Magister | no* | 16:16 |
saidinesh5 | it should be able to. | 16:18 |
saidinesh5 | looking at https://github.com/MisterMagister/FishbookMessenger/blob/master/src/messenger_purple.c now.. | 16:18 |
saidinesh5 | that's where you specify callbacks right? | 16:18 |
Mister_Magister | but callback have to have purple aka c specific variables | 16:19 |
Mister_Magister | line 720 | 16:19 |
saidinesh5 | and 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 #sailfishos | 16:23 | |
saidinesh5 | basically the only change is | 16:23 |
saidinesh5 | instead of emitting the signals in main and connecting them inside QML | 16:23 |
saidinesh5 | like https://github.com/MisterMagister/FishbookMessenger/blob/master/src/messenger.cpp#L36 | 16:23 |
Mister_Magister | sorry what? | 16:24 |
saidinesh5 | this | 16:24 |
saidinesh5 | that addBuddy .. instead of just emitting a singal | 16:24 |
saidinesh5 | updates it's buddyListModel instead | 16:24 |
saidinesh5 | is what I'm saying.. | 16:24 |
Mister_Magister | you cannot use that Messenger::addBuddy as callback in C | 16:25 |
saidinesh5 | depends... is Messenger a singleton? | 16:25 |
Mister_Magister | nah | 16:25 |
Mister_Magister | connecting c and c++ is not that simple :V | 16:26 |
Mister_Magister | since c doesn | 16:26 |
Mister_Magister | 't have objects | 16:26 |
saidinesh5 | it isnt that tough but i think we are talking about different things | 16:26 |
Mister_Magister | probably | 16:26 |
saidinesh5 | what I am saying is .. for eg. your void Messenger::addBuddy(const QString &name, const QString &fbid, const QString &fba, int isChat) { this methid | 16:27 |
saidinesh5 | this method. | 16:27 |
saidinesh5 | right now all that it is doing is emitting a signal | 16:27 |
saidinesh5 | and then you're doing most of the work inside QML | 16:27 |
Mister_Magister | yeah | 16:27 |
saidinesh5 | instead of that what you could do is make that method instead upadte a QAbstractListModel called say BuddyModel.. | 16:28 |
saidinesh5 | gimme a minute. giving you a pseudo ccode | 16:28 |
Mister_Magister | okay | 16:28 |
Mister_Magister | you 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_Magister | my god no beer is left :C | 16:31 |
* Mister_Magister is wondering if we should move it to private conversation | 16:32 | |
Mister_Magister | well maybe it will be helpful to somebody | 16:32 |
saidinesh5 | more or less yes. | 16:36 |
saidinesh5 | basically make your C++ side expose QAbstractListModels and Q_PROPERTIES instead of signals and slots to the QML side is what I'm saying | 16:37 |
Mister_Magister | okay | 16:38 |
Mister_Magister | Q_PROPERTIES calls methods to get/set variable | 16:39 |
Mister_Magister | saidinesh5: btw using QAbstractListModel i'll be able to sort contacts right? | 16:41 |
saidinesh5 | sure | 16:41 |
Mister_Magister | that will be usefull | 16:41 |
saidinesh5 | yup.. give me a little more time. typing out your header | 16:42 |
Mister_Magister | sure no problem take your time it's not like the deadline is tomorrow | 16:42 |
saidinesh5 | btw. 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_Magister | probably | 16:44 |
saidinesh5 | if only i had an fb id.. this would have been fun to finish.. | 16:45 |
Mister_Magister | saidinesh5: what do you mean? | 16:46 |
saidinesh5 | i deleted my fb account in 2011 iirc... so cant test what i write myself :P | 16:46 |
Mister_Magister | okaaay | 16:47 |
*** Vojtaeus <Vojtaeus!~vojta@opensuse/member/vojtaeus> has joined #sailfishos | 16:47 | |
Mister_Magister | saidinesh5: so what i should do now? | 16:55 |
saidinesh5 | start countdown for me to post this pseudocode :p | 16:56 |
Mister_Magister | hah take your time i'll go for sandwich | 16:56 |
saidinesh5 | Mister_Magister: https://bpaste.net/show/4204bb62d48e | 16:59 |
*** pykape <pykape!~pykape@a88-115-167-112.elisa-laajakaista.fi> has quit IRC (Ping timeout: 255 seconds) | 17:00 | |
saidinesh5 | this way, inside QML .. you can do title: messengerAccount.status | 17:00 |
saidinesh5 | and it should automatically respond to the change... | 17:01 |
saidinesh5 | and this way you can even write proper Unit tests for your backend | 17:01 |
*** pykape <pykape!~pykape@a88-115-167-112.elisa-laajakaista.fi> has joined #sailfishos | 17:02 | |
Mister_Magister | saidinesh5: i see problem in line 16 | 17:03 |
saidinesh5 | hmm? | 17:03 |
Mister_Magister | you cannot just put that purple functions in c++ | 17:03 |
saidinesh5 | you can | 17:03 |
Mister_Magister | it will not compile | 17:03 |
saidinesh5 | you have to use extern C or something like that | 17:04 |
Mister_Magister | then yes | 17:04 |
saidinesh5 | so this way each of the classes: BuddyListModel, ChatListModel, ChatModel register to their own purple callbacks based on the data.. | 17:04 |
saidinesh5 | and deal with things automatically | 17:05 |
saidinesh5 | so 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 #sailfishos | 17:05 | |
Mister_Magister | i really really doubt if you an use c++methods in c | 17:06 |
saidinesh5 | and creates it's own ChatListModel and passes it the purple account(?) object/struct so it can reigster it's own callbacks for the chatlist model | 17:06 |
saidinesh5 | you can use C functions inside C++ using extern C, and that's what you're doing here | 17:06 |
Mister_Magister | but | 17:06 |
Mister_Magister | c++ method in c | 17:06 |
saidinesh5 | where? | 17:07 |
Mister_Magister | callbacks | 17:07 |
saidinesh5 | it is a static method | 17:07 |
saidinesh5 | you can use it | 17:07 |
Mister_Magister | okay | 17:07 |
saidinesh5 | actually tha tline had an error | 17:07 |
saidinesh5 | purple_signal_connect(accounts_handle, "account-status-changed", &handle, PURPLE_CALLBACK(account_status_changed), this); | 17:07 |
saidinesh5 | this line has an error | 17:07 |
saidinesh5 | it 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 #sailfishos | 17:08 | |
*** leszek <leszek!~leszek@p2003005B44205300022314FFFEAF6410.dip0.t-ipconnect.de> has quit IRC (Client Quit) | 17:08 | |
saidinesh5 | basically 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 |
saidinesh5 | and static methods directly map to C functions | 17:12 |
Mister_Magister | oookay | 17:13 |
saidinesh5 | well with a bit of name mangling | 17:14 |
saidinesh5 | https://en.wikipedia.org/wiki/Name_mangling#C.2B.2B | 17:14 |
Mister_Magister | oookaaaaayyyy | 17:19 |
*** nib <nib!~nib@109.110.95.115> has joined #sailfishos | 17:21 | |
saidinesh5 | so now you see how you can share the same data between 2 different QQuickViews right? | 17:21 |
Mister_Magister | QQuickViews? sharing data? wher? | 17:22 |
saidinesh5 | lol | 17:22 |
saidinesh5 | once you have a seaprate MessengerAccount class | 17:22 |
saidinesh5 | you 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 |
saidinesh5 | that way if the status gets updated in that MessengerAccount class, it gets reflected both in the AppletView and your main application at the same time | 17:24 |
Mister_Magister | okay | 17:24 |
saidinesh5 | which bit is unclear? | 17:24 |
Mister_Magister | no i think i understand. I doubt if it will work (that connecting c and c++ but i'll try | 17:31 |
Mister_Magister | need more sandwiches | 17: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 #sailfishos | 17: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 #sailfishos | 17:38 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos | 17: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 | |
saidinesh5 | thanks for the reminder.. need a sandwich maker.. there's a sale | 17:46 |
*** Venemo <Venemo!~venemo@fedora/Venemo> has joined #sailfishos | 17:46 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos | 17:54 | |
ol | What do you guys think about this announcement? https://android-developers.googleblog.com/2017/05/here-comes-treble-modular-base-for.html | 17:56 |
ol | Where is Linux kernel in that picture? In vendor implementation or in Android OS framework? | 17:57 |
ol | In 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 #sailfishos | 18: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 #sailfishos | 18:03 | |
*** Krikke_ <Krikke_!ixevix@ragnaros.hearthstone.fi> has joined #sailfishos | 18:04 | |
*** chem|st_ <chem|st_!~mayor@svn.unix-ag.uni-kl.de> has joined #sailfishos | 18:04 | |
*** merlin_1991 <merlin_1991!~merlin@mail.merlin1991.at> has joined #sailfishos | 18:04 | |
*** MMori_ <MMori_!~MMori@91.121.246.19> has joined #sailfishos | 18:04 | |
*** zuh_ <zuh_!zuh@humboldt.pingu.fi> has joined #sailfishos | 18:04 | |
*** zumbi_ <zumbi_!~zumbi@212.47.244.39> has joined #sailfishos | 18:04 | |
*** kelvan_ <kelvan_!~quassel@mail.merlin1991.at> has joined #sailfishos | 18:04 | |
*** aivot-on_ <aivot-on_!aivot-on@hilla.kapsi.fi> has joined #sailfishos | 18:04 | |
*** radish_ <radish_!~radish@188.164.131.220> has joined #sailfishos | 18:04 | |
*** D-Tick_ <D-Tick_!~D-Tick@athlon.zankt.net> has joined #sailfishos | 18:04 | |
*** Turski_ <Turski_!~turski@dsl-mlibrasgw2-50de08-195.dhcp.inet.fi> has joined #sailfishos | 18:05 | |
*** Jonni <Jonni!~rainisto@gateway/vpn/privateinternetaccess/jonni> has joined #sailfishos | 18: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 radish | 18:09 | |
*** flx_ is now known as flux | 18:09 | |
*** paulvt <paulvt!~paul@target.luon.net> has joined #sailfishos | 18: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 #sailfishos | 18:09 | |
*** MMori_ is now known as MMori | 18:09 | |
*** lm2 <lm2!~lm2@163.47.16.177> has joined #sailfishos | 18:10 | |
*** radish <radish!~radish@188.164.131.220> has quit IRC (Changing host) | 18:10 | |
*** radish <radish!~radish@unaffiliated/stryx/x-3871776> has joined #sailfishos | 18:10 | |
*** Firnwath <Firnwath!~firnwath@dsl-hkibrasgw3-58c15b-88.dhcp.inet.fi> has joined #sailfishos | 18:15 | |
*** iderrick <iderrick!~oschwand@chezlefab.net> has joined #sailfishos | 18:16 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has joined #sailfishos | 18:23 | |
*** hanna <hanna!~haasn@HSI-KBW-109-193-081-112.hsi7.kabel-badenwuerttemberg.de> has joined #sailfishos | 18:24 | |
*** piggz_ <piggz_!~piggz@95.147.209.146> has quit IRC (Ping timeout: 240 seconds) | 18:28 | |
*** Krikke_ is now known as Krikke | 18:41 | |
*** pseudodev <pseudodev!uid205973@gateway/web/irccloud.com/x-eaiqdphrezupfkjm> has quit IRC (Quit: Connection closed for inactivity) | 18:48 | |
r0kk3rz | ol: if its still linux, then the vendor interface will have to be higher than the kernel | 18:59 |
r0kk3rz | since goog dont really control intra kernel interfaces | 18:59 |
r0kk3rz | so id expect it to be middleware related | 19: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 #sailfishos | 19: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 #sailfishos | 19: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 #sailfishos | 19: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 #sailfishos | 19: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 #sailfishos | 19: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 #sailfishos | 21:40 | |
*** juiceme_ <juiceme_!~juice@cerebro.liukuma.net> has joined #sailfishos | 21:40 | |
*** inara` <inara`!~inara@68.ip-149-56-14.net> has joined #sailfishos | 21:40 | |
*** Mister_Magister_ <Mister_Magister_!~foidbgen@user-94-254-147-173.play-internet.pl> has joined #sailfishos | 21:41 | |
*** jtopian_ <jtopian_!~quassel@nebulosa.jtopia.org> has joined #sailfishos | 21:42 | |
*** popey_ <popey_!~alan@popey.com> has joined #sailfishos | 21: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 #sailfishos | 21:43 | |
*** LarstiQ <LarstiQ!~larstiq@cebren.richtlijn.be> has joined #sailfishos | 21:43 | |
*** salyavin1 <salyavin1!~salyavin@gokuraku.fcac.com> has joined #sailfishos | 21:43 | |
*** Lieke <Lieke!~lieke@85.17.167.217> has joined #sailfishos | 22: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 #sailfishos | 22:08 | |
RandomNoob | Hello 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 | |
RandomNoob | got solution | 23:03 |
*** RandomNoob <RandomNoob!~RandomNoo@unaffiliated/randomnoob> has left #sailfishos | 23: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 #sailfishos | 23:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!