Permalink
Switch branches/tags
Nothing to show
Commits on Dec 7, 2011
  1. win32: don't rely on GTK_IS_H* or GTK_IS_V_* macros

    But use the orientable interface instead. This has already proven
    usefull for GtkVolumeButton widgets (see previous commit) so apply
    the same logic all over the place.
    committed Dec 7, 2011
  2. win32: Fix vertical GtkVolumeButton widget rendering.

    The trough was being rendered horizontal for vertical
    GtkVolumeButton widgets. Not relying on GTK_IS_VSCALE
    but using the orientable interface instead fixes this.
    committed Dec 7, 2011
  3. win32: fix expander rendering for horizontal GtkToolItemGroups

    Expanders are usually drawn as little triangles and unfortunately
    do not support rotated drawing modes. So a hack is applied (see
    gtk_tool_item_group_header_expose_event_cb for details) when
    drawing a GtkToolItemGroup's header for horizontal GtkToolShells,
    forcing the triangle to point in the right direction. Except we
    don't draw expanders as triangles on Windows. Usually, expanders
    are represented as "+" and "-". It sucks for "+" to become "-" and
    the inverse when we don't want to, so reverse the hack here.
    committed Dec 7, 2011
  4. win32: clean up detail checks

    By borrowing the DETAIL macro from clearlooks' clearlooks_style.c
    committed Dec 6, 2011
  5. win32: set msw-button child-displacement-x & y to 0 when XP theme is …

    …active
    
    Active buttons have not had their contents (icon & label)
    displaced ever since uxtheming became available in Windows XP.
    
    We still care about this displacement for classic themes
    though (even on Vista/7 where classic themes are used to
    implement High Contrast support).
    committed Dec 6, 2011
  6. win32: Make all GDK_WINDOW_TEMP always on top

    This makes menus, popups and tooltips show above the windows
    task bar.
    
    Backported from commit 62b505174f16743833467290f49c1ae09c25448e
    on master branch.
    committed Dec 6, 2011
  7. nl.po: fix typo

    committed Nov 8, 2011
  8. [WIP]win32: fix toolbar chevron ux rendering

    CHEVS_HOT and CHEV_PRESSED cause a button border to be drawn around
    the chevron, but the we already have the toolbar button holding the
    chevron resulting in the illusion of "a button within a button".
    
    Only using CHEVS_NORMAL fixes this, at least on Windows XP
    
    TODO: test on Vista and 7!!!
    committed Nov 8, 2011
Commits on Nov 25, 2011
  1. win32: fix $(srcdir) != $(builddir) build

    On MinGW/MSYS, @srcdir@ as used in gdk/win32/rc/Makefile.am expands
    to /path/to/src/gdk/win32/rc/gtk.ico, but windres.exe is not aware
    of POSIX style paths as it is a native Windows binary (ie installed
    in the MinGW prefix, not MSYS).
    committed Sep 16, 2011
  2. win32: Make autogen work

    committed Oct 20, 2011
Commits on Nov 20, 2011
  1. [Bug 664238] GTK apps crash when dragging something

    Corrects a bad condition in a test in fadc82a.
    jralls committed Nov 19, 2011
Commits on Nov 18, 2011
  1. Bug 663856 - Make option-foo accelerators use the right symbol

    If the keyboard group shifting modifier is *also* a normal
    accelerator modifier, we need to special case it when calling
    gdk_keymap_translate_keyboard_state(), so we get the right
    key symbol for accelerators (for example we want Option-O,
    not Option-Ø displayed in menu items). This patch should only
    affect quartz where the Alt key both shifts the group and can
    be used as accel modifier, and not X11 or Win32 where AltGr
    is not used for accelerators.
    
    - fix quartz' gdk_keymap_translate_keyboard_state() to return
      the right consumed_modifiers
    - add _gtk_translate_keyboard_accel_state() which does the
      special casing
    - use it everywhere instead of gdk_keymap_translate_keyboard_state()
    mitchfoo committed Nov 18, 2011
Commits on Nov 16, 2011
  1. notebook: don't leak the action widgets

    The notebook owns them, so it must destroy them in destroy().
    mitchfoo committed Nov 16, 2011
  2. Revert "iconview: layout items immediately when setting a GtkTreeModel"

    It makes GtkIconView segfault on GTK 2.24.
    
    gtk_icon_view_expose() calls gtk_icon_view_layout() first thing if
    there's a layout queued anyway, so we wouldn't end up in the same
    situation causing the crash the original patch is supposed to fix.
    
    This reverts commit 5a03f4a.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663138
    cosimoc committed Nov 16, 2011
Commits on Nov 11, 2011
  1. quartz: fix a race condition when waking up the CGRunLoop

    Wake up the run loop unconditionally (don't check if it is waiting) because
    it might go into waiting state right after we checked for it. Fixes GIMP
    startup (which has a lot of GIOChannel I/O but zero NSEvents) from several
    minutes to a few seconds.
    mitchfoo committed Nov 11, 2011
Commits on Nov 10, 2011
  1. Post release version bump

    alexlarsson committed Nov 10, 2011
  2. Update docs from release

    alexlarsson committed Nov 10, 2011
  3. Update NEWS for release

    alexlarsson committed Nov 10, 2011
Commits on Nov 9, 2011
  1. win32: fix GDK_DEBUG="draw" crasher

    When running with GDK_DUBUG="draw", gdk_win32_draw_rectangle
    calls _gdk_win32_drawable_description, which calls
    gdk_drawable_get_size for a GdkWindowImplWin32.
    
    gdk_drawable_get_size then tries to call
    GDK_DRAWABLE_GET_CLASS (drawable)->get_size, which points
    to NULL for GdkWindowImplWin32.
    
    Adding the missing drawable_class->get_size implementation
    fixes this.
    committed Nov 9, 2011
  2. win32: plug leak when drawing handles

    The cairo context was always created but only ever used
    and destroyed(!) in the second if block (!GTK_IS_PANED (widget))
    so moving around the gdk_cairo_create call would have
    been the obvious fix.
    
    However, said if block is not used at all, so clean
    up draw_handle instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663543
    committed Nov 8, 2011
  3. win32: Let cairo create DIBs for GdkPixmap

    The win32 code for GdkPixmap dib creation workes as such, but
    when creating a cairo surface for it with cairo_win32_surface_create
    from the HDC it fails for any bitmap format than RGB24, due to
    assumptions in cairo.
    
    In order to create a cairo surface for e.g. A1 formats we need
    to let cairo create the surface via cairo_win32_surface_create_with_dib.
    Additionally, we must then make sure to use this surface in
    gdk_drawable_ref_cairo_surface, and to not create a new HDC for
    it but reuse the cairo one (as only one HDC can write to a bitmap).
    
    Even with this fixed there are some issues with current cairo, as
    cairo A1 format isn't quite the same as win32 monochrome bitmaps.
    Fixes for cairo will be submitted.
    alexlarsson committed Nov 9, 2011
  4. Bug 661997 - Gtk crashes when changing the TreeView model while ...

    Simply stopping rubber banding in gtk_tree_view_set_model() eliminates
    the crash.  Reported by Thomas Perl.
    (cherry picked from commit 91ae19768e715f71d7944fc000358dd6bdbe0ea3)
    krietvel committed Nov 9, 2011
Commits on Nov 8, 2011
  1. Bug 663605 - Fix event->state of many event types on quartz

    Don't try to remember the current keyboard modifier and mouse button
    states from the last event, because that isn't always right, and don't
    set event.state = 0 for generated events. Instead, add private functions
    to get the current states, and implement them with API that retrieves
    these states independently from an event.
    mitchfoo committed Nov 8, 2011
  2. Don't use deprecated Pango api

    Matthias Clasen committed Nov 2, 2011
  3. Don't use deprecated Pango api

    Matthias Clasen committed Nov 2, 2011
  4. iconview: layout items immediately when setting a GtkTreeModel

    As the draw handler expects the items to be laid out already, we cannot
    queue a layout here to avoid a race condition with the resize that is
    queued immediately after, which in turn would lead to a segfault later
    in the paint_item() implementation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663138
    cosimoc committed with Matthias Clasen Nov 1, 2011
  5. Print dialog: small keynav improvement

    Mark the page range entry and the copies spin button as
    activates-default.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662670
    Matthias Clasen committed Oct 27, 2011
  6. GtkSearchEngineTracker: port to tracker 0.12

    We simply use the Tracker DBus api here, caching and direct
    access that come with libtracker-sparql are probably not needed
    here. Based on a patch by Martyn Russell.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=658272
    Matthias Clasen committed Nov 8, 2011