commit 5b9e402cf31c27137b5c529b2a629e73f17b85d8 Author: Matthias Clasen Date: Sat May 7 12:01:04 2011 -0400 Fix a typo in !HAVE_XCURSOR code paths Patch by Victor Oliveira, http://bugzilla.gnome.org/show_bug.cgi?id=649665 gdk/x11/gdkcursor-x11.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 99b9e35f8f9afb00b983f26af645ad81505cf7fb Author: Daniel Mustieles Date: Sat May 7 12:39:45 2011 +0200 Updated Spanish translation po/es.po | 585 ++++++++++++++++++++++++++++++++++---------------------------- 1 files changed, 323 insertions(+), 262 deletions(-) commit 111b7fd50430da5a1033d9ee1b8841faa6d7eb76 Author: Matthias Clasen Date: Sat May 7 00:07:07 2011 -0400 Distcheck fixes docs/Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit eba4ca3e660b90470418a0340c46cbb1b0db546c Author: Matthias Clasen Date: Sat May 7 00:03:13 2011 -0400 Drop missing tests tests/reftests/Makefile.am | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) commit a805e70615090174e468f83b804e36022888356a Author: Matthias Clasen Date: Fri May 6 23:51:52 2011 -0400 Add a new forgotten symbol gtk/gtk.symbols | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit e31c73d83f261bb207803034b351123eab227d05 Author: Matthias Clasen Date: Fri May 6 23:46:18 2011 -0400 More updates NEWS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 569f480bc07f951e2456383f70d9caea844d1aaa Author: Matthias Clasen Date: Fri May 6 23:34:49 2011 -0400 Update the NEWS for 3.1.4 NEWS | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 63 insertions(+), 0 deletions(-) commit 1d647df176b6bf32e84d839cdb60a0f19d0ce2f3 Author: Matthias Clasen Date: Fri Apr 29 23:40:47 2011 -0400 Add a lock button widget This is a special-purpose button that can be used together with GPermission objects to control the sensitivity of system settings. Suitable permission objects can e.g. be obtained from PolicyKit. http://bugzilla.gnome.org/show_bug.cgi?id=626457 docs/reference/gtk/Makefile.am | 3 + docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-sections.txt | 22 + docs/reference/gtk/gtk3.types | 1 + docs/reference/gtk/images/lockbutton-locked.png | Bin 0 -> 1687 bytes docs/reference/gtk/images/lockbutton-sorry.png | Bin 0 -> 1347 bytes docs/reference/gtk/images/lockbutton-unlocked.png | Bin 0 -> 1381 bytes docs/reference/gtk/images/lockbutton.png | Bin 0 -> 2355 bytes docs/reference/gtk/visual_index.xml | 3 + docs/tools/widgets.c | 49 ++ gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtk.symbols | 4 + gtk/gtklockbutton.c | 703 +++++++++++++++++++++ gtk/gtklockbutton.h | 70 ++ po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + tests/Makefile.am | 3 + tests/testlockbutton.c | 277 ++++++++ 19 files changed, 1141 insertions(+), 0 deletions(-) commit 5cb3f5ff0f184dbca0b155a60da1a9aef8243544 Author: Matthias Clasen Date: Fri May 6 16:31:36 2011 -0400 Remove outdated comments Neither GdkColors nor GdkRGBAs are ever 'allocated' nowadays. gtk/gtktexttag.c | 22 ++++++++++------------ 1 files changed, 10 insertions(+), 12 deletions(-) commit 9fd1feb2a89717c0916bb14f9def84506b447486 Author: Tristan Van Berkom Date: Mon Feb 14 16:47:57 2011 +0900 Adding more traditional checkered background to testtextview. tests/testtextview.c | 48 ++++++++++++++++++++++++++++++++++++++---------- 1 files changed, 38 insertions(+), 10 deletions(-) commit e217c455f8271d4f0c93e4e7158d109c231e2e64 Author: Tristan Van Berkom Date: Mon Feb 14 16:18:35 2011 +0900 Added Since 3.2 annotations for new GdkRGBA properties. gtk/gtktexttag.c | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) commit cefb95011000ad12d9f2cc71c6b9175e1d9746dd Author: Tristan Van Berkom Date: Mon Feb 14 15:27:42 2011 +0900 Added internal GdkRGBA support for GtkTextTag::paragraph-background-rgba Added the remaining implementation bits for rendering paragraph backgrounds with rgba values and updated the test case. gtk/gtktextattributes.c | 8 +++++ gtk/gtktextdisplay.c | 6 ++-- gtk/gtktextlayout.c | 10 +++++- gtk/gtktextlayout.h | 2 +- tests/testtextview.c | 79 ++++++++++++++++++++++++---------------------- 5 files changed, 62 insertions(+), 43 deletions(-) commit 2b2d7aa30509e1b74f00e2b1809d7a646455dd3b Author: Tristan Van Berkom Date: Mon Feb 14 14:27:28 2011 +0900 Fixed GtkTextTag to sync the GdkColors with the new GdkRGBA values for backwards compatability. gtk/gtktexttag.c | 78 +++++++++++++++++++++++++++++++++-------------------- 1 files changed, 48 insertions(+), 30 deletions(-) commit d3c77f033002f0c7842421e5a4828d1ca1abc196 Author: Tristan Van Berkom Date: Mon Feb 14 14:22:27 2011 +0900 Handled error_color with GdkRGBA in gtktextdisplay.c. gtk/gtktextdisplay.c | 41 ++++++++++++++++++++++++++--------------- 1 files changed, 26 insertions(+), 15 deletions(-) commit 604292a404edd747374e43e1f7af29ac5e559e1e Author: Tristan Van Berkom Date: Mon Feb 14 14:00:15 2011 +0900 Fixed textview rendering regression. Background color was not painted on the whole tagged segment after line breaking, this was due to the default ->prepare_run() function wiping the internal PangoColors clean... fixed this by unconditionally setting local rgba colors from prepare_run instead of comparing them and bailing out. gtk/gtktextdisplay.c | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) commit d399a4acabf9904118ea4481d057bde39bf0ab0e Author: Tristan Van Berkom Date: Wed Feb 9 23:41:39 2011 +0900 Added GdkRGBA properties to GtkTextTag. This now allows text view to render text with alpha values in the text foreground and backgrounds, the work is almost complete, currently the error-underline-color is still a GdkColor style property and since we use only GdkRGBA for rendering it needs to be converted and applied, probably a new rgba version of the style property should also be introduced. This commit adds tests/testtextview that must be run from the tests/ directory to show translucent text in action. gtk/gtktextattributes.c | 98 +++++++++++++++++++----- gtk/gtktextattributes.h | 12 ++- gtk/gtktextdisplay.c | 100 ++++++++++--------------- gtk/gtktextlayout.c | 28 +++++++- gtk/gtktextlayout.h | 1 + gtk/gtktexttag.c | 192 ++++++++++++++++++++++++++++++++++++++++------- tests/Makefile.am | 8 ++- tests/testtextview.c | 151 +++++++++++++++++++++++++++++++++++++ 8 files changed, 477 insertions(+), 113 deletions(-) commit 297e7393953264b4c7c67562146a7b89dbaf43b2 Author: Cosimo Cecchi Date: Fri May 6 16:08:09 2011 -0400 testassistant: don't use deprecated functions tests/testassistant.c | 23 +++++------------------ 1 files changed, 5 insertions(+), 18 deletions(-) commit 579afaa9a1473ed561f4552242f1eff57b4a2250 Author: Cosimo Cecchi Date: Fri May 6 14:53:09 2011 -0400 progressbar: fetch the padding without the trough style class This is consistent with the rest of the widget, which uses only one padding value. https://bugzilla.gnome.org/show_bug.cgi?id=649593 gtk/gtkprogressbar.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 73d9ca67e6ea1021ebee4351a9cf0a10b07178da Author: Cosimo Cecchi Date: Fri May 6 14:33:00 2011 -0400 cellrendererprogress: don't force drawing inside the border The progressbar is composed by two different rendered areas: the trough (i.e. the non-filled part of the bar) and the bar itself. The bar should be able to fill the whole height/width of the trough without resorting to nasty hacks in the theme, and we can control the amount of space between the bar and the trough with the padding already. https://bugzilla.gnome.org/show_bug.cgi?id=649593 gtk/gtkcellrendererprogress.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) commit e805320a14fbec6ffbb8e911e596868e9e8fd6f8 Author: Matthias Clasen Date: Fri May 6 14:55:58 2011 -0400 gtk3-demo: assistant demo simplications Since header and sidebar images are no longer used, don't set them. demos/gtk-demo/assistant.c | 36 +++++++++++------------------------- 1 files changed, 11 insertions(+), 25 deletions(-) commit c83e76fb1252831f6eec1287efe71e57e94d976c Author: Matthias Clasen Date: Sat Apr 16 20:45:26 2011 -0400 GtkAssistant: an new style for assistants GtkAssistant is widely recognized as a butt-ugly widget. This commit changes its style to look more modern. We deprecate the sidebar and header image properties and don't show them anymore. Instead, page titles are arranged in a sidebar, with the title of the current page shown in highlighted style. gtk/gtkassistant.c | 1036 ++++++++++++++++++---------------------------------- gtk/gtkassistant.h | 56 ++-- 2 files changed, 389 insertions(+), 703 deletions(-) commit e8413cc28e8ff91fa56dcb4c4b4316b85e05a72d Author: Matthias Clasen Date: Sat Apr 16 23:01:30 2011 -0400 testassistant: some more tests tests/testassistant.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 59 insertions(+), 2 deletions(-) commit e244e5050ba35dad67b96ad2e143022b49fd7d51 Author: Matthias Clasen Date: Tue Apr 26 12:26:51 2011 -0400 Silently allow child properties on grandchildren This commit simply removes some child->parent == container checks, to add some flexibility for containers with 'inner structure'. If these checks are considered useful, we can bring them back with a is_child vfunc that allows container implementations to decided who they consider legitimate child. gtk/gtkcontainer.c | 16 ++-------------- 1 files changed, 2 insertions(+), 14 deletions(-) commit deb271d35519124509103ccc4c217bb31bf4fe65 Author: Matthias Clasen Date: Sat Apr 16 13:57:05 2011 -0400 Add gtk_container_child_notify This is a variant of gtk_widget_child_notify() that takes an explicit container, instead of relying on widget->parent to be the correct container to use. gtk/gtkcontainer.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcontainer.h | 6 ++++- gtk/gtkwidget.c | 32 +++++--------------------- 3 files changed, 73 insertions(+), 27 deletions(-) commit c8c1075cfe7220be0b82b81358c3bb8bc375e11c Author: Matthias Clasen Date: Sat Apr 16 13:42:24 2011 -0400 gtk-demo: Don't leave a dangling pointer to a destroyed widget When destroying the assistant, clean up the static variable that points to it. demos/gtk-demo/assistant.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 73bf1740e9ce8a6148db403f12838c231d3f2bb6 Author: Matthias Clasen Date: Fri May 6 14:04:50 2011 -0400 Some additional auto-mnemonic fixes Previously, we would also show mnemonics if the user hits Ctrl+Alt, even though Ctrl+Alt+ does not actually trigger. gtk/gtkmain.c | 3 +++ gtk/gtkwindow.c | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 6889d5b00893746a4ca19f4fa39ce54ee7dc7d88 Author: Rui Matos Date: Wed Apr 13 11:26:55 2011 +0100 GtkWindow: set mnemonics visible on focus in if modifier is pressed With gtk-auto-mnemonics on, we hide mnemonics on focus out. We should also check if the modifier is pressed on focus in and if so, show mnemonics again. https://bugzilla.gnome.org/show_bug.cgi?id=618815 gtk/gtkwindow.c | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) commit d543a9c6f9329ad793f90be678d113a12f6fb20e Author: Javier Jardón Date: Fri May 6 18:54:22 2011 +0100 configure.ac: Indeed the minimum required version is 2.29.4, not 2.29.2 configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 4e75148796dd53ecb743ade955b5d5821a0f2823 Author: Javier Jardón Date: Fri May 6 18:51:04 2011 +0100 configure.ac: Bump glib minimum required version to 2.29.2 As we are using the new g_test_fail() in the gtk-reftest configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f6e11febfad0fa2ecb88dc669d7f4b52e5244ca4 Author: Benjamin Otte Date: Fri May 6 19:35:40 2011 +0200 Revert "arrow: Make minimum size 5px" This reverts commit 1c46e04f30e8b496ac0cc3ad830b4824e54c1e94. The change broke too many widgets that relied on the size being constant. A proper fix would require letting themes override the size. That would probably also require letting themes specify the size relative to font size. gtk/gtkarrow.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) commit 6c1133c8857b7a4ea197d5216fa6af8d049b797e Author: Matthias Clasen Date: Thu May 5 22:21:59 2011 -0400 Add an alignment property test This test compares GtkAlignment properties and GtkWidget margin and alignment properties. tests/reftests/alignment-props.css | 8 ++ tests/reftests/alignment-props.ref.ui | 181 +++++++++++++++++++++++++++++++++ tests/reftests/alignment-props.ui | 137 +++++++++++++++++++++++++ 3 files changed, 326 insertions(+), 0 deletions(-) commit 9966acbdaa22518d6d0251f695bcd6851adff2b6 Author: Matthias Clasen Date: Thu May 5 21:47:14 2011 -0400 Expand GtkMisc tests to cover arrows and images This unveils something fishy with arrows. tests/reftests/misc-alignment.ref.ui | 173 ++++++++++++++++++++++++++++ tests/reftests/misc-alignment.ui | 209 ++++++++++++++++++++++++++++++++-- 2 files changed, 374 insertions(+), 8 deletions(-) commit 587e534b7efaf0b655166879bde4b56a92d04109 Author: Matthias Clasen Date: Thu May 5 17:53:12 2011 -0400 Add a misc-alignment reftest This test compares GtkMisc properties and GtkWidget margin and alignment properties. tests/reftests/misc-alignment.ref.ui | 103 +++++++++++++++++++++++++++++++ tests/reftests/misc-alignment.ui | 111 ++++++++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+), 0 deletions(-) commit ebc325d38ca457db12ef3d558900b895e2f03984 Author: Matthias Clasen Date: Thu May 5 16:15:59 2011 -0400 More box<>grid comparison tests Add a more complicated case with multiple expanding children. Also, make the window a popup. tests/reftests/box-packing.ref.ui | 92 +++++++++++++++++++++++++++++++- tests/reftests/box-packing.ui | 106 ++++++++++++++++++++++++++++++++++++- 2 files changed, 196 insertions(+), 2 deletions(-) commit 703af0fb4892be060bd9d105d9debdc36539aaf1 Author: Colin Walters Date: Thu May 5 10:13:13 2011 -0400 gtkicontheme: More explicitly note ownership transfers of duplicated string I was hunting a memory leak and couldn't find it; at least I'm pretty sure all of these are OK. But document things better for the future. Also use g_hash_table_replace in one more case for consistency. https://bugzilla.gnome.org/show_bug.cgi?id=649457 gtk/gtkicontheme.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit dced75dcc42ec3b3b0a5b9f0a7858a407c3bc7b9 Author: Benjamin Otte Date: Thu May 5 19:34:31 2011 +0200 reftests: Add missing css file for grid-expand test tests/reftests/grid-expand.css | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit ac06529f6130c482ff54870e57129cce9eda6691 Author: Benjamin Otte Date: Thu May 5 17:32:22 2011 +0200 reftests: Add testcase for label justify fix tests/reftests/Makefile.am | 2 + tests/reftests/label-wrap-justify.ref.ui | 73 ++++++++++++++++++++++++++++ tests/reftests/label-wrap-justify.ui | 78 ++++++++++++++++++++++++++++++ 3 files changed, 153 insertions(+), 0 deletions(-) commit 33e6479554a540b63705c0ea8fa07cb05311184e Author: Benjamin Otte Date: Thu May 5 17:30:58 2011 +0200 label: Compute label offset properly for wrapped justified labels label offsets were computed wrong for wrapped or ellipsized labels that were right- or center-justified and had excess space available. gtk/gtklabel.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) commit 278260a3ae53207fe9b2c19c8dcd1bd763c71192 Author: Benjamin Otte Date: Thu May 5 05:16:38 2011 +0200 reftests: Fix filename in makefile tests/reftests/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 79d1b11d0b3975c4927cd0f56c77aedd0933cb74 Author: Benjamin Otte Date: Thu May 5 05:16:09 2011 +0200 reftests: Add a test that ensures toplevels and popups render identical tests/reftests/Makefile.am | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 66f0544238c3bf64ed654db1d39701c3dc982f81 Author: Benjamin Otte Date: Thu May 5 05:13:34 2011 +0200 reftests: Ensure we got a draw event before quitting the main loop tests/reftests/gtk-reftest.c | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) commit 3f4f900242f7d8c3e1f4e1722e0f211f3347b41d Author: Benjamin Otte Date: Thu May 5 04:29:56 2011 +0200 reftests: Add a hack to make toplevels work in various WMs If we have a toplevel, and not a popup window, do wait an additional 0.5s to give the WM/server enough time to actually create the window. This is a hack and there should be a better solution. But it works. Please use POPUP windows for tests unless the test must use toplevel windows. tests/reftests/gtk-reftest.c | 17 +++++++++++++++-- 1 files changed, 15 insertions(+), 2 deletions(-) commit 5c026f32e960100b290c0cebbb5922ef0e7c252a Author: Benjamin Otte Date: Thu May 5 04:27:38 2011 +0200 reftests: Plug a leak tests/reftests/gtk-reftest.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 9f47d388f23ac500057ed04207a00f5a7349eb08 Author: Benjamin Otte Date: Thu May 5 01:09:45 2011 +0200 reftests: Add test for box expand handling tests/reftests/box-expand.css | 3 + tests/reftests/box-expand.ref.ui | 149 ++++++++++++++++++++++++++++++++++ tests/reftests/box-expand.ui | 163 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 315 insertions(+), 0 deletions(-) commit 96c9dd119bdb3aca82fa5b914ca35bb15ba94b32 Author: Benjamin Otte Date: Wed May 4 20:12:44 2011 +0200 reftests: Add a test for grid expand flags tests/reftests/Makefile.am | 3 + tests/reftests/grid-expand.ref.ui | 67 ++++++++++++++++++++++++++++++ tests/reftests/grid-expand.ui | 81 +++++++++++++++++++++++++++++++++++++ 3 files changed, 151 insertions(+), 0 deletions(-) commit 2f3e1fa3e43eb751e7d730d48d6a2787868cc8f4 Author: Javier Jardón Date: Mon May 2 16:13:50 2011 +0100 gtk/gtktrayicon-x11.c: Use GdkRGBA instead GdkColor gtk/gtkstatusicon.c | 17 ++++------ gtk/gtktrayicon-x11.c | 78 +++++++++++++++++++++++++----------------------- 2 files changed, 48 insertions(+), 47 deletions(-) commit b8fe808e157dbe1fd12601114c391c67c03ed7a2 Author: Matthias Clasen Date: Thu May 5 07:46:03 2011 -0400 GtkButtonBox: add a non-homogeneous child property This makes it easier to add things like lock buttons in dialogs. Part of #626457. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtk.symbols | 2 + gtk/gtkbbox.c | 92 +++++++++++++++++++++++++++++++--- gtk/gtkbbox.h | 16 ++++-- 4 files changed, 101 insertions(+), 11 deletions(-) commit dd95a099be4044464325b3137e1d7dc23c319631 Author: Matthias Clasen Date: Thu May 5 07:26:55 2011 -0400 Fix box-packing test tests/reftests/box-packing.ui | 207 ++++++++++++++++++++++++++++++++++++----- 1 files changed, 182 insertions(+), 25 deletions(-) commit 8816a12f0bc3900a3faa137cccd8c75abfc11e42 Author: Matthias Clasen Date: Wed May 4 22:58:32 2011 -0400 Expand box-packing reftest Compare vexpand behavior, too. tests/reftests/box-packing.ref.ui | 173 ++++++++++++++++++++++++++++++++++++- 1 files changed, 172 insertions(+), 1 deletions(-) commit f3fbdeecdbcef5851ff7532d898e27fa455688ef Author: Matthias Clasen Date: Wed May 4 20:38:38 2011 -0400 Add a box-packing reftest This test compares GtkHBox expand handling with GtkGrid+GtkWidget::hexpand, to ensure that replacing GtkHBox by GtkGrid works as intended. tests/reftests/Makefile.am | 5 +- tests/reftests/box-packing.css | 8 ++ tests/reftests/box-packing.ref.ui | 172 ++++++++++++++++++++++++++++++ tests/reftests/box-packing.ui | 208 +++++++++++++++++++++++++++++++++++++ 4 files changed, 392 insertions(+), 1 deletions(-) commit 9797bf4fe873fa3fb7c3b3469012498416ff4365 Author: Daniel Mustieles Date: Wed May 4 22:46:27 2011 +0200 Updated Spanish translation po-properties/es.po | 2304 ++++++++++++++++++++++++++------------------------- 1 files changed, 1173 insertions(+), 1131 deletions(-) commit 1fcfa91ee3289a321647f259c4efa62f529ec1bb Author: Javier Jardón Date: Mon May 2 17:42:18 2011 +0100 gdk/x11/gdkcursor-x11.c: Use GdkRGBA instead GdkColor gdk/x11/gdkcursor-x11.c | 25 ++++++++++++------------- 1 files changed, 12 insertions(+), 13 deletions(-) commit 8285c7f60fde9635ceb5412366bee187210a9cc7 Author: Kristian Rietveld Date: Wed May 4 07:31:39 2011 +0200 GdkWindow: remove unused variable gdk/gdkwindow.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit e8dd560851e77c39847bdb60ab8c2df326b39e19 Author: Matthias Clasen Date: Tue May 3 19:35:48 2011 -0400 Convert the commit message into a README Not everybody thinks git grep is a great doc reader... tests/reftests/README | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) commit 2a1a969d232a8d2b18d608f0dab67775ec76dd81 Author: Carlos Garnacho Date: Wed May 4 00:01:10 2011 +0200 GdkWindow: Fix gdk_window_set_[device_]cursor() issues with root/foreign windows It could be the case that gdk_window_set_cursor() is called on pointers not yet known to the device tracking code in GdkDisplay, so update the cursor on all master pointers. The code actually updating the cursor for the given window has been refactored out to gdk_window_set_cursor_internal(), used in gdk_window_set_device_cursor() as well, which makes it handle root/foreign windows too. https://bugzilla.gnome.org/show_bug.cgi?id=649313 gdk/gdkwindow.c | 67 ++++++++++++++++++++++++++++++++---------------------- 1 files changed, 40 insertions(+), 27 deletions(-) commit b90e8cfc36261d17f84b2040609d1708327bc90f Author: Colin Walters Date: Tue May 3 12:33:31 2011 -0400 gtkdnd: Add API that takes GIcon This will be useful for me to port gnome-panel to gnome-menus 4, which uses GAppInfo, which in turn returns icon references as GIcon. https://bugzilla.gnome.org/show_bug.cgi?id=649295 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtk.symbols | 2 + gtk/gtkdnd.c | 86 ++++++++++++++++++++++++++++++++-- gtk/gtkdnd.h | 6 ++ gtk/gtkimage.c | 14 ++++++ gtk/gtkimageprivate.h | 1 + 6 files changed, 107 insertions(+), 4 deletions(-) commit e36c9dffacee742c3bbf51e1d8cbc88d26108ab5 Author: Colin Walters Date: Tue May 3 11:04:56 2011 -0400 gtkimageprivate: Drop unused theme_change_id gtk/gtkimageprivate.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit d0451d6fa4481b1386ace1486752b0106d686453 Author: Benjamin Otte Date: Tue May 3 14:03:25 2011 +0200 reftests: Add a --output option to the test runner This argument specifies where to dump images instead of /tmp. It's not hooked up to the test runner, so that one will continue to dump into /tmp. tests/reftests/gtk-reftest.c | 43 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 41 insertions(+), 2 deletions(-) commit 3a5669afd04304ab865f3c2c0ba65ab72fc7e84e Author: Benjamin Otte Date: Tue May 3 12:05:45 2011 +0200 reftests: Add test for low mnemonics Low mnemonics were invisible previously. This tests the fix from 9bb145a677c3c9fa3266ae6999414f441016d93f tests/reftests/Makefile.am | 2 + tests/reftests/quit-mnemonic.ref.ui | 19 +++++++++++++++ tests/reftests/quit-mnemonic.ui | 43 +++++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 0 deletions(-) commit 97ad34c3a7893fc74eb5f4f6491679eea4b0abe3 Author: Benjamin Otte Date: Tue May 3 11:18:04 2011 +0200 reftests: Test that nonresizable windows get the right size We want the default size, not the minimum one. This tests the fixes from 4f23dc34be1fd497cce84962798f7578e78a32c9 tests/reftests/Makefile.am | 2 ++ tests/reftests/nonresizable-size.ref.ui | 15 +++++++++++++++ tests/reftests/nonresizable-size.ui | 17 +++++++++++++++++ 3 files changed, 34 insertions(+), 0 deletions(-) commit 32a3ad412ee07c8ae559e4c8d4b19da2e2a4bf41 Author: Benjamin Otte Date: Fri Apr 22 04:56:03 2011 +0200 tests: Add a test for small ellipsized labels Tests the fix from bf413928611e004ae3b5a9f73ff9c777cb7e8e70 tests/reftests/Makefile.am | 2 ++ tests/reftests/label-small-ellipsized.ref.ui | 15 +++++++++++++++ tests/reftests/label-small-ellipsized.ui | 16 ++++++++++++++++ 3 files changed, 33 insertions(+), 0 deletions(-) commit af75173ddd4e6b53694d5bd223a500865cabff76 Author: Benjamin Otte Date: Wed Apr 20 17:07:49 2011 +0200 reftests: Add grid-homogeneous test Checks that the homogeneous properties of GtkGrid actually do what they're supposed to. Tests fixes from 8331b45a5fcbfb919a3bb02ccb93ac6d66c515b9 tests/reftests/Makefile.am | 3 + tests/reftests/grid-homogeneous.css | 8 ++ tests/reftests/grid-homogeneous.ref.ui | 134 +++++++++++++++++++++++ tests/reftests/grid-homogeneous.ui | 186 ++++++++++++++++++++++++++++++++ 4 files changed, 331 insertions(+), 0 deletions(-) commit 17a6d6b5f6692fbbf017c91982f88e0793e5241c Author: Benjamin Otte Date: Tue Apr 19 22:15:24 2011 +0200 reftests: Add a test for correct entry text clipping in progress drawing Tests for fixes in da1f618b096973704bd0b7db071baa1444ef5c7b tests/reftests/Makefile.am | 3 + tests/reftests/entry-progress-coloring.css | 22 +++++ tests/reftests/entry-progress-coloring.ref.ui | 113 +++++++++++++++++++++++++ tests/reftests/entry-progress-coloring.ui | 76 +++++++++++++++++ 4 files changed, 214 insertions(+), 0 deletions(-) commit 9229b3216a26fa3a0d789d97a4a674632306c3e0 Author: Benjamin Otte Date: Sun Apr 17 19:56:52 2011 +0200 reftests: Add label-sizing test Checks that the size requests for labels are as they should be for required and natural size given various combinations of wrap, ellipsize, width-chars and max-width-chars. See http://mail.gnome.org/archives/gtk-devel-list/2011-April/msg00036.html for the discussion spawning this test. tests/reftests/Makefile.am | 3 + tests/reftests/label-sizing.css | 7 + tests/reftests/label-sizing.ref.ui |11912 ++++++++++++++++++++++++++++++++++ tests/reftests/label-sizing.ui |12498 ++++++++++++++++++++++++++++++++++++ 4 files changed, 24420 insertions(+), 0 deletions(-) commit 363dbb60397ebf683d8a97ae15517030c27357d7 Author: Benjamin Otte Date: Tue May 3 09:44:45 2011 +0200 reftests: Add Add a new test runner supposed to do a lot of generic tests. Run it like this: ./gtk-reftest [OPTIONS] TESTFILE [TESTFILES...] where FILE is a GtkBuilder ui file to run. For a general test named "test", you want to have the following files: 1) test.ui 2) test.ref.ui 3) test.css (optional) The test will then check that test.ui and test.ref.ui are rendered identically with the provided css. In detail, for every provided TESTFILE the test runner will: 1) Add the css to the default screen 2) Load the test.ui file and the test.ref.ui file 3) Grab the first GtkWindow subclass widget 4) gtk_widget_show() it and take a snapshot image of its contents into a cairo surface. 5) Compare the two images to be bitwise identical. If they are not, a diff image will be created hilighting the differences. 6) Save the images as png files to the output directory named: - test.out.png (rendering of test.ui) - test.ref.png (rendering of test.ref.ui) - test.diff.png (optional, differences from step 5) 7) Fail the test if the two images are not bitwise identical Credit for the idea of reftests goes to Mozilla and in particular David Baron. For a larger introduction of why reftests are useful, see http://weblogs.mozillazine.org/roc/archives/2008/12/reftests.html configure.ac | 1 + tests/Makefile.am | 2 + tests/reftests/Makefile.am | 29 +++ tests/reftests/gtk-reftest.c | 536 ++++++++++++++++++++++++++++++++++++++++++ tests/reftests/simple.ref.ui | 20 ++ tests/reftests/simple.ui | 20 ++ 6 files changed, 608 insertions(+), 0 deletions(-) commit 69300df1fc94e6dbaea0f9c2c9215eb45d345a80 Author: Benjamin Otte Date: Mon Apr 25 01:48:59 2011 +0200 label: Allow using more underline modes gtk/gtklabel.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) commit 1e1cca8912c41d70ca994addab6ce0b00f8354bc Author: Martin Pitt Date: Tue May 3 09:30:49 2011 +0200 GdkWindow: Add missing (allow-none) annotations gdk/gdkwindow.c | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) commit ecb0fa952ac3d0dc870acce37e1c533c2727d96f Author: Benjamin Otte Date: Mon May 2 20:07:49 2011 +0200 accellabel: Remove leftover debug code The disabling of the check was added in 63a0ab5e73a618e4fe907f69a1bd6a74cb399dc2 Ooops. gtk/gtkaccellabel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit b102df537034e6b60abf377879b0a55fe3960a78 Author: Benjamin Otte Date: Mon May 2 18:36:14 2011 +0200 cellarea: Fix warning messages to display the right type The warning displayed the type of the area instead of the cell renderer's type before. gtk/gtkcellarea.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit fb3c16b7ad04ee412dc10320c958307f06efb4cf Author: Javier Jardón Date: Mon May 2 18:19:09 2011 +0100 tests/testgtk.c: Fix crash in cursor test This was introduced in commit ac4c12ff60374e77d88f8e65fc9cb3b5603a193e tests/testgtk.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 87ecd9ad59e2871c3ff9200fc42040b6d0228ffa Author: Benjamin Otte Date: Mon May 2 16:49:03 2011 +0200 menuitem: Deprecate gtk_menu_item_set_right_justified() And the getter, too: gtk_menu_item_get_right_justified() and the corresponding property. Also make the only caller use the private structure (as it did before the recent patches). gtk/gtkmenubar.c | 4 ++-- gtk/gtkmenuitem.c | 13 ++++++++++++- gtk/gtkmenuitem.h | 2 ++ 3 files changed, 16 insertions(+), 3 deletions(-) commit e8c6dbfab1f50e2d2c3f880617f1cae40929c06c Author: Benjamin Otte Date: Mon May 2 16:47:06 2011 +0200 testgtk: right-justify menuitem by using expand/align flags gtk_menu_item_set_right_justify() is about to be deprecated and this thing should work. (Note: should, because I didn't implemented it yet.) tests/testgtk.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 0203cd612e0233d99dd035ff20b13c4fcf0833b1 Author: Benjamin Otte Date: Mon May 2 16:46:06 2011 +0200 gtk-demo: Don't right-justify menu items We don't want to demo things that are a bad idea (quoted from the docs). demos/gtk-demo/menus.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 3b2e710aa4390dd860a84ef16eefff8aaa343917 Author: Javier Jardón Date: Mon May 2 15:42:54 2011 +0100 gtkbuilder.c: gtk_builder_value_from_string() also support GdkRGBA values gtk/gtkbuilder.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a8811efcd7002b4e947325f832b8933bb7f87340 Author: Javier Jardón Date: Mon May 2 15:38:36 2011 +0100 docs: Remove documentation about deprecated and removed GtkText docs/text_widget.txt | 487 -------------------------------------------------- 1 files changed, 0 insertions(+), 487 deletions(-) commit c064808a1afb36bcec22c5a922e79606439b80bb Author: Arnel Borja Date: Sun May 1 08:13:45 2011 +0300 Bypass libtool for linking with libuuid on win32 Fixes a regression introduced in 07d49ee5. Libtool by default refuses to link static libraries into shared libraries. In Windows, libuuid is however a static library and needed for shared libgtk; as a work around, use "-Wl,-luuid" to pass the option directly to the linker. https://bugzilla.gnome.org/show_bug.cgi?id=642214 gtk/Makefile.am | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit a817b4763daeeab86a42916f65759a578f1e5f55 Author: Javier Jardón Date: Mon May 2 14:59:53 2011 +0100 gtkcalendar: Remove unused variable gtk/gtkcalendar.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit 8e1fdaebe78d701853fafe58f03310c520f0eb36 Author: Javier Jardón Date: Tue Apr 26 16:14:52 2011 +0100 docs/reference/gtk/text_widget.sgml: Use GdkRGBA instead GdkColor docs/reference/gtk/text_widget.sgml | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit e73c0d9800ca499994070cb9129f5ee868949348 Author: Javier Jardón Date: Tue Apr 26 16:04:52 2011 +0100 docs/tools/widgets.c: Use GdkRGBA instead GdkColor docs/tools/widgets.c | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) commit dac718a463d93b2548c0258ee8f941ea2826ecbe Author: Abduxukur Abdurixit Date: Mon May 2 08:44:33 2011 +0200 Added UG translation po-properties/ug.po |18364 ++++++++++++++++++++++----------------------------- 1 files changed, 7733 insertions(+), 10631 deletions(-) commit 1130f1c2632498e3c4a7df2e6a9633636806dec4 Author: Abduxukur Abdurixit Date: Mon May 2 08:34:06 2011 +0200 Added UG translation po/ug.po | 8902 +++++++++++++++++++++++++++++++------------------------------- 1 files changed, 4451 insertions(+), 4451 deletions(-) commit 0b3b2a943a8c4efd59742d16e1b036ab218d60a3 Author: Kristian Rietveld Date: Sun May 1 16:38:56 2011 +0200 tooltips: treat scroll events like key/button press instead of motion This avoids tooltips from staying visible when scrolling using scroll events. Suggested by Paul Davis. gtk/gtktooltip.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cf588d7404bc6e536bdc8d95e1791f86f579c9c7 Author: Matthias Clasen Date: Sun May 1 10:02:58 2011 -0400 GtkWidget: avoid an unused variable warning gtk/gtkwidget.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 4f23dc34be1fd497cce84962798f7578e78a32c9 Author: Benjamin Otte Date: Sun May 1 08:47:58 2011 +0200 window: Make non-resizable windows use default size for geometry hints Previously, we were trying to size them by the default size, but then setting the minimum size as the geometry hints' minimum and maximum size. gtk/gtkwindow.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 63a0ab5e73a618e4fe907f69a1bd6a74cb399dc2 Author: Benjamin Otte Date: Sun May 1 08:00:50 2011 +0200 accellabel: Only daw accelerator after natural size has been reached gtk/gtkaccellabel.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 406b2e9e5844e41547642eafbc416f4f03b0b79a Author: Benjamin Otte Date: Sun May 1 07:19:55 2011 +0200 window: Remove overeagerness with new size guessing Don't use the guessed size when we are interested in the minimum size. So now we can really shrink menubars. This reverts parts of 08b2ac1d90b4f3dfa76d6a76fa04ca28c6b7ba12 gtk/gtkwindow.c | 31 +++++++++++++++++-------------- 1 files changed, 17 insertions(+), 14 deletions(-) commit f74df9ba70e2ab71926e06f3ff3c3c9dfa914093 Author: Benjamin Otte Date: Sun May 1 07:06:06 2011 +0200 menubar: Rewrite size allocation to take natural sizes into account Yay for properly ellipsizing menubars! gtk/gtkmenubar.c | 209 +++++++++++++++++++++++++++++------------------------- 1 files changed, 111 insertions(+), 98 deletions(-) commit 4c9b8e0fcd05cec82f42d62c05e77f441b56b0ff Author: Benjamin Otte Date: Sun May 1 05:38:47 2011 +0200 menubar: Only query ipadding when we actually need it gtk/gtkmenubar.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit ae32f2fe90632fa477fdf353ff2ec610b58f4cc4 Author: Benjamin Otte Date: Sun May 1 05:30:42 2011 +0200 menubar: Respect ipadding also in y direction gtk/gtkmenubar.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit cb99f0750d5868d72e7e666c2941a2e56c7407a3 Author: Benjamin Otte Date: Sun May 1 04:18:53 2011 +0200 tests: Make testmenubars make all menubar items ellipsized This reproduces a bug in Nautilus. And it allows to shrink things, woohoo! tests/testmenubars.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 27a661143ef360408870e771692bad4a77df78b1 Author: Benjamin Otte Date: Sun May 1 04:15:42 2011 +0200 settings: Recompute styles when font name changes gtk/gtksettings.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 22a1bd6d6baefc2b7935cafde41046a39ffe88b2 Author: Benjamin Otte Date: Sat Apr 30 06:41:56 2011 +0200 menubar: Implement height-for-width / width-for-height Pretty much just required hooking up the 2 vfuncs, the previous code reorg did the rest of the work. gtk/gtkmenubar.c | 35 ++++++++++++++++++++++++++++++++--- 1 files changed, 32 insertions(+), 3 deletions(-) commit c52f733a2da92f8d6ce14e0102b37fbfc742d809 Author: Benjamin Otte Date: Sat Apr 30 06:34:58 2011 +0200 menubar: Actually query minimum and natural size of children Previously, we only queried the minimum size and reported that as natural size, too. gtk/gtkmenubar.c | 36 +++++++++++++++++++++++++----------- 1 files changed, 25 insertions(+), 11 deletions(-) commit 3091a90538e10425e1e405e75fb6b43baa52e571 Author: Benjamin Otte Date: Sat Apr 30 06:31:01 2011 +0200 menubar: Query only the necessary size from the child The get_preferred_size() function was compied form elsewhere. We should really make that a common API. gtk/gtkmenubar.c | 52 ++++++++++++++++++++++++++++++++-------------------- 1 files changed, 32 insertions(+), 20 deletions(-) commit 923fcaa9283e4203a22c65ec48d8a5f499cc78d5 Author: Benjamin Otte Date: Sat Apr 30 06:24:51 2011 +0200 menubar: Only compute the necessary size There's no need to compute height when we're only interested in width gtk/gtkmenubar.c | 35 +++++++++++++++-------------------- 1 files changed, 15 insertions(+), 20 deletions(-) commit 5aac83bf08215164f8d7569c9eeb0aed14b7788f Author: Benjamin Otte Date: Sat Apr 30 06:16:18 2011 +0200 menubar: compute in advance wether to add toggle size gtk/gtkmenubar.c | 26 +++++++++++++++++--------- 1 files changed, 17 insertions(+), 9 deletions(-) commit f2bf5ce37897cf1ac6bcf4733e114fa28ae4983f Author: Benjamin Otte Date: Sat Apr 30 05:56:25 2011 +0200 menubar: Change function prototype for size request function This is in preparation for redoing that function to actually care about natural sizes. gtk/gtkmenubar.c | 48 ++++++++++++++++++++++++------------------------ 1 files changed, 24 insertions(+), 24 deletions(-) commit d6fbbe159f68130b5cc534e61476226f015ed718 Author: Benjamin Otte Date: Sat Apr 30 05:50:17 2011 +0200 menubar: Remove unnecessary return_if_fail() in vfuncs gtk/gtkmenubar.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit 62e6bc7c34aa77958cc77929a714ff4770bdde20 Author: Benjamin Otte Date: Sat Apr 30 05:49:20 2011 +0200 menubar: Remove useless function declaration gtk/gtkmenubar.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit d8dfa74b4eb667e01810e4883aa399f4dc3898ec Author: Benjamin Otte Date: Sat Apr 30 05:42:00 2011 +0200 menubar: Remove unused variable gtk/gtkmenubar.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) commit a85883ba2b2dcd83d2c7456e547a8550c4e2c236 Author: Benjamin Otte Date: Sat Apr 30 05:31:05 2011 +0200 imagemenuitem: No need to query image size by default Also makes the code look nicer, so woohoo gtk/gtkimagemenuitem.c | 22 +++++++++------------- 1 files changed, 9 insertions(+), 13 deletions(-) commit a64a2aded47475dbc068ebcf6a1eb452f7d50540 Author: Benjamin Otte Date: Sat Apr 30 05:10:55 2011 +0200 menubar: Compute proper size even when invisible gtk/gtkmenubar.c | 131 ++++++++++++++++++++++++++--------------------------- 1 files changed, 64 insertions(+), 67 deletions(-) commit a102dbcf120f239256b250e3796e54c34b99a231 Author: Fran Diéguez Date: Sat Apr 30 23:52:35 2011 +0200 Updated galician translations po-properties/gl.po | 1948 ++++++++++++++++++++++++++------------------------- 1 files changed, 992 insertions(+), 956 deletions(-) commit 896a6b245205b23992f05ee7daca6a36b0c3c475 Author: Matthias Clasen Date: Fri Apr 29 16:50:17 2011 -0400 Fix the build G_GNUC_FUNCTION is deprecated. gtk/gtkcolorbutton.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9d84e6cda72f37dbd205806382337dc73a7afd09 Author: Colin Walters Date: Fri Apr 29 10:32:56 2011 -0400 Drop the last remaining translated g_warning/g_error calls http://mail.gnome.org/archives/desktop-devel-list/2011-March/msg00069.html https://bugzilla.gnome.org/show_bug.cgi?id=648943 gtk/gtkcolorbutton.c | 2 +- gtk/gtkiconfactory.c | 2 +- gtk/gtkicontheme.c | 8 ++++---- gtk/gtkrc.c | 2 +- gtk/gtkrecentaction.c | 8 ++++---- gtk/gtkrecentchoosermenu.c | 8 ++++---- 6 files changed, 15 insertions(+), 15 deletions(-) commit 466d688fea2737c8d257ed542139d754e6fc9a64 Author: Colin Walters Date: Fri Apr 29 10:24:21 2011 -0400 updateiconcache: Don't translate g_warning/g_error gtk/updateiconcache.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit bcc153e262ed1fae777aaeb05e3bb989d21a5a8e Author: Kalev Lember Date: Fri Apr 29 14:56:01 2011 +0300 Disable gtk-update-icon-cache.exe.manifest with --enable-gtk2-dependency When gtk-update-icon-cache building is suppressed, its manifest file should also not be installed. https://bugzilla.gnome.org/show_bug.cgi?id=648938 gtk/Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 95904a5a1bd497bc3f7606285301e1ef873ce7fc Author: Kalev Lember Date: Fri Apr 29 11:42:20 2011 +0300 perf: Use different marshaller prefix than in gtk Avoids multiple symbol definitions in gtk/gtkmarshalers.c and perf/marshalers.c when both objects are linked in. https://bugzilla.gnome.org/show_bug.cgi?id=648926 perf/Makefile.am | 4 ++-- perf/gtkwidgetprofiler.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 5642703b0edf146046213f47d7e725adb4b1af9f Author: Benjamin Otte Date: Fri Apr 29 11:04:01 2011 +0200 notebook: Match horizontal and vertical code paths I have no idea what this code does, but it looks better now. :o gtk/gtknotebook.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 8e1714d59b685f9d1e05b3104d7531cf5551729c Author: Benjamin Otte Date: Fri Apr 29 09:38:56 2011 +0200 notebook: Respect left border when allocating tab widgets This mirrors the code for the other tab locations. gtk/gtknotebook.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 409143637f80209f681bc0926f435be29a51de14 Author: Benjamin Otte Date: Fri Apr 29 09:38:23 2011 +0200 notebook: Respect padding when computing tabs for left/right This mirrors the top/bottom code gtk/gtknotebook.c | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit 9a4aec14467ce62bdabd25c6fda589a25050d190 Author: Benjamin Otte Date: Fri Apr 29 08:59:55 2011 +0200 Don't adjust for values that we have previously adjusted for The padding had been taken into account by the computation of priv->allocation, so don't compute it twice. gtk/gtknotebook.c | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) commit 02b14ffad917e4872e30703bcbb47c6bbaee0870 Author: Benjamin Otte Date: Fri Apr 29 08:48:36 2011 +0200 notebook: Use the right padding for inactive tabs gtk/gtknotebook.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 7962a4b716161e90f905ab1ed76af6cc49ce8d45 Author: Benjamin Otte Date: Fri Apr 29 03:27:02 2011 +0200 window: Invert check that was wrong gtk/gtkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1c46e04f30e8b496ac0cc3ad830b4824e54c1e94 Author: Benjamin Otte Date: Thu Apr 28 22:11:55 2011 +0200 arrow: Make minimum size 5px, as opposed to the 15 it was before Number chosen by staring out the window and counting visible stars. This is necessary so that path bars don't underallocate the arrow widget they use. gtk/gtkarrow.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit 5b1ca9dfa88f6f5e925a2b111928f987a31998e1 Author: Benjamin Otte Date: Thu Apr 28 22:04:31 2011 +0200 widget: Allow underallocation for scrollables Also document this fact. gtk/gtkscrollable.c | 8 ++++++++ gtk/gtkwidget.c | 3 ++- 2 files changed, 10 insertions(+), 1 deletions(-) commit 2eac1ac73be647fefc0f1fde09f7fb31948ad911 Author: Benjamin Otte Date: Thu Apr 28 22:04:02 2011 +0200 docs: Fix liststore docs gtk-doc was very unhappy. It's not anymore gtk/gtkliststore.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 7e2eed8c1b7c9e4138833232ca4af4fddaa26a45 Author: Benjamin Otte Date: Thu Apr 28 21:25:29 2011 +0200 widget: Update underallocation warning Also print the parent widget. As the parent's size_allocate implementation is usually the culprit for this warning happening, it makes sense to print it. gtk/gtkwidget.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 6e3b4af3c5f9f3211a1fa4f5bcdf4c5ece195ec7 Author: Benjamin Otte Date: Thu Apr 28 20:27:40 2011 +0200 paned: Move showing of the handle from realize() to map() Also only show the paned if it's actually supposed to be visible. gtk/gtkpaned.c | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) commit 3e9664ce656e14a851be275e8747dfb14427a1f0 Author: Benjamin Otte Date: Thu Apr 28 14:53:45 2011 +0200 paned: Remove needless check gtk/gtkpaned.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit c3ac782fd3c223028bea0feeb17d48f9792a2044 Author: Kizito Birabwa Date: Thu Apr 28 20:29:03 2011 +0100 Updated Luganda translation po/lg.po | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 92f9892ccabd2a1b05f7ea2382abbf8d441ec14f Author: Benjamin Otte Date: Thu Apr 28 05:12:00 2011 +0200 widget: Warn when allocation for gtk_widget_size_allocate() is too small Widgets may not be underallocated, it is the responsibility of the caller to ensure this never happens. gtk/gtkwidget.c | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) commit 7a322193e85746f69377fc3dff4de8b875f6ed6f Author: Benjamin Otte Date: Thu Apr 28 00:51:37 2011 +0200 notebook: Warn if builder file defines multiple tab widgets per page Glade causes such files when a notebook page has no content. And it's especially bad because the last tab widget wins, so the label displayed in Glade will not be what you see when you run the app. gtk/gtknotebook.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit f6fc81649707eca5f52d78b52bc5e171652d6f9d Author: Giorgos Stephanakis Date: Wed Apr 27 23:20:24 2011 +0300 l10n: Updated Greek translation for gtk+ po-properties/el.po | 4467 ++++++++++++++++++++++++++++----------------------- 1 files changed, 2436 insertions(+), 2031 deletions(-) commit 38ea7abaaedb7c358691aff9a4466fd44eeb8e2f Author: Benjamin Otte Date: Wed Apr 27 19:59:02 2011 +0200 recentchooser: Fix default size setting Set the min content size on the scrolled window instead of using gtk_widget_set_size_request() on a widget where it's not recognized. gtk/gtkrecentchooserdefault.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 1763b3a0b503521ef7196f6c032c5c0b9166451e Author: Benjamin Otte Date: Wed Apr 27 00:49:00 2011 +0200 window: Make comparison be the right direction Messed something up there... gtk/gtkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 187f91eb90d15c14ffed03bfedbff457508a98ec Author: Benjamin Otte Date: Mon Apr 25 01:34:27 2011 +0200 label: Don't crash when a builder file contains unknown attributes gtk/gtklabel.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 8331b45a5fcbfb919a3bb02ccb93ac6d66c515b9 Author: Benjamin Otte Date: Wed Apr 20 16:56:03 2011 +0200 grid: Fix homogeneuous properties being flipped gtk/gtkgrid.c | 18 ++++++++++-------- 1 files changed, 10 insertions(+), 8 deletions(-) commit 0094621e82d8ba6a624177a934d919ef2ddcdd31 Author: Benjamin Otte Date: Tue Apr 12 13:35:10 2011 +0200 cssprovider: #include gio We reference GFile... gtk/gtkcssprovider.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit c7e5d0c63df3b688597e18e9e5f9c6c2bd5d6cb8 Author: Benjamin Otte Date: Wed Apr 27 00:25:48 2011 +0200 tooltip: Use the actual size of the window we're going to show It's easy by realizing the window first. Don't try to guess the alorithm used by gtkwindow.c for sizing the window, it might not be what we expect. gtk/gtktooltip.c | 62 +++++++++++++++++++++++++++-------------------------- 1 files changed, 32 insertions(+), 30 deletions(-) commit 85aebe74cf465dd39d45cb2668c2f0691c754f98 Author: Benjamin Otte Date: Wed Apr 27 00:05:01 2011 +0200 window: Be smarter about computing the default size See the code comments for the reasoning behind this. After we don't force a "guessed" minimum size for labels anymore, a lot of issues started to surface that this patch attempts to fix. In particular: 1) Tooltips where wrapped as much as possible. 2) The recentchooser submenu displayed only ellipsize dots. gtk/gtkwindow.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 57 insertions(+), 4 deletions(-) commit 08b2ac1d90b4f3dfa76d6a76fa04ca28c6b7ba12 Author: Benjamin Otte Date: Tue Apr 26 18:42:54 2011 +0200 window: Split out size guessing function This doesn't do anything special yet, but I'm about to change that. gtk/gtkwindow.c | 70 +++++++++++++++++++++++++++--------------------------- 1 files changed, 35 insertions(+), 35 deletions(-) commit 6e6837a130d943ad3eb3c1b0ebc20578ced4f3c6 Author: Benjamin Otte Date: Tue Apr 26 22:40:37 2011 +0200 window: Use int instead of uint consistently gtk/gtkwindow.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit 9d59926c6f81b0f3ccc7dc10d5d923f4a22887b9 Author: Chun-wei Fan Date: Wed Apr 27 01:02:07 2011 +0800 VS2010 support-update property sheet Update the Gdk-Pixbuf 2.0 include path to be consistent with autotools-based builds build/win32/vs10/gtk+.props | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 61a74fbd61b727092d50d02ed720443e893b6bb2 Author: Chun-wei Fan Date: Wed Apr 27 00:53:16 2011 +0800 VS2008/2010 support: Update README.txt -Make the GDK-Pixbuf requirements more clear -Tell people about the usage of ATK-2.x build/win32/vs10/README.txt | 19 +++++++++++++++---- build/win32/vs9/README.txt | 7 ++++--- 2 files changed, 19 insertions(+), 7 deletions(-) commit 527a299fdd610720a84546863218938d518807e6 Author: Chun-wei Fan Date: Wed Apr 27 00:46:52 2011 +0800 Bug 643270: VS2010 Project Files (autotools) -Update to distribute the VS2010 files. -Added rules in Makefile.am's of GDK and GTK to fill in the project/filter files templates with up-to-date source file listings to simplify maintenace. Any comments on the usage of the VS2010 files are welcome! build/win32/Makefile.am | 3 ++- build/win32/vs10/Makefile.am | 19 +++++++++++++++++++ configure.ac | 1 + gdk/Makefile.am | 22 +++++++++++++++++++++- gtk/Makefile.am | 22 +++++++++++++++++++++- 5 files changed, 64 insertions(+), 3 deletions(-) commit 343d24c3486a9d04731dcf0538595353f404ded4 Author: Chun-wei Fan Date: Wed Apr 27 00:44:30 2011 +0800 Bug 643270: VS 2010 Project Files These are the VS2010 Project files to compile GDK and GTK+, using the Win32 backend, along with a brief README.txt explaining the process. The GDK and GTK project/filter files are templates that are filled in during "make dist" with up-to-date source file listings as far as possible, to simplify maintenance. Comments on their usage are most welcome. build/win32/vs10/README.txt | 66 +++ build/win32/vs10/gdk-win32.vcxproj | 141 ++++++ build/win32/vs10/gdk-win32.vcxproj.filters | 79 ++++ build/win32/vs10/gdk.vcxproj.filtersin | 29 ++ build/win32/vs10/gdk.vcxprojin | 192 +++++++++ build/win32/vs10/gtk+.props | 640 ++++++++++++++++++++++++++++ build/win32/vs10/gtk+.sln | 65 +++ build/win32/vs10/gtk-demo.vcxproj | 220 ++++++++++ build/win32/vs10/gtk-demo.vcxproj.filters | 132 ++++++ build/win32/vs10/gtk.vcxproj.filtersin | 43 ++ build/win32/vs10/gtk.vcxprojin | 206 +++++++++ build/win32/vs10/install.vcxproj | 113 +++++ 12 files changed, 1926 insertions(+), 0 deletions(-) commit 9bb145a677c3c9fa3266ae6999414f441016d93f Author: Benjamin Otte Date: Tue Apr 26 14:07:27 2011 +0200 widget: Add hack to make label mnemonics work again Mnemonics for characters that go beyond the baseline (q, y, g) were not being shown, because they are drawn outside of the label's allocated size. This patch just disables the clip-to-size for labels, so that the label can draw outsize of its allocation. In most cases, that works around this bug. https://bugzilla.gnome.org/show_bug.cgi?id=648570 gtk/gtkwidget.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) commit 7ae4a06d1f2591a95f521660a587b3d28a756e69 Author: Matthew Barnes Date: Tue Apr 26 07:59:53 2011 -0400 GtkComboBox: Improve gtk_combo_box_set_active_id - Passing a NULL ID string should be equivalent to gtk_combo_box_set_active (combo_box, -1). - Use g_strcmp0() instead of strcmp() when comparing ID strings to avoid a crash when an ID is NULL. - Return a boolean indicating if the ID was found or not. https://bugzilla.gnome.org/show_bug.cgi?id=647806 gtk/gtkcombobox.c | 44 ++++++++++++++++++++++++++++++-------------- gtk/gtkcombobox.h | 2 +- 2 files changed, 31 insertions(+), 15 deletions(-) commit 54c3f05848967cc30356d69d4f34b5d112fe8aeb Author: Matthew Barnes Date: Tue Apr 26 07:56:09 2011 -0400 Desensitize "Select All" when GtkEntry is empty This avoids possible confusion in some situations, and selecting an empty string is not very useful. https://bugzilla.gnome.org/show_bug.cgi?id=647962 gtk/gtkentry.c | 1 + gtk/gtktextview.c | 2 ++ 2 files changed, 3 insertions(+), 0 deletions(-) commit 7d3693b82b02f047cb26649b1d871af7902a5d70 Author: Matthias Clasen Date: Tue Apr 26 07:48:27 2011 -0400 GtkEntry: Explicitly disconnect keymap signals Might fix https://bugzilla.gnome.org/show_bug.cgi?id=648419 gtk/gtkentry.c | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) commit 13cff6ddce3a48e713d55ad5cf7908b64efc5361 Author: Chun-wei Fan Date: Mon Apr 25 15:03:01 2011 +0800 VS2008 support: Process filechooser gsettings xml This will copy the xml file and compile it so that the GTK+3 filechooser can be used on Windows, especially the MSVC-compiled versions. build/win32/vs9/gtk+.vsprops | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 099e1afadcb03b559d989cf42e1bc09a9168b823 Author: Abduxukur Abdurixit Date: Sun Apr 24 21:36:40 2011 +0200 Added UG translation po/ug.po | 1199 ++++++++++---------------------------------------------------- 1 files changed, 194 insertions(+), 1005 deletions(-) commit 5600214b902dc87c33bd2a929e569533eb30939d Author: Abduxukur Abdurixit Date: Sun Apr 24 21:28:59 2011 +0200 Added UG translation po-properties/ug.po |18141 ++++++++++++++++++++++++++++++--------------------- 1 files changed, 10631 insertions(+), 7510 deletions(-) commit ac4c12ff60374e77d88f8e65fc9cb3b5603a193e Author: Javier Jardón Date: Fri Apr 22 14:38:40 2011 +0100 tests: Use gtk_box_new() instead v/h subclasses tests/testcellarea.c | 20 ++++++++++---------- tests/testgtk.c | 9 ++++++--- tests/testtoplevelembed.c | 2 +- tests/testtreeedit.c | 10 +++++----- tests/testtreemenu.c | 2 +- 5 files changed, 23 insertions(+), 20 deletions(-) commit bf413928611e004ae3b5a9f73ff9c777cb7e8e70 Author: Benjamin Otte Date: Fri Apr 22 02:51:52 2011 +0200 label: Fix an invariant leading to required > minimum gtk/gtklabel.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 6c24a257513844777997d51239031e861d7b4475 Author: Michael Natterer Date: Thu Apr 21 23:54:52 2011 +0200 gdk: add precondition checks to all GdkKeymap functions so it warns instead of simply crashing. Also fix some whitespace stuff. gdk/gdkkeys.c | 64 +++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 44 insertions(+), 20 deletions(-) commit 953112f91f2257db4f7cd8c5d6cc1be28c50af79 Author: Alberto Ruiz Date: Wed Apr 20 20:11:11 2011 +0100 Adding allow-none introspection annotation for GtkInitFunc parameters gtk/gtkmodules.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d78ace6c34d9dec61779978bf5ee92b91f27626d Author: Alberto Ruiz Date: Wed Apr 20 20:06:14 2011 +0100 Adding introspection annotation to GtkModuleIinitFunc to specify array and length parameters gtk/gtkmodules.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 58b2e9caaf38db621bb795f3c82fa9d8a995aebb Author: Javier Jardón Date: Tue Apr 19 12:50:20 2011 +0100 docs: Do not generate the template files anymore All the documentation is now in inline comments configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit da1f618b096973704bd0b7db071baa1444ef5c7b Author: Benjamin Otte Date: Tue Apr 19 21:28:21 2011 +0200 entry: Translate progress region properly when drawing text gtk/gtkentry.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) commit 76294fcf1d4f72e874516921b7b5b12252b4e4b4 Author: Benjamin Otte Date: Tue Apr 19 20:07:00 2011 +0200 entry: No need to queue a redraw on state changes GtkWidget already does that. gtk/gtkentry.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 2d58625e029e9474ddf9f97898cd2759f1583237 Author: Benjamin Otte Date: Tue Apr 19 20:06:36 2011 +0200 entry: Also update cached style values when the state changes gtk/gtkentry.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 66dc6ea15063a6dcdcb8a95972c30df73c59a5e1 Author: Benjamin Otte Date: Tue Apr 19 19:56:46 2011 +0200 entry: Initialize cached values gtk/gtkentry.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit a9a2a08162875c502e00b7bab815b0e5156e908b Author: Benjamin Otte Date: Tue Apr 19 19:54:08 2011 +0200 entry: g_object_notify*( when we change the invisible char gtk/gtkentry.c | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) commit 0aae66c15ee6d991ad6d51859e5d8b3daa793aee Author: Benjamin Otte Date: Tue Apr 19 19:53:10 2011 +0200 entry: Split out style-updating things into their own function gtk/gtkentry.c | 20 +++++++++++++------- 1 files changed, 13 insertions(+), 7 deletions(-) commit 72ebc788a60ab260cfe498eecaf885f4df349873 Author: Benjamin Otte Date: Tue Apr 19 01:13:57 2011 +0200 entry: Move cairo_save() call for clarity We want save, clip, draw1, restore, save, clip, draw2, restore and not save, save, clip, draw1, restore, clip, draw2, restore Functionally the same thing, but not as obvious gtk/gtkentry.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 6fee78341adaa8c9262ba98d3318824848007d5f Author: Benjamin Otte Date: Tue Apr 19 01:13:19 2011 +0200 entry: Omit useless clip We do the same clip further above, so no need to repeat it gtk/gtkentry.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 033d204b9ee20cb8a20b816e946cbc57f3a0a4f3 Author: Benjamin Otte Date: Tue Apr 19 01:10:23 2011 +0200 entry: Guard clipping with a save/restore Just t be sure, so people don't get bugs later when they refactor code. gtk/gtkentry.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit c70698084c5c9faa4c7a8ffbc3e89c8e8cd5280c Author: Benjamin Otte Date: Tue Apr 19 00:56:16 2011 +0200 entry: Remove needless check The only window we're ever called to draw is our own window. D'oh. gtk/gtkentry.c | 53 +++++++++++++++++++++++++---------------------------- 1 files changed, 25 insertions(+), 28 deletions(-) commit 10fd53970c2f684162abe0678dc57564a7afde90 Author: Benjamin Otte Date: Tue Apr 19 00:55:03 2011 +0200 docs: Strictify the docs for gtk_cairo_should_draw_window() We don't actually enforce the docs, but we will in the future. (in fact, I only added this because widgets were doing stupid things.) gtk/gtkwidget.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 9bd206a65cd7f254b3947189d18ffba371f6ca9f Author: Benjamin Otte Date: Mon Apr 18 04:25:53 2011 +0200 label: No need to special case single-line mode It's already taken care of by the layout. gtk/gtklabel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 38676ef718719666363fd7389fca9b9050f7210f Author: Benjamin Otte Date: Mon Apr 18 04:24:12 2011 +0200 label: Request more natural size for ellipsizing wrapping labels gtk/gtklabel.c | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) commit 484e04aed2056126e4feafecd5326171360c0ac0 Author: Benjamin Otte Date: Mon Apr 18 03:30:35 2011 +0200 label: Pass the desired height to measuring layout We always pass -1 for now. gtk/gtklabel.c | 22 +++++++++++++++------- 1 files changed, 15 insertions(+), 7 deletions(-) commit 403815f96f0082d94d7944e04380f36d3aa90642 Author: Benjamin Otte Date: Mon Apr 18 02:40:40 2011 +0200 label: Remove wrap width leftovers They're not used anymore, so we can just delete all of this code. gtk/gtklabel.c | 14 -------------- 1 files changed, 0 insertions(+), 14 deletions(-) commit 2ecab7b90ddbd0c3dc255e8103a3f9695def8127 Author: Benjamin Otte Date: Mon Apr 18 01:19:11 2011 +0200 label: Set the height of the label when ellipsized or wrapped Obviously, we want to set it to the label's allocated height. Also simplifies the size allocation code. gtk/gtklabel.c | 41 +++++++++++++++-------------------------- 1 files changed, 15 insertions(+), 26 deletions(-) commit 5cb260075e854d3d321c74122d41d23e8feb92da Author: Benjamin Otte Date: Mon Apr 18 00:53:24 2011 +0200 label: Don't use a rectangle variable if we don't use a rectangle gtk/gtklabel.c | 29 ++++++++++++++--------------- 1 files changed, 14 insertions(+), 15 deletions(-) commit 26b2f3127a50023955cd5513ea3d5a7df3775935 Author: Benjamin Otte Date: Mon Apr 18 00:30:17 2011 +0200 label: Redo size computation This gets use closer to the label sizing discussed on the mailing lists. gtk/gtklabel.c | 71 +++++++++++++++++++------------------------------------- 1 files changed, 24 insertions(+), 47 deletions(-) commit 8e34bff045f4cdf397bffffb062a63778cc13d3d Author: Benjamin Otte Date: Mon Apr 18 00:29:16 2011 +0200 label: Set wrap on the layout unconditionally gtk/gtklabel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ffb23fb827cc5b8f3e244274c3b0d2241489aefc Author: Benjamin Otte Date: Sun Apr 17 20:54:35 2011 +0200 label: Remove duplicated comment gtk/gtklabel.c | 25 ++++++------------------- 1 files changed, 6 insertions(+), 19 deletions(-) commit c8ce1106c11361f8b47dd4e9a08db571c7d66d82 Author: Benjamin Otte Date: Sun Apr 17 20:35:29 2011 +0200 label: Don't try to guess a label's size People should use window default sizes or label width-chars/max-width-chars to find the idea layout for a label inside of relying on magic. gtk/gtklabel.c | 127 ++------------------------------------------------------ 1 files changed, 4 insertions(+), 123 deletions(-) commit b5dc24fd28716ad25c75a904f3d88c53137ddfed Author: Benjamin Otte Date: Sun Apr 17 20:30:41 2011 +0200 widget: Make gtk_widget_get_aux_info() private gtk/gtkwidget.c | 30 ++++++++++++++++-------------- gtk/gtkwidget.h | 2 -- 2 files changed, 16 insertions(+), 16 deletions(-) commit c7cae341a1503aff77921d01f489cf8f577aabaa Author: Benjamin Otte Date: Sun Apr 17 20:21:33 2011 +0200 label: Don't care about aux info aux info is something that GtkWidget should do, not any of its subclasses. gtk/gtklabel.c | 58 +++++++------------------------------------------------ 1 files changed, 8 insertions(+), 50 deletions(-) commit 4000d65ee3dc19417997750dae754107b5749365 Author: Benjamin Otte Date: Mon Apr 18 01:50:52 2011 +0200 paned: Use hfw queries during allocation gtk/gtkpaned.c | 31 ++++++++++++++++++++++--------- 1 files changed, 22 insertions(+), 9 deletions(-) commit 116a1049704f183a386c7914c5faa470f9e7e13e Author: Benjamin Otte Date: Mon Apr 18 01:44:40 2011 +0200 paned: Cleanup size_allocate() Don't keep the allocation in 2 variables, just keep the first one. gtk/gtkpaned.c | 37 ++++++++++++++++--------------------- 1 files changed, 16 insertions(+), 21 deletions(-) commit 392c0dc145bb18765ec7f2cc1548ba76de77e84b Author: Benjamin Otte Date: Mon Apr 18 01:41:35 2011 +0200 paned: Implement get_width_for_height() and get_height_for_width() gtk/gtkpaned.c | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) commit a45c59954390dc9508f72f58608ed3c99a76a317 Author: Benjamin Otte Date: Mon Apr 18 01:37:34 2011 +0200 paned: Generalize code No semantic changes, just splitting out a common function and passing a -1 around. gtk/gtkpaned.c | 35 ++++++++++++++++++++++++----------- 1 files changed, 24 insertions(+), 11 deletions(-) commit 09cbf24e7233b106ba8cd4ab0b717cedfa0936ed Author: Gintautas Miliauskas Date: Tue Apr 19 13:59:58 2011 +0200 Updated Lithuanian translation. po-properties/lt.po | 5617 +++++++++++++++++++++++++++++---------------------- 1 files changed, 3158 insertions(+), 2459 deletions(-) commit 5f3e73eae3090826a73428a21f65774ff1ea17c5 Author: Javier Jardón Date: Tue Apr 19 01:22:24 2011 +0100 Move documentation to inline comments: GtkRc The last one! docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkrc.sgml | 1057 ------------------------------------ gtk/gtkrc.c | 778 +++++++++++++++++++++++++- gtk/gtkrc.h | 69 +++ 4 files changed, 825 insertions(+), 1080 deletions(-) commit ce80929b83677e95e5c1c7ecf5a7f7af53e98fc9 Author: Lapo Calamandrei Date: Tue Apr 19 08:30:21 2011 +0200 [broadway] New adwaita based css for "wm" Created by Lapo Calamandrei. gdk/broadway/broadway.js | 2 +- gdk/broadway/client.html | 52 +++++++++++++++++++++++++-------------------- 2 files changed, 30 insertions(+), 24 deletions(-) commit dc56a51cec1ce239fab357bbfa682c88df18b6bc Author: Alexander Larsson Date: Mon Apr 18 20:40:06 2011 +0200 [broadway] Remove debug spew gdk/broadway/broadway.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit cfd8150759828f3e1e1c3f5ebd21ae59492634c3 Author: Alexander Larsson Date: Mon Apr 18 20:23:19 2011 +0200 [broadway] Use cairo to generate png uris gdk/broadway/broadway.c | 454 ++++++++++------------------------------------- 1 files changed, 90 insertions(+), 364 deletions(-) commit 0abd5e2767c83758d7305a3854428e715cf7af02 Author: Alexander Larsson Date: Mon Apr 18 19:52:05 2011 +0200 [broadway] Stream data over websocket The zlib compressed xmlhttprequest thing was a nice hack, but it doesn't really work in production. Its not portable, doesn't have enought API (missing notification for closed sockets) and having to synchronize between two different connections in a reliable way is a pain. So, we're going everything over the websocket. This is a pure switch, but after this we want to modify the protocol to work better over the uncompressed utf8 transport of websockets. gdk/broadway/broadway.c | 99 +++-------------------------------- gdk/broadway/broadway.h | 3 +- gdk/broadway/broadway.js | 21 ++------ gdk/broadway/gdkdisplay-broadway.c | 43 ++++++--------- 4 files changed, 34 insertions(+), 132 deletions(-) commit 2cb9ce954ebac37185c33b597dc6e0831b7b3f57 Author: Alexander Larsson Date: Mon Apr 18 19:51:50 2011 +0200 [broadway] Remove old demo code gdk/broadway/Makefile.am | 3 - gdk/broadway/broadway-demo.c | 230 ------------------------------------------ 2 files changed, 0 insertions(+), 233 deletions(-) commit edd186e274eb9ed44a7c763f0a859c5ead637582 Author: Javier Jardón Date: Mon Apr 18 18:53:30 2011 +0100 Move documentation to inline comments: GtkUIManager docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkuimanager.sgml | 508 ----------------------------- gtk/gtkuimanager.c | 254 ++++++++++++++ gtk/gtkuimanager.h | 18 + 4 files changed, 273 insertions(+), 508 deletions(-) commit 02e9b97981a2b4eebb10989d29c141c5da327e6e Author: Alexander Larsson Date: Mon Apr 18 11:50:29 2011 +0200 [broadway] Implement wm close in browser gdk/broadway/broadway.js | 60 ++++++++++++++++++++++++++++++++++++--------- gdk/broadway/client.html | 8 +---- 2 files changed, 50 insertions(+), 18 deletions(-) commit 52074b4cac0c66900236baef705d27f6d6d55542 Author: Alexander Larsson Date: Mon Apr 18 10:49:47 2011 +0200 [broadway] Report most special keys in keypressed Some special key keycode values as seen in keydown actually match normal keys (like "." has a keyCode 46 on keyPress, which is the same as Delete, but 190 for KeyDown). So we must match the special keys on keypress. However, some things must be checked on keydown as they are not generating keypress events. gdk/broadway/broadway.js | 27 ++++++++++++++++++++------- 1 files changed, 20 insertions(+), 7 deletions(-) commit e279210522eaca9433d22228beb452a3de95ccaa Author: David King Date: Sun Apr 17 17:37:11 2011 +0200 widget: add Since tags for margin accessors gtk/gtkwidget.c | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) commit dd73be389b4801c30c2df6293ab6d6f94ac4a472 Author: Matthias Clasen Date: Sun Apr 17 23:15:06 2011 -0400 Fix commit 5f55c420471db9a05d145e140b3a7cdfc5bdba9f Make gtk_menu_shell_activate static and don't use it outside gtkmenushell.c gtk/gtkmenuitem.c | 2 -- gtk/gtkmenushell.c | 8 ++++---- gtk/gtkmenushellprivate.h | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) commit c4010ec039f9838e1055033743e9c8c1512aa3d5 Author: Chun-wei Fan Date: Mon Apr 18 10:16:01 2011 +0800 Update build/win32/vs9/README.txt Update again due to the usage of ATK-2.x to avoid confusion about its usage in compilation... build/win32/vs9/README.txt | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) commit 5ae68baaf2e5c85c6468cb1501fb6fb49817e127 Author: Javier Jardón Date: Mon Apr 18 01:37:40 2011 +0100 docs: Remove no longer needed template files docs/reference/gtk/tmpl/gtkhruler.sgml | 54 ----- docs/reference/gtk/tmpl/gtklist.sgml | 369 ------------------------------ docs/reference/gtk/tmpl/gtklistitem.sgml | 151 ------------ 3 files changed, 0 insertions(+), 574 deletions(-) commit d2d42f9bfc921571eb49e70a8d420f8203f6afcc Author: Javier Jardón Date: Mon Apr 18 01:35:36 2011 +0100 Move documentation to inline comments: GtkMenuItem docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkmenuitem.sgml | 344 ------------------------------ gtk/gtkmenuitem.c | 95 ++++++++ 3 files changed, 96 insertions(+), 344 deletions(-) commit 93522ce25f24004571cf54ee60418bfcff9ed8df Author: Javier Jardón Date: Mon Apr 18 01:25:26 2011 +0100 Move documentation to inline comments: GtkFontSelectionDialog docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfontseldlg.sgml | 129 ---------------------------- gtk/gtkfontsel.c | 28 ++++++- 3 files changed, 26 insertions(+), 132 deletions(-) commit 9d63d16e3e55c340d2eac73502595bcb742ef61e Author: Javier Jardón Date: Mon Apr 18 01:21:21 2011 +0100 Move documentation to inline comments: GtkWindowGroup docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkwindowgroup.sgml | 89 --------------------------- gtk/gtkwindow.c | 15 +++++ 3 files changed, 16 insertions(+), 89 deletions(-) commit f7b7e8a6b833f8a8ff5aa39f49ef75c71de887ec Author: Javier Jardón Date: Mon Apr 18 01:10:14 2011 +0100 Move documentation to inline comments: GtkDnd docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkdnd.sgml | 424 ----------------------------------- gtk/gtkdnd.c | 148 ++++++++----- gtk/gtkdnd.h | 36 +++- 4 files changed, 129 insertions(+), 480 deletions(-) commit 911ae509566346a568d24ff913635c0b91a6ab75 Author: Javier Jardón Date: Mon Apr 18 00:34:07 2011 +0100 Move documentation to inline comments: GtkTreeModelSort docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktreemodelsort.sgml | 222 ------------------------- gtk/gtktreemodelsort.c | 107 ++++++++++++ 3 files changed, 108 insertions(+), 222 deletions(-) commit b83a4f2e1dc2507687840c2447ab54feba927a95 Author: Javier Jardón Date: Mon Apr 18 00:24:56 2011 +0100 Move documentation to inline comments: GtkToggleButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktogglebutton.sgml | 207 -------------------------- gtk/gtktogglebutton.c | 102 +++++++++++++- 3 files changed, 101 insertions(+), 209 deletions(-) commit 5ff0fb6bbd427fb672f5c4cf11ddbf1bfb5cd370 Author: Javier Jardón Date: Mon Apr 18 00:16:25 2011 +0100 Move documentation to inline comments: GtkSizeGroup docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtksizegroup.sgml | 194 ----------------------------- gtk/gtksizegroup.c | 80 ++++++++++++ 3 files changed, 81 insertions(+), 194 deletions(-) commit 0553a5524dd2208fd8c82484458ac7c02a8b412d Author: Javier Jardón Date: Mon Apr 18 00:12:49 2011 +0100 Move documentation to inline comments: GtkTextBuffer docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktextbuffer.sgml | 974 ---------------------------- gtk/gtktextbuffer.c | 12 + gtk/gtktextbufferrichtext.h | 32 + 4 files changed, 45 insertions(+), 974 deletions(-) commit 138409faaea83d42576d10adcfef0af75026474f Author: Javier Jardón Date: Mon Apr 18 00:07:41 2011 +0100 Move documentation to inline comments: GtkPrintUnixDialog docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkprintunixdialog.sgml | 317 ----------------------- gtk/gtkprinter.h | 22 ++ gtk/gtkprintunixdialog.c | 71 +++++ 4 files changed, 94 insertions(+), 317 deletions(-) commit 14f12a4b1b45f57c6cae0fa7f376be086d4a722f Author: Javier Jardón Date: Mon Apr 18 00:00:27 2011 +0100 Move documentation to inline comments: GtkPrintSettings docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkprintsettings.sgml | 1040 ------------------------- gtk/gtkenums.h | 14 + gtk/gtkprintsettings.c | 24 +- gtk/gtkprintsettings.h | 14 + 5 files changed, 52 insertions(+), 1041 deletions(-) commit 25c2569a5d8af574ccf3604f253d3aa2d21ab9fe Author: Javier Jardón Date: Sun Apr 17 23:54:00 2011 +0100 Move documentation to inline comments: GtkPrintContext docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkprintcontext.sgml | 202 -------------------------- gtk/gtkprintcontext.c | 77 ++++++++++ 3 files changed, 78 insertions(+), 202 deletions(-) commit c029306b4ce4734829e00f9262fd45b4a230870c Author: Javier Jardón Date: Sun Apr 17 23:42:17 2011 +0100 Move documentation to inline comments: GtkRadioMenuItem docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkradiomenuitem.sgml | 149 ------------------------- gtk/gtkradiomenuitem.c | 49 ++++++++ 3 files changed, 50 insertions(+), 149 deletions(-) commit c9af14678ef5a89dbeefdfce0676145eb4cd572e Author: Javier Jardón Date: Sun Apr 17 23:34:41 2011 +0100 Move documentation to inline comments: GtkTextMark docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktextmark.sgml | 141 ------------------------------ gtk/gtktextmark.c | 37 ++++++++ 3 files changed, 38 insertions(+), 141 deletions(-) commit 7ee963c26001cc2854b935ec3597a0fb4a51b33d Author: Javier Jardón Date: Fri Apr 15 17:26:46 2011 +0100 Move documentation to inline comments: GtkRadioToolButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkradiotoolbutton.sgml | 131 ----------------------- gtk/gtkradiotoolbutton.c | 20 ++++ 3 files changed, 21 insertions(+), 131 deletions(-) commit b810bc88ec9636a2d8bb3e0cdfeedc2f8b100585 Author: Chun-wei Fan Date: Mon Apr 18 01:57:37 2011 +0800 Update VS 2008 support to use ATK-2.0 -Update GTK+ project and property sheet to use ATK-2.0. -Tell people about this in the README.txt file build/win32/vs9/README.txt | 2 +- build/win32/vs9/gtk+.vsprops | 2 +- build/win32/vs9/gtk.vcprojin | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) commit 11ba5c209b839f049f68b7a05bbe13bc33de039c Author: Chun-wei Fan Date: Mon Apr 18 00:17:51 2011 +0800 Update build/win32/vs9/README.txt Make the VS 2008 build instructions and information more up-to-date and clearer to people. Please let me know if I have missed any needed details... Thanks build/win32/vs9/README.txt | 52 +++++++++++++++++++++++++++++++++++++++---- 1 files changed, 47 insertions(+), 5 deletions(-) commit 1ad1c33f5224e9a810982e8f789fa8e3e65dfca2 Author: Paolo Borelli Date: Sun Apr 17 17:23:26 2011 +0200 Small cleanup in label sizing code. Move ellipsized_chars calculation in the scope where it is used. https://bugzilla.gnome.org/show_bug.cgi?id=647284 gtk/gtklabel.c | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) commit af7650ce1fb9ae8c33d9c76e5b34aae02b78366f Author: Paolo Borelli Date: Sat Apr 9 22:19:51 2011 +0200 Factor out a get_char_pixels method for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=647284 gtk/gtklabel.c | 30 ++++++++++++++++++++---------- 1 files changed, 20 insertions(+), 10 deletions(-) commit 76a571b61e0f3f98974fc45486b41bee0048ae88 Author: Ignacio Casal Quinteiro Date: Sun Apr 17 16:08:55 2011 +0200 [textview] remove idles when unmapping This avoids the textview taking the whole cpu when it is hidden. gtk/gtktextview.c | 17 ++++++++++++++++- 1 files changed, 16 insertions(+), 1 deletions(-) commit 49c7869582de41411624a19fb781fa34c9fdf0c8 Author: Benjamin Otte Date: Sun Apr 17 12:49:58 2011 +0200 docs fix typo Was accidentally introduced in 1351d40cfe0df7e1d12017af4323fb3ab73b19d2 Thanks Paolo for noticing. gtk/gtkentry.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 874dfc24b2825be505bffbfc0bd7564ab654f254 Author: Kristian Rietveld Date: Tue Apr 5 21:13:43 2011 +0200 treeview: Do not unconditionally set width_changed to TRUE, which redraws Patches by Benjamin Otte. The "invalidate last column" hack is removed. It is now of no use since the entire widget will be redrawn when a single column changes. gtk/gtktreeview.c | 86 ++++------------------------------------------ gtk/gtktreeviewcolumn.c | 3 ++ 2 files changed, 11 insertions(+), 78 deletions(-) commit 4d5d915afe89429dd78b81c3806be027fc61eab1 Author: Kristian Rietveld Date: Tue Apr 5 21:09:10 2011 +0200 treeview: if we are below rows that changed height: redraw We have to redraw if we are below a couple of rows that changed height in do_validate_rows(). This will still require a redraw for a large amount of cases, can we do better? You would expect that a redraw of the tree view is not required when the dy changes with the same delta as the delta of the height accrued when validating the nodes. This further optimization will likely require changes to the top_row/dy synchronization code. gtk/gtktreeview.c | 21 +++++++++++++++++++-- 1 files changed, 19 insertions(+), 2 deletions(-) commit 4594370b4619e431e7d96f9bb2eba234a34abf6d Author: Kristian Rietveld Date: Tue Apr 5 21:06:02 2011 +0200 treeview: Avoid queueing a redraw in do_validate_rows() If the changed rows are not visible, we likely do not have to redraw in conjunction to resize. Spotted by Benjamin Otte. gtk/gtktreeview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a5e1337ad7175bde63cbde9d70e4b2637fa11ca2 Author: Benjamin Otte Date: Wed Apr 6 16:10:25 2011 +0200 cssprovider: Move private struct definition to header consistency, improved debugging, etc gtk/gtkcssprovider.c | 3 +-- gtk/gtkcssprovider.h | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) commit 1351d40cfe0df7e1d12017af4323fb3ab73b19d2 Author: Benjamin Otte Date: Sat Apr 16 21:59:36 2011 +0200 entry: Fix gtk_entry_get_icon_at_pos() The passed in coordinates are widget-relative, not window-relative. gtk/gtkentry.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit f2a20cd9fd09ab7eaf3e961a8d5e46ddcdfe7b79 Author: Benjamin Otte Date: Sat Apr 16 21:51:41 2011 +0200 entry: Use the new get_frame_size() argument in gtk_entry_draw_frame() gtk/gtkentry.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit fd9aac8225564c3eb9993f9c4bdb0074d4bab2ef Author: Benjamin Otte Date: Sat Apr 16 21:49:01 2011 +0200 entry: Add the ability to query frame size in two ways TRUE: relative to widget->window FALSE: relative to widget For now, no caller has beeen changed. gtk/gtkentry.c | 21 +++++++++++++-------- 1 files changed, 13 insertions(+), 8 deletions(-) commit 7ef113ce56a75641175af31267e2075f634267e0 Author: Benjamin Otte Date: Sat Apr 16 21:48:05 2011 +0200 window: Only draw the resize grip if it is actually visible This issue can only be seen if someone calls gtk_widget_draw() on the window as otherwise gtk_cairo_should_draw_window() would return FALSE. gtk/gtkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 71e9606e16ec3a0c76c7adb8d81a27cf3eb31019 Author: Benjamin Otte Date: Sat Apr 16 22:01:18 2011 +0200 docs: Fix wrong description for query-tooltip Coordinates are not relative to widget->window gtk/gtkwidget.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e29cceb39187fa76a29c04b249ca00968c442b39 Author: Benjamin Otte Date: Thu Apr 14 15:28:40 2011 +0200 menushell: Include a function in the private header Don't copy over the implementation. This avoids a copy of the function. Reverts 0098344f84cedb6347fc99691f6e3d358ec112e7. gtk/gtkmenuitem.c | 18 ------------------ gtk/gtkmenushellprivate.h | 2 ++ 2 files changed, 2 insertions(+), 18 deletions(-) commit 6b712ac93b2c73f59990163b8ea00372cf7ef8b7 Author: Benjamin Otte Date: Thu Apr 14 15:28:21 2011 +0200 window: cast value so gcc shuts up gtk/gtkwindow.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 84ebafc3051db91409d57c37d88b4f6f51638d75 Author: Kristian Rietveld Date: Sat Apr 16 20:16:03 2011 +0200 Merge two if-blocks with same condition gtk/gtktreeview.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 00fa4a2fc0fa0ba424e7cb0df6aa4bf4ea918588 Author: Xavier Claessens Date: Sat Apr 16 20:12:39 2011 +0200 Do not call invalidate_empty_focus() when not realized Fixes bug 626503 gtk/gtktreeview.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit e3ce60cc2d0dd00f58318a3a967650864a29df4a Author: Stéphane Maniaci Date: Thu Apr 14 14:14:26 2011 -0500 Make GtkFileChoser remember the last directory opened Introduces a 'last-folder-uri' GSettings key, where we remember the last-opened folder from the previous instance of the file chooser. The idea is that this works globally, across all applications, so it will be easy to do things like 1. Save an attachment from a mail (or some other file) 2. Open another program 3. Do File/Open and automatically get sent to the folder where (1) happened. Signed-off-by: Federico Mena Quintero https://bugzilla.gnome.org/show_bug.cgi?id=644426 gtk/gtkfilechooserdefault.c | 69 +++++++++++++++++++------ gtk/org.gtk.Settings.FileChooser.gschema.xml | 3 + 2 files changed, 55 insertions(+), 17 deletions(-) commit 1fdd4915fc91f01e0dd3323cebb0d70ab5a55dba Author: Alexander Larsson Date: Fri Apr 15 20:34:04 2011 +0200 [broadway] Make close button text unselectable gdk/broadway/client.html | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 7f14b8bedf0e6044305f076a5b4406965ee5486f Author: Alexander Larsson Date: Fri Apr 15 16:31:56 2011 +0200 [broadway] Implement gdk_window_begin_resize_drag This makes the resize grip work. gdk/broadway/gdkeventsource.c | 15 ++ gdk/broadway/gdkprivate-broadway.h | 4 + gdk/broadway/gdkwindow-broadway.c | 310 +++++++++++++++++++++++++++++++++++- 3 files changed, 327 insertions(+), 2 deletions(-) commit c331d397f0428f3dbf1ba27de1ebf740a07bc72b Author: Alexander Larsson Date: Fri Apr 15 16:18:11 2011 +0200 [broadway] Remove window from hashtable when destroyed gdk/broadway/gdkwindow-broadway.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 66231a29b82e72ba57ca9243bd9231a99cb5ca59 Author: Alexander Larsson Date: Fri Apr 15 16:17:27 2011 +0200 [broadway] Ungrab if grabbed window is destroyed gdk/broadway/gdkdevice-broadway.c | 35 +++++++++++++++++++++++++++++++++++ gdk/broadway/gdkprivate-broadway.h | 4 +++- gdk/broadway/gdkwindow-broadway.c | 3 +++ 3 files changed, 41 insertions(+), 1 deletions(-) commit 22c250e32495284a03cbdf1799c8af59a46d2bd3 Author: Alexander Larsson Date: Fri Apr 15 16:13:01 2011 +0200 [broadway] Correctly handle ungrabs in the browser side Always call doUngrab to get the right event, and always do this if the grabbed window is hidden or destroyed. gdk/broadway/broadway.js | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) commit 0098344f84cedb6347fc99691f6e3d358ec112e7 Author: Chun-wei Fan Date: Sat Apr 16 00:42:08 2011 +0800 Update gtk/gtkmenuitem.c... Copy over the implementation of _gtk_menu_shell_activate so that C4013 warning/error (aka gcc's "implicit declaration of ...") can be avoided when compiling with MSVC This is in response of the changes for bug 554057 in commit 5f55c420471db9a05d145e140b3a7cdfc5bdba9f gtk/gtkmenuitem.c | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) commit 3e6af07f46c2345cd83603ed13512653310d4080 Author: Paolo Borelli Date: Wed Apr 6 04:43:09 2011 +0200 Free MenuPopulateData struct in all the cases. For clarity factor out create/free functions. https://bugzilla.gnome.org/show_bug.cgi?id=646876 gtk/gtkrecentchoosermenu.c | 41 +++++++++++++++++++++++++++++------------ 1 files changed, 29 insertions(+), 12 deletions(-) commit 09efa564cb8ab9335cb722141734808c43ab8e9a Author: Javier Jardón Date: Fri Apr 15 00:18:06 2011 +0100 Move documentation to inline comments: GtkHSV docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkhsv.sgml | 142 ----------------------------------- gtk/gtkhsv.c | 15 ++++ 3 files changed, 16 insertions(+), 142 deletions(-) commit b398f96bede8c8fa7f92ce4d8429ca8a1bce3e88 Author: Javier Jardón Date: Fri Apr 15 00:08:33 2011 +0100 Move documentation to inline comments: GtkMenuToolButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml | 136 ------------------------ gtk/gtkmenutoolbutton.c | 36 ++++++ 3 files changed, 37 insertions(+), 136 deletions(-) commit c0b3bfd7b633fadb29bba117524baa5f15415e5e Author: Javier Jardón Date: Fri Apr 15 00:04:49 2011 +0100 Move documentation to inline comments: GtkToolButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktoolbutton.sgml | 253 ---------------------------- gtk/gtktoolbutton.c | 31 ++++ 3 files changed, 32 insertions(+), 253 deletions(-) commit c1e8577a66a2302956afc0ebe7925f89ef39b5ce Author: Javier Jardón Date: Thu Apr 14 22:50:45 2011 +0100 Move documentation to inline comments: GtkLabel docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtklabel.sgml | 751 --------------------------------- gtk/gtklabel.c | 188 ++++++++ 3 files changed, 189 insertions(+), 751 deletions(-) commit c5a760ad2bc3e90980022adc922940526bf2138d Author: Javier Jardón Date: Thu Apr 14 22:25:08 2011 +0100 Move documentation to inline comments: GtkListStore docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkliststore.sgml | 389 ----------------------------- gtk/gtkliststore.c | 154 ++++++++++++ 3 files changed, 155 insertions(+), 389 deletions(-) commit 0dd93537b309d7962938bce6143f7645e5915592 Author: Javier Jardón Date: Thu Apr 14 22:07:29 2011 +0100 Move documentation to inline comments: GtkIconTheme docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkicontheme.sgml | 502 ----------------------------- gtk/gtkicontheme.c | 86 +++++ gtk/gtkicontheme.h | 22 ++ 4 files changed, 109 insertions(+), 502 deletions(-) commit b097729d5a0016254fdbcde4077ba5004b1c6b30 Author: Matthias Clasen Date: Thu Apr 14 20:22:18 2011 -0400 Don't leak a list when activating keybindings Patch by Rui Matos, https://bugzilla.gnome.org/show_bug.cgi?id=647790 gtk/gtkkeyhash.c | 5 +++-- gtk/gtkmenushell.c | 7 +++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit 887743728f435a5b4ef20deb79feb26f8e525cae Author: Alexander Larsson Date: Thu Apr 14 21:35:48 2011 +0200 [broadway] Handle keyboard modifiers in state gdk/broadway/broadway.js | 14 +++++++++++--- gdk/broadway/gdkdisplay-broadway.c | 2 ++ gdk/broadway/gdkdisplay-broadway.h | 1 + gdk/broadway/gdkeventsource.c | 3 +++ 4 files changed, 17 insertions(+), 3 deletions(-) commit 01da867dac948205f10c4ccfd924a2958ad3c749 Author: Alexander Larsson Date: Thu Apr 14 21:13:28 2011 +0200 [broadway] Emulate hardware keycodes in keyboard events We can't really know the client side keymaps, so we use the keysym as the hardware keycode (essentially claiming to have a keyboard with one key for all possible keysyms). This is not ideal, but its hard to do better with no knowledge of the client side keyboard mappings. (And html keyboard events suck badly...) gdk/broadway/gdkeventsource.c | 1 + gdk/broadway/gdkkeys-broadway.c | 38 +++++++++++++++++++++++++++++++------- 2 files changed, 32 insertions(+), 7 deletions(-) commit 7d37534ee2b3f73b981c579db4428dde793310fe Author: Alexander Larsson Date: Thu Apr 14 21:11:30 2011 +0200 [broadway] Implement keyboard event better We're using the noVNC keyboard even handling model (and some of the code with permissions). This means we combine data from keydown and keypress to figure out the translated keysyms according to the keyboard layout at the users machine. gdk/broadway/broadway.js | 1550 +++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 1539 insertions(+), 11 deletions(-) commit f9ad0c61b23774a2b70f9cf63463de46aec19225 Author: Chun-wei Fan Date: Thu Apr 14 23:48:49 2011 +0800 Add gdk_win32_window_get_type into gdk.symbols This symbol needs to be exported for GDK (Win32) so that the runtime checks for Win32 backend usage can be done on MSVC-compiled versions of GTK+ too. I did not add the corresponding symbols for the other backend though-they are probably exported automatically by GCC AFAIK. This is done to make commit 9db4accf9c30e29979e3e012f0a8b3ef624bb690 work on MSVC gdk/gdk.symbols | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 8632ec43eb54035457de9dae00c45bdf9b0e5f4e Author: Benjamin Otte Date: Sun Apr 3 15:03:19 2011 +0200 label: we can't ignore sizes on ellipsized labels So don't use this optimization when a label is ellipsized. https://bugzilla.gnome.org/show_bug.cgi?id=646517 gtk/gtklabel.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) commit 0a23796f5de659be38618300b5c8eb4a0cb0afb1 Author: Benjamin Otte Date: Sat Apr 2 00:03:18 2011 +0200 cssprovider: Use g_type_depth() instead of computing the depth manually gtk/gtkcssprovider.c | 20 ++++++-------------- 1 files changed, 6 insertions(+), 14 deletions(-) commit dcae3598b33e4f7073903de3a7642f9b7526035f Author: Benjamin Otte Date: Fri Apr 1 00:21:04 2011 +0200 sizerequest: return CONSTANT_SIZE in return_if_fail() gtk/gtksizerequest.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 616e6d15650803c2e3707140ce9c8dbee055b1e2 Author: Benjamin Otte Date: Thu Mar 31 15:09:07 2011 +0200 testgtk: Make it possible to stop the progressbar from updating This way, I can check that my invalidation fixes actually work. tests/testgtk.c | 39 ++++++++++++++++++++++++++++++++++----- 1 files changed, 34 insertions(+), 5 deletions(-) commit c43ada95aa5d398d9bf426a31a7af462b10126fd Author: Matthias Clasen Date: Thu Apr 14 08:56:07 2011 -0400 GtkTimeline: don't look when animations are disabled Otherwise, we end up doing maximal work with minimal effect, and bring the X server to 100% CPU. Note that this makes spinner widgets look really unclear, but they really have to be changed to adapt to enable-animations == FALSE at the widget level. gtk/gtktimeline.c | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) commit dd28e22aa147d4763ebdf5504a54183e641c8a4d Author: Javier Jardón Date: Wed Apr 13 22:46:18 2011 +0100 Move documentation to inline comments: GtkIconFactory docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkiconfactory.sgml | 542 --------------------------- gtk/gtkiconfactory.c | 101 +++++ 3 files changed, 102 insertions(+), 542 deletions(-) commit 6ec9ba2aad77bfa7796a979c457fa3336be86ae8 Author: Javier Jardón Date: Wed Apr 13 22:36:00 2011 +0100 Move documentation to inline comments: GtkHandleBox docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkhandlebox.sgml | 220 ----------------------------- gtk/gtkhandlebox.c | 109 +++++++++++++- 3 files changed, 102 insertions(+), 228 deletions(-) commit 39179e3402f0d16843b5fe1642a0e937615155a9 Author: Javier Jardón Date: Wed Apr 13 22:23:44 2011 +0100 Move documentation to inline comments: GtkFontSelection docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfontsel.sgml | 176 ------------------------------- gtk/gtkfontsel.c | 22 ++++ 3 files changed, 23 insertions(+), 176 deletions(-) commit fe65ec5b87569f8bd4ec5171b60bd7c9326163cc Author: Javier Jardón Date: Wed Apr 13 22:17:51 2011 +0100 Move documentation to inline comments: GtkFileChooserDialog docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfilechooserdialog.sgml | 174 --------------------- gtk/gtkfilechooserdialog.c | 128 +++++++++++++++ 3 files changed, 129 insertions(+), 174 deletions(-) commit 2da9a5791fd19b7c19f85274e9ce1c5aeae37827 Author: Javier Jardón Date: Wed Apr 13 20:46:31 2011 +0100 Move documentation to inline comments: GtkFileChooserButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml | 162 --------------------- gtk/gtkfilechooserbutton.c | 41 +++++ 3 files changed, 42 insertions(+), 162 deletions(-) commit fbb57d301dd41318ef58a2f5cd3a3415b889a432 Author: Javier Jardón Date: Wed Apr 13 20:37:21 2011 +0100 Move documentation to inline comments: GtkToggleToolButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktoggletoolbutton.sgml | 105 ---------------------- gtk/gtktoggletoolbutton.c | 15 +++ 3 files changed, 16 insertions(+), 105 deletions(-) commit fd48df53d1cf0b2e67d997f48b5d187ecc01483a Author: Matthias Clasen Date: Wed Apr 13 18:15:43 2011 -0400 Bump version configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)