1. 08 Jan, 2016 25 commits
    • Matthias Clasen's avatar
      wayland: Keep the drag window alive longer · f9e504d7
      Matthias Clasen authored
      We destroy the widget that is wrapped around the drag window
      when the object data on the drag context gets cleared. Destroying
      the window before that happens leads to unpleasantries. E.g. we may
      try to access the frame clock, which doesn't exist anymore, and
      things go downhill from there. So, keep the window alive for
      a little longer.
      f9e504d7
    • Matthias Clasen's avatar
      Forgotten file · d3aea5c4
      Matthias Clasen authored
      One was forgotten in the dark -> inverse rename.
      d3aea5c4
    • Matthias Clasen's avatar
      color editor: Set a name on the color sample · 000b5b90
      Matthias Clasen authored
      This can be used to tweak the style from CSS, via #editor-color-sample.
      000b5b90
    • Lapo Calamandrei's avatar
      Adwaita: remove some now uneeded selectors · 91123adb
      Lapo Calamandrei authored
      ...related to image-button sizing which is handled differently now.
      91123adb
    • Lapo Calamandrei's avatar
    • Chun-wei Fan's avatar
      CJK Windows: Silence gtk_style_context_set_state() warnings · d07f00d9
      Chun-wei Fan authored
      We need to update calls to gtk_style_context_set_state() in
      gtkimcontextime.c, so that the state passed into that function would be in
      line with what GtkStyleContext expects, due to updates in the CSS
      machinery, as outlined in this link[1], which is based on information in
      in Matthias' blog[2].
      
      Doing so will silence the gtk_style_context_set_state() warnings, which is
      emitted when a widget uses gtkimcontext on Windows with CJK IME, which will
      in turn call gtkimcontextime.
      
      [1]: http://feaneron.com/2016/01/04/quick-guide-to-port-an-app-for-gtk-3-20/
      [2]: https://blogs.gnome.org/mclasen/2015/11/20/a-gtk-update/
      
      https://bugzilla.gnome.org/show_bug.cgi?id=760314
      d07f00d9
    • Matthias Clasen's avatar
      Revert "Translate GDK_KEY_KP_Decimal according to locale" · 4eb33380
      Matthias Clasen authored
      This reverts commit 7c7fde13.
      
      Too much controversy for this minor improvement.
      See https://bugzilla.gnome.org/show_bug.cgi?id=756751
      4eb33380
    • Matthias Clasen's avatar
      Rename the HighContastInverse css files · d72e061b
      Matthias Clasen authored
      Renaming the files from -dark to -inverse makes it more obvious
      that this is not a dark variant in the sense of the 'prefer-dark'
      setting, but rather a separate theme (sharing the same CSS).
      d72e061b
    • Matthias Clasen's avatar
      Document caret CSS properties · 0dd013d3
      Matthias Clasen authored
      0dd013d3
    • Matthias Clasen's avatar
      Deprecate cursor-color style properties · 9f247e11
      Matthias Clasen authored
      These have been replaced by CSS properties.
      9f247e11
    • Matthias Clasen's avatar
      Use the caret-color properties for drawing carets · 9b86d6da
      Matthias Clasen authored
      Replace the cursor-color and secondary-cursor-color style
      properties with the caret-color and -gtk-secondary-caret-color
      CSS properties.
      
      For the 'auto' value of these properties, we keep the same
      behavior that we used to have when the style properties are
      not explicitly set.
      9b86d6da
    • Matthias Clasen's avatar
      Add the caret-color CSS property · fdba244c
      Matthias Clasen authored
      This property is defined in http://www.w3.org/TR/css3-ui/#caret-color.
      We also add a -gtk-secondary-caret-color property, since GTK+ has
      supported differently colored split cursors in the past. Unlike
      CSS, we don't support the weakly defined auto keyword, and just
      use currentColor as the initial value.
      fdba244c
    • Timm Bäder's avatar
      gtk3-demo: Remove unused GtkCellView · feba0475
      Timm Bäder authored
      feba0475
    • Alberto Ruiz's avatar
      introspection: This patch fixes nullable return values fixes for the following symbols in gtk · 496f0892
      Alberto Ruiz authored
        gtk_accel_group_query
        gtk_accel_group_from_accel_closure
        gtk_accel_label_get_accel_widget
        gtk_accessible_get_widget
        gtk_actionable_get_action_name
        gtk_app_chooser_get_app_info
        gtk_app_chooser_button_get_heading
        gtk_app_chooser_dialog_get_heading
        gtk_application_get_window_by_id
        gtk_assistant_get_nth_page
        gtk_binding_set_find
        gtk_builder_get_object
        gtk_builder_lookup_callback_symbol
        gtk_builder_get_application
        gtk_button_get_image
        gtk_cell_area_get_focus_from_sibling
        gtk_cell_renderer_start_editing
        gtk_cell_view_get_model
        gtk_cell_view_get_displayed_row
        gtk_clipboard_get_owner
        gtk_container_get_focus_child
        gtk_container_get_focus_vadjustment
        gtk_container_get_focus_hadjustment
        gtk_dialog_get_widget_for_response
        gtk_drag_get_source_widget
        gtk_drag_dest_get_target_list
        gtk_drag_source_get_target_list
        gtk_entry_completion_get_model
        gtk_entry_completion_compute_prefix
        gtk_expander_get_label_widget
        gtk_file_chooser_get_filename
        gtk_file_chooser_get_current_folder
        gtk_file_chooser_get_uri
        gtk_file_chooser_get_current_folder_uri
        gtk_file_chooser_get_preview_widget
        gtk_file_chooser_get_preview_file
        gtk_file_chooser_get_preview_filename
        gtk_file_chooser_get_preview_uri
        gtk_file_chooser_get_extra_widget
        gtk_file_chooser_get_filter
        gtk_file_chooser_native_get_accept_label
        gtk_file_chooser_native_get_cancel_label
        gtk_file_filter_get_name
        gtk_font_chooser_get_font_family
        gtk_font_chooser_get_font_face
        gtk_font_chooser_get_font
        gtk_font_chooser_get_font_desc
        gtk_font_chooser_get_font_map
        gtk_frame_get_label
        gtk_gesture_get_device
        gtk_gesture_get_window
        gtk_gl_area_get_error
        gtk_header_bar_get_title
        gtk_header_bar_get_subtitle
        gtk_header_bar_get_custom_title
        gtk_icon_info_get_filename
        gtk_icon_view_get_path_at_pos
        gtk_icon_view_get_model
        gtk_image_get_pixbuf
        gtk_image_get_animation
        gtk_label_get_mnemonic_widget
        gtk_label_get_attributes
        gtk_check_version
        gtk_menu_button_get_popup
        gtk_menu_button_get_menu_model
        gtk_menu_button_get_align_widget
        gtk_menu_button_get_popover
        gtk_menu_item_get_submenu
        gtk_menu_item_get_accel_path
        gtk_native_dialog_get_title
        gtk_native_dialog_get_transient_for
        gtk_notebook_get_nth_page
        gtk_notebook_get_tab_label_text
        gtk_notebook_get_menu_label
        gtk_notebook_get_menu_label_text
        gtk_notebook_get_group_name
        gtk_notebook_get_action_widget
        gtk_offscreen_window_get_surface
        gtk_offscreen_window_get_pixbuf
        gtk_paned_get_child1
        gtk_paned_get_child2
        gtk_places_sidebar_get_location
        gtk_places_sidebar_get_nth_bookmark
        gtk_plug_get_socket_window
        gtk_popover_get_default_widget
        gtk_progress_bar_get_text
        gtk_recent_filter_get_name
        gtk_recent_manager_lookup_item
        gtk_settings_get_default
        gtk_socket_get_plug_window
        gtk_stack_sidebar_get_stack
        gtk_stack_switcher_get_stack
        gtk_style_context_get_section
        gtk_style_context_get_parent
        gtk_style_context_get_frame_clock
        gtk_test_find_widget
        gtk_text_buffer_get_mark
        gtk_text_tag_table_lookup
        gtk_text_view_get_tabs
        gtk_text_view_toggle_cursor_visible
        gtk_text_view_get_window
        gtk_toolbar_get_nth_item
        gtk_tool_button_get_label
        gtk_tool_button_get_icon_name
        gtk_tool_button_get_label_widget
        gtk_tool_button_get_icon_widget
        gtk_tool_palette_get_drop_item
        gtk_tool_palette_get_drop_group
        gtk_tree_model_filter_convert_child_path_to_path
        gtk_tree_model_filter_convert_path_to_child_path
        gtk_tree_model_sort_convert_child_path_to_path
        gtk_tree_model_sort_convert_path_to_child_path
        gtk_tree_view_get_column
        gtk_tree_view_get_bin_window
        gtk_tree_view_column_get_widget
        gtk_tree_view_column_get_tree_view
        gtk_widget_get_frame_clock
        gtk_window_group_get_current_device_grab
        GtkTextBufferSerializeFunc
      496f0892
    • Olivier Fourdan's avatar
      wayland: Update parent of dialogs without transient · 120088b1
      Olivier Fourdan authored
      X11 has the notions of "transient for group", and while it's an ICCCM
      violation, it's commonly used and documented that a window manager
      would treat a window with transient_for set to None to transient for all
      windows of its group.
      
      gtk uses this when an application sets a dialog type window but does not
      specify an explicit transient.
      
      While this works on X11, there is no such thing as groups in Wayland and
      the closest equivalent which is set_parent() in xdg-shell takes only one
      parent. This is what is used for modal dialogs.
      
      To get something similar in behavior to what is available on X11, a
      solution is to update the parent() of the dialogs without transient when
      the active surface changes.
      
      Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759161
      120088b1
    • Olivier Fourdan's avatar
      wayland: prefer subsurface when possible · 28f011eb
      Olivier Fourdan authored
      Quite a few applications use GTK_WINDOW_POPUP to create various
      temporary windows and place then on screen. That works fine on X11 but
      on Wayland there is no global coordinate system for regular surfaces.
      
      If the application is using a gdk temp window and set a parent with
      gtk_window_transient_for(), the gdk wayland backend has all it needs to
      create a subsurface that can be placed at will by the application.
      
      Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759738
      28f011eb
    • Timm Bäder's avatar
      revealer: Propagate draw event · d85b3fc6
      Timm Bäder authored
      d85b3fc6
    • Timm Bäder's avatar
      GtkPopover: Protect against transparent backgrounds · 711ffd64
      Timm Bäder authored
      If the background is transparent, we can't use it for the input shape,
      since that will be empty. Draw a box with rounded corners irectly
      instead, in fully opaque black.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=759905
      711ffd64
    • Ben Gamari's avatar
      gdkwindow-x11: Ensure that extended update counter is freed · fa66b271
      Ben Gamari authored
      I believe this lead to rampant leakage of SyncCounters by
      gnome-terminal.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=760188
      fa66b271
    • Matthias Clasen's avatar
      inspector: Sort themes in the various theme combos · a45b1d1e
      Matthias Clasen authored
      It is nicer if the themes show up in a predictable order,
      so sort them alphabetically.
      a45b1d1e
    • Matthias Clasen's avatar
      ec02f055
    • Matthias Clasen's avatar
      Rename HighContrast-dark to HighContrastInverse · 0e473a5f
      Matthias Clasen authored
      For accessibility purposes, it is better to have this as a
      separate theme than as a dark variant of the HighContrast theme.
      0e473a5f
    • Lapo Calamandrei's avatar
      4925493e
    • Lapo Calamandrei's avatar
      c0275b50
    • Matthias Clasen's avatar
      colorswatch: Fix the overlay · 5b3001b6
      Matthias Clasen authored
      I misunderstood what the overlay is good for: We need to allocate
      it the full size of the widget. since we are using it to render
      a background gradient *over* the application-rendered color.
      
      At the same time, save some 100 lines of code by using an icon
      helper as gadget, instead of handling the icon manually.
      5b3001b6
  2. 07 Jan, 2016 12 commits
  3. 06 Jan, 2016 3 commits