summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix the buildwip/matthiasc/immodule-cleanupMatthias Clasen2018-02-241-1/+1
|
* 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.
* 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.
* | range: Remove unnecessary queue_draw callsTimm Bäder2018-02-231-4/+0
| |
* | range: Remove scale special caseTimm Bäder2018-02-231-6/+0
| | | | | | | | | | This is done automatically nowadays since the value is shown in a widget.
* | Merge branch 'gitlab-ci-run-gtk-tests' into 'master'Emmanuele Bassi2018-02-213-2/+18
|\ \ | |/ |/| | | | | gitlab-ci: run parts of the test suite See merge request GNOME/gtk!22
| * gitlab-ci: run parts of the test suiteChristoph Reiter2018-02-193-2/+18
| | | | | | | | | | This runs the tests in testsuite/{css,gtk,tools} All others suites have failing tests and need more work.
* | build: Do not eagerly disable checks on release buildsEmmanuele Bassi2018-02-201-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Release builds should only disable cast checks, to match what we used to do back with the Autotools builds. The Autotools build had an "--enable-debug=no" option, but that was rarely used; Meson has debug, debugoptimized, release, and plain build types, but we considered the "release" build types as the old "disable all debugging code", which is not really accurate. Disabling assertions and preconditon checks should be left to people with constrained environments and/or packagers; they are supposed to use the "plain" build type, and override the CFLAGS themselves.
* | build: Use get_supported_arguments()Emmanuele Bassi2018-02-201-6/+1
| | | | | | | | | | Instead of checking each flag one by one, use the appropriate method of the Meson compiler object.
* | Drop no-longer existing im modulesMatthias Clasen2018-02-191-30/+0
| | | | | | | | | | This was just dead code. The actual modules have already been removed.
* | Merge branch 'gtk-debug-flags-with-open-display-master' into 'master'Matthias Clasen2018-02-191-1/+1
|\ \ | |/ |/| | | | | gtk_init: Fix debug flags handling when a display is already open See merge request GNOME/gtk!27
| * gtk_init: Fix debug flags handling when a display is already openChristoph Reiter2018-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code assigning the display to the debug_flags struct gets only called when the default display changes, which never happens when there already is one. This makes it call the change callback in case a display is already there. The same fix was applied to gtk3 in !26 where calling gdk_init() before gtk_init() would trigger this case. With gdk_init() gone in master this is less likely to happen, but still possible if gdk_display_open() is called before gtk_init(). See https://gitlab.gnome.org/GNOME/pygobject/issues/166
* | Merge branch 'tests-set-schema-dir' into 'master'Matthias Clasen2018-02-1910-53/+10
|\ \ | |/ |/| | | | | tests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dir See merge request GNOME/gtk!21
| * tests: Make GSETTINGS_SCHEMA_DIR point to the compiled schemas in the build dirChristoph Reiter2018-02-1710-53/+10
| | | | | | | | | | | | | | | | | | | | | | With autotools the schemas were compiled into each test suite directory and the tests set GSETTINGS_SCHEMA_DIR to the test build directory. With meson's gnome.compile_schemas() we can not define a target directory so just make sure it is built in the gtk directory and set GSETTINGS_SCHEMA_DIR to the gtk build directory when running the tests. This makes the gtk+:gtk suite pass when no gtk is installed on the system.
* | Remove some unused codeMatthias Clasen2018-02-182-78/+0
| | | | | | | | No more callers of _gtk_find_module.
* | Remove unused variable in the CUPS print backendEmmanuele Bassi2018-02-191-2/+0
| | | | | | | | | | The variable is a leftover from when we were not using the G_DEFINE_DYNAMIC_TYPE macro.
* | Fix the build in the Cloudprint print backendEmmanuele Bassi2018-02-191-12/+1
| | | | | | | | Typos and re-declared functions.
* | Fix build of the lpr print backendEmmanuele Bassi2018-02-191-5/+2
| | | | | | | | | | Some copy-and-paste from the CUPS print backend broke the build on Continuous, where CUPS does not exist.
* | build: Fix checks on enabled print backendsEmmanuele Bassi2018-02-191-4/+2
| | | | | | | | The enabled print backends are a boolean, not a 'yes/no' string.
* | Fix the buildMatthias Clasen2018-02-182-3/+1
| |
* | Convert print backends to use a GIOExtensionPointMatthias Clasen2018-02-187-359/+188
| | | | | | | | | | | | Use GIOModule and GIOExtensionPoint. This is the preferred way to define extensions these days, instead of manually implementing type modules.