*** ppenz has quit IRC | 00:13 | |
*** ppenz has joined #maemo-devel | 00:18 | |
*** SpeedEvil has quit IRC | 00:35 | |
*** ppenz has quit IRC | 00:35 | |
*** SpeedEvil has joined #maemo-devel | 00:36 | |
*** DocScrutinizer51 has quit IRC | 00:43 | |
*** Docscrutemp has joined #maemo-devel | 00:43 | |
*** Docscrutemp is now known as DocScrutinizer51 | 00:43 | |
*** DocScrutinizer51 has quit IRC | 00:52 | |
*** Docscrutemp has joined #maemo-devel | 00:52 | |
*** Docscrutemp is now known as DocScrutinizer51 | 00:52 | |
simoneb_ | when i start a dbus connection with osso_get_dbus_connection() .... do i need to stop/dealloc it? (how?) | 01:12 |
---|---|---|
*** lbt has quit IRC | 01:33 | |
*** DocScrutinizer51 is now known as DigitalPioneer | 01:52 | |
*** DigitalPioneer is now known as DocScrutinizer51 | 01:52 | |
*** t7g_ has quit IRC | 02:01 | |
*** DocScrutinizer51 has quit IRC | 02:03 | |
*** Docscrutemp has joined #maemo-devel | 02:03 | |
*** Docscrutemp is now known as DocScrutinizer51 | 02:03 | |
*** woglinde has quit IRC | 02:06 | |
*** BabelO has quit IRC | 02:13 | |
*** t7g_ has joined #maemo-devel | 02:14 | |
*** VDVsx has quit IRC | 02:15 | |
*** DocScrutinizer51 has quit IRC | 03:12 | |
*** Docscrutemp has joined #maemo-devel | 03:12 | |
*** Docscrutemp is now known as DocScrutinizer51 | 03:13 | |
*** simoneb_ has quit IRC | 03:48 | |
*** slonopotamus has quit IRC | 03:52 | |
*** slonopotamus has joined #maemo-devel | 03:53 | |
DocScrutinizer | well I got not the slightest idea about dbus coding. What I know however is that resource allocation in FreeSmartphone.org framework (e.g. via fsoraw wrapper) is completely transparent even to segfaults and kill -9. So obviously dbus notices a client vanishing even when it doesn't have any chance to dealloc/stop | 04:13 |
DocScrutinizer | btw a brilliant feature of dbus for tasks like allocating hw resources | 04:14 |
*** slonopotamus has quit IRC | 04:44 | |
*** slonopotamus has joined #maemo-devel | 04:46 | |
*** zgold has quit IRC | 05:22 | |
*** Pavel has quit IRC | 06:09 | |
*** odin_ has quit IRC | 06:14 | |
*** DocScrutinizer51 has quit IRC | 07:32 | |
*** Docscrutemp has joined #maemo-devel | 07:32 | |
*** DocScrutinizer has quit IRC | 07:32 | |
*** Docscrutemp is now known as DocScrutinizer51 | 07:32 | |
*** DocScrutinizer has joined #maemo-devel | 07:32 | |
*** Ken-Young has joined #maemo-devel | 08:08 | |
Ken-Young | Does anyone know where I might be able to find the source code for the hildon widgets? | 08:12 |
DocScrutinizer | there's a few closed source, and a few in extras-devel which for sure are OSS | 08:21 |
Ken-Young | DocScrutinizer, Thanks - I'll check out extras-devel. | 08:23 |
DocScrutinizer | command line execution widget comes to mind | 08:24 |
DocScrutinizer | the weather widget e.g. is closed for all I know | 08:25 |
Ken-Young | I;m looking for the hildon_time_button_new source code, because I want to make something like it for latitude and longitude. | 08:26 |
DocScrutinizer | never heard of it | 08:26 |
Ken-Young | So I'm not actually looking for the desktop widgets. | 08:26 |
DocScrutinizer | aah | 08:27 |
Ken-Young | It's a GUI widget - the one used to set the time for alarms in the CLock app. | 08:27 |
DocScrutinizer | sorry | 08:27 |
SpeedEvil | And is an example of shiny over functionality. Sure - watching the numbers whiz by is exciting the first time you set the time. By the tenth time, you've decided that you'd rather actually have a seperate minutes and tens of minutes 'wheel'. | 08:42 |
SpeedEvil | Not to mention how the interface sucks for date - with no day visible. | 08:42 |
Ken-Young | SpeedEvil, Yeah, but I have to enter times and dates somehow, and the GTK spin box widgets are broken - the arrows do not appear (which are supposed to allow selection with a stylus or finger) and text cannot be entered with the hardware keyboard (only the soft one). So if I don't use the gaudy hildon widgets, what am I supposed to use? | 08:44 |
SpeedEvil | Sure. | 08:45 |
SpeedEvil | Sorry - no idea how - or if it's possible to use the hildon ones. | 08:45 |
SpeedEvil | And yes - that's ideally how you'd do it. | 08:45 |
Ken-Young | SpeedEvil, Oh, the hildon ones *work*, but I agree with your comments about them. | 08:46 |
SpeedEvil | In that it's probably less bad than rolling your own. | 08:46 |
SpeedEvil | For the user. | 08:46 |
Ken-Young | And, of course, I'll probably have to change everything to Qt eventually. | 08:48 |
* SpeedEvil goes back to sleep. | 08:51 | |
SpeedEvil | Good luck! | 08:51 |
Ken-Young | Thanks | 08:51 |
*** lbt has joined #maemo-devel | 10:22 | |
*** t-tan has joined #maemo-devel | 10:30 | |
*** slonopotamus has quit IRC | 10:39 | |
*** slonopotamus has joined #maemo-devel | 10:43 | |
*** Acedip has joined #maemo-devel | 10:44 | |
*** Acedip has quit IRC | 10:52 | |
*** Acedip has joined #maemo-devel | 10:53 | |
*** Acedip has quit IRC | 11:24 | |
*** slonopotamus has quit IRC | 12:10 | |
*** JPohlmann has joined #maemo-devel | 12:14 | |
*** BabelO has joined #maemo-devel | 12:32 | |
*** BabelO has joined #maemo-devel | 12:32 | |
*** ieatlint has quit IRC | 13:04 | |
*** ieatlint has joined #maemo-devel | 13:16 | |
*** rsalveti has joined #maemo-devel | 13:49 | |
*** simoneb_ has joined #maemo-devel | 14:25 | |
*** cpasjuste is now known as Cpasjuste | 14:31 | |
*** Acedip has joined #maemo-devel | 17:04 | |
simoneb_ | ok so i've started an application with hildon_mime_open_file_with_mime_type ... which happens to be osso_notes ... now, i'd want to read what the user has written with osso_notes when he closes osso_notes, BUT osso_notes is executed asynchronously, so i'd have no other choice that polling (like getting osso_notes's pid and waiting for it to disappear, or something like that) which isn't really nice to do... is there | 17:10 |
SpeedEvil | do... is there | 17:10 |
lcuk | simoneb_, what are you wanting them entering notes for? | 17:10 |
lcuk | ie, what purpose after they are done | 17:11 |
simoneb_ | i'm writing a widget for notes, like yellow notes | 17:11 |
simoneb_ | you click on the widget, osso_notes starts, so you can edit the text | 17:12 |
* lcuk does stuf like that :) | 17:12 | |
simoneb_ | i'd want to load the text when osso_notes is closed | 17:12 |
lcuk | what if they make multiple notes | 17:12 |
lcuk | or clear the one you are expecting? | 17:12 |
lcuk | and start a new one with new name | 17:12 |
simoneb_ | so, i think the best way would be to launch osso_notes synchronously, and read the file when it's finished | 17:13 |
simoneb_ | well i can't display more than one note, so you can also have one note at a time | 17:13 |
simoneb_ | anyway that can be dealt with, if I decide to go for multiple notes | 17:13 |
lcuk | i mean, how would oyu know what the new filename even is | 17:14 |
lcuk | you | 17:14 |
simoneb_ | no, the filename is fixed | 17:14 |
lcuk | until they click new and save as | 17:14 |
simoneb_ | i launch osso_notes to open the file i want to | 17:14 |
lcuk | maybe even NEW will do it | 17:14 |
lcuk | what language are you writing your widget in? | 17:15 |
simoneb_ | well I just wanted to rely on whatever editor is configured to modify my notes file | 17:15 |
simoneb_ | GTK and C | 17:15 |
lcuk | cant you just bob up a window with a drawing surface | 17:15 |
lcuk | so you are in control | 17:15 |
lcuk | filenames and everything | 17:16 |
simoneb_ | i'd have to write an editor myself | 17:16 |
* lcuk nods | 17:16 | |
SpeedEvil | I would wonder about selecting on /proc/nnn/stat | 17:16 |
SpeedEvil | though there is probably a better way to see if a process goes away | 17:16 |
SpeedEvil | maybe dbus can tell you | 17:17 |
simoneb_ | lcuk: well, i think that would turn a 50 lines widget in a 1000 lines widget | 17:17 |
lcuk | from within my c app, i can use something like: | 17:17 |
simoneb_ | SpeedEvil: that would be awesome | 17:17 |
*** Ken-Young has quit IRC | 17:17 | |
lcuk | fp = popen("/sbin/ifconfig", "r"); | 17:17 |
lcuk | while (fgets (line, sizeof(line), fp)) | 17:17 |
lcuk | { | 17:17 |
lcuk | indat=line; | 17:17 |
lcuk | which runs the command and gives me back its console output whilst it runs | 17:18 |
lcuk | im not sure what happens if you run something longer | 17:18 |
lcuk | but its a possibility | 17:19 |
simoneb_ | lcuk: i tried that, infacts my first implementation used a system() call and worked like a charm | 17:20 |
simoneb_ | lcuk: then i decided to go editor-agnostic and use mime_open_file_with_mime_type to use whatever editor the system was supposed to use | 17:20 |
lcuk | but you wanted to use mime handling - which uses osso which gives an async call | 17:20 |
simoneb_ | lcuk: but that mime_open_etc() is asynchronous | 17:20 |
* lcuk nods | 17:20 | |
lcuk | i suppose an alternative might work, if you added inotify for the specific desktop note file | 17:22 |
simoneb_ | inotify? | 17:22 |
lcuk | and then even if they edited it outside your app you would detect | 17:22 |
simoneb_ | uhm, interesting... please expand? | 17:22 |
lcuk | theres a whole world of google :P | 17:22 |
simoneb_ | it's me or that would listen for *every* access to the fs? | 17:24 |
simoneb_ | uh, no, nevermind, it takes a path argument | 17:24 |
simoneb_ | would that be battery hungry? | 17:24 |
lcuk | and you could use a specific path.filename for the note you show | 17:24 |
lcuk | and whenever that file gets amended, you could refresh | 17:24 |
lcuk | simoneb_, try it, many things use inotify, if the scope is small and you are efficient in your handler it shouldnt fire too often | 17:25 |
lcuk | but it would allow you to not really worry too much and users could edit the note just by opening notes at any time and resaving your file | 17:26 |
simoneb_ | looking into it, thanks | 17:26 |
lcuk | simoneb_, cool stuff | 17:30 |
lcuk | how are you rendering notes btw simeoni | 17:31 |
lcuk | simoneb_, | 17:31 |
simoneb_ | "Rumor is that the "d" in "dnotify" does not stand for "directory" but for "suck."" | 17:31 |
simoneb_ | (official kernel.org readme) | 17:31 |
simoneb_ | uhm... white text on transparent black background | 17:31 |
lcuk | ahh you are doing text notes, misinterpreted | 17:32 |
simoneb_ | yes, text notes | 17:32 |
lcuk | so why cant you just open a dialog with memobox? | 17:32 |
simoneb_ | but, now that you make me think about it ... drawing notes on the desktop would be nice | 17:32 |
lcuk | which would seemingly be simpler | 17:32 |
simoneb_ | uhm... memobox? | 17:32 |
lcuk | a multi line text box | 17:33 |
simoneb_ | oh, i see | 17:33 |
simoneb_ | i'm questioning myself of why i wanted to go the "just use the default system editor" way | 17:33 |
lcuk | lol | 17:34 |
lcuk | yeah, but how are you rendeirng it | 17:34 |
lcuk | rendering it | 17:34 |
lcuk | cos notes allows fonts and stuff | 17:34 |
simoneb_ | it doesn't if you open the file as a text/plain | 17:34 |
simoneb_ | forcing the mime type to that | 17:34 |
lcuk | doh | 17:35 |
lcuk | so you are using notes as a plain text memo box anyway | 17:35 |
lcuk | and suffering the pain ! | 17:35 |
lcuk | g/me makes sketch notes | 17:35 |
lcuk | -g | 17:35 |
simoneb_ | i somewhat thought that would have been simpler, without knowing a single thing about gtk :P | 17:36 |
simoneb_ | using system() worked well and was simple, but didn't work with osso_notes, which is the one everybody has (or should) | 17:36 |
lcuk | heh | 17:36 |
lcuk | have you seen any of the other note taking tools | 17:37 |
simoneb_ | yellow notes | 17:37 |
*** JPohlmann has quit IRC | 17:37 | |
*** JPohlmann1 has joined #maemo-devel | 17:37 | |
simoneb_ | i think that's the most similar | 17:37 |
lcuk | conboy is good too | 17:37 |
simoneb_ | yeah, but doesn't have a adesktop widget | 17:37 |
simoneb_ | my first idea was to make a conboy widget | 17:37 |
simoneb_ | that got difficult because conboy has weird file names, text formatting, xml data files... | 17:38 |
simoneb_ | so i went for plain text files and leafpad | 17:38 |
*** kodomo_ has joined #maemo-devel | 17:38 | |
* lcuk nods | 17:38 | |
simoneb_ | well i think that since this app is mostly for teaching myself the maemo environment... i could go for the memobox | 17:38 |
lcuk | yeah it would simplify matters for you | 17:39 |
simoneb_ | and maybe add an option later for conboy integration | 17:39 |
lcuk | or any other :) | 17:39 |
simoneb_ | do you know of any app which uses memobox so I can rip some code? :D | 17:39 |
*** ieatlint has quit IRC | 17:40 | |
*** ieatlint has joined #maemo-devel | 17:41 | |
*** kodomo has quit IRC | 17:41 | |
lcuk | simoneb_, plenty should, but in seriousness, im sure there should be core examples on the gtk documentation pages for each component | 17:43 |
lcuk | which should pack in the required widget to a small test window and show you a few of the properties | 17:43 |
simoneb_ | awesome. I'm still a little too new to this platform, (maemo, gtk and linux development) | 17:45 |
lcuk | yeah its tough, whats your background, where are you used to coding? | 17:46 |
simoneb_ | i work as a kernel module developer for a file system on solaris | 17:48 |
simoneb_ | as a hobby i've fiddled with much other stuff, php, javascript, C#, java, opengl | 17:49 |
lcuk | cool stuff | 17:51 |
lcuk | most people have trouble with ui | 17:51 |
simoneb_ | lol. | 17:51 |
simoneb_ | i'm not a big fan either | 17:51 |
simoneb_ | even if, i had fun with ajax and html | 17:51 |
lcuk | yeah but thats text based ui :p | 17:52 |
simoneb_ | my UIs were full of ajax scripts :P | 17:52 |
* lcuk generates ui from strange places | 17:52 | |
simoneb_ | strange, like? | 17:53 |
lcuk | linux ui from visual basic editor for one thing | 17:53 |
simoneb_ | arrrgh, linux and visual basic in the same sentence | 17:53 |
lcuk | but normally iprefer parsing data trees and creating generators on the fly | 17:53 |
lcuk | yeah simoneb_ | 17:53 |
simoneb_ | interesting | 17:54 |
lcuk | http://www.youtube.com/user/lcukmaemo#p/a/u/2/7hGUKICDeok for one example | 17:54 |
simoneb_ | so if i have another gtk question i could ask that to you i guess.... | 17:54 |
lcuk | you can ask to the channel | 17:55 |
lcuk | i might not answer it lol, i still dont relaly know gtk | 17:55 |
lcuk | there is usually someone around who knows answers tho, the entire community seems to have skills to cover most situations | 17:56 |
simoneb_ | woah, nice video | 17:56 |
lcuk | :) indeed, software driven - written from the ground up by a lowly visual basic developer | 17:57 |
simoneb_ | by the way, was "memobox" the right name of the gtk widget we talked before? seems i can't find it with google | 17:57 |
simoneb_ | at least, not on gtk.org | 17:57 |
lcuk | no, lemme see tho | 17:57 |
lcuk | http://library.gnome.org/devel/gtk/unstable/TextWidgetObjects.html | 17:58 |
lcuk | perhaps | 17:58 |
simoneb_ | bookmarked that. thank you for everything, it has been an interesting talk | 17:59 |
simoneb_ | see you! | 17:59 |
lcuk | no prob simoneb_ have fun and good luck | 17:59 |
*** simoneb_ has left #maemo-devel | 17:59 | |
*** andrewgodwin has quit IRC | 18:01 | |
*** JPohlmann1 has quit IRC | 18:04 | |
*** JPohlmann has joined #maemo-devel | 18:04 | |
*** JPohlmann has quit IRC | 18:07 | |
*** JPohlmann has joined #maemo-devel | 18:17 | |
DocScrutinizer | (mdbus. some 12h ago) I just learnt there's mdbus2 in extras-devel | 18:22 |
DocScrutinizer | http://feedproxy.google.com/~r/HrwWebsite/~3/rRjKjWtve4k/ | 18:29 |
DocScrutinizer | still lacks handling of complex datatypes like arrays for method call parameters though, AIUI. Use mdbus(1) for that | 18:31 |
*** zgold has joined #maemo-devel | 18:38 | |
*** Acedip has quit IRC | 19:51 | |
*** th0br0 has joined #maemo-devel | 20:16 | |
*** Mindflyer91 has joined #maemo-devel | 20:41 | |
*** t-tan has quit IRC | 20:42 | |
*** JPohlmann has quit IRC | 21:02 | |
*** pillar has quit IRC | 21:22 | |
*** Mindflyer91 has left #maemo-devel | 21:30 | |
*** DocScrutinizer51 has quit IRC | 21:41 | |
*** Docscrutemp has joined #maemo-devel | 21:41 | |
*** Docscrutemp is now known as DocScrutinizer51 | 21:41 | |
*** DocScrutinizer51 has quit IRC | 21:51 | |
*** Docscrutemp has joined #maemo-devel | 21:51 | |
*** Docscrutemp is now known as DocScrutinizer51 | 21:51 | |
*** Modeless has joined #maemo-devel | 22:55 | |
*** DocScrutinizer51 has quit IRC | 23:02 | |
*** Modeless has quit IRC | 23:03 | |
*** jeremiah has quit IRC | 23:04 | |
*** jeremiah has joined #maemo-devel | 23:06 | |
*** Docscrutemp has joined #maemo-devel | 23:11 | |
*** Docscrutemp is now known as DocScrutinizer51 | 23:11 | |
*** jeremiah has quit IRC | 23:16 | |
*** DocScrutinizer51 has quit IRC | 23:38 | |
*** Docscrutemp has joined #maemo-devel | 23:39 | |
*** Docscrutemp is now known as DocScrutinizer51 | 23:39 | |
*** DocScrutinizer51 has quit IRC | 23:48 | |
*** Docscrutemp has joined #maemo-devel | 23:49 | |
*** Docscrutemp is now known as DocScrutinizer51 | 23:49 | |
*** Chiku has joined #maemo-devel | 23:59 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!