* artemma is trying his first aegis.manifest ever | 00:00 | |
marsje | what else do I use?? | 00:00 |
---|---|---|
djszapi | sb ;) | 00:01 |
marsje | in english please :) | 00:02 |
djszapi | ScratchBox. | 00:02 |
artemma | hmm, manifest didn't work right away (surprise-surpise :)) | 00:02 |
*** evilJazz has joined #harmattan | 00:02 | |
artemma | I am trying accli -p 3179 (running process id) and accli doesn't tell anything and expects more input | 00:03 |
marsje | djszapi: are you saying I installed this 1 gigabyte QtSdk for nothing? | 00:03 |
djszapi | definitely, but it is just my personal opinion anyway. | 00:03 |
artemma | djszapi, marsje: live hardware is also fine and way faster | 00:04 |
artemma | though I never tried SB, so I only guess it's faster | 00:04 |
marsje | I don't care about speed right now | 00:04 |
beford | it can't be faster to develop on the device :P | 00:05 |
marsje | I'm trying to have something running in my phone originating from my computer | 00:05 |
beford | QtCreator should work marsje | 00:05 |
djszapi | beford: that is very slow | 00:05 |
marsje | I'm in the hello-world-phase | 00:05 |
artemma | how do you check aegis credentials of a running process? | 00:06 |
artemma | Isn't it just accli -p pid? | 00:07 |
djszapi | it /is/. | 00:07 |
artemma | when I type accli -p 3179<enter> shell just goes to new line (expects input?) | 00:08 |
djszapi | you do not wanna use hard coded pid numbers, but `pidof yourprocess` | 00:09 |
artemma | djszapi: I am trying to do it just once | 00:10 |
artemma | to see if manifest set the credentials I was asking it to set | 00:10 |
djszapi | and it is more time than needed once ... to look up the pid from the table instead of just typing the process name, that is. | 00:11 |
artemma | I prefer learning one step at a time | 00:12 |
* artemma is relatively new to *nix. Heard about the whole concept of backtick only lately | 00:12 | |
marsje | does anyone know a tutorial for creating a simple harmattan app? | 00:13 |
marsje | I just started and I'm already stuck | 00:14 |
artemma | marsje: QtCreator's wizard is OK | 00:14 |
artemma | ah! It's not accli -p, it's accli -p -I! | 00:14 |
marsje | maybe this is the reason for the error: /dev/sda3 168G 159G 0 100% /home | 00:15 |
marsje | argh | 00:15 |
djszapi | lol | 00:18 |
beford | um, is it safe to do apt-get install python on then 9? | 00:18 |
*** rcg has quit IRC | 00:20 | |
*** NIN101 has quit IRC | 00:21 | |
artemma | hmm, i requested UID::root and GID:root, yet process running on the device doesn't get it | 00:22 |
artemma | is there some sort of a log file that tells why aegis satisfied or not satisfied a request? | 00:23 |
artemma | Or at least whether it tried processing requests at all | 00:23 |
djszapi | yes, it is called dpkg -i output. | 00:23 |
artemma | I am deploying from QtCreator | 00:24 |
artemma | it is probably running dpkg in the background | 00:24 |
*** faenil has quit IRC | 00:24 | |
artemma | but its logs mention aegis only once: aegis-installing swypeswitcher (from '') | 00:24 |
*** faenil has joined #harmattan | 00:25 | |
artemma | and a couple of mentions about manifest | 00:25 |
artemma | aegis-manifest: The manifest file was most likely not generated by this tool. | 00:25 |
artemma | aegis-manifest: This file will be placed to the resulting archive as-is. | 00:25 |
artemma | and then aegis-manifest: Run 'aegis-manifest -f' to force overwrite. | 00:25 |
artemma | overwrite what? | 00:25 |
artemma | Does it mean that it ignored manually changed manifest? | 00:26 |
djszapi | sounds like you are screwing up things :D | 00:26 |
djszapi | show the manifest you wrote ... | 00:26 |
artemma | two lines only | 00:26 |
artemma | <credential name="UID::root" /> | 00:26 |
artemma | <credential name="GID::root" /> | 00:26 |
artemma | </request> | 00:26 |
artemma | the full file is at http://pastebin.com/GcKNsdh2 | 00:27 |
artemma | I only added those two credential lines close to the end of file | 00:27 |
artemma | actually I changed path too. Autogenerated one pointed to /opt/swypeswitcher/bin/swypeswitcher (project containing several subprojects), I changed path to /opt/swypeswitcherapp/bin/swypeswitcherapp that is the actual binary | 00:28 |
djszapi | I am sorry, but I need to get some sleep | 00:29 |
*** macmaN has quit IRC | 00:29 | |
artemma | good nigh, djszapi | 00:30 |
artemma | thanks for help | 00:30 |
artemma | I still have some ideas | 00:30 |
* artemma uninstalled binary from the device, should have removed old manifest as well | 00:30 | |
*** arcean has joined #harmattan | 00:30 | |
*** macmaN has joined #harmattan | 00:34 | |
artemma | ah, whenever I start my app in a standalone way (from device not by creator), I see that it has only two credentials: UID:user and GID:users :/ | 00:34 |
*** xTs has quit IRC | 00:34 | |
*** djszapi has left #harmattan | 00:37 | |
*** faenil has quit IRC | 00:39 | |
admiral0 | pinheiro: ping | 01:00 |
*** gabriel9 has quit IRC | 01:20 | |
*** artemma has quit IRC | 01:24 | |
*** artemma has joined #harmattan | 01:30 | |
*** Shadikka has quit IRC | 01:36 | |
*** Sazpaimon_ has joined #harmattan | 01:44 | |
*** Sazpaimon__ has quit IRC | 01:45 | |
*** Shadikka has joined #harmattan | 01:53 | |
*** benares_98 has joined #harmattan | 02:02 | |
*** Shadikka has quit IRC | 02:05 | |
*** hardaker2 has quit IRC | 02:13 | |
*** Shadikka has joined #harmattan | 02:21 | |
*** Natunen has quit IRC | 02:22 | |
*** artemma has quit IRC | 02:24 | |
*** M4rtinK has quit IRC | 02:29 | |
*** artemma has joined #harmattan | 02:31 | |
*** Shadikka has quit IRC | 02:33 | |
merlin1991 | artemma: there is aegis-exec, maybe you need that one to setuid root? | 02:37 |
*** phdeswer has joined #harmattan | 02:43 | |
*** Shadikka has joined #harmattan | 02:44 | |
*** Shadikka has quit IRC | 02:50 | |
*** Aranel_N9 has joined #harmattan | 02:52 | |
Aranel_N9 | Where is harmattan sms database located? Is there some SQL file like el-v1.db? | 02:53 |
lucido | I' having problem exposing my qt slots to the qml engine: http://pastebin.com/fL0ah28z | 03:03 |
lucido | also, whats the API for making phone calls? | 03:03 |
*** Shadikka has joined #harmattan | 03:07 | |
*** Fhdu has joined #harmattan | 03:14 | |
*** posix has quit IRC | 03:15 | |
*** phdeswer has quit IRC | 03:16 | |
*** Fhdu has quit IRC | 03:18 | |
*** jig33 has joined #harmattan | 03:21 | |
*** Smtih has joined #harmattan | 03:22 | |
*** jig33 has quit IRC | 03:25 | |
*** Iktwo has joined #harmattan | 03:26 | |
Iktwo | hi, is there a way to set a dependency for a package in SDK repo? I need wireless-tools installed | 03:27 |
*** Shadikka has quit IRC | 03:34 | |
*** Iktwo has quit IRC | 03:37 | |
*** Smtih has quit IRC | 03:51 | |
*** Shadikka has joined #harmattan | 03:54 | |
*** arcean has left #harmattan | 03:56 | |
*** stroughtonsmith has quit IRC | 04:03 | |
*** rcg has joined #harmattan | 04:14 | |
*** Aranel_N9 has quit IRC | 04:28 | |
*** rcg has quit IRC | 04:49 | |
*** GeneralAntilles has left #harmattan | 04:58 | |
*** GeneralAntilles has joined #harmattan | 04:58 | |
*** pinheiro has quit IRC | 05:06 | |
damaltor | admiral0: cant type in that chat thing | 05:06 |
damaltor | not working | 05:06 |
admiral0 | ok | 05:06 |
damaltor | sure we can keep that | 05:06 |
admiral0 | tmo && sleep | 05:06 |
damaltor | can you turn aound the ram usage then? | 05:06 |
damaltor | show used ram instead of free? | 05:07 |
damaltor | post is nearly done | 05:07 |
admiral0 | ok | 05:07 |
*** benares_98 has quit IRC | 05:09 | |
damaltor | if it is commited, tell me, i will then make a zip and upload it | 05:09 |
admiral0 | commited | 05:10 |
admiral0 | now | 05:10 |
admiral0 | forgot ram thingie | 05:10 |
admiral0 | rev 24 is ok | 05:10 |
damaltor | yes it is | 05:11 |
damaltor | ok give me 3 minutes, the post will be up then | 05:11 |
damaltor | admiral0: http://talk.maemo.org/showthread.php?p=1154200#post1154200 | 05:15 |
admiral0 | seen | 05:15 |
damaltor | can you make a photo? | 05:15 |
damaltor | or should i do via vnc? | 05:16 |
damaltor | i have one already | 05:17 |
admiral0 | vnc | 05:17 |
admiral0 | :) | 05:18 |
admiral0 | ok | 05:20 |
admiral0 | added info about missing pkgs | 05:20 |
admiral0 | just in case | 05:20 |
* admiral0 going to sleep | 05:21 | |
damaltor | ill ad that to first post | 05:21 |
damaltor | have a good night | 05:21 |
damaltor | pic is in | 05:21 |
admiral0 | damaltor: it's used ram | 05:23 |
admiral0 | and used space on part | 05:24 |
damaltor | yep | 05:24 |
damaltor | will change | 05:24 |
admiral0 | ok | 05:24 |
* admiral0 goes | 05:24 | |
damaltor | n8 | 05:25 |
*** admiral0 has quit IRC | 05:25 | |
*** artemma has quit IRC | 05:26 | |
*** artemma has joined #harmattan | 05:33 | |
*** Natunen has joined #harmattan | 05:49 | |
*** hardaker has joined #harmattan | 06:12 | |
*** artemma has quit IRC | 06:17 | |
*** djszapi has joined #harmattan | 06:23 | |
*** artemma has joined #harmattan | 06:24 | |
*** ljp has joined #harmattan | 06:29 | |
*** Milhouse has quit IRC | 06:39 | |
*** Milhouse has joined #harmattan | 06:43 | |
*** ybot has joined #harmattan | 07:05 | |
*** ybot is now known as Guest56125 | 07:05 | |
*** Guest56125 is now known as ybot_ | 07:06 | |
*** hardaker has quit IRC | 07:24 | |
*** xarcass has joined #harmattan | 07:35 | |
*** artemma has quit IRC | 07:36 | |
*** risca has quit IRC | 07:39 | |
*** artemma has joined #harmattan | 07:42 | |
*** beford has quit IRC | 07:52 | |
*** leinir has joined #harmattan | 08:13 | |
*** leinir has joined #harmattan | 08:13 | |
qronic | are there any rumours as of when the dev PR1.2 comes out? | 08:44 |
jonni | there is a rumour that its out before xmas :) | 08:45 |
*** gabriel9 has joined #harmattan | 09:10 | |
*** tjaalton has left #harmattan | 09:12 | |
*** mece has joined #harmattan | 09:16 | |
*** leinir has quit IRC | 09:20 | |
*** sh8dfwk has joined #harmattan | 09:22 | |
*** sh8dfwk is now known as sandst1 | 09:22 | |
*** gabriel9 has quit IRC | 09:29 | |
*** leinir has joined #harmattan | 09:31 | |
*** tbf has joined #harmattan | 09:31 | |
*** artemma has quit IRC | 09:36 | |
*** artemma has joined #harmattan | 09:43 | |
djszapi | jonni: http://meegoharmattandev.blogspot.com/2011/07/populating-selectiondialog-from-c.html -> do you have any ideas for my issue over there ? | 09:51 |
djszapi | zz_gri: heh, remember for my components patch 2 months ago ? I got merged finally (11 LOC modification) after poking few people internally at Nokia lol | 09:55 |
*** mairas has joined #harmattan | 09:56 | |
*** gabriel9 has joined #harmattan | 10:01 | |
*** decibyte has quit IRC | 10:01 | |
*** khertan has quit IRC | 10:02 | |
qronic | zx2c4, nice write-up in your blog, thanks | 10:05 |
*** decibyte has joined #harmattan | 10:07 | |
*** mairas has quit IRC | 10:10 | |
*** mairas has joined #harmattan | 10:13 | |
*** fuz_ has quit IRC | 10:20 | |
*** fuz_ has joined #harmattan | 10:25 | |
*** djszapiN950 has joined #harmattan | 10:26 | |
*** norayr has quit IRC | 10:30 | |
*** xmlich02-n9 has joined #harmattan | 10:30 | |
*** norayr has joined #harmattan | 10:30 | |
*** diggy has quit IRC | 10:31 | |
*** xmlich02-n9 has quit IRC | 10:33 | |
*** norayr has quit IRC | 10:34 | |
*** norayr has joined #harmattan | 10:35 | |
*** DocScrutinizer has quit IRC | 10:50 | |
*** DocScrutinizer has joined #harmattan | 10:50 | |
*** coffetime has quit IRC | 10:51 | |
*** Venemo has joined #harmattan | 10:58 | |
*** Venemo has joined #harmattan | 10:58 | |
lucido | I'm having problems with a static library, it gives undefined reference error that I'm trying to solve even though the library with the right files is included in the pro file, here are the relevant lines: http://pastebin.com/yP2UhSR0 | 10:58 |
*** djszapiN950 has quit IRC | 10:58 | |
RST38h | lucido: You are building dynamic library not static | 11:00 |
Venemo | lucido, headers have nothing to do with undefined reference errors. | 11:00 |
RST38h | lucido: And not linking it to a Qt library that contains InputCapture class | 11:01 |
RST38h | And if this is your own class, you are not implementing these functions in inputcapture.cpp either | 11:03 |
lucido | RST38h, how come, I have CONFIG += staticlib in libtactoclavis.pro | 11:04 |
lucido | RST38h, they are implemented in inputcapture.cpp | 11:05 |
lucido | it compiled before but then I changed a few method names in InputCapture class and it started giving me these errors | 11:05 |
*** admiral0 has joined #harmattan | 11:09 | |
*** lucido has quit IRC | 11:11 | |
*** lucido has joined #harmattan | 11:12 | |
lucido | got disconnected | 11:13 |
lucido | maybe it didnt rebuild the libtactoclavis.a library file and that is why it cant find the definitions of the methods I changed | 11:13 |
RST38h | You have got -rdynamic so I guess it is trying to link a dynamic lib | 11:17 |
RST38h | As to names, make sure you have got these functions in your .cpp file and their names / argument types are exactly the same as the linker requires | 11:18 |
RST38h | Do a clean build just to be sure | 11:18 |
*** djszapi has left #harmattan | 11:18 | |
lucido | RST38h, that all checks out and I deleted the build dir and rebuilt it | 11:19 |
lucido | damn I'm really lost | 11:19 |
RST38h | When lost, check your compass, then start clearing woods around youtself | 11:21 |
Venemo | lucido, conclusion: static libs only bring problems | 11:24 |
lucido | Venemo, true | 11:24 |
*** niqt has joined #harmattan | 11:25 | |
Venemo | lucido, just delete it from LIBS and embed the source files from the lib into your project. I admit that this isn't a solution, but it'll at least work | 11:26 |
Venemo | lucido, or try to make it a dynamic lib | 11:26 |
lucido | Venemo, doing the first one now, only 20min till deadline | 11:26 |
*** phdeswer has joined #harmattan | 11:27 | |
*** spenap has joined #harmattan | 11:29 | |
admiral0 | dudes what do you think about this:http://talk.maemo.org/showthread.php?t=81798 ? | 11:38 |
flux | seems pretty nice, but need productization :) | 11:41 |
flux | (+s) | 11:41 |
flux | (also, fields to display should be customizable) | 11:41 |
flux | personally, I would keep only date and battery% up | 11:42 |
admiral0 | the idea is to do format strings for every info | 11:43 |
Corsac | admiral0: screenshot? | 11:43 |
admiral0 | and you select how much to display and where | 11:43 |
admiral0 | Corsac: http://img27.imageshack.us/img27/2417/screen1yf.png | 11:43 |
SpeedEvil | This does move occasionally? | 11:43 |
admiral0 | yes | 11:44 |
SpeedEvil | So it doesn't keep the same pixels lit all the time. | 11:44 |
SpeedEvil | ah | 11:44 |
SpeedEvil | Sounds good. | 11:44 |
Corsac | nice (a bit cluttered though, but with configuration it'd be ok) | 11:44 |
admiral0 | you can poke the code | 11:44 |
Corsac | what's the 4:51 time btw? :) | 11:44 |
*** luke-jr has quit IRC | 11:44 | |
admiral0 | 4:51 uptime | 11:44 |
*** luke-jr has joined #harmattan | 11:45 | |
Corsac | ok | 11:45 |
admiral0 | if it's more than 24h it will display x days | 11:45 |
*** djszapi has joined #harmattan | 11:49 | |
admiral0 | djszapi: look at my new pet http://img27.imageshack.us/img27/2417/screen1yf.png | 11:54 |
admiral0 | hi, btw :) | 11:54 |
djszapi | already saw that (reading the logs offline) ;) | 11:55 |
djszapi | it might be a useful idea with a slightly different layout ... | 11:55 |
djszapi | as one already said here, it is cluttered. | 11:55 |
djszapi | hard to gues the uptime too. At least, it is not that intuitive to me. | 11:56 |
djszapi | guess* | 11:56 |
admiral0 | should probably change icon to chrono | 11:57 |
*** Venemo_ has joined #harmattan | 11:58 | |
*** Venemo has quit IRC | 11:59 | |
*** Venemo_ is now known as Venemo | 11:59 | |
jreznik_work | data and current battery charge in % are really nice to have | 12:01 |
*** niqt has quit IRC | 12:02 | |
Corsac | especially since battery charge % is not even available in main screens | 12:02 |
admiral0 | what do you think about format string configuring | 12:04 |
admiral0 | displaying date + bat would be | 12:05 |
admiral0 | "%di %dd/%dm/%dy %bi %bp\%" | 12:05 |
*** niqt has joined #harmattan | 12:06 | |
*** zz_gri is now known as gri | 12:15 | |
*** gri is now known as zz_gri | 12:16 | |
Venemo | ~seen fiferboy | 12:16 |
infobot | fiferboy <~fiferboy@Maemo/community/contributor/fiferboy> was last seen on IRC in channel #harmattan, 68d 19h 31m 11s ago, saying: 'In a good way, though'. | 12:16 |
djszapi | Venemo: see ? :) | 12:17 |
Venemo | yep | 12:17 |
djszapi | Venemo: I will try your hackery with fiferboy today at some point because this is the last blocker for the initial release :) | 12:18 |
Venemo | djszapi, feel free to try it. | 12:19 |
Venemo | djszapi, I think I remember what the ultimate solution was! | 12:20 |
djszapi | change to Lumia ? :D | 12:20 |
Venemo | lol. | 12:20 |
admiral0 | Lumia | 12:20 |
admiral0 | people are confusing me having a lumia | 12:21 |
admiral0 | :\ | 12:21 |
Venemo | djszapi, I REMEMBER!!!! HAHAHAHAAAAA! | 12:21 |
flux | admiral0, you should add a new text to your lockscreen | 12:21 |
Venemo | djszapi, the selectiondialog in qt-components master tries to access a property which is there in QML ListModels, but not there in C++ models | 12:21 |
flux | "THIS IS NOT LUMIA" | 12:21 |
*** zz_gri is now known as gri | 12:21 | |
admiral0 | ahahaha | 12:21 |
admiral0 | good idea | 12:21 |
djszapi | gri: meh after the merge it is too late. It is not involved in this new 1.2 component release :/ | 12:22 |
djszapi | maybe just in 1.3 :/ | 12:22 |
Venemo | lol | 12:22 |
gri | ? I did not speak a word :D | 12:22 |
Venemo | djszapi, that means, half a year from now? :P or never? :D | 12:22 |
admiral0 | better "No, this is not fu%$ing Lumia" | 12:22 |
djszapi | gri: we did a lot about that patch ? | 12:22 |
djszapi | Venemo: it is a distinct patch. | 12:22 |
gri | djszapi: I don't remember, so I'd say that was someone different | 12:22 |
djszapi | Venemo: you mean property, and sure not role name "name" ? | 12:23 |
gri | ohh | 12:23 |
gri | now I remember what you mean | 12:23 |
* gri is not really awake | 12:23 | |
Venemo | djszapi, https://qt.gitorious.org/qt-components/qt-components/blobs/master/src/meego/SelectionDialog.qml#line172 | 12:23 |
Venemo | djszapi, model.count doesn't work with C++ models. | 12:24 |
*** chris__ has joined #harmattan | 12:24 | |
Venemo | djszapi, which means, it's undefined and the height of the list view will always be 0 :D :D :D LOL | 12:24 |
Venemo | djszapi, I remember how much I bashed my head against the wall before I could figure this out | 12:24 |
djszapi | Venemo: that is not a really big issue to work around since I already had to derivate the QStringListModel class because of the role name "name" for the display role. I can add yet another property. | 12:25 |
Venemo | djszapi, try it then, maybe it'll work :) | 12:26 |
Venemo | djszapi, btw, you no longer need a "name" role | 12:26 |
Venemo | djszapi, reason: https://qt.gitorious.org/qt-components/qt-components/blobs/master/src/meego/SelectionDialog.qml#line107 | 12:26 |
*** leinir has quit IRC | 12:27 | |
*** artemma has quit IRC | 12:27 | |
Venemo | djszapi, btw, it's ridicoulous. obviously NOBODY tested this code after the merge, otherwise they would've seen that it doesn't work | 12:28 |
djszapi | yeah, it was not tested. | 12:29 |
djszapi | it was accepted theoritically, and that is all. | 12:29 |
gri | who wants to do unit tests for qt-components? :D | 12:29 |
djszapi | gri: it would even fail with manual testing. | 12:30 |
djszapi | in any case. | 12:30 |
djszapi | Venemo: though, it is an incremental development, so at least the patch fixed yet another issue. :) | 12:30 |
djszapi | Venemo: if I do not need the "name" setting for the display role anymore, I do not the subclass either. | 12:31 |
djszapi | (meaning that it is better to fix the SelectionDialog, and use the patch locally) | 12:31 |
djszapi | do not need the subclass either* | 12:31 |
Venemo | djszapi, indeed. by the way, the try-catch thing is also ugly in there... anyway, firstly, try to use the patched dialog and add a count property to your model. if it works, we'll know that this is what the issue was. | 12:33 |
*** artemma has joined #harmattan | 12:34 | |
djszapi | Venemo: actually I am now writing to 5-6 internal guys for fixing this count thingy asap :) | 12:34 |
Venemo | djszapi, it's an EASYFIX. :) | 12:35 |
chris__ | anyone developing on ubuntu? trying to connect to n9 through usb? | 12:35 |
djszapi | yes, but needs to get it. | 12:35 |
djszapi | in* | 12:35 |
Venemo | (model.count === undefined ? model.rowCount : model.count) | 12:35 |
Venemo | or sth like this | 12:35 |
Venemo | could solve it | 12:35 |
gri | chris__: works for me, you have to set the static ip address after plugging the n9 in | 12:35 |
admiral0 | chris__: ubuntu? what's that? | 12:36 |
djszapi | Venemo: yes, that is what I meant, writing a patch, and ask for merge request | 12:36 |
Venemo | and get it into 1.2 please | 12:36 |
djszapi | otherwise we end up the same situation like with my previous patch ~2 months waiting for few LOC change... | 12:36 |
djszapi | no | 12:36 |
djszapi | that is not possible | 12:36 |
djszapi | even for 1.3, I need to ask flags from managers. | 12:36 |
djszapi | it is not that simple as you think :D | 12:37 |
Venemo | srsly, THAT CODE IS 100% broken! it could NEVER work the way it is now... and it has NEVER worked for ANYBODY! | 12:37 |
djszapi | yes, I know. | 12:37 |
*** gri is now known as zz_gri | 12:38 | |
djszapi | Venemo: but hey, thanks for sucking with this and telling me :P | 12:39 |
Venemo | djszapi, the sucking was in august :) but you're welcome | 12:39 |
djszapi | your naming is soooo ironic: WorkingSelectionDialog haha :D :D | 12:39 |
*** leinir has joined #harmattan | 12:40 | |
*** leinir has joined #harmattan | 12:40 | |
Venemo | well, it's simple. it's a SelectionDialog which is working. :D | 12:40 |
Venemo | at least, for me :P | 12:40 |
*** snowpong has joined #harmattan | 12:43 | |
djszapi | onCountChanged: selectionContent.listViewHeight = model.count * platformStyle.itemHeight -> onCountChanged: selectionContent.listViewHeight = (model.count === undefined ? model.rowCount : model.count) * platformStyle.itemHeight -> this one then ? | 12:44 |
djszapi | will test it out before sending. If I am not mistaken it should work oob without any own model then. | 12:44 |
djszapi | (if I copy the SelectionDialog and CommonDialog from master) | 12:45 |
djszapi | Venemo: btw, why did you not file a bug back then last summer ? | 12:46 |
Venemo | djszapi, because I knew that it wouldn't be accepted anyway, so I decided not to care | 12:48 |
djszapi | why not ? It is a serious bug fix. | 12:48 |
djszapi | which makes a component usable from useless state for C++ models. | 12:48 |
djszapi | (btw, I modified the two files locally, but not working) | 12:48 |
djszapi | two lines* | 12:48 |
Venemo | eg. look at this merge request that you found. it got accepted but it still hasn't beeen deployed in any releases. correct me if I'm mistaken. | 12:48 |
Venemo | also, NOBODY has tested it. | 12:48 |
Venemo | how could I take a project seriously if noone even bothers to test it once before releasing it? | 12:49 |
djszapi | my patch was tested, but did not get any attention before poking the Nokians... | 12:49 |
djszapi | poking me, and I help for instance. | 12:49 |
djszapi | but sadly, modifying those two lines did not solve the issue :/ | 12:50 |
djszapi | also, why don't we get some console warning or error message if there is no such a property ? | 12:50 |
djszapi | so that making a multiply operation with an undefined thingy ? | 12:50 |
Venemo | I haven't the slighest clue | 12:52 |
Venemo | "I haven't the slighest clue" was the main reason for not submitting a bug report. | 12:52 |
djszapi | Venemo: but the biggest issue is that, it does not still work :/ | 12:52 |
Venemo | I think I sucked with it for a few days and then decided to just set it to a fixed size | 12:52 |
djszapi | you cannot set the people's number to a fixed size since they are dynamic on IRC. | 12:53 |
Venemo | the dialog's size | 12:53 |
Venemo | not the peoples' size | 12:53 |
djszapi | yes, but that is not the current issue. :) | 12:55 |
djszapi | I would be really glad, if it first shows up properly with the elements. | 12:55 |
Venemo | it _is_ the current issue, yes | 12:56 |
djszapi | Venemo: you sure there were no other issues ? It is still broken here after the rowCount ghingie as well. | 12:56 |
djszapi | well, not for me :D | 12:56 |
Venemo | it is, because that's why it doesn't appear. | 12:56 |
*** jluisn has joined #harmattan | 12:56 | |
djszapi | or you are saying they have zero size by default, but the elements are there ? | 12:56 |
Venemo | indeed, something like that | 12:56 |
Venemo | anyway. does your model work with my hacked selection dialog? | 12:56 |
djszapi | well, it is at least 1-2 hours to test, and I do not have that much free time for this. | 12:57 |
djszapi | but it is better to drop my model anyway | 12:57 |
Venemo | it takes 5 minutes to copypaste | 12:59 |
djszapi | less | 12:59 |
*** faenil has joined #harmattan | 12:59 | |
djszapi | but setting up everything is way more | 12:59 |
chris__ | gri, setting static ip from network manager but the save button is greyed out | 12:59 |
djszapi | Venemo: also, there is a nice workaround, ie. setting the height from qml. | 13:01 |
Venemo | djszapi, that's what my hacked stuff does IIRC | 13:02 |
*** xmlich02 has quit IRC | 13:02 | |
djszapi | that is one line hack in qml, not bad. | 13:02 |
djszapi | or rather: anchors.fill: parent; | 13:03 |
faenil | quick OT question: doesn anyone why I'm getting touch event at blocks of 5 in Qt? I get delays of 1ms-1ms-1ms-1ms-80ms-1ms-1ms-1ms-1ms-80ms between events? | 13:03 |
Venemo | that doesn't look nice djszapi | 13:03 |
faenil | know* why | 13:03 |
djszapi | but it is then dismissable. | 13:03 |
Venemo | faenil, dunno, touch events are quite erratic | 13:03 |
djszapi | one line from qml does not look nice ? | 13:03 |
djszapi | I think it is the best workaround ever for an issue imho | 13:04 |
faenil | I'm going trying to get a point out of those delays | 13:04 |
faenil | going mad* | 13:04 |
flat` | ~ | 13:05 |
*** chris__ has quit IRC | 13:05 | |
Venemo | djszapi, nope, the dialog doesn't look nice when you set it to fill... | 13:08 |
*** khertan has joined #harmattan | 13:09 | |
*** M4rtinK has joined #harmattan | 13:09 | |
faenil | yo Venemo | 13:09 |
djszapi | Venemo: why not choose fixed size then ? There are distinct alternatives.. | 13:10 |
Venemo | djszapi, I've chosen a fixed size in my hacked version. but it doesn't cope to other screen resolutions | 13:10 |
djszapi | I would personally prefer as much size sa possible. | 13:10 |
*** Free-MG has joined #harmattan | 13:10 | |
Venemo | faenil, you should not depend on how much time passes between touch events, as it will be different on every device and platform | 13:10 |
faenil | then how am I to calculate the velocity in a pangesture? :P | 13:11 |
djszapi | Venemo: also, it definitely needs to be fixed in MultSelectionDialog and other places in one patch. | 13:12 |
Venemo | djszapi, feel free to | 13:12 |
djszapi | it must also be fixed even for Symbian :D | 13:13 |
*** lucido has quit IRC | 13:14 | |
*** pinheiro has joined #harmattan | 13:16 | |
gabriel9 | howdy | 13:16 |
khertan | Morning | 13:18 |
khertan | Someone know how to set the language in the qtsdk simulator ? | 13:19 |
khertan | the field doesn't seems to be editable | 13:20 |
*** pinheiro has quit IRC | 13:20 | |
*** pinheiro has joined #harmattan | 13:20 | |
*** niqt_ has joined #harmattan | 13:22 | |
*** niqt has quit IRC | 13:23 | |
*** faenil has quit IRC | 13:23 | |
*** lucido has joined #harmattan | 13:27 | |
*** Free-MG has quit IRC | 13:29 | |
*** M4rtinK has quit IRC | 13:30 | |
*** Stecchino_ has joined #harmattan | 13:35 | |
*** Stecchino has quit IRC | 13:36 | |
*** etrunko has joined #harmattan | 13:56 | |
*** etrunko has quit IRC | 13:57 | |
*** etrunko has joined #harmattan | 13:57 | |
*** chris__ has joined #harmattan | 14:05 | |
*** eeanm has joined #harmattan | 14:07 | |
chris__ | : qmlItem = object->findChild<QObject *>("SignatureEnrollment"); but the findChild function returns 0. Are there any alternative ways of doing this? | 14:11 |
chris__ | trying to call a function in the SignatureEnrollment.qml component with this method | 14:12 |
radiofree | chris__: wouldn't you use QMetaObject::invokeMethod to call a method on the qml side? | 14:17 |
radiofree | QMetaObject::invokeMethod(rootObject, "methodName", Qt::DirectConnection, .......) | 14:18 |
chris__ | radiofree, yes but first you need to know the object that has the method that you are calling, therefore first I need to find the SignatureEnrollment object that coressponds to the SignatureEnrollment.qml file but that fails (findChild returns 0) | 14:19 |
radiofree | chris__: component = new QDeclarativeComponent(engine, QUrl("signatureenrollment.qml") | 14:20 |
radiofree | qmlObject = component->create() ? | 14:21 |
chris__ | The component is already ccreated | 14:21 |
chris__ | by pageStackwindow | 14:21 |
*** djszapi has left #harmattan | 14:22 | |
radiofree | well i suppose you can get it from the QDeclarativeView then, rootContext()->contextObject() or something like that | 14:23 |
radiofree | or findChild should work, but don't you have to set "objectName:" on the QML side for that to work (objectName:"SignatureEnrollment") | 14:24 |
zx2c4 | qronic: thanks! | 14:25 |
chris__ | ok peppe helped me out, findChild finds objects in the tree by their objectName property, so I have to set objectName: "SignatureEnrollment: propert | 14:27 |
*** lizardo has joined #harmattan | 14:32 | |
*** trx has quit IRC | 14:32 | |
*** chris__ has quit IRC | 14:36 | |
*** trx has joined #harmattan | 14:36 | |
*** artemma has quit IRC | 14:38 | |
*** lizardo has quit IRC | 14:39 | |
*** chris__ has joined #harmattan | 14:40 | |
chris__ | if I set visible: false on a mouse are is it still accepting input? | 14:42 |
chris__ | MouseArea | 14:42 |
*** artemma has joined #harmattan | 14:44 | |
*** nid0 has quit IRC | 14:48 | |
*** nid0 has joined #harmattan | 14:49 | |
*** lizardo has joined #harmattan | 14:50 | |
*** chris__ has quit IRC | 14:51 | |
*** tbf_ has joined #harmattan | 15:05 | |
*** tbf has quit IRC | 15:08 | |
artemma | Pardon me, but is here anybody who knows aegis a little? | 15:09 |
artemma | I am trying to make manifest request some policies and fail | 15:09 |
artemma | I even created a helloworld prototype that is just a helloworld with the custom manifest yet the policies I want don't seem to be assigned | 15:10 |
artemma | I must be missing something very basic | 15:10 |
*** vladest has quit IRC | 15:11 | |
*** vladest has joined #harmattan | 15:11 | |
*** M4rtinK has joined #harmattan | 15:13 | |
*** Shadikka has quit IRC | 15:16 | |
artemma | or maybe new "boostable" QtCreator wizard somehow broke the aegis manifest integration (path that is actually used may changed) | 15:17 |
*** xarcass has quit IRC | 15:22 | |
artemma | Does anybody know a simple app example with a customer aegis manifest? Can be just a helloworld. I just want to see a compilable project that does request some credentials successfully | 15:22 |
*** chris__ has joined #harmattan | 15:22 | |
jonni | you need to add invoker to have same permissions that your exe is wanting | 15:22 |
artemma | jonni: looks like I am doing it correctly. And by now I also tried launching exactly my binary from the terminal (i.e. without any launcher) | 15:23 |
jonni | (or the applauncherd.bin) | 15:23 |
artemma | still credentials seem to be not assigned | 15:23 |
artemma | or maybe I am checking them incorrectly? | 15:23 |
jonni | pastebin your manifest.aegis somewhere? | 15:23 |
tomma | there is no way to define enumerations in QML? | 15:23 |
artemma | jonni: here you go - http://pastebin.com/9T172CLU | 15:24 |
artemma | tomma: no enumerations in QML. At least not in QtQuick 1.0, don't know abt 2.0 | 15:24 |
artemma | jonni: how do you verify that credentials are actually assigned? | 15:25 |
artemma | I was trying the following line: accli -p `pgrep /opt/aegistrial/bin/aegistrial` -I | 15:25 |
artemma | and the output doesn't contain FacebookSocial and Location that I seem to be requesting | 15:25 |
jonni | artemma: you have /request before the paths, so those bins dont get any credentials | 15:25 |
jonni | artemma: move the /request after the for path lines | 15:26 |
artemma | oh.. | 15:26 |
artemma | that could explain | 15:26 |
artemma | trying :) | 15:26 |
*** Shadikka has joined #harmattan | 15:26 | |
artemma | Hooray! | 15:27 |
artemma | Works | 15:27 |
artemma | I was sure I was missing something very basic | 15:27 |
jonni | tomma: http://taschenorakel.de/michael/2011/07/14/using-c-enums-qml/ | 15:28 |
artemma | jonni: thanks a lot! Spent couple of hours yesterday trying to figure it out :) | 15:28 |
artemma | It is a faulty default manifest generated by QtCreator that was misleading | 15:28 |
*** faenil has joined #harmattan | 15:29 | |
artemma | apparently it only worked because simple apps don't need any credentials | 15:29 |
jonni | well it just creates example manifest without any power | 15:29 |
jonni | thats why there is the sdk documentation that explains the manifest file | 15:29 |
*** diggy has joined #harmattan | 15:29 | |
artemma | yep, unfortunately this sort of typos/mistakes are hard to see (for me at least) | 15:30 |
artemma | you know, I sort of expected the default autogenerated manifest to be lexically correct even if with 0 actual power :) | 15:30 |
tomma | jonni, yeah i know that but sounds pretty stupid to declare few enums in c++ side for simple qml item when qml seems to have enumeration type too... | 15:31 |
tomma | just no way to define them? | 15:31 |
jonni | artemma: http://harmattan-dev.nokia.com/docs/library/html/guide/html/Developer_Library_Developing_for_Harmattan_Harmattan_security_Security_guide_Creating_a_manifest_file_manually_with_Qt_SDK.html#Editing_a_manifest_file_with_Qt_SDK | 15:31 |
artemma | jonni: yes, that was what I was doing | 15:32 |
jonni | tomma: using enums is bad coding practice, maybe thats wh | 15:32 |
artemma | well, anyway, now I know how to do it right. Will probably submit a proposal to improve the default manifest | 15:32 |
artemma | tomma: thing is enums (and any other constants) are quite foreign to JavaScript where everything can change everything | 15:34 |
artemma | you can certainly define your own constants in some custom QtObject | 15:34 |
artemma | and then just remember to never reassign the values | 15:34 |
*** chris__ has quit IRC | 15:34 | |
artemma | that's similar to what I am doing with the app settings that live in the Settings object | 15:35 |
*** djszapi has joined #harmattan | 15:35 | |
djszapi | Hi! Is it accepted in OVI store to restart the pulse in a postinstall script ? | 15:35 |
*** niqt_ has quit IRC | 15:39 | |
admiral0 | djszapi: you agree with me it's not a thing to do though :P | 15:40 |
djszapi | what is the cleaner way for installing a pulse policy file then and take effect immediately ? | 15:41 |
djszapi | (since your app works accordingly) | 15:41 |
admiral0 | djszapi: what about sending pulse a HUP? | 15:42 |
djszapi | That does not solve my issue | 15:44 |
admiral0 | ah | 15:44 |
djszapi | I think it is not a problem to restart pulse, if there is no cleaner way. | 15:45 |
admiral0 | :\ | 15:45 |
admiral0 | not perfect | 15:45 |
djszapi | they will see I install a policy file, so it needs to be restarted to take any effects. | 15:45 |
admiral0 | installing your app -> call -> FUUUUUUUUUU | 15:45 |
djszapi | I don't know about OVI store policies. In my opinion restarting pulseaudio should be allowed because it sucks if the policy changes won't take effect without reboot. Restarting pulseaudio sucks too, but IMO less. | 15:45 |
*** niqt has joined #harmattan | 15:46 | |
faenil | is there any way to get the velocity of a pan gesture? | 15:47 |
faenil | pleeease :D | 15:47 |
admiral0 | use speedometer from /dev/null | 15:47 |
faenil | via qml ... | 15:48 |
*** l32606 has joined #harmattan | 15:48 | |
djszapi | pactl unload-module <index> -> nice. | 15:48 |
admiral0 | ;) | 15:48 |
artemma | djszapi: remember yesteday's issue with requesting aegis rules? jonni helped today: there was a mistake in the default manifest file that I was too stupid to notice | 15:49 |
djszapi | And then just pactl load-module module-policy-enforcement. That <index> obviously can change, so you need to get the exact number for unloading, maybe some awk/sed magic | 15:49 |
djszapi | artemma: you do not need "default" manifest file. | 15:49 |
artemma | djszapi: yes, sure, but that was the starting point. I was editing the defsault one | 15:50 |
admiral0 | awk/sed ? PCRE love 'em | 15:50 |
djszapi | artemma: why would you do that ? | 15:50 |
djszapi | it is simpler from scratch really :) | 15:50 |
artemma | djszapi: what do you do when you try anything for the first time? I usually start from the working example | 15:50 |
artemma | who knew that manifest generated by QtCreator wizard is incorrect | 15:51 |
djszapi | I never did it from the default. | 15:51 |
artemma | incorrect manifest was not something I expected from a HelloWorld wizard :) | 15:51 |
artemma | now I have the next level question | 15:51 |
artemma | I can successfully request root for my app, but when I request same for app launcher aegis minds that | 15:52 |
artemma | Package swypeswitcher: request 'UID::root' for 'applauncherd-launcher::/usr/bin/applauncherd.bin' ignored -- matched by deny rule | 15:52 |
djszapi | please read the documentation. It is explained there. | 15:53 |
artemma | interestingly if I just comment out the applauncher path everything still works and I am able to start my app from app launcher | 15:53 |
artemma | that is fine, but I sort of expected it not to work if I don't request credentials for exactly the launcher | 15:54 |
djszapi | I would love to hold your hands, but the Qt5 API freeze is close enough, and a lot to do on that front.. | 15:54 |
artemma | oh, I read these pages many times yesterday and today, probably still missed something | 15:54 |
faenil | I'm so disappointed about not being able to get a damn velocity of a gesture | 15:54 |
djszapi | yes, there is a separate entry for this issue, actually. | 15:55 |
faenil | android has VelocityTracker, iOS has velocityInView...Qt has: nothing | 15:55 |
artemma | djszapi: I was reading abt need for separate applauncher path | 15:55 |
l32606 | hi, guys! anybody known how can i monitor the dbus method_call using dbus_monitor? i can't do that on N9 but it works on N900 | 15:55 |
artemma | ok, I'll go read again, maybe will come back with the more detailed question | 15:55 |
*** JackaLX has quit IRC | 16:00 | |
lucido | hey szapi, what kind of source are you using in your manifests? | 16:01 |
lucido | djszapi, | 16:03 |
djszapi | huh ? | 16:03 |
lucido | what kind of source are you using in your manifests? | 16:03 |
djszapi | I am sorry, but that does not parse here. | 16:04 |
*** hardaker has joined #harmattan | 16:09 | |
artemma | Suddenly downloads for my Daily Wallpaper for N9 jumped to 6 times of a daily average! That is very cool, but what could the reason be? :) | 16:16 |
artemma | somebody's cool review somewhere? It's a pity ovi store doesn't show from where ppl come to the app's page | 16:16 |
*** zz_gri is now known as gri | 16:28 | |
*** Venemo_ has joined #harmattan | 16:31 | |
*** Venemo_ has joined #harmattan | 16:31 | |
*** Venemo has quit IRC | 16:31 | |
*** Venemo_ is now known as Venemo | 16:31 | |
*** superdump has quit IRC | 16:32 | |
*** jluisn has quit IRC | 16:36 | |
*** Venemo has quit IRC | 16:38 | |
*** djszapi has left #harmattan | 16:39 | |
*** jluisn has joined #harmattan | 16:40 | |
*** mece has left #harmattan | 16:45 | |
*** rm_work has joined #harmattan | 16:52 | |
*** rm_work has joined #harmattan | 16:52 | |
*** benares_98 has joined #harmattan | 17:10 | |
*** jkk_ has quit IRC | 17:16 | |
*** SqRt7744 has joined #harmattan | 17:30 | |
*** zk8 has joined #harmattan | 17:33 | |
*** leinir has quit IRC | 17:35 | |
*** jkk_ has joined #harmattan | 17:36 | |
*** khertan has quit IRC | 17:36 | |
*** lucido has quit IRC | 17:39 | |
faenil | any news about PR1.2 for n950? | 17:41 |
jreznik_work | it's nice :) | 17:42 |
Jare | there are still quite many important bugs on "assigned" status in bugzilla :I | 17:45 |
admiral0 | Jare: hi | 17:48 |
*** khertan has joined #harmattan | 17:49 | |
admiral0 | you were saying about a openvpn GUI | 17:49 |
admiral0 | openvpn requires open mode? | 17:49 |
*** Smtih has joined #harmattan | 17:56 | |
Jare | admiral0: hi, I haven't had time to implement the openvpn automation scripts (and gui) much further. Nokia has assigned the "VPN Client missing" enhancement request about a month ago, so I'm looking a bit forward on that too (https://harmattan-bugs.nokia.com/show_bug.cgi?id=491) | 17:58 |
_MeeGoBot_ | Bug 491 enh, Highest, ---, ext-risto.lahti, ASSI, VPN Client missing | 17:58 |
Jare | admiral0: openvpn works out of the box, no need for open mode | 17:58 |
admiral0 | Jare: if you need a hand, i'm in | 17:58 |
admiral0 | but i'm a busy guy too | 17:58 |
admiral0 | :P | 17:58 |
*** Shadikka has quit IRC | 17:59 | |
*** leinir has joined #harmattan | 17:59 | |
*** leinir has joined #harmattan | 17:59 | |
*** jpnurmi has quit IRC | 18:00 | |
*** petteri has quit IRC | 18:00 | |
*** astraljava has quit IRC | 18:00 | |
*** koelli_ has quit IRC | 18:00 | |
*** Summeli_ has quit IRC | 18:00 | |
*** poutsi has quit IRC | 18:00 | |
*** matrixx has quit IRC | 18:00 | |
*** l32606 has left #harmattan | 18:04 | |
*** artemma has quit IRC | 18:06 | |
Jare | mmkay, maybe I should ask Nokia what they are planning to do. I'm not really interested in implementing a gui from scratch and finding out that Nokia might release their official version "soon" | 18:08 |
Corsac | I'm not sure openvpn is the nicest VPN solution though | 18:09 |
Jare | i might write a little how-to and release the ifup/ifdown scripts, though | 18:09 |
Corsac | I'd prefer something ipsec-based rather than tls based | 18:09 |
Jare | if Nokia is really going to implement something, I'm quite sure it will support ipsec too | 18:10 |
*** Shadikka has joined #harmattan | 18:11 | |
Jare | anyway imo openvpn is great, if you need a roadwarrior vpn solution that will work just about everywhere | 18:12 |
*** djszapi has joined #harmattan | 18:12 | |
*** djszapi has left #harmattan | 18:12 | |
*** artemma has joined #harmattan | 18:13 | |
*** gabriel9 has quit IRC | 18:13 | |
faenil | guys | 18:19 |
faenil | can I make both flickable and mousearea in the same spot receive mouse events? | 18:19 |
admiral0 | also openvpn can run over tcp on port 443 | 18:22 |
admiral0 | distinguish that fascist firewalls | 18:23 |
*** AKBAAR has joined #harmattan | 18:23 | |
*** gri is now known as zz_gri | 18:23 | |
*** AKBAAR has quit IRC | 18:24 | |
*** AKBAAR has joined #harmattan | 18:25 | |
*** IcanCU has quit IRC | 18:33 | |
*** cfetzer has quit IRC | 18:34 | |
*** djszapi has joined #harmattan | 18:36 | |
*** tomyri has quit IRC | 18:37 | |
*** tomyri has joined #harmattan | 18:37 | |
*** AKBAAR has quit IRC | 18:49 | |
*** djszapi has left #harmattan | 18:49 | |
*** zk8 has quit IRC | 19:00 | |
*** niqt has quit IRC | 19:00 | |
*** IcanCU has joined #harmattan | 19:01 | |
*** zz_gri is now known as gri | 19:03 | |
*** djszapi has joined #harmattan | 19:04 | |
*** tomyri has quit IRC | 19:04 | |
*** cfetzer has joined #harmattan | 19:04 | |
*** xTs has joined #harmattan | 19:05 | |
*** Smtih has quit IRC | 19:06 | |
*** tomyri has joined #harmattan | 19:06 | |
SqRt7744 | Hi, I have a qt/c++ model I'd like to assign to a QML view. I know in principle that I should use rootContext->setContextProperty("modelName", Model), but since i try to run it I get a referenceError: ccan't find variable: modelName. Could this be because the rootContext points to the main qml file, but the view is in a qml file loaded from main..? | 19:07 |
SqRt7744 | erm, sorry for typos, hopefully somebody understands what I'm talking about | 19:08 |
leinir | SqRt7744: i take it Model is the name of a class, not an instance of the class? | 19:09 |
*** jreznik_work has quit IRC | 19:10 | |
*** benares_98 has quit IRC | 19:10 | |
radiofree | SqRt7744: yes, you are correct | 19:10 |
leinir | because that won't work ;) | 19:10 |
radiofree | so you'll need to get the qml object to set the context property | 19:10 |
SqRt7744 | well, what I do on the c++ side with setContextProperty is: the first parameter is the modelName (in this case titlesModel) as it appears in the qml view, and the second parameter is an instance of the titlesModel, same way i assign it to a listview on the C++ side, were I to go that route | 19:10 |
radiofree | you you give it an "objectName:" and then use findChild on the rootContext | 19:11 |
radiofree | on the rootObject even | 19:12 |
SqRt7744 | radiofree, ah ok, so I have to search for it first to set the correct rootContext...? I was hoping it would figure that out for me... | 19:12 |
*** benares_98_ has joined #harmattan | 19:13 | |
*** artemma has quit IRC | 19:13 | |
*** benares_98_ is now known as benares_98 | 19:13 | |
SqRt7744 | ok cool will try (i'm porting evopedia which apparently doesn't generate much interest here :-) ) | 19:13 |
djszapi | SqRt7744: we have many other tasks, too :) | 19:14 |
SqRt7744 | ...which entails rewriting the GUI in QML, which is new to me. | 19:14 |
*** spenap has quit IRC | 19:14 | |
SqRt7744 | what are you working on? | 19:14 |
djszapi | SqRt7744: KDE Mobile mostly. | 19:14 |
djszapi | and qt5 | 19:14 |
SqRt7744 | ah ok, nothing harmattan related. | 19:14 |
SqRt7744 | unless you want to run KDE on your phone? | 19:14 |
djszapi | both /are/ ;-) | 19:15 |
*** petteri has joined #harmattan | 19:15 | |
djszapi | yes, they are KDE apps for Harmattan, plus I am experimenting with qt5 on harmattan as well. | 19:15 |
*** aergus has joined #harmattan | 19:16 | |
SqRt7744 | well ok great, good luck with that. | 19:17 |
*** Summeli has joined #harmattan | 19:18 | |
djszapi | and developning an app for sure means we need to patch qt-components a lot ;-) | 19:19 |
*** NIN101 has joined #harmattan | 19:19 | |
*** artemma has joined #harmattan | 19:19 | |
*** Summeli has quit IRC | 19:20 | |
*** Summeli has joined #harmattan | 19:21 | |
itsnotabigtruck | Corsac: ipsec is definitely going to require custom kernel (i.e. open mode) | 19:26 |
itsnotabigtruck | i'm fairly sure it's not built in the stock one | 19:26 |
djszapi | except if you use opensh | 19:26 |
itsnotabigtruck | djszapi: erm, the readme for opensh says it causes aegis to trip | 19:27 |
Corsac | itsnotabigtruck: that's a good point | 19:27 |
Corsac | itsnotabigtruck: but if it's provided by Nokia... | 19:27 |
itsnotabigtruck | going by what other people were saying it sounds like it does have tun/tap compiled in, so layer 5 schemes like openvpn ought to work if you can wrangle the permissions | 19:27 |
itsnotabigtruck | openvpn isn't the only one, i think there's some others | 19:27 |
djszapi | I have a completely open mode package. | 19:27 |
Corsac | # CONFIG_INET_ESP is not set | 19:28 |
djszapi | if opensh is buggy for that function ... well, not my problem :) | 19:28 |
Corsac | prft | 19:28 |
djszapi | Corsac: yeah. | 19:28 |
itsnotabigtruck | djszapi: well, the entire idea behind opensh was to boot into a hacked kernel, load the (integrity-breaking) opensh package, and reboot into the normal kernel, right | 19:28 |
itsnotabigtruck | aegis is built specifically to block stuff like that | 19:28 |
djszapi | that is entirely different concept to mine. | 19:29 |
djszapi | what I was saying, it is not hard at all to make an openmode package and run the stock kernel. | 19:29 |
*** benares_98 has quit IRC | 19:29 | |
itsnotabigtruck | djszapi: then what's your concept...how would one get opensh onto the phone | 19:29 |
itsnotabigtruck | with greater than devmode permissions | 19:29 |
djszapi | very easily. | 19:30 |
*** benares_98 has joined #harmattan | 19:30 | |
*** faenil has quit IRC | 19:30 | |
djszapi | and there is even a bit bigger security risk than completely open kernel mode :) | 19:31 |
itsnotabigtruck | go on... | 19:31 |
itsnotabigtruck | if that's actually possible there's not so much reason to fuss with open mode, except that i haven't seen any mention of this at the usual places or here | 19:32 |
djszapi | because security risks are not advertised until the fix... | 19:33 |
*** elldekaa has joined #harmattan | 19:36 | |
*** jluisn has quit IRC | 19:38 | |
*** cfetzer has quit IRC | 19:38 | |
*** ajalkane has joined #harmattan | 19:39 | |
*** artemma has quit IRC | 19:48 | |
*** elldekaa has quit IRC | 19:51 | |
*** artemma has joined #harmattan | 19:54 | |
*** fuz_ has quit IRC | 19:55 | |
*** fuz_ has joined #harmattan | 20:00 | |
*** heymaster has quit IRC | 20:01 | |
gri | djszapi: Does QtQuick with Qt5 consume less memory? | 20:02 |
djszapi | gri: have not really measured, but I can take a look at that at some point. | 20:03 |
*** heymaster has joined #harmattan | 20:04 | |
*** tbf_ has quit IRC | 20:07 | |
*** Iktwo has joined #harmattan | 20:23 | |
*** arcean has joined #harmattan | 20:25 | |
*** NIN101 has quit IRC | 20:26 | |
rZr | M4rtinK: hi some news on gtk it builds now but not yet usable | 20:30 |
rZr | M4rtinK: wanna help to fix it? | 20:30 |
*** NIN101 has joined #harmattan | 20:31 | |
*** Venemo has joined #harmattan | 20:32 | |
*** Venemo has joined #harmattan | 20:32 | |
*** heymaster has quit IRC | 20:33 | |
*** artemma has quit IRC | 20:34 | |
djszapi | Venemo: I fixed the SelectionDialog ;-) | 20:34 |
rZr | M4rtinK: ie https://build.pub.meego.com/package/live_build_log?arch=armv7el&package=smpeg&project=home%3Arzr%3Adebian&repository=harmattan | 20:35 |
Venemo | djszapi, aww, good news :) what was the solution? | 20:35 |
*** heymaster has joined #harmattan | 20:35 | |
djszapi | Venemo: https://qt.gitorious.org/qt-components/qt-components/merge_requests/1261 | 20:36 |
djszapi | Venemo: Also, I made another patch for accessing the deselectedIndex. Leave a comment there, if you like it. ;-) https://qt.gitorious.org/qt-components/qt-components/merge_requests/1263 | 20:37 |
Venemo | djszapi, and you tested it and it works? | 20:37 |
djszapi | yes | 20:38 |
djszapi | thanks for the comments. Unfortunately, it is not getting into 1.2 :(( | 20:40 |
djszapi | it was rejected for that. | 20:40 |
Venemo | WHOEVER REJECTED IT, I HATE HIM! | 20:40 |
*** artemma has joined #harmattan | 20:41 | |
djszapi | :P :P | 20:41 |
*** coffetime has joined #harmattan | 20:46 | |
Venemo | SRSLY | 20:47 |
djszapi | it is really hard to read the agreement while registering a publisher account. That part of the page is really small, and scrolling inside is really cumbersome... Is it available somewhere else ? | 20:50 |
SpeedEvil | You're not meant to _read_ terms and conditions. | 20:55 |
SpeedEvil | That spoils the whole point, and makes lawyers have to actually pay attention when the write them. | 20:56 |
djszapi | I will copy/paste it out into an editor :) | 20:57 |
*** aergus has left #harmattan | 21:02 | |
SqRt7744 | hmm, I'm getting a segfault and can't figure out why, perhaps someone here has an idea. I'm trying to get a c++/qt model into a qml listview... http://codepad.org/cavZliJZ (a code snippet) | 21:05 |
SqRt7744 | ...and the listview http://codepad.org/2IZvgTQ9 | 21:06 |
ajalkane | SqRt7744: are you sure titlesModel is set to contextRoot for QML? | 21:09 |
ajalkane | SqRt7744: see here http://meegoharmattandev.blogspot.com/2011/11/qmlapplicationviewer-and.html | 21:09 |
gri | wtf, how about rootCtxt->setContextProperty() ? :) | 21:09 |
*** gabriel9 has joined #harmattan | 21:09 | |
SqRt7744 | gri, that didn't work, couldn't find the model (it's in a different file) | 21:10 |
ajalkane | gri: see the blog posting. QmlApplicationViewer did not expose it correctly. | 21:10 |
ajalkane | I don't know if it's fixed in current SDK | 21:10 |
SqRt7744 | ajalkane, yeah, I know about that. It isn't fixed yet, but I modified the code (it's fixed in QtCreator 2.4, but the SDK has 2.3.1 | 21:11 |
gri | strange thing that it works for my application | 21:11 |
gri | but ok, I do use QDeclarativeView directly no QMLApplicationViewer | 21:11 |
djszapi | ajalkane: hi, your post was useful in the beginning, thanks for raising the issue back then :) | 21:11 |
SqRt7744 | gri, I don't know, I added the findChild thing bcs it was complaining that it couldn't find titlesModel | 21:11 |
ajalkane | SqRt7744: Run your program with valgrind to find out what causes the segfault | 21:12 |
SqRt7744 | ajalkane, thanks, I'll try that :-) | 21:12 |
ajalkane | djszapi: well, got lucky that someone from Nokia happened across the posting | 21:12 |
SqRt7744 | gri, yeah, maybe I should move away from the applicationViewer, though it seemed handy at the time, now it's more of a PITA | 21:13 |
*** NIN101 has quit IRC | 21:13 | |
djszapi | ajalkane: you mean the guy previously and me ? | 21:14 |
*** NIN101 has joined #harmattan | 21:14 | |
gri | SqRt7744: https://gitorious.org/web2sms/web2sms/blobs/master/messaging-ui/main.cpp#line52 it seems direct use works :) | 21:14 |
ajalkane | djszapi: I dunno, someone called Andreas Jaki from Nokia made a bug report out of it | 21:15 |
SqRt7744 | ajalkane, what exactly do you mean by "are you sure titlesModel is set to contextRoot..." | 21:15 |
ajalkane | SqRt7744: I mean your code looks weird. | 21:15 |
ajalkane | With all that finding stuff | 21:15 |
ajalkane | you should just need to put it to contextRoot and it's available for all QML | 21:15 |
SqRt7744 | ah, ok, no surpise there. My code always looks wierd. Occasionally it works though, kinding like smearing s**t on the wall occasionally results in a work of art | 21:16 |
djszapi | ajalkane: what do you mean ? | 21:16 |
djszapi | this thingy was fixed in many steps including my last step | 21:16 |
ajalkane | djszapi: https://bugreports.qt.nokia.com/browse/QTCREATORBUG-6490 | 21:16 |
ajalkane | djszapi: oh, you're talking about the SelectionDialog thing | 21:16 |
ajalkane | yeah... I have no real hopes of it getting fixed really. Just needs to hack around it. | 21:17 |
djszapi | ajalkane: it is already fixed | 21:17 |
gri | SqRt7744: btw. there is also a QDeclarativeContext* qmlEngine(QObject*) function | 21:17 |
djszapi | except my last patch, which is not a biggie. Fixed in 2 version bumps though. | 21:17 |
ajalkane | djszapi: not as long as the code is not in device :) | 21:17 |
gri | SqRt7744: erm qmlContext() | 21:17 |
djszapi | ajalkane: it will be pretty soon'ish | 21:18 |
ajalkane | djszapi: that would be nice | 21:18 |
djszapi | just apply two lines out of my patch | 21:18 |
djszapi | and then you are fine in the next version | 21:18 |
ajalkane | djszapi: but you know what's annoying? We can't really use the "fixed" version, because apps have to work even on PR1.0 | 21:19 |
ajalkane | But of course it helps that you can just copy a working version of it into your own project and use it | 21:19 |
djszapi | yes, that is what I was referring to. | 21:19 |
djszapi | also, I added a deselectedIndex property to the SelectionDialog | 21:20 |
ajalkane | SqRt7744: just use rootCtxt->setContextProperty("titlesModel", titleListModel) | 21:20 |
SqRt7744 | ajalkane, I will try that right away | 21:21 |
ajalkane | SqRt7744: and you need to do it before you call viewer->setSource and viewer->showExpanded | 21:21 |
SqRt7744 | ajalkane, actually, what am i talking about. That didn't work, which is why i went for the findChild stuff | 21:22 |
*** jreznik has joined #harmattan | 21:22 | |
ajalkane | You must do it before you call viewer->setSource and showExpanded | 21:22 |
SqRt7744 | ajalkane, really?? WTF, why? | 21:22 |
ajalkane | Because how can it find the contextProperty when displaying it if you haven't set it yet? | 21:23 |
gri | the variable has to exist before your qml source gets parsed | 21:23 |
ajalkane | Dragons are wrecking havoc out there and I'm just talking about coding. Crazy me with my coding obsession. I'll go to save Skyrim now. Later. | 21:24 |
*** ajalkane has quit IRC | 21:24 | |
*** thopiekar has joined #harmattan | 21:27 | |
*** BluesLee has joined #harmattan | 21:28 | |
SqRt7744 | ok, never would have guessed that. Well... partial success. No segfault. But also, nothing much else, the interface still hasn't shown up! I guess the problem is more fundamental. | 21:29 |
*** thopiekar has quit IRC | 21:30 | |
*** djszapiN950 has joined #harmattan | 21:30 | |
*** jluisn has joined #harmattan | 21:40 | |
*** Patina has quit IRC | 21:40 | |
*** Shadikka has quit IRC | 21:41 | |
*** BluesLee has quit IRC | 21:45 | |
*** djszapiN950 has quit IRC | 21:45 | |
*** vladest has quit IRC | 21:47 | |
*** Patina has joined #harmattan | 21:57 | |
*** aergus has joined #harmattan | 21:58 | |
M4rtinK | rZr: any idea what made it work ? :) | 21:59 |
M4rtinK | also, any help is welcome as I don't really have time to work on it (due to all the modRana and Mieru work :) ) | 22:02 |
*** blueslee has joined #harmattan | 22:02 | |
*** snowpong has quit IRC | 22:03 | |
M4rtinK | there might be other interested in the GTK - quite a few people asked me about it already | 22:03 |
M4rtinK | and its a dependency for Hildon :D would be cool if it could also be ported to Harmattan - for running OSM2GO or other orphaned programs with Hildon UI :) | 22:04 |
*** artemma has quit IRC | 22:07 | |
SqRt7744 | when running the N9 simulator, is there a way to add data to it, like put a file in the simulator's home directory that the program running the simulator can use? | 22:07 |
*** Free-MG has joined #harmattan | 22:08 | |
*** djszapiN950_ has joined #harmattan | 22:12 | |
rZr | M4rtinK: i did cleanup some stuff but its still weird | 22:13 |
*** artemma has joined #harmattan | 22:13 | |
*** benares_98 has left #harmattan | 22:16 | |
*** TNZfr has joined #harmattan | 22:17 | |
TNZfr | Hi all | 22:17 |
TNZfr | a little funny bloomberg article | 22:17 |
TNZfr | http://www.bloomberg.com/news/2012-01-22/nokia-lumia-sales-seen-topping-1-million-in-respite-for-stock.html | 22:17 |
TNZfr | 1.4 million of N9 sold | 22:18 |
TNZfr | 1.3 million for the lumia :D | 22:18 |
RST38h | ahhahahahah | 22:18 |
M4rtinK | rZr: a good start anyway :) | 22:29 |
M4rtinK | imho the most important now is to enable virtual keyboard triggering - otherwise its quite unusable on the N9 | 22:30 |
SqRt7744 | ok, what the heck is going on. memory is almost out, swap is full - thanks to valgrind hitting some ugly bug in my code. Can't kill valgrind ... as root "operation not permitted". I restarted the phone, and process is still there! Suggestions on how to kill it would be greatly appreciated. | 22:36 |
SqRt7744 | ..i guess I could apt-get purge, then restart, but that seems a bit drastic | 22:37 |
Tronic | "according to the average estimate of 22 analysts compiled by Bloomberg" => total bullshit. | 22:37 |
Tronic | Nokia does not publish sales figures, unfortunately. | 22:37 |
*** Shadikka has joined #harmattan | 22:41 | |
leinir | Tronic: Well, the sales figures published by other makes are pretty much BS as well... since that only shows how many were shipped out of the factories, not how many are actually in the hands of users | 22:42 |
*** etrunko has quit IRC | 22:43 | |
djszapi | 1.4 M for N9 ? | 22:43 |
SqRt7744 | djszapi, that what the article claims, but i find it a bit hard to believe, to be honest | 22:44 |
djszapi | 2M was the goal... | 22:44 |
SqRt7744 | i was thinking more along the lines of 50-100k | 22:44 |
SqRt7744 | :-) | 22:44 |
djszapi | yeah, it is really a huge number. | 22:44 |
*** djszapiN950_ has quit IRC | 22:45 | |
*** aergus has quit IRC | 22:47 | |
TNZfr | djszapi: 2M was the goal for the lumia if I understood well | 22:51 |
djszapi | I have not clue about the Lumia, just N9 | 22:52 |
*** aergus has joined #harmattan | 22:52 | |
*** blueslee has quit IRC | 22:55 | |
*** coffetime has quit IRC | 22:59 | |
*** gabriel9 has quit IRC | 23:01 | |
*** lizardo has quit IRC | 23:03 | |
*** [XeN] has joined #harmattan | 23:05 | |
*** beford has joined #harmattan | 23:06 | |
*** Corsac has quit IRC | 23:08 | |
*** Corsac has joined #harmattan | 23:08 | |
djszapi | but it might also be that the rumours were wroken, who knows or care :D | 23:12 |
*** SqRt7744 has quit IRC | 23:32 | |
*** djszapi has left #harmattan | 23:35 | |
*** eeanm has quit IRC | 23:35 | |
*** Milhouse has quit IRC | 23:35 | |
*** aikakana has quit IRC | 23:35 | |
*** Milhouse has joined #harmattan | 23:35 | |
*** wirwe has joined #harmattan | 23:36 | |
*** jreznik has quit IRC | 23:36 | |
*** aergus has left #harmattan | 23:39 | |
*** gri is now known as zz_gri | 23:49 | |
*** TNZfr has quit IRC | 23:52 | |
*** gabriel9 has joined #harmattan | 23:54 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!