- 18 Mar, 2020 1 commit
-
-
Christian Hergert authored
This makes backporting changes from 4.x a bit easier.
-
- 02 Jan, 2018 1 commit
- 26 Mar, 2017 1 commit
-
-
Daniel Boles authored
-
- 29 Aug, 2016 1 commit
-
-
Benjamin Otte authored
glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller.
-
- 20 Apr, 2016 1 commit
-
-
Matthias Clasen authored
-
- 11 Mar, 2016 1 commit
-
-
Matthias Clasen authored
Fix s/occurence/occurrence in many places.
-
- 08 Jan, 2016 1 commit
-
-
Alberto Ruiz authored
gtk_accel_group_query gtk_accel_group_from_accel_closure gtk_accel_label_get_accel_widget gtk_accessible_get_widget gtk_actionable_get_action_name gtk_app_chooser_get_app_info gtk_app_chooser_button_get_heading gtk_app_chooser_dialog_get_heading gtk_application_get_window_by_id gtk_assistant_get_nth_page gtk_binding_set_find gtk_builder_get_object gtk_builder_lookup_callback_symbol gtk_builder_get_application gtk_button_get_image gtk_cell_area_get_focus_from_sibling gtk_cell_renderer_start_editing gtk_cell_view_get_model gtk_cell_view_get_displayed_row gtk_clipboard_get_owner gtk_container_get_focus_child gtk_container_get_focus_vadjustment gtk_container_get_focus_hadjustment gtk_dialog_get_widget_for_response gtk_drag_get_source_widget gtk_drag_dest_get_target_list gtk_drag_source_get_target_list gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_expander_get_label_widget gtk_file_chooser_get_filename gtk_file_chooser_get_current_folder gtk_file_chooser_get_uri gtk_file_chooser_get_current_folder_uri gtk_file_chooser_get_preview_widget gtk_file_chooser_get_preview_file gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_uri gtk_file_chooser_get_extra_widget gtk_file_chooser_get_filter gtk_file_chooser_native_get_accept_label gtk_file_chooser_native_get_cancel_label gtk_file_filter_get_name gtk_font_chooser_get_font_family gtk_font_chooser_get_font_face gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_chooser_get_font_map gtk_frame_get_label gtk_gesture_get_device gtk_gesture_get_window gtk_gl_area_get_error gtk_header_bar_get_title gtk_header_bar_get_subtitle gtk_header_bar_get_custom_title gtk_icon_info_get_filename gtk_icon_view_get_path_at_pos gtk_icon_view_get_model gtk_image_get_pixbuf gtk_image_get_animation gtk_label_get_mnemonic_widget gtk_label_get_attributes gtk_check_version gtk_menu_button_get_popup gtk_menu_button_get_menu_model gtk_menu_button_get_align_widget gtk_menu_button_get_popover gtk_menu_item_get_submenu gtk_menu_item_get_accel_path gtk_native_dialog_get_title gtk_native_dialog_get_transient_for gtk_notebook_get_nth_page gtk_notebook_get_tab_label_text gtk_notebook_get_menu_label gtk_notebook_get_menu_label_text gtk_notebook_get_group_name gtk_notebook_get_action_widget gtk_offscreen_window_get_surface gtk_offscreen_window_get_pixbuf gtk_paned_get_child1 gtk_paned_get_child2 gtk_places_sidebar_get_location gtk_places_sidebar_get_nth_bookmark gtk_plug_get_socket_window gtk_popover_get_default_widget gtk_progress_bar_get_text gtk_recent_filter_get_name gtk_recent_manager_lookup_item gtk_settings_get_default gtk_socket_get_plug_window gtk_stack_sidebar_get_stack gtk_stack_switcher_get_stack gtk_style_context_get_section gtk_style_context_get_parent gtk_style_context_get_frame_clock gtk_test_find_widget gtk_text_buffer_get_mark gtk_text_tag_table_lookup gtk_text_view_get_tabs gtk_text_view_toggle_cursor_visible gtk_text_view_get_window gtk_toolbar_get_nth_item gtk_tool_button_get_label gtk_tool_button_get_icon_name gtk_tool_button_get_label_widget gtk_tool_button_get_icon_widget gtk_tool_palette_get_drop_item gtk_tool_palette_get_drop_group gtk_tree_model_filter_convert_child_path_to_path gtk_tree_model_filter_convert_path_to_child_path gtk_tree_model_sort_convert_child_path_to_path gtk_tree_model_sort_convert_path_to_child_path gtk_tree_view_get_column gtk_tree_view_get_bin_window gtk_tree_view_column_get_widget gtk_tree_view_column_get_tree_view gtk_widget_get_frame_clock gtk_window_group_get_current_device_grab GtkTextBufferSerializeFunc
-
- 12 Nov, 2015 2 commits
-
-
Sébastien Wilmet authored
Avoid crashes when passing an invalid location to a gtk_text_buffer_get_iter_at_*() function. A first attempt added boolean return values to know if @iter has been set to the exact location, but it breaks Python and JS bindings because the out parameter is already a return value in those languages. Unit tests are added. https://bugzilla.gnome.org/show_bug.cgi?id=735341
-
Matthias Clasen authored
This reverts commit a9a1c00c. Unfortunately, adding the boolean return broke both the python and javascript bindings, since they now return a tuple consisting of the boolean and the out argument.
-
- 20 Oct, 2015 1 commit
-
-
Matthias Clasen authored
We generally use ->next directly.
-
- 16 Oct, 2015 2 commits
-
-
Sébastien Wilmet authored
Avoid crashes when passing an invalid location to a gtk_text_buffer_get_iter_at_*() function. A boolean is returned to know if @iter has been set to the exact location. Unit tests are added. https://bugzilla.gnome.org/show_bug.cgi?id=735341
-
Matthias Clasen authored
This avoids polluting the installed header with private symbols.
-
- 23 Sep, 2015 1 commit
-
-
Matthias Clasen authored
Following a similar change in GLib a while ago. 'bla' may by stupid, but it looks less dumb than `bla'.
-
- 06 Sep, 2015 1 commit
-
-
Matthias Clasen authored
This avoids pspec lookup overhead in g_object_notify.
-
- 01 Aug, 2015 1 commit
-
-
Matthias Clasen authored
Use g_slist_free_full more consistently. This commit just converts the obvious cases where g_slist_forall is directly followed by g_slist_free.
-
- 30 Jul, 2015 1 commit
-
-
Matthias Clasen authored
Add a ::font-features attribute to GtkTextTag, and support font features when inserting Pango markup into a text buffer.
-
- 05 Apr, 2015 1 commit
-
-
Make code shorter and also more efficient since we move the selection check out of the loop https://bugzilla.gnome.org/show_bug.cgi?id=747096
-
- 18 Mar, 2015 1 commit
-
-
This commit adds the GtkTextTag:underline-rgba and :strikethrough-rgba properties and the necessary plumbing to apply these colors in GtkTextLayout. With this change, you can alter the color of underlines including those of type PANGO_UNDERLINE_ERROR. You might want to alter the underline color to differentiate between spelling and grammer mistakes. In code editors, it is convenient to differentiate between errors and warnings. Note that the GtkTextAppearance struct is public ABI and has no spare room for new fields, so we are resorting to some tricky packing to store the colors in the unused pixel field of the fg_color and bg_color structs. This packing is accomplished by the macros in gtktextattributesprivate.h. Signed-off-by:
Christian Hergert <christian@hergert.me> https://bugzilla.gnome.org/show_bug.cgi?id=402168
-
- 04 Dec, 2014 1 commit
-
-
Matthias Clasen authored
This has been a very long-standing feature request. https://bugzilla.gnome.org/show_bug.cgi?id=59390
-
- 21 Aug, 2014 1 commit
-
-
Sébastien Wilmet authored
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
-
- 20 Aug, 2014 1 commit
-
-
Sébastien Wilmet authored
- only one blank line is enough to separate code sections. - the 'signals' variable was in the middle of function prototypes. - compare pointers to NULL in some conditions ("if(blah) should be used only if blah is a boolean variable). It makes the code clearer. - various other things.
-
- 16 Aug, 2014 1 commit
-
-
Sébastien Wilmet authored
g_memmove() is deprecated, it is a simple macro that just calls memmove() with the same parameters. Reviewed by Paolo Borelli on IRC.
-
- 29 Jul, 2014 1 commit
-
-
Sébastien Wilmet authored
Although there is the "changed" signal, it is more correct to notify the "text" property too. It can be useful for a small text view, where the text is saved e.g. to gsettings with a binding to the text property. The "text" property includes only the text, not child widgets or images, so the notify signal is sent too many times (also for child widgets and images), but it's not a big problem. https://bugzilla.gnome.org/show_bug.cgi?id=624791
-
- 20 Jul, 2014 1 commit
-
-
Sébastien Wilmet authored
GSlice is better for allocating structs. https://bugzilla.gnome.org/show_bug.cgi?id=733407
-
- 02 Jul, 2014 1 commit
-
-
Carlos Garnacho authored
This is expected to happen on wayland and other platforms with no primary selection, and just leads to the selected text being cleared after any attempt to change the text selection itself through either mouse/keyboard.
-
- 12 May, 2014 1 commit
-
-
Sébastien Wilmet authored
Returns NULL in case of a duplicated tag name in the tag table. It is still a programmer error to duplicate a name, but if it happens the behavior is a little nicer (and hopefully doesn't crash). https://bugzilla.gnome.org/show_bug.cgi?id=614717
-
- 19 Feb, 2014 1 commit
-
-
William Jon McCann authored
Instead of Return value:
-
- 07 Feb, 2014 5 commits
-
-
William Jon McCann authored
-
William Jon McCann authored
-
William Jon McCann authored
-
-
William Jon McCann authored
-
- 05 Feb, 2014 1 commit
-
-
William Jon McCann authored
-
- 01 Feb, 2014 1 commit
-
-
William Jon McCann authored
-
- 28 Jan, 2014 1 commit
-
-
William Jon McCann authored
It is a little heavy handed. The text can speak for itself.
-
- 16 Sep, 2013 2 commits
-
-
Sébastien Wilmet authored
It didn't explain the behavior when there is a non-empty buffer selection. https://bugzilla.gnome.org/show_bug.cgi?id=339539
-
Sébastien Wilmet authored
It is more logical to first delete the selection and then pasting the text. When the selection and the text contain tags, the new behavior is more natural. A segfault in paste_from_buffer() is also avoided. The segfault occurs when the text to paste is deleted because it is the selection. https://bugzilla.gnome.org/show_bug.cgi?id=339539
-
- 14 Sep, 2013 1 commit
-
-
Sébastien Wilmet authored
Move GtkWrapMode from GtkTextTag to the GtkTextView section. The wrap mode property is in the text view. Links to the "mark-set" and "mark-deleted" signals. Add a precision about gtk_text_buffer_get_iter_at_line(). Fix typo in gtk_text_tag_set_priority(). https://bugzilla.gnome.org/show_bug.cgi?id=708076
-
- 09 Jul, 2013 1 commit
-
-
- 25 Jun, 2013 1 commit
-
-
William Jon McCann authored
-