nmake .. clean :

2007-12-13 Thread Bill Meier
(A short note addressed to those maintaining the .msc files to build glib/gtk using MSVC): nmake ... clean also deletes the .symbols files (at least on my Windows XP system). (apologies if this is already known) Bill Meier ___ gtk-devel-list

Re: GIO API review

2007-12-13 Thread Mikkel Kamstrup Erlandsen
On 13/12/2007, Martyn Russell <[EMAIL PROTECTED]> wrote: > Alexander Larsson wrote: > > On Thu, 2007-12-13 at 14:43 +0100, Michael Natterer wrote: > >> Alexander Larsson wrote: > >>> It just adds new types and type relations you have to learn, and forces > >>> you to remember that you have to cast

Re: GIO API review

2007-12-13 Thread Matthias Clasen
On Dec 13, 2007 1:21 PM, Martyn Russell <[EMAIL PROTECTED]> wrote: > I don't really see the need for adding symbols to the library to > represent 0. If there is only one "flag" in each of these that matters, > doesn't it make more sense to just have a boolean? > This is not adding any symbols to

Re: Gtk on Embedded Device Query

2007-12-13 Thread Sven Neumann
Hi, this mailing-list is about development of GTK+. Please don't ask questions here that about developing applications with GTK+. We have gtk-app-devel-list and gtk-list for this. Thanks. Sven ___ gtk-devel-list mailing list gtk-devel-list@gnome.org

Re: GIO API review

2007-12-13 Thread Havoc Pennington
Hi, Martyn Russell wrote: > I don't really see the need for adding symbols to the library to > represent 0. If there is only one "flag" in each of these that matters, > doesn't it make more sense to just have a boolean? > Flags are almost always preferable to booleans, compare - gtk_box_pack_

Re: Gtk on Embedded Device Query

2007-12-13 Thread Saroj Kumar
On Dec 13, 2007 11:18 AM, Saroj Kumar <[EMAIL PROTECTED]> wrote: > Hi, > > I ported X11 and Gtk with X11 support on Embedded board(arm-linux). > The problem I am facing now is setting the fontconfig. Because I have > fontconfig and freetype libraries for X11 and I compiled Gtk with those > librari

Re: GIO API review

2007-12-13 Thread Richard Hult
Mikael Hallendal wrote: > I just wanted to clarify though that it's not so much for technical > reasons I suggested that we namespace a bit more carefully. > > For example, if we plan to never use the GAsync infrastructure for > anything other than GIO there is a point to put it under the GIO

Re: GIO API review

2007-12-13 Thread Martyn Russell
Alexander Larsson wrote: > On Thu, 2007-12-13 at 17:25 +0100, Carlos Garnacho wrote: >> Hi all!, >> >> On mar, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: >>> Hey everybody, >>> >>> We've been doing a GIO API review in the last couple of days and >>> here is the list of comments and issues w

Re: GIO API review

2007-12-13 Thread Mikael Hallendal
13 dec 2007 kl. 12.51 skrev Alexander Larsson: Hi, > On Wed, 2007-12-12 at 16:48 +0100, Mikael Hallendal wrote: >> 12 dec 2007 kl. 14.59 skrev Alexander Larsson: >> >> Hi, >> >>> On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: >> >>> A big issue is that GIO wastes namespaces massi

Test Framework Mini Tutorial

2007-12-13 Thread Tim Janik
Hey All. The following gives a mini tutorial on writing test programs for GLib and Gtk+ with the new framework. We have a good number of example test programs in SVN now and appreciate help from everyone in implementing new tests. First, we'll have a quick introduction into the main rationale on

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > There is no need to break the common prefix for global things: > > g_push_current_cancellable -> g_cancellable_push_current > g_pop_current_cancellable -> g_cancellable_pop_current Done. __

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 17:25 +0100, Carlos Garnacho wrote: > Hi all!, > > On mar, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > > Hey everybody, > > > > We've been doing a GIO API review in the last couple of days and > > here is the list of comments and issues we've come up with: > > >

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > GFile: > == > > g_mount_for_location should probably be g_file_mount_for_location I've changed this to g_file_mount_enclosing_volume() ___ gtk-devel-list mailing list gtk-devel-list@gnom

Re: GIO API review

2007-12-13 Thread Carlos Garnacho
Hi all!, On mar, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > Hey everybody, > > We've been doing a GIO API review in the last couple of days and > here is the list of comments and issues we've come up with: > I Just wanted to raise another concern I have. Besides defining enums contain

Re: volume:// uri support

2007-12-13 Thread David Zeuthen
On Thu, 2007-12-13 at 12:13 +0100, Alexander Larsson wrote: > > 1. Introduce g_file_get_stable_uri() and always make g_file_get_uri() > > return file:// URI's for local files > > Given the above, this is the only workable solution. Thanks for the detailed reply; I pretty much agree with all

Re: GIO API review

2007-12-13 Thread Martyn Russell
Alexander Larsson wrote: > On Thu, 2007-12-13 at 14:43 +0100, Michael Natterer wrote: >> Alexander Larsson wrote: >>> It just adds new types and type relations you have to learn, and forces >>> you to remember that you have to cast to some common class to do things >>> like cancelling a directory

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 14:50 +0100, Michael Natterer wrote: > Alexander Larsson wrote: > > On Wed, 2007-12-12 at 16:46 +0100, Michael Natterer wrote: > >> Alexander Larsson wrote: > >>> On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > Hey everybody, > > We've been doing

Re: GMountOperation concerns

2007-12-13 Thread David Zeuthen
On Thu, 2007-12-13 at 13:51 +0100, Alexander Larsson wrote: > So, I don't think the current API prohibits a secure authentication > dialog, but it would be some work to implement. Yeah, I agree. Thanks for the detailed explanation. David ___ gtk

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 14:43 +0100, Michael Natterer wrote: > Alexander Larsson wrote: > > It just adds new types and type relations you have to learn, and forces > > you to remember that you have to cast to some common class to do things > > like cancelling a directory monitor. It adds nothing us

Re: GIO API review

2007-12-13 Thread Michael Natterer
Alexander Larsson wrote: > On Wed, 2007-12-12 at 16:46 +0100, Michael Natterer wrote: >> Alexander Larsson wrote: >>> On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: Hey everybody, We've been doing a GIO API review in the last couple of days and here is the list of c

Re: GIO API review

2007-12-13 Thread Michael Natterer
Alexander Larsson wrote: > On Wed, 2007-12-12 at 17:33 +0100, Michael Natterer wrote: >> Alexander Larsson wrote: >>> On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: G*Monitor: == GFileMonitor -> GIOMonitorFile GDirectoryMonitor -> GIOMonitorDirecto

Re: GMountOperation concerns

2007-12-13 Thread Alexander Larsson
On Wed, 2007-12-12 at 12:05 -0500, David Zeuthen wrote: > Hi, > > I've looked at the GMountOperation class today and I have some security > concerns. Basically, the way I understand how it's supposed to work is > that if you mount something you may need to provide credentials. Also, > I understa

Re: volume:// uri support

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 03:46 -0800, Brian J. Tarricone wrote: > On Thu, 13 Dec 2007 12:13:33 +0100 Alexander Larsson wrote: > > > Also, I don't think this should be in libgio itself. Its really > > something that would be part of the unix desktop and not something > > that makes sense on other pl

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Wed, 2007-12-12 at 17:33 +0100, Michael Natterer wrote: > Alexander Larsson wrote: > > On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > >> G*Monitor: > >> == > >> > >> GFileMonitor -> GIOMonitorFile > >> GDirectoryMonitor -> GIOMonitorDirectory > >> > >> Wouldn't it ma

Re: Name of the utility library (Was: GIO API review)

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 12:34 +0100, Mathias Hasselmann wrote: > Am Donnerstag, den 13.12.2007, 12:17 +0100 schrieb Alexander Larsson: > > If we add things like GSettings to libgio (to avoid adding yet > > more .so's) then things look even more weird. GIOSettings? > > Off-topic, but random though s

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Wed, 2007-12-12 at 16:48 +0100, Mikael Hallendal wrote: > 12 dec 2007 kl. 14.59 skrev Alexander Larsson: > > Hi, > > > On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > > > > >> A big issue is that GIO wastes namespaces massively: > >> g_app, GAsync, g_buffered, g_cancellable, g

Re: volume:// uri support

2007-12-13 Thread Brian J. Tarricone
On Thu, 13 Dec 2007 12:13:33 +0100 Alexander Larsson wrote: > On Thu, 2007-12-13 at 01:17 -0500, David Zeuthen wrote: > > volume://name=davidz%20data;uuid=1234/path/to/file.txt > > /media/disk/path/to/file.txt > Also, I don't think this should be in libgio itself. Its really > something th

Name of the utility library (Was: GIO API review)

2007-12-13 Thread Mathias Hasselmann
Am Donnerstag, den 13.12.2007, 12:17 +0100 schrieb Alexander Larsson: > If we add things like GSettings to libgio (to avoid adding yet > more .so's) then things look even more weird. GIOSettings? Off-topic, but random though since we couldn't find a name of the utility .so between libgobject and l

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Wed, 2007-12-12 at 16:46 +0100, Michael Natterer wrote: > Alexander Larsson wrote: > > On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote: > >> Hey everybody, > >> > >> We've been doing a GIO API review in the last couple of days and > >> here is the list of comments and issues we've co

Re: GIO API review

2007-12-13 Thread Alexander Larsson
On Wed, 2007-12-12 at 16:53 +0100, Murray Cumming wrote: > On Wed, 2007-12-12 at 16:37 +0100, Alexander Larsson wrote: > > > >> GAsnc*-> GIOAsync* > > > >> G*Stream -> GIOStream* > > > >> GIcon -> GIOIcon > > > >> G*Icon-> GIOIcon* > > > >> GCancellable -> GIOCancella

Re: volume:// uri support

2007-12-13 Thread Alexander Larsson
On Thu, 2007-12-13 at 01:17 -0500, David Zeuthen wrote: > Hey Alex, > > I've attached some preliminary patches to introduce a new volume:// name > space. The thinking is that g_file_get_uri() will return a persistent > URI if a local file is on user-visible media. > > (Emphasis on user-visible.

Re: volume:// uri support

2007-12-13 Thread Mathias Hasselmann
Am Donnerstag, den 13.12.2007, 02:07 -0500 schrieb David Zeuthen: > On Thu, 2007-12-13 at 08:01 +0100, Mathias Hasselmann wrote: > > Am Donnerstag, den 13.12.2007, 01:17 -0500 schrieb David Zeuthen: > > > There's a screenshot here showing integration into Nautilus > > > > > > http://people.freede