| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Unset all CSS; Adwaita was messing up things.
|
|
|
|
|
|
|
|
|
| |
After 3a337156d11a86c7a88f1f30a09276fdf6f63008 style lookups still used
the parent context's style as the parent style, even though after a
gtk_style_context_save() the root style of the style context is the
proper parent.
Testcase attached.
|
|
|
|
|
|
| |
It causes build failure on MinGW.
https://bugzilla.gnome.org/show_bug.cgi?id=741827
|
|
|
|
|
|
|
|
|
| |
1) Use font-size instead of color
This makes it easier to compare reference and test because the values
don't change.
2) Actually sort the reference properly
This unbreaks the test.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This commit adds a test that checks whether or not
hide-titlebar-when-maximized can be set before the window is
realized.
https://bugzilla.gnome.org/show_bug.cgi?id=740287
|
| |
|
|
|
|
|
| |
The button properties don't make sense on GtkModelButton (indicating
that GtkModelButton should really not be a GtkButton subclass).
|
| |
|
|
|
|
|
|
| |
Ensure that gtk_list_box_get_selected_row returns NULL after
gtk_list_box_unselect_all. Add a testcase that detects this
problem.
|
|
|
|
|
| |
The new has-tooltip state is showing up in a number of places,
as expected.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=738982
|
|
|
|
| |
We cannot create them directly anyway.
|
|
|
|
|
|
| |
We recently changed the uppercase licensing text to lower case. The
reference test that checks the contents of the about dialog has to be
fixed to reflect that change.
|
|
|
|
|
| |
Since it can't be constructed without specifying a GdkWindow,
which we don't have here.
|
| |
|
|
|
|
|
|
|
|
| |
These turned out to break existing ui files, concretely
GWeatherLocationEntry was no longer guessed correctly.
Update the testcases to reflect this, and add a testcase
for GWeather.
|
|
|
|
|
|
|
|
| |
This fixes shadows that are animated not updating the clip of the widget
they are drawn on. An example of this are the buttons in the CSS shadows
example in gtk-demo.
Reftest included
|
|
|
|
| |
Testcase is attached.
|
|
|
|
|
|
|
|
| |
Remove checks for NULL before g_free() and g_clear_object().
Merge check for NULL, freeing of pointer and its setting
to NULL by g_clear_pointer().
https://bugzilla.gnome.org/show_bug.cgi?id=733157
|
|
|
|
|
| |
The reftest still passes, since the code still works, but we might as
well test what we claim to test.
|
|
|
|
|
|
|
| |
This test makes sure that out heuristic for finding
get_type functions works as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=635258
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Windows needs a shared library to link the modules against, otherwise
the undefined symbols make it not work.
So build a shared library on Windows.
We don't want a library elsewhere, as that just complicates things, so
we only make the library shared on Windows and keep it as a noinst
library otherwise.
https://bugzilla.gnome.org/show_bug.cgi?id=736338
|
| |
|
|
|
|
|
| |
Keep checking the legacy icon names as long as we support them
(this caught gtk-undelete not working quite as expected).
|
| |
|
|
|
|
|
| |
Add a few tests that check the behavior of icon theme inheritance
vs generic fallback vs symbolic icons.
|
|
|
|
|
|
|
|
| |
This is a noinst library for now, but the idea is to turn it into a
proper DLL on Windows, so that we can install it and properly link the
modules to it. Windows doesn't allow undefined symbols in modules.
https://bugzilla.gnome.org/show_bug.cgi?id=736338
|
|
|
|
| |
Split actually taking the snapshot into its own file.
|
|
|
|
| |
Comparing two surfaces is something that can be nicely factored out.
|
|
|
|
|
|
|
|
|
|
|
| |
... just because there is no style context instantiated yet. Instead,
instantiate a style context during realize() and ask it.
Fixes problems with dim labels not being dimmed on first show.
Testcase included.
https://bugzilla.gnome.org/show_bug.cgi?id=735240
|
|
|
|
|
|
|
|
|
| |
Just pretend that the main widget is an empty widget the size of the
overlay.
Makes it possible to write testcases where no size requests are run on
overlay widgets before size_allocate() is called.
Testcase included.
|
|
|
|
| |
This one is special.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702957
|
|
|
|
| |
It is not good form to leak in testcases.
|
| |
|
|
|
|
| |
This is the place for wholly-deprecated sources.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The font-stretch CSS property is defined in the Level 3 CSS Fonts
module, available at:
http://dev.w3.org/csswg/css-fonts/#propdef-font-stretch
It allows defining a normal, condensed, or expanded face to the font
description. Pango already supports it, so this is literally just the
CSS parser machinery needed to bridge our CSS to the FontDescription
API.
https://bugzilla.gnome.org/show_bug.cgi?id=735593
|
|
|
|
|
|
|
|
|
|
| |
with non-installed tests the build would get an empty $(reftestdir)
which would screw up the LDFLAGS.
An rpath seems to be required to make libtool build a shared object.
Without an rpath line, it only builds a static object.
https://bugzilla.gnome.org/show_bug.cgi?id=735401
|
|
|
|
|
|
|
| |
The libreftest.so module needs to be built in all cases.
Without installed tests, it needs to not be installed though.
https://bugzilla.gnome.org/show_bug.cgi?id=735401
|
|
|
|
| |
This tests the fix in the previous commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
NULL was returned in case of an empty last line. Every users needed to
special-case this. Now it will return the expected result: char_len of 0
with one PangoLogAttr.
In compute_log_attrs(), 'paragraph' will be the empty string "" with
'char_len' == 0.
pango_get_log_attrs() works fine with an empty string, it will return
one correct PangoLogAttr (because there is one text position for the
empty string).
It fixes the unit tests for gtk_text_iter_is_cursor_position().
https://bugzilla.gnome.org/show_bug.cgi?id=156164
|
|
|
|
|
|
|
|
|
|
|
| |
For functions using _gtk_text_buffer_get_line_log_attrs():
- gtk_text_buffer_backspace()
- some gtk_text_iter functions (word/sentence/cursor boundaries)
As the FIXME comments show, there is a bug with
gtk_text_iter_is_cursor_position() for an empty last line.
https://bugzilla.gnome.org/show_bug.cgi?id=156164
|
|
|
|
|
|
| |
Otherwise drawing will be clipped.
Testcase included
|
|
|
|
|
|
| |
This is relevant for shadow spread and goes in line with the web.
Testcase included.
|
|
|
|
|
|
| |
Testclase included.
Also reorder headers to be alphabetic.
|
| |
|
| |
|