*** flywheel has joined #sailfishos | 00:01 | |
*** M4rtinK_jolla_ has quit IRC | 00:01 | |
*** Sail0r has joined #sailfishos | 00:06 | |
*** ottulo_ has joined #sailfishos | 00:08 | |
*** phaeron has quit IRC | 00:10 | |
*** Sail0r has quit IRC | 00:11 | |
*** ottulonen has quit IRC | 00:11 | |
*** vakkov has quit IRC | 00:12 | |
*** M4rtinK has quit IRC | 00:12 | |
*** M4rtinK has joined #sailfishos | 00:13 | |
*** M4rtinK has quit IRC | 00:17 | |
*** M4rtinK has joined #sailfishos | 00:18 | |
*** phaeron has joined #sailfishos | 00:18 | |
*** M4rtinK_jolla_ has joined #sailfishos | 00:20 | |
*** M4rtinK has quit IRC | 00:23 | |
*** igordcard has quit IRC | 00:25 | |
*** M4rtinK has joined #sailfishos | 00:26 | |
*** M4rtinK_jolla_ has quit IRC | 00:28 | |
*** igordcard has joined #sailfishos | 00:33 | |
*** goroboro has quit IRC | 00:34 | |
*** olafh has quit IRC | 00:35 | |
*** zalan has quit IRC | 00:38 | |
*** zalan has joined #sailfishos | 00:38 | |
*** zalan has quit IRC | 00:43 | |
*** Funkeh` has quit IRC | 00:43 | |
*** Funkeh` has joined #sailfishos | 00:43 | |
*** M4rtinK has quit IRC | 00:46 | |
*** M4rtinK has joined #sailfishos | 00:47 | |
*** inte_awa` has joined #sailfishos | 00:48 | |
*** inte_awa` has quit IRC | 00:48 | |
*** inte_awa` has joined #sailfishos | 00:48 | |
*** M4rtinK has quit IRC | 00:50 | |
*** inte_away has quit IRC | 00:50 | |
*** vakkov has joined #sailfishos | 00:50 | |
*** qqK has quit IRC | 00:57 | |
*** servalex_d3cli has quit IRC | 01:03 | |
*** zalan has joined #sailfishos | 01:10 | |
*** Zian has joined #sailfishos | 01:18 | |
*** stephg has quit IRC | 01:18 | |
*** stephg has joined #sailfishos | 01:19 | |
*** salyavin has quit IRC | 01:29 | |
*** isgursoy_ has quit IRC | 01:34 | |
*** ionstorm has quit IRC | 01:37 | |
*** swift110_ has quit IRC | 01:39 | |
*** swift110_ has joined #sailfishos | 01:39 | |
*** swift110_ has joined #sailfishos | 01:40 | |
*** isgursoy_ has joined #sailfishos | 01:55 | |
*** isgursoy_ has quit IRC | 01:57 | |
*** obsed has quit IRC | 01:58 | |
*** Zotan has quit IRC | 01:59 | |
*** swift110_ has quit IRC | 02:00 | |
*** faenil has quit IRC | 02:01 | |
*** Behold has quit IRC | 02:16 | |
*** salyavin has joined #sailfishos | 02:32 | |
*** vakkov has quit IRC | 02:49 | |
*** ionstorm has joined #sailfishos | 03:11 | |
*** furikku has joined #sailfishos | 03:25 | |
*** Zian has quit IRC | 03:30 | |
*** flywheel has quit IRC | 03:33 | |
*** filippz has quit IRC | 03:35 | |
*** filippz has joined #sailfishos | 03:36 | |
*** ionstorm has quit IRC | 04:11 | |
*** m4g0g has joined #sailfishos | 04:13 | |
*** Kohelet has quit IRC | 04:15 | |
*** Kohelet has joined #sailfishos | 04:15 | |
*** Kohelet has quit IRC | 04:20 | |
*** Kohelet has joined #sailfishos | 04:20 | |
*** FlashAsparagus has quit IRC | 04:22 | |
*** salyavin has quit IRC | 04:50 | |
*** salyavin has joined #sailfishos | 04:51 | |
*** m4g0g has quit IRC | 05:03 | |
*** martyone has joined #sailfishos | 05:17 | |
*** mcuros has quit IRC | 05:22 | |
*** cloanta has joined #sailfishos | 05:23 | |
*** Pat_o has joined #sailfishos | 05:31 | |
*** mcuros has joined #sailfishos | 05:31 | |
*** FlashAsparagus has joined #sailfishos | 05:33 | |
*** FlashAsparagus has quit IRC | 05:38 | |
*** salyavin has quit IRC | 05:38 | |
*** cloanta has quit IRC | 05:39 | |
*** salyavin has joined #sailfishos | 05:40 | |
*** m4g0g has joined #sailfishos | 05:54 | |
*** ecloud is now known as ecloud_wfh | 05:55 | |
*** olafh has joined #sailfishos | 06:00 | |
*** SeekingFor has quit IRC | 06:11 | |
*** SeekingFor has joined #sailfishos | 06:20 | |
*** spiiroin has quit IRC | 06:29 | |
*** piggz has joined #sailfishos | 06:31 | |
*** piggz has quit IRC | 06:35 | |
*** spiiroin has joined #sailfishos | 06:47 | |
*** Sail0r has joined #sailfishos | 06:48 | |
*** Nc_ has joined #sailfishos | 06:49 | |
*** Nerfiaux has joined #sailfishos | 06:55 | |
*** Sailor11736_ has joined #sailfishos | 07:00 | |
*** Sailor9756_ has joined #sailfishos | 07:01 | |
*** Nerfiaux_ has joined #sailfishos | 07:03 | |
*** Nerfiaux has quit IRC | 07:04 | |
*** Sailor9756_ has quit IRC | 07:05 | |
*** Morpog_PC__ has quit IRC | 07:07 | |
*** Jef91 has joined #sailfishos | 07:09 | |
*** plfiorini has quit IRC | 07:13 | |
*** radekp has joined #sailfishos | 07:18 | |
*** Jef91 has quit IRC | 07:22 | |
*** filippz has quit IRC | 07:25 | |
*** Sailor9756_ has joined #sailfishos | 07:25 | |
*** Nerfiaux_ has quit IRC | 07:27 | |
*** cxl000 has joined #sailfishos | 07:27 | |
*** goroboro has joined #sailfishos | 07:31 | |
*** Sailor9756_ has quit IRC | 07:31 | |
*** Nc_ has quit IRC | 07:34 | |
*** mcuros_ has joined #sailfishos | 07:34 | |
*** Sailor9756_ has joined #sailfishos | 07:36 | |
*** Nc_ has joined #sailfishos | 07:37 | |
*** mcuros has quit IRC | 07:37 | |
*** Andy80 has joined #sailfishos | 07:39 | |
*** Nerfiaux has joined #sailfishos | 07:40 | |
*** xth has quit IRC | 07:41 | |
*** Sailor9756_ has quit IRC | 07:42 | |
*** Sailor9756_ has joined #sailfishos | 07:44 | |
*** Andy80 has quit IRC | 07:44 | |
*** Nerfiaux has quit IRC | 07:44 | |
*** ortylp has joined #sailfishos | 07:44 | |
*** xth has joined #sailfishos | 07:47 | |
*** Nerfiaux has joined #sailfishos | 07:49 | |
*** Sailor9756_ has quit IRC | 07:51 | |
*** ottulo_ has quit IRC | 07:57 | |
*** ottulo has joined #sailfishos | 07:58 | |
*** gabriel9|work has joined #sailfishos | 07:59 | |
*** K4-t has left #sailfishos | 07:59 | |
*** kanishka has joined #sailfishos | 08:01 | |
*** TMavica has joined #sailfishos | 08:03 | |
*** jjanvier has joined #sailfishos | 08:03 | |
*** zen|merge has joined #sailfishos | 08:13 | |
*** zen|merge has quit IRC | 08:13 | |
*** zen|merge has joined #sailfishos | 08:13 | |
*** Sailor9756_ has joined #sailfishos | 08:17 | |
*** Sailor11736_ has quit IRC | 08:18 | |
*** Nerfiaux has quit IRC | 08:20 | |
pvuorela | sandsmark: saidinesh5, awesome :) | 08:20 |
---|---|---|
saidinesh5 | :) | 08:20 |
*** ottulo has quit IRC | 08:23 | |
ilpianista | sandsmark: you here too! :-) | 08:23 |
*** ottulo has joined #sailfishos | 08:23 | |
*** carepack has joined #sailfishos | 08:29 | |
*** filippz has joined #sailfishos | 08:30 | |
*** ortylp_ has joined #sailfishos | 08:31 | |
*** lainwir3d has joined #sailfishos | 08:31 | |
*** lainwir3d has quit IRC | 08:31 | |
*** lainwir3d has joined #sailfishos | 08:31 | |
*** ortylp has quit IRC | 08:32 | |
*** VDVsx_ is now known as VDVsx | 08:33 | |
pvuorela | saidinesh5: curious where do you get the word candidates from? | 08:34 |
saidinesh5 | pvuorela: android's latin IME | 08:34 |
pvuorela | hmh? :D | 08:34 |
saidinesh5 | https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/master/dictionaries/ | 08:35 |
stephg | hey guys | 08:39 |
saidinesh5 | i had to convert these dictionaries a little though | 08:39 |
Stskeeps | interesting that those are openly licensed | 08:40 |
saidinesh5 | Stskeeps: these aren't the ones used by android's swipe keyboard afaik | 08:40 |
Stskeeps | ah | 08:40 |
saidinesh5 | also there are a lot of sources for decent word-frequency lists | 08:41 |
Stskeeps | yeah, but appropiately licensed is sometimes difficult | 08:41 |
saidinesh5 | heh nah they are all in public domain.. i mean its just running a script through a lot of text and counting the words.. | 08:42 |
saidinesh5 | google theselves releases huuuuuge ones http://googleresearch.blogspot.in/2006/08/all-our-n-gram-are-belong-to-you.html | 08:42 |
*** Nc_ has quit IRC | 08:44 | |
*** Mivalpuff has joined #sailfishos | 08:45 | |
*** FlashAsparagus has joined #sailfishos | 08:48 | |
*** FlashAsparagus has quit IRC | 08:51 | |
*** ortylp has joined #sailfishos | 08:51 | |
*** FlashAsparagus has joined #sailfishos | 08:51 | |
*** FlashAsparagus has quit IRC | 08:53 | |
*** ortylp_ has quit IRC | 08:53 | |
*** Toxip has quit IRC | 08:53 | |
*** FlashAsparagus has joined #sailfishos | 08:53 | |
*** Toxip has joined #sailfishos | 08:54 | |
*** gexc has joined #sailfishos | 08:59 | |
*** Mivalpuff has quit IRC | 08:59 | |
*** tomyri_ is now known as tomyri | 09:00 | |
*** jmlich has joined #sailfishos | 09:00 | |
*** arcean has joined #sailfishos | 09:01 | |
ulvus | morning | 09:02 |
*** nbg23 has quit IRC | 09:04 | |
*** Nc_ has joined #sailfishos | 09:04 | |
*** gogeta has joined #sailfishos | 09:04 | |
*** nbg23 has joined #sailfishos | 09:05 | |
*** SeekingFor has quit IRC | 09:09 | |
*** zGrr has joined #sailfishos | 09:09 | |
*** ortylp_ has joined #sailfishos | 09:10 | |
*** kunev has joined #sailfishos | 09:11 | |
*** SeekingFor has joined #sailfishos | 09:11 | |
zGrr | moin :) | 09:12 |
*** nomeata has joined #sailfishos | 09:13 | |
*** ortylp has quit IRC | 09:14 | |
*** tat has quit IRC | 09:16 | |
*** qqK has joined #sailfishos | 09:17 | |
ulvus | hi | 09:17 |
*** michele_ has joined #sailfishos | 09:18 | |
*** michele_ is now known as netvandal | 09:18 | |
*** gogeta has quit IRC | 09:21 | |
*** netvandal is now known as mtameni | 09:22 | |
*** mtameni is now known as netvandal | 09:22 | |
*** netvandal is now known as mtameni | 09:23 | |
*** gogeta has joined #sailfishos | 09:24 | |
*** ottulonen has joined #sailfishos | 09:32 | |
*** ottulo has quit IRC | 09:33 | |
*** Lehning has quit IRC | 09:34 | |
*** gexc has quit IRC | 09:34 | |
*** Lehning has joined #sailfishos | 09:34 | |
*** gexc has joined #sailfishos | 09:34 | |
*** daitheflu has joined #sailfishos | 09:36 | |
*** leinir has quit IRC | 09:37 | |
*** ottulonen has quit IRC | 09:37 | |
*** mtameni is now known as netvandal | 09:40 | |
*** gogeta has quit IRC | 09:42 | |
*** ottulo has joined #sailfishos | 09:42 | |
*** twixx has joined #sailfishos | 09:45 | |
*** wickwire has joined #sailfishos | 09:49 | |
*** tat has joined #sailfishos | 09:53 | |
*** ottulo has quit IRC | 09:54 | |
*** gogeta has joined #sailfishos | 09:58 | |
*** aboyer has joined #sailfishos | 10:07 | |
*** Lipevakala_ has quit IRC | 10:07 | |
* Nc_ murders everyone who worked on QML | 10:10 | |
SK_work | Nc_: why ? | 10:11 |
SK_work | :D | 10:11 |
SK_work | be nice to QML and it will be nice to you | 10:11 |
Nc_ | Am trying to write an extension, and failing miserably :) | 10:11 |
SK_work | Nc_: show me the code | 10:12 |
Nc_ | uhm.... there's a LOT of it, so'eh .... | 10:13 |
SK_work | Nc_: no github ? | 10:13 |
Nc_ | I actually think I might have the extension done fairly right, but importing it is killing me | 10:13 |
Nc_ | no github ... still not decided final approach, so keeping things a bit low at the moment | 10:14 |
SK_work | Nc_: what's the problem ? | 10:14 |
Nc_ | well, bit backwards, but .. | 10:14 |
SK_work | Nc_: basis of QML plugin https://github.com/nemomobile/nemo-qml-plugin-notifications/tree/master/src/plugin | 10:14 |
Nc_ | Will try looking through that - brb :) | 10:15 |
ilpianista | nazanin: hi, it seems my app isn't still approved/rejected? I submitted it 11 days ago | 10:16 |
Nc_ | SK_work, Just to clarify, I've written a C++/QT shared-lib, which I'm trying to turn into a QML Extension, and then use in QML - not sure is sane approach, but... | 10:17 |
*** sverzegnassi has joined #sailfishos | 10:22 | |
*** Finlod has joined #sailfishos | 10:24 | |
*** King_DuckZ has left #sailfishos | 10:25 | |
*** inte_awa` is now known as inte | 10:26 | |
*** daitheflu has quit IRC | 10:27 | |
*** obsed has joined #sailfishos | 10:28 | |
*** netvandal has quit IRC | 10:30 | |
*** daitheflu has joined #sailfishos | 10:30 | |
*** mkollaro has joined #sailfishos | 10:32 | |
*** TMavica has quit IRC | 10:34 | |
nazanin | ilpianista: can you tell me the name of your app? | 10:36 |
*** jjanvier has quit IRC | 10:37 | |
ilpianista | Papocchio <3 | 10:38 |
nazanin | ilpianista: haven't you been contacted about this app staying in the queue? | 10:38 |
nazanin | ilpianista: as far as I see there is an email sent to you about it. Please check and let me know if you haven't received it | 10:40 |
ilpianista | nazanin: on Dec 4th? If so I got it | 10:41 |
nazanin | ilpianista: there seems to be some issues with the app on update 8. if you do not wish to fix them for update 8, it needs to stay in the queue a bit longer for the multiversion support in Store | 10:45 |
ilpianista | nazanin: multiversion support is not active yet? | 10:46 |
nazanin | ilpianista: not until update 10: https://together.jolla.com/question/68125/official-announcement-current-status-of-update10/ | 10:47 |
ilpianista | aaah I thought it was...ok I'll wait then! | 10:47 |
*** jjanvier has joined #sailfishos | 10:47 | |
nazanin | ilpianista: :) | 10:47 |
*** Blizzz has joined #sailfishos | 10:50 | |
SK_work | Nc_: not totally | 10:54 |
SK_work | BTW, why don't you write a plugin that dynamically links to this shared lib ? | 10:54 |
Nc_ | Oh, is what I (think I) did | 10:54 |
SK_work | Nc_: and what's the problem atm ? | 10:55 |
Nc_ | basically set up 3 projects: 1 shared lib, 1 QML extension using the lib, 1 QML app using the extension | 10:55 |
Nc_ | the QML app loading the extension is failing me | 10:55 |
Nc_ | "module "IoTQuick" is not installed" <-- but I've set the import path etc :( | 10:55 |
SK_work | check the path | 10:59 |
SK_work | where did you installed IoTQuick thing ? | 10:59 |
SK_work | Nc_: zip me your project and send me to my mail | 11:00 |
Nc_ | uhm, 'k - but fair warning: for now I'm simply trying to get it to work on desktop. There is no SailfishOS/Jolla bits made yet | 11:01 |
SK_work | Nc_: which OS ? | 11:01 |
Nc_ | OSX | 11:01 |
SK_work | hum | 11:02 |
SK_work | one sec | 11:02 |
*** meetingcpp has joined #sailfishos | 11:02 | |
SK_work | for ease of dev, why don't you static link everything , | 11:02 |
SK_work | ? | 11:02 |
SK_work | as you need to install the QML module in some specific place | 11:02 |
SK_work | it's painful | 11:02 |
Nc_ | I've been thinking about static linking everything - would probably make things easier :) | 11:03 |
SK_work | much much more | 11:03 |
*** vakkov has joined #sailfishos | 11:03 | |
Nc_ | brb - bad pain ... | 11:04 |
*** qqK has quit IRC | 11:09 | |
*** Zippi has quit IRC | 11:09 | |
*** raa700 has quit IRC | 11:09 | |
*** mikkoh has quit IRC | 11:09 | |
*** Snurppa has quit IRC | 11:09 | |
*** gexc has quit IRC | 11:09 | |
*** matrixx has quit IRC | 11:09 | |
*** aivot-on has quit IRC | 11:10 | |
*** timoph has quit IRC | 11:10 | |
*** sikakraa has quit IRC | 11:10 | |
*** gexc has joined #sailfishos | 11:11 | |
*** matrixx has joined #sailfishos | 11:11 | |
*** sikakraa has joined #sailfishos | 11:11 | |
*** aivot-on has joined #sailfishos | 11:11 | |
*** Snurppa has joined #sailfishos | 11:11 | |
*** Zippi has joined #sailfishos | 11:11 | |
*** raa700 has joined #sailfishos | 11:11 | |
*** timoph has joined #sailfishos | 11:11 | |
*** mikkoh has joined #sailfishos | 11:11 | |
*** lainwir3d has quit IRC | 11:11 | |
*** Dr_Cain has quit IRC | 11:17 | |
*** Dr_Cain has joined #sailfishos | 11:17 | |
*** ortylp_ has quit IRC | 11:27 | |
*** gexc has quit IRC | 11:28 | |
*** gexc has joined #sailfishos | 11:28 | |
VDVsx | is there some efforts going on for Telegram native app ? | 11:30 |
*** ortylp_ has joined #sailfishos | 11:31 | |
*** ortylp has joined #sailfishos | 11:32 | |
*** gexc has quit IRC | 11:32 | |
*** gogeta has quit IRC | 11:33 | |
TemeV | VDVsx: I have done some efforts for that, but I just don't have enough time :) | 11:33 |
VDVsx | TemeV, is there some backend already in c++ or something that can be reused ? | 11:34 |
TemeV | I'm using this https://launchpad.net/libqtelegram | 11:35 |
*** ottulo has joined #sailfishos | 11:35 | |
*** gexc has joined #sailfishos | 11:35 | |
TemeV | I tested that as a proof of consept and it seems to be working | 11:35 |
TemeV | I could read the conversations I have and receive notifications | 11:35 |
SK_work | TemeV: awesome | 11:36 |
SK_work | any repo ? | 11:36 |
TemeV | Not yet | 11:36 |
*** mkollaro has quit IRC | 11:36 | |
*** ortylp_ has quit IRC | 11:36 | |
TemeV | not public anyway | 11:36 |
SK_work | :( | 11:36 |
TemeV | it was really just poc, I don't want to show that code to anyone | 11:37 |
TemeV | too ugly :) | 11:37 |
TemeV | Now I have to learn some dbus magic etc, to get daemon and ui working | 11:37 |
*** tanty_off is now known as tanty | 11:38 | |
ulvus | hi ppl | 11:38 |
SK_work | TemeV: I'm quite interested by a telegram client actually, so I could help making the code looks better :) | 11:41 |
SK_work | morning ulvus | 11:41 |
TemeV | :) | 11:43 |
ulvus | hi SK_work | 11:43 |
TemeV | SK_work: I'll publish the repo somewhere when I get the Connection, Daemon-GUI interaction and Notifications to work at some level | 11:44 |
TemeV | which is actually not too far away | 11:44 |
SK_work | :) | 11:44 |
SK_work | what do you use as daemon ? | 11:44 |
VDVsx | that would be quite awesome, Telegram seems to be growing a lot, and they are so far friendly (not like stupid whatsup :P) | 11:44 |
SK_work | linking to libqtelegram ? | 11:44 |
*** gexc has quit IRC | 11:45 | |
SK_work | getting rid of whatsapp yeah | 11:45 |
*** gexc has joined #sailfishos | 11:45 | |
TemeV | wrapper around libqtelegram to communicate with dbus | 11:45 |
*** gexc has quit IRC | 11:45 | |
chem|st | telepathy? | 11:45 |
TemeV | chem|st: maybe in the future | 11:46 |
TemeV | telepathy on jolla doesn't support group chats afaik | 11:46 |
VDVsx | TemeV, SK_work when code is published ping me as well, probably don't have time to help much, but can have a look at least/test | 11:46 |
chem|st | 5 years of unified msging on my mobilephone makes me not consider installing "apps" for msging ever | 11:47 |
SK_work | chem|st: +1 | 11:47 |
SK_work | but you need to use what you friends use | 11:47 |
TemeV | yeah | 11:47 |
*** Nerfiaux has joined #sailfishos | 11:48 | |
TemeV | But I think private chats could be integrated to telepathy and the app would be for group chats | 11:48 |
*** gexc has joined #sailfishos | 11:48 | |
chem|st | SK_work: I do not have friends when it comes to msging! any person asking me to get whatsapp can go die in the woods! | 11:48 |
SK_work | lol | 11:48 |
SK_work | what abotu FB ? | 11:48 |
*** till- has quit IRC | 11:48 | |
chem|st | I have FB but the account on the phone is limited to upload pictures "only" | 11:49 |
*** till- has joined #sailfishos | 11:49 | |
chem|st | I don't want it to ping FB every time I go online | 11:49 |
*** Sailor9756_ has quit IRC | 11:50 | |
SK_work | chem|st: at the end I'm actually not using FB anymore | 11:50 |
SK_work | but I use twitter a lot | 11:50 |
SK_work | hum | 11:50 |
chem|st | what I need and I think the world needs is having msging like email, where you can chose your provider or even be your own + OTR + PGP and that is xmpp | 11:50 |
chem|st | I do not have commercial feeds on my phone | 11:51 |
chem|st | if you want to caht with all of your friends, you need to have 4+ msging apps/accounts installed by now, help telepathy to get groupchat, filetransfer and what else and we are good to go for most other things | 11:53 |
*** gexc has quit IRC | 11:53 | |
chem|st | OTR can be implemented on account/protocol base for now.. | 11:54 |
*** gexc has joined #sailfishos | 11:54 | |
*** Nokius1 has joined #sailfishos | 11:58 | |
*** gexc has quit IRC | 11:58 | |
*** gexc has joined #sailfishos | 11:59 | |
*** Nokius has quit IRC | 11:59 | |
*** mhlavink_afk has quit IRC | 12:00 | |
*** mhlavink_afk has joined #sailfishos | 12:02 | |
*** rbn has joined #sailfishos | 12:07 | |
*** ortylp has quit IRC | 12:11 | |
vakkov | i ported an app to Qt5 and built it with my sailfish target in sb2 | 12:13 |
inte | great, thank you | 12:13 |
inte | :) | 12:14 |
*** meetingcpp has quit IRC | 12:15 | |
vakkov | when it is started on the phne it says platform xcb not found; when i add -platform wayland it says Failed to create display (No such file or directory); i built it with the qt creator and now it at least starts with the default platform as wayland but still gives Failed to create display (No such file or directory) | 12:15 |
vakkov | inte: omg ... | 12:15 |
pp_ | hmn, wayland socket not set? | 12:16 |
coderus | vakkov: launch with invoker | 12:16 |
coderus | qtc start lack of environment variables | 12:17 |
*** ottulo has quit IRC | 12:17 | |
vakkov | coderus: omg, my bad i was startng it from root ;D su nemo and it works ! | 12:20 |
vakkov | it just said This plugin does not support propagateSizeHints() but seems to be working | 12:20 |
*** ottulo has joined #sailfishos | 12:20 | |
*** TheBootroo|work has quit IRC | 12:32 | |
*** zGrr has quit IRC | 12:34 | |
Armadillo | nazanin hey, may I disturb you with a question regarding TaskList QA? :) | 12:42 |
nazanin | Armadillo: sure :) | 12:42 |
sandsmark | ilpianista: I am everywhere <3 | 12:43 |
Armadillo | nazanin it is now locked in QA for over 6 days, can you have a look what the current situation is? the update brings a new language and I already have updates regarding this language | 12:44 |
Armadillo | but as it is locked I can't push new updates :-/ | 12:45 |
nazanin | Armadillo: ah, lemme check | 12:45 |
Armadillo | :) | 12:45 |
Armadillo | maybe I exhausted my update quote and now I'm throttled :D | 12:46 |
Armadillo | *quota | 12:46 |
*** zhxt has joined #sailfishos | 12:47 | |
nazanin | Armadillo: it sure is not that :D asked our Store guys to take a look, will let you know about the results | 12:50 |
Armadillo | nazanin thank you very much :) | 12:51 |
*** ottulonen has joined #sailfishos | 12:51 | |
*** ottulo has quit IRC | 12:54 | |
*** beidl_ has joined #sailfishos | 12:55 | |
*** beidl has quit IRC | 12:58 | |
*** zGrr has joined #sailfishos | 13:02 | |
*** SL89 has joined #sailfishos | 13:03 | |
*** SL89 has joined #sailfishos | 13:03 | |
*** mhlavink_afk has quit IRC | 13:04 | |
*** Sequenced has joined #sailfishos | 13:10 | |
*** Mivalpuff has joined #sailfishos | 13:13 | |
*** Sequenced_ has quit IRC | 13:13 | |
*** anandrkris has joined #sailfishos | 13:14 | |
*** mhlavink has joined #sailfishos | 13:15 | |
*** Behold has joined #sailfishos | 13:16 | |
*** Sequenced has quit IRC | 13:16 | |
*** mcuros_ has quit IRC | 13:17 | |
*** Nokius has joined #sailfishos | 13:18 | |
*** mcuros_ has joined #sailfishos | 13:19 | |
*** Finlod_ has joined #sailfishos | 13:19 | |
*** Nokius1 has quit IRC | 13:19 | |
*** jmlich has quit IRC | 13:19 | |
*** Finlod has quit IRC | 13:21 | |
*** R-Z has joined #sailfishos | 13:27 | |
*** gexc has quit IRC | 13:33 | |
*** gexc has joined #sailfishos | 13:33 | |
*** ottulo has joined #sailfishos | 13:33 | |
*** mkollaro has joined #sailfishos | 13:35 | |
*** ottulonen has quit IRC | 13:35 | |
*** rbn has quit IRC | 13:36 | |
m4g0g | hi | 13:38 |
Armadillo | hi | 13:38 |
m4g0g | http://codepad.org/OWTdwSRY | 13:38 |
m4g0g | I have this text with tags to display in Text element. But id displayed not as in paste. For example, first 5 lines showed as one line but in italic mode | 13:39 |
nazanin | Armadillo: check again | 13:40 |
*** Nc_ has quit IRC | 13:42 | |
Armadillo | nazanin thanks, it's approved! :D | 13:42 |
nazanin | Armadillo: great ;) | 13:42 |
* Armadillo prepeares the next release | 13:42 | |
Armadillo | :P | 13:42 |
*** Sequenced has joined #sailfishos | 13:42 | |
*** meetingcpp has joined #sailfishos | 13:43 | |
*** louisdk has joined #sailfishos | 13:43 | |
*** xth has quit IRC | 13:46 | |
m4g0g | of what? | 13:48 |
Armadillo | tasklist | 13:50 |
*** mcuros has joined #sailfishos | 13:52 | |
*** lukedirtwalker has joined #sailfishos | 13:53 | |
*** Shinryuu has joined #sailfishos | 13:53 | |
*** xth has joined #sailfishos | 13:54 | |
*** mcuros_ has quit IRC | 13:55 | |
*** xerpi has joined #sailfishos | 13:56 | |
m4g0g | mm | 13:59 |
m4g0g | There are many tasklists... | 13:59 |
m4g0g | any ideas about my question? I tried to use TextArea, but it can't interpret html tags | 14:00 |
Nicd- | m4g0g: but the first 5 lines are supposed to be one line | 14:02 |
Nicd- | if it is parsed as HTML | 14:02 |
Nicd- | they should have <br> if you want linebreaks | 14:02 |
m4g0g | hm. One moment | 14:03 |
m4g0g | Nicd-: but why plain text interpret it as necessary, but with tags and why android app shows this text as necessary? May be I need to replace \n with <br>? | 14:06 |
m4g0g | br tag? | 14:06 |
*** xth has quit IRC | 14:06 | |
*** Sailor10120 has joined #sailfishos | 14:07 | |
Sailor10120 | hi | 14:08 |
*** sverzegnassi has quit IRC | 14:08 | |
Sailor10120 | is there a way to pin apps to the top? e.g. a search app | 14:08 |
*** Sailor10120 is now known as hasdf | 14:09 | |
SK_work | pin app on top ? | 14:09 |
SK_work | what do you mean ? | 14:09 |
SK_work | not in the app switcher | 14:09 |
Nicd- | m4g0g: yes, you need to replace \n with <br> | 14:09 |
Nicd- | I don't know how android does this | 14:09 |
hasdf | @SK_work the app switcher is the thibg direcly under my lockscreen? thats what i meant | 14:10 |
hasdf | *thing | 14:10 |
*** hasdf has quit IRC | 14:11 | |
*** RavenholmDX is now known as Raven67855 | 14:11 | |
*** phaeron has quit IRC | 14:12 | |
*** Raven67855 is now known as RavenholmDX | 14:12 | |
*** hasdf has joined #sailfishos | 14:13 | |
SK_work | hasdf: no you cannot pin | 14:15 |
hasdf | ok. is there a way to open apps with gestures? | 14:16 |
Armadillo | no | 14:16 |
*** RavenholmDX is now known as TheRavenholmDX | 14:16 | |
*** TheRavenholmDX is now known as RavenholmDX | 14:17 | |
meklu | m4g0g: <style>* { white-space: pre-wrap; }</style> | 14:17 |
meklu | you might want to add that | 14:17 |
meklu | (if this is rich text, not 100% sure it's supported though...) | 14:18 |
*** Shinryuu has quit IRC | 14:18 | |
meklu | the \n -> <br/> thing would work too | 14:18 |
Nicd- | hasdf: there's an app called quickbar in the store, maybe it does something like what you want | 14:18 |
Nicd- | hasdf: you can move apps to the quick launch row (the four apps in home screen under the open apps) by press-hold-dragging apps around | 14:19 |
*** hasdf_ has joined #sailfishos | 14:21 | |
*** rbn has joined #sailfishos | 14:21 | |
hasdf_ | what I would like is a search feature like on iOS (gesture opens search vor apps, media, etc) | 14:23 |
*** Umeaboy has joined #sailfishos | 14:23 | |
Nicd- | well, would need a gesture (doable with lipstick patches) and a search app (currently there is none) | 14:24 |
hasdf_ | Quick launcher does search for Apps | 14:25 |
hasdf_ | could you link me some information for lipstick patches or does that mean I have to write my own patch for sailfishos? | 14:26 |
m4g0g | Nicd-: Great/ . I repalced and it helped | 14:27 |
SK_work | hasdf_: depends on what you want to add | 14:27 |
*** Nc_ has joined #sailfishos | 14:27 | |
SK_work | you want to add a global search | 14:27 |
SK_work | that's not easy | 14:27 |
SK_work | so you need to first do a sort of app that allows doing this | 14:27 |
hasdf_ | I want to add a gesture to open an app | 14:28 |
SK_work | (maybe some C++ / JS module) | 14:28 |
SK_work | hasdf_: which gesture ? | 14:28 |
SK_work | gesture recognition isn't nice either | 14:28 |
hasdf_ | first thing that comes to my mind: top down (which I can toggle in the settings to close apps and lock my phone) | 14:30 |
*** igordcard has joined #sailfishos | 14:31 | |
SK_work | ok | 14:31 |
SK_work | hum | 14:31 |
hasdf_ | something like a circle gesture would be too much effort I think | 14:32 |
Armadillo | maybe a long press could bring up a focused search field in addition to the kill option for the open apps | 14:33 |
Nicd- | that's unintuitive | 14:34 |
hasdf_ | also a good idea | 14:34 |
*** filippz has quit IRC | 14:34 | |
*** goroboro has quit IRC | 14:35 | |
*** hasdf has quit IRC | 14:35 | |
*** hasdf_ is now known as hasdf | 14:35 | |
*** goroboro has joined #sailfishos | 14:35 | |
*** SK_work has quit IRC | 14:35 | |
Armadillo | swiping from the outer screen in on the launcher pages could show a search page | 14:36 |
*** aboyer has quit IRC | 14:37 | |
*** aboyer has joined #sailfishos | 14:37 | |
chem|st | Armadillo: how about pull from inside? | 14:37 |
chem|st | outside is partnerscreen | 14:38 |
Armadillo | oh ok | 14:38 |
chem|st | or just on the favourites in home-screen | 14:38 |
*** zalan has quit IRC | 14:38 | |
Armadillo | that sounds good to me | 14:39 |
chem|st | Armadillo: https://together.jolla.com/question/70500/ft-request-pull-favourites-bar-for-search/ | 14:43 |
Armadillo | voted :D | 14:44 |
chem|st | lbt: nice read, thanks (how are you doing thread) | 14:49 |
lbt | np | 14:49 |
hasdf | thank you! | 14:52 |
*** SK_work has joined #sailfishos | 14:53 | |
*** proyvind has quit IRC | 14:54 | |
*** keithzg has quit IRC | 14:54 | |
*** Nc_ has quit IRC | 14:55 | |
*** Nc_ has joined #sailfishos | 14:55 | |
Nc_ | ...so much for thinking it was safe to run qmlscene | 14:57 |
anandrkris | chem|st: do we already have favourites in home-screen? | 14:57 |
Armadillo | the bar at the bottom | 14:58 |
anandrkris | oh..ok..go it | 14:59 |
anandrkris | favorite items are fixed by Jolla though ;-) | 15:00 |
Armadillo | the 4 icons? | 15:01 |
anandrkris | Armadillo: chem|st - seems the partner screen is invoked from home screen... And not from launcher page? | 15:01 |
Armadillo | home screen invokes ambiences | 15:02 |
*** m4g0g has quit IRC | 15:03 | |
anandrkris | let me see the video again | 15:03 |
*** phaeron has joined #sailfishos | 15:03 | |
*** zalan has joined #sailfishos | 15:06 | |
anandrkris | Armadillo: checked...in the video at least it is invoked from home screen...maybe got changed to ambiance switcher | 15:11 |
Armadillo | well I don't know if there currently is any partner using this screen | 15:12 |
*** mcuros_ has joined #sailfishos | 15:13 | |
*** mcuros has quit IRC | 15:15 | |
anandrkris | hmm | 15:15 |
*** zGrr has quit IRC | 15:20 | |
*** proyvind has joined #sailfishos | 15:22 | |
*** anandrkris has quit IRC | 15:25 | |
SK_work | partnerspace ? | 15:26 |
SK_work | https://github.com/sailfishos-patches/partnerspacemanager | 15:26 |
flux | there's an app search app in the store, btw | 15:29 |
flux | I have that in my bottom row | 15:29 |
*** gexc has quit IRC | 15:29 | |
flux | it doesn't search from app descriptions, though, so it's not very useful for 'searching' but rather 'recalling' | 15:29 |
*** ottulo has quit IRC | 15:37 | |
Armadillo | SK_work interesting, thanks | 15:39 |
Armadillo | so launcher gestures would be available | 15:39 |
SK_work | the partnerspace gesture only | 15:40 |
*** Mivalpuff has quit IRC | 15:41 | |
Armadillo | the partnerspace is located on the home screen, is it? | 15:43 |
Armadillo | so there are currently no gestures in use at the app launcher screen | 15:43 |
TemeV | isn't there a way in QtCreator to autogenerate getters and setters? | 15:44 |
TemeV | I'm sure i saw it there | 15:44 |
flux | there's this one great app for N9 called 'my moves', btw, though its gesture detection could be better | 15:44 |
flux | it'd be nice to see something like that for Jolla, though it would probably involve extending the wayland protocol to support such functionality (alternatively: implement the whole stuff in the compositor) | 15:45 |
flux | or maybe not, if one would just read /dev/input directly.. (the app used multi-finger gestured) | 15:46 |
SK_work | Armadillo: left "ambience drawer" | 15:48 |
SK_work | TemeV: right click on Q_PROPERTY > refactor | 15:48 |
TemeV | SK_work: thanks | 15:51 |
*** martyone has quit IRC | 15:51 | |
*** kontio has quit IRC | 15:51 | |
SK_work | it is not available in the "core" protocol though | 15:51 |
SK_work | flux: it can be easily handled via homescreen patches | 15:51 |
Nc_ | SK_work, per earlier: yeah, a lot simpler with static linking :/ ... at least now I can get the QML code to see the objects | 15:52 |
*** tat has quit IRC | 15:52 | |
*** kontio has joined #sailfishos | 15:53 | |
*** kontio has quit IRC | 15:53 | |
*** kontio has joined #sailfishos | 15:53 | |
*** gexc has joined #sailfishos | 15:55 | |
*** SK_work has quit IRC | 15:55 | |
*** Sail0r has quit IRC | 15:56 | |
*** gexc has quit IRC | 15:56 | |
*** SK_work has joined #sailfishos | 15:57 | |
flux | sk_work, but those gestures worked everywhere, regardless which app you were running? | 15:58 |
SK_work | flux: where ? with my moves ? | 15:58 |
flux | yes | 15:58 |
SK_work | haha, the multitouch laucher thingie | 15:58 |
SK_work | hum | 15:58 |
SK_work | yeah, true | 15:58 |
SK_work | don't know how it worked | 15:58 |
SK_work | won't be nice to implement I guess | 15:58 |
*** carepack has left #sailfishos | 16:00 | |
*** carepack has quit IRC | 16:01 | |
*** gabriel9|work has quit IRC | 16:04 | |
*** servalex_d3cli has joined #sailfishos | 16:04 | |
*** beidl_ is now known as beidl | 16:04 | |
*** mhlavink has quit IRC | 16:05 | |
*** Sailor11736_ has joined #sailfishos | 16:06 | |
*** vakkov has quit IRC | 16:06 | |
*** mhlavink_afk has joined #sailfishos | 16:08 | |
*** Umeaboy has quit IRC | 16:08 | |
*** leinir has joined #sailfishos | 16:12 | |
*** vakkov has joined #sailfishos | 16:13 | |
*** flash1 has joined #sailfishos | 16:15 | |
*** flash1 has quit IRC | 16:20 | |
*** FlashAsparagus has quit IRC | 16:25 | |
*** Venemo_j has joined #sailfishos | 16:33 | |
*** rbn has quit IRC | 16:36 | |
*** FlashAsparagus has joined #sailfishos | 16:36 | |
*** mcuros_ has quit IRC | 16:38 | |
*** javispedro has joined #sailfishos | 16:39 | |
*** Mivalpuff has joined #sailfishos | 16:40 | |
*** Jef91 has joined #sailfishos | 16:41 | |
*** mcuros_ has joined #sailfishos | 16:41 | |
*** meetingcpp2 has joined #sailfishos | 16:45 | |
*** meetingcpp2 has quit IRC | 16:46 | |
*** meetingcpp2 has joined #sailfishos | 16:46 | |
*** meetingcpp2 has quit IRC | 16:46 | |
*** meetingcpp has quit IRC | 16:47 | |
*** Nightmare__ has joined #sailfishos | 16:47 | |
*** kunev has quit IRC | 16:53 | |
*** Sailor11736_ has quit IRC | 16:55 | |
*** lukedirtwalker has quit IRC | 16:56 | |
*** Shinryuu has joined #sailfishos | 16:59 | |
*** igordcard has quit IRC | 17:00 | |
Toxip | hello | 17:00 |
*** Sailor11736_ has joined #sailfishos | 17:01 | |
Toxip | is it possible to have each item on a view do a different function? I tried to put the function as a model element but that didn't seem to work... | 17:01 |
*** kanishka has quit IRC | 17:03 | |
*** meetingcpp has joined #sailfishos | 17:04 | |
SK_work | Toxip: use case ? | 17:07 |
Toxip | case? | 17:08 |
SK_work | what do you want to do ? | 17:08 |
Toxip | I have a grid with cards in it and I want each card to do a different thing when clicked | 17:09 |
SK_work | model ? | 17:10 |
SK_work | what do you do when clicked ? | 17:10 |
*** SL89 is now known as SL89-AFK | 17:10 | |
Toxip | I tried placing different functions in the model but the whole view just disappeared when I did that :/ | 17:11 |
SK_work | Toxip: what does these cards do ? | 17:11 |
Toxip | one would for example call the attack function with different values and another one would call build function | 17:12 |
Toxip | but should it be possible to define these functions in the model? | 17:13 |
Toxip | it's certainly possible to add references to properties by appending them | 17:14 |
Toxip | but I tried to do the same with a function and it just screwed the whole thing :/ | 17:14 |
SK_work | Toxip: what do these functions do, are they JS ? | 17:14 |
Toxip | JS yeah | 17:14 |
SK_work | which model are you using ? | 17:14 |
SK_work | ListModel ? | 17:14 |
Toxip | List model | 17:14 |
SK_work | hum ... | 17:14 |
SK_work | how many different actions would you need to handle ? | 17:15 |
*** daitheflu has quit IRC | 17:18 | |
Toxip | hmm... I have like 10 at least | 17:18 |
SK_work | hum | 17:18 |
SK_work | ok | 17:18 |
SK_work | don't look nice | 17:18 |
SK_work | I was about to ask you to do a huge switch | 17:19 |
SK_work | I never tried to use function as properties of ListModel, probably won't work nicely | 17:19 |
Toxip | apparently yeah :/ | 17:20 |
*** lukedirtwalker has joined #sailfishos | 17:20 | |
Toxip | I may have to do separate functions for each card since some of them can do multiple things | 17:21 |
SK_work | let's do this | 17:21 |
SK_work | create a JS object | 17:21 |
SK_work | as a huge map | 17:21 |
SK_work | each member is a "pointer" to a JS function | 17:22 |
SK_work | and each key is a "type" | 17:22 |
SK_work | you put the type in the model | 17:22 |
*** mcuros has joined #sailfishos | 17:22 | |
*** Morpog_PC__ has joined #sailfishos | 17:22 | |
SK_work | and in the delegate you use the js objet to invoke methods | 17:22 |
* Nc_ does a little dance | 17:22 | |
Toxip | alright, sounds good | 17:23 |
Toxip | just have to study more JS now :D | 17:23 |
SK_work | When I say "I have to study more JS now", I switch to C++ | 17:23 |
SK_work | problem solved | 17:23 |
SK_work | :D | 17:23 |
Toxip | :D | 17:23 |
Toxip | the thing is, I'm very new to this stuff... | 17:24 |
*** mcuros has quit IRC | 17:24 | |
SK_work | try JS a bit more | 17:24 |
*** mcuros_ has quit IRC | 17:24 | |
Toxip | I know some C++ and C but i've been learning QML and JS just by doing this and reading documentation | 17:24 |
SK_work | I'm not sure that you are doing it right (c) | 17:24 |
*** javispedro has quit IRC | 17:25 | |
Toxip | yeah, I' | 17:25 |
*** mcuros has joined #sailfishos | 17:25 | |
Toxip | I've learned a lot about QML and JS by doing this... I gotta check that map thing now :P | 17:26 |
*** aboyer has quit IRC | 17:27 | |
SK_work | Toxip: what app are you truying to build ? | 17:27 |
SK_work | out of curiosity | 17:27 |
Toxip | it's a game :) | 17:28 |
Nc_ | SK_work, sorry to be a pain again, but ... is there really no way to cast objects in QML from 1 class to another? | 17:28 |
SK_work | what do you mean "class" ? | 17:28 |
*** xth has joined #sailfishos | 17:29 | |
Nc_ | my C++ code is emit'ing an object by its base-class | 17:29 |
Nc_ | in C++, would need to check what type(s) it is, and then cast it to the right class, to use the object correctly | 17:30 |
SK_work | Nc_: what kind of classes there are | 17:30 |
SK_work | that's bad | 17:30 |
SK_work | JS don't know ANYTHING about classes (non typed language) | 17:30 |
Nc_ | yeah, was getting that impression | 17:30 |
suy | QML is kinda typed... | 17:31 |
SK_work | but if you have base class A having a slot do() and B inheriting A having another slot doDifferently(), you can try to invoke doDifferently() on your object | 17:31 |
SK_work | if it is not B, it will just fail | 17:31 |
suy | unless you make `property var foo`, then it is not typed :P | 17:31 |
SK_work | if B overloads do(), the overload will be invoked | 17:31 |
SK_work | yeah, there are some types, but if it is exposed as base type from C++, you have no way to know | 17:31 |
SK_work | :( | 17:31 |
SK_work | or ... doing it wrong (c) | 17:32 |
Nc_ | yeah, right now I've overloaded the signal, so it sends the relevant type, but this doesn't really work long-term :( | 17:32 |
Nc_ | Guess I need to apply more C++ | 17:32 |
SK_work | Nc_: have some code to show ? | 17:32 |
suy | Nc_: can you elaborate what you want to achieve exactly? | 17:33 |
Nc_ | I'm writing a library for handling IoT-things | 17:33 |
SK_work | ah | 17:33 |
SK_work | the infamous libqiot | 17:33 |
Nc_ | basically, detect stuff on network in various protocols, present as standard stuff | 17:33 |
SK_work | what's the issue | 17:33 |
SK_work | atm | 17:33 |
SK_work | with the overloaded stuff | 17:33 |
*** Venemo_j has quit IRC | 17:34 | |
Nc_ | Just that I'm emit'ing base-class, and then cannot make calls on those objects :( | 17:34 |
Nc_ | i.e. can't see a way to make the QML code know whether the object has e.g. Power, or Colour, or Channel or anything :) | 17:34 |
suy | you are emitting in the signal the data and the type of the data? | 17:35 |
SK_work | what's the base class ? | 17:35 |
SK_work | what's the extended classes ? | 17:35 |
*** twixx has left #sailfishos | 17:35 | |
Nc_ | IoTObject -> LightBulb -> LIFXBulb / HueBulb/ HoliBulb .... | 17:35 |
SK_work | I see | 17:36 |
Nc_ | or IoTObject -> PowerSwitch -> WeMoSwitch / ..... | 17:36 |
SK_work | what do you want to do on your stuff ? | 17:36 |
suy | Nc_: but what's the signature of the signal? | 17:36 |
SK_work | does LightBulb share all methods in their implementations ? | 17:36 |
Nc_ | find devices on network, present on UI, with ability to control based on what it is | 17:36 |
SK_work | ok | 17:36 |
SK_work | so your IoTObject should at least expose a CONSTANT property called type | 17:36 |
SK_work | and expose the enum describing these types | 17:37 |
Nc_ | LightBulb sets a minimum set of ability (implementations), but LIFX/Hue etc extends | 17:37 |
SK_work | like LightBulb Switch | 17:37 |
SK_work | does LIFX Hue provide new methods? | 17:37 |
Nc_ | yeah, have base-type defined and set | 17:37 |
SK_work | ok | 17:37 |
Nc_ | yeah, specific implementation can have more methods | 17:37 |
SK_work | hum | 17:37 |
SK_work | ok | 17:37 |
Nc_ | and objects can implement both PowerSwitch and LightBulb and Timer and .... | 17:37 |
SK_work | let's start with basis | 17:37 |
SK_work | differenciate LightBulb and PowerSwitch | 17:38 |
SK_work | ?? | 17:38 |
SK_work | an object can be both a LightBulb and PowerSwitch ? | 17:38 |
SK_work | hum | 17:38 |
SK_work | this looks more like interfaces | 17:38 |
Nc_ | they are | 17:38 |
SK_work | ok | 17:38 |
SK_work | are they "true" interfaces ? | 17:38 |
SK_work | or QObject based interfaces | 17:39 |
Nc_ | purely virtual, abstract classes? No, they include basic implementations for some bits | 17:39 |
SK_work | can't you separate your lightbulb from a switch ? | 17:39 |
Nc_ | ? | 17:39 |
SK_work | let's do composition, assume a class called IoTObject | 17:39 |
* Nc_ just got attacked by small girls | 17:39 | |
Nc_ | I really should drop this on GitHub .... | 17:40 |
SK_work | that have methods like: isLightBulb, isSwitch etc | 17:41 |
Nc_ | http://pastebin.com/nhtHpuLY <-- sample client | 17:41 |
*** r0kk3rz has joined #sailfishos | 17:41 | |
Nc_ | I'm trying hard to not make IoTObject understand anything beyond itself | 17:41 |
*** gigetoo has quit IRC | 17:46 | |
*** jua_ has joined #sailfishos | 17:48 | |
*** SL89-AFK is now known as SL89 | 17:48 | |
suy | Nc_: so the problem is void bulbRemoteChanged(IoTLightBulbClient *); ? | 17:49 |
Nc_ | no, that a Discovery object will emit "void newIoTItem(IoTObject *item);" | 17:50 |
Nc_ | in QML I then get an IoTObject called item, on which I cannot call methods from the LIFXLightClient class | 17:51 |
SK_work | Nc_: forgot the fact that your iotobject is everythign at the same time | 17:51 |
SK_work | can't you have methods like lightbulb() | 17:52 |
SK_work | return a IoTLightBulb QObject based class | 17:52 |
SK_work | that have basic lightbulb handling | 17:52 |
SK_work | so in QML / JS you do | 17:52 |
SK_work | onNewIoTItem: if (item.lightbulb) { item.lightBulb.doSomething() } | 17:52 |
Nc_ | IoTObject.getLightbulb() return (lightbulb*)this; ? | 17:52 |
SK_work | hum | 17:53 |
SK_work | hum | 17:53 |
SK_work | won't work | 17:53 |
SK_work | the fact is that in QML / JS context you NEED QObject based objects | 17:53 |
SK_work | if you cast (lightbulb *) this, lightbulb is a C++ interface, so not a QObject | 17:54 |
SK_work | and that won't work | 17:54 |
SK_work | you cannot dread diamond QObject based class | 17:54 |
*** mhlavink_afk has quit IRC | 17:54 | |
SK_work | so I was thinking about an IoTObject that is a "final" class | 17:54 |
SK_work | that have several attributes | 17:54 |
SK_work | that are all NULL at the begining, and if you build your specific IoT | 17:54 |
SK_work | like a switch + lightbulb, you set the m_switch and m_lightbulb attribtues | 17:55 |
SK_work | the problem about this architecture is that you will probably have more and more attributes | 17:55 |
SK_work | but at that time it is manageable | 17:55 |
Nc_ | IoTObject having an attribute for each possible interface .... That could escalate | 17:55 |
locusf | Is there a way to limit the number of items in a model which produces the data? | 17:55 |
Nc_ | for now I've set IoTObject.type to 64-bit, and even suspect that won't suffice (64 bit flags) | 17:56 |
SK_work | What I don't like is how it is exposed to QML | 17:57 |
SK_work | that's all | 17:57 |
SK_work | hum another possibility | 17:58 |
Nc_ | Starting to ponder best option is to wrap most of it in a C++ class, so it handles the different types, and just present different lists to QML | 17:58 |
*** Nerfiaux has quit IRC | 17:59 | |
SK_work | Nc_: I got a "nice" idea C++ side for your stuff | 18:00 |
*** Nerfiaux has joined #sailfishos | 18:00 | |
SK_work | it is basically what you are doing | 18:00 |
Nc_ | shoot | 18:00 |
SK_work | declare many interfaces for different IOT stuff | 18:00 |
SK_work | but nicer stuff is that you declare them as Q_INTERFACES | 18:00 |
SK_work | so that you can easily qobject_cast from one to another | 18:00 |
Nc_ | not familiar with Q_INTERFACES - will have to google later | 18:01 |
SK_work | and then, no need of a sort of flag to know which iot this stuff impleemtsn | 18:01 |
Nc_ | 'k... ? | 18:01 |
* Nc_ googles | 18:01 | |
SK_work | q_declare_interface | 18:01 |
SK_work | sorry | 18:01 |
SK_work | if you have a QObject inherited object | 18:02 |
SK_work | that implements several interfaces that are declared with q_declare_interface | 18:02 |
SK_work | you can qobject_cast easily | 18:02 |
SK_work | so I imagine a basic IoTObject: public QObject | 18:02 |
SK_work | that have a method like | 18:02 |
SK_work | template<class T> T * toObject() { return qobject_cast<T *>(this)); | 18:02 |
SK_work | this could be nice to have so that you can have ILightBulb *bulb = object.toObject<ILightBulb> | 18:03 |
SK_work | something like that | 18:03 |
SK_work | for QML, I would prefer to have different objects for different goal: for example a LightBulb component that have the same properties / methods as the ILightBulb interface | 18:04 |
SK_work | and wraps an ILightBulb | 18:04 |
*** iskatu has quit IRC | 18:04 | |
Nc_ | 'k, think I can see how that could help | 18:04 |
Nc_ | :) | 18:04 |
SK_work | in QML, you don't have C++ power, no templaet and strong requirement of QObject | 18:05 |
SK_work | so basically you need to create separate component for each part of an IoT | 18:05 |
*** Sequenced has quit IRC | 18:05 | |
*** Sequenced has joined #sailfishos | 18:05 | |
SK_work | suppose that you have an IoTRegistrator, that sends you a nice IoTObject | 18:05 |
*** Sailor11736_ has joined #sailfishos | 18:06 | |
Nc_ | sort-of, yes :) | 18:06 |
SK_work | you cannot do anything with IoTObject (as QML can't call the toObject) method, but you can call a method from IoTRegistrator like | 18:06 |
SK_work | getLightBulb | 18:06 |
SK_work | so it gives you a QML LightBulb wrapper for your IoTObject | 18:06 |
SK_work | even better | 18:06 |
SK_work | have a LightBulb component, that takes as parameter an IotObject | 18:07 |
SK_work | and the LightBulb component will, internally do: m_lightBulb = object.toObject<ILightBulb>(), plus wraps the methods of ILightBulb | 18:07 |
SK_work | this could be enough to get the interface being exposed to QML | 18:08 |
Nc_ | yes | 18:08 |
SK_work | so your registrator sends a IoTObject instance, and you pass it to a LightBulb for example | 18:08 |
*** flywheel has joined #sailfishos | 18:08 | |
SK_work | + you will need to support an enum to be able to know which type is your IoTObject | 18:08 |
SK_work | but that can be rather easy | 18:08 |
*** iskatu has joined #sailfishos | 18:09 | |
SK_work | a method like isType(enum) | 18:09 |
Nc_ | sorta have that already | 18:09 |
SK_work | and switch (type) { case LightBulb: return toObject<ILightBulb>(); } | 18:09 |
SK_work | rather easy to do | 18:09 |
SK_work | ok | 18:09 |
SK_work | please github yeah | 18:09 |
SK_work | advanced functionalities like HueLightBulb might be an issue to solve | 18:10 |
*** Sequenced has quit IRC | 18:10 | |
SK_work | or not | 18:10 |
SK_work | simply do IHueLightBulb: public ILightBulb, declare IHueLightBulb as an interface, and expose to QML via HueLightBulb component | 18:10 |
SK_work | :) | 18:10 |
Toxip | they should release this maroon game in Jolla store :D | 18:12 |
Nc_ | :) | 18:12 |
*** filippz has joined #sailfishos | 18:12 | |
Nc_ | btw, fair warning: I'm crap at programming, so you really don't want to anything I've made XD | 18:12 |
*** jjanvier has quit IRC | 18:13 | |
suy | SK_work: Nc_: I have to go now, but check if what the qt3d people made with extension objects is of any help. See Paul's comment on: https://codereview.qt-project.org/#/c/101859/ | 18:13 |
SK_work | Nc_: I do want pull requests and a nice API | 18:13 |
suy | (wrt interfaces, etc.) | 18:13 |
Nc_ | suy, cheers :) .. will look | 18:14 |
SK_work | is qmlRegisterExtendedType available in Qt 5.1/2 ? | 18:15 |
*** mkollaro has quit IRC | 18:15 | |
suy | SK_work: yes, but the documentation was accidentally scrapped | 18:15 |
SK_work | haha | 18:15 |
suy | the ones new in 5.4 are the "customExtended" and "customUncreatable" | 18:16 |
SK_work | interesting stuff | 18:17 |
suy | I'm late, but also look at the slides: http://www.qtdeveloperdays.com/sites/default/files/qt3d-intro.pdf | 18:18 |
*** Mivalpuff has quit IRC | 18:19 | |
SK_work | ok | 18:20 |
*** arcean has quit IRC | 18:20 | |
*** arcean has joined #sailfishos | 18:23 | |
SK_work | hum | 18:23 |
SK_work | I'm really puzzled about this itnerface thing | 18:23 |
SK_work | as we don't profit from properties or signals in QML side | 18:23 |
*** m4g0g_ has joined #sailfishos | 18:25 | |
m4g0g_ | hi | 18:25 |
SK_work | hi m4g0g_ | 18:26 |
*** m4g0g has joined #sailfishos | 18:27 | |
*** ionstorm has joined #sailfishos | 18:28 | |
*** hasdf has quit IRC | 18:29 | |
*** ionstorm has quit IRC | 18:29 | |
*** flywheel has quit IRC | 18:29 | |
*** m4g0g_ has quit IRC | 18:30 | |
*** flywheel has joined #sailfishos | 18:32 | |
*** mihlit has joined #sailfishos | 18:36 | |
*** tanty is now known as tanty_off | 18:43 | |
*** filippz has quit IRC | 18:43 | |
*** filippz has joined #sailfishos | 18:44 | |
*** tat has joined #sailfishos | 18:45 | |
*** cloanta has joined #sailfishos | 18:46 | |
*** Zotan has joined #sailfishos | 18:53 | |
*** inte` has joined #sailfishos | 18:53 | |
*** tat has joined #sailfishos | 18:55 | |
*** m4g0g has joined #sailfishos | 18:56 | |
*** inte has quit IRC | 18:57 | |
*** furikku has quit IRC | 19:00 | |
*** Sequenced_ has joined #sailfishos | 19:03 | |
*** Sailor9756_ has joined #sailfishos | 19:06 | |
*** Nerfiaux has quit IRC | 19:07 | |
*** tat has quit IRC | 19:08 | |
*** Sailor9756_ has quit IRC | 19:10 | |
*** mkollaro has joined #sailfishos | 19:14 | |
*** Sailor11736_ has quit IRC | 19:17 | |
*** Sailor9756_ has joined #sailfishos | 19:20 | |
*** Lipevakala has joined #sailfishos | 19:21 | |
*** Nerfiaux has joined #sailfishos | 19:21 | |
*** Sailor9756_ has quit IRC | 19:24 | |
*** Sailor9756_ has joined #sailfishos | 19:25 | |
*** Nerfiaux has quit IRC | 19:26 | |
*** piggz_ has joined #sailfishos | 19:29 | |
*** DiosDelRayo has joined #sailfishos | 19:29 | |
*** qqK has joined #sailfishos | 19:31 | |
*** wickwire has quit IRC | 19:31 | |
*** tat has joined #sailfishos | 19:31 | |
*** tat has quit IRC | 19:32 | |
*** tat has joined #sailfishos | 19:32 | |
*** lukedirtwalker has quit IRC | 19:33 | |
*** Sailor11736_ has joined #sailfishos | 19:36 | |
*** disharmonic has joined #sailfishos | 19:36 | |
*** hasdf has joined #sailfishos | 19:36 | |
*** AlmAck has joined #sailfishos | 19:37 | |
*** Nerfiaux has joined #sailfishos | 19:38 | |
*** Sailor9756_ has quit IRC | 19:42 | |
*** Sailor9756_ has joined #sailfishos | 19:42 | |
*** ionstorm has joined #sailfishos | 19:44 | |
*** Blizzz has quit IRC | 19:45 | |
*** Blizzz has joined #sailfishos | 19:45 | |
*** Nerfiaux has quit IRC | 19:45 | |
*** meetingcpp has quit IRC | 19:48 | |
*** tat has quit IRC | 19:49 | |
*** tat has joined #sailfishos | 19:51 | |
*** ionstorm has quit IRC | 19:55 | |
*** msava has quit IRC | 19:58 | |
*** Sfiet_Konstantin has joined #sailfishos | 20:00 | |
*** plfiorini has joined #sailfishos | 20:01 | |
*** Zotan has quit IRC | 20:01 | |
*** Sail0r has joined #sailfishos | 20:02 | |
*** msava has joined #sailfishos | 20:03 | |
*** rbn has joined #sailfishos | 20:05 | |
*** gogeta has joined #sailfishos | 20:06 | |
*** fmunozs has joined #sailfishos | 20:10 | |
*** piggz_ has quit IRC | 20:14 | |
*** Nc_ has quit IRC | 20:16 | |
*** piggz_ has joined #sailfishos | 20:16 | |
*** Sfiet_Konstantin has quit IRC | 20:17 | |
*** tat has quit IRC | 20:17 | |
*** R-Z has quit IRC | 20:17 | |
*** phaeron has quit IRC | 20:19 | |
*** phaeron has joined #sailfishos | 20:19 | |
*** Jef91 has quit IRC | 20:21 | |
*** Nerfiaux has joined #sailfishos | 20:21 | |
*** Jef91 has joined #sailfishos | 20:22 | |
*** Sailor9756_ has quit IRC | 20:23 | |
*** disharmonic has quit IRC | 20:23 | |
*** filippz has quit IRC | 20:23 | |
*** ionstorm has joined #sailfishos | 20:24 | |
*** Mivalpuff has joined #sailfishos | 20:29 | |
*** phaeron has quit IRC | 20:29 | |
*** ionstorm has quit IRC | 20:30 | |
*** disharmonic has joined #sailfishos | 20:31 | |
*** tat has joined #sailfishos | 20:36 | |
*** Sailor9756_ has joined #sailfishos | 20:39 | |
*** anich has joined #sailfishos | 20:41 | |
*** anich has quit IRC | 20:42 | |
*** Nerfiaux has quit IRC | 20:42 | |
*** Kabouik has joined #sailfishos | 20:44 | |
*** onurati has joined #sailfishos | 20:48 | |
*** zhxt has quit IRC | 20:53 | |
*** zhxt has joined #sailfishos | 20:54 | |
*** Finlod_ has quit IRC | 20:55 | |
*** tigeli has quit IRC | 20:56 | |
*** michele_ has joined #sailfishos | 20:56 | |
*** txwxcc has joined #sailfishos | 20:57 | |
*** Sfiet_Konstantin has joined #sailfishos | 20:58 | |
*** cloanta has quit IRC | 21:01 | |
*** nomeata has quit IRC | 21:01 | |
*** ionstorm has joined #sailfishos | 21:07 | |
*** Sfiet_Konstantin has quit IRC | 21:11 | |
*** disharmonic has quit IRC | 21:11 | |
*** Funkeh`` has joined #sailfishos | 21:11 | |
*** lukedirtwalker has joined #sailfishos | 21:13 | |
*** SfietKonstantin has joined #sailfishos | 21:13 | |
*** Funkeh` has quit IRC | 21:13 | |
*** Zotan has joined #sailfishos | 21:14 | |
*** hasdf has quit IRC | 21:15 | |
*** ionstorm has quit IRC | 21:16 | |
*** fmunozs has quit IRC | 21:16 | |
*** Sail0r has quit IRC | 21:16 | |
*** fmunozs has joined #sailfishos | 21:17 | |
*** disharmonic has joined #sailfishos | 21:25 | |
*** Nerfiaux has joined #sailfishos | 21:32 | |
*** DiosDelRayo has quit IRC | 21:33 | |
*** Sailor9756_ has quit IRC | 21:33 | |
*** DiosDelRayo has joined #sailfishos | 21:34 | |
*** M4rtinK has joined #sailfishos | 21:37 | |
*** Dotti has quit IRC | 21:39 | |
*** phaeron has joined #sailfishos | 21:41 | |
*** mcuros has quit IRC | 21:41 | |
*** ionstorm has joined #sailfishos | 21:43 | |
*** mcuros has joined #sailfishos | 21:43 | |
*** inte` is now known as inte_away | 21:44 | |
*** gogeta has quit IRC | 21:48 | |
*** mihlit has quit IRC | 21:49 | |
*** tat has quit IRC | 21:49 | |
*** tigeli has joined #sailfishos | 21:51 | |
*** qqK has quit IRC | 21:56 | |
*** ln- has quit IRC | 22:04 | |
*** SL89 has quit IRC | 22:09 | |
*** fmunozs has quit IRC | 22:10 | |
*** cxl000 has quit IRC | 22:14 | |
*** Eismann has quit IRC | 22:18 | |
*** Nightmare__ has quit IRC | 22:26 | |
*** Eismann has joined #sailfishos | 22:27 | |
*** Eismann has quit IRC | 22:28 | |
*** crazy_imp has quit IRC | 22:31 | |
*** crazy_imp has joined #sailfishos | 22:32 | |
*** crazy_imp has joined #sailfishos | 22:32 | |
*** ln- has joined #sailfishos | 22:32 | |
*** Eismann has joined #sailfishos | 22:33 | |
*** Sailor9756_ has joined #sailfishos | 22:33 | |
*** keithzg has joined #sailfishos | 22:34 | |
*** Nerfiaux has quit IRC | 22:36 | |
*** inte_awa` has joined #sailfishos | 22:44 | |
*** swift110_ has joined #sailfishos | 22:45 | |
*** inte_away has quit IRC | 22:46 | |
*** inte_awa` has quit IRC | 22:46 | |
*** Nc_ has joined #sailfishos | 22:47 | |
*** inte_away has joined #sailfishos | 22:47 | |
*** Sfiet_Konstantin has joined #sailfishos | 22:51 | |
*** SfietKonstantin has quit IRC | 22:51 | |
*** jua_ has quit IRC | 22:52 | |
*** onurati has quit IRC | 22:53 | |
*** m4g0g has quit IRC | 22:54 | |
*** onurati has joined #sailfishos | 22:55 | |
*** xerpi has quit IRC | 22:58 | |
*** jjarven has quit IRC | 22:58 | |
*** Sailor11736_ has quit IRC | 23:01 | |
*** disharmonic has quit IRC | 23:01 | |
*** Nerfiaux has joined #sailfishos | 23:02 | |
*** Pat_o has quit IRC | 23:04 | |
*** Sailor11736_ has joined #sailfishos | 23:04 | |
*** Sailor9756_ has quit IRC | 23:06 | |
*** Nerfiaux has quit IRC | 23:07 | |
*** txwxcc has quit IRC | 23:07 | |
*** r0kk3rz has quit IRC | 23:10 | |
*** Zotan has quit IRC | 23:11 | |
*** jjarven has joined #sailfishos | 23:11 | |
*** disharmonic has joined #sailfishos | 23:14 | |
*** arcean has quit IRC | 23:17 | |
*** Mivalpuff has quit IRC | 23:23 | |
*** onurati has quit IRC | 23:26 | |
*** AlmAck has quit IRC | 23:27 | |
*** rbn has quit IRC | 23:27 | |
*** Blizzz has quit IRC | 23:30 | |
*** lukedirtwalker has quit IRC | 23:31 | |
*** Shinryuu has quit IRC | 23:35 | |
*** tat has joined #sailfishos | 23:38 | |
*** hasdf has joined #sailfishos | 23:43 | |
*** Morpog_PC__ has quit IRC | 23:44 | |
*** fmunozs has joined #sailfishos | 23:49 | |
*** sandy_locke has joined #sailfishos | 23:51 | |
*** sandy_locke has quit IRC | 23:51 | |
*** sandy_locke has joined #sailfishos | 23:51 | |
*** mkollaro has quit IRC | 23:52 | |
*** lpotter has quit IRC | 23:52 | |
*** lpotter has joined #sailfishos | 23:53 | |
*** vakkov has quit IRC | 23:53 | |
*** louisdk has quit IRC | 23:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!