[gtk+] (347 commits) Created branch gtk-style-context



The branch 'gtk-style-context' was created.

Summary of new commits:

  779b291... Add GTK_STATE_LAST to mark the end of GtkState enum.
  267e74a... Add GtkStyleSet, a store of style properties.
  8beb707... Add GtkStyleProvider, an interface to provide style details
  d51117c... GtkStyleSet: Implement GtkStyleProvider.
  696a258... gtkstyleset.h: Add declaration for gtk_style_set_merge().
  9401ed2... Add GtkStyleContext.
  3ccf0ff... GtkStyleSet: Add style property registration funcs.
  c4f130b... GtkStyleSet: Use property GQuark as store keys.
  b2864a1... GtkStyleSet: Add valist and varargs getters/setters.
  3ec0296... GtkStyleSet: Return default value if value is not set.
  c2127ce... GtkStyleContext: Add methods to query composed style.
  14a4b83... GtkStyleSet: Add method to register font properties.
  1321952... GtkStyleSet: Add method to register border property.
  d404717... GtkStyleContext: Fix typo.
  2aadd36... GtkStateType: Add inconsistent and focused state.
  5959bfb... Add GtkStateFlags.
  9e215fb... GtkWidget: Add gtk_widget_get_style_context().
  63ae2de... GtkStyleContext: Add getters and setter for state.
  610657a... Add GtkWidgetPath.
  f6ce612... GtkWidget: Add gtk_widget_get_path().
  d3815fe... GtkStyleContext: Add gtk_style_context_[gs]et_path()
  7451185... Add GtkThemingEngine.
  c6c209b... GtkThemingEngine: Add module loading capabilities.
  537518c... GtkStyleContext: Relate to a GtkThemingEngine.
  204513b... GtkStyleContext: Add style classes.
  162353f... GtkStyleContext: Add child style classes.
  a565818... GtkWidget: Add widget path to style context.
  6ed6426... GtkThemingEngine: Add accessors to style classes.
  e645aaf... GtkThemingEngine: Add vmethod to render checkboxes.
  c66a387... GtkStyleContext: Add gtk_render_check().
  af99853... GtkThemingEngine: Add vmethod to render radio buttons.
  89ebb91... GtkStyleContext: Add gtk_render_option().
  a267a57... GtkThemingEngine: Add vmethod to render arrows.
  68b04ab... GtkStyleContext: Add gtk_render_arrow().
  0d8625c... GtkThemingEngine: Add vmethod to render backgrounds.
  16ca11f... GtkStyleContext: Add gtk_render_background().
  ed57f6f... GtkThemingEngine: Add vmethod to render frames.
  9b22720... GtkStyleContext: Add gtk_render_frame().
  44a21ee... GtkThemingEngine: Add vmethod to render expanders.
  6016114... GtkStyleContext: Add gtk_render_expander().
  369b3ef... GtkThemingEngine: Add vmethod to render focus indicator.
  5c1c12b... GtkStyleContext: Add gtk_render_focus().
  02c957d... GtkThemingEngine: Add vmethod to render layouts.
  455216e... GtkStyleContext: Add gtk_render_layout().
  9b2bdd3... GtkThemingEngine: Add vmethod to render lines.
  e2dc67c... GtkStyleContext: Add gtk_render_line().
  f387dde... GtkThemingEngine: Add vmethod to render sliders.
  824cd24... GtkStyleContext: Add gtk_render_slider().
  4d97b31... GtkThemingEngine: Add vmethod to render frames with a gap.
  7fd3b05... GtkStyleContext: Add gtk_render_frame_gap().
  4ae1d42... GtkThemingEngine: Add vmethod to render an extension.
  b501744... GtkStyleContext: Add gtk_render_extension().
  745bed2... GtkThemingEngine: Add vmethod to render a handle area.
  f9baf0c... GtkStyleContext: Add gtk_render_handle().
  854331c... GtkStyleContext: Fix typo.
  b8353e6... GtkStyleContext: Fix compiler warning.
  6f5a966... GtkStyleContext: allow late set_path() calls.
  4ffe77f... GtkStyleSet: Make property registration take const GValues.
  846a43f... GtkStyleSet: Add method to lookup property default settings
  53425bc... Add GtkWidgetPath parameter to gtk_style_provider_get_style
  249f764... Added GtkCssProvider.
  e03cc22... GtkStyleProvider: Add defines for most common priorities.
  53bafc3... GtkWidget: Create GtkCssProvider for user modifications.
  9d00662... GtkCssProvider: Add state parsing.
  ca7e1fb... GtkCssProvider: Allow '*' selectors.
  1914201... GtkCssProvider: Allow empty selector.
  d311af4... GtkCssProvider: Fix typo freeing SelectorElements.
  ed1c02a... GtkCssProvider: Add support for child/descendant combinator
  15ba6b8... Move GtkChildClassFlags to gtkenums.h.
  3319225... Refurbish GtkWidgetPath API.
  de419dc... GtkWidgetPath: Add API for named regions.
  61e845f... GtkCssProvider: Parse named regions.
  bed27ce... GtkCssProvider: Add named regions to selector path.
  13446e5... GtkCssProvider: free selector path on parse_rule().
  2469fb2... GtkCssProvider: move to next selector element on match or c
  d374749... GtkCssProvider: fix parsing of consecutive pseudo-classes.
  2d2e136... GtkCssProvider: Compare GtkWidgetPath regions with css.
  a4285ca... GtkStyleContext: Add gtk_style_context_list_child_classes()
  ef09ab9... GtkStyleContext: fix typos in code.
  4a2d7ee... Add region details in gtk_widget_get_path().
  58a58e6... GtkStyle: Use new render methods underneath.
  a8d9945... GtkStyleContext: Fix compiler warning.
  8f044b9... GtkStyleSet: Add gtk_style_set_set_default().
  9adbc30... GtkCssProvider: Set default value if no state pseudo-class 
  fe578a3... GtkNotebook: Set GtkChildClassFlags for tabs.
  fb59dd5... Fix compilation.
  e44d9c7... GtkStyleSet: Remove default value for registered properties
  715a05d... GtkWidget: Generate GtkWidgetPath on set_parent.
  ed47ae6... GtkStyleSet: Register GtkThemingEngine type.
  076ee21... Fix compile warning.
  6f750d0... GtkCssProvider: Make additions to parse_value() less error 
  b8b7585... GtkCssProvider: Parse boolean values.
  2941023... GtkCssProvider: Ensure each scope has its parser config.
  93bc7c4... GtkCssProvider: refactor out selector matching.
  1afbd9c... GtkStyleProvider: Add method to get widget style properties
  2a25057... GtkWidgetPath: Add methods to check topmost widget type.
  5dc6b04... GtkCssProvider: Implement GtkStyleProvider->get_style_prope
  ed46c1f... GtkStyleContext: Add methods to get style property values.
  e8b511f... GtkWidget: Hook up widget style property querying to style 
  ed0a61a... GtkWidget: Do not reset GtkStyleContext per get_style_conte
  8af1166... GtkCssProvider: set scanner->input_name.
  c81314e... GtkCssProvider: Fix compile warning.
  1616864... GtkCssProvider: Plug memory leak.
  da320d4... GtkWidgetPath: Add to gtkalias.
  9268e68... Add GtkSymbolicColor.
  2e3cd9a... GtkStyleSet: Add API to map symbolic colors.
  1ff6db1... GtkSymbolicColor: Add method to resolve to a GdkColor.
  8cb5d01... GtkStyleSet: Optionally take GtkSymbolicColors.
  8a3a1ca... GtkCssProvider: Parse color mappings.
  f3cbaec... GtkCssProvider: Allow symbolic colors when parsing style ru
  8c17940... GtkStyleProvider: Add gtk_style_provider_get_icon_factory()
  1002de1... GtkStyleContext: Add gtk_style_context_lookup_icon_set().
  d70586c... Fix include.
  ebb33be... GtkCssProvider: Add priv pointer to object struct.
  3c6f66e... GtkStyleSet: Add priv pointer to object struct.
  481b914... GtkStyleContext: Add priv pointer to object struct.
  ee35fa4... GtkStyleContext: Add gtk_style_context_[gs]et_screen()
  1a4f62b... GtkWidget: Set screen info in GtkStyleContext.
  70e0d7f... GtkThemingEngine: Add gtk_theming_engine_get_screen().
  3fe319e... GtkStyleContext: Add gtk_style_context_save/restore().
  8d832e0... GtkThemingEngine: Use GdkPangoRenderer when painting layout
  1fa69cb... GtkStyleContext: Don crash on empty class sets.
  d335111... GtkThemingEngine: Take checkbox rendering from GtkStyle.
  00de51a... GtkThemingEngine: Take option rendering from GtkStyle.
  d592fec... GtkThemingEngine: Cairo-ify handle rendering from GtkStyle.
  eedf9f6... GtkThemingEngine: Add cairo-ified rendering primitives.
  493a9e4... GtkThemingEngine: Unify code to render lines.
  86f377f... GtkThemingEngine: Make render_background use drawing primit
  15ebff6... GtkThemingEngine: Cairo-ify extension rendering from GtkSty
  0af2946... GtkThemingEngine: Cairo-ify frame_gap rendering from GtkSty
  530275e... GtkThemingEngine: Cairo-ify frame rendering from GtkStyle.
  37e42bf... GtkThemingEngine: Improve slider rendering.
  3b1af65... GtkCssProvider: Allow '_' in the middle of symbolic color n
  0351427... GtkStyleContext: ensure class lookup return the correct ins
  528629c... GtkStyleContext: Ensure style rebuilds after adding/removin
  02625d7... GtkStyleContext: Add varargs functions for getting widget s
  48d06a0... GtkStyleSet: Allow setting default value when registering p
  cd647ac... GtkThemingEngine: Add methods to retrieve widget style prop
  ba6ff80... GtkThemingEngine: Improve pixel alignment in arrows.
  c8b0cf1... GtkThemingEngine: Improve background rendering.
  fb14cb4... GtkThemingEngine: Render frames and spinbutton boxes proper
  c1c790d... GtkThemingEngine: Rip out expander rendering from old code.
  d70442e... GtkThemingEngine: Rip out focus rendering from old code.
  4956667... GtkThemingEngine: Obey active/selected when rendering text.
  d21122d... GtkThemingEngine: Add code to render GtkFrame frame with ga
  482f947... GtkStyle: Optionally construct above a GtkStyleContext.
  55bf71c... GtkWidget: Construct style for partial widget hierarchies.
  68400b7... GtkWidget: Create GtkStyle on top of GtkStyleContext.
  f2f315e... GtkStyle: Move gtk_render_* calls to default vmethod implem
  58d0d3a... GtkCssProvider: Add gtk_css_provider_get_default().
  3642024... GtkWidget: Add the default CSS provider to all style contex
  264d4bf... GtkStyleContext: Add gtk_style_context_[gs]et_direction().
  041f69e... GtkWidget: Set style context direction.
  eacc317... GtkThemingEngine: Add gtk_theming_engine_get_direction().
  6a713d0... GtkThemingEngine: fix typo in function declaration.
  022e847... GtkStyleSet: Register the "border" property.
  0d50f46... GtkStyleContext: Add gtk_style_context_lookup_color().
  2fee2b0... Add GtkJunctionSides flags.
  23fd13d... GtkStyleContext: Add gtk_style_context_[gs]et_junction_side
  f43a129... GtkThemingEngine: Add gtk_theming_engine_get_junction_sides
  3a6fffc... GtkStyle: set junction details in spinbutton buttons.
  499dc5f... GtkThemingEngine: Render correctly spinbutton buttons.
  0933ba3... GtkWidgetPath: properly use const
  82ffdfb... GtkCssProvider: don't ignore custom attributes
  dbd7953... GtkCssProvider: Small optimization.
  d5ab049... GtkCssProvider: Immediately bail out if GType couldn't be r
  8ee713a... GtkCssProvider: Don't jump too eagerly to the next element 
  045ab72... GtkCssProvider: Parse and compare widget names.
  6ff5b8c... GtkCssProvider: Set child combinators in default CSS.
  57bac27... Compare region names as quarks in style matching.
  59a30bf... GtkWidgetPath: Make API more consistent.
  5f7ed8a... Compare widget names as GQuarks in style matching.
  717de9c... GtkCssProvider: Parse correctly widget types with a name.
  242e0d8... GtkStyleSet: Allow custom parsers on registered properties.
  d6999e4... GtkStyleSet: Fix compiler warning.
  6896986... GtkThemingEngine: Add gtk_theming_engine_register_property(
  cd8ce23... GtkStyleContext: Rename internal struct.
  9e6baf7... s/child class/region/ everywhere.
  330ef04... GtkWidgetPath: Add methods to include class info in paths.
  624f45f... GtkStyleContext: Add gtk_style_context_list_classes().
  dcac664... Set classes info in GtkWidgetPath.
  9348a83... GtkCssProvider: Parse and match class info.
  9989c3b... GtkCssProvider: Use class for tooltips.
  01e780e... GtkStyle: set the active flag depending on shadow_type in d
  98690c9... GtkStyleContext: Return insertion position if not found whe
  4649e1b... Move all theming stack to use GtkStateFlags.
  d04b9f2... Add GtkTimeline as a private object.
  bc242f6... Add GtkAnimationDescription as a private boxed object.
  39e1270... GtkStyleSet: Register the "transition" property.
  c7acba8... GtkCssProvider: Parse properties of type GtkAnimationDescri
  b049ec9... GtkStyleContext: Declare gtk_style_context_list_classes() i
  ec47de8... GtkStyleContext: Add animation machinery.
  9e5e101... GtkWidget: Update GtkStyleContext animation regions on allo
  df03ba5... GtkThemingEngine: Add progress arg to gtk_theming_engine_is
  59b3ed9... GtkThemingEngine: Animate checkboxes activation.
  4325a1e... GtkButton: Notify on active state when (un)depressed
  da5dc02... Plug a bunch of leaks.
  6c81206... GtkCssProvider: Add gtk_css_provider_load_from_path()
  971b7a6... Remove gtkalias from style context code.
  7f9b835... Replace GdkRegion and GdkRectangle with their cairo counter
  b58c5a6... Get rid of GdkPangoRenderer code in GtkThemingEngine.
  2003427... GtkNotebook: invert tab drawing order so region flags are s
  f05be63... GtkStyle: Allow GTK_ARROW_NONE.
  8dab2fc... Add basic parser for GtkBorder properties.
  14ac541... GtkStyleSet: Register "margin" property.
  bb21048... GtkStyle: Fill in x/ythickness and font_desc from the style
  d752bbf... GtkSettings: implement GtkStyleProvider
  ab67855... Add a boxed type for cairo_pattern_t.
  6db3db3... Allow linefeeds in property values.
  891fb93... GtkCssProvider: strip whitespaces in symbolic color values.
  457081a... GtkStyleSet: Set an empty default_value if none is provided
  3153db0... Add GtkGradient.
  5d846e8... GtkCssProvider: Add a parser for gradients.
  47b99e5... GtkStyleSet: Handle GtkGradients as a replacement for cairo
  602ab1c... GtkStyleSet: Register a "background-image" property.
  02490c3... GtkThemingEngine: use background-image in render_background
  5337bc5... GtkStyleSet: Fix typo
  f523be7... GtkStyleContext: Add gtk_style_context_invalidate().
  e173b16... GtkStyle: Protect against padding being NULL
  f68a538... GtkWidget: Add the style-updated signal
  0edb47d... GtkWidget: Add gtk_widget_reset_style().
  d944326... GtkStyleContext: Add gtk_style_context_[add|remove]_provide
  a54cb47... GtkWidget: Set style context's screen before the widget_pat
  511e468... GtkStyleContext: invalidate context when setting the screen
  d82e1e2... Add generic providers per-screen.
  4e104ae... GtkCssProvider: Add gtk_css_provider_get_named()
  4ef5d6e... GtkStyleContext: Add gtk_style_context_reset_widgets()
  22d0be3... GtkSettings: Add a new provider for the theme CSS file.
  6da7733... Add Gtk9Slice
  6b3a649... Register the border-image property
  ac6508d... GtkCssProvider: Add a parser for 9slice typed properties.
  bc53198... GtkThemingEngine: Use border-image to render borders if an 
  846e7a7... GtkCssProvider: unset filename on load_from_data()
  8b937a9... GtkCssProvider: use mapped file to read CSS files.
  e8edbf4... GtkStyleContext: Invalidate whole window if no invalidation
  c823bac... GtkStyleContext: Store animation region for a bunch of pain
  38f0743... GtkSymbolicColor: Use G_DEFINE_BOXED_TYPE
  44b3902... GtkThemingEngine: Implement animations between gradients/co
  59c9385... GtkButton: Notify on prelight state change.
  4bc3a4f... Fix typo in the Gtk9Slice parser.
  3b1480c... Plug some leaks.
  203fe70... GtkThemingEngine: Do not return a const GtkThemingEngine on
  2622bb5... GtkCssProvider: Transform custom colors to a @define-color 
  87527ab... GtkCssProvider: improve file paths parser.
  57a6ef2... GtkCssProvider: no need for resetting the parser prior to p
  7b4d1ba... GtkCssProvider: Add support for @import rules
  f074049... GtkStyleContext: Fix animation framework to work with the n
  a64413a... GtkContainer: Add method to get the GtkWidgetPath for a chi
  f0750b9... GtkStyleContext: Cache style properties accross class/regio
  64e1aa2... GtkWidget: Store GtkStyleContext in private struct.
  7582f6b... Gtk9Slice: Fix stretch case.
  e105727... GtkGradient: Handle symbolic gradients.
  32dda83... Use cairo gobject support instead of a new boxed type.
  675eaf6... Remove GtkOrientation parameter from gtk_render_handle().
  fd3db9f... Add theming docs
  e398983... GtkStyleContext: Actually store region ID when starting an 
  5c45b45... Change semantics of the methods to check whether an animati
  3c56194... GtkCssProvider: Parse missing widget states.
  0c99030... GtkCssProvider: Parse default/sorted region flags.
  6f2cad9... GtkStyleContext: Add gtk_style_context_new().
  2d98a6a... Make loading of theming engines from modules work
  4f97634... GtkCssProvider: Run through the widget path in the correct 
  c4dd703... GtkCssProvider: Make it able to parse enums.
  66de050... GtkStyleContext: Update function declaration in header.
  87f2780... GtkStyleSet: Register the "border-radius" property
  4d51752... GtkThemingEngine: Honor border-radius in render_background(
  a0e234c... GtkStyleContext: s/set/add/ and s/unset/remove/ for classes
  72b5f72... GtkWidgetPath: turn into a boxed type.
  65480f5... GtkStyleContext: '_' prefix the structs, gtk-doc prefers th
  98db08e... GtkStyleSet: Register the border-style and border-color pro
  17f1263... Use GdkRGBA all around in GtkStyleContext.
  698260e... GtkStyle: Match "trough" and "slider" detail strings.
  c9ebbdf... Do not shade alpha values.
  2e4442d... GtkStyle: Handle scrollbar buttons.
  9fc089b... GtkCssProvider: Improve default CSS.
  2c2b446... GtkThemingEngine: Improve rendering of inset/outset borders
  a5307c5... GtkSymbolicColor: Initialize alpha when resolving shades.
  1566289... GtkCssProvider: Allow '\t' when parsing values.
  7bcf09f... GtkCssProvider: Update end string when misparsing symbolic 
  60395d8... GtkStyle: translate active state in paint_flat_box().
  bc0626d... GtkThemingEngine: Clear the background for .background clas
  a3e8130... GtkThemingEngine: render 0-radius frames with 3D-like 45° 
  75abee4... GtkStyle: Get to style GtkCellRendererText text.
  b00e118... GtkCssProvider: Make default style depend more on custom co
  b753310... GtkSymbolicColor: Add gtk_symbolic_color_new_alpha()
  db8e0a3... GtkCssProvider: Parse alpha() symbolic colors.
  4e2f51d... GtkStyleSet: Prevent from possible underflow.
  32aecfc... GtkThemingEngine: Add ::name construct only property
  0cff6f2... GtkThemingEngine: Use ::name when registering style props.
  d160f4e... GtkCssProvider: Fix parsing of concatenated classes.
  e143950... Rely only on fg/bg colors.
  ed516cc... GtkWidget: Ensure name changes involve a style context upda
  a2c6fc2... s/GtkStyleSet/GtkStyleProperties/
  6d54fbd... GtkThemingEngine: Documents that engines must only use this
  2cc1c01... Document missing value in GtkStateFlags
  6a981f5... Implement widget states as a set of flags
  c1b52e9... GtkButton: Set widget state as state flags.
  778e524... GtkComboBox: Set widget state as state flags.
  d86a39c... GtkEntry: Set widget state as state flags.
  caff58b... GtkExpander: Set widget state as state flags.
  ffc3664... GtkMenu: Set widget state as state flags.
  3d18307... GtkMenuItem: Set widget state as state flags.
  601f305... GtkNotebook: Set widget state as state flags.
  a9c8fc8... GtkRadioButton: Set widget state as state flags.
  76b9ab9... GtkToggleButton: Set widget state as state flags.
  3fb63aa... GtkToolItemGroup: Set widget state as state flags.
  32b8405... GtkWidget: Trigger state change transitions on state flags 
  9fdc04a... GtkThemingEngine: draw resize grip through render_handle().
  ade8982... Add gtk_render_activity()
  34dc335... Document gtk_render_* functions.
  0517e66... GtkSymbolicColor: Take const GdkRGBA in new_literal().
  fd041c4... GtkStyleProperties: Merge font descriptions on merge()
  bb7df0a... GtkStyleContext: Fix merging of local and global providers.
  9f2c282... Theming documentation fixes
  d4fd8b0... GtkStyleContext: Add the start of a default set of class na
  e1f8131... GtkStyle: Listen to context changes.
  6e40f07... GtkWidget: Add new set of methods to override style informa
  da85cd1... GtkStatusIcon: update to use gtk_widget_override_symbolic_c
  6289e43... Fix compile warning
  748f365... GtkThemingEngine: Fix compile warning.
  c976346... GtkStyleContext: Add gtk_render_icon_pixbuf()
  b0a5ed4... GtkSymbolicColor: Do not clamp shade/mix/alpha factors.
  b30adf6... GtkSymbolicColor: convert to/from hls when shading.
  ea87542... GtkSymbolicColor: Only require styleproperties when resolvi
  0256dc8... GtkThemingEngine: Do not require a default value when regis
  ad1bcee... GtkThemingEngine: Use GtkSymbolicColor for shades.
  a1d4884... Remove GTK_REGION_DEFAULT
  5fc8de4... GtkStyleContext: Define some more class names.
  3d5886a... GtkStyle: Transform menu accelerators string
  4b23845... GtkStyle: Transform menubar detail string.
  cb28c5c... GtkStyle: transform window background detail string.
  d261a3c... GtkCssProvider: Do not miss the last class name in concaten
  6458a93... GtkStyleContext: restore widget state too in restore().
  3aff954... GtkStyleContext: Fix check for GtkIconSize in render_icon_p
  3da2161... GtkThemingEngine: Get rid of obsolete code for tooltips.
  bf7c50d... GtkThemingEngine: ensure that background isn't rendered pas
  18c0da4... GtkThemingEngine: Use square cap for solid frames.
  fb63c6c... GtkThemingEngine: ensure 1px wide frames aren't painted bet
  2339cf1... GtkCssProvider: theme progressbars in default CSS.
  a94139a... GtkStyle: translate a few more detail strings.
  35a51f9... Add CSS class defines for toolbars and docks.
  05160ce... GtkWidget: Ensure the style context always has an screen.
  3c90a19... GtkWidget: Update pango context from style context's font d
  3014f4c... GtkStyleContext: Add gtk_style_context_set_background().
  1e5f4b4... GtkWindow: Use GtkStyleContext for rendering.
  aff689c... GtkButton: Use GtkStyleContext for rendering.
  2d18e80... GtkThemingEngine: Document missing class vmethods.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]