Re: GTK+ 2.20.0 released

2010-03-23 Thread Allin Cottrell

On Tue, 23 Mar 2010, Matthias Clasen wrote:

 GTK+ 2.20.0 is now available for download at:

  http://download.gnome.org/sources/gtk+/2.20/
  ftp://ftp.gtk.org/pub/gtk/2.20/
[snip]

 GTK+ 2.20 adds new functionality while maintaining source and binary
 compatibility with GTK+ 2.18...

It might be worth adding that while GTK+ 2.20 is the latest in the
stable GTK stream, it has a dependency on the unstable GLib
2.23.

Allin Cottrell


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


GTK+ 2.20.0 released

2010-03-23 Thread Matthias Clasen
GTK+ 2.20.0 is now available for download at:

 http://download.gnome.org/sources/gtk+/2.20/
 ftp://ftp.gtk.org/pub/gtk/2.20/

sha256 sums:
8ea7e11ff88e9a8867b7d9221d40a3bfce5c648ce27cd6bac422ff8f6cca414d  gtk
+-2.20.0.tar.bz2
273b134bafa41ecc96d7c3807637503db3f5fbc7accb23a4a92063a713dc0540  gtk
+-2.20.0.tar.gz

Release notes are available at:

 http://www.gtk.org/release-notes.txt


What is GTK+


GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is
suitable for projects ranging from small one-off tools to
complete application suites.

GTK+ has been designed from the ground up to support a range
of languages, not only C/C++. Using GTK+ from languages such
as Perl and Python (especially in combination with the Glade
GUI builder) provides an effective method of rapid application
development.

GTK+ is free software and part of the GNU Project. However,
the licensing terms for GTK+, the GNU LGPL, allow it to be
used by all developers, including those developing proprietary
software, without any license fees or royalties. GTK+ is the
only 100% free-of-cost open source industrial-strength GUI
toolkit available today.

Since its origins as the toolkit for the GNU Image
Manipulation Program (GIMP), GTK+ has been used in a wide
range of software. Notably, GTK+ is the foundation of the
GNOME desktop; GTK+ 2.20 will be incorporated into version
2.30 of the GNOME desktop.


What's new in GTK+ 2.20
===

GTK+ 2.20 adds new functionality while maintaining source and binary
compatibility with GTK+ 2.18. Highlights of new features and
improvements in GTK+ 2.20 are:

Noteworthy new APIs

GtkSpinner, GtkCellRendererSpinner

 - A new widget that renders a 'spinner' animation to indicate
   ongoing activity. The corresponding cell renderer renders the
   same animation inside a treeview

GtkOffscreenWindow

 - A new toplevel container widget to manage offscreen rendering
   of child widgets

Changes in GtkNotebook

 - GtkNotebook allows to show 'action widgets' in the space that
   is not occupied by tabs. This functionality is also available
   in GtkBuilder via the 'action-start' and 'action-end' child types.

Changes in the file chooser

 - GtkFileSystemModel has been reimplemented, for major speedups
   and simplifications.

Changes in keyboard handling

 - The compose sequences understood by the builtin input method
   have been synced with X.org, and the additional sequences have
   been rationalized

 - Mnemonic underlines can now optionally be hidden until the Alt
   key is pressed, this can be turned on with the gtk-auto-mnemonics
   setting

 - The Super, Meta and Hyper modifiers are working more reliably
   in keyboard accelerators.

GDK changes

 - There is a new function to get the 'primary' monitor in multi-monitor
   setups: gdk_screen_get_primary_monitory.

gdk-pixbuf changes

 - Embedded color profiles in png and tiff images can be stored
   and retrieved

 - Support for the QTIF image format has been added

Win32 changes

 - XP themes have been disabled since they don't work

OS X changes

 - GTK+ uses standard Mac keyboard shortcuts (Cmd-X/Cmd-C instead of
   Ctrl-X/Ctrl-C, etc)

 - The handling of multi-monitor setups has been greatly improved

Introspection support

 - Introspection data is now included in GTK+ itself. As a consequence,
   a dependency on gobject-introspection has been added


For more details and lists of fixed bugs, see the
announcements for the 2.19.x development releases:

http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg1.html
http://mail.gnome.org/archives/gtk-devel-list/2009-December/msg0.html
http://mail.gnome.org/archives/gtk-devel-list/2009-December/msg00074.html
http://mail.gnome.org/archives/gtk-devel-list/2010-January/msg00045.html
http://mail.gnome.org/archives/gtk-devel-list/2010-January/msg00063.html
http://mail.gnome.org/archives/gtk-devel-list/2010-February/msg00023.html
http://mail.gnome.org/archives/gtk-devel-list/2010-February/msg00050.html
http://mail.gnome.org/archives/gtk-devel-list/2010-March/msg00044.html


Where to get more information about GTK+


Information about GTK+ including links to documentation can be
found at:
 
 http://www.gtk.org/

An installation guide for GTK+ 2.x is found at:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Common questions:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
 http://www.gtk.org/faq/


Contributing


GTK+ is a large project and relies on voluntary contributions.
We are actively searching for new contributors in various areas
and invite everyone to help project development.
If you are willing to participate, please subscribe to the project
mailing lists to offer your help and read over our list of vacant
project tasks:
http://live.gnome.org/GtkTasks


The GTK+ Team:

 Jonathan Blandford, Hans Breuer, Kristian 

[PATCH] glib-2.23.6 gkeyfile.c whitespaces.

2010-03-23 Thread Mark Ellzey Thomas

Greetings all,

We have recently run into some pitfalls with the  
g_key_file_parse_value_as_integer()
function where a whitespace at the end of a line would result in an  
error. If this was
intended I apologize. Otherwise this small patch will first attempt to  
terminate any

whitespaces at the end of the value then do error checking.

Thanks for the project!

~Mark



gkeyfile.c.diff
Description: Binary data


___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Minutes of the GTK+ Team Meeting - 2010-03-23

2010-03-23 Thread Christian Dywan
= Minutes of the 2010-03-23 GTK+ Team Meeting =

- Client-Side-Windows on Win32 needs work, but currently it is unclear
  who can step up to do it. Alberto Ruiz suggested he might help out.

- GdkRectangle, GdkRegion, gdk_cairo_rectangle, gdk_cairo_region should
  be mapped to cairo_rectangle_t and cairo_region_t, in the 2.90 branch

- Goals for 2.90
  . Remaining accessors (GDK, GtkStyle)
  . Move all struct members to private structs
  . XInput2
  . Client-Side-Decorations
  . (Optional features such as RI or Extended Layout)
  . Release around September

- Create a branch for 2.22
  . Cherry-pick new accessors, deprecations, bug-fixes
  . Will be API-compatible with 2.90

It was concluded that it would be sensible to merge 2-90 with master,
effectively replacing it, as soon as Matthias decides to branch off
the stable 2.20. And additionally API enhancements will be cherry-picked
to the 2.22 branch.

See also http://live.gnome.org/GTK+/Meetings

ciao,
Christian
___
gtk-devel-list mailing list
gtk-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list


Re: Fwd: Why Ultra-Condensed, Normal and ultra-expanded have very small differences?

2010-03-23 Thread Behdad Esfahbod
On 03/16/2010 10:40 AM, Vitaly V. Ch wrote:
 Hi all!
 
 I set font i following way:
 
PangoFontDescription *pfd = pango_font_description_new();
 
pango_font_description_set_family_static (pfd, Courier);
pango_font_description_set_size   (pfd, size);
pango_font_description_set_weight (pfd,weight);
pango_font_description_set_style  (pfd,PANGO_STYLE_NORMAL);
pango_font_description_set_stretch(pfd, stretch);
pango_layout_set_font_description (pl, pfd);
 
 according my measuring differences between  Ultra-Condensed and
 ultra-expanded is only 25% but I expect at least 200%.

Most probably because you don't have the Courier font available in all those
different varieties.  Check these bugs for adding artificial stretch:

  https://bugzilla.gnome.org/show_bug.cgi?id=613727
  https://bugs.freedesktop.org/show_bug.cgi?id=21705

behdad

 \\wbr Vitaly Chernookiy
___
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list


GTK+ 2.20.0 released

2010-03-23 Thread Matthias Clasen
GTK+ 2.20.0 is now available for download at:

 http://download.gnome.org/sources/gtk+/2.20/
 ftp://ftp.gtk.org/pub/gtk/2.20/

sha256 sums:
8ea7e11ff88e9a8867b7d9221d40a3bfce5c648ce27cd6bac422ff8f6cca414d  gtk
+-2.20.0.tar.bz2
273b134bafa41ecc96d7c3807637503db3f5fbc7accb23a4a92063a713dc0540  gtk
+-2.20.0.tar.gz

Release notes are available at:

 http://www.gtk.org/release-notes.txt


What is GTK+


GTK+ is a multi-platform toolkit for creating graphical user
interfaces. Offering a complete set of widgets, GTK+ is
suitable for projects ranging from small one-off tools to
complete application suites.

GTK+ has been designed from the ground up to support a range
of languages, not only C/C++. Using GTK+ from languages such
as Perl and Python (especially in combination with the Glade
GUI builder) provides an effective method of rapid application
development.

GTK+ is free software and part of the GNU Project. However,
the licensing terms for GTK+, the GNU LGPL, allow it to be
used by all developers, including those developing proprietary
software, without any license fees or royalties. GTK+ is the
only 100% free-of-cost open source industrial-strength GUI
toolkit available today.

Since its origins as the toolkit for the GNU Image
Manipulation Program (GIMP), GTK+ has been used in a wide
range of software. Notably, GTK+ is the foundation of the
GNOME desktop; GTK+ 2.20 will be incorporated into version
2.30 of the GNOME desktop.


What's new in GTK+ 2.20
===

GTK+ 2.20 adds new functionality while maintaining source and binary
compatibility with GTK+ 2.18. Highlights of new features and
improvements in GTK+ 2.20 are:

Noteworthy new APIs

GtkSpinner, GtkCellRendererSpinner

 - A new widget that renders a 'spinner' animation to indicate
   ongoing activity. The corresponding cell renderer renders the
   same animation inside a treeview

GtkOffscreenWindow

 - A new toplevel container widget to manage offscreen rendering
   of child widgets

Changes in GtkNotebook

 - GtkNotebook allows to show 'action widgets' in the space that
   is not occupied by tabs. This functionality is also available
   in GtkBuilder via the 'action-start' and 'action-end' child types.

Changes in the file chooser

 - GtkFileSystemModel has been reimplemented, for major speedups
   and simplifications.

Changes in keyboard handling

 - The compose sequences understood by the builtin input method
   have been synced with X.org, and the additional sequences have
   been rationalized

 - Mnemonic underlines can now optionally be hidden until the Alt
   key is pressed, this can be turned on with the gtk-auto-mnemonics
   setting

 - The Super, Meta and Hyper modifiers are working more reliably
   in keyboard accelerators.

GDK changes

 - There is a new function to get the 'primary' monitor in multi-monitor
   setups: gdk_screen_get_primary_monitory.

gdk-pixbuf changes

 - Embedded color profiles in png and tiff images can be stored
   and retrieved

 - Support for the QTIF image format has been added

Win32 changes

 - XP themes have been disabled since they don't work

OS X changes

 - GTK+ uses standard Mac keyboard shortcuts (Cmd-X/Cmd-C instead of
   Ctrl-X/Ctrl-C, etc)

 - The handling of multi-monitor setups has been greatly improved

Introspection support

 - Introspection data is now included in GTK+ itself. As a consequence,
   a dependency on gobject-introspection has been added


For more details and lists of fixed bugs, see the
announcements for the 2.19.x development releases:

http://mail.gnome.org/archives/gtk-devel-list/2009-November/msg1.html
http://mail.gnome.org/archives/gtk-devel-list/2009-December/msg0.html
http://mail.gnome.org/archives/gtk-devel-list/2009-December/msg00074.html
http://mail.gnome.org/archives/gtk-devel-list/2010-January/msg00045.html
http://mail.gnome.org/archives/gtk-devel-list/2010-January/msg00063.html
http://mail.gnome.org/archives/gtk-devel-list/2010-February/msg00023.html
http://mail.gnome.org/archives/gtk-devel-list/2010-February/msg00050.html
http://mail.gnome.org/archives/gtk-devel-list/2010-March/msg00044.html


Where to get more information about GTK+


Information about GTK+ including links to documentation can be
found at:
 
 http://www.gtk.org/

An installation guide for GTK+ 2.x is found at:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-building.html

Common questions:

 http://developer.gnome.org/doc/API/2.0/gtk/gtk-question-index.html
 http://www.gtk.org/faq/


Contributing


GTK+ is a large project and relies on voluntary contributions.
We are actively searching for new contributors in various areas
and invite everyone to help project development.
If you are willing to participate, please subscribe to the project
mailing lists to offer your help and read over our list of vacant
project tasks:
http://live.gnome.org/GtkTasks


The GTK+ Team:

 Jonathan Blandford, Hans Breuer, Kristian 

Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-23 Thread Ian Puleston
Hi,

 

I have a program that exports files to a USB flash drive which involves
using a GtkFileChooserDialog created with
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER to browse to the flash drive (or a
folder on it) and then writing the files. The problem is that in Windows,
when all is done I cannot un-mount the memory stick (via the Windows Safely
remove hardware applet) because Windows reports that it is in use unless I
close the program first.

 

The file writes in the export process all do fopen, fputs, fclose so those
should not be causing this problem, and so I think it must be an effect of
the GtkFileChooserDialog. At the end of the export process I call
gtk_widget_destroy(dlgWin) where dlgWin was returned by
gtk_dialog_new_with_buttons.

 

Is there anything I might be missing to tidy up after the
GtkFileChooserDialog that might be causing this? I'm using GTK 2.16.6.

 

Thanks,

Ian

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


Re: Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-23 Thread Jernej Simončič
On Tue, 23 Mar 2010 16:42:34 -0700, Ian Puleston wrote:

 Is there anything I might be missing to tidy up after the
 GtkFileChooserDialog that might be causing this? I'm using GTK 2.16.6.

This is just a guess, but it might have changed the working directory to
your removable drive, and Windows will see this as the drive is in use. Try
using chdir to change to some other drive after you're done.

-- 
 Jernej Simončič  http://eternallybored.org/ 

___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


RE: Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-23 Thread Ian Puleston
 -Original Message-
 From: gtk-list-boun...@gnome.org [mailto:gtk-list-boun...@gnome.org] On
 Sent: Tuesday, March 23, 2010 4:48 PM
 
 On Tue, 23 Mar 2010 16:42:34 -0700, Ian Puleston wrote:
 
  Is there anything I might be missing to tidy up after the
  GtkFileChooserDialog that might be causing this? I'm using GTK
 2.16.6.
 
 This is just a guess, but it might have changed the working directory
 to your removable drive, and Windows will see this as the drive is in
 use. Try using chdir to change to some other drive after you're done.

Thanks but that doesn't seem to be the problem. The program is accessing files 
in its working directory, and after the export it can go on accessing them 
still which means the working directory did not change. But to be doubly-sure I 
just added a call to getcwd() after the export and g_printed the result and it 
shows the expected directory, not the flash drive.

Ian



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list


RE: Can't unmount flash drive after GtkFileChooserDialog in Windows

2010-03-23 Thread Ian Puleston
 -Original Message-
 From: Ian Puleston [mailto:i...@underpressuredivers.com]

 Is there anything I might be missing to tidy up after the
 GtkFileChooserDialog that might be causing this? I'm using GTK
 2.16.6.

I tried a hack to temporarily remove the call to the GtkFileChooserDialog and 
where it was calling gtk_file_chooser_get_current_folder I replaced that with a 
static string giving the path to the last drive. With this, after the export 
Windows could un-mount the flash drive just fine without closing the program. 
So this tells me that the problem does seem to be with the GtkFileChooserDialog.

Then (with the file chooser back in) as well as code to g_print the output of 
getcwd, I added a loop calling fstat on all file descriptors from 0 to 
0x with a g_print of those that return success (i.e. are open) and it 
printed this:

CWD: 'C:\SLRC\2010\Results\r6-GS-sq'
fd 0 is open !!
fd 1 is open !!
fd 2 is open !!

So only stdin/out/err are open and the cwd is not on the flash drive. What the 
heck else could be preventing Windows from un-mounting it?

Ian



___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list