commit 2dd331752209f6b00b76dd9a89c27bec46aea236 Author: Matthias Clasen Date: Fri Oct 15 21:55:17 2010 -0400 More distcheck fixes examples/Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit c6c18717346e8b94606b0d0f78b421cbf6e767ee Author: Matthias Clasen Date: Fri Oct 15 21:20:13 2010 -0400 Add filechooser settings gschema to EXTRA_DIST gtk/Makefile.am | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit bd7e3852ac17b93151b1fd3be41b5e2dae378ef6 Author: Matthias Clasen Date: Fri Oct 15 20:59:38 2010 -0400 More examples removal examples/Makefile.am | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) commit 9ae2c1fcf90f78e640435094482edb785ec7ef1d Author: Matthias Clasen Date: Fri Oct 15 20:53:07 2010 -0400 Drop crazy listing of all example files This will likely mean that the old examples will not appear in the tarball until they have been integrated in the new 'getting started' docs. Makefile.am | 72 +--------------------------------------------------------- 1 files changed, 2 insertions(+), 70 deletions(-) commit 39529dcfed92ee511cfab71f0f96dc1d5d12529e Author: Matthias Clasen Date: Fri Oct 15 20:48:37 2010 -0400 Fix make distcheck Makefile.am | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) commit 4869aeb28d9d8f5698bdb438264ba73253ff46d0 Author: Matthias Clasen Date: Fri Oct 15 20:20:25 2010 -0400 Update POTFILES.in po-properties/POTFILES.in | 1 - po/POTFILES.in | 1 - 2 files changed, 0 insertions(+), 2 deletions(-) commit a0aed8402b8ef2cb892d05dd84ddebc30426d50f Author: Matthias Clasen Date: Fri Oct 15 20:12:08 2010 -0400 Remove a private symbol from gtk.symbols gtk/gtk.symbols | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 4f9175d7fccbffc905f77885eba1900eca0eb9d1 Author: Matthias Clasen Date: Fri Oct 15 20:10:08 2010 -0400 Temporarily disable test involving file choosers After the filechooser got converted to use gsettings, it can no longer be used uninstalled, breaking make distcheck here. Also disable the treeview-scrolling tests, since they are failing here. gtk/tests/Makefile.am | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit f87b26a653744bed0dd582624c3ccb0353638701 Author: Matthias Clasen Date: Fri Oct 15 19:20:08 2010 -0400 Fix up symbol lists gtk/gtk.symbols | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 45c463e3760a8a2497846e4cd8c55c1b7aa52fb5 Author: Javier Jardón Date: Sat Oct 16 02:07:01 2010 +0200 GtkComboBoxText: Use gtk_combo_box_text_remove instead gtk_combo_box_text_remove_text docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtk.symbols | 2 +- gtk/gtkcomboboxtext.c | 2 +- gtk/gtkcomboboxtext.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 2dbfca9d029c6ac53b9791acf938734da9da1ffe Author: Matthias Clasen Date: Fri Oct 15 19:01:36 2010 -0400 Update NEWS for 2.91.1 NEWS | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 76 insertions(+), 0 deletions(-) commit 88d74e23fafd3462fafa74f5f4f2863c13c86958 Author: Matthias Clasen Date: Fri Oct 15 18:18:58 2010 -0400 Remove tutorial from configure.ac configure.ac | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 95e69afea83e6a43163a3c2b0d2928c9e646b77b Author: Marek Kasik Date: Fri Oct 15 12:08:12 2010 +0200 Parse lpoptions correctly Parse options job-sheets, job-hold-until and sides correctly. Add get_lpoption_name() for translation of lpoption names to gtk option names. Usable for options which values don't need conversion (e.g. number-up, number-up-layout, job-billing and job-priority). Rename array option_names to ppd_option_names to reflect its purpose better. Rename get_option_name() to get_ppd_option_name() because of the same reason. gtk/gtkprintunixdialog.c | 7 ++ modules/printbackends/cups/gtkprintbackendcups.c | 102 +++++++++++++++++++--- 2 files changed, 97 insertions(+), 12 deletions(-) commit d70b7f49b62d8e7147d30a08340968633f36b0e7 Author: Christian Dywan Date: Fri Oct 15 16:29:30 2010 +0200 Use property system to coerce model data to G_TYPE_STRING Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=423201 gtk/gtkcombobox.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 50cbd23d5b9589ccc850dbc5304cd5805780bc40 Author: Matthias Clasen Date: Fri Oct 15 16:52:54 2010 -0400 docs: cross-reference to GtkComboBoxText docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkcombobox.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3e9bdf6fd91175907c4b74b7a242a4ee0f5dbb11 Author: Matthias Clasen Date: Fri Oct 15 16:52:25 2010 -0400 Add docs for GtkComboBoxText docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-sections.txt | 24 ++++++++++++++++++++++++ docs/reference/gtk/gtk3.types | 1 + gtk/gtkcomboboxtext.c | 18 ++++++++++++++++++ 4 files changed, 44 insertions(+), 0 deletions(-) commit 3e2a259a78a40c1b84b21b44fcdd198581912805 Author: Matthias Clasen Date: Fri Oct 15 16:36:27 2010 -0400 docs: fix a cross-reference gtk/gtkwidget.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 43250e8faf2cc008b0b829351efff651b680a85c Author: Matthias Clasen Date: Fri Oct 15 16:33:11 2010 -0400 Deprecate the old combobox text convenience api gtk/gtkcombobox.c | 12 ++++++++++++ gtk/gtkcombobox.h | 4 ++++ 2 files changed, 16 insertions(+), 0 deletions(-) commit e7f51ef6a411dc4c784c3edc67df294288de3f75 Author: Javier Jardón Date: Sat Oct 2 18:19:46 2010 +0200 Use the new GtkComboBoxText API Also remove mentions of the old text convenience API from the docs, and point to GtkComboBoxText instead. demos/gtk-demo/sizegroup.c | 4 ++-- demos/gtk-demo/textview.c | 8 ++++---- demos/testpixbuf-scale.c | 10 +++++----- docs/tools/widgets.c | 4 ++-- gtk/gtkcombobox.c | 13 ++++--------- gtk/gtkfilechooserdefault.c | 6 +++--- gtk/gtkprintunixdialog.c | 18 +++++++++--------- gtk/gtkrecentchooserdefault.c | 10 +++++----- tests/prop-editor.c | 6 +++--- tests/testbbox.c | 22 +++++++++++----------- tests/testellipsise.c | 10 +++++----- tests/testgtk.c | 22 +++++++++++----------- tests/testoffscreen.c | 24 ++++++++++++------------ tests/testsocket_common.c | 10 +++++----- tests/testtoolbar.c | 12 ++++++------ tests/testtreecolumnsizing.c | 18 +++++++++--------- tests/testtreeview.c | 12 ++++++------ 17 files changed, 102 insertions(+), 107 deletions(-) commit 99cfbecf466193f2a132e4476f92723b8c51e4a5 Author: Matthias Clasen Date: Fri Oct 15 16:16:45 2010 -0400 Add gtk_combo_box_text_new_with_entry Also, make use of the configured entry_text_column. gtk/gtk.symbols | 1 + gtk/gtkcomboboxtext.c | 29 ++++++++++++++++++++++------- gtk/gtkcomboboxtext.h | 1 + 3 files changed, 24 insertions(+), 7 deletions(-) commit 8353754c17d33b8e26332c666dc3941c36619c51 Author: Matthias Clasen Date: Fri Oct 15 16:15:16 2010 -0400 docs: adjust Since tags gtk/gtkcombobox.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit a16722fc3a68bdc44d5aeab1297b533a10001e46 Author: Christian Dywan Date: Fri Oct 15 15:26:00 2010 +0200 Use text column value in GtkComboBoxText gtk/gtkcomboboxtext.c | 28 +++++++++++++++++++--------- 1 files changed, 19 insertions(+), 9 deletions(-) commit 7a5a5e9c5dee16601c8bf1df67ce12c81000bfb9 Author: Christian Dywan Date: Wed May 19 17:27:47 2010 +0200 Added GtkComboBoxText api This is a derived class of GtkComboBox to replace the gtk_combo_box_*_text() convenience API. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=612396 Signed-off-by: Javier Jardón gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtk.symbols | 12 +++ gtk/gtkcomboboxtext.c | 220 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcomboboxtext.h | 76 +++++++++++++++++ 5 files changed, 311 insertions(+), 0 deletions(-) commit 27ad64dccf24f4fed74f6204a2fc257178d8ff6f Author: John Ralls Date: Fri Oct 15 13:10:25 2010 -0700 Bug 631719 - Restore second, more important, call to set label from the menu item. gtk/gtkmenuitem.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) commit 80d3f1fcda15992749e20ed63f9e56a93f5357fd Author: Javier Jardón Date: Fri Oct 15 20:51:18 2010 +0200 docs: update OSX port project page docs/reference/gtk/osx.sgml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8d05e742120cb0d74f0b3bc9f7bc4a641169df26 Author: Alberto Garcia Date: Fri Oct 15 14:46:22 2010 -0400 Make gtk_accelerator_get_default_mod_mask() return a GdkModifierType Fixes https://bugzilla.gnome.org/show_bug.cgi?id=313350 docs/reference/gtk/migrating-checklist.sgml | 2 +- gtk/gtkaccelgroup.c | 2 +- gtk/gtkaccelgroup.h | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) commit b5621b3c895630a5e4a0dc9c642cecae6354b451 Author: Christian Persch Date: Fri Oct 15 14:34:44 2010 -0400 Take cursor hotspot from pixbuf if available Allow -1 for the hotspot coordinates in gdk_cursor_new_from_pixbuf, if the pixbuf contains the x_hot/y_hot options with appropriate values. Bug #632140. gdk/x11/gdkcursor-x11.c | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) commit cbc358ead8b75522655ddbda3be36d98c8fbebff Author: Javier Jardón Date: Mon Oct 11 02:01:14 2010 +0200 docs: Document GtkScrolledWindow's signals Based on a patch by Björn Lindqvist Fixes https://bugzilla.gnome.org/show_bug.cgi?id=351247 gtk/gtkscrolledwindow.c | 32 +++++++++++++++++++++++++++++++- 1 files changed, 31 insertions(+), 1 deletions(-) commit 921fc8807c6a37b94ebb2b5397bf89f0557c718d Author: Matthias Clasen Date: Fri Oct 15 14:13:32 2010 -0400 Deprecate gtk_init_add, gtk_remove_add and friends This functions are going to be removed in GTK+ 3. https://bugzilla.gnome.org/show_bug.cgi?id=629955 docs/reference/gtk/tmpl/gtkmain.sgml | 7 ++++++- gtk/gtkmain.c | 3 ++- gtk/gtkmain.h | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) commit 18578b33c59c2c4c5852cab9cda03f087a28dbc3 Author: Colin Walters Date: Fri Oct 15 13:54:37 2010 -0400 Add boxed type and constructor This allows bindings to sanely construct these. https://bugzilla.gnome.org/show_bug.cgi?id=632095 docs/reference/gtk/gtk3-sections.txt | 3 + gtk/gtk.symbols | 3 + gtk/gtkselection.c | 68 +++++++++++++++++++++++++++++++++- gtk/gtkselection.h | 6 +++ 4 files changed, 79 insertions(+), 1 deletions(-) commit f87023d8ee322947a943798cdb8fc2c21f8fe715 Author: Matthias Clasen Date: Fri Oct 15 13:07:08 2010 -0400 Forgotten file docs/reference/gtk/overview.xml | 100 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 100 insertions(+), 0 deletions(-) commit 0ff28d72f68c25d85fa851fc214f9478d9cb2396 Author: Matthias Clasen Date: Fri Oct 15 12:37:21 2010 -0400 examples: build examples that are included in the docs We build the examples that are included in the 'getting started' chapter of the docs to prevent them from bitrotting. Also remove the awk scripts used to extract the old examples from the tutorial, since the tutorial is gone. I'm still leaving the examples themeselves in place, for possible inclusion in 'getting started' later on. configure.ac | 1 + examples/Makefile | 45 ----------------------------- examples/Makefile.am | 47 ++++++++++++++++++++++++++++++ examples/README.1ST | 41 -------------------------- examples/extract.awk | 69 --------------------------------------------- examples/extract.sh | 30 ------------------- examples/find-examples.sh | 4 -- 7 files changed, 48 insertions(+), 189 deletions(-) commit ef7fddac3bfecfe855c55b78803df304376136eb Author: Matthias Clasen Date: Fri Oct 15 12:12:50 2010 -0400 docs: Drop the old tutorial The tutorial is outdated, essentially stuck at GTK+ 2.0. At this point, it is more misleading than helpful. docs/Makefile.am | 2 +- docs/tutorial/Makefile.am | 78 - docs/tutorial/gtk-tut.sgml |16080 -------------------------------- docs/tutorial/images/arrow.eps | 1147 --- docs/tutorial/images/arrow.png | Bin 3802 -> 0 bytes docs/tutorial/images/aspectframe.eps | 5448 ----------- docs/tutorial/images/aspectframe.png | Bin 5163 -> 0 bytes docs/tutorial/images/base.eps | 4287 --------- docs/tutorial/images/base.png | Bin 4462 -> 0 bytes docs/tutorial/images/buttonbox.eps |16247 --------------------------------- docs/tutorial/images/buttonbox.png | Bin 23400 -> 0 bytes docs/tutorial/images/buttons.eps | 1302 --- docs/tutorial/images/buttons.png | Bin 4063 -> 0 bytes docs/tutorial/images/calendar.eps |12855 -------------------------- docs/tutorial/images/calendar.png | Bin 11252 -> 0 bytes docs/tutorial/images/colorsel.eps | 6838 -------------- docs/tutorial/images/colorsel.png | Bin 28063 -> 0 bytes docs/tutorial/images/entry.eps | 2528 ----- docs/tutorial/images/entry.png | Bin 5273 -> 0 bytes docs/tutorial/images/eventbox.eps | 1077 --- docs/tutorial/images/eventbox.png | Bin 3673 -> 0 bytes docs/tutorial/images/filesel.eps | 8678 ------------------ docs/tutorial/images/filesel.png | Bin 11063 -> 0 bytes docs/tutorial/images/fixed.eps | 4755 ---------- docs/tutorial/images/fixed.png | Bin 5653 -> 0 bytes docs/tutorial/images/frame.eps | 8778 ------------------ docs/tutorial/images/frame.png | Bin 5827 -> 0 bytes docs/tutorial/images/gtkdial.eps | 2201 ----- docs/tutorial/images/gtkdial.png | Bin 4758 -> 0 bytes docs/tutorial/images/helloworld.eps | 914 -- docs/tutorial/images/helloworld.png | Bin 3264 -> 0 bytes docs/tutorial/images/helloworld2.eps | 1136 --- docs/tutorial/images/helloworld2.png | Bin 3911 -> 0 bytes docs/tutorial/images/label.eps | 8264 ----------------- docs/tutorial/images/label.png | Bin 17358 -> 0 bytes docs/tutorial/images/menu.eps | 2528 ----- docs/tutorial/images/menu.png | Bin 4857 -> 0 bytes docs/tutorial/images/notebook.eps | 2617 ------ docs/tutorial/images/notebook.png | Bin 8005 -> 0 bytes docs/tutorial/images/packbox1.eps | 6606 -------------- docs/tutorial/images/packbox1.png | Bin 10366 -> 0 bytes docs/tutorial/images/packbox2.eps | 4966 ---------- docs/tutorial/images/packbox2.png | Bin 9302 -> 0 bytes docs/tutorial/images/paned.eps | 9533 ------------------- docs/tutorial/images/paned.png | Bin 12050 -> 0 bytes docs/tutorial/images/progressbar.eps | 3581 -------- docs/tutorial/images/progressbar.png | Bin 6135 -> 0 bytes docs/tutorial/images/radiobuttons.eps | 1695 ---- docs/tutorial/images/radiobuttons.png | Bin 3936 -> 0 bytes docs/tutorial/images/rangewidgets.eps | 9087 ------------------ docs/tutorial/images/rangewidgets.png | Bin 9284 -> 0 bytes docs/tutorial/images/rulers.eps | 6588 ------------- docs/tutorial/images/rulers.png | Bin 8466 -> 0 bytes docs/tutorial/images/scribble.eps | 4709 ---------- docs/tutorial/images/scribble.png | Bin 5533 -> 0 bytes docs/tutorial/images/scrolledwin.eps | 8778 ------------------ docs/tutorial/images/scrolledwin.png | Bin 7745 -> 0 bytes docs/tutorial/images/spinbutton.eps | 6635 -------------- docs/tutorial/images/spinbutton.png | Bin 8515 -> 0 bytes docs/tutorial/images/statusbar.eps | 2528 ----- docs/tutorial/images/statusbar.png | Bin 5155 -> 0 bytes docs/tutorial/images/table.eps | 1834 ---- docs/tutorial/images/table.png | Bin 4395 -> 0 bytes docs/tutorial/images/tictactoe.eps | 1097 --- docs/tutorial/images/tictactoe.png | Bin 3100 -> 0 bytes docs/tutorial/package-db-tutorial.sh | 137 - 66 files changed, 1 insertions(+), 175533 deletions(-) commit 28cb8583c3061390f965999c08c1f1ebce266bd1 Author: Matthias Clasen Date: Fri Oct 15 12:10:59 2010 -0400 docs: move some tutorial content to the reference We add a "Getting started" chapter that will grow into a (hopefully) non-outdated, maintained tutorial. For now, it includes two minimal examples by xincluding them. docs/reference/gtk/Makefile.am | 7 ++- docs/reference/gtk/getting_started.xml | 16 ++++- docs/reference/gtk/gtk-docs.sgml | 99 +------------------------- docs/reference/gtk/images/hello-world.png | Bin 0 -> 3736 bytes docs/reference/gtk/images/window-default.png | Bin 0 -> 4845 bytes 5 files changed, 21 insertions(+), 101 deletions(-) commit f085c8b27225baecbca270feb822efc94d1f120b Author: Emmanuele Bassi Date: Fri Oct 15 11:04:27 2010 -0400 docs: Move the introduction of the tutorial in the reference The tutorial should just go away, but some of its contents can be moved to the API reference as chapters. https://bugzilla.gnome.org/show_bug.cgi?id=632059 docs/reference/gtk/Makefile.am | 8 ++- docs/reference/gtk/getting_started.xml | 96 +++++++++++++++++++++++++++++ docs/reference/gtk/gtk-docs.sgml | 1 + examples/hello-world.c | 103 ++++++++++++++++++++++++++++++++ examples/window-default.c | 20 ++++++ 5 files changed, 225 insertions(+), 3 deletions(-) commit 22d28ef47d0075fc4ef438b956df8df902ebaa55 Author: Benjamin Otte Date: Fri Oct 15 16:58:29 2010 +0200 x11: Don't set ParentRelative if the parent's visual is different It's like 82e6e32c, but when a pattern is given as argument. https://bugzilla.gnome.org/show_bug.cgi?id=632218 gdk/x11/gdkwindow-x11.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 56e797397be074f73a41c8cc9801146e18b4e117 Author: Matthias Clasen Date: Fri Oct 15 10:58:35 2010 -0400 Improve GtkBox and GtkTable docs a bit This adds some details gleaned from the tutorial, before its impending demise. docs/reference/gtk/tmpl/gtktable.sgml | 18 ++++++++++++++++-- gtk/gtkbox.c | 25 ++++++++++++++----------- 2 files changed, 30 insertions(+), 13 deletions(-) commit 17ffcb0cc685e427065c04ac2eea6a854b33eaab Author: Emmanuele Bassi Date: Thu Oct 14 15:22:19 2010 +0100 link-button: Add ::activate-link signal We cannot use the GtkButton::clicked signal to override the default behavior of GtkLinkButton (i.e. call gtk_show_uri()), because GtkButton::clicked is registered as a RUN_FIRST signal, which obviously prevents any other signal handler connected to it to stop the propagation before the class handler has a chance to run. For this reason we can add a GtkLinkButton::activate-link signal, which will be emitted by the default GtkButton::clicked signal handler; the ::activate-link signal has a boolean return value, which allows simpler code for stopping the propagation to the next signal handler. https://bugzilla.gnome.org/show_bug.cgi?id=632150 gtk/gtklinkbutton.c | 60 +++++++++++++++++++++++++++++++++++++++++++++------ gtk/gtklinkbutton.h | 19 ++++++++++++++++ 2 files changed, 72 insertions(+), 7 deletions(-) commit d7c7f010b026003d50669a567bd5136e3eef7869 Author: Tristan Van Berkom Date: Fri Oct 15 14:14:14 2010 +0900 Removed screwy GtkScrolledWindow logic Removed portion of scrolled-window that observes user-set size request data (aux_info->width/height) on the child directly in order to derive it's minimum possible size... if the scrolled window has (auto/always) scrollbars in a said orientation; only request enough space for the scrollbars (bug 631976). gtk/gtkscrolledwindow.c | 40 ++++++++++------------------------------ 1 files changed, 10 insertions(+), 30 deletions(-) commit 479dc131eef8793ec8e70f0b7dd929d028f68890 Author: Matthias Clasen Date: Thu Oct 14 23:03:39 2010 -0400 Implement get_preferred_width/height in GtkEventBox And drop size_request. gtk/gtkeventbox.c | 51 +++++++++++++++++++++++++++++++++++---------------- 1 files changed, 35 insertions(+), 16 deletions(-) commit aaf0f0f5c311bda33adb02dfdf2ce98b56402710 Author: Matthias Clasen Date: Thu Oct 14 22:34:39 2010 -0400 Use gtk_container_handle_border_width() in GtkEventBox gtk/gtkeventbox.c | 39 +++++++++++++++++---------------------- 1 files changed, 17 insertions(+), 22 deletions(-) commit bda1f3558504266cde3cb2bbe247dd489bcda941 Author: Matthias Clasen Date: Thu Oct 14 22:05:51 2010 -0400 Inclusion cleanups in sources Try to do inclusions in the same sequence, more or less. gdk/gdk.c | 7 ++++--- gdk/gdkapplaunchcontext.c | 1 + gdk/gdkcairo.c | 5 +++-- gdk/gdkcolor.c | 5 +++-- gdk/gdkcursor.c | 2 ++ gdk/gdkdevice.c | 2 ++ gdk/gdkdevicemanager.c | 2 ++ gdk/gdkdisplay.c | 8 +++++--- gdk/gdkdisplaymanager.c | 5 ++--- gdk/gdkdnd.c | 8 +++++--- gdk/gdkdraw.c | 10 ++++++---- gdk/gdkevents.c | 5 ++--- gdk/gdkglobals.c | 4 ++-- gdk/gdkkeynames.c | 7 ++++--- gdk/gdkkeys.c | 3 ++- gdk/gdkkeyuni.c | 3 ++- gdk/gdkmedialib.c | 4 ++-- gdk/gdkoffscreenwindow.c | 3 +-- gdk/gdkpango.c | 7 +++++-- gdk/gdkpixbuf-drawable.c | 5 +++-- gdk/gdkrectangle.c | 3 ++- gdk/gdkscreen.c | 6 ++++-- gdk/gdkselection.c | 4 +++- gdk/gdkvisual.c | 2 ++ gdk/gdkwindow.c | 5 +++-- gdk/gdkwindowimpl.c | 2 ++ gdk/x11/checksettings.c | 7 ++++++- gdk/x11/gdkapplaunchcontext-x11.c | 12 ++++++------ gdk/x11/gdkasync.c | 7 +++++-- gdk/x11/gdkcursor-x11.c | 12 +++++++----- gdk/x11/gdkdevice-core.c | 3 ++- gdk/x11/gdkdevice-xi.c | 5 +++-- gdk/x11/gdkdevice-xi2.c | 3 ++- gdk/x11/gdkdevicemanager-core.c | 5 +++-- gdk/x11/gdkdevicemanager-x11.c | 4 ++-- gdk/x11/gdkdevicemanager-xi.c | 1 + gdk/x11/gdkdevicemanager-xi2.c | 7 ++++--- gdk/x11/gdkdisplay-x11.c | 15 ++++++++------- gdk/x11/gdkdnd-x11.c | 19 ++++++++++--------- gdk/x11/gdkdrawable-x11.c | 12 ++++++------ gdk/x11/gdkeventsource.c | 1 + gdk/x11/gdkgeometry-x11.c | 3 ++- gdk/x11/gdkglobals-x11.c | 3 ++- gdk/x11/gdkim-x11.c | 10 +++++----- gdk/x11/gdkinput.c | 4 ++-- gdk/x11/gdkkeys-x11.c | 14 ++++++-------- gdk/x11/gdkmain-x11.c | 18 ++++++++---------- gdk/x11/gdkproperty-x11.c | 14 ++++++++------ gdk/x11/gdkscreen-x11.c | 10 ++++++---- gdk/x11/gdkselection-x11.c | 10 ++++++---- gdk/x11/gdkspawn-x11.c | 5 ++--- gdk/x11/gdktestutils-x11.c | 10 +++++++--- gdk/x11/gdkvisual-x11.c | 8 +++++--- gdk/x11/gdkwindow-x11.c | 30 ++++++++++++++---------------- gdk/x11/gdkxftdefaults.c | 3 +++ gdk/x11/gdkxid.c | 2 ++ gdk/x11/xsettings-client.c | 6 ++++-- gdk/x11/xsettings-common.c | 6 ++++-- 58 files changed, 226 insertions(+), 161 deletions(-) commit 88ef199ed713412a1825942f2929d382bf0b05f4 Author: Matthias Clasen Date: Tue Oct 5 16:11:49 2010 -0400 Inclusion cleanups in headers gdk/gdkmain.h | 1 - gdk/gdkrectangle.h | 2 ++ gdk/gdkscreen.h | 4 ++-- gdk/gdkthreads.h | 2 ++ gdk/x11/gdkasync.h | 2 +- gdk/x11/gdkdevice-xi2.h | 1 + gdk/x11/gdkdisplay-x11.h | 7 +++---- gdk/x11/gdkdrawable-x11.h | 1 - gdk/x11/gdkprivate-x11.h | 10 ++++------ gdk/x11/gdkscreen-x11.h | 4 ++-- gdk/x11/gdkx.h | 1 - gdk/x11/xsettings-common.h | 2 ++ 12 files changed, 19 insertions(+), 18 deletions(-) commit 9d644e9d2d9d5bc2c4a9ce426f10d5017c8d0801 Author: Matthias Clasen Date: Fri Sep 24 23:46:32 2010 -0400 Make gdk.h an include-only header Move declarations to other headers, and introduce some new ones: gdkmain.h, gdkrectangle.h, gdkthreads.h. gdk/Makefile.am | 3 + gdk/gdk.h | 135 +-------------------------------------------------- gdk/gdkevents.h | 18 +++++-- gdk/gdkmain.h | 110 ++++++++++++++++++++++++++++++++++++++++++ gdk/gdkrectangle.h | 51 ++++++++++++++++++++ gdk/gdkthreads.h | 70 +++++++++++++++++++++++++++ 6 files changed, 250 insertions(+), 137 deletions(-) commit e613d26448eede019d4426edce1676afc22d4294 Author: Matthias Clasen Date: Tue Oct 5 16:44:55 2010 -0400 Drop dead gxid_proto.h header This header is no longer used. gdk/x11/gxid_proto.h | 39 --------------------------------------- 1 files changed, 0 insertions(+), 39 deletions(-) commit 9ff4f0819f72739e380f9477494d0f9b291844ac Author: Matthias Clasen Date: Thu Oct 14 21:40:33 2010 -0400 Some GDK documentation fixes docs/reference/gdk/gdk-docs.sgml | 16 ---------------- docs/reference/gdk/tmpl/general.sgml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+), 16 deletions(-) commit 733f1710c6cbe7c9a4232aae3bf9c0e7f01d12f8 Author: Fridrich Štrba Date: Thu Oct 14 20:56:17 2010 +0200 Enable the build of MS Windows engine again The MS Windows engine compiles anew, so enable it so that one can fix remaining issues modules/engines/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 85e47b5c4ef49b4a803932e8215c1a104884921b Author: Federico Mena Quintero Date: Thu Oct 14 13:17:46 2010 -0500 Part of bgo#613728 - [GtkTreeView] Focus the list, not the headers, when Tab-focusing The idea is that it is way more common to want to manipulate the actual list, rather than the headers. Once you Tab into the treeview (and the list part gets the focus), you can use Shift-Tab to focus the headers. This means that some hysteresis is added to the focus chain, but it makes the treeview a lot more convenient to focus with the keyboard. Signed-off-by: Federico Mena Quintero gtk/gtktreeview.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 5cbb309841536b23646e554a44a8a434c242bf1d Author: Kristian Rietveld Date: Thu Oct 14 18:01:51 2010 +0200 Initialize device_cursor hash table before creating impl window gdk/gdkwindow.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit aeec832f0e88f059f0c3b0ea19577febb8f6bdcc Author: Kristian Rietveld Date: Thu Oct 14 17:26:17 2010 +0200 Do not call validate_visible_area() from the draw method Because validate_visible_area() can modify the window size (and thus the underlying surface), it should not be called from within the draw method. Given that the presize handler is run with a higher priority than redraw, and the presize handler will validate the visible area, there should not be cases wherein the draw method is called and validate_visible_area() has not been run yet. However, one such a case was gdk_window_process_updates(), which would trigger the draw method at some point. We now work around this by factoring this in a new gtk_tree_view_bin_process_updates() function that will run the presize handler first if needed. Note: for other platforms, it might still be the case that the draw method is called and validate_visible_area() has not been run yet. (For example the Mac backend calls gdk_window_process_updates() from the drawRect method, and the redraw-in-idle handling thus works differently). This does not seem to be a problem now, if it will be in the future we need to take care of that then. gtk/gtktreeview.c | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) commit 4fc31dd87a91398aa92e3ecd9702ca1487352cc3 Author: Kristian Rietveld Date: Thu Oct 14 15:07:06 2010 +0200 Add test for bug 163214 gtk/tests/treeview-scrolling.c | 64 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-) commit 51820d3e3413ff369a766ca6d420446884c9e799 Author: Kristian Rietveld Date: Thu Oct 14 14:11:30 2010 +0200 Add test for bug 111500 This test is constructed in such a way that it breaks when you (currently!) do not trigger a size-request from validate_visible_area. Especially row expansion appears to have a need for this currently. gtk/tests/treeview-scrolling.c | 130 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 128 insertions(+), 2 deletions(-) commit e774e235d776cd9dcb22019b9ccc6e7e1805f0f7 Author: Kristian Rietveld Date: Thu Oct 14 11:24:46 2010 +0200 Add unit test for bug 93584 gtk/tests/treeview-scrolling.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) commit 359818d6b7bcb3c77412cee3e1c2e404312eb002 Author: Kristian Rietveld Date: Thu Oct 14 10:57:20 2010 +0200 Also test scrolling to a new row in a mixed height model gtk/tests/treeview-scrolling.c | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 0 deletions(-) commit 3d31254fd9703c2fcf369084e298bdd3d7c9ac36 Author: Martin Schlemmer <11285613@nwu.ac.za> Date: Thu Oct 14 14:15:06 2010 +0200 Trying to fix MS Windows engine modules/engines/ms-windows/msw_style.c | 528 +++++++++++++------------------- modules/engines/ms-windows/xp_theme.c | 124 +++++---- modules/engines/ms-windows/xp_theme.h | 16 +- 3 files changed, 288 insertions(+), 380 deletions(-) commit 34b117865a36c21918b6432cc6b9c379e8cfe907 Author: Matthias Clasen Date: Thu Oct 14 08:12:11 2010 -0400 Initialize variables valgrind was complaining about uninitialized values here, and sure enough, gdkdevice-xi.c doesn't set device position. gdk/gdkwindow.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 407b73dd8035322d6c755f023edf42999b1e1306 Author: Benjamin Otte Date: Thu Oct 14 13:53:23 2010 +0200 build: Require cairo-gobject for GDK With the new signal added, GDK now also requires cairo-gobject. configure.ac | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4ca2632d42e183065e2b8e959e8a21bcd584b474 Author: Michael Natterer Date: Thu Oct 14 13:43:08 2010 +0200 gdk: add slots for all GdkWindowObject signals Also add padding for future extension. gdk/gdkwindow.c | 6 +++--- gdk/gdkwindow.h | 31 ++++++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 6 deletions(-) commit 9d9742f1e56a331f71c6a46b11ccc765621d46c7 Author: Michael Natterer Date: Thu Oct 14 13:25:23 2010 +0200 Bug 631599 - Allow to use arbitrary surfaces for offscreen windows Add signal GdkWindow::create-surface which allows to use any surface type as storage for offscreen windows. Test the new signal in tests/gdkoffscreenbox.c gdk/gdkinternals.h | 3 ++ gdk/gdkmarshalers.list | 1 + gdk/gdkoffscreenwindow.c | 38 +++++++++++++++++++++++++--------- gdk/gdkwindow.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkwindow.h | 4 +++ tests/gtkoffscreenbox.c | 12 +++++++++++ 6 files changed, 98 insertions(+), 10 deletions(-) commit 10c76c1c956c9dee46a6d9e28b9456967d508889 Author: Michael Natterer Date: Thu Oct 14 11:32:44 2010 +0200 gtk: add cast to fix warning in my last commit gtk/gtkfilechooserdefault.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 44cb3bcfeda9abcb7f53151dd6b3c9cd841422db Author: Cody Russell Date: Wed Oct 13 23:04:11 2010 -0500 Implement style_set() for GtkWindow to resize window grips when the style changes. gtk/gtkwindow.c | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) commit 9612c648176378bf237ad0e1a8c6c995b0ca7c61 Author: Tristan Van Berkom Date: Wed Oct 13 21:52:27 2010 -0400 Deprecate GtkComboBoxEntry in favor of added properties to GtkComboBox GtkComboBox now sports a construct-only "has-entry" property which decides if it uses a GtkEntry to allow additional user input. Also it has a new "entry-text-column" to fetch strings for the entry from the model. This patch deprecates the GtkComboBoxEntry and updates the rest of GTK+ to use the new semantics on GtkComboBox instead. GtkComboBoxEntry will be removed altogether before GTK+ 3, in a later commit. demos/gtk-demo/combobox.c | 9 +- docs/reference/gtk/gtk3-sections.txt | 4 + docs/tools/widgets.c | 11 +- gtk/gtk.symbols | 6 + gtk/gtkcellrenderercombo.c | 7 +- gtk/gtkcombobox.c | 359 +++++++++++++++++++++++++++++++++- gtk/gtkcombobox.h | 6 + gtk/gtkcomboboxentry.c | 11 + gtk/gtkcomboboxentry.h | 3 + gtk/gtkprinteroptionwidget.c | 7 +- gtk/tests/builder.c | 3 +- gtk/tests/object.c | 10 +- tests/testcombo.c | 14 +- tests/testgtk.c | 10 +- tests/testsocket_common.c | 10 +- 15 files changed, 435 insertions(+), 35 deletions(-) commit 7c8ee80c5af0909735d1e36b8aba7aa02bf83c95 Author: Matthias Clasen Date: Wed Oct 13 11:24:56 2010 -0400 Add new API to docs and symbol list docs/reference/gtk/gtk3-sections.txt | 14 +++++++++++++- gtk/gtk.symbols | 10 ++++++++++ 2 files changed, 23 insertions(+), 1 deletions(-) commit 7791013754b64728d7bfe707c4a51abf0051813f Author: Matthias Clasen Date: Mon Oct 11 15:23:03 2010 -0400 Support GtkWidget expand properties in GtkNotebook We expand a tab if either tab-expand is set, or the generic widget expand property in the correct direction is set. And we do not propagate expand flags from tab labels to the notebook, only the expand flags from the pages. gtk/gtknotebook.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 48 insertions(+), 2 deletions(-) commit 48de50df890b23aa92e6a158866721cf5eb7a48d Author: Matthias Clasen Date: Mon Oct 11 13:56:52 2010 -0400 Support GtkWidget expand properties in GtkTable We expand a child when it either has the table-specific expand flag or the generic expand property set. Override compute_expand so that it also takes the table-specific expand flags of children into account. https://bugzilla.gnome.org/show_bug.cgi?id=628902 gtk/gtktable.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 76 insertions(+), 11 deletions(-) commit 29ce9e679a502c35e52d9ab87d7c4dbc4664258b Author: Matthias Clasen Date: Mon Oct 11 13:26:11 2010 -0400 Add a GtkTable testcase tests/testexpand.c | 95 ++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 81 insertions(+), 14 deletions(-) commit 8abb18f910ba26f8dd536b28150b85e1616eb1aa Author: Havoc Pennington Date: Mon Sep 6 12:30:40 2010 -0400 Support GtkWidget expand properties in GtkBox This consists of: * expand a child if either child->expand || gtk_widget_get_expand(child) * override compute_expand so that child->expand will cause us to return TRUE for gtk_widget_get_expand() https://bugzilla.gnome.org/show_bug.cgi?id=628902 gtk/gtkbox.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 72 insertions(+), 6 deletions(-) commit 7597a35477eefdcea9264b67f3ccefdb63f911d5 Author: Havoc Pennington Date: Mon Sep 6 12:31:54 2010 -0400 add tests/testexpand.c used to test the expand props on GtkWidget There are two colored boxes with toggle buttons nested inside several GtkBox. Toggling these to expand mode should automatically propagate expansion up through the several GtkBox such that resizing the window results in resizing the colored boxes. https://bugzilla.gnome.org/show_bug.cgi?id=628902 tests/Makefile.am | 5 ++ tests/testexpand.c | 152 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 157 insertions(+), 0 deletions(-) commit 031856eb3321ac8043c80ce98ee6c1d051b48d6e Author: Havoc Pennington Date: Mon Sep 6 12:26:32 2010 -0400 Add horizontal and vertical expand flags, compute_expand() to GtkWidget GtkWidget now has flags for horizontal and vertical expand, and a compute_expand() method. compute_expand() is used by containers to set a default expand flag. (If a widget has expand set explicitly, it always overrides the results of compute_expand.) GtkContainer has a default implementation of compute_expand which simply walks over all child widgets and sets expand=TRUE if any child is expanding. The overall effect is that you only have to set expand on leaf nodes in the widget tree, while previously you had to set expand all the way up the tree as you packed every container. Also, now containers need not have their own child properties for expand. For old containers which do have "expand" child properties, they should override compute_expand and include the child properties in whether the container is expand=TRUE. Also, the old container should use "child_prop_expand || gtk_widget_compute_expand()" everywhere it previously used simply "child_prop_expand" https://bugzilla.gnome.org/show_bug.cgi?id=628902 gtk/gtkcontainer.c | 51 +++++ gtk/gtkwidget.c | 605 +++++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkwidget.h | 24 ++ 3 files changed, 678 insertions(+), 2 deletions(-) commit 7d5a85c3ad6ba6aa891edcafd8cdb3d397184002 Author: Matthias Clasen Date: Wed Oct 13 10:39:09 2010 -0400 Some more resize grip cleanups Don't recompute hints whenever we determine the drag edge, and take the drag edge into account when deciding whether to show the grip. gtk/gtkwindow.c | 40 ++++++++++++++++++++++++---------------- 1 files changed, 24 insertions(+), 16 deletions(-) commit 9e661ed0e91a5709afcc46cdeaea4d711a885da7 Author: Matthias Clasen Date: Mon Oct 11 17:23:01 2010 -0400 Unify handling of GtkWindow::resizable property gtk/gtkwindow.c | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) commit b36819957fcea6a4c2aeaa3a3ca28c635c5b3c3b Author: Matthias Clasen Date: Wed Oct 13 10:21:04 2010 -0400 Remove GtkWrapBox from the docs, too docs/reference/gtk/gtk3-sections.txt | 39 ---------------------------------- docs/reference/gtk/gtk3.types | 1 - 2 files changed, 0 insertions(+), 40 deletions(-) commit dbdc9c99e5f6d9e4d31567bfa78c864aa9354ab4 Author: Matthias Clasen Date: Wed Oct 13 10:18:03 2010 -0400 Make GtkRecentManager use standard icon names for themed icons gtk/gtkrecentmanager.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f8b8c95f45156f931b134ab92546ce7fc54434ab Author: Matthias Clasen Date: Wed Oct 13 09:51:54 2010 -0400 Some resize grip cleanups Safe space in the private struct, always set the cursor when we update visibility, since the cursor depends on resizability conditions too. And don't set the shape needlessly. gtk/gtkwindow.c | 33 +++++++++++++++++++-------------- 1 files changed, 19 insertions(+), 14 deletions(-) commit e3cc39cb9813de101d35611e761ccc1571a3267c Author: Tristan Van Berkom Date: Wed Oct 13 22:26:08 2010 +0900 Removed all traces of GtkWrapBox from GTK+. docs/reference/gtk/gtk-docs.sgml | 1 - gtk/Makefile.am | 4 +- gtk/gtk.h | 1 - gtk/gtk.symbols | 27 - gtk/gtkenums.h | 54 - gtk/gtkwrapbox.c | 2636 -------------------------------------- gtk/gtkwrapbox.h | 102 -- tests/Makefile.am | 8 +- tests/testwrapbox.c | 496 ------- 9 files changed, 2 insertions(+), 3327 deletions(-) commit 5e1d8814ca005e2e28fdd579e060191d0db23cdc Author: Matthias Clasen Date: Wed Oct 13 08:28:21 2010 -0400 Don't start a drag if we are not resizable This was caused by get_drag_edge() returning -1 to mean 'no drag', but callers didn't really pay attention. Change get_drag_edge() to return a boolean instead. gtk/gtkwindow.c | 81 +++++++++++++++++++++++++++++------------------------- 1 files changed, 43 insertions(+), 38 deletions(-) commit 803233cc14c02535a78b0000097d812ff42f7e6e Author: Christian Persch Date: Tue Sep 28 22:56:02 2010 +0200 Use GSettings for the filechooser settings Bug #630850. configure.ac | 6 + gtk/Makefile.am | 6 +- gtk/gtkfilechooserdefault.c | 77 +++-- gtk/gtkfilechooserdialog.c | 1 - gtk/gtkfilechooserprivate.h | 2 + gtk/gtkfilechoosersettings.c | 504 -------------------------- gtk/gtkfilechoosersettings.h | 118 ------ gtk/org.gtk.Settings.FileChooser.gschema.xml | 64 ++++ 8 files changed, 123 insertions(+), 655 deletions(-) commit a2e88f9b808b48f8d7476938bc4dcc76cc77f7ff Author: Jorge González Date: Wed Oct 13 14:26:30 2010 +0200 Updated Spanish translation po-properties/es.po | 25 ++++++++++--------------- 1 files changed, 10 insertions(+), 15 deletions(-) commit 3b7cbaa47f4ed297958fd6057158e180ab1a950d Author: Jorge González Date: Wed Oct 13 01:25:28 2010 +0200 Updated Spanish translation po-properties/es.po | 29 ++++++++++++----------------- 1 files changed, 12 insertions(+), 17 deletions(-) commit af31afb906211e14608f198c2bd7df63af96bed3 Author: Jorge González Date: Tue Oct 12 21:56:42 2010 +0200 Updated Spanish translation po-properties/es.po | 41 ++++++++++++++++------------------------- 1 files changed, 16 insertions(+), 25 deletions(-) commit 6bdc9b7f8a0196ee63af7f0ed0423af793ba0d32 Author: Michael Natterer Date: Tue Oct 12 21:20:16 2010 +0200 Bug 563002 - Doesn't call 'update-preview' on set_filename Call gtk_tree_view_set_cursor() in addition to gtk_tree_selection_select_iter() when selecting the file in show_and_select_files() so the preview update machinery gets triggered. (cherry picked from commit 795c8070db6c97ace040bfd220794bae3e2721c2) gtk/gtkfilechooserdefault.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) commit 4469d2cde1382c23fa566f4a534f611d035a2b2c Author: Matej Urbančič Date: Tue Oct 12 20:09:27 2010 +0200 Updated Slovenian translation po/sl.po | 2092 ++++++++++++++++++++++++++++---------------------------------- 1 files changed, 941 insertions(+), 1151 deletions(-) commit 25bf8ba4defeff5b22b87cb9bc337042730e9f47 Author: Kristian Rietveld Date: Tue Oct 12 19:08:34 2010 +0200 Don't check resize-grip-visible in default values unit test The value for this property is determined at runtime. gtk/tests/defaultvalue.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit d7c3d378eb25fec997e9e213da5cef9cd464a504 Author: Kristian Rietveld Date: Tue Oct 12 18:53:44 2010 +0200 Disable resize grip on spin button test Otherwise, the resize grip obscures the decrement button causing the test to fail. gtk/tests/testing.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c143105ae928c6a75a6d8ba9e70fa0472f4b4232 Author: Kristian Rietveld Date: Tue Oct 12 18:25:22 2010 +0200 Fix scrolled window policy so the size allocation does not "flap" gtk/tests/treeview-scrolling.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 65c3fc99536ead0f755b027043eaa2e2052bf0ef Author: Kristian Rietveld Date: Tue Oct 12 17:39:26 2010 +0200 Handle off-by-one errors due to rounding gtk/tests/treeview-scrolling.c | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) commit b58e3bb30c16d63bdf60f439a8c601f26072e451 Author: Kristian Rietveld Date: Tue Oct 12 17:25:21 2010 +0200 Use double iso. float since that is what GtkAdjustment uses gtk/tests/treeview-scrolling.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) commit e732c16aab46913db2d81b91b5860ccbccc45efe Author: Kristian Rietveld Date: Tue Oct 12 17:20:44 2010 +0200 Use GtkAdjustment accessors to properly compress changed signals gtk/gtktreeview.c | 61 +++++++++++++++++++++++++++++++++++----------------- 1 files changed, 41 insertions(+), 20 deletions(-) commit c7e024d160a3eb7efb47c35a3f1e53506168dcec Author: Matthias Clasen Date: Tue Oct 12 11:28:21 2010 -0400 Rework GdkPangoRenderer example to use existing api docs/reference/gdk/tmpl/pango_interaction.sgml | 106 +++++++++++------------ 1 files changed, 51 insertions(+), 55 deletions(-) commit abb25b7895fb900855e8b8885082ba8979c4f1ac Author: Matthias Clasen Date: Tue Oct 12 11:01:10 2010 -0400 docs: add a longdesc for X-specifics docs/reference/gdk/tmpl/x_interaction.sgml | 159 +++++----------------------- 1 files changed, 27 insertions(+), 132 deletions(-) commit 0a8abdcdf6392d68fb612573551bb18d4aaf9b59 Author: Matthias Clasen Date: Tue Oct 12 10:53:44 2010 -0400 docs: Update cairo-related docs gdk/gdkcairo.c | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) commit d8700a02f152629be1d4a2ff23029d470019d185 Author: Matthias Clasen Date: Tue Oct 12 09:59:05 2010 -0400 docs: Remove mentions of GdkPixmap from cursor docs docs/reference/gdk/tmpl/cursors.sgml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit ec7c2acf7bf39af5f2ed9e9c1beb8ae7d3abd09b Author: Matthias Clasen Date: Tue Oct 12 09:45:11 2010 -0400 Move GdkVisualType docs inline docs/reference/gdk/tmpl/visuals.sgml | 2 +- gdk/gdkvisual.h | 30 +++++++++++++++++++++++------- 2 files changed, 24 insertions(+), 8 deletions(-) commit 4d63d96762e9857d6ee096f52c730907165c724c Author: Matthias Clasen Date: Tue Oct 12 08:59:46 2010 -0400 docs: Correct some link targets docs/reference/gdk/multihead.sgml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 2853db41f86c1867de69df598a90f9fd34b2c4f5 Author: Jorge González Date: Tue Oct 12 17:16:12 2010 +0200 Updated Spanish translation po-properties/es.po | 3513 ++++++++++++++++++++++++++------------------------- 1 files changed, 1777 insertions(+), 1736 deletions(-) commit eae3183f1cb5f5442cec748ad6f1a17d1540bd66 Author: Tor Lillqvist Date: Tue Oct 12 14:39:30 2010 +0300 Add two new functions to gtk.symbols gtk/gtk.symbols | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit bef6c0a4a309768c413c720cdfaa57b388af3ede Author: Michael Natterer Date: Tue Oct 12 11:32:42 2010 +0200 Bug 631599 - Allow to use arbitrary surfaces for offscreen windows As a first step, create surfaces lazily and factor surface creation out to a single function. gdk/gdkoffscreenwindow.c | 97 +++++++++++++++++++++++++++++----------------- 1 files changed, 61 insertions(+), 36 deletions(-) commit e85dad38e2c579598c142515c8b816ea6657e0c8 Author: Tristan Van Berkom Date: Tue Oct 12 17:16:32 2010 +0900 Added logic to GtkScrolledWindow when allocating height-for-width children. This patch makes the scrolled window reconsider allocating the child the full width or height (depending on the child's request mode) without a scrollbar. For instance when the child is height-for-width; the child will first be tested if the content's height for full allocated width (without a vscrollbar) will allow the contents height for that width to fit the allocated height. Patch is a simplified version of code inspected in st-scroll-view.c. Note that this patch assumes children will begin to scroll only after reaching their minimum size; adding a property to the future GtkScrollableIface to decide whether to scroll-to-minimum or scroll-to-natural will effect this code (it should then reconsider whether the child will scroll below the natural size instead of the minimum). Patch addresses bug 629778. gtk/gtkscrolledwindow.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 123 insertions(+), 1 deletions(-) commit 0e0d938cc3e3a841d2a3849f2b67048265b799b6 Author: Tristan Van Berkom Date: Tue Oct 12 17:10:55 2010 +0900 Make GtkScrolledWindow offload border-width calculations to GtkContainerClass. gtk/gtkscrolledwindow.c | 96 ++++++++++++++++++++--------------------------- 1 files changed, 41 insertions(+), 55 deletions(-) commit f106d369a7f4b53dad6209cf8d3d60ccecde0e79 Author: Matthias Clasen Date: Tue Oct 12 01:10:32 2010 -0400 Don't link to old stuff docs/reference/gtk/gtk-docs.sgml | 1 - docs/reference/gtk/gtk3-sections.txt | 35 ++++++++++----------------------- gtk/gtkwidget.h | 7 +++-- 3 files changed, 15 insertions(+), 28 deletions(-) commit 5a6ea621254c48a09568b3fe8067102d8df2b53d Author: Matthias Clasen Date: Tue Oct 12 01:05:39 2010 -0400 Add a missing close tag docs/reference/gtk/migrating-2to3.xml | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit b23dc8477f91edfa3f166ad8ffd95803b2bac7e6 Author: Matthias Clasen Date: Tue Oct 12 00:57:13 2010 -0400 Remove a note about GTK 1.2 api docs/reference/gtk/tmpl/gtkprogressbar.sgml | 36 +++------------------------ 1 files changed, 4 insertions(+), 32 deletions(-) commit 36f1d08bce93b87122ffc399ef1340339cbf4341 Author: Matthias Clasen Date: Tue Oct 12 00:50:18 2010 -0400 Fix a trivial typo gtk/gtkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 68999567707fc123d4338ba8c8eb6695f34f7a82 Author: Matthias Clasen Date: Tue Oct 12 00:46:59 2010 -0400 Reorder some sections docs/reference/gtk/gtk-docs.sgml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit cf1745a93510091aaf8b8e11829cddc602f9ff68 Author: Matthias Clasen Date: Tue Oct 12 00:38:04 2010 -0400 Remove mentions of dialog separator from the docs docs/reference/gtk/tmpl/gtkdialog.sgml | 43 ++++++------------------------- 1 files changed, 9 insertions(+), 34 deletions(-) commit 82712a150a42790524c506e2f6a91bff2146dccf Author: Matthias Clasen Date: Tue Oct 12 00:19:35 2010 -0400 Some documentation updates docs/reference/gtk/building.sgml | 15 --------------- docs/reference/gtk/gtk-docs.sgml | 20 ++++++++++---------- docs/reference/gtk/gtk3-sections.txt | 2 -- 3 files changed, 10 insertions(+), 27 deletions(-) commit e0c2a4e10fd483d24aa384c0d5f2b606ad00e8ca Author: Matthias Clasen Date: Mon Oct 11 23:26:58 2010 -0400 Inspect geometry when setting resize grip cursors We want to use the same cursor as metacity when the window is only resizable in one dimension. gtk/gtkwindow.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 72 insertions(+), 13 deletions(-) commit a4a7a611f2219a4cdcb359ac828ea122906f158e Author: Owen W. Taylor Date: Sat Oct 9 22:38:54 2010 -0400 GtkWindow: Allow setting size from geometry If you set a geometry widget via gtk_window_set_geometry_hints() it becomes very hard to compute appropriate toplevel sizes in pixels to make the window a particular size. Synthesizing strings and passing them to gtk_window_parse_geometry() is possible, but to avoid avoid such ugliness, add functions: gtk_window_set_default_geometry() gtk_window_resize_to_geometry() That act like gtk_window_set_default_size() and gtk_window_resize() but are in terms of the resize increments of the geometry widget. https://bugzilla.gnome.org/show_bug.cgi?id=631796 gtk/gtkwindow.c | 171 ++++++++++++++++++++++++++++++++++++-------------- gtk/gtkwindow.h | 8 +++ tests/testgeometry.c | 29 +++++++++ 3 files changed, 161 insertions(+), 47 deletions(-) commit 519d7587117269773c1bd85887779b80fca04b81 Author: Owen W. Taylor Date: Sat Oct 9 22:29:20 2010 -0400 Warn when calling gtk_window_parse_geometry() on an empty window gtk_window_parse_geometry() gets the size of the window in order to interpret the position of the window; calling it before, say, calling gtk_widget_show_all() on a window is a subtle trap, so add a warning in the case we can easily detect. https://bugzilla.gnome.org/show_bug.cgi?id=631794 gtk/gtkwindow.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) commit 88cf5470290cd03ada031641cb6ee1c90df75e7d Author: Owen W. Taylor Date: Sat Oct 9 22:15:34 2010 -0400 Fix handling of the geometry widget The geometry widget feature of gtk_window_set_geometry_hints() has never really worked right because the calculation that GTK+ did to compute the base size of the window only worked when the geometry widget had a larger minimum size than anything else in the window. Setup: * Move the GtkSizeGroup private functions to a new private header gtksizegroup-private.h * Add the possibilty to pass flags to _gtk_size_group_queue_resize(), with the flag GTK_QUEUE_RESIZE_INVALIDATE_ONLY to suppress adding the widget's toplevel to the resize queue. * _gtk_container_resize_invalidate() is added to implement that feature * _gtk_widget_override_size_request()/_gtk_widget_restore_size_request() allow temporarily forcing a large minimum size on the geometry widget without creating resize loops. GtkWindow: * Compute the extra width/height around the geometry widget correctly; print a warning if the computation fails. * Always make the minimum size at least the natural minimum size of the toplevel; GTK+ now fails badly with underallocation. * Always set the base size hint; we were failing to set it properly when the specified minimum size was overriden, but it's harmless to always set it. Tests: * New test 'testgeometry' that replaces the 'gridded geometry' test from testgtk. The new test is roughly similar but creates a bunch of windows showing different possibilities. * The testgtk test is removed. No need to have both. https://bugzilla.gnome.org/show_bug.cgi?id=68668 gtk/Makefile.am | 1 + gtk/gtkcontainer.c | 37 ++++++++- gtk/gtkcontainer.h | 1 + gtk/gtkprivate.h | 9 ++ gtk/gtksizegroup-private.h | 49 +++++++++++ gtk/gtksizegroup.c | 50 +++++++----- gtk/gtksizegroup.h | 9 -- gtk/gtksizerequest.c | 2 +- gtk/gtkwidget.c | 85 +++++++++++++++--- gtk/gtkwindow.c | 82 +++++++++++++----- tests/Makefile.am | 6 ++ tests/testgeometry.c | 203 ++++++++++++++++++++++++++++++++++++++++++++ tests/testgtk.c | 168 ------------------------------------ 13 files changed, 463 insertions(+), 239 deletions(-) commit c250a7e6732802a8918db207f3f7cb296f69f3fc Author: Tristan Van Berkom Date: Tue Oct 12 00:47:43 2010 +0900 Added documentation to GtkContainer about implementing containers using height-for-width apis. gtk/gtkcontainer.c | 134 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 129 insertions(+), 5 deletions(-) commit 4490aeddf79ba36c06f3ee6f6e4e8ca019c4ef5a Author: Vincent Untz Date: Mon Oct 11 13:59:06 2010 +0200 build: Distribute README.multipress https://bugzilla.gnome.org/show_bug.cgi?id=631872 modules/input/Makefile.am | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 70228649ee791059c48050786bb5f6c093419294 Author: Fran Diéguez Date: Mon Oct 11 10:22:04 2010 +0200 Updated Galician translations po-properties/gl.po | 3532 ++++++++++++++++++++++++++------------------------- po/gl.po | 1717 +++++++++++++------------- 2 files changed, 2641 insertions(+), 2608 deletions(-) commit 458840826848393002824b4319e625b76dd9769b Author: Ivar Smolin Date: Mon Oct 11 09:40:35 2010 +0300 [l10n] Updated Estonian translation po/et.po | 879 +------------------------------------------------------------- 1 files changed, 14 insertions(+), 865 deletions(-) commit c2ab54a31f9be01c1328babf794fd5bfa5ab098d Author: Javier Jardón Date: Mon Oct 11 04:21:36 2010 +0200 docs: Move documentation do inline comments: GtkContainer docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcontainer.sgml | 539 ----------------------------- gtk/gtkcontainer.c | 84 +++++ gtk/gtkcontainer.h | 10 + gtk/gtkwidget.c | 2 +- 5 files changed, 96 insertions(+), 540 deletions(-) commit cabc386252f9738c0b5b9b2b98cc05da9390b141 Author: Javier Jardón Date: Mon Oct 11 04:59:19 2010 +0200 docs: Improve reference crossing in GtkWidget docs gtk/gtkwidget.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 71b4d83144a3111d54143031b11b1087396deca7 Author: Xan Lopez Date: Sun Oct 10 18:18:27 2010 +0900 Plug memory leak in GtkWindow 1,936 (112 direct, 1,824 indirect) bytes in 4 blocks are definitely lost in loss record 13,453 of 13,673 at 0x4005BDC: malloc (vg_replace_malloc.c:195) by 0x69615A1: cairo_region_create (cairo-region.c:196) by 0x683BFBF: gdk_cairo_region_create_from_surface (gdkcairo.c:455) by 0x670C882: set_grip_shape (gtkwindow.c:5020) by 0x670CFBF: resize_grip_create_window (gtkwindow.c:5271) by 0x670C466: gtk_window_realize (gtkwindow.c:4902) Signed-off-by: Benjamin Otte gtk/gtkwindow.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 3f3d33ee6c4d3a30df1895c7da53804a3039a524 Author: Xan Lopez Date: Mon Oct 11 00:16:52 2010 +0900 Plug leak in gdkcairo.c 1,968 (1,236 direct, 732 indirect) bytes in 1 blocks are definitely lost in loss record 11,816 of 11,947 at 0x4025BDC: malloc (vg_replace_malloc.c:195) by 0x6950676: _context_get (cairo.c:250) by 0x6950940: cairo_create (cairo.c:370) by 0x685CD1E: _gdk_cairo_surface_extents (gdkcairo.c:381) by 0x685CEDA: gdk_cairo_region_create_from_surface (gdkcairo.c:433) Signed-off-by: Benjamin Otte gdk/gdkcairo.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit ee58c6c37d31ee8fc4c233751024b3992d42bd5f Author: Javier Jardón Date: Mon Oct 11 02:01:14 2010 +0200 docs: Move documentation to inline comments: GtkScrolledWindow docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkscrolledwindow.sgml | 282 ------------------------ gtk/gtkscrolledwindow.c | 54 +++++ 3 files changed, 55 insertions(+), 282 deletions(-) commit 90096832479de04791db5e034df25831b97a828e Author: Javier Jardón Date: Mon Oct 11 02:10:24 2010 +0200 docs: Region returned by gdk_cairo_region_create_from_surface() should be freed gdk/gdkcairo.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 0afd8be7ef2bbd866c8a714366aba7d05aebed6b Author: Gil Forcada Date: Sun Oct 10 23:22:40 2010 +0200 Updated Catalan translation po-properties/ca.po | 3962 ++++++++++++++++++++++++++------------------------- 1 files changed, 2002 insertions(+), 1960 deletions(-) commit 120a1006da8b570686752e5f19569651cda64f67 Author: Simos Xenitellis Date: Sun Oct 10 21:18:39 2010 +0300 l10n: Updated Greek translation for gtk+ properties po-properties/el.po | 3955 ++++++++++++++++++++++++++------------------------- 1 files changed, 1999 insertions(+), 1956 deletions(-) commit 6c258b863d0f12310bf241ff9f8b77656f44d6ab Author: Jorge González Date: Sat Oct 9 14:26:20 2010 +0200 Updated Spanish translation po/es.po | 1737 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 871 insertions(+), 866 deletions(-) commit ff2476152b85ec66695f7dfa835bc53806baf51e Author: A S Alam Date: Sat Oct 9 08:27:32 2010 +0530 updating translation for Punjabi po-properties/pa.po | 3788 +++++++++++++++++++++++++-------------------------- po/pa.po | 1776 ++++++++++++------------ 2 files changed, 2752 insertions(+), 2812 deletions(-) commit 9d750ad13eec68baf5734907126aa8676516d7c9 Author: Matthias Clasen Date: Fri Oct 8 22:04:33 2010 -0400 Fix a problem with 'resize grip avoidance' in scrollbars We need to be a little more careful when determining the overlap between the new allocation and the grip area. This was causing vertical scrollbars in evince to overlap with the grip. gtk/gtkrange.c | 60 +++++++++++++++++++++++++++++++++++-------------------- 1 files changed, 38 insertions(+), 22 deletions(-) commit 2f8f0d8eabf8c6f447874f8991fb04f64d8c585b Author: Matthias Clasen Date: Fri Oct 8 20:17:51 2010 -0400 Check for grip_window != NULL in gtk_window_draw This is safer, since GtkWindow subclasses may override realize and end up with has_resize_grip == TRUE, but grip_window still being NULL - as is the case with GtkPlug. gtk/gtkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit de3e7034443a3e98e9e6fffcde2f9e08b558601c Author: William Jon McCann Date: Fri Oct 8 19:57:06 2010 -0400 gail: GtkTreeViewColumn doesn't have a destroy signal anymore Replace with g_object_set_qdata_full usage. modules/other/gail/gailtreeview.c | 46 ++++++------------------------------ 1 files changed, 8 insertions(+), 38 deletions(-) commit f8b573766d5a9da7c0a48bcd1f1054158e67fcc0 Author: William Jon McCann Date: Fri Oct 8 19:26:01 2010 -0400 Don't assume widgets are containers when walking the focus tree This causes problems for links in labels. gtk/gtkcontainer.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6c537bd0bff1f20767626323b39f969126b684c7 Author: Colin Walters Date: Fri Oct 8 16:43:38 2010 -0400 autogen: Explicitly allow libtool > 2.2 Apparently 2.4 is out, I'm not aware of a reason we shouldn't allow it. autogen.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 31a45c957c5d398b4dfe970825198d8fd15fd618 Author: Matthias Clasen Date: Fri Oct 8 14:21:11 2010 -0400 Fix grip window positioning We need to position the grip window in size_allocate after all, otherwise the grip ends up in the wrong place when the window is realized early. Also, avoid shadowing a variable. gtk/gtkwindow.c | 27 +++++++++++++++------------ 1 files changed, 15 insertions(+), 12 deletions(-) commit 0ebf090d9e91589cd0b7fa514677b24f712c2994 Author: Matthias Clasen Date: Fri Oct 8 14:01:46 2010 -0400 Don't show resize grips on override-redirect window gtk/gtkwindow.c | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit 9b9ccb56b157e7516a1140ea6958ba530ad67988 Author: Matthias Clasen Date: Fri Oct 8 11:11:33 2010 -0400 Make GtkPaned use gtk_container_class_handle_border_width gtk/gtkpaned.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f7418b16527be145f6e0cef96d22b1fef14a3185 Author: Matthias Clasen Date: Fri Oct 8 10:45:24 2010 -0400 Make GtkPaned use gtk_container_class_handle_border_width gtk/gtkpaned.c | 55 +++++++++++++++++++++---------------------------------- 1 files changed, 21 insertions(+), 34 deletions(-) commit c113b8e22923868ffcf1b6d23e19ca8c68abadfd Author: Matthias Clasen Date: Fri Oct 8 10:25:27 2010 -0400 Make GtkPathBar use gtk_container_class_handle_border_width gtk/gtkpathbar.c | 31 ++++++++++++------------------- 1 files changed, 12 insertions(+), 19 deletions(-) commit 5a7cfa7fb96464bc7d6ed06815d305b01c6cc77d Author: Tristan Van Berkom Date: Fri Oct 8 23:10:42 2010 +0900 Migrated old GtkSizeRequestIface documentation to GtkWidget and added notes to gtk_widget_get_preferred_size(). gtk/gtksizerequest.c | 107 ++++---------------------------------------------- gtk/gtkwidget.c | 88 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+), 99 deletions(-) commit e9a7a2104be326ca96b49b5a583e1ff89f69f9d6 Author: Christian Dywan Date: Fri Oct 8 16:01:07 2010 +0200 Use and print note for key only if there are credentials Otherwise key might be printed uninitialized. modules/printbackends/cups/gtkprintbackendcups.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit 3267cd08e9319ebe202bc83536e0e68d0fb6febc Author: Tristan Van Berkom Date: Fri Oct 8 22:27:02 2010 +0900 Removed call to get_preferred_size (widget, NULL, NULL); This was another case of making sure size-request was called before other code was doing get_child_requisition(), now caching is done via the same api so no need for that line. gtk/gtkwindow.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 480b9f6b1131c49a7c21b87a543dadfa936993e8 Author: Tristan Van Berkom Date: Fri Oct 8 22:26:01 2010 +0900 Removed needless initial size request of children Old code was probably doing size-request on all children initially, and then calling get_child_requisition() in other passes, now these are cached after the first request anyway. gtk/gtktable.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit c1e9f4a79895b83a6b27e220ee4ca560875b1986 Author: Tristan Van Berkom Date: Fri Oct 8 22:25:16 2010 +0900 Removed needless size-requesting of children (child sizes are ignored at request time). gtk/gtklayout.c | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) commit 2e98e37fe49af92b330a1d96cee97108c77b6da9 Author: Matthias Clasen Date: Fri Oct 8 09:28:00 2010 -0400 Make GtkTable use gtk_container_handle_border_width gtk/gtktable.c | 19 +++++-------------- 1 files changed, 5 insertions(+), 14 deletions(-) commit f8490e425f2c76533bc1733989d176c8a5ca06f7 Author: Matthias Clasen Date: Fri Oct 8 02:18:15 2010 -0400 Add a migration guide section about resize grips docs/reference/gtk/migrating-2to3.xml | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) commit 8ed725bad8af39aa1af3fd9e3f6a90225dab437b Author: Matthias Clasen Date: Fri Oct 8 01:37:33 2010 -0400 Get scrollbars out of the way of the window's resize grip If there are both horizontal and vertical scrollbars, there is an unused 'corner' into which the resize grip fits. Individual scrollbars need to be shortened and moved to make room for the resize grip. gtk/gtkrange.c | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 96 insertions(+), 4 deletions(-) commit b04bceb47e8503658481fcca44f90dae6ad65457 Author: Matthias Clasen Date: Fri Oct 8 01:43:24 2010 -0400 Remove resize grip handling from GtkStatusbar We remove the resize grip from GtkStatusbar, but keep the code that makes the content avoid the grip, and adapt it to GtkWindow grips. The gtk_status_bar_set/get_has_resize_grip() functions and related properties are removed. docs/reference/gtk/gtk3-sections.txt | 2 - gtk/gtk.symbols | 2 - gtk/gtkstatusbar.c | 632 ++++++---------------------------- gtk/gtkstatusbar.h | 5 - 4 files changed, 105 insertions(+), 536 deletions(-) commit fe9a45c413ef7b4daf1801dfe9827971c851e3a7 Author: Cody Russell Date: Thu Sep 30 13:15:23 2010 -0500 Remove uses of gtk_statusbar_set_has_resize_grip() This function is going away. demos/gtk-demo/appwindow.c | 23 ----------------------- docs/tools/widgets.c | 1 - tests/print-editor.c | 24 +----------------------- 3 files changed, 1 insertions(+), 47 deletions(-) commit f9265ea3b8e1283f61e2d38db6d46879b8dc5ca2 Author: Matthias Clasen Date: Fri Oct 8 01:08:24 2010 -0400 Fix resize grip drawing in GtkAssistant Chain up in the draw() implementation of GtkAssistant to let GtkWindow draw the resize grip. This avoids black resize grips in GtkAssistant windows. gtk/gtkassistant.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit f6347baf648fb5b7486354fd800b28bdf571f731 Author: Matthias Clasen Date: Fri Oct 8 01:43:03 2010 -0400 Add resize grips to GtkWindow Allow any window to display a resize grip, in the south-east or south-west corner, depending on text direction. This is implemented as a shaped window that gets overlayed on top of whatever content is there. We add api that allows widgets to avoid the resize grip, if desired. The ::has-resize-grip property controls if a window may display a resize grip. It will only be displayed if the window is resizable and not maximized. The size and visual appearance of the resize grip is under theme control, using the resize-grip-width/height style properties and the paint_resize_grip style function. docs/reference/gtk/gtk3-sections.txt | 5 + gtk/gtk.symbols | 4 + gtk/gtkwindow.c | 521 +++++++++++++++++++++++++++++++++- gtk/gtkwindow.h | 10 + 4 files changed, 530 insertions(+), 10 deletions(-) commit 368f0d084358d97a4822f6bdb0fcfff9f4519287 Author: Matthias Clasen Date: Thu Oct 7 07:47:58 2010 -0400 Fix export of a few (currently unused) configure variables Turns out that autoconf eats all the m4_define magic before AC_INIT. configure.ac | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) commit cadbdd32ba9c610b28fb45dd5d6fd8f2a4c040f2 Author: William Jon McCann Date: Thu Oct 7 02:48:20 2010 -0400 gail: don't try to get stock id from images that aren't stock Fixes assertion caused by 41d2a4d059d881d8d05419013ae4946a81b308cb modules/other/gail/gailimage.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit bbf189ca0d48bf448301b7c8a1407f2f59bdb539 Author: Tor Lillqvist Date: Thu Oct 7 01:27:06 2010 +0300 Gail needs _gtk_cell_renderer_calc_offset gtk/gtk.symbols | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 3c4d1cc856c2b7f064f6c07c2ba4371fe6296ff5 Author: Tor Lillqvist Date: Thu Oct 7 01:15:56 2010 +0300 Bypass the ms-windows engine for now It requires massive changes to build again. I started, but gave up. More insight is needed. modules/engines/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e346d26f700139ba29c38e67f1878a8e65d2f5a7 Author: Tor Lillqvist Date: Thu Oct 7 01:14:46 2010 +0300 Make it compile again for Windows gdk/win32/gdkdnd-win32.c | 15 +++-- gdk/win32/gdkdrawable-win32.c | 32 +--------- gdk/win32/gdkevents-win32.c | 126 ----------------------------------------- gtk/gtkplug-win32.c | 1 + gtk/gtksocket-win32.c | 1 + gtk/gtkwin32embedwidget.c | 4 +- 6 files changed, 16 insertions(+), 163 deletions(-) commit 4196f56de9d70f8da5956e9a326bfbfd128e55bb Author: Stef Walter Date: Wed Oct 6 20:13:40 2010 +0000 Remove reference to hooks in gtk_about_dialog_set_website() docs. Signed-off-by: Javier Jardón gtk/gtkaboutdialog.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit e17b9ae8ba69b870e39aa9d422f76421757869c0 Author: Federico Mena Quintero Date: Wed Oct 6 12:59:44 2010 -0500 Filechooser - In OPEN or SAVE mode, typing a plain folder name should switch to it If you type 'subfolder/' and hit Enter, the file chooser will switch you to it. But if you type just 'subfolder' without the trailing slash, apps would receive *that* filename (e.g. file:///foo/bar/subfolder) as the response, and they would likely print an error that they can't open that file (as it is a folder). So, we change the file chooser's current folder to that subfolder in this case. Signed-off-by: Federico Mena Quintero gtk/gtkfilechooserdefault.c | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) commit e3e243688abcdf40cbf25f0841fd1cacd1886ae2 Author: Benjamin Otte Date: Wed Oct 6 12:52:39 2010 +0200 widget: Fix GtkWidget::draw docs width and height have been gone for a while... gtk/gtkwidget.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit e1b00b52d27791221133cd21ce6db9a2de032b23 Author: Tristan Van Berkom Date: Wed Oct 6 17:00:43 2010 +0900 Enhanced documentation description for GtkWrapBox (text by Murray Cumming). gtk/gtkwrapbox.c | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) commit 22e9fcf6db31f2a575530a275fc1461d1c0be678 Author: Baurzhan Muftakhidinov Date: Wed Oct 6 10:36:18 2010 +0600 Updates for Kazakh translation po/kk.po | 1877 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 941 insertions(+), 936 deletions(-) commit c3851df92d9c4bff0bb99855faa8c8110d248318 Author: John Ralls Date: Wed Oct 6 01:18:25 2010 +0200 Replace GDK_Tab and GDK_ISO_Left_Tab with GDK_KEY equivalents Fixes https://bugzilla.gnome.org/show_bug.cgi?id=631475 Signed-off-by: Javier Jardón gdk/quartz/gdkkeys-quartz.c | 8 ++++---- gdk/x11/gdkkeys-x11.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit 718ccc9e4ecfc9614fe1a50b1ff9d01938314a9e Author: Javier Jardón Date: Wed Oct 6 01:09:23 2010 +0200 docs: visuals: Do not mention deprecated GdkRGB API's Reported by Milan Bouchet-Valat in bug https://bugzilla.gnome.org/show_bug.cgi?id=631473 docs/reference/gdk/tmpl/visuals.sgml | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) commit 60655a36dc7787f4458c578029a73575f003f920 Author: Benjamin Otte Date: Tue Oct 5 23:25:53 2010 +0200 docs: Dn't mark all signals in GtkWidgetClass as private They are meant to be overwritten by subclasses after all. gtk/gtkwidget.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 04c630d0fd713a683e6a1eb8f3bd7fb9c70a2b1d Author: Benjamin Otte Date: Tue Oct 5 23:22:25 2010 +0200 viewport: Clip contents properly when called via gtk_widget_draw() gtk/gtkviewport.c | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) commit 2a1650843d0eb4d75e03f6c25aeaf5388de499a1 Author: Benjamin Otte Date: Tue Oct 5 22:36:35 2010 +0200 Revert "testgtk: Remove snapshot test" This reverts commit 99c82af20a5204940ce2cb0f841be0d6f70a2778 and fixes up things to compile again. Of course, the snapshotting now uses gtk_widget_draw() instead. tests/testgtk.c | 167 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 167 insertions(+), 0 deletions(-) commit cc0ada40b568dad58a2e2e44a4cc8680d5f88c11 Author: Javier Jardón Date: Tue Oct 5 22:52:31 2010 +0200 docs: reword GtkAdjustment short description docs/reference/gtk/tmpl/gtkadjustment.sgml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1d21668ecc61e5ec89a8d57d13c56969c0d182f8 Author: Federico Mena Quintero Date: Tue Oct 5 14:41:51 2010 -0500 Handle the case where you type /blah/nonexistent in SELECT_FOLDER mode Previously name_entry_get_parent_info_cb() would fail as it doesn't handle SELECT_FOLDER. Now we just make that function act the same as for CREATE_FOLDER mode. In either case, if you type "/blah/nonexistent" and hit Enter, you want a folder with that name to be created (under the already-existing /blah). Signed-off-by: Federico Mena Quintero gtk/gtkfilechooserdefault.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) commit f7a20e35c17bc82bb1fbd92d362ab5caacc0e80f Author: Stephen Shaw Date: Tue Oct 5 12:59:45 2010 -0500 Clarify the name of a callback The old save_entry_get_info_cb() was misnamed; it is actually used to see if a file's presumed parent *is* a folder. So we rename it to name_entry_get_parent_info_cb(). Signed-off-by: Federico Mena Quintero gtk/gtkfilechooserdefault.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) commit 2b348f9a48de3de7be1a91c6fec1392c9fe1f010 Author: Stephen Shaw Date: Tue Oct 5 12:55:03 2010 -0500 bgo#629722 - file chooser should cope with typing a directory name and then Enter file_exists_get_info_cb() used to let some actions fall through to the code that checks for the file type of the selected file's parent (e.g. to see if /foo/bar *is* indeed a folder if you type /foo/bar/baz). However, we need to be more explicit for each file chooser action, as in SELECT_FOLDER mode typing /foo/foldername and hitting Enter would not give you an immediate selection, but rather the file chooser would complain that it couldn't create that directory as it already exists. Signed-off-by: Federico Mena Quintero gtk/gtkfilechooserdefault.c | 87 ++++++++++++++++++++++++++++++++++-------- 1 files changed, 70 insertions(+), 17 deletions(-) commit 0eab3a7ad73a052789f49889bf4ee260c6075519 Author: Kibavuidi Nsiangani Date: Tue Oct 5 21:52:42 2010 +0200 Added Kikongo translation po-properties/kg.po |10282 +++++++++++++++++++++++++++++++++++++++++++++++++++ po/LINGUAS | 1 + po/kg.po | 5401 +++++++++++++++++++++++++++ 3 files changed, 15684 insertions(+), 0 deletions(-) commit eca2af52306176ebd5370e35b71da7dc7b4f549e Author: Kristian Rietveld Date: Tue Oct 5 15:21:40 2010 +0200 Make set_cairo_surface_size a vfunc on GdkWindowImpl Note the special implementation of this method on GdkOffscreenWindow that makes sure its current surface is not destroyed. gdk/gdkinternals.h | 4 ---- gdk/gdkoffscreenwindow.c | 13 +++++++++++++ gdk/gdkwindow.c | 15 +++++++++------ gdk/gdkwindowimpl.h | 5 +++++ gdk/quartz/gdkdrawable-quartz.c | 9 --------- gdk/quartz/gdkwindow-quartz.c | 13 +++++++++++++ gdk/win32/gdkdrawable-win32.c | 9 --------- gdk/win32/gdkwindow-win32.c | 13 +++++++++++++ gdk/x11/gdkdrawable-x11.c | 9 --------- gdk/x11/gdkwindow-x11.c | 12 ++++++++++++ 10 files changed, 65 insertions(+), 37 deletions(-) commit a472d1a4005fea0adab067dea0d263d50c804574 Author: Michael Natterer Date: Tue Oct 5 13:05:56 2010 +0200 tests: don't call gtk_widget_get_allocation() on NULL children tests/gtkoffscreenbox.c | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) commit 90d9bfe086dc047d56fdf12335243b81b24363aa Author: Javier Jardón Date: Mon Oct 4 18:48:47 2010 +0200 gtkmenu: Really fix menu code Previous patch f0039aa2a4367df95bda1b6cf3d4a735cafb4eb2 is not correct as it try to fix a bug introduced in commit 3a10216dd01c8d10df235b88c8942b2fda15689b gtk/gtkmenu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f0039aa2a4367df95bda1b6cf3d4a735cafb4eb2 Author: Christian Persch Date: Mon Oct 4 10:36:43 2010 -0400 Fix a crash in menu code https://bugzilla.gnome.org/show_bug.cgi?id=631311 gtk/gtkmenu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 21eae6b6f385f64ebea0f4494a14bfd114050f66 Author: Matthias Clasen Date: Mon Oct 4 10:22:09 2010 -0400 Make GdkRectangle arguments in GtkCellRenderer use const consistently https://bugzilla.gnome.org/show_bug.cgi?id=630900 gtk/gtkcellrenderer.h | 10 ++++---- gtk/gtkcellrendereraccel.c | 46 ++++++++++++++++++++-------------------- gtk/gtkcellrenderercombo.c | 24 ++++++++++---------- gtk/gtkcellrendererpixbuf.c | 16 +++++++------- gtk/gtkcellrendererprogress.c | 16 +++++++------- gtk/gtkcellrendererspin.c | 18 ++++++++-------- gtk/gtkcellrendererspinner.c | 26 +++++++++++----------- gtk/gtkcellrenderertext.c | 26 +++++++++++----------- gtk/gtkcellrenderertoggle.c | 26 +++++++++++----------- 9 files changed, 104 insertions(+), 104 deletions(-) commit 8970b174dc274104ff86733a48b0e05e33791431 Author: Kristian Rietveld Date: Mon Oct 4 11:43:16 2010 +0200 quartz: Emulate root window as 1x1 bitmap We subclass GdkWindowImplQuartz into a new GdkRootWindowImplQuartz, and override the get_context method in order to do this cleanly. Also made release_context a virtual method, since the root window has to release its CGContextRef differently compared to normal windows. gdk/quartz/gdkdrawable-quartz.c | 34 ++++++-------- gdk/quartz/gdkdrawable-quartz.h | 2 + gdk/quartz/gdkwindow-quartz.c | 96 ++++++++++++++++++++++++++++++++++++++- gdk/quartz/gdkwindow-quartz.h | 27 +++++++++++ 4 files changed, 138 insertions(+), 21 deletions(-) commit 97bdf55b6d1c61e3242c3308c91920b4ed6fbbf6 Author: Javier Jardón Date: Mon Oct 4 03:47:40 2010 +0200 docs: Move documentation to inline comments: colors docs/reference/gdk/tmpl/.gitignore | 1 + docs/reference/gdk/tmpl/colors.sgml | 185 ----------------------------------- gdk/gdkcolor.c | 7 ++ gdk/gdkcolor.h | 16 +++- 4 files changed, 21 insertions(+), 188 deletions(-) commit 9e869af6c59de468e625214f0eddb039825f7727 Author: Javier Jardón Date: Mon Oct 4 03:35:42 2010 +0200 docs: Move documentation to inline comments: pixbufs docs/reference/gdk/tmpl/.gitignore | 1 + docs/reference/gdk/tmpl/pixbufs.sgml | 101 ---------------------------------- gdk/gdkpixbuf-drawable.c | 11 +++- 3 files changed, 11 insertions(+), 102 deletions(-) commit a4c20184524fd874e64ce2fcd3f05a97cb34155d Author: Javier Jardón Date: Mon Oct 4 03:19:43 2010 +0200 docs: Move documentation to inline comments: regions docs/reference/gdk/tmpl/.gitignore | 1 + docs/reference/gdk/tmpl/regions.sgml | 72 ---------------------------------- gdk/gdkrectangle.c | 20 +++++++++ gdk/gdktypes.h | 14 +++++++ 4 files changed, 35 insertions(+), 72 deletions(-) commit 4e71a4df7b4368954925401d0f028ddecd00004a Author: Javier Jardón Date: Mon Oct 4 03:04:09 2010 +0200 docs: Move documentation to inline comments: cairo_interaction docs/reference/gdk/tmpl/.gitignore | 1 + docs/reference/gdk/tmpl/cairo_interaction.sgml | 99 ------------------------ gdk/gdkcairo.c | 17 ++++ 3 files changed, 18 insertions(+), 99 deletions(-) commit 5a30dad53108fe3ffa269a4ad7597980adee4580 Author: Javier Jardón Date: Mon Oct 4 02:05:45 2010 +0200 docs: Move documentation to inline comments: GtkComboBox docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcombobox.sgml | 461 ------------------------------ gtk/gtkcombobox.c | 31 ++ gtk/gtknotebook.c | 5 +- 4 files changed, 34 insertions(+), 464 deletions(-) commit 13c4c554efa3606902185fa8790b95c9fb0f3377 Author: Ignacio Casal Quinteiro Date: Sun Oct 3 18:17:17 2010 +0200 Add missing vfuncs to gtknotebook. gtk/gtknotebook.c | 27 +++++++++++++++------------ gtk/gtknotebook.h | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+), 12 deletions(-) commit bbd80b671a68c957a561ea71ea39b4877e586a1d Author: Javier Jardón Date: Sun Oct 3 19:50:11 2010 +0200 docs: Move documentation to inline comments: GtkNotebook docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtknotebook.sgml | 709 ------------------------------ gtk/gtknotebook.c | 69 +++ gtk/gtknotebook.h | 2 +- 4 files changed, 71 insertions(+), 710 deletions(-) commit b4f81fd6126c7195bb98347a8c852e37c33b2ab7 Author: Žygimantas Beručka Date: Sun Oct 3 15:21:32 2010 +0200 Updated Lithuanian translation by Aurimas Černius and Rimas Kudelis po-properties/lt.po | 4870 +++++++++++++++++++++++++-------------------------- 1 files changed, 2372 insertions(+), 2498 deletions(-) commit a1ee7e7a30d6094a91d8f78c836f94c077699a12 Author: Žygimantas Beručka Date: Sun Oct 3 15:15:53 2010 +0200 Updated Lithuanian translation by Aurimas Černius po/lt.po | 2190 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 1109 insertions(+), 1081 deletions(-) commit 846f774642c06c88358ef3c4c8174d180caf1be2 Author: José Aliste Date: Sun Oct 3 12:14:48 2010 +0200 textview: Fix clip usage The previous code used cairo_clip_extents() and interpreted its parameters wrong. https://bugzilla.gnome.org/show_bug.cgi?id=631203 gtk/gtktextdisplay.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit c4705377f4ab9e8ca1c2f8c9d70bffa0678cf88a Author: Javier Jardón Date: Sun Oct 3 04:59:23 2010 +0200 docs: Latest 2.x release will be 2.24, not 2.22 docs/reference/gtk/migrating-2to3.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 2a9d299aa3419396d4c5bdcb61b746fd7b652183 Author: Javier Jardón Date: Sun Oct 3 03:41:44 2010 +0200 docs: Use gtk_widget_get_preferred_size() instead gtk_size_request_get_preferred_size() GtkSizeRequest interface is now merged in GtkWidget docs/reference/gtk/tmpl/gtkcontainer.sgml | 2 +- docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml | 2 +- gtk/gtk.symbols | 1 - gtk/gtkwidget.c | 2 +- gtk/gtkwindow.c | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) commit 78bd97bfbead43b50a61b880f3ac9df22d612831 Author: Garrett Regier Date: Sun Oct 3 01:19:55 2010 +0200 docs: Move documentation to inline comments: GtkEntryBuffer Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617320 Signed-off-by: Javier Jardón docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkentrybuffer.sgml | 171 --------------------------- 2 files changed, 1 insertions(+), 171 deletions(-) commit ccaf8429198d0ab329a202979973e4bf71aafb78 Author: Javier Jardón Date: Sun Oct 3 00:58:38 2010 +0200 docs: Move documentation to inline comments: GtkTooltip docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktooltip.sgml | 173 ------------------------------- gtk/gtktooltip.c | 66 ++++++++++++ 3 files changed, 67 insertions(+), 173 deletions(-) commit 38469882119926241d61dd79e9fec0dde7f8fda9 Author: Javier Jardón Date: Sun Oct 3 00:28:54 2010 +0200 docs: Move documentation to inline comments: GtkToolbar docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktoolbar.sgml | 305 ------------------------------- gtk/gtktoolbar.c | 23 +++ 3 files changed, 24 insertions(+), 305 deletions(-) commit 5fcf06bb91ede7b34d9a5c40b5184d5e62b9e876 Author: Garrett Regier Date: Sat Oct 2 21:17:48 2010 +0200 docs: Move documentation to inline comments: GtkComboBoxEntry Fixes https://bugzilla.gnome.org/show_bug.cgi?id=617308 Signed-off-by: Javier Jardón docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcomboboxentry.sgml | 123 ------------------------- gtk/gtkcomboboxentry.c | 42 +++++++++ 3 files changed, 43 insertions(+), 123 deletions(-) commit 5fbd77526a0da53b53e19fe8bf2d26038a084ab8 Author: William Jon McCann Date: Sat Oct 2 15:45:46 2010 -0400 gail: use a weak pointer instead of an invalid destroy signal modules/other/gail/gailadjustment.c | 24 +++++------------------- 1 files changed, 5 insertions(+), 19 deletions(-) commit fcbe49829cf3d2feca99b7dc786be502f7227ff2 Author: Matthias Clasen Date: Fri Oct 1 23:29:00 2010 -0400 Bump version to 2.91.1 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)