commit 4a6f5a624760bdecc2e4ca12d800dc12240aa0fa Author: Matthias Clasen Date: Wed Apr 13 17:48:48 2011 -0400 Fix make dist in gdk/broadway gdk/broadway/Makefile.am | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit f75ea21dcd2650a6ace0b24fd26db1ecb02df27e Author: Kristian Høgsberg Date: Wed Apr 13 14:33:22 2011 -0400 wayland: Remove non-existing gdkscreen-wayland.h from SOURCES gdk/wayland/Makefile.am | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) commit b2d3055624d835681e513e400dc29f70fc79d745 Author: Matthias Clasen Date: Wed Apr 13 14:24:18 2011 -0400 Add new symbols gtk/gtk.symbols | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 6c0c63cc5396d4dbab1cbdd91fc8fb842fac71dc Author: Matthias Clasen Date: Wed Apr 13 14:09:39 2011 -0400 Add new symbols to the docs And add a 'Since 3.2' index too. docs/reference/gtk/gtk-docs.sgml | 4 ++++ docs/reference/gtk/gtk3-sections.txt | 2 ++ 2 files changed, 6 insertions(+), 0 deletions(-) commit b333854cd71752fb16c19d2473140caf0b897679 Author: Matthias Clasen Date: Wed Apr 13 13:35:36 2011 -0400 Add a bug ref NEWS | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 5f55c420471db9a05d145e140b3a7cdfc5bdba9f Author: Matthias Clasen Date: Wed Apr 13 13:28:46 2011 -0400 GtkMenuShell: always 'activate' menu shells Failing to do so can leave us with a stuck grab in some cases. https://bugzilla.gnome.org/show_bug.cgi?id=554057 gtk/gtkmenubar.c | 1 - gtk/gtkmenushell.c | 3 ++- gtk/gtkmenushellprivate.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) commit f771a641e2462dcae27a80652ff3b6719150ce3f Author: Matthias Clasen Date: Wed Apr 13 11:42:34 2011 -0400 Updated NEWS NEWS | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 127 insertions(+), 1 deletions(-) commit ade72ed0a1e5785e7131e405629a21bffa0b39ea Author: Matthias Clasen Date: Wed Apr 13 00:24:21 2011 -0400 Fix a link in README Patch by Thomas Andersen https://bugzilla.gnome.org/show_bug.cgi?id=647594 README.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 9e261027047c43694ff40159be2fe219aeb9486d Author: Javier Jardón Date: Wed Apr 13 14:36:28 2011 +0100 Move documentation to inline comments: GtkColorSelectionDialog docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcolorseldlg.sgml | 117 --------------------------- gtk/gtkcolorseldialog.c | 33 ++++++++ 3 files changed, 34 insertions(+), 117 deletions(-) commit b0977dcef9f11fd3d32a4e059d542aefb9cb8b57 Author: Javier Jardón Date: Wed Apr 13 13:53:41 2011 +0100 docs: Fix a typo: gtk_style_get_context -> gtk_style_has_context docs/reference/gtk/gtk3-sections.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 85b356da10076bc492251686c28967a13a6bc8a7 Author: Javier Jardón Date: Wed Apr 13 12:48:47 2011 +0100 Move documentation to inline comments: GtkClipboard docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkclipboard.sgml | 499 ----------------------------- gtk/gtkclipboard.c | 90 +++++- gtk/gtkclipboard.h | 82 +++++ 4 files changed, 160 insertions(+), 512 deletions(-) commit bc6472905d911b81c602dfe31c6424fbcc27aebb Author: Javier Jardón Date: Wed Apr 13 12:32:47 2011 +0100 Move documentation to inline comments: GtkCheckMenuItem docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml | 158 ------------------------- gtk/gtkcheckmenuitem.c | 53 ++++++++ 3 files changed, 54 insertions(+), 158 deletions(-) commit 7b2113fd32680e3df6c8a32f33fad9f6bdabb8fb Author: Javier Jardón Date: Wed Apr 13 12:25:06 2011 +0100 Move documentation to inline comments: GtkCheckButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcheckbutton.sgml | 85 --------------------------- gtk/gtkcheckbutton.c | 32 ++++++++++- 3 files changed, 32 insertions(+), 86 deletions(-) commit 5d106e6ee54684f5d175905d4af312797ebb40e1 Author: Javier Jardón Date: Wed Apr 13 01:45:33 2011 +0100 Move documentation to inline comments: GtkTable docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktable.sgml | 314 --------------------------------- gtk/gtktable.c | 141 +++++++++++++++ 3 files changed, 142 insertions(+), 314 deletions(-) commit 94e977538daa97ccc92dfed0a5ec2b00c3d3d60a Author: Javier Jardón Date: Wed Apr 13 01:07:48 2011 +0100 Move documentation to inline comments: GtkStatusIcon docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkstatusicon.sgml | 504 ---------------------------- gtk/gtkstatusicon.c | 30 ++ 3 files changed, 31 insertions(+), 504 deletions(-) commit 8a2c942f3d2a0b5dd30c9a6e1a3e62af65ac059e Author: Javier Jardón Date: Wed Apr 13 00:55:22 2011 +0100 Move documentation to inline comments: GtkHButtonBox docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkhbbox.sgml | 68 --------------------------------- gtk/gtkhbbox.c | 34 ++++++++++++++++ 3 files changed, 35 insertions(+), 68 deletions(-) commit 7f504fdfa00c954ab29cda6010be493d8c0b12fd Author: Javier Jardón Date: Wed Apr 13 00:49:30 2011 +0100 Move documentation to inline comments: GtkFrame docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkframe.sgml | 160 ------------------------------ docs/reference/gtk/tmpl/gtkmenuitem.sgml | 18 ++++ gtk/gtkframe.c | 37 +++++++ 4 files changed, 56 insertions(+), 160 deletions(-) commit 1263fdbd679af254d79f8f5d9017bf976871d510 Author: Cosimo Cecchi Date: Tue Apr 12 14:20:27 2011 -0400 combobox: always give the full allocation to the button in menu mode The button is what draws the background/frame outline of the combobox, and padding is defined as the spacing *inside* the widget between the border and the content. https://bugzilla.gnome.org/show_bug.cgi?id=646882 gtk/gtkcombobox.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 6116bcb78e4e7a829baf0b1ef9c16674a6da4f55 Author: Cosimo Cecchi Date: Tue Apr 12 14:10:43 2011 -0400 combobox: rename border->padding for code clarity https://bugzilla.gnome.org/show_bug.cgi?id=646882 gtk/gtkcombobox.c | 122 ++++++++++++++++++++++++++-------------------------- 1 files changed, 61 insertions(+), 61 deletions(-) commit cfb54d81bd0fbd25a4462a76f74c52d893294a2a Author: Cosimo Cecchi Date: Tue Apr 5 22:36:24 2011 -0400 combobox: allocate the right border to the arrow and not to the label When the combobox is in menu mode, the right padding of the togglebutton inside, should be allocated to its rightmost children, which is the arrow. https://bugzilla.gnome.org/show_bug.cgi?id=646882 gtk/gtkcombobox.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit bb038d4dd4c6cd031b433ce68d1c00069194ed06 Author: Cosimo Cecchi Date: Tue Apr 5 17:44:49 2011 -0400 combobox: don't use the border as a padding This causes the combobox to behave badly from the theme. https://bugzilla.gnome.org/show_bug.cgi?id=646882 gtk/gtkcombobox.c | 44 +++++++++++++++++++------------------------- 1 files changed, 19 insertions(+), 25 deletions(-) commit 2613e412d7eb14202b6505eed352f44e0ac5a328 Author: Cosimo Cecchi Date: Tue Apr 5 17:36:42 2011 -0400 combobox: don't add the button style class to the whole widget It already has a toggle button inside, and this way we cannot theme them separately. https://bugzilla.gnome.org/show_bug.cgi?id=646882 gtk/gtkcombobox.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit b1d08fe0e9b79939847b1a072284bff6d26bffd7 Author: Cosimo Cecchi Date: Tue Apr 5 15:35:05 2011 -0400 button: don't use the border values for padding It's wrong, and makes it impossible to theme the button properly. https://bugzilla.gnome.org/show_bug.cgi?id=646882 gtk/gtkbutton.c | 36 +++++++++++------------------------- 1 files changed, 11 insertions(+), 25 deletions(-) commit f1a7be7f57234255b5c693285d8db499ca21f682 Author: Cosimo Cecchi Date: Tue Apr 5 15:34:32 2011 -0400 button: make gtk_button_get_props() return the padding too https://bugzilla.gnome.org/show_bug.cgi?id=646882 gtk/gtkbutton.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit b5d678dab098573c0c8371cf105d8e42f52cd89a Author: Dan Winship Date: Tue Apr 12 13:03:38 2011 -0400 gtk_window_present_with_time: fix when window is not initially visible When called on a hidden window, gtk_window_present_with_time() would just fall back to gtk_widget_show(), completely ignoring the passed-in timestamp. This ended up working anyway if the timestamp came from in-process, since gdk_window_x11_show() would initialize its user_time from the time of the most recent event. But if the timestamp came from another process, this would result in the window being shown with an out-of-date timestamp. Fix this by remembering the timestamp from gtk_window_present_with_time(), and then setting the GdkWindow's user_time from that when it the window is realized. https://bugzilla.gnome.org/show_bug.cgi?id=647275 gtk/gtkwindow.c | 22 ++++++++++++++++++---- 1 files changed, 18 insertions(+), 4 deletions(-) commit 91b52230013c32d3366886a367ad3b1f78c04f47 Author: Dan Winship Date: Mon Apr 11 12:13:44 2011 -0400 GdkDeviceManagerXI2: don't set user_time on ButtonRelease The XI2 device manager was mistakenly setting the window user_time on both ButtonPress and ButtonRelease, which meant that processes that tried to launch another process based on the time of a ButtonPress event would end up always focus-stealing-preventing the new app. https://bugzilla.gnome.org/show_bug.cgi?id=647275 gdk/x11/gdkdevicemanager-xi2.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 304989291d165bcbe39d4656be1c9a67f4a91717 Author: Matthias Clasen Date: Tue Apr 12 12:50:30 2011 -0400 GtkWidgetPrivate: Improve struct packing gtk/gtkwidget.c | 28 +++++++++++++--------------- 1 files changed, 13 insertions(+), 15 deletions(-) commit 28e87c8f9757653ca8e764b2c0335af09b93004a Author: Matthias Clasen Date: Tue Apr 12 12:50:05 2011 -0400 GtkTreeModelFilterPrivate: Improve struct packing gtk/gtktreemodelfilter.c | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) commit 0e58ec7dcd2d25ccc51d7b430a904d15249c8066 Author: Matthias Clasen Date: Tue Apr 12 12:49:40 2011 -0400 GtkToolItemGroupPrivate: Improve struct packing gtk/gtktoolitemgroup.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit 93203ca2f6508064e3d866f73c669509f17de688 Author: Matthias Clasen Date: Tue Apr 12 12:49:16 2011 -0400 GtkToolItemPrivate: Improve struct packing gtk/gtktoolitem.c | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) commit 900ea46adde2cf2435d3aa4ed368ae6ab4089cb7 Author: Matthias Clasen Date: Tue Apr 12 12:48:55 2011 -0400 GtkToolbarPrivate: Improve struct packing gtk/gtktoolbar.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit a1f200426ba2a8c7645c6194a0dbbcd78e17da2f Author: Matthias Clasen Date: Tue Apr 12 12:48:30 2011 -0400 GtkTextViewPrivate: Improve struct packing gtk/gtktextview.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit a603a2a2ba49a3e084ae82086aa99f6a9f132a91 Author: Matthias Clasen Date: Tue Apr 12 12:48:02 2011 -0400 GtkTextBufferPrivate: Improve struct packing gtk/gtktextbuffer.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 6f09126343c77be2b84e340b101e4b6b8f859239 Author: Matthias Clasen Date: Tue Apr 12 12:46:28 2011 -0400 GtkTextBTreeNode: Improve struct packing gtk/gtktextbtree.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit 7629ee7ad045732882fe397372f411e2d95acf95 Author: Matthias Clasen Date: Tue Apr 12 12:45:51 2011 -0400 GtkStyleContextPrivate: Improve struct packing gtk/gtkstylecontext.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 1f4dd573281134e4b26dce9bc59dd39162a430af Author: Matthias Clasen Date: Tue Apr 12 12:45:28 2011 -0400 GtkSpinButtonPrivate: Improve struct packing gtk/gtkspinbutton.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit fa1b967d4aa60b640f2c5e7b8cd07438df1208f1 Author: Matthias Clasen Date: Tue Apr 12 12:42:37 2011 -0400 GtkScrolledWindowPrivate: Improve struct packing gtk/gtkscrolledwindow.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit 93ed62e69c3ce51aa832cdfd6b69c5b9936816d8 Author: Matthias Clasen Date: Tue Apr 12 12:42:14 2011 -0400 GtkRangePrivate: Improve struct packing gtk/gtkrange.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit e564d36deb82295274a24103143eb377ccb8deb4 Author: Matthias Clasen Date: Tue Apr 12 12:40:30 2011 -0400 GtkProgressBarPrivate: Improve struct packing Also remove the unused blocks and in_block members. gtk/gtkprogressbar.c | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) commit f572a4670d394f6f51bf9400e29c4bb410e4c15d Author: Matthias Clasen Date: Tue Apr 12 12:37:55 2011 -0400 GtkPanedPrivate: Improve struct packing gtk/gtkpaned.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit fdac246ed2115291430f6d255b4ddaef6dc20fa6 Author: Matthias Clasen Date: Tue Apr 12 12:35:17 2011 -0400 GtkNumerableIconPrivate: Improve struct packing gtk/gtknumerableicon.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit f3865a2011be98bf8b3345d62259addc05033f83 Author: Matthias Clasen Date: Tue Apr 12 12:34:53 2011 -0400 GtkMenuItemPrivate: Improve struct packing gtk/gtkmenuitemprivate.h | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) commit 24a07deece25a0459c0b606741b2310949ae60ad Author: Matthias Clasen Date: Tue Apr 12 12:34:29 2011 -0400 GtkListStorePrivate: Improve struct packing gtk/gtkliststore.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 8377ecd694137f47c107fdc247fd1639580f7746 Author: Matthias Clasen Date: Tue Apr 12 12:34:11 2011 -0400 GtkLabelPrivate: Improve struct packing gtk/gtklabel.c | 29 ++++++++++++++--------------- 1 files changed, 14 insertions(+), 15 deletions(-) commit a65e25df83e2e62ad4fdc5cf8dd4e85dd705c815 Author: Matthias Clasen Date: Tue Apr 12 12:33:45 2011 -0400 GtkImagePrivate: Improve struct packing gtk/gtkimage.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 6c9f20e58db5fdc79960fbf1a002b9b73c5a2cc4 Author: Matthias Clasen Date: Tue Apr 12 12:33:24 2011 -0400 GtkIconViewPrivate: Improve struct packing gtk/gtkiconview.c | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) commit 800fff748b49d1663e01fcf684f0e02e8f43eb7a Author: Matthias Clasen Date: Tue Apr 12 12:33:04 2011 -0400 GtkIconThemePrivate: Improve struct packing gtk/gtkicontheme.c | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) commit b3ca94a44ed967fd5888f63a70a78130e0b07989 Author: Matthias Clasen Date: Tue Apr 12 12:32:29 2011 -0400 GtkEntryBufferPrivate: Improve struct packing gtk/gtkentrybuffer.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit a4e52ece331d0f383908679c416669c9a4ff429d Author: Matthias Clasen Date: Tue Apr 12 12:32:04 2011 -0400 GtkCellViewPrivate: Improve struct packing gtk/gtkcellview.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) commit a6db55b7749844f5a5c81c95c6be6d0a9bef2192 Author: Matthias Clasen Date: Tue Apr 12 12:31:28 2011 -0400 GtkCellRendererTextPrivate: Improve struct packing gtk/gtkcellrenderertext.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit ea936d42373e267467409bad681d8cd4d6cc6b15 Author: Matthias Clasen Date: Tue Apr 12 12:30:36 2011 -0400 GtkCellRendererPixbufPrivate: Improve struct packing gtk/gtkcellrendererpixbuf.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 92f1f0c11810cfbd751ae8d20b78d2d61a04733b Author: Matthias Clasen Date: Tue Apr 12 12:30:04 2011 -0400 GtkCellRendererAccelPrivate: Improve struct packing gtk/gtkcellrendereraccel.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit a2f005d9a0229d5dcf30fd67eec51babfb3e500e Author: Matthias Clasen Date: Tue Apr 12 12:25:53 2011 -0400 GtkCellAreaBoxPrivate: Improve struct packing gtk/gtkcellareabox.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 9a5d2a52d33ab22d2ec23cd5896df61e571e5a67 Author: Matthias Clasen Date: Tue Apr 12 12:25:25 2011 -0400 GtkButtonPrivate: Improve struct packing gtk/gtkbuttonprivate.h | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) commit 6ca66919662d60716c09e4730644293dc85671d8 Author: Matthias Clasen Date: Tue Apr 12 12:24:56 2011 -0400 GtkBoxPrivate: Improve struct packing gtk/gtkbox.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit b756743cdf062e6b821e5ebf4c37bbeb214b241c Author: Matthias Clasen Date: Tue Apr 12 12:24:34 2011 -0400 GtkAppChooserWidgetPrivate: Improve struct packing gtk/gtkappchooserwidget.c | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) commit 39af7107b4ee9fd3cfedbac195855e4005a6253a Author: Matthias Clasen Date: Tue Apr 12 12:24:05 2011 -0400 GtkAppChooserButtonPrivate: Improve struct packing gtk/gtkappchooserbutton.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 2610e00de95f2387c0badb56c2acfbb26f557d38 Author: Matthias Clasen Date: Tue Apr 12 12:23:35 2011 -0400 GtkAccelLabel: Improve struct packing gtk/gtkaccellabel.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 611a67b350b87a1838c06583dd0b98a25ab67fe7 Author: Matthias Clasen Date: Tue Apr 12 10:39:14 2011 -0400 GdkWindowImplX11: Struct packing improvements gdk/x11/gdkwindow-x11.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 1c4cb29475dc8796f3172c4e39f147831f22bcfe Author: Matthias Clasen Date: Tue Apr 12 10:38:38 2011 -0400 GdkX11Screen: Struct packing improvements gdk/x11/gdkscreen-x11.h | 55 ++++++++++++++++++++++----------------------- gdk/x11/gdkxftdefaults.c | 11 ++++++--- 2 files changed, 34 insertions(+), 32 deletions(-) commit 879202b9c2acc629e053000c7efaab616d1dd234 Author: Matthias Clasen Date: Tue Apr 12 10:37:51 2011 -0400 GdkX11DragContext: Struct packing improvements gdk/x11/gdkdnd-x11.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit cef996d57eadb62925cca952fda0b29715e0c511 Author: Matthias Clasen Date: Tue Apr 12 10:37:08 2011 -0400 GdkX11DeviceXI: Struct packing improvements gdk/x11/gdkdeviceprivate-xi.h | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) commit 20c8b765a529cf13063bf153d419af72d3710048 Author: Matthias Clasen Date: Tue Apr 12 10:36:39 2011 -0400 GdkScreen: Struct packing improvements gdk/gdkscreenprivate.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 220ba87ec080495128fdfa952431f9f4823cdbdd Author: Matthias Clasen Date: Tue Apr 12 10:35:34 2011 -0400 GdkWindow: Struct packing improvements gdk/gdkinternals.h | 49 ++++++++++++++++++++++++++----------------------- 1 files changed, 26 insertions(+), 23 deletions(-) commit 14ad1fab8eabfdd935c31769bad5fdeccc23247d Author: Matthias Clasen Date: Tue Apr 12 10:34:55 2011 -0400 GdkDisplay: Struct packing improvements gdk/gdkdisplayprivate.h | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) commit 63c4bb556358e8e29f1b2c9039cd0a420f989e53 Author: Matthias Clasen Date: Tue Apr 12 10:34:28 2011 -0400 GdkCursor: Struct packing improvements gdk/gdkcursorprivate.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit c7514e8f0d19a833257497caff413bb4dfae6eb4 Merge: 85c1c22 fcd58b0 Author: Kristian Høgsberg Date: Tue Apr 12 09:52:44 2011 -0400 Merge branch 'gdk-backend-wayland' Conflicts: Makefile.am configure.ac gdk/Makefile.am gtk/gtksettings.c gtk/gtkwindow.c commit 85c1c22d04d369529ec4c3b6f608270f4f394cb5 Author: Alexander Larsson Date: Tue Apr 12 13:38:04 2011 +0200 [broadway] Cancel key events after seeing them gdk/broadway/broadway.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit afdde925b8a5dbd240679f3fd4627c8203db36ed Author: Alexander Larsson Date: Tue Apr 12 11:34:13 2011 +0200 [broadway] Fix canvas resize when resizing browser window We always have to resize the canvas, even when its in a toplevel. gdk/broadway/broadway.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 20542b0ead89bf9b0ebd7fcf820a436d778a2c9b Author: Alexander Larsson Date: Tue Apr 12 11:21:47 2011 +0200 [broadway] Fix typo gdk/broadway/broadway.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit f4bef2c7207dd0d238f0547479998d794433b74c Author: Alexander Larsson Date: Tue Apr 12 11:11:36 2011 +0200 [broadway] Combine window move and resize into one op This way we avoid sending a configure event for the inbetween state if we're resizeing and moving at the same time. gdk/broadway/broadway-demo.c | 2 +- gdk/broadway/broadway.c | 54 ++++++++++-------- gdk/broadway/broadway.h | 16 +++--- gdk/broadway/broadway.js | 110 ++++++++++++++++++------------------- gdk/broadway/gdkwindow-broadway.c | 26 ++++----- 5 files changed, 104 insertions(+), 104 deletions(-) commit ca49ec2c8cefa966d04d8fe0fa4011da2e3d2dc5 Author: Alexander Larsson Date: Tue Apr 12 10:17:36 2011 +0200 [broadway] Fix various js warnings gdk/broadway/broadway.js | 43 ++++++++++++++++++++++--------------------- 1 files changed, 22 insertions(+), 21 deletions(-) commit 840df5c7c174150d243a1073aa00c5c5d1008c1a Author: Alexander Larsson Date: Tue Apr 12 10:13:38 2011 +0200 [broadway] Add stacktrace debugging functions gdk/broadway/broadway.js | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 56 insertions(+), 0 deletions(-) commit 293456978192f687f02938f800db18da66d09d9e Author: Alexander Larsson Date: Tue Apr 12 10:10:44 2011 +0200 [broadway] Always send configure events from browser As soon as something changes, even if it was a request from the user we send a configure event. If not we might race with a app-side generated configure event. For instance, a create + resize might create only a configure event for the create in the browser, but that may get to the app after the app-side configure event for the resize, overriding the new size. gdk/broadway/broadway.js | 38 ++++++++++++++++++++++++++++---------- 1 files changed, 28 insertions(+), 10 deletions(-) commit ddcbd8234b8fd78b8736a2cbeacc6c4769e83c22 Author: Alexander Larsson Date: Mon Apr 11 17:49:18 2011 +0200 [broadway] When resyncing, first create all windows then set attributes Some attributes (like transient parent) depende on other windows being there, so we create all first. gdk/broadway/gdkwindow-broadway.c | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) commit 4bbc45380b772aea148e81259dc5da9d778d2553 Author: Alexander Larsson Date: Mon Apr 11 17:48:21 2011 +0200 [broadway] More complete handling of transient parent We now handle any order of transient being set and windows shown/created gdk/broadway/broadway.js | 21 ++++++++++++++------- 1 files changed, 14 insertions(+), 7 deletions(-) commit 75dc3f3a07441a534f20be79a67675dce01bf0dd Author: Alexander Larsson Date: Mon Apr 11 17:03:33 2011 +0200 [broadway] Use mozInnerScreenX & co to get window position This way we don't have to rely on any event, which won't work until we get an event. gdk/broadway/broadway.js | 23 +++++++++-------------- 1 files changed, 9 insertions(+), 14 deletions(-) commit 8a7e208bb25179ace9270a5a160bf28e719ca5e6 Author: Alexander Larsson Date: Mon Apr 11 16:43:01 2011 +0200 [broadway] Parse x/y as signed gdk/broadway/broadway.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 4cb979d6b9b50a01470a5aaeaf4cd644330650e1 Author: Alexander Larsson Date: Mon Apr 11 16:42:41 2011 +0200 [broadway] Update window geometry after showing window gdk/broadway/broadway.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit 4c575ac343bda41f2c3705a91812412a3d1c4d0b Author: Alexander Larsson Date: Mon Apr 11 16:42:02 2011 +0200 [broadway] Don't cache surface.transientToplevel as that might change at various times gdk/broadway/broadway.js | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) commit 3fbfd82e9e0f8597f984345a28d850794922c9bc Author: Matthias Clasen Date: Mon Apr 11 18:33:43 2011 -0400 GtkWindow: rearrange private struct to fill some holes gtk/gtkwindow.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit 7fe3764f4da339daa1328b4c97a5d815d4b0e289 Author: Paolo Borelli Date: Sat Apr 9 16:01:23 2011 +0200 Small cleanup in statusbar Factor out msg_create/free and use g_slist_free_full as appropriate. https://bugzilla.gnome.org/show_bug.cgi?id=647278 gtk/gtkstatusbar.c | 55 +++++++++++++++++++++++++++------------------------ 1 files changed, 29 insertions(+), 26 deletions(-) commit 518d030220e81e715832e08b5dc1fe4bb2a5ec9e Author: Javier Jardón Date: Mon Apr 11 22:52:00 2011 +0100 Move documentation to inline comments: GtkTearoffMenuItem docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtktearoffmenuitem.sgml | 60 ----------------------- gtk/gtktearoffmenuitem.c | 29 +++++++++++ 3 files changed, 30 insertions(+), 60 deletions(-) commit 4a7400db99cf5e3cb3b25b79f0d30e79329cf906 Author: Javier Jardón Date: Mon Apr 11 22:47:18 2011 +0100 Move documentation to inline comments: GtkCellRendererPixbuf docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcellrendererpixbuf.sgml | 98 -------------------- gtk/gtkcellrendererpixbuf.c | 20 ++++ 3 files changed, 21 insertions(+), 98 deletions(-) commit 3990af227f5f14b41855a019bba69873687c2172 Author: Javier Jardón Date: Mon Apr 11 22:39:48 2011 +0100 Move documentation to inline comments: GtkCellRendererCombo docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcellrenderercombo.sgml | 78 --------------------- gtk/gtkcellrenderercombo.c | 21 ++++++ 3 files changed, 22 insertions(+), 78 deletions(-) commit 1f50a4d0114e74c26a5281dedf5f5df0cf54e793 Author: Javier Jardón Date: Mon Apr 11 22:33:38 2011 +0100 Move documentation to inline comments: GtkHSeparator docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkhseparator.sgml | 53 ---------------------------- gtk/gtkhseparator.c | 26 +++++++++++++ 3 files changed, 27 insertions(+), 53 deletions(-) commit 1f9f5e8890bd63ec76258b61a15d21af202db14a Author: Javier Jardón Date: Mon Apr 11 22:14:35 2011 +0100 Move documentation to online comments: GtkCellRendererSpin docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcellrendererspin.sgml | 68 ---------------------- gtk/gtkcellrendererspin.c | 22 +++++++ 3 files changed, 23 insertions(+), 68 deletions(-) commit a1ae3f7fe1dfbf30398d6ad10f32f3c9210b2e84 Author: Takayoshi OKANO Date: Mon Apr 11 23:17:23 2011 +0900 Updated Japanese translation. po/ja.po | 1372 +++++++++++++++++++++++++++++++++++++------------------------- 1 files changed, 823 insertions(+), 549 deletions(-) commit 7b3b4a6ad9a8e411130ad0d91c96e8434585d7c4 Author: Alexander Larsson Date: Mon Apr 11 11:56:22 2011 +0200 [broadway] Correctly track remote visible state GDK_WINDOW_IS_MAPPED is not false for withdrawn windows, so we need to track real visibility ourselves. gdk/broadway/gdkwindow-broadway.c | 6 +++++- gdk/broadway/gdkwindow-broadway.h | 1 + 2 files changed, 6 insertions(+), 1 deletions(-) commit 33d16b16c9d1f0c458ff2b8bf2dc3f39769eb613 Author: Alexander Larsson Date: Mon Apr 11 11:32:25 2011 +0200 [broadway] Clean up js side surface handling * Always calculate the context, don't store in surface. * Store the toplevel element (frame or canvas) for easy access. * Always use visibility hidden rathern than display none to hide windows, as this means we can always rely on dom positioning info. gdk/broadway/broadway.js | 77 +++++++++++++++++---------------------------- 1 files changed, 29 insertions(+), 48 deletions(-) commit 27c4d104fb41c54b5ebbe4e7426ef53d949d5e11 Author: Alexander Larsson Date: Mon Apr 11 10:54:02 2011 +0200 [broadway] Restack on window show to ensure all zIndexes are right gdk/broadway/broadway.js | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c839f2910c34f82344c42ee96ddbad5dc54297d0 Author: Alexander Larsson Date: Mon Apr 11 10:53:11 2011 +0200 [broadway] Store surface, not id in stackingOrder list gdk/broadway/broadway.js | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) commit ace1c4c284ad3e1de53df576460cd51c0e99e4a7 Author: Alexander Larsson Date: Mon Apr 11 10:46:48 2011 +0200 [broadway] Set transient-for before showing window When syncing windows, make sure we set transient-for before showing the window to avoid it being visible with the wrong transient-for (i.e. possibly on the wrong browser window). gdk/broadway/gdkwindow-broadway.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) commit 05dfb7f59414704dbe6efdc8cdfab665a9a0c9f3 Author: Alexander Larsson Date: Mon Apr 11 10:43:09 2011 +0200 [broadway] Fix css typo rgb takes 3 params, rgba takes four. gdk/broadway/client.html | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7a197e5b65637d94f3c215a74950a63869fbb719 Author: Alexander Larsson Date: Mon Apr 11 10:42:03 2011 +0200 [broadway] Fix up frame size calculation Turns out that offsetTop/Left doesn't contain the border, so we need to manually add that in. gdk/broadway/broadway.js | 33 +++++++++++++++++++++++++++++++-- 1 files changed, 31 insertions(+), 2 deletions(-) commit ebda721f4ef4cbb4c8479552eac43b3e45bd00d9 Author: Javier Jardón Date: Mon Apr 11 03:09:38 2011 +0100 Move documentation to inline comments: GtkFileChooserWidget docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfilechooserwidget.sgml | 57 --------------------- gtk/gtkfilechooserwidget.c | 19 +++++++ 3 files changed, 20 insertions(+), 57 deletions(-) commit 62c878b0cd00c73685db8618d75d16d2d0e204bf Author: Javier Jardón Date: Mon Apr 11 03:04:20 2011 +0100 Move documentation to inline comments: GtkHScale docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkhscale.sgml | 54 -------------------------------- gtk/gtkhscale.c | 21 ++++++++++++ 3 files changed, 22 insertions(+), 54 deletions(-) commit 610d46d12ee808c66f2821ac76e0c894f91aa32a Author: Javier Jardón Date: Mon Apr 11 03:00:24 2011 +0100 Move documentation to inline comments: GtkCellRendererAccel docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcellrendereraccel.sgml | 90 --------------------- gtk/gtkcellrendereraccel.c | 15 ++++ 3 files changed, 16 insertions(+), 90 deletions(-) commit de210bd2ae9079b950cbe41daa0b8334ee4f1e07 Author: Javier Jardón Date: Mon Apr 11 02:54:53 2011 +0100 Move documentation to inline comments: GtkHScrollbar docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkhscrollbar.sgml | 44 ---------------------------- gtk/gtkhscrollbar.c | 15 +++++++++ 3 files changed, 16 insertions(+), 44 deletions(-) commit 5f7433a64409a9985beec78365e0677aec45e816 Author: Javier Jardón Date: Mon Apr 11 02:51:46 2011 +0100 Remove unneded template: gtkimcontext.sgml docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkimcontext.sgml | 213 ----------------------------- 2 files changed, 1 insertions(+), 213 deletions(-) commit 9dc0e7460ee3ff62bed6e017d581f69fcc4dbf57 Author: Javier Jardón Date: Mon Apr 11 02:47:43 2011 +0100 Move documentation to inline comments: GtkFontButton docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkfontbutton.sgml | 194 ---------------------------- gtk/gtkfontbutton.c | 12 ++ 3 files changed, 13 insertions(+), 194 deletions(-) commit fc0e045d92b8e5e9498ac2894f7833573284081d Author: Javier Jardón Date: Mon Apr 11 02:42:54 2011 +0100 Move documentation to inline comments: GtkCellRendererToggle docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkcellrenderertoggle.sgml | 127 -------------------- gtk/gtkcellrenderertoggle.c | 12 ++ 3 files changed, 13 insertions(+), 127 deletions(-) commit f7f7d4eee484c5413a1ebd82a2ad3a2c617396ae Author: Javier Jardón Date: Mon Apr 11 02:36:23 2011 +0100 Move documentation to inline comments: GtkHPaned docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkhpaned.sgml | 39 -------------------------------- gtk/gtkhpaned.c | 19 +++++++++++++++ 3 files changed, 20 insertions(+), 39 deletions(-) commit 735f3a23a41f51f72fb64562643d339489a82f51 Author: Javier Jardón Date: Mon Apr 11 02:31:56 2011 +0100 Move documentation to inline comments: GtkInvisible docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkinvisible.sgml | 73 ----------------------------- gtk/gtkinvisible.c | 14 ++++++ 3 files changed, 15 insertions(+), 73 deletions(-) commit ca8d880a205c60ef5550e2bb0cbcaac9286873a0 Author: Javier Jardón Date: Mon Apr 11 02:18:13 2011 +0100 Move documentation to inline comments: GtkCellRendererProgress docs/reference/gtk/tmpl/.gitignore | 1 + .../gtk/tmpl/gtkcellrendererprogress.sgml | 72 -------------------- gtk/gtkcellrendererprogress.c | 12 +++ 3 files changed, 13 insertions(+), 72 deletions(-) commit 3662744eaa93dd2857ce364dc38ad9dddf86c061 Author: Javier Jardón Date: Mon Apr 11 02:04:11 2011 +0100 Move documentation to inline comments: GtkMisc docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkmisc.sgml | 137 ---------------------------------- gtk/gtkmisc.c | 42 ++++++++++ 3 files changed, 43 insertions(+), 137 deletions(-) commit f2fd3ee1d5eb664626a7fc4adc46cf3d8edc6e09 Author: Javier Jardón Date: Mon Apr 11 02:13:02 2011 +0100 Move documentation to inline comments: GtkImageMenuItem docs/reference/gtk/tmpl/.gitignore | 1 + docs/reference/gtk/tmpl/gtkimagemenuitem.sgml | 152 ------------------------- gtk/gtkimagemenuitem.c | 11 ++ 3 files changed, 12 insertions(+), 152 deletions(-) commit 2728cc9508285bfedec15f11ac96d878b9797dbd Author: Alexander Larsson Date: Sun Apr 10 21:10:07 2011 +0200 [broadway] Remove expensive transparency effects from css gdk/broadway/client.html | 12 +++--------- 1 files changed, 3 insertions(+), 9 deletions(-) commit d6beabbff271910bcfd51b906cbbe84a355a5857 Author: Alexander Larsson Date: Fri Apr 8 15:36:07 2011 +0200 [broadway] Make the toplevel mode a url parameter gdk/broadway/broadway.js | 7 +++++++ gdk/broadway/gdkdisplay-broadway.c | 6 +++++- 2 files changed, 12 insertions(+), 1 deletions(-) commit fe79bbd618bc3c6fa4c9b7d9dc98ff526b1c6091 Author: Alexander Larsson Date: Fri Apr 8 15:17:43 2011 +0200 [broadway] Position non-popup windows ourselves We ignore the initial positions for non-popup windows, instead we place the windows ourselves (or in the useToplevel mode by the WM). gdk/broadway/broadway.js | 19 +++++++++++++++---- gdk/broadway/gdkwindow-broadway.c | 8 -------- 2 files changed, 15 insertions(+), 12 deletions(-) commit e5d8905cd217b73110940a039db3025456e14163 Author: Alexander Larsson Date: Fri Apr 8 15:16:32 2011 +0200 [broadway] Fix up toplevel content visibility in useToplevel mode surfaces.canvas may change if we move to another document, so reupdate the element to show after ensureSurfaceInDocument. gdk/broadway/broadway.js | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit fadaced85ff9a2aceb9b315b4a000a22c81e8f81 Author: Alexander Larsson Date: Fri Apr 8 15:00:51 2011 +0200 [broadway] Move window to top when moving gdk/broadway/broadway.js | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 44 insertions(+), 2 deletions(-) commit 618dc872b048804ba4214035a6c4777851a50865 Author: Alexander Larsson Date: Fri Apr 8 11:45:51 2011 +0200 [broadway] Add some initial work for in-window frames The css is based on work by Jasper St Pierre: http://magcius.mecheye.net/vista/ gdk/broadway/broadway.js | 155 ++++++++++++++++++++++++++++++++++++++++------ gdk/broadway/client.html | 60 ++++++++++++++++++ 2 files changed, 196 insertions(+), 19 deletions(-) commit 69eafcc3c5a86bd1bcfdfbf9b5e6ba2be657f2ab Author: Alexander Larsson Date: Fri Apr 8 11:45:16 2011 +0200 [broadway] Fix some typos in the js code gdk/broadway/broadway.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 930e43c710ec71b5f1baff73daa77f7900306b4b Author: Alexander Larsson Date: Fri Apr 8 08:56:35 2011 +0200 [broadway] Use the right doctype for html5 gdk/broadway/client.html | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit d2303bafaea9dce5865a1764ce3bbaf04c523a9c Author: Tristan Van Berkom Date: Sat Apr 9 01:55:50 2011 +0900 Fix some crashes caused by unimplemented functions in GdkOffscreenWindow These crashes happen when accessing GtkWindow properties and the GdkWindow is an offscreen (fixes https://bugzilla.gnome.org/show_bug.cgi?id=647244) gdk/gdkoffscreenwindow.c | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) commit fbf1093d5c169ed947be689fcbf72b3c35732b5a Author: Matthias Clasen Date: Fri Apr 8 21:34:25 2011 -0400 Free the translate queue when closing a display Not that many people are ever going to hit this. https://bugzilla.gnome.org/show_bug.cgi?id=645236 gdk/x11/gdkdisplay-x11.c | 3 +++ gdk/x11/gdkgeometry-x11.c | 13 +++++++++++++ gdk/x11/gdkprivate-x11.h | 2 ++ 3 files changed, 18 insertions(+), 0 deletions(-) commit 9e6d3d969cd314093e161a3c1feba1612ed403bc Author: Matthias Clasen Date: Fri Apr 8 21:20:26 2011 -0400 Fix some possible crashes if the default display is NULL Unlikely that many people will hit these, but still. https://bugzilla.gnome.org/show_bug.cgi?id=645176 gdk/gdkdisplay.c | 3 ++- gdk/gdkevents.c | 6 +++++- gdk/x11/gdkdisplaymanager-x11.c | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) commit 32358a58f4a5da12a5b04faad7c02b634079d7b2 Author: Matthias Clasen Date: Fri Apr 8 20:46:57 2011 -0400 Avoid a warning out of the print dialog Reported in https://bugzilla.gnome.org/show_bug.cgi?id=647152 gtk/gtkprintunixdialog.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 6261b8434f802ddedc1748560306debb6ff66467 Author: Cosimo Cecchi Date: Thu Apr 7 15:22:18 2011 -0400 themingengine: don't set a line width before saving the cairo context https://bugzilla.gnome.org/show_bug.cgi?id=647086 gtk/gtkthemingengine.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 35479be43ed4fdf057075210fef171f5d21cd728 Author: Cosimo Cecchi Date: Thu Apr 7 15:21:51 2011 -0400 separator: call gtk_style_context_restore() after drawing https://bugzilla.gnome.org/show_bug.cgi?id=647086 gtk/gtkseparator.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit b52394adca51300d30c449c85014800d2a5b13f1 Author: Cosimo Cecchi Date: Thu Apr 7 15:21:32 2011 -0400 calendar: make sure to call gtk_style_context_restore() https://bugzilla.gnome.org/show_bug.cgi?id=647086 gtk/gtkcalendar.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit c4e17bb148d34088f3dc3039f3fb38a563df218e Author: Paolo Borelli Date: Wed Apr 6 06:18:18 2011 +0200 Do not leak list when drawing notebook. When we construct the list in the other order we must free it. https://bugzilla.gnome.org/show_bug.cgi?id=646886 gtk/gtknotebook.c | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) commit db74a6e81626730b91e49ae855270e616d7c6f5d Author: Carlos Garnacho Date: Fri Apr 8 16:23:39 2011 +0200 GdkDevice: Remove duplicate private function _gdk_device_get_axis_use() dates back to pre-sealing, when the xi2 work began, this remaining can be gone with a public gdk_device_get_axis_use() function already in place. gdk/gdkdevice.c | 10 ---------- gdk/gdkdeviceprivate.h | 3 --- gdk/win32/gdkdevice-wintab.c | 2 +- gdk/x11/gdkdevice-xi.c | 2 +- gdk/x11/gdkdevice-xi2.c | 2 +- gdk/x11/gdkdevicemanager-xi2.c | 2 +- 6 files changed, 4 insertions(+), 17 deletions(-) commit 955f01cdf7ae1be4f19d7091a855c628470bbcc6 Author: Alexander Larsson Date: Thu Apr 7 21:16:36 2011 +0200 [broadway] Enable useToplevelWindow by default for now gdk/broadway/broadway.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 7128087cb412b2f7890fd468f74c44d710e7fc6c Author: Alexander Larsson Date: Thu Apr 7 20:21:22 2011 +0200 [broadway] Implement selections gdk/broadway/gdkselection-broadway.c | 142 +++++++++++++++++++++++++++++++++- 1 files changed, 141 insertions(+), 1 deletions(-) commit cad40b24e26720e961f8e7681a8c2e89000d842e Author: Alexander Larsson Date: Thu Apr 7 20:20:51 2011 +0200 [broadway] Remove unused hashtables gdk/broadway/gdkdisplay-broadway.c | 4 ---- gdk/broadway/gdkdisplay-broadway.h | 5 ----- 2 files changed, 0 insertions(+), 9 deletions(-) commit 9db4accf9c30e29979e3e012f0a8b3ef624bb690 Author: Alexander Larsson Date: Thu Apr 7 20:19:30 2011 +0200 Make gtkclipboard.c:clipboard_get_timestamp multi-backend safe We can't just check for the backend defines, we have to do runtime checks too. gtk/gtkclipboard.c | 31 ++++++++++++++++++++++++++++--- 1 files changed, 28 insertions(+), 3 deletions(-) commit d12a9a5e990631053a39dd417aab21be3a6ff1cf Author: Alexander Larsson Date: Thu Apr 7 20:18:13 2011 +0200 [broadway] Add gdk_broadway_display_get_last_seen_time gdk/broadway/gdkbroadwaywindow.h | 2 ++ gdk/broadway/gdkwindow-broadway.c | 10 ++++++++++ 2 files changed, 12 insertions(+), 0 deletions(-) commit 42cbed675999a0e345941c8fc69c5f8afff5807d Author: Alexander Larsson Date: Thu Apr 7 20:04:48 2011 +0200 [broadway] Fix up header guards to not refer to gdkx.h gdk/broadway/gdkbroadwaycursor.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit f0e1115f80bee576a0efbbd56238c72c5f4cc536 Author: Alexander Larsson Date: Thu Apr 7 19:25:16 2011 +0200 [broadway] Add gdkbroadway.h public header gdk/broadway/Makefile.am | 11 ++++++++++- gdk/broadway/gdkbroadway.h | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletions(-) commit 095ccf9c11bc91b6a850bafd9cb94bb074218075 Author: Alexander Larsson Date: Thu Apr 7 19:12:51 2011 +0200 [broadway] Serialize event times Event times come from the browser and may change weirdly when we reconnect with another browser, so we normalize these to be strictly increasing and with a 5 second gap for each reconnect. gdk/broadway/gdkdevice-broadway.c | 2 +- gdk/broadway/gdkdisplay-broadway.c | 23 ++++++++++++++++++++++- gdk/broadway/gdkdisplay-broadway.h | 6 +----- gdk/broadway/gdkeventsource.c | 2 -- 4 files changed, 24 insertions(+), 9 deletions(-) commit 9d974ca13aa92901fc18d5da0b14a656e409dc77 Author: Alexander Larsson Date: Thu Apr 7 15:26:37 2011 +0200 [broadway] Fix typo in implicit grab support We do an implicit grab if there is no grab already, not only if there is one. gdk/broadway/broadway.js | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit dd07f534f4af26864a76fc15484564a344e42184 Author: Alexander Larsson Date: Thu Apr 7 15:10:39 2011 +0200 [broadway] Handle screen size Without this menu placement doesn't work right gdk/broadway/broadway.js | 20 ++++++++++++++++++-- gdk/broadway/gdkdisplay-broadway.c | 6 ++++++ gdk/broadway/gdkdisplay-broadway.h | 7 +++++++ gdk/broadway/gdkeventsource.c | 11 +++++++++++ gdk/broadway/gdkprivate-broadway.h | 2 ++ gdk/broadway/gdkscreen-broadway.c | 17 +++++++++++++++++ 6 files changed, 61 insertions(+), 2 deletions(-) commit 8c20b476df6b3f624c33ea2ac0751fb4f6da7e12 Author: Alexander Larsson Date: Thu Apr 7 14:36:30 2011 +0200 [broadway] Track and report last and future state This fixes the drawing area demo in gtk-demo gdk/broadway/gdkdevice-broadway.c | 7 ++++--- gdk/broadway/gdkdisplay-broadway.c | 1 + gdk/broadway/gdkdisplay-broadway.h | 2 ++ gdk/broadway/gdkeventsource.c | 5 +++++ 4 files changed, 12 insertions(+), 3 deletions(-) commit 1a7b76d49d81b9497bfd480de1f7e2681bcb8906 Author: Alexander Larsson Date: Thu Apr 7 14:29:26 2011 +0200 [broadway] Report mouse pointer coordinates right The windows argument to device_query_state can be a client side window, but we must only handle the "native" part of it (i.e. window->impl->wrapper). gdk/broadway/gdkdevice-broadway.c | 24 ++++++++++++++---------- 1 files changed, 14 insertions(+), 10 deletions(-) commit 43aac66458d45d4aea59ddb652b3a7e60f5487a0 Author: Alexander Larsson Date: Wed Apr 6 22:23:35 2011 +0200 [broadway] Fix all unnecessary warnings gdk/broadway/broadway.c | 2 ++ gdk/broadway/gdkdisplay-broadway.c | 3 +++ gdk/broadway/gdkeventsource.c | 3 --- gdk/broadway/gdkscreen-broadway.c | 4 ---- gdk/broadway/gdkwindow-broadway.c | 15 --------------- 5 files changed, 5 insertions(+), 22 deletions(-) commit 3b1fe05e78c319c236060ba4e0572c2f21267b5f Author: Alexander Larsson Date: Wed Apr 6 22:13:18 2011 +0200 [broadway] Wire up the delete event gdk/broadway/broadway.js | 13 +++++++++++++ gdk/broadway/gdkdisplay-broadway.c | 5 ++++- gdk/broadway/gdkdisplay-broadway.h | 6 ++++++ gdk/broadway/gdkeventsource.c | 12 ++++++++++++ 4 files changed, 35 insertions(+), 1 deletions(-) commit 06fc6e007e350a55d54b7a3423e81e6d4cf453ea Author: Alexander Larsson Date: Wed Apr 6 16:51:31 2011 +0200 [broadway] Report right root coors in toplevel mode gdk/broadway/broadway.js | 31 ++++++++++++------------------- 1 files changed, 12 insertions(+), 19 deletions(-) commit adc05ae6b7e369d31a052e373b1f08a1928a86bc Author: Alexander Larsson Date: Wed Apr 6 16:39:07 2011 +0200 [broadway] Add configure event for browser-side geometry changes Atm this only works for the useToplevelWindows case, but we can add a browser wm to make use of it inside the browser too. gdk/broadway/broadway.js | 133 ++++++++++++++++++++++++++++++------ gdk/broadway/gdkdisplay-broadway.c | 13 ++++ gdk/broadway/gdkdisplay-broadway.h | 10 +++ gdk/broadway/gdkeventsource.c | 24 +++++++ gdk/broadway/gdkprivate-broadway.h | 1 + gdk/broadway/gdkwindow-broadway.c | 9 ++- 6 files changed, 166 insertions(+), 24 deletions(-) commit 1365e93fadba762079257a37f3c829339275e563 Author: Alexander Larsson Date: Wed Apr 6 11:40:40 2011 +0200 [broadway] Add experimental toplevel window mode This mode makes each toplevel window get its own browser window, with popup windows using the browser window of their transient parent. Its not idea, as you can't get rid of all browser chrome by default, and it means popups (like menus) can't extend outside the toplevels. But, it is kinda cool. gdk/broadway/broadway.js | 149 +++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 142 insertions(+), 7 deletions(-) commit 8831efa7353859f34edcf12bce7bfdd323da5754 Author: Alexander Larsson Date: Wed Apr 6 11:00:32 2011 +0200 [broadway] Fixup ungrab reference to old time variable gdk/broadway/broadway.js | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-) commit 05bda376f6496494d36f569e40ef4bf304b05a98 Author: Alexander Larsson Date: Wed Apr 6 10:03:42 2011 +0200 [broadway] Break out document setup into its own function In the future we might have more documents (one per toplevel browser window). gdk/broadway/broadway.js | 35 ++++++++++++++++++++--------------- 1 files changed, 20 insertions(+), 15 deletions(-) commit 06ad0f52e2ca38a82973f49e9605b9c4005818ef Author: Alexander Larsson Date: Wed Apr 6 10:01:53 2011 +0200 [broadway] Remove unused grab.time on browser side gdk/broadway/broadway.js | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) commit f53771cc1d48cf46813c4e4c63bb780e14d1b6a2 Author: Alexander Larsson Date: Wed Apr 6 09:57:31 2011 +0200 [broadway] Break out all command handling to separate functions We don't want to mix up the argument parsing with the actual implementation. gdk/broadway/broadway.js | 174 ++++++++++++++++++++++++++++------------------ 1 files changed, 107 insertions(+), 67 deletions(-) commit 7c20d594118bfadc33db64549243f0fb59b1703e Author: Alexander Larsson Date: Wed Apr 6 09:46:49 2011 +0200 [broadway] Make the surface object a plain js object, not the context gdk/broadway/broadway.js | 37 ++++++++++++++++++++----------------- 1 files changed, 20 insertions(+), 17 deletions(-) commit 9f848aaf3068dc7a93198909cba3e3b4c5110c0d Author: Alexander Larsson Date: Wed Apr 6 09:32:15 2011 +0200 [broadway] Centralize surface creation code in js gdk/broadway/broadway.js | 13 ++++++------- 1 files changed, 6 insertions(+), 7 deletions(-) commit 199cd1548fb385b592e8ff750918a3624e54e74d Author: Alexander Larsson Date: Tue Apr 5 12:27:43 2011 +0200 [broadway] Track window type in browser gdk/broadway/broadway-demo.c | 2 +- gdk/broadway/broadway.c | 9 +++++---- gdk/broadway/broadway.h | 3 ++- gdk/broadway/broadway.js | 7 +++++-- gdk/broadway/gdkwindow-broadway.c | 6 ++++-- 5 files changed, 17 insertions(+), 10 deletions(-) commit 9c5c4223e3ee671ff7c76d632ab877095e33fd81 Author: Alexander Larsson Date: Tue Apr 5 12:02:46 2011 +0200 [broadway] Track transient_for gdk/broadway/broadway.c | 19 +++++++++++++++++++ gdk/broadway/broadway.h | 3 +++ gdk/broadway/broadway.js | 8 ++++++++ gdk/broadway/gdkwindow-broadway.c | 22 ++++++++++++++++++++++ gdk/broadway/gdkwindow-broadway.h | 2 ++ 5 files changed, 54 insertions(+), 0 deletions(-) commit e1dcd6735e315db145f9d307f625f5b2470852f4 Author: Alexander Larsson Date: Tue Apr 5 10:52:40 2011 +0200 [broadway] Remove unused query pointer message gdk/broadway/broadway.c | 18 ------------------ gdk/broadway/broadway.h | 2 -- gdk/broadway/broadway.js | 9 --------- gdk/broadway/gdkdisplay-broadway.c | 12 ------------ gdk/broadway/gdkdisplay-broadway.h | 10 ---------- 5 files changed, 0 insertions(+), 51 deletions(-) commit 5b645357d6cb50f1a4ff36f39749d5256c9bf87f Author: Alexander Larsson Date: Tue Apr 5 10:45:51 2011 +0200 [broadway] Don't roundtrip for getting current pointer location Roundtrips are bad, and this gets called a lot, so we use all currently availible future info to "emulate" a full roundtrip, but with much lower cost. gdk/broadway/gdkdevice-broadway.c | 46 +++++++++++++++--------------------- 1 files changed, 19 insertions(+), 27 deletions(-) commit a0048d5e70c599a77d9f228f8254d721da448aa9 Author: Alexander Larsson Date: Tue Apr 5 10:44:53 2011 +0200 [broadway] Add _gdk_broadway_display_consume_all_input This parses and queues all currently availible input data non-blockingly. Useful to ensure the latest up-to-date future info. gdk/broadway/gdkdisplay-broadway.c | 15 +++++++++++++++ gdk/broadway/gdkprivate-broadway.h | 1 + 2 files changed, 16 insertions(+), 0 deletions(-) commit fdc2059edb50cf39338a81d96f03a258cd840b23 Author: Alexander Larsson Date: Tue Apr 5 10:43:52 2011 +0200 [broadway] Track future pointer events locations during parsing We want this info so that we can avoid roundtrips and still get a somewhat better querying for pointer locations. gdk/broadway/gdkdisplay-broadway.c | 12 ++++++++++++ gdk/broadway/gdkdisplay-broadway.h | 5 +++++ 2 files changed, 17 insertions(+), 0 deletions(-) commit 1fa952fb041ca57e3c462a025e93d16c05dac175 Author: Alexander Larsson Date: Tue Apr 5 10:43:04 2011 +0200 [broadway] Add helper for processing input at idle gdk/broadway/gdkdisplay-broadway.c | 20 +++++++++++--------- gdk/broadway/gdkdisplay-broadway.h | 1 + 2 files changed, 12 insertions(+), 9 deletions(-) commit e113cf26fba455f87ac5c2ab60fa2e39b3e4ddc9 Author: Alexander Larsson Date: Tue Apr 5 10:03:14 2011 +0200 [broadway] Keep track of current real cursor window (sans grabs) We need this to be able to do a non-roundtripping get-window. gdk/broadway/broadway.js | 20 ++++++++++---------- gdk/broadway/gdkdisplay-broadway.c | 4 +++- gdk/broadway/gdkdisplay-broadway.h | 4 +++- gdk/broadway/gdkeventsource.c | 20 +++++++++++++++----- 4 files changed, 31 insertions(+), 17 deletions(-) commit ee1657d88ec911582d137205d0457f890a3943d0 Author: Alexander Larsson Date: Fri Apr 1 17:07:17 2011 +0200 [broadway] Break out _gdk_broadway_display_read_all_input_nonblocking This is useful in other places, like when we want to iterate over all messages recieved so far. gdk/broadway/gdkdisplay-broadway.c | 39 +++++++++++++++++++++++++---------- 1 files changed, 28 insertions(+), 11 deletions(-) commit d664e78c943ca4eaac3bd73fba3dc9dac454da4e Author: Alexander Larsson Date: Fri Apr 1 16:29:03 2011 +0200 [broadway] Make pointer grabs not roundtrip Since we're really only initializing grabs (except for implicit grabs at least) from the client side we might as well do all the grab time checks on the client side to avoid unnecassary roundtrips. gdk/broadway/broadway.c | 18 +++-------- gdk/broadway/broadway.h | 8 ++--- gdk/broadway/broadway.js | 17 +---------- gdk/broadway/gdkdevice-broadway.c | 58 +++++++++++++++++++++++------------ gdk/broadway/gdkdisplay-broadway.c | 6 ++++ gdk/broadway/gdkdisplay-broadway.h | 5 +++ 6 files changed, 58 insertions(+), 54 deletions(-) commit 56d05e093d5723bbed7c7842de5947f4d23e3b1c Author: Alexander Larsson Date: Fri Apr 1 15:46:01 2011 +0200 [broadway] Save last event time seen gdk/broadway/gdkdisplay-broadway.h | 2 ++ gdk/broadway/gdkeventsource.c | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) commit 8aad17592e957af068a70dfb2553303adecdf24a Author: Alexander Larsson Date: Fri Apr 1 15:08:28 2011 +0200 [broadway] Parse broadway input messages earlier We now parse the broadway messages as soon as they are read from the wire. This will let us sanely do lookahead in the message queue later. gdk/broadway/broadway.js | 39 +++++--- gdk/broadway/gdkdevice-broadway.c | 53 ++-------- gdk/broadway/gdkdisplay-broadway.c | 108 ++++++++++++++++++-- gdk/broadway/gdkdisplay-broadway.h | 61 +++++++++++ gdk/broadway/gdkeventsource.c | 200 ++++++++++++------------------------ gdk/broadway/gdkprivate-broadway.h | 10 +- 6 files changed, 264 insertions(+), 207 deletions(-) commit e32728fb5cc26931088584b09b44dd407e961a22 Author: Matthias Clasen Date: Wed Apr 6 00:56:37 2011 -0400 GtkColorButton: Don't leak references https://bugzilla.gnome.org/show_bug.cgi?id=646815 gtk/gtkcolorbutton.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) commit cd68eaa73a9a86aa272ec746e7e28d0d90814b97 Author: Petr Kovar Date: Wed Apr 6 03:43:06 2011 +0200 Update Czech translation po-properties/cs.po | 4871 ++++++++++++++++++++++++++------------------------- 1 files changed, 2490 insertions(+), 2381 deletions(-) commit bfffe34c17811da02cf369ef5bf1983b17334696 Author: Jordi Serratosa Date: Mon Apr 4 21:29:22 2011 +0200 [l10n]Fixes on Catalan translation po-properties/ca.po | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) commit 07658000351e29c794f11a40035bba7b182a637d Author: Jordi Serratosa Date: Mon Apr 4 21:20:32 2011 +0200 [l10n]Fixes on Catalan translation po/ca.po | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) commit d4021d7a1b88d8c649029285ee8f0968d8992243 Author: Tristan Van Berkom Date: Mon Apr 4 13:58:05 2011 +0900 Fixed bug in GtkSizeRequest code where the cache is not reset properly Fixes this bug https://bugzilla.gnome.org/show_bug.cgi?id=646500 gtk/gtksizerequest.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit f6499818b501afb0ee0fd48a74248947abc7d32d Author: Rodolfo Ribeiro Gomes Date: Mon Apr 4 11:11:26 2011 -0300 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 406 ++++++++++++++++++++++++------------------------ 1 files changed, 205 insertions(+), 201 deletions(-) commit c2cdd94cd213a2290c61a057c075c557dcde450a Author: Chao-Hsiung Liao Date: Mon Apr 4 20:27:38 2011 +0800 Updated Traditional Chinese translation (Hong Kong and Taiwan) po-properties/zh_HK.po | 1719 +++++++++++++++++++++++++----------------------- po-properties/zh_TW.po | 1719 +++++++++++++++++++++++++----------------------- po/zh_HK.po | 779 +++++++++++++--------- po/zh_TW.po | 779 +++++++++++++--------- 4 files changed, 2680 insertions(+), 2316 deletions(-) commit 1a06c2974bea539779cf86bc4fbb159485c5f4cf Author: Jamil Ahmed Date: Mon Apr 4 16:40:12 2011 +0600 Updated Bengali translation po/bn.po | 2147 +++++++++++++++++++++++++++++++++++--------------------------- 1 files changed, 1217 insertions(+), 930 deletions(-) commit 059df291cfae742c15b5b34edff95a9eca8b3698 Author: Gil Forcada Date: Mon Apr 4 01:07:15 2011 +0200 [l10n]Updated Catalan translation po-properties/ca.po | 4662 ++++++++++++++++++++++++++++----------------------- 1 files changed, 2592 insertions(+), 2070 deletions(-) commit d46f0db38bf811d404b122784445efec221b37b6 Author: Matthias Clasen Date: Sun Apr 3 17:40:37 2011 -0400