Re: Commit auto-links in bugzilla comments

2015-02-11 Thread Jasper St. Pierre
Out of curiosity, is there anything wrong with just copy/pasting a link? You know, something like https://git.gnome.org/browse/gnome-shell/commit/?id=d54b87c4559bd9d74fa10d3e3d1e38a933bea051 I find that trying to remember crazy syntax and exceptions is a bit difficult. Does it work inside parens

Re: Discouraging use of sync APIs

2015-02-11 Thread Jim Nelson
One of Philip's earlier suggestions was to print a console warning if a sync call is used. That seems like overkill to me, but it does lead to another possibility. Technically the issue is long synchronous calls blocking the event loop, but in practice the problem is GTK+'s events being

Re: Commit auto-links in bugzilla comments

2015-02-11 Thread Xavier Claessens
Le mardi 10 février 2015 à 08:38 +0100, Milan Crha a écrit : Hello, I'd like to ask: how does the auto-links for commits in the new bugzilla work? I mean, if I write something like: commit abcde12345 then the abcde12345 will become a link to the sources in the product the

Re: Canonical jhbuild documentation

2015-02-11 Thread Sriram Ramkrishna
On Wed, Feb 11, 2015 at 4:33 AM, Allan Day allanp...@gmail.com wrote: Sriram Ramkrishna s...@ramkrishna.me wrote: ... Seems like you should talk this through with Carlos and Ryan - they're the effective maintainers of the wiki pages in question. I know that Carlos is keen to reduce the amount

Re: Commit auto-links in bugzilla comments

2015-02-11 Thread Xavier Claessens
Le mardi 10 février 2015 à 08:38 +0100, Milan Crha a écrit : Hello, I'd like to ask: how does the auto-links for commits in the new bugzilla work? I mean, if I write something like: commit abcde12345 then the abcde12345 will become a link to the sources in the product the

Re: Discouraging use of sync APIs

2015-02-11 Thread Ross Lagerwall
On Wed, Feb 11, 2015 at 2:46 PM, Ray Strode halfl...@gmail.com wrote: Hi, On Wed, Feb 11, 2015 at 7:17 AM, Philip Withnall phi...@tecnocode.co.uk wrote: It might turn out that runtime checks are just not feasible, but in that case I think we still need some way of solving the original

Re: Discouraging use of sync APIs

2015-02-11 Thread Simon McVittie
On 11/02/15 21:10, Jasper St. Pierre wrote: Another example: for some odd reason, GLocalFileInputStream isn't a pollable output stream (I assume you mean GLocalFileOutputStream.) Why was this done? I don't know. AIUI, because all Unix kernels treat local I/O as arbitrarily fast, hence

Re: Commit auto-links in bugzilla comments

2015-02-11 Thread Xavier Claessens
Le mercredi 11 février 2015 à 09:52 -0800, Jasper St. Pierre a écrit : Out of curiosity, is there anything wrong with just copy/pasting a link? You know, something like https://git.gnome.org/browse/gnome-shell/commit/?id=d54b87c4559bd9d74fa10d3e3d1e38a933bea051 There is nothing wrong with

Re: Discouraging use of sync APIs

2015-02-11 Thread David Woodhouse
On Wed, 2015-02-11 at 21:26 +, Simon McVittie wrote: On 11/02/15 21:10, Jasper St. Pierre wrote: Another example: for some odd reason, GLocalFileInputStream isn't a pollable output stream (I assume you mean GLocalFileOutputStream.) Why was this done? I don't know. AIUI, because

Re: Discouraging use of sync APIs

2015-02-11 Thread Jasper St. Pierre
That's one example of low-hanging fruit. Calling query_info_async is the same thing. Creating a GFileMonitor for a GResourceFile (admittedly nonsense, but arbitrary code that tries to watch any GFile passed into it might hurt) will call query_info_async once every 5 seconds, creating a new thread

switching applications

2015-02-11 Thread Aydin K.
Hello. 1. I switch to another workspace and this workspace has more then one application. Then when i switch applications with shortcut switch applications (quick pressing, without opening switcher meny) it switches to applications that is in another workspace. Would it not make more sense to

Re: Commit auto-links in bugzilla comments

2015-02-11 Thread Milan Crha
On Wed, 2015-02-11 at 09:52 -0800, Jasper St. Pierre wrote: Out of curiosity, is there anything wrong with just copy/pasting a link? Hi, I did that for the past few months. My comments in bugzilla sometimes look like: Created commit 123456 in evo master (x.y.z+) [1] Created

Re: Discouraging use of sync APIs

2015-02-11 Thread Philip Withnall
On Tue, 2015-02-10 at 08:49 -0800, Jasper St. Pierre wrote: Right now the way g_file_read_async works is by scheduling a task on a worker thread, having the worker thread do the async read, and then returning a result. As such, it's impossible to have two async reads done at the same time,

Re: Discouraging use of sync APIs

2015-02-11 Thread Philip Withnall
On Tue, 2015-02-10 at 10:30 -0800, Jasper St. Pierre wrote: One quick example: calling g_file_read_async on a GResourceFile spawns a new thread and does a synchronous stream read from a block already in memory. It should just be a single g_bytes_ref, but we have three different classes

Re: Canonical jhbuild documentation

2015-02-11 Thread Frederic Peters
Germán Poo-Caamaño wrote: IMHO, the jhbuild documentation is more like a reference manual, whereas the information for newcomers is like a tutorial (or expected to be). Indeed it's mostly like that at the moment. Maybe both could be in the same documentation/place, but the separation

Re: Canonical jhbuild documentation

2015-02-11 Thread Frederic Peters
Allan Day wrote: It would be nice if somebody could contact the authors: James Henstridge james at jamesh.id.au C.J. Adams-Collier cjcollier at colliertech.org Frederic Peters (ok, done) David Turner (Cillian64, from GHOP, back in 2007/2008, I can't find an

Re: Discouraging use of sync APIs

2015-02-11 Thread Philip Withnall
On Tue, 2015-02-10 at 15:48 +0100, Lennart Poettering wrote: Also, glib has wrappers for making mmaping available to programs, to improve seldom-accessed sparse databases efficient, do you want to prohibit that too? No, mmap() is clearly a tool for a different kind of problem. If

Re: Canonical jhbuild documentation

2015-02-11 Thread Allan Day
Frederic Peters fpet...@gnome.org wrote: ... I believe this is no longer a problem; when I tried to merge the by-then new BuildGnome page into the manual, and converting it to Mallard, the primary problem was of license incompatibility between the contents from the wiki and the existing

Re: Canonical jhbuild documentation

2015-02-11 Thread Allan Day
Sriram Ramkrishna s...@ramkrishna.me wrote: ... Seems like you should talk this through with Carlos and Ryan - they're the effective maintainers of the wiki pages in question. I know that Carlos is keen to reduce the amount of duplication. Yes, I sent this email after consulting with him and

Re: Canonical jhbuild documentation

2015-02-11 Thread Germán Poo-Caamaño
On Wed, 2015-02-11 at 12:33 +, Allan Day wrote: Sriram Ramkrishna s...@ramkrishna.me wrote: [...] Um, I don't think it is. You originally said: So Proposal is: https://wiki.gnome.org/GnomeLove/BuildGnome is the only documentation on wiki.gnome.org, the rest gets retired and merged

Re: Canonical jhbuild documentation

2015-02-11 Thread Ekaterina Gerasimova
On 11/02/2015, Frederic Peters fpet...@gnome.org wrote: Allan Day wrote: It would be nice if somebody could contact the authors: James Henstridge james at jamesh.id.au C.J. Adams-Collier cjcollier at colliertech.org Frederic Peters (ok, done) David Turner (Cillian64, from GHOP,

Re: Feedback from downstreams presentation from DX hackfest 2015

2015-02-11 Thread Murray Cumming
On Tue, 2015-02-10 at 16:11 +, Philip Withnall wrote: Problems building SQL and SPARQL queries • https://bugzilla.gnome.org/show_bug.cgi?id=741777 • SQLite: can’t think of a decent way of fixing this libgda has the GdaSQLBuilder API. It's a bit odd, but it works, and handles different

GSoC 2015 call for ideas

2015-02-11 Thread Marina Zhurakhinskaya
Dear GNOME hackers, It's that time of the year again: Google Summer of Code is approaching. We've updated our program pages [1] to have the latest information and we need your help in creating a list of great project ideas. It's essential that we have a well-prepared ideas page when GNOME