hildon:gtk.git
8 years agoUpdate Debian changelog for 2.14.7-1maemo34 master 2.14.7-1maemo34
Alberto Garcia [Thu, 5 Aug 2010 13:28:46 +0000 (15:28 +0200)]
Update Debian changelog for 2.14.7-1maemo34

8 years agogtk-update-icon-cache: touch dir to make GTK rescan the icon theme
Alberto Garcia [Thu, 5 Aug 2010 11:40:28 +0000 (13:40 +0200)]
gtk-update-icon-cache: touch dir to make GTK rescan the icon theme

8 years agoScan all icon dirs to detect if the theme was changed
Alberto Garcia [Wed, 4 Aug 2010 11:36:52 +0000 (13:36 +0200)]
Scan all icon dirs to detect if the theme was changed

Fixes: NB#136782 (Task launcher shows standard icon instead of
application icon)

8 years agoCache GtkTreeView::hildon-mode style property earlier
Claudio Saavedra [Mon, 21 Jun 2010 10:39:42 +0000 (13:39 +0300)]
Cache GtkTreeView::hildon-mode style property earlier

hildon_tree_view_set_hildon_ui_mode() depends on this being up to
date, so we need to call it earlier.

Fixes: NB#175659 (One of the account is always highlighted in VoIP and IM accounts selection)

8 years agoUpdate changelog 2.14.7-1maemo33
Alberto Garcia [Tue, 8 Jun 2010 15:30:59 +0000 (17:30 +0200)]
Update changelog

8 years agoUpdate Debian changelog for 2.14.7-1maemo33
Alberto Garcia [Tue, 1 Jun 2010 15:38:28 +0000 (17:38 +0200)]
Update Debian changelog for 2.14.7-1maemo33

8 years agoInitialize priv->hildon_mode using gtk_widget_style_get()
Alberto Garcia [Tue, 25 May 2010 13:24:05 +0000 (15:24 +0200)]
Initialize priv->hildon_mode using gtk_widget_style_get()

Fixes: NB#167197

8 years agoReplace GArray with GSequence
Xavier Claessens [Wed, 28 Apr 2010 13:33:42 +0000 (15:33 +0200)]
Replace GArray with GSequence

Fixes: NB#165639

Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
Signed-off-by: Alberto Garcia <agarcia@igalia.com>
8 years agoRemove redundant initialization
Claudio Saavedra [Fri, 21 May 2010 10:03:58 +0000 (13:03 +0300)]
Remove redundant initialization

This is already in upstream GTK+ but was left over

8 years agoInitialize the cache for the hildon mode
Claudio Saavedra [Wed, 12 May 2010 14:26:28 +0000 (17:26 +0300)]
Initialize the cache for the hildon mode

8 years agoCache the value of "hildon-mode" style property
Xavier Claessens [Wed, 12 May 2010 14:05:39 +0000 (16:05 +0200)]
Cache the value of "hildon-mode" style property

Calling gtk_widget_style_get() too much is killing performances. So this patch
gets the value in style_set() function, and keep it in private struct for direct
access.

Fixes: NB#167197 (GtkTreeView is calling gtk_widget_style_get() too much)

Signed-off-by: Claudio Saavedra <csaavedra@igalia.com>
8 years agoAdd missing GtkTreeViewColumn docs
Claudio Saavedra [Tue, 27 Apr 2010 16:34:26 +0000 (19:34 +0300)]
Add missing GtkTreeViewColumn docs

And minor fixes to these to get them generate right.

8 years agoChanged previous changelog so it can go through PE1 integration. 2.14.7-1maemo32
marcoil [Thu, 1 Apr 2010 10:05:33 +0000 (12:05 +0200)]
Changed previous changelog so it can go through PE1 integration.

8 years agoRelease 2.14.7-1maemo32 to integrate some bugs into PE1.
marcoil [Thu, 1 Apr 2010 09:48:02 +0000 (11:48 +0200)]
Release 2.14.7-1maemo32 to integrate some bugs into PE1.

8 years agoUpdate Debian changelog for 2.14.7-1maemo31 2.14.7-1maemo31
Alberto Garcia [Wed, 31 Mar 2010 14:11:29 +0000 (16:11 +0200)]
Update Debian changelog for 2.14.7-1maemo31

8 years agoThaw all pending window freezes on gtk_window_unmap()
Adam Endrodi [Wed, 31 Mar 2010 07:41:59 +0000 (10:41 +0300)]
Thaw all pending window freezes on gtk_window_unmap()

As a result of monkeytapping, a widget may be unmapped between a
ConfigureRequest and ConfigureNotify.  A ConfigureRequest freezes
updates on a widget, but if it's unmapped before the Notify arrives
it's never thawn again fully.  So do it now.

Fixes: NB#162617, NB#162694

8 years agoRemove redundant code
Claudio Saavedra [Thu, 11 Mar 2010 13:42:51 +0000 (15:42 +0200)]
Remove redundant code

8 years agoUpdate Debian changelog for 2.14.7-1maemo30 2.14.7-1maemo30
Alberto Garcia [Mon, 8 Mar 2010 11:07:43 +0000 (12:07 +0100)]
Update Debian changelog for 2.14.7-1maemo30

8 years agoForce reload of settings in gtk_window_client_event()
Christian Dywan [Mon, 8 Mar 2010 10:26:21 +0000 (11:26 +0100)]
Force reload of settings in gtk_window_client_event()

Fixes: NB#151715

8 years agoUpdate Debian changelog for 2.14.7-1maemo29 2.14.7-1maemo29
Alberto Garcia [Wed, 24 Feb 2010 11:45:33 +0000 (11:45 +0000)]
Update Debian changelog for 2.14.7-1maemo29

8 years agoAuto resize only those buttons added with gtk_dialog_add_button()
Alberto Garcia [Fri, 19 Feb 2010 17:28:38 +0000 (17:28 +0000)]
Auto resize only those buttons added with gtk_dialog_add_button()

Fixes: NB#155084

8 years agoDo not expand GtkDialog's action area in portrait mode
Xavier Claessens [Tue, 16 Feb 2010 20:49:48 +0000 (21:49 +0100)]
Do not expand GtkDialog's action area in portrait mode

Fixes: NB#156896 (Problem with GtkDialog in portrait mode)

8 years agoFall back to XRandR to get the size of the screen
Adam Endrodi [Mon, 15 Feb 2010 11:50:58 +0000 (11:50 +0000)]
Fall back to XRandR to get the size of the screen

Fixes: NB#156830

8 years agodo-overwrite-confirmation on GtkFileChooser is TRUE by default. NB#154810
Thomas Thurman [Fri, 12 Feb 2010 00:05:24 +0000 (19:05 -0500)]
do-overwrite-confirmation on GtkFileChooser is TRUE by default. NB#154810

8 years agoUpdate Debian changelog for 2.14.7-1maemo28 2.14.7-1maemo28
Alberto Garcia [Wed, 3 Feb 2010 13:14:41 +0000 (14:14 +0100)]
Update Debian changelog for 2.14.7-1maemo28

8 years agoImplement GtkMenu::maemo-decorated style property
Alberto Garcia [Wed, 3 Feb 2010 13:12:57 +0000 (14:12 +0100)]
Implement GtkMenu::maemo-decorated style property

Addresses: NB#137235

8 years agoUpdate Debian changelog for 2.14.7-1maemo27 2.14.7-1maemo27
Alberto Garcia [Wed, 3 Feb 2010 11:50:27 +0000 (12:50 +0100)]
Update Debian changelog for 2.14.7-1maemo27

8 years agoMake dialogs request the full width of the screen
Alberto Garcia [Tue, 2 Feb 2010 17:39:30 +0000 (18:39 +0100)]
Make dialogs request the full width of the screen

When a dialog is created, its allocation when the first expose event
is called will be its natural width. Then later a new size allocation
is set and the dialog is drawn again with the full width of the
screen.

If the content of the dialog depends on its width (wrapping labels for
example) then the resizing is visible and is very ugly.

Fixes: NB#155392 (GtkDialog are not made full width)

8 years agoFixes: NB#136782 - Task launcher shows standard icon instead of
Christian Dywan [Wed, 27 Jan 2010 13:26:07 +0000 (14:26 +0100)]
Fixes: NB#136782 - Task launcher shows standard icon instead of
application icon

Reset the last update time when receiving the client message
regardless of when the theme last changed.

8 years agoUpdate Debian changelog for 2.14.7-1maemo26 2.14.7-1maemo26
Christian Dywan [Tue, 26 Jan 2010 13:08:11 +0000 (14:08 +0100)]
Update Debian changelog for 2.14.7-1maemo26

8 years agoGtkTreeView: plug a leaking GtkTreeRowReference
Claudio Saavedra [Fri, 22 Jan 2010 13:46:46 +0000 (15:46 +0200)]
GtkTreeView: plug a leaking GtkTreeRowReference

This is exposed by overshooting in a HildonPannableArea. Leaking
a GtkTreeRowReference also means leaking the whole model, since
the GtkTreeModel reference count is increased for each row
reference.

Fixes: NB#153490 (GtkTreeView increases model's ref_count when used
with a HildonPannableArea)

8 years agoUpdate Debian changelog for 2.14.7-1maemo25 2.14.7-1maemo25
Christian Dywan [Fri, 22 Jan 2010 15:01:22 +0000 (16:01 +0100)]
Update Debian changelog for 2.14.7-1maemo25

8 years agoFixes: NB#132036 - NEON optimizations for libjpeg62 and gdk-pixbuf
Christian Dywan [Tue, 19 Jan 2010 08:10:12 +0000 (09:10 +0100)]
Fixes: NB#132036 - NEON optimizations for libjpeg62 and gdk-pixbuf

Apply NEON specific optimizations to GdkPixbuf and Gdk

8 years agoFixes: NB#152780 - Dialogs to support portrait mode
Christian Dywan [Mon, 18 Jan 2010 14:16:08 +0000 (15:16 +0100)]
Fixes: NB#152780 - Dialogs to support portrait mode

Make GtkDialog listen to screen size changes and repack the
dialog contents as needed. This only applies if the application
listens to rotation events.

8 years agoBack out fix for NB#124551 for now
Christian Dywan [Fri, 22 Jan 2010 14:29:29 +0000 (15:29 +0100)]
Back out fix for NB#124551 for now

8 years agoBack out fix for NB#150732 for now
Christian Dywan [Fri, 22 Jan 2010 14:28:25 +0000 (15:28 +0100)]
Back out fix for NB#150732 for now

8 years agoBump Debian version to 2:2.14.7-1maemo24 2.14.7-1maemo24
Christian Dywan [Wed, 20 Jan 2010 10:41:02 +0000 (11:41 +0100)]
Bump Debian version to 2:2.14.7-1maemo24

8 years agoUpdating Debian changelog for 2:2.14.7-1maemo23
Christian Dywan [Wed, 20 Jan 2010 10:35:00 +0000 (11:35 +0100)]
Updating Debian changelog for 2:2.14.7-1maemo23

8 years agoFixes: NB#116221 - Sharing TIF image with Size Option Large makes
Christian Dywan [Wed, 20 Jan 2010 10:22:29 +0000 (11:22 +0100)]
Fixes: NB#116221 - Sharing TIF image with Size Option Large makes
the image much larger than the original one when shared to OVI or
Flickr.

Implement support for saving of monochrome images in the TIFF
loader. The "bits-per-sample" option is set when loading an
existing image, or can be set when saving an image.

8 years agoCorrect an #ifdef MAEMO_CHANGES regarding update of the dy value
Christian Dywan [Tue, 19 Jan 2010 09:17:16 +0000 (10:17 +0100)]
Correct an #ifdef MAEMO_CHANGES regarding update of the dy value

8 years agoFixes: NB#150732 - Button from hildon treeview action area
Kristian Rietveld [Tue, 19 Jan 2010 09:08:01 +0000 (10:08 +0100)]
Fixes: NB#150732 - Button from hildon treeview action area
disappears if it showed while changing model.

Adjust the allocations and positions of treeview children when the
adjustment changes and do not update the dy value.

8 years agoFixes: NB#116221 - Sharing TIF image with Size Option Large makes
Christian Dywan [Tue, 19 Jan 2010 08:48:53 +0000 (09:48 +0100)]
Fixes: NB#116221 - Sharing TIF image with Size Option Large makes
the image much larger than the original one when shared to OVI or
Flickr.

Implement a "compression" option in the TIFF pixbuf loader.

8 years agoFixes: NB#124551 - rendering effects are seen in the first lines
Kristian Rietveld [Mon, 18 Jan 2010 10:35:14 +0000 (11:35 +0100)]
Fixes: NB#124551 - rendering effects are seen in the first lines
of the SMS view editor

Make text view width /height always cover the whole visible area.

8 years agoFixes: NB#143098 - Right arrow key after doing a select all, places the cursor at...
Michael Natterer [Fri, 15 Jan 2010 11:27:02 +0000 (12:27 +0100)]
Fixes: NB#143098 - Right arrow key after doing a select all, places the cursor at the beginning of the selection rather than the end on textview.

Merged from upstream: when there is a selection, cursor navigation
will move the cursor to the endpoint of the selection in moving
direction.

8 years agoAdd note about ChangeLog being discontinued with git
Michael Natterer [Fri, 15 Jan 2010 10:49:18 +0000 (11:49 +0100)]
Add note about ChangeLog being discontinued with git

8 years agogtk+2.0 (2:2.14.7-1maemo22) unstable; urgency=low
Christian Dywan [Wed, 9 Dec 2009 10:17:45 +0000 (10:17 +0000)]
gtk+2.0 (2:2.14.7-1maemo22) unstable; urgency=low

  * Fixes: NB#130532 - Fonts are getting magnified
  * Fixes: NB#125177 - GtkButton + hildon_gtk_widget_set_theme_size() has
    wrong style when created via GtkBuilder

 -- Christian Dywan <christian@lanedo.com>  Wed, 09 Dec 2009 11:15:53 +0100

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19559 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-12-09 Christian Dywan <christian@lanedo.com>
Christian Dywan [Wed, 9 Dec 2009 10:06:05 +0000 (10:06 +0000)]
2009-12-09  Christian Dywan  <christian@lanedo.com>

Fixes: NB#130532 - Fonts are getting magnified

* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Manually
update the screen size in milimeters.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19558 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-12-03 Christian Dywan <christian@lanedo.com>
Christian Dywan [Thu, 3 Dec 2009 11:24:49 +0000 (11:24 +0000)]
2009-12-03  Christian Dywan  <christian@lanedo.com>

Fixes: NB#125177 - GtkButton + hildon_gtk_widget_set_theme_size() has
wrong style when created via GtkBuilder

* gtk/gtkwidget.c (gtk_widget_buildable_interface_init),
(gtk_widget_buildable_set_name), (gtk_widget_buildable_get_name): Use
object data to store the buildable name.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19545 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agogtk+2.0 (2:2.14.7-1maemo21) unstable; urgency=low
Christian Dywan [Wed, 2 Dec 2009 16:13:34 +0000 (16:13 +0000)]
gtk+2.0 (2:2.14.7-1maemo21) unstable; urgency=low

  * Revert support for the _MAEMO_GTK_FLUSH_ICONS atom.
  * Make gtk-update-icon-cache a no-op, remove the icon cache and remove the
    dpkg file trigger.
  * Fixes: NB#149092 - Remove icon cache

 -- Christian Dywan <christian@lanedo.com>  Tue, 02 Dec 2009 16:34:23 +0100

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19543 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-12-02 Christian Dywan <christian@lanedo.com>
Christian Dywan [Wed, 2 Dec 2009 16:13:28 +0000 (16:13 +0000)]
2009-12-02  Christian Dywan  <christian@lanedo.com>

* gtk/Makefile.am:
* gtk/gtkicontheme.c (_gtk_icon_theme_check_reload):
* gtk/gtkwindow.c (gtk_window_client_event):
* gtk/updateiconcache.c (main): Revert _MAEMO_GTK_FLUSH_ICONS atom support.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19542 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-11-28 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Sat, 28 Nov 2009 19:15:56 +0000 (19:15 +0000)]
2009-11-28  Kristian Rietveld  <kris@lanedo.com>

* gdk/x11/gdkevents-x11.c: Add forgotten MAEMO_CHANGES around
chunks of the last patch (November 5) applied to this file.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19530 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-11-27 Christian Dywan <christian@lanedo.com>
Christian Dywan [Fri, 27 Nov 2009 10:35:00 +0000 (10:35 +0000)]
2009-11-27  Christian Dywan  <christian@lanedo.com>

Fixes: NB#146722 - [Arabic] Contacts doesnt support calls if the number
is in Hindu-Arabic in Rover

* gtk/gtkentry.c (hildon_gtk_input_mode_is_valid_char),
(gtk_entry_filter_text): Convert unicode numbers outside of ASCII to ASCII
and don't regard them as valid.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19526 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agogtk+2.0 (2:2.14.7-1maemo20) unstable; urgency=low
Christian Dywan [Fri, 27 Nov 2009 10:34:46 +0000 (10:34 +0000)]
gtk+2.0 (2:2.14.7-1maemo20) unstable; urgency=low

  * Restore the previous epoch.

 -- Christian Dywan <christian@lanedo.com>  Thu, 26 Nov 2009 14:23:11 +0100

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19525 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agogtk+2.0 (3:2.14.7-1maemo20) unstable; urgency=low
Christian Dywan [Wed, 25 Nov 2009 11:11:11 +0000 (11:11 +0000)]
gtk+2.0 (3:2.14.7-1maemo20) unstable; urgency=low

  * Increase version as well.

 -- Christian Dywan <christian@lanedo.com>  Wed, 25 Nov 2009 12:05:13 +0100

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19518 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agogtk+2.0 (3:2.14.7-1maemo19) unstable; urgency=low
Christian Dywan [Wed, 25 Nov 2009 11:06:37 +0000 (11:06 +0000)]
gtk+2.0 (3:2.14.7-1maemo19) unstable; urgency=low

  * Increase epoch to iron out the versioning.

 -- Christian Dywan <christian@lanedo.com>  Wed, 25 Nov 2009 12:02:45 +0100

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19517 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agogtk+2.0 (2:2.14.7-1maemo19) unstable; urgency=low
Christian Dywan [Fri, 20 Nov 2009 11:39:30 +0000 (11:39 +0000)]
gtk+2.0 (2:2.14.7-1maemo19) unstable; urgency=low

  * Use dpkg file trigger on /usr/share/icons/hicolor for gtk-update-icon-cache.

 -- Christian Dywan <christian@lanedo.com>  Fri, 20 Nov 2009 12:35:17 +0100

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19510 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago* Implement _MAEMO_GTK_FLUSH_ICONS atom and use it in gtk-update-icon-cache.
Christian Dywan [Wed, 18 Nov 2009 12:06:39 +0000 (12:06 +0000)]
* Implement _MAEMO_GTK_FLUSH_ICONS atom and use it in gtk-update-icon-cache.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19507 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-11-18 Christian Dywan <christian@lanedo.com>
Christian Dywan [Wed, 18 Nov 2009 12:06:20 +0000 (12:06 +0000)]
2009-11-18  Christian Dywan  <christian@lanedo.com>

* gtk/Makefile.am:
* gtk/gtkicontheme.c (_gtk_icon_theme_check_reload):
* gtk/gtkwindow.c (gtk_window_client_event):
* gtk/updateiconcache.c (main): Implement _MAEMO_GTK_FLUSH_ICONS atom
and use it in gtk-update-icon-cache to flush the icon cache.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19506 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoUpdate debian/changelog
Christian Dywan [Mon, 16 Nov 2009 12:04:44 +0000 (12:04 +0000)]
Update debian/changelog

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19500 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-11-16 Christian Dywan <christian@lanedo.com>
Christian Dywan [Mon, 16 Nov 2009 12:04:30 +0000 (12:04 +0000)]
2009-11-16  Christian Dywan  <christian@lanedo.com>

Fixes: NB#143062 - Browser, "Save page as" title right-aligned

* gtk/gtkentry.c (gtk_entry_class_init),
(gtk_entry_set_selection_bounds): Restrict the direction flipping to
select-all, by implementing a keybinding signal and using that, and
comparing the selection bounds. So Shift+Arrow works normally.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19499 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoUpdate the package version for a new release
Christian Dywan [Thu, 12 Nov 2009 09:25:51 +0000 (09:25 +0000)]
Update the package version for a new release

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19494 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-11-10 Christian Dywan <christian@lanedo.com>
Christian Dywan [Tue, 10 Nov 2009 13:47:47 +0000 (13:47 +0000)]
2009-11-10  Christian Dywan  <christian@lanedo.com>

Fixes: NB#143062 - Browser, "Save page as" title right-aligned

* gtk/gtkentry.c (gtk_entry_set_selection_bounds): Flip the direction of
the selection so that the leftmost part of text is visible when the text
is too long to fit the entry.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19489 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-11-05 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Thu, 5 Nov 2009 15:13:51 +0000 (15:13 +0000)]
2009-11-05  Michael Natterer  <mitch@lanedo.com>

* debian/changelog: Release 2.14.7-1maemo15

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19487 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-11-05 Christian Dywan <christian@lanedo.com>
Christian Dywan [Thu, 5 Nov 2009 14:26:12 +0000 (14:26 +0000)]
2009-11-05  Christian Dywan  <christian@lanedo.com>

Fixes: NB#140339 - Unnecessary wake-ups in application due to XAtoms

* gdk/x11/gdkevents-x11.c (_gdk_events_init),
(gdk_event_translate), (check_net_wm_check_window),
(fetch_net_wm_check_window):
* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): Monitor
_MAEMO_SCREEN_SIZEwhich is an array on the WM window instead of the
separate properties on the root window. Based on a patch by Adam Endroi.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19486 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoRename input mode HILDON_GTK_INPUT_MODE_NO_SCREEN_KB to
Christian Dywan [Mon, 26 Oct 2009 12:03:29 +0000 (12:03 +0000)]
Rename input mode HILDON_GTK_INPUT_MODE_NO_SCREEN_KB to
HILDON_GTK_INPUT_MODE_NO_SCREEN_PLUGINS to better reflect its purpose.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19481 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoReset the pressed state of the button if it is pressed while the screen changes.
Christian Dywan [Mon, 26 Oct 2009 11:30:19 +0000 (11:30 +0000)]
Reset the pressed state of the button if it is pressed while the screen changes.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19480 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoAdd an input mode to disable the fullscreen keyboard.
Christian Dywan [Fri, 23 Oct 2009 08:19:55 +0000 (08:19 +0000)]
Add an input mode to disable the fullscreen keyboard.

Patch by Kristian Rietveld.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19475 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-16 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Fri, 16 Oct 2009 10:36:41 +0000 (10:36 +0000)]
2009-10-16  Michael Natterer  <mitch@lanedo.com>

* debian/changelog: Release 2.14.7-1maemo14

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19452 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-16 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Fri, 16 Oct 2009 10:31:04 +0000 (10:31 +0000)]
2009-10-16  Michael Natterer  <mitch@lanedo.com>

Fixes: NB#136999 - Cannot paste phonenumber to mobile number
field, if number contains space

Apply patch from Christian Dywan:

* gtk/gtkentry.c: when in TELE input mode, don't fail when invalid
characters are pasted, but simply filter them out (so pasting
e.g. "+49 12 / 1234" results in pasting "49121234")

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19451 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-16 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Fri, 16 Oct 2009 10:26:36 +0000 (10:26 +0000)]
2009-10-16  Michael Natterer  <mitch@lanedo.com>

Fixed: NB#120908 - Combo box is not disabled when there are no
words stored in the history of Find toolbar

Apply patch from Kristian Rietveld:

* gtk/gtkcombobox.c: fix combo box sensitivity by calling
update_sensitivity() from two places where it was forgotten.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19450 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-15 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Thu, 15 Oct 2009 14:27:22 +0000 (14:27 +0000)]
2009-10-15  Michael Natterer  <mitch@lanedo.com>

Fixes: NB#137960 - position of CSM is changing while rotating from
portrait mode to landscape mode

Apply patch from Kristian Rietveld:

* gtk/gtkmenu.c (menu_screen_size_changed): simply close menus
instead of repositioning them when the screen is rotated.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19444 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-15 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Thu, 15 Oct 2009 10:59:58 +0000 (10:59 +0000)]
2009-10-15  Kristian Rietveld  <kris@lanedo.com>

Fixes: NB#110430 - Failed assertion in _gtk_rbtree_node_find_offset()

* gtk/gtktreeview.c (ensure_unhighlighted): new function, analogous
to ensure_unprelighted(),
(gtk_tree_view_row_deleted): call ensure_unhighlighted() and
free_queued_actions() just after the call to ensure_unprelighted(),
(gtk_tree_view_rows_reordered): likewise.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19443 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-09 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Fri, 9 Oct 2009 13:48:59 +0000 (13:48 +0000)]
2009-10-09  Michael Natterer  <mitch@lanedo.com>

* debian/changelog: Release 2.14.7-1maemo13

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19428 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-09 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Fri, 9 Oct 2009 13:34:35 +0000 (13:34 +0000)]
2009-10-09  Michael Natterer  <mitch@lanedo.com>

Fixes: NB#131644 - Unable to launch FKB when smileys are copied
and pasted in notes application.

Apply patch from Kristian Rietveld:

* gtk/gtktextbufferserialize.c (serialize_text): in the main
serialization char iteration loop, skip over pixbufs we are unable
to retreive; additionally, if we still can't forward the iter,
break out of the loop instead of looping infinitely.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19427 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-10-09 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Fri, 9 Oct 2009 13:15:55 +0000 (13:15 +0000)]
2009-10-09  Michael Natterer  <mitch@lanedo.com>

Fixes: NB#128756 - sliders in profiles, responding for up/down
arrow keys, though focus not visible

* gtk/gtkscale.c (gtk_scale_init): unset the GTK_CAN_FOCUS flag
on all scale widgets.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19426 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoRelease 2.14.7-1maemo12 for real
Claudio Saavedra [Fri, 18 Sep 2009 13:20:37 +0000 (13:20 +0000)]
Release 2.14.7-1maemo12 for real

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19374 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-18 Claudio Saavedra <csaavedra@igalia.com>
Claudio Saavedra [Fri, 18 Sep 2009 13:19:22 +0000 (13:19 +0000)]
2009-09-18  Claudio Saavedra  <csaavedra@igalia.com>

* gdk/x11/gdkscreen-x11.c: (_gdk_x11_screen_size_changed): Initialize
rwidth and rheight to NULL, to avoid eventual crashes.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19372 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agodebian/changelog: Release 2.14.7-1maemo12
Claudio Saavedra [Fri, 18 Sep 2009 11:17:49 +0000 (11:17 +0000)]
debian/changelog: Release 2.14.7-1maemo12

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19369 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-18 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Fri, 18 Sep 2009 11:07:17 +0000 (11:07 +0000)]
2009-09-18  Kristian Rietveld  <kris@lanedo.com>

Fixes: NB#139504 - GdkScreen needs to respond to size events from
the window manager

* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_size_changed): apply
patch from Gordon Williams to emit size-changed upon changes of
the _MAEMO_SCREEN_WIDTH and HEIGHT properties.

* gdk/x11/gdkevents-x11.c (gdk_event_translate): listen for
property notify of _MAEMO_SCREEN_HEIGHT property here.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19368 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-10 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Fri, 11 Sep 2009 15:08:08 +0000 (15:08 +0000)]
2009-09-10  Alberto Garcia  <agarcia@igalia.com>

* docs/reference/gtk/gtk-sections.txt
* docs/reference/gtk/tmpl/gtkwidget.sgml
* gtk/gtkwidget.c:
Documentation updates.

Fixes: MB#4462 (Hildon API docs: HildonSizeType is not linked or
documented.)

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19346 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoRelease 2.14.7-1maemo11
Claudio Saavedra [Tue, 8 Sep 2009 12:35:33 +0000 (12:35 +0000)]
Release 2.14.7-1maemo11

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19307 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-08 Christian Dywan <christian@lanedo.com>
Kristian Rietveld [Tue, 8 Sep 2009 09:03:00 +0000 (09:03 +0000)]
2009-09-08  Christian Dywan  <christian@lanedo.com>

Fixes: NB#134639 - Image viewer quits for non-jpeg images or saving
fails for jpegs, while saving image larger than 65500x1

* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load), (real_save_jpeg):
Initialize the JPEG error structure early enough.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19306 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-08 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Tue, 8 Sep 2009 08:52:40 +0000 (08:52 +0000)]
2009-09-08  Kristian Rietveld  <kris@lanedo.com>

Fixes: NB#129022 - CSM is not proper while rotating from portrait mode
to landscape mode, viceversa

* gtk/gtkmenu.c: connect to GdkScreen::size-changed and reposition the
menu in the signal handler,
(menu_change_screen): re-connect the signal.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19305 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-07 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Mon, 7 Sep 2009 15:51:29 +0000 (15:51 +0000)]
2009-09-07  Kristian Rietveld  <kris@lanedo.com>

Fixes: NB#137421 - Context menu opening takes too long time

* gtk/gtkwidget.c: set TAP_AND_HOLD_TIMER_COUNTER to 6 from 11.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19302 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-07 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Mon, 7 Sep 2009 08:19:49 +0000 (08:19 +0000)]
2009-09-07  Kristian Rietveld  <kris@lanedo.com>

Fixes: NB#125746 - File manager gets unresponsive after loong tapping
on media server folder

* gtk/gtkwidget.c (gtk_widget_tap_and_hold_timeout): do not call
_gtk_widget_grab_notify().  The code handling the tap-and-hold signal
is responsible for grabbing if necessary.  When a menu is used here,
the menu obviously already takes care of the grabbing.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19298 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoRelease 2:2.14.7-1maemo10
Claudio Saavedra [Mon, 7 Sep 2009 07:24:46 +0000 (07:24 +0000)]
Release 2:2.14.7-1maemo10

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19296 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-09-07 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Mon, 7 Sep 2009 07:10:17 +0000 (07:10 +0000)]
2009-09-07  Kristian Rietveld  <kris@lanedo.com>

Fixes: NB#134994 - placeholder text is cut when panned slowly

* gtk/gtktextview.c (gtk_text_view_style_set): immediately re-validate
the placeholder layout,
(gtk_text_view_ensure_placeholder_layout): increase the max pixels to
validate to 2000 (that is also used for incremental validations in
timeouts).

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19295 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoAdd missing NB reference
Claudio Saavedra [Tue, 25 Aug 2009 14:28:44 +0000 (14:28 +0000)]
Add missing NB reference

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19203 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agoPrepare 2:2.14.7-1maemo9 for release
Claudio Saavedra [Mon, 24 Aug 2009 14:32:33 +0000 (14:32 +0000)]
Prepare 2:2.14.7-1maemo9 for release

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19190 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-08-24 Kristian Rietveld <kris@lanedo.com>
Kristian Rietveld [Mon, 24 Aug 2009 13:40:14 +0000 (13:40 +0000)]
2009-08-24  Kristian Rietveld  <kris@lanedo.com>

Fixes: NB#134146 - Crash while popping up CSM after device has gone to
sleep

* gtk/gtkwindow.c (gtk_window_client_event): only call
delete_if_temporary if the widget actually is a temporary and mapped.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19185 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years ago2009-08-21 Michael Natterer <mitch@lanedo.com>
Michael Natterer [Fri, 21 Aug 2009 11:09:48 +0000 (11:09 +0000)]
2009-08-21  Michael Natterer  <mitch@lanedo.com>

Fixes: NB#129394 Able to enter the unsupported characters in the
Phone or Mobile field

* gtk/gtkentry.c (hildon_gtk_input_mode_is_valid_char): change
the set of allowed characters to what is specified:
"0 1 2 3 4 5 6 7 8 9 p # * +".

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19173 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

8 years agogtk+2.0 (2:2.14.7-1maemo8) unstable; urgency=low
Sven Herzberg [Fri, 21 Aug 2009 08:21:05 +0000 (08:21 +0000)]
gtk+2.0 (2:2.14.7-1maemo8) unstable; urgency=low

  * Fixes: NB#131431 (gdk_flush in sapwood is causing tearing)
  * Fixes: NB#131815 (gdk_cairo_set_source_pixbuf() needs to be
    optimized)

 -- Sven Herzberg <herzi@lanedo.com>  Fri, 21 Aug 2009 10:17:31 +0200

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19169 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years ago2009-08-20 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Thu, 20 Aug 2009 16:02:06 +0000 (16:02 +0000)]
2009-08-20  Alberto Garcia  <agarcia@igalia.com>

* gdk/gdkcairo.c
(gdk_cairo_set_source_pixbuf, +clear_surface_cache):
Cache the cairo surface created from each GdkPixbuf to avoid
having to repeat the same expensive computation once and again.
Clear cache every ~150 ms.

Fixes: NB#131815 (gdk_cairo_set_source_pixbuf() needs to be
optimized)

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19167 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years ago2009-08-19 Sven Herzberg <herzi@lanedo.com>
Sven Herzberg [Wed, 19 Aug 2009 11:23:56 +0000 (11:23 +0000)]
2009-08-19  Sven Herzberg  <herzi@lanedo.com>

Revert the whole RGBA stuff

* gdk/gdkwindow.c (gdk_window_new),
(gdk_window_begin_paint_region), (gdk_window_end_paint),
(gdk_window_process_all_updates), (gdk_window_process_updates),
(gdk_window_invalidate_maybe_recurse),
(gdk_window_get_update_area), (_gdk_window_clear_update_area):
* gdk/gdkwindow.h:
* gdk/x11/gdkcolor-x11.c (gdk_screen_get_system_colormap):
* gdk/x11/gdkvisual-x11.c (_gdk_visual_init):
* gtk/gtktextview.c (gtk_text_view_realize):
* gtk/gtktreeview.c (gtk_tree_view_realize),
(gtk_tree_view_bin_expose): revert!

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19151 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years ago2009-08-17 Alberto Garcia <agarcia@igalia.com>
Alberto Garcia [Mon, 17 Aug 2009 09:10:38 +0000 (09:10 +0000)]
2009-08-17  Alberto Garcia  <agarcia@igalia.com>

About: NB#131431 (gdk_flush in sapwood is causing tearing)

* gtk/gtktextview.c (gtk_text_view_size_allocate):
Restore original GTK+ code modified after Alejandro's latest patch
using MAEMO_CHANGES guards.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19135 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years ago2009-08-13 Sven Herzberg <herzi@lanedo.com>
Sven Herzberg [Thu, 13 Aug 2009 11:49:08 +0000 (11:49 +0000)]
2009-08-13  Sven Herzberg  <herzi@lanedo.com>

Fixes: NB#132734 (crash reporter crashes with RGBA image)

* gtk/gtktextview.c (gtk_text_view_realize), (text_window_realize):
make the complete widget RGB. This way we won't run into X11 drawing
primitives (like XDrawLine for the cursor) that uses the widget's GC
(with 32bit colormap) on the 16bit windows

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19134 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years ago2009-08-11 Alejandro G. Castro <alex@igalia.com>
Sven Herzberg [Tue, 11 Aug 2009 13:02:15 +0000 (13:02 +0000)]
2009-08-11  Alejandro G. Castro  <alex@igalia.com>

Fixes: NB#131431 (gdk_flush in sapwood is causing tearing)

* gtk/gtktextview.c,
(gtk_text_view_size_allocate): Added a condition to test if the
size is going to be too big during the rendering.

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19119 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years agoupdated debian/changelog
Sven Herzberg [Tue, 11 Aug 2009 09:22:18 +0000 (09:22 +0000)]
updated debian/changelog

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19110 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years ago2009-08-11 Sven Herzberg <herzi@lanedo.com>
Sven Herzberg [Tue, 11 Aug 2009 08:48:59 +0000 (08:48 +0000)]
2009-08-11  Sven Herzberg  <herzi@lanedo.com>

About: NB#129361 - [AF checked] compositing issues with rgba

* gdk/gdkwindow.c (gdk_window_new), (gdk_window_end_paint): revert the
changes, this is going to be solved in a different way

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19109 50eb543b-83fa-0310-9bb7-f7cbbee4ab39

9 years ago2009-08-11 Sven Herzberg <herzi@lanedo.com>
Sven Herzberg [Tue, 11 Aug 2009 08:48:29 +0000 (08:48 +0000)]
2009-08-11  Sven Herzberg  <herzi@lanedo.com>

About: NB#89864 - [AF Checked] RGBA support

* gdk/x11/gdkcolor-x11.c (gdk_screen_get_system_colormap): some more
cleanup (to let the code work like upstream's #if branch

git-svn-id: https://stage.maemo.org/svn/maemo/projects/haf/trunk/gtk+@19108 50eb543b-83fa-0310-9bb7-f7cbbee4ab39