summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* widget: Redo how gtk_widget_queue_draw() worksBenjamin Otte2016-10-273-15/+82
| | | | | | | | | | | | Before, we would immediately invalidate the GdkWindow of the widget, now we call the parent's GtkWidgetClass.queue_draw_child() function. This allows the parent to track redraw queueing of children. By default GtkWidgetClass.queue_draw_child() will again chain up to its parent while respecting the GdkWindow hierarchy for clipping. GtkWindow is then the only widget actually invalidating the GdkWindow. This essentially moves redraw queueing from GDK to GTK.
* widget: Inline function into only callerBenjamin Otte2016-10-271-16/+6
| | | | ... and remove all the checks that are not needed in this case.
* gdk: Remove gdk_window_set_invalidate_handler()Benjamin Otte2016-10-275-64/+0
| | | | It's not used anymore.
* gdk: Add deprecation guards around deprecated functionBenjamin Otte2016-10-271-1/+5
|
* pixelcache: RemoveBenjamin Otte2016-10-273-571/+0
| | | | It's now unused.
* textview: Get rid of the pixel cacheBenjamin Otte2016-10-271-135/+7
|
* treeview: Remove the pixel cache usageBenjamin Otte2016-10-271-114/+18
|
* Spacing fixes for builtin dialogsMatthias Clasen2016-10-2611-0/+28
| | | | Replace border-width and padding by margins, in most places.
* More gtk-demo spacing fixesMatthias Clasen2016-10-2622-33/+34
|
* gtk-demo: Start to fix up the spacingMatthias Clasen2016-10-263-0/+11
| | | | Replace some cases of lost border-width with margins.
* Fix widget-factory appearance, a bitMatthias Clasen2016-10-261-0/+2
| | | | Use margins instead of border-width, for now.
* color chooser: Fix a problem with show-editor=TRUEMatthias Clasen2016-10-261-0/+9
| | | | | | | | | For some reason we end up allocating the colorplane widget before it is realized, and then never initialize the surface. Fix this by explicitly doing it on realize. https://bugzilla.gnome.org/show_bug.cgi?id=773474
* applicationwindow: Fix issues with measure vfunc transitionBenjamin Otte2016-10-261-3/+3
|
* viewport: Remove pixelcacheBenjamin Otte2016-10-261-130/+1
| | | | | With the rework for GSK and queueing of redraws pending, the pixel cache just gets in the way. So we remove it everywhere.
* build: Update CLEANFILESEmmanuele Bassi2016-10-261-3/+1
| | | | | We use nodist for gir and typelib files, because we expect them to be rebuilt.
* build: Beautify the GIR post-processingEmmanuele Bassi2016-10-261-6/+18
| | | | Use AM_V_GEN to silence the command line output.
* gsk: Add check on GL_MAX_TEXTURE_SIZEEmmanuele Bassi2016-10-262-0/+37
| | | | | We should check (once) what's the maximum GL texture size and then use that size to check when we create any GL texture, to avoid errors.
* Fix the buildMatthias Clasen2016-10-261-1/+1
| | | | Copy-paste error.
* GdkWindow: Use the seat to enumerate devicesMatthias Clasen2016-10-261-9/+5
| | | | GdkDeviceManager is going away.
* quartz: Stop using gdk_device_manager_list_devicesMatthias Clasen2016-10-262-36/+20
| | | | The function has been deprecated.
* x11: Stop using gdk_device_manager_list_devicesMatthias Clasen2016-10-261-16/+10
| | | | The function has been deprecated.
* broadway: Stop using gdk_device_manager_list_devicesMatthias Clasen2016-10-261-14/+10
| | | | The function is deprecated.
* Make gdk.la and gsk.la a noninst helper libraryAlexander Larsson2016-10-2628-145/+84
| | | | | | | | This merged gtk, gdk and gsk into one library, making it possible to have internal private APIs between gtk them, as well as producing more efficient code. https://bugzilla.gnome.org/show_bug.cgi?id=773100
* widget: Improve early exit checks on queue_draw()Benjamin Otte2016-10-261-1/+1
| | | | | | (1) We don't need to check for realized when we check for mapped right below. (2) Empty regions don't need to be drawn.
* win32 theme: Fix tooltip bordersJaime Velasco Juan2016-10-261-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773221
* win32 theme: Fix comboboxJaime Velasco Juan2016-10-261-50/+46
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773221
* win32 theme: Fix column headersJaime Velasco Juan2016-10-261-8/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773221
* win32 theme: Fix popup window decorationsJaime Velasco Juan2016-10-261-0/+6
| | | | | | Windows such as combobox's popup were using toplevel window's borders https://bugzilla.gnome.org/show_bug.cgi?id=773221
* gtkwin32theme: delete #if 0 codeJaime Velasco Juan2016-10-261-11/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773221
* win32 theme: Fix scale widgetJaime Velasco Juan2016-10-261-117/+74
| | | | | | It was invisible before. https://bugzilla.gnome.org/show_bug.cgi?id=773221
* win32 theme: No need to create a DC for GetThemePartSizeJaime Velasco Juan2016-10-261-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773221
* win32 theme: use TS_TRUE in GetThemePartSizeJaime Velasco Juan2016-10-261-2/+1
| | | | | | | Several styles return a size of 0x0px when using TS_DRAW, as we don't pass a RECT to draw into. https://bugzilla.gnome.org/show_bug.cgi?id=773221
* win32 theme: Fix scrollbarsJaime Velasco Juan2016-10-261-69/+71
| | | | | | | The fix is only partial, when both scrollbars are visible their ends overlap. https://bugzilla.gnome.org/show_bug.cgi?id=773221
* Fix CSS warnings in win32 themeJaime Velasco Juan2016-10-261-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=773221
* Fix tiny fonts in win32 themeJaime Velasco Juan2016-10-261-1/+1
| | | | | | broken since df08fc91... (css: always get default font size in pixels) https://bugzilla.gnome.org/show_bug.cgi?id=773221
* docs: fix copy/paste errors in the docs of GtkScrolledWindowSébastien Wilmet2016-10-261-3/+3
| | | | Trivial commit.
* docs: update section file for GtkScrolledWindowSébastien Wilmet2016-10-261-11/+15
| | | | | | | Trivial commit. - More logical ordering (re-group related things). - Add missing functions: max_content_width/height.
* gdk/win32/gdkevents-win32.c: Avoid gdk_device_manager_get_core_pointer()Chun-wei Fan2016-10-261-2/+2
| | | | | | This function has been removed, so replace it with gdk_seat_get_pointer(). https://bugzilla.gnome.org/show_bug.cgi?id=773299
* demos: Fix 'make install'Chun-wei Fan2016-10-262-2/+2
| | | | | We need to change gtk-update-icon-cache to gtk4-update-icon-cache, as that tool has been renamed.
* GSK: Add initial Visual Studio projectsChun-wei Fan2016-10-2612-14/+377
| | | | | | | | | | | This adds the initial MSVC build items needed to build GSK under Visual Studio, this is part of it that is required, we need to add items to the property sheets to generate the code that is generated via glib-mkenums and glib-compile-resources. This set includes, with the autotools scripts for the complete: -GSK project files, which is integrated into the gtk+-4.sln. -The NMake snippets to build the introspection files for GSK. -The .bat files to call glib-mkenums to generate the enumeration sources.
* Drop x11-specific code from the GTK+ dnd codeMatthias Clasen2016-10-261-228/+0
| | | | | | We were using passive grabs to listen for some individual keys. Nowadays, the managed dnd code in the x11 backend does the same.
* MSVC builds: Support MSVC 2013 and laterChun-wei Fan2016-10-2672-3889/+203
| | | | | | | We now need C99 features from the compiler which are only supported by Visual Studio 2013 and later, so drop the MSVC 2008~2012 projects, and make the baseline supported Visual Studio version be 2013. Update the build files as a result.
* build/Makefile.msvcproj: Add rules for MSVC 2013 to be baseline versionChun-wei Fan2016-10-261-0/+33
| | | | | | | | | GTK+-3.89.0 and later will require C99 features that is only supported on Visual Studio 2013 and later, so prepare build/Makefile.msvcproj for this. We still keep the 2008~2010 stuff here as this strives to be a shared module, and there are projects using this that still supports building on pre-2013 Visual Studio.
* Remove gtk4-install.props's during re-generationChun-wei Fan2016-10-261-0/+3
| | | | | | This is to ensure the changes in the generated build/win32/vs10/gtk4-install.props are applied in build/win32/vs[11|12|14] as well.
* visual: Remove deprecated APIRico Tzschichholz2016-10-263-79/+0
|
* Remove deprecated gdk_display_open_default_libgtk_onlyRico Tzschichholz2016-10-263-25/+0
|
* Fix the docs build after offscreen window removalMatthias Clasen2016-10-251-1/+0
|
* Revert "Remove gdk_device_grab/ungrab from the API"Matthias Clasen2016-10-256-24/+94
| | | | | | This reverts commit efc37d08556ed8516442a18a67e3035f13cf05a7. Turns out we need to clean up the dnd code some more, first.
* Drop the deprecated gdk_device_manager_get_client_pointerMatthias Clasen2016-10-253-29/+0
|
* Remove gdk_device_grab/ungrab from the APIMatthias Clasen2016-10-256-94/+24
| | | | | These are still used in a few places internally, so make them private.