gtk2/tests
Christian Hergert 5e341210a1 texthistory: add GtkTextHistory helper
The GtkTextHistory helper provides the fundamental undo/redo stack that
can be integrated with other text widgets. It allows coalescing related
actions to reduce both the number of undo actions to the user as well as
the memory overhead.

A new istring helper is used by GtkTextHistory to allow for "inline
strings" that gracefully grow to using allocations with g_realloc(). This
ensure that most undo operations require no additional allocations other
than the struct for the action itself.

A queue of undoable and redoable actions are maintained and the link for
the queue is embedded in the undo action union. This allows again, for
reducing the number of allocations involved for undo operations.
2019-11-05 09:34:29 -08:00
..
dummy-headers quartz: move atom/pasteboard type conversions functions to GDK 2013-03-28 13:10:38 +01:00
visuals Convert ui files 2019-03-28 16:37:21 -04:00
3DRings.xpm Initial revision 1997-11-24 22:37:52 +00:00
animated-resizing.c tests: Stop using gtk_window_set_gravity 2019-03-26 17:55:29 -04:00
animated-revealing.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
apple-red.png Insert cast to fix warning. Assign something to old_value to quiet gcc 2003-07-03 01:02:04 +00:00
blur-performance.c gsk: Move gtk/gtkcairoblur.c to gsk/gskcairoblur.c 2016-12-20 18:01:11 +01:00
check-n.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
check-y.xpm reworked the redrawing heuristics somewhat, this fixed a bunch of existing 1999-01-12 15:12:14 +00:00
dialog.ui Drop the can-default property 2019-04-28 23:28:39 +00:00
FilesQueue.xpm Initial revision 1997-11-24 22:37:52 +00:00
frame-stats.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
frame-stats.h tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
gdkgears.c Drop GtkButtonBox 2019-02-04 12:44:55 -05:00
gnome-textfile.png Add testiconview. A test for GtkIconView ...which uses this image. 2004-08-04 14:32:45 +00:00
gradient1.png Make styleexamples work 2011-01-03 12:34:23 -05:00
gtkgears.c Avoid redefining GNU_SOURCE 2017-03-23 15:15:12 +00:00
gtkgears.h tests: Make gtkgears compile without complaints 2014-10-14 14:33:08 +02:00
listmodel.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
marble.xpm Initial revision 1997-11-24 22:37:52 +00:00
merge-1.ui Test handling of empty menus. 2003-09-30 20:55:24 +00:00
merge-2.ui Add UI manager attribute to always show image in menu items 2009-11-27 19:14:43 +01:00
merge-3.ui Change the XML format: <Root> element is replaced by <ui>, <menu> element 2003-08-27 22:22:28 +00:00
meson.build texthistory: add GtkTextHistory helper 2019-11-05 09:34:29 -08:00
Modeller.xpm Initial revision 1997-11-24 22:37:52 +00:00
motion-compression.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
mydialog2.ui Add missing templates to testdialog 2014-04-25 22:11:54 -04:00
mydialog.ui Drop the can-default property 2019-04-28 23:28:39 +00:00
overlayscroll.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
popover2.ui popover2.ui: Stop trying to set GtkModelButton:label 2019-10-09 16:57:22 +02:00
popover.ui GtkMenuSectionBox: Always show separators for labeled sections 2014-04-29 12:19:53 -04:00
popupat.ui tests: Add back testpopupat 2019-07-03 11:42:28 +02:00
portland-rose.jpg Add a test for overlay blur 2017-09-04 14:28:16 -04:00
print-editor.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
rendernode-create-tests.c rendernode: Take a graphene_point_t for the offset 2019-05-21 06:43:59 +02:00
rendernode.c tests: Use g_free(), not free() 2019-05-21 07:23:30 +02:00
scrolling-performance.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
selectionmode.ui Convert all ui files 2019-03-27 13:36:24 -04:00
showrendernode.c Remove gtk_widget_get/set_has_surface 2019-05-28 20:25:15 +00:00
simple.c tests: After 20 years, update the simple test to modern GTK 2017-11-10 14:56:42 +01:00
stresstest-toolbar.c Replace gdk_threads_add_idle* with g_idle_add() 2018-02-03 12:06:58 +01:00
syncscroll.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
test.xpm Initial revision 1997-11-24 22:37:52 +00:00
testaccel.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testadjustsize.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
testappchooser.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testappchooserbutton.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testapplication.desktop Add GtkApplication 2010-06-07 16:46:30 -04:00
testassistant.c Drop GtkAssistantPage::has-padding 2019-02-15 10:23:48 -05:00
testbaseline.c entry, spin button: Drop redundant API 2019-02-28 16:34:00 -05:00
testblur.c glglyphcache: Use stb_rect_pack for better glyph packing 2019-06-04 22:42:00 +00:00
testborderdrawing.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testbox.c Stop using gtk_widget_get_toplevel 2019-05-28 20:25:16 +00:00
testbuttons.c button: Get rid of icon size 2017-11-15 14:22:16 -05:00
testcairo.c Drop an unintentional use of ::destroy-event 2018-01-02 18:14:13 -05:00
testcalendar.c Drop the can-default property 2019-04-28 23:28:39 +00:00
testcellarea.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
testcellrenderertext.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testcenterbox.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testclipboard2.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
testcolorchooser2.c entry, spin button: Drop redundant API 2019-02-28 16:34:00 -05:00
testcolorchooser2.ui Add a color editor test 2016-01-23 18:16:51 -05:00
testcolorchooser.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testcombo.c testcombo fixup 2019-01-23 22:52:16 -05:00
testcombochange.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testdialog.c image: Remove icon-size argument from icon setters 2017-11-15 14:22:17 -05:00
testdnd2.c icontheme: Remove gtk_icon_info_load_texture 2019-09-09 17:36:26 +02:00
testdnd.c tests: Stop using gtk_window_set_position 2019-05-29 18:04:08 +00:00
testellipsise.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testemblems.c image: Remove icon-size argument from icon setters 2017-11-15 14:22:17 -05:00
testentrycompletion.c entry, spin button: Drop redundant API 2019-02-28 16:34:00 -05:00
testentryicons.c Rename GtkGestureMultiPress to GtkGestureClick 2019-05-29 17:10:46 +00:00
testerrors.c tests: Test the x11-specific error trap api 2017-11-17 00:08:24 -05:00
testexpand.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testexpander.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testfilechooser.c Stop using gtk_widget_get_toplevel 2019-05-28 20:25:16 +00:00
testfilechooserbutton.c Stop using gtk_widget_get_toplevel 2019-05-28 20:25:16 +00:00
testflowbox.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
testfontchooser.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testfontchooserdialog.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testfontoptions.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testframe.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testfullscreen.c Stop using gtk_widget_get_surface 2019-05-28 20:25:16 +00:00
testgaction.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testgiconpixbuf.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testglarea.c Update callers 2017-01-19 13:50:17 -05:00
testglblending.c Drop GtkGLArea::has-alpha 2018-01-17 12:01:25 -05:00
testgmenu.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testgrid.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
testgridbaseline.c tests: Add testgridbaseline 2017-10-11 08:50:18 +02:00
testgrouping.c Replace all remaining uses of delete-event 2018-01-16 14:14:09 -05:00
testgtk2.css testgtk: fix css 2016-10-16 18:17:21 +02:00
testgtk.1 Added gtk/testgtk.1 man page for testgtk 1998-03-24 04:01:21 +00:00
testgtk.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
testgtk.css And another keybinding leftover 2019-02-22 00:07:35 +01:00
testheaderbar.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testheightforwidth.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testicontheme.c testicontheme: Remove useless function 2019-10-18 08:53:23 -05:00
testiconview-keynav.c tests: Stop using ::focus-in/out-event 2018-01-16 14:14:10 -05:00
testiconview.c Rename GtkGestureMultiPress to GtkGestureClick 2019-05-29 17:10:46 +00:00
testimage.c icontheme: Remove gtk_icon_info_load_texture 2019-09-09 17:36:26 +02:00
testinfobar.c testinfobar: Test more properties, response signal 2018-03-12 19:16:07 +00:00
testkineticscrolling.c Replace all remaining uses of delete-event 2018-01-16 14:14:09 -05:00
testlevelbar.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testlist2.c testlist2: quit on window close 2019-09-09 17:36:27 +02:00
testlist3.c gdk: Rename GdkDragContext to GdkDrag 2018-07-02 14:59:26 +02:00
testlist4.c Add test for GtkActionable GtkListBoxRow. 2018-01-02 17:56:10 -08:00
testlist.c stylecontext: Port to use display instead of screen 2017-10-31 03:05:54 +01:00
testlockbutton.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testlogout.c Stop using gtk_widget_get_toplevel 2019-05-28 20:25:16 +00:00
testmenubutton.c testmenubutton: Fix inverted keynav in the GtkMenu 2017-10-08 13:17:04 +01:00
testmodelbutton.c testmodelbutton: Remove toggles for removed properties 2019-10-09 16:57:22 +02:00
testmountoperation.c Update callers 2017-01-19 13:50:17 -05:00
testnoscreen.c window: Turn gtk_window_set_screen() into gtk_window_set_display() 2017-10-31 08:25:37 +01:00
testnotebookdnd.c tests: Stop using gtk_window_move 2019-03-26 17:55:29 -04:00
testnouiprint.c Bump GLib dependency to 2.35 2012-11-04 13:01:38 -05:00
testorientable.c Drop GtkButtonBox 2019-02-04 12:44:55 -05:00
testoutsetshadowdrawing.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testoverlay.c Rename things 2019-04-08 08:42:25 -04:00
testoverlaystyleclass.c testoverlaystyleclass: Fix CSS snippet 2018-08-27 18:13:01 +02:00
testpixbuf-scale.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testplacesview.c tests: Stop using the delete-event signal 2018-01-16 14:14:09 -05:00
testpopover.c Add nesting popover menus 2019-09-08 19:02:06 -04:00
testpopupat.c tests: Add back testpopupat 2019-07-03 11:42:28 +02:00
testprint.c Update callers 2017-01-19 13:50:17 -05:00
testprintfileoperation.c Further updates from the GtkPrintContext functions rename. 2006-05-31 14:06:02 +00:00
testprintfileoperation.h perf/widgets.h tests/print-editor.c tests/prop-editor.h 2008-05-23 14:55:43 +00:00
testrc.c Update callers 2017-01-19 13:50:17 -05:00
testrevealer2.c Rename GtkHeaderBar::show-close-button 2017-12-07 22:37:06 -05:00
testrevealer.c testrevealer: Cover the new transitions 2019-03-29 10:54:45 -04:00
testscale.c testscale: Properly call gtk_main_quit 2019-08-09 14:30:01 +02:00
testscrolledge.c tests: Remove some unneeded gtk_widget_show calls 2018-01-19 23:29:13 +03:00
testscrolledwindow.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
testselectionmode.c Rename GtkHeaderBar::show-close-button 2017-12-07 22:37:06 -05:00
testsensitive.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testspinbutton.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testsplitheaders.c Fix fallout from the show-close-button rename 2017-12-08 11:29:14 -05:00
testsplitheaders.ui tests: Update GtkGrid definitions in UI files 2019-04-05 00:20:45 +01:00
teststack.c Fix teststack 2019-04-03 15:10:10 +00:00
teststackedheaders.c meson: tests: make tests find resources from the source dir 2017-05-03 15:10:53 +01:00
teststackedheaders.ui Convert all ui files 2019-03-27 13:36:24 -04:00
testswitch.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testtexthistory.c texthistory: add GtkTextHistory helper 2019-11-05 09:34:29 -08:00
testtexture.c Remove gtk_widget_get/set_has_surface 2019-05-28 20:25:15 +00:00
testtextview.c textview: use GtkTextViewChild for border and overlay children 2019-10-04 14:45:43 -07:00
testtoolbar2.c button: Get rid of icon size 2017-11-15 14:22:16 -05:00
testtoolbar.c Stop using gtk_widget_get_toplevel 2019-05-28 20:25:16 +00:00
testtooltips.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testtreechanging.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00
testtreecolumns.c Drop GtkButtonBox 2019-02-04 12:44:55 -05:00
testtreecolumnsizing.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testtreednd.c dnd: Make drag-data-received use a GdkDrop 2018-06-18 23:49:52 +02:00
testtreeedit.c Rename GtkGestureMultiPress to GtkGestureClick 2019-05-29 17:10:46 +00:00
testtreeflow.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testtreefocus.c Stop using gtk_box_pack_end 2019-01-23 19:30:46 -05:00
testtreelistmodel.c entry, spin button: Drop redundant API 2019-02-28 16:34:00 -05:00
testtreemodel.c Update callers 2017-01-19 13:50:17 -05:00
testtreepos.c Rename GtkGestureMultiPress to GtkGestureClick 2019-05-29 17:10:46 +00:00
testtreesort.c Fix testtreesort warnings 2019-02-19 00:25:59 -05:00
testtreeview-plan.txt handle case where there are no rows in the model 2001-01-09 17:45:34 +00:00
testtreeview.c contentformats: Rename GtkTargetList 2017-11-20 23:12:33 +01:00
testverticalcells.c enums: Change GtkIconSize values 2017-11-15 14:22:17 -05:00
testvolumebutton.c demos: Stop using gtk_button_clicked 2019-05-18 14:33:41 -04:00
testwidgetfocus.c Remove gtk_widget_get/set_has_surface 2019-05-28 20:25:15 +00:00
testwidgettransforms.c widget: Fix transform refcounting in allocate() 2019-05-29 16:34:56 +02:00
testwindowdrag.c Rename GtkGestureMultiPress to GtkGestureClick 2019-05-29 17:10:46 +00:00
testwindowsize.c label: Remove "line" from wrap properties 2019-09-09 17:36:23 +02:00
treestoretest.c entry, spin button: Drop redundant API 2019-02-28 16:34:00 -05:00
variable.c tests/animated-resizing: Split frame statistics out into a separate file 2013-04-23 14:04:40 -04:00
variable.h Fix another header guard oversight 2014-12-08 19:34:23 -05:00
video-timer.c Remove gtk_widget_show_all 2017-01-20 21:37:04 +01:00