| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
We cannot create them directly anyway.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
This test makes sure that out heuristic for finding
get_type functions works as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=635258
|
|
|
|
|
| |
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 one is special.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702957
|
|
|
|
| |
It is not good form to leak in testcases.
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
These tests check some of the changes from the previous commits.
|
|
|
|
|
| |
This is a small test that checks that gtk_window_set/get_focus
behave as expected, regardless of the window being shown or hidden.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
find_by_log_attrs() can return true only in this case:
return moved && !gtk_text_iter_is_end (arg_iter);
So if the iter moved (i.e. something has been found), but is the end
iter, find_by_log_attrs() returns false.
Now the same checks are made in find_visible_by_log_attrs(). The public
functions using find_visible_by_log_attrs() say in their documentation
that false is returned for the end iter, hence the check with
gtk_text_iter_is_end().
https://bugzilla.gnome.org/show_bug.cgi?id=618852
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attrs[len] is the last PangoLogAttr available, at the iter position after the
last character of the line.
For a line in the middle or the start of the buffer, the '\n' is taken
into account by 'len'. For example the is_word_end is generally reached
before the '\n', not after. But for the last line in the buffer, where
there is no trailing '\n', it is important to test until attrs[len].
The bug didn't occur before because find_by_log_attrs() worked directly
on the iter passed as the function argument. But now it is no longer the
case.
https://bugzilla.gnome.org/show_bug.cgi?id=618852
|
|
|
|
|
|
|
|
|
|
| |
Do not work with the iter passed as the function argument. Work with
another iter, and set it back to the function argument only if something
has been found.
This fixes a few unit tests. But there are regressions for a few others.
https://bugzilla.gnome.org/show_bug.cgi?id=618852
|
|
|
|
|
|
|
| |
As the FIXME comment shows, there is a bug. It is the same bug as for
the word boundaries.
https://bugzilla.gnome.org/show_bug.cgi?id=618852
|
|
|
|
|
|
| |
As the FIXME comments show, there are several problems.
https://bugzilla.gnome.org/show_bug.cgi?id=618852
|
|
|
|
|
|
| |
See the FIXME comment.
https://bugzilla.gnome.org/show_bug.cgi?id=618852
|
|
|
|
|
| |
Dialogs no longer set a headerbar as titlebar unless use-header-bar
is set to 1. Update the test to do that.
|
| |
|
| |
|
|
|
|
| |
The setter is not doing anything, so we won't get notification.
|
|
|
|
|
| |
This test operates generically on all properties, so warning
about deprecated properties does not make sense here.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resize grips were introduced for GNOME 3.0, before we had any of the
"new GNOME app" features like invisible borders and CSD. With OS X 10.6
and 10.7, Apple has replaced the classic grips in their applications
with invisible borders as well.
New GNOME app designs don't use resize grips anymore and the new
default theme for GTK+, Adwaita, disables them entirely by forcing their
width and height to 0.
They're past their time. Remove the code to support them. This can
always be reverted if some app relies on them.
|
| |
|
|
|
|
|
| |
These are just not useful in a test that generically deals with
all properties.
|
|
|
|
|
| |
We reverted to emitting redundant notifications for this, so
don't assert that we don't.
|
|
|
|
| |
This time, in installed tests.
|
|
|
|
|
| |
We want to test deprecated properties, so failing the tests with
warnings is not productive.
|
|
|
|
| |
This tests rtl lookup order for non-symbolic icons.
|
| |
|
|
|
|
| |
This property is now deprecated, and ignored, thus: no notification.
|
|
|
|
|
| |
With our new, improved icon theme spec compliance, some of the
tests need updates to their expected outcomes.
|
|
|
|
| |
This is a foolowup to d80bf0790d0903ba2825f306b6f7435529f922e2
|
|
|
|
|
| |
With the new way of dealing with the legacy stock icons,
the builtin test needed some small updates.
|
|
|
|
|
| |
This test checks that gtk_icon_theme_list_icons and
gtk_icon_theme_has_icon work as expected.
|