Am Donnerstag, den 13.12.2007, 17:31 +0100 schrieb Alexander Larsson:
typedef enum {
G_FILE_QUERY_INFO_FLAGS_NONE = 0,
G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS = (10)
}
vs
typedef enum {
G_FILE_MONITOR_FLAGS_NONE = 0,
G_FILE_MONITOR_FLAGS_MONITOR_MOUNTS = (10)
}
On Fri, 2007-12-14 at 15:49 +0100, Sven Herzberg wrote:
Alexander Larsson wrote:
I'm for gio/gio.h. It seems more inline with all our other libraries.
Only gobject does the glib-object.h thing.
Shouldn't gio.h be enough? This would really drop 4 letters that every
gio-using
On Thu, 2007-12-13 at 19:45 +0100, Richard Hult wrote:
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
On Thu, 2007-12-13 at 19:19 +0100, Mikael Hallendal wrote:
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
namespace as it shows where it belongs and what part of GLib it is
used for. It also means we
14 dec 2007 kl. 09.27 skrev Alexander Larsson:
Hi,
On Thu, 2007-12-13 at 19:19 +0100, Mikael Hallendal wrote:
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
namespace as it shows where it belongs and what
:
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:
General:
It seems GIO allows individual files to be included, this should be
avoided like gobject does it:
#if !defined
On Dec 14, 2007 3:27 AM, Alexander Larsson [EMAIL PROTECTED] wrote:
Anything that has cancellable operations (things like libsoup or
whateveR) should use GCancellable. And GAsyncResult is a very powerful
pattern for doing async operation that all libraries with async
operations should take
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 - GIOCancellable
...
I
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 come up
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_content,
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 since
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
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 useful
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 monitor. It
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 a GIO API review
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
containing
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
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.
___
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:
I Just
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 massively:
g_app,
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 we've come up
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
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 the
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 to some common
Sorry for mis-following-up and resending, i have too many mail accounts.
On Wed, 2007-12-12 at 00:25 +, Emmanuele Bassi wrote:
On Tue, 2007-12-11 at 21:22 +0200, Vincent Geddes wrote:
Hi,
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
Also, subclasses should
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 come up with:
General:
It seems GIO allows individual files to be included, this should
Alexander Larsson wrote:
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
GAsnc*- GIOAsync*
G*Stream - GIOStream*
GIcon - GIOIcon
G*Icon- GIOIcon*
GCancellable - GIOCancellable
...
I strongly oppose this.
I personally prefer the naming Mitch
On Wed, 2007-12-12 at 15:13 +, Martyn Russell wrote:
Alexander Larsson wrote:
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
GAsnc*- GIOAsync*
G*Stream - GIOStream*
GIcon - GIOIcon
G*Icon- GIOIcon*
GCancellable - GIOCancellable
...
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 come up with:
General:
It seems GIO allows individual files
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_content, g_data,
g_desktop, g_directory, g_drive, g_file, g_filename, g_filter,
On Wed, 2007-12-12 at 16:37 +0100, Alexander Larsson wrote:
GAsnc*- GIOAsync*
G*Stream - GIOStream*
GIcon - GIOIcon
G*Icon- GIOIcon*
GCancellable - GIOCancellable
...
I strongly oppose this.
I personally prefer the naming Mitch
Alexander Larsson wrote:
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
G*Monitor:
==
GFileMonitor - GIOMonitorFile
GDirectoryMonitor - GIOMonitorDirectory
Wouldn't it make sense to have a common (perhaps abstract) base class here,
or derive one from the other?
Hi,
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
We stronlgy suggest to use a common g_io/GIO prefix for all
functions/types in GIO.
GAsnc*- GIOAsync*
G*Stream - GIOStream*
GIcon - GIOIcon
G*Icon- GIOIcon*
GCancellable - GIOCancellable
I
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:
General:
It seems GIO allows individual files to be included, this should be
avoided like gobject does it:
#if !defined (__GLIB_GIO_H_INSIDE__
Hi,
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
Also, subclasses should probably append their name, not prepend it:
GFilterOutputStream - GIOOutputStreamFilter
GUnixOutputStream - GIOOutputStreamUnix
...
This makes the file and inheritence structure much clearer and
On Tue, 2007-12-11 at 21:22 +0200, Vincent Geddes wrote:
Hi,
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
Also, subclasses should probably append their name, not prepend it:
GFilterOutputStream - GIOOutputStreamFilter
GUnixOutputStream - GIOOutputStreamUnix
...
On Tue, 2007-12-11 at 15:37 -0500, Jürg Billeter wrote:
It's not only different from the naming conventions in those
programming languages, it's also different from plain English, as far
as I can tell as a non-native speaker.
But then again, it's not a human language...
--
behdad
On Tue, 2007-12-11 at 21:22 +0200, Vincent Geddes wrote:
Hi,
On Tue, 2007-12-11 at 17:48 +0100, Michael Natterer wrote:
Also, subclasses should probably append their name, not prepend it:
GFilterOutputStream - GIOOutputStreamFilter
GUnixOutputStream - GIOOutputStreamUnix
...
38 matches
Mail list logo