summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Update docs for changed optionsMatthias Clasen2018-02-241-60/+40
| | |
| * | Update docs for immodulesMatthias Clasen2018-02-246-158/+0
| | |
| * | Always include platform immodulesMatthias Clasen2018-02-2418-442/+286
| | | | | | | | | | | | | | | No need to load these as gio modules, we just include them in libgtk.
| * | Convert immodules to use an extension pointMatthias Clasen2018-02-2420-1474/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an extension point called gtk-im-module, which requires the type GtkIMContext. Simplify the loading by using GIO infrastructure. Drop the locale filtering for now, I don't think it is really necessary nowadays. Convert existing platform modules to gio modules. Sill to do: Drop the conditional build machinery. Either always include them, or never.
* | | entry: Simplify cursor managementTimm Bäder2018-02-281-49/+4
| |/ |/| | | | | | | Since cursors are per-widget now and the icons are widgets, we can just set the cursors once.
* | build: Error if no backends enabledPatrick Griffis2018-02-271-0/+4
| |
* | gl: Make blur nodes with radius ∈ ]0; 1[Timm Bäder2018-02-271-1/+1
| | | | | | | | | | Otherwise, the radius here ends up being 0 and we don't draw anything at all.
* | gsk: Increase blur node bounds by blur radiusTimm Bäder2018-02-271-0/+3
| | | | | | | | | | Otherwise, the resulting node will be too small and the result looks clipped.
* | tests: Add testblurTimm Bäder2018-02-272-0/+119
| |
* | scale: Remove priv pointerTimm Bäder2018-02-272-51/+45
| |
* | emojichooser: Only measure reference emoji onceTimm Bäder2018-02-271-8/+24
| | | | | | | | | | Doing that once for every emoji is pretty slow and unnecessary as the width does not change.
* | entry: Add motion controllerTimm Bäder2018-02-271-14/+28
| | | | | | | | | | | | Do the mouse cursor un-obscuring in the ::motion handler instead of in the ->event handler. We don't get rid of the GtkWidgetClass::event handler altogether that way, but it's a step in the right direction.
* | spinbutton: Fold function into only callerTimm Bäder2018-02-271-24/+13
| |
* | spinbutton: Remove unused macroTimm Bäder2018-02-271-1/+0
| |
* | checkbutton: Don't reorder non-existent indicator widgetTimm Bäder2018-02-261-0/+3
| |
* | entry: Check gdk_event_get_coords return valueTimm Bäder2018-02-261-2/+3
| | | | | | | | We use the x/y values later on to decide what to do with the event.
* | entry: Allocate icons at full heightTimm Bäder2018-02-261-8/+3
| | | | | | | | | | Makes for a larger hit area for pointing devices. If vertical centering is still desired, GtkWidget:halign can be set on the icon widgets.
* | widget: Simplify set_style_contextTimm Bäder2018-02-261-4/+2
| | | | | | | | | | No need to use widget->priv later if we already define a priv pointer before.
* | button: Remove priv pointerTimm Bäder2018-02-256-68/+62
| | | | | | | | | | This way we can also move the GtkButtonPrivate definition into gtkbutton.c
* | filechooserwidget: Make the location entry hexpandTimm Bäder2018-02-251-0/+1
| |
* | textview: Use content size when validating contentsTimm Bäder2018-02-251-4/+4
| |
* | contentsformat: Avoid a GPtrArrayTimm Bäder2018-02-251-5/+7
| | | | | | | | | | We know how many items this array will have in advance, so just malloc enough.
* | widget: Remove some unneeded prototypesTimm Bäder2018-02-251-6/+0
|/
* Don't mention papi in options docsMatthias Clasen2018-02-241-1/+1
| | | | The papi print backend has been removed.
* Add some debug output to print backend loadingMatthias Clasen2018-02-241-0/+14
|
* README.md: Minor updatesMatthias Clasen2018-02-241-4/+4
|
* widget: Don't export propagate_hierarchy_changedTimm Bäder2018-02-232-4/+4
|
* widget: Simplify _set_nameTimm Bäder2018-02-231-6/+2
| | | | No need for a new_name local variable here.
* button: Remove ::event handlerTimm Bäder2018-02-231-18/+0
| | | | | | GRAB_BROKEN events cause the ::cancel handler of the gesture to be emitted, which is where we also call gtk_button_do_release, so this GtkWidget::event handler is unnecessary.
* widget: Correct translate_coordinate documentationTimm Bäder2018-02-231-1/+1
| | | | | We write 0 to dest_x and dest_y nowadays if the two widgets do not have a common ancestor.
* Update Scottish Gaelic translationGNOME Translation Robot2018-02-231-669/+772
| | | | (cherry picked from commit f3f75f62e8e419b2e8cc6fcd243f12ee7b281e7d)
* Update Scottish Gaelic translationGNOME Translation Robot2018-02-231-1585/+1600
| | | | (cherry picked from commit 68eb897900b6ca8b5173c9d21ea122db7694069c)
* Merge branch 'text-view-measure' into 'master'Timm Bäder2018-02-231-1/+2
|\ | | | | | | | | text-view: make measure() use the layout height See merge request GNOME/gtk!37
| * text-view: make measure() use the layout heightPeter Bloomfield2018-02-211-1/+2
| | | | | | | | | | | | GtkTextView::measure should include the height of the text-layout in its minimum and natural heights. This fixes scrolling when a text-view has a scrolled-window ancestor that is not its immediate parent.
* | vulkan: Don't quiet the compilerBenjamin Otte2018-02-231-1/+29
| | | | | | | | | | | | | | This reverts 76461a8004caf4490f84140b0551d1f5296241f6. We don't want to quiet the compiler here because new warnings should be added to the enum the moment they become available.
* | vulkan: Add error strings for missing VkResultsBenjamin Otte2018-02-231-0/+12
| | | | | | | | | | Also, guard newer error returns with proper #if, so they don't trip up older Vulkan versions.
* | placessidebar: Don't create a GtkWindow for drag iconsTimm Bäder2018-02-231-7/+3
| | | | | | | | | | Just use the drag_widget we create before, since GtkWindow drag icons are not allowed anymore.
* | range: Fix typo in allocate_troughTimm Bäder2018-02-231-1/+1
| | | | | | | | lower - upper results in something negative of course.
* | widget: Improve warning for negative size_allocate dimensionsTimm Bäder2018-02-231-1/+2
| | | | | | | | Print widget class, css node name and address.
* | range: Fix coord/value translationTimm Bäder2018-02-231-33/+39
| | | | | | | | | | Save the x/y we allocated the slider at, which is different than the coordinates we get from any of the widget allocation accessors.
* | range: Compute slider allocation in update_initial_slider_positionTimm Bäder2018-02-231-14/+13
| | | | | | | | Instead of outside at every call-site.
* | range: Remove GtkScale special casingTimm Bäder2018-02-231-14/+0
| | | | | | | | | | This is unnecessary these days due to the negative margins of the slider.
* | range: Simplify allocate_troughTimm Bäder2018-02-231-14/+9
| |
* | range: Simplify compute_slider_positionTimm Bäder2018-02-231-12/+11
| |
* | range: Fix coordinates in coord_to_valueTimm Bäder2018-02-231-12/+13
| | | | | | | | | | | | The given coordinate needs to be trough-relative, since that's what the slider is relative to. Also use the trough's content size and not the outer size.
* | range: Remove some unneeded includesTimm Bäder2018-02-231-3/+0
| |
* | range: Remove priv pointerTimm Bäder2018-02-232-117/+123
| |
* | range: Stop tracking mouse positionTimm Bäder2018-02-231-45/+14
| | | | | | | | | | We have the mouse position available everywhere we want to use it anyway, so use that instead.
* | range: Stop tracking mouse locationTimm Bäder2018-02-231-39/+16
| | | | | | | | | | Instead, just use gtk_widget_pick() to get the widget at the pointer position whenever we need it.
* | range: Don't call calc_slider() on value changesTimm Bäder2018-02-231-2/+0
| | | | | | | | | | calc_slider() updates the slider visibility, but that can only change if the upper or lower change.