summaryrefslogtreecommitdiff
path: root/gtk/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Drop Autotools buildEmmanuele Bassi2017-08-141-1728/+0
| | | | | We are officially switching to Meson as the default build system for GTK+.
* Add an Emoji chooser widgetMatthias Clasen2017-08-121-1/+5
| | | | | Add a popover that shows color Emoji, with a search entry. The recently-used Emoji are stored in a GSetting.
* Add Emoji dataMatthias Clasen2017-08-121-0/+3
| | | | | | | | | | | | | The json file is imported from the (MIT-licensed) emoji.json[0] node module, which generates it from the emoji list published by the Unicode Consortium. This commit also adds a little tool to convert the data into a compact GVariant, and the result of that conversion, which is added to libgtk as a resource. The following commits will make use of it. [0] https://github.com/amio/emoji.json
* eventbox: RemoveBenjamin Otte2017-08-021-2/+0
|
* Remove GtkCssGadgetTimm Bäder2017-07-191-2/+0
|
* Remove GtkCssCustomGadgetTimm Bäder2017-07-191-2/+0
| | | | Unused.
* Remove GtkBoxGadgetTimm Bäder2017-07-191-2/+0
| | | | Now unused
* Remove GtkBuiltinIconTimm Bäder2017-07-191-2/+0
| | | | Now unused.
* filechooserwidget: Add GtkFileChooserErrorStackTimm Bäder2017-07-181-1/+3
| | | | | | | | | | Showing all the different errors and warnings when renaming and creating files/folders without potentially resizing popovers on every keystroke requires us to know the size of the error messages beforehand, so pack all of the possible error messages and warnings in labels and those into a stack. This way we can also neatly crossfade transition between them. https://bugzilla.gnome.org/show_bug.cgi?id=775636
* GtkFilechooserNative: add macOS supportTom Schoonjans2017-07-181-0/+1
| | | | | | | | | | Based on the Win32 implementation, as well as the macOS file chooser from https://github.com/GNOME/gedit/blob/master/gedit/gedit-file-chooser-dialog-osx.[ch] Not fully tested yet, but working properly so far. TODO: filter support, extra widget (label), documentation... https://bugzilla.gnome.org/show_bug.cgi?id=784723
* Use newer glib-genmarshal to simplify build rulesEmmanuele Bassi2017-07-111-6/+8
| | | | | | | | | | The glib-genmarshal tool from GLib 2.54 added various command line arguments that allow us to remove a bunch of as hoc manipulations of the generated marshaller source files. The marshal generator tool can now include an header in the source, and undef the G_ENABLE_DEBUG pre-processor symbol for us. It can also generate the prototypes of the marshallers in the C source, and avoid a 'missing-prototypes' compiler warning.
* gtk/Makefile.am: Fix 'make dist'Chun-wei Fan2017-06-121-2/+1
| | | | | We don't have gtkcenterboxprivate.h anymore, as it became a public header...
* Install gtkcenterbox.hMatthias Clasen2017-06-051-0/+1
|
* gtk: Introduce GtkPointerFocusCarlos Garnacho2017-05-251-0/+2
| | | | | | These objects (tied to a toplevel) track the focus of a pointer/touchpoint. The info in these basically consists of current toplevel coordinates and the current target widget.
* Specify more options to sasscEmmanuele Bassi2017-05-031-1/+1
| | | | | We should use the compact style, to minimize the whitespace; and we should omit the source map URL comment as well.
* build: De-duplicate options to sasscEmmanuele Bassi2017-05-031-4/+6
| | | | | If we want to change the list of options we use with sassc, not having to copy-paste them in multiple rules would be a good start.
* Rename generated gtktypefuncs.c to gtktypefuncs.incTim-Philipp Müller2017-05-031-3/+3
| | | | | | This is needed for the Meson port, a file name .c that's included and shouldn't be compiled into an object is difficult to manage otherwise. And it's not actually a valid .c file anyway.
* build: Don't include the marshallers header fileEmmanuele Bassi2017-04-281-4/+10
| | | | | | | | We used to inject the inclusion of the generated header file into the generated body of the marshallers source code in order to avoid compiler warnings about missing prototypes. The glib-genmarshal utility has been fixed in GLib to include the prototype in the generated source, so now we're going to trip -Werror=redundant-decls.
* actionbar: Add explicit center widgetTimm Bäder2017-04-251-2/+4
| | | | | | | The center widget in GtkBox was only introduced to use it in GtkActionBar. However, the implementation there is much more complex than it needs to be, so move the center widget into GtkActionBar instead and later remove it from GtkBox.
* Add GtkGizmoTimm Bäder2017-04-251-2/+4
| | | | | | GtkGizmo is the easiest possible widget to implement. It does nothing except give its creator a way to control measure/size-allocate/snapshot, so it can be used in a variety of use cases.
* Rebuild CSS on all SCSS file changesEmmanuele Bassi2017-04-011-9/+9
| | | | | | | Adwaita and HighContrast CSS should be rebuild every time one of their dependent files change, not just the main entry point. https://bugzilla.gnome.org/show_bug.cgi?id=780041
* Optionally depend on sassc to generate the theme CSSEmmanuele Bassi2017-04-011-16/+41
| | | | | | | | | | Instead of using Ruby/Sass to generate the CSS from SCSS files, we can use the faster and more lightweight libsass/sassc binary. We can keep the CSS files in Git to make it easier to dist GTK+, but we can add rules to ensure they get rebuilt if the source SCSS changes. https://bugzilla.gnome.org/show_bug.cgi?id=780041
* Implement tab/up-down/left-right focus sorting for widgetsTimm Bäder2017-03-311-0/+1
| | | | basically do what GtkContainer already did.
* Remove the Raleigh themeTimm Bäder2017-03-311-6/+1
| | | | It's been broken for ages.
* build: Stop compressing ui filesTimm Bäder2017-01-301-2/+2
| | | | It's slower at runtime. Instead, strip blanks.
* fontbutton: Be a GtkWidgetTimm Bäder2017-01-201-1/+0
|
* filechooserbutton: Be a GtkWidgetTimm Bäder2017-01-201-1/+0
| | | | | Instead of subclassing GtkBox to have 2 child widgets, subclass GtkWidget and only render one of them.
* Visual Studio builds: Move project files to win32/Chun-wei Fan2017-01-091-6/+6
| | | | | It was suggested that the project files to be moved to win32/, so that we can have one less layer of directories we need to go down into to reach the project files.
* actionbar: Add revealer as internal childTimm Bäder2017-01-081-1/+0
|
* gtk: Implement -gtk-icon-filterBenjamin Otte2016-12-311-0/+2
| | | | | This uses the new GskColorMatrixNode to implement a filter that applies to icons. It's meant to replace -gtk-icon-effect.
* roundedbox: Add gtk_rounded_boxes_init_for_style()Benjamin Otte2016-12-201-1/+0
| | | | | | | | | Instead of making people intiialize a rectangle and then applying border radius manually, provide a constructor that does it for them. While doing that, also allow people to instead request the padding box or the content box. Refactor all relevant code to use this new constructor.
* gsk: Move gtk/gtkcairoblur.c to gsk/gskcairoblur.cBenjamin Otte2016-12-201-2/+0
|
* build: add gir depends for GdkX11, GdkWin32, and Gsk on GdkWilliam Hua2016-12-051-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=775651
* build: Don't link against libgtk and libgdkBenjamin Otte2016-11-201-10/+1
| | | | | | libgdk is statically linked these days, so if you link against it, all of its symbols will exist twice: Once in libgtk.so and once in your binary.
* gtk: Add gtk_widget_snapshot()Benjamin Otte2016-11-151-1/+4
| | | | | It's functionally equivalent to gtk_widget_get_render_node() but uses a GtkSnapshot argument to carry the state.
* Drop support for symbolic colorsMatthias Clasen2016-11-071-1/+1
| | | | | -gtk-gradient was the last internal user of this code, so we can drop it now.
* Drop support for -gtk-gradientMatthias Clasen2016-11-071-2/+0
| | | | | The standard CSS radial-gradient can be used instead, and Adwaita and HighContrast have been ported over.
* autotools: Update MSVC gir build script generationChun-wei Fan2016-11-031-1/+1
| | | | | | | | Now that GTK+ is built as a single DLL, and the .lib that is built is gtk-4.lib, we need to update the autotools sections in generating the NMake Makefile snippets so that we can have the correct commands and flags for building the .gir files, which will all now link to gtk-4-vsXX.dll (or so).
* Windows: Update code for monolithic GTK DLLChun-wei Fan2016-11-031-2/+2
| | | | | | | | | | | | | | | | | | Now that the autotools build folded the GDK/GSK bits into the main GTK+ DLL, there are some updates that need to be done for this. We need to: -Fold the DllMain() of GDK-Win32 into the main GTK+ DllMain(), as we need the HINSTANCE to register the window. We can't have two DllMain()'s in a single DLL. -Remove the GDK rc(.in) files, as that is not used anymore. Make the GTK+ .rc(.in) file load the gtk.ico GTK+ logo file instead so that we still get the GTK+ logo for the application icon by default. Update the autotools build files as well. -Revert commit b9f9980 as LRN pointed out in comment 25 in bug 773299, as GTK+ is now a monolithic DLL, and we ought not to export this private function. https://bugzilla.gnome.org/show_bug.cgi?id=773299
* Use GdkRGBA for text attributesMatthias Clasen2016-11-011-1/+0
| | | | | | Now that GtkTextAttributes is private, we can clean this struct up a bit. The first step is to switch from GdkColor to GdkRGBA, and adapt all users.
* Make GtkTextAttributes privateMatthias Clasen2016-11-011-7/+3
| | | | | | | | This is a problematic struct, and giving direct access to it has kept us from making improvements to GtkTextView. Drop it from the public API, together with the auxiliary APIs. If it turns out that this functionality is needed, we should add individual getters.
* gtk: Add back infrastructure for GTK_DEBUG=updatesBenjamin Otte2016-10-271-0/+2
| | | | | | | | | Includes the ability to turn on updates in the inspector. Animations are now run via a tick function which allows us to neatly overlay a semi-transparent red rectangle and fade it out over time. It also probably enables way more, but somebody with more UI neatness than me needs to figure out what it eanbles first...
* pixelcache: RemoveBenjamin Otte2016-10-271-2/+0
| | | | It's now unused.
* 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.
* Make gdk.la and gsk.la a noninst helper libraryAlexander Larsson2016-10-261-9/+30
| | | | | | | | 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
* MSVC builds: Support MSVC 2013 and laterChun-wei Fan2016-10-261-2/+2
| | | | | | | 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.
* Drop support for offscreen GdkWindowswip/alexl/no-offscreenAlexander Larsson2016-10-251-2/+0
| | | | | | These complicate a lot of GdkWindow internals to implement features that not a lot of apps use, and will be better achieved using gsk. So, we just drop it all.
* Visual Studio builds: Update from [gdk|gtk]-3 to [gdk|gtk]-4Chun-wei Fan2016-10-191-11/+10
| | | | | | | | | | | | | This updates all the projects files to be be named appropriately as we move from GTK-3.x to 4.x, and updates the autotools files so that things are distributed and generated properly. Also remove deprecated/gtkstatusicon-quartz.c from gtk/Makefile.am, as that was causing 'make dist' to fail as that file has been removed. This fixes 'make dist' with the updated existing project files in proper order. Note that this does not include the new GSK, which will be added later, so the project files do not yet build the whole stack on Visual Studio at this point.
* build: Fix variable name for gtk4-update-icon-cache targetEmmanuele Bassi2016-10-181-1/+1
|