| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We are officially switching to Meson as the default build system for
GTK+.
|
|
|
|
|
| |
Add a popover that shows color Emoji, with a search entry.
The recently-used Emoji are stored in a GSetting.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Unused.
|
|
|
|
| |
Now unused
|
|
|
|
| |
Now unused.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
We don't have gtkcenterboxprivate.h anymore, as it became a public
header...
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
We should use the compact style, to minimize the whitespace; and we
should omit the source map URL comment as well.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
basically do what GtkContainer already did.
|
|
|
|
| |
It's been broken for ages.
|
|
|
|
| |
It's slower at runtime. Instead, strip blanks.
|
| |
|
|
|
|
|
| |
Instead of subclassing GtkBox to have 2 child widgets, subclass
GtkWidget and only render one of them.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This uses the new GskColorMatrixNode to implement a filter that applies
to icons. It's meant to replace -gtk-icon-effect.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=775651
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
It's functionally equivalent to gtk_widget_get_render_node() but uses a
GtkSnapshot argument to carry the state.
|
|
|
|
|
| |
-gtk-gradient was the last internal user of this code, so
we can drop it now.
|
|
|
|
|
| |
The standard CSS radial-gradient can be used instead, and Adwaita
and HighContrast have been ported over.
|
|
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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...
|
|
|
|
| |
It's now unused.
|
|
|
|
|
| |
We use nodist for gir and typelib files, because we expect them to be
rebuilt.
|
|
|
|
| |
Use AM_V_GEN to silence the command line output.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|