/srv/irclogs.ubuntu.com/2015/01/05/#ubuntu-app-devel.txt

diego7319hi guys did someone fully created a device?00:17
diego7319i cant idk why00:17
diego7319it download and them just devices show me empty like i didnt do anything before00:18
diego7319any idea?00:23
diego7319logs just show me detecting device00:23
=== chihchun_afk is now known as chihchun
dholbachgood morning08:11
JamesTaitGood morning all; happy Monday, happy new year, and happy Bird Day! :-D09:53
justCarakas1:p09:54
TommyBrunnMorning everyone09:56
=== justCarakas1 is now known as justCarakas
dholbachmhall119, davidcalle just asked about the cookbook section - do we have plans to reenable it?10:12
davidcallemhall119, more specifically this page https://developer.ubuntu.com/en/apps/qml/cookbook/, which had a lot of subpages (non-existent for now on the new site)10:19
gcolluracan anyone reapprove this please? https://code.launchpad.net/~gcollura/ubuntu-calendar-app/fix-1401718/+merge/24541710:45
davidcallemhall119, dholbach, if we keep it, see latest draft for my page proposal.10:47
dholbachthanks davidcalle10:50
=== chihchun is now known as chihchun_afk
=== bzoltan_ is now known as bzoltan
popeygcollura: triggered...11:32
gcollurathanks popey :)11:32
popeynp11:32
=== _salem is now known as salem_
=== tsdgeos_ is now known as tsdgeos
DanChapmanaquarius: hey you about?11:46
aquariusDanChapman, I am11:49
DanChapmanaquarius: so i thought i would try following your contributing guide before editing and i've hit an issue. What if i want to include both a binary and a qml component? Would it just get classed a a binary component and include it? Heres an example of what i mean http://bazaar.launchpad.net/~dpniel/+junk/TabEventSignaler/files/head:/11:51
aquariusDanChapman, nope. If your published branch has both /qml and /qmllib folders, it should get identified as containing both binary and qml components, and ucs install danchapman/YourComponent should include both things in the checkout.11:52
aquariusDanChapman, modulo bugs, of course, but that's how it's supposed to work :)11:52
DanChapmanaquarius: excellent, that should probably get added to the docs then. unless i missed it :-D11:53
aquariusDanChapman, have pushed a doc revision clarifying it :)12:00
aquariusHow do I install intltool-merge in a Kit chroot?12:31
aquariuswhen I switch to trying to build for the emulator, Ubuntu SDK rebuilds the makefiles, and gives the error:   Could not find intltool-merge, please install the intltool package12:31
aquariusI have intltool-merge installed on my actual machine, but I don't think it's in the chroot that the Kit uses12:32
DanChapmanaquarius click maintain under Tools > Options > Ubuntu on the Kit you want to open a shell into then just apt-get it12:32
aquariusooh, good one DanChapman12:34
DanChapman:-)12:34
aquariusalthough clearly that should be *in* the chroot when it's created... but perhaps when I created it there was a bug12:34
bzoltanaquarius:  that is a known issue. Please log in to the click chroot and install that package manually ... or destroy the chroot and recreate12:37
aquariusbzoltan, I have installed it manually, as per DanChapman's instructions12:46
bzoltanaquarius: OK. Do you have 15.04 chroot already?12:48
aquariusbzoltan, nope.12:48
aquariushaha, excellent, have correctly built a component which runs a command from qml and then installed it with one ucs command. :)12:48
bzoltanaquarius:  ahh.. so you do not use the qmake project type?12:48
bzoltanaquarius:  cmake is so 2014 :)12:49
aquariusbzoltan, the point is: this project is pure QML. No cmake, no qmake. I create a pure qml project, type "ucs install sil/CommandExec", and that pure qml project can now run command-line commands with *no* compilation or qmake or anything involved.12:50
aquariusI am a happy person that this works :)12:50
aquariusand it works in the emulator, too. Rock.12:50
bzoltanaquarius: sounds good :)12:51
aquariusit is good.12:51
aquariusnow we build a library of components12:51
aquariusand then when someone says "how do I build a QML project which can do this thing that QML can't do", my answer will be "ucs install SomeComponent" and that's it. They don't need to compile anything, don't need to use qmake, don't need any of that. Winner.12:52
DanChapmanaquarius: +1 to that12:52
aquariusthat's my primary goal for the ubuntu component store; allow qml programmers access to stuff without them having to write or know or even include any C++.12:53
aquariuspure qml apps ftw :)12:53
aquariusthis oughta cheer nik90_ up too :)12:53
bzoltanaquarius:  would you brief me about that ucs stuff? Sounds like an interesting tool.13:09
aquariusbzoltan, certainly. Think of it like pip or npm or gem -- component developers can publish a component which does some useful reusable thing (a nice QML Item, a small extension plugin to access the OS in a way pure QML doesn't allow). App developers can then "ucs install ComponentName" inside their project, which downloads and adds that useful component to their project so they can start using it.13:12
aquariusit's a repository, a marketplace, for people to publish reusable components so that everyone can use them for building Ubuntu SDK apps.13:13
aquariusbzoltan, you can read the docs if you like. http://bazaar.launchpad.net/~sil/component-store/community-components/view/head:/docs/index.rst is where it starts; then read install.rst and contribute-*.rst at http://bazaar.launchpad.net/~sil/component-store/community-components/files/head:/docs/. There are live docs for the old version, which only contains what we call "Curated components", on readthedocs, but y13:13
aquariusou should read the ones in LP for now until we get it all sorted.13:13
bzoltanaquarius:  cool.  I have such mechanism in my plans too :)13:14
aquariusway ahead of you, pal. :)13:14
aquariusbut we're happy to take contributions to ucs :)13:14
aquariusI'd very much like someone from the SDK team to spend some time looking at the best way to integrate downloaded components into an existing project.13:15
aquariusbut right now today you can create a pure QML project, type "ucs install sil/CommandExec", then add "import ubuntu_component_store.sil.CommandExec 1.0" and "Launcher {id: l}; Label { text: l.launch('ls'); }" to main.qml, and it works.13:16
aquariusOne of my longer-term goals is to see ucs integrated directly into the GUI SDK experience :)13:16
aquariuswe'll have the ucs command line tool in a PPA for you to use shortly; nik90_'s working on that, hero that he is.13:17
bzoltanaquarius:  that is a brilliant project. I like it....13:18
bzoltanaquarius:  since the beginning of the click story I was flagging out the lack of possibility for collaboration. We were outlining with zbenjamin similar idea. But good to see that you actually have reached that far. good job13:20
bzoltanaquarius:  one blocker for integrating it to the IDE is actually the qmlproject and cmake project types ... neither of these support dynamic project extension the way we want13:21
bzoltanaquarius:  So I did not want to push this feature before we fixed the qmake support ... now as qmake is back, it is possible to extend a project the way ucs does it.13:22
aquariusbzoltan, my primary goal, as noted, is pure QML projects, but ucs works with qmake projects as well; we add a QMAKE_POST_LINK line13:23
aquariusbut there may be a better way to do it; I'm happy to spend some time explaining how ucs works to your team and then they contribute a better way of integrating into qmake (and cmake) projects if possible!13:23
bzoltanaquarius:  the pure QML projects does not necessarily  mean .qmlproject, you can make non builded qmake projects...13:23
aquariusright; this is why I added qmake integration as well13:24
bzoltanaquarius: with cmake it would be pain ... dynamic extension of cmake project is not trivial ... if doable at all13:24
bzoltanaquarius:  and the problem with qmlproject type is that it is not processed at all.. so i18n support is busted for .qmlproject13:25
bzoltanaquarius:  so, keep it secret :) but qmake is the way to go13:25
aquariusnot sure I agree; we've roughly got it working. Essentially, all that's needed is to copy the ubuntu_component_store folders into the build target, which is doable by giving those folders their own CMakeLists.txt (which DanChapman helped me with) and adding them as subfolders to the top level CMakeLists.txt. So that roughly works, now13:25
aquariusbut I'm totally happy to hear about better ways to do it, as long as it maintains the principle that all you have to do is "ucs install <whatever>". No manual configuration. :)13:26
bzoltanaquarius: that is fine in cli but not possible from the IDE13:26
aquariusworking *with* the SDK team is better because perhaps the Ubuntu templates can be tweaked to be "ucs friendly".13:26
bzoltanaquarius:  We can contribute to the ucs project and I would be happy to take under the official Ubuntu SDK umbrella if it does everything the right way ... so no hackarounds :)13:28
aquariustotally13:28
aquariusthat's basically one of my eventual goals for it. :)13:28
bzoltanaquarius:  it is great, I am in13:29
gcollurabzoltan, why hasn't jenkins tested my MP yet?13:29
bzoltangcollura:  no idea ... let  me check around13:29
bzoltanaquarius:  few requirements i would have (maybe you addressed them already) ... like for example the ucs supports versioned components. There is error management of   the components, etc13:31
aquariusversioning, yes.13:32
aquariuswhat do you mean by "error management"?13:32
dholbachmhall119, could you explain how to to redirects again? I'm asking because of https://bugs.launchpad.net/developer-ubuntu-com/+bug/140719813:32
ubot5Launchpad bug 1407198 in Ubuntu App Developer site "http://developer.ubuntu.com/en/resources/platform/unity/ page does not exist" [Medium,New]13:32
bzoltanaquarius:  I am an app developer, I am using your lame ass OS API component ... nik90_ find a bug in that component ... I open my IDE in the morning, load my cool app (what is using your lame ass component) and a dialog (or whatever) pops that the component has a critical bug and maybe even a fixed new version... stuff like that.13:34
bzoltanaquarius:  needles to say that if we have ucs install component then we might want ucs uninstall component too13:34
aquariusbzoltan, ah, right. "ucs update bzoltan/LameComponent" will update it, certainly. Having the project detect that updates are *available* requires IDE integration, which needs your team's help :)13:35
aquariusbut that's perfectly reasonable to do; basically, have the IDE just run "ucs are-there-updates" (or whatever we call the command)13:35
aquariusyeah, I don't have ucs uninstall yet. It's on the list. :)13:35
bzoltanaquarius:  it could be important .. specially if we want a central roll back mechanism .. like you evil aquarius put a spyware in your component and hundreds of developers start to install it .. but we figur it out and we want to send out a signal to pull it off from the project ... or at least to drop a warning ... could be part of the click-reviewers-tools13:37
* bzoltan got to go now for an hour13:37
dholbachdavidcalle, I started using a "redirect" tag for places where we might need to add a redirect.13:43
aquariusbzoltan, yeah, that sort of thing might be useful.13:43
davidcalledholbach, good idea, will use it13:44
=== Pici is now known as Guest50504
=== Pici` is now known as Pici
aquariusbzoltan, the other nice thing is that if components are standardised, because we're all using ucs, and a malicious component is found, then you can scan apps for it *in the app store* and block them from being downloaded, and inform the developers.13:55
=== Pici is now known as Guest63806
dholbachhey jdstrand, happy new year14:21
=== Pici` is now known as Pici
jdstranddholbach: happy new year :)14:21
dholbachjdstrand, not sure if you saw it or just got too busy end of last year, but I added a branch to bug 1395204 which might serve as a basis (no added tests, might need a sanity checks of the assumptions)14:22
ubot5bug 1395204 in Canonical Click Reviewers tools "Click review rejects multi-arch clicks" [High,Triaged] https://launchpad.net/bugs/139520414:22
jdstrandI did see it, thanks!14:22
dholbachok cool :)14:22
dholbachmhall119, davidcalle: not sure... do we plan to (over time) bring back old blog entries? (https://bugs.launchpad.net/developer-ubuntu-com/+bug/1404426)14:23
ubot5Launchpad bug 1404426 in Ubuntu App Developer site "A page is missing from developer forum" [Low,Triaged]14:23
bzoltanaquarius:  where these ucs components will be stored?14:28
davidcalledholbach, one way to alleviate the issue would be to put more stuff in the 404 page: maybe a few links to frequently asked topics eg. how to package, publish, etc.14:29
aquariusbzoltan, Launchpad. See the docs. :)14:29
dholbachdavidcalle, sure, that'd make sense in any case - we should probably file a bug for it :)14:29
=== salem_ is now known as _salem
mhall119dholbach: create a new page, then go to Advanced Settings to set the redirect target14:32
mhall119dholbach: I don't know if it will redirect off-site though14:33
dholbachmhall119, that's good to know14:35
dholbachthanks14:35
dholbachdavidcalle, ^14:35
davidcallemhall119, oh nice, thanks14:36
dholbachmhall119, are they going to show up in the navigation somewhere?14:36
mhall119dholbach: you can tell it not to show in the menu, then it won't14:36
dholbachgreat14:37
dholbachwhen we changed the IA we broke bucketloads of links14:37
mhall119davidcalle: as for cookbooks, I don't think they worked out as well as we had hoped, I'm happy to leave them off until we find a better way of accomplishing that goal14:37
mhall119dholbach: I know :(14:38
davidcallemhall119, ok14:38
dholbachmhall119, the content from https://developer.ubuntu.com/api/qml/sdk-1.0/Ubuntu.Components/ is from ubuntu-ui-toolkit, right?14:50
rickspencer3kalikiana_, I had a couple more questions about u1db, around at all?14:55
mhall119dholbach: yes14:56
dholbachthanks14:56
rickspencer31. I noticed that on the desktop it takes quite a while for my database to be created14:56
rickspencer32. I'm not sure how to create a new document in the correct way, especially as I want to return the docId when I create it14:56
=== Guest93916 is now known as balloons
mhall119rickspencer3: for #2, this is how I did it: http://bazaar.launchpad.net/~mhall119/memebook/trunk/view/head:/main.qml#L12114:58
* rickspencer3 looks14:58
=== _salem is now known as salem_
rickspencer3hmmm, that looks easy14:59
=== salem_ is now known as _salem
mhall119Elleo: PodBird is fantastic15:00
Elleomhall119: glad you like it :)15:00
Elleomhall119: got a few more improvements planned when I next get some time spare :)15:01
mhall119now I can feed my Serial addiction from my own phone15:01
Elleohehe15:01
dholbachdavidcalle, for redirect pages, I added "(Redirect)" to the page title, so nobody goes and deletes them15:01
dholbachdavidcalle, in the comment field (or meta something) I added info the the bug in question15:02
dholbachmhall119, can I make /showdown/apps/ a redirect to /showdow/?15:03
dholbachmhall119, can I make /showdown/apps/ a redirect to /showdown/?15:03
dholbachin the past it looks like we had a page there which listed the winners or participants or something15:03
dholbachmhall119, hum... I can't find the showdown page15:06
dholbachmhall119, did anything change wrt login/editing? for some reason I have to log in every now and then again15:07
=== _salem is now known as salem_
kalikiana_hey rickspencer315:15
kalikiana_what's up15:15
rickspencer3hey kalikiana_15:15
rickspencer31. I noticed that on the desktop it takes quite a while for my database to be created15:15
rickspencer3this makes testing a nuisance15:15
rickspencer3it seems to get set up faster on the phone, and once set up, runs well, so for a real install, it's only an issue at first run15:16
rickspencer3but when I am making chances and running unit tests, it's a bit off a drag :/15:16
kalikiana_rickspencer3: what version do you have? there was a fix for database creation in 0.1.5+14.10.20140716-0ubuntu115:18
rickspencer3kalikiana_,  what is the package name?15:19
kalikiana_rickspencer3: qtdeclarative5-u1db1.015:22
=== salem_ is now known as _salem
rickspencer3kalikiana_, I have Version: 0.1.5+14.10.20140716-0ubuntu115:26
dholbachjdstrand, beuno_: does https://code.launchpad.net/~dholbach/click-reviewers-tools/1390163/+merge/244875 look good to you? shall we do another release to vivid afterwards and backport to the sdk stable ppa?15:26
dholbachor do you have changes lined up?15:26
beuno_dholbach, I deploy to the server on demand15:27
=== beuno_ is now known as beuno
dholbachbeuno, ok15:27
dholbachthanks15:27
beunoit does look good, the askubuntu question can be iterated on if needed15:27
kalikiana_rickspencer3: do you have something I can test?15:28
rickspencer3kalikiana_, sure, it's the database I showed you last time15:29
* rickspencer3 gets link15:29
rickspencer3kalikiana_, http://bazaar.launchpad.net/~rick-rickspencer3/+junk/fairedescourses/view/head:/components/ShoppingDatabase.qml15:30
balloonsmzanetti, did you get sorted with reminders and qtorganizer? you want to talk to respato i'd guess15:32
rickspencer3kalikiana_, mhall119 so, when I use putDoc on a new doc, is the return value the revision, or the new docId? if the former, how do I get the docId?15:34
mihirhey balloons :)15:34
jdstranddholbach: it looks fine15:35
dholbachjdstrand, thanks - how about doing a release to vivid and backport to the sdk release ppa?15:36
dholbachany objections?15:36
balloonshey mihir!15:37
mihirhey balloons happy new year , how are you ?15:37
mihirdholbach: happy new year :)15:37
dholbachhey mihir - and the same to you too!15:37
jdstranddholbach: no, not really. I have a number of things I'd like to fix, but we can do another release15:37
dholbachgreat, thanks15:37
mihirdholbach: thank you :) IRC was missing everyone in vacation hehe15:37
dholbach:)15:37
balloonsmentally refreshed, thanks, mihir15:37
mihirhehehe :D15:38
kalikiana_rickspencer3: putDoc returns the revision - if you need to know the docId, you need to pass it15:41
rickspencer3kalikiana_, so I need to make up a docId before hand?15:42
rickspencer3fair enough15:42
kalikiana_rickspencer3: what's your use case?15:42
rickspencer3kalikiana_, user adds a new item to the database, and then the item is automatically activated15:43
rickspencer3(for example)15:43
rickspencer3kalikiana_, it's ok, i assume I can use a random number and then make sure it's not in use before hand15:43
kalikiana_rickspencer3: wouldn't you set active:true in the contents you pass?15:44
rickspencer3kalikiana_, no, because I only sometimes want to activate it, depending on certain conditions15:44
kalikiana_so when do you know to activate it?15:45
rickspencer3kalikiana_, currently, my test does it after calling the function that creates it15:45
rickspencer3kalikiana_, also, if I have the docId, I can easily write a test to ensure that creating the item worked15:46
rickspencer3it was easy to create a random docId, fwiw15:49
rickspencer3and the test is passing now :)15:49
kalikiana_cool15:49
=== sephiap_ is now known as sephiap
rickspencer31.16:03
rickspencer3oops, wrong window :)16:04
=== sergiusens_ is now known as sergiusens
snizzomhall119: I got a problem with an app that I published16:18
snizzoI published a click package with version 0.1 but wrong package name: got rejected. uploaded an other click package with correct package name and version 0.1. System published my wrong click package with version 0.1. I uploaded an other click with 0.1.1 version and correct package name. It says it's all fine and passed review but it doesn't publish that version because is "awaiting review".16:21
snizzoand the ubuntu store still ships the wrong click with the wrong package name16:21
=== _salem is now known as salem_
rickspencer3mhall119, btw, did you see that your code shouldn't be: var docId = db.putDoc(JSON.stringify(meme));16:45
rickspencer3but should be var rev = db.putDoc(JSON.stringify(meme));16:45
rickspencer3(not that it matters, I see that you don't actually use the return value elsewhere)16:45
balloonssnizzo, it passed review? are you sure?16:48
snizzoballoons: version 0.1 no, version 0.1.1 yes16:49
snizzobut 0.1 is published16:49
snizzoti doesn't seem correct to me16:49
balloonsapp?16:49
mhall119rickspencer3: yes I did16:49
mhall119rickspencer3: I have a bunch of other things wrong with that app atm, so I'll add it to me list :)16:49
rickspencer3lol16:49
snizzoballoons: tube mp3 downloader16:50
mhall119snizzo: what's the app?16:50
snizzomhall119: com.ubuntu.developer.reavsoft.mp3downloader16:52
mhall119snizzo: hmm, I don't see it in the list of apps waiting on review, can you PM me the myapps link to it?16:53
om26errenatu, Hi!17:12
renatuom26er, hi17:14
om26errenatu, can you inspect this crash and see if the logs are of any use ? https://errors.ubuntu.com/oops/b47f934a-8762-11e4-84a6-fa163e4ccdf217:14
renatuom26er, how I can reproduce it?17:17
om26errenatu, thats a million dollar question17:17
renatuis this happening in your device?17:18
aquariushow do I debug content-hub stuff? In particular, I'm trying to make an app show up in the web browser's Share menu, and it isn't; where do I begin to try to work out why it doesn't?18:09
AkivaAvrahamaquarius, debug content hub? mmmm good question.18:10
AkivaAvrahamaquarius, short answer; I don't know.18:11
aquariusAkivaAvraham, I don't, either :(18:13
AkivaAvrahamaquarius, btw; what app is this?18:14
aquariusAkivaAvraham, a trivial app which appears in the web browser's Share menu and receives URLs, which it will then load in Readability.18:15
aquarius(because I can't have a readability bookmarklet :( )18:15
AkivaAvrahamaquarius, do me a favour, and when you finish it, could you post it to http://www.reddit.com/r/ubuntuappdev18:15
AkivaAvraham?18:15
AkivaAvrahama screenshot, or anything18:15
aquariusAkivaAvraham, sure18:16
AkivaAvrahamaquarius, :)18:16
aquariusshould I post details of other apps I've written?18:16
AkivaAvrahamaquarius, mega yes!18:18
aquariusAkivaAvraham, ok, if I get a chance, I shall18:21
AkivaAvrahamaquarius, many thanks; helps the platform18:22
aquariusAkivaAvraham, ok, submitted Riddling; I'll do the others once Reddit lets me.18:24
AkivaAvrahamheh18:24
AkivaAvrahamaquarius, and for your flair, choose your language that you love most. :)18:25
aquariushm. can't work out for the life of me why my app doesn't show up in the web browser Share box :(18:42
AkivaAvrahamaquarius, have you thought of pming or filing a bug at the webbrowser-app?18:42
AkivaAvrahamaquarius, from my experience, the developer is really good at getting back to you quickly.18:43
aquariusit's not a webbrowser problem -- it's a content-hub problem. I may be registering my app wrong, but I have no idea how to work that out :(18:43
aquariusI'd ping kenvandine but he's not around18:43
* AkivaAvraham has no experience with content-hub18:43
aquariusmhall119, who knows about the content-hub other than ken?18:43
aquariusahahahaha!18:51
AkivaAvraham?18:51
aquariusto appear in the share menu you have to declare yourself ready for "share" in your content hub json file!18:52
aquariuswhich I discovered from http://bazaar.launchpad.net/~ken-vandine/+junk/hub-importer/view/head:/content-hub/hub-importer.json18:52
aquariusand not from the documentation because the docs do not mention it AT ALL18:52
aquariusI shall update my docs bug, mhall119 :)18:52
AkivaAvraham:O18:52
TommyBrunnWhat's the recommended device to get for development? I was looking to pick up a Nexus 4, but it's getting kind of old, so I'm a little worried that it's going to be unsupported in a few months.19:30
mhall119TommyBrunn: Nexus 4 is still the development device of choice as far as I know19:41
mhall119I don't see us dropping support for that anytime soon, so many of us at Canonical have one for testing/development purposes19:42
aquariusdaker, ping: how can I tell if an Oxide webview has finished loading?19:49
mhall119Wellark: ping about Ubuntu.Connectivity API19:49
mhall119aquarius: https://developer.ubuntu.com/api/qml/sdk-14.10/Ubuntu.Web.WebView/#loading-prop will be false19:49
aquariusmhall119, ah, does oxide have that as well?19:50
TommyBrunnmhall119 Alright, great.19:50
mhall119aquarius: Ubuntu.Web.WebView is Oxide, AFAIK19:50
aquariusmhall119, ah, ok, cool :)19:50
aquariusthank you!19:51
mhall119np19:51
AkivaAvrahamnik90_, happy new year. meant to say that here19:58
AkivaAvrahamZ3, o/20:01
AkivaAvrahamZ3, and here too http://www.reddit.com/r/ubuntuappdev20:01
Z3AkivaAvraham Thank you! :)    I have a short question: can you insert a Google AdMob banner inside an Ubuntu Touch app?20:02
AkivaAvrahamZ3, I would imagine so. I havn't personally seen any that do that thus far though, considering I tend to work only in my own apps and the core apps.20:03
Z3AkivaAvraham ok, thank you again :)20:04
AkivaAvrahamZ3, what kind of apps do you develop?20:04
AkivaAvrahamdo you have any experience with the ubuntu sdk?20:04
aquariusnik90_ or daker, can I intercept a navigation request in Oxide and not do it?20:06
aquariusI can do that by injecting a user script, but that's a vicious hack20:06
Z3AkivaAvraham I developed C, PHP and Java applications, now I just begin to develop Android apps in my spare time. I have no experience still with the SDK20:06
* AkivaAvraham hates javascript regex, for being different than what he is used to.20:07
AkivaAvrahamZ3, QML is a joy to use. A lot of fun.20:07
AkivaAvrahamand of course there is Qt. The sdk makes for a good c++ ide if you are interested in that.20:08
Z3AkivaAvraham great, I will learn about that in the future :)  I have to go, have a nice day !20:09
dakeraquarius: using networkRequestDelegate20:09
AkivaAvrahamo/20:09
aquariusdaker, is that documented anywhere? :)20:09
dakeraquarius: here :) http://daker.me/2014/05/how-to-use-oxide-in-your-ubuntu-qml-application.html20:10
aquariusdaker, that only explains how to add extra headers to an existing request -- not to cancel it :(20:10
dakeraquarius: what do you want to achieve ?20:11
aquariusdaker, when someone clicks a link in my Oxide widget, I want to stop Oxide navigating there, and instead have the app Qt.openUrlExternally the URL so it opens in the browser.20:12
aquariusdaker, so, in my networkdelegateworker I'll stop the request, then send a message to the main app with the url it was going to navigate to, which will then open the URL in the browser.20:13
aquariusbut I don't know how to (a) stop the request (b) get the URL it was going to.20:14
aquariusI know how to do it with actual webkit, but not with the qml wrapper :P20:14
dakeraquarius: 1sec20:14
dakeraquarius: is the link that the user will click on it is known ?20:15
aquariusdaker, nope -- I want to trap any navigationRequest from Oxide20:18
DanChapmanaquarius: in dekko in the onNavigationRequested: {} we set request.action = 255 (where 255 == OxideQNavigationRequest::ActionReject) and Qt.openUrlExternally(request.url)20:18
aquariusaha! onNavigationRequested!20:18
aquariusthat's what it's called in real embedding too :)20:18
aquariushow are you finding out that these handlers exist, man?20:18
aquariusare you browsing the oxide source?20:19
DanChapmanaquarius: yeah browsing the source is the only real way at the moment, the docs only cover basic usage + a bit..20:20
* aquarius does the sad face20:21
dakeraquarius: WIP http://paste.ubuntu.com/9678538/20:21
aquariusdaker, ya, it all works here, nice one :)20:24
dakeraquarius: http://paste.ubuntu.com/9678561/20:27
dakeraquarius: for me i always take a look at MRs from Alex & osomon20:34
* aquarius submits Readability app for review.21:07
aquariusand there it is in the store!21:07
aquariusnice.21:07
aquariusnow it's easy to read websites, hooray.21:08
aquariushasn't shown up in bhdouglass's store yet :)21:09
daker:)21:13
=== salem_ is now known as _salem
ahoneybunHey TommyBrunn and ahayzen22:17
ahayzenahoneybun, yo22:18
TommyBrunnHey22:18
ahoneybunsu22:18
ahoneybun*p22:18
* ahoneybun needs to get a new linux laptop22:18
aquariusdaker, do you know if "install this webpage as an app" is going to arrive? I really hope it does...23:04
dakeraquarius: sorry i don't, maybe it's going to be done by Alex & oSomon23:05
aquariusI have been hoping for it for Some Time :)23:06
aquariusand Android now does it23:06
aquariusand it's a jolly good way to get more things like apps23:06

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!