gtk/demos/gtk-demo
Benjamin Otte df5ee78c28 gtk-demo: Update listbox example with longer list
Add all 388 tweets of the @GTKtoolkit account. This shows the
performance behavior of the listbox (not good with that many rows) and
allows us to quickly notice when things get worse (or better).

And just so I have a place where I can dump how I generated this file:

First, I got Timm Bäder to download me the json for the twitter feed
into a file gtk.json, then I ran the jq tool on it like this:

jq ".[] | if .retweeted_status then .retweeted_status.user.name + \"|\"
+ .retweeted_status.user.screen_name else .user.name + \"|\" +
.user.screen_name end + \"|\" + .text" gtk.json | cat -n | sed
"s/\\s*\([0-9]*\)\t\"\(.*\)\"/\\1|\\2/" > messages.start

jq ".[] | .created_at" gtk.json | sed "s/\"\(.*\)\"/\1/" | while read
in; do date +%s -d "$in"; done > dates

jq ".[] | \"0|\" + if .retweeted_status then .user.screen_name else \"\"
end + \"|\" + (.favorite_count | tostring) + \"|\" + (.retweet_count |
tostring)" gtk.json | sed "s/\"\(.*\)\"/\\1/" > messages.end

paste -d\| messages.start dates messages.end > messages.txt

This whole machinery of going through 3 intermediate files was only
necessary to onvert the dates from ISO format to unix timestamps,
otherwise this could have been a single line.
2015-08-24 21:28:53 +02:00
..
data Provide symbolic variants of app icons 2014-11-28 16:08:56 -05:00
alias_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
all_scroll_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
alphatest.png
apple-red.png
application-standalone.c Forgotten file 2012-01-15 14:46:31 -05:00
application.c gtk-demo: Use title case consistently 2013-12-12 16:28:07 -05:00
application.ui gtk-demo: Use primary-toolbar style in the application example 2014-01-12 22:25:19 -05:00
assistant.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
background.jpg
brick2.png gtk-demo: Add demo of hidpi css assets via -gtk-scaled() 2013-07-03 14:39:25 +02:00
brick.png gtk-demo: Add demo of hidpi css assets via -gtk-scaled() 2013-07-03 14:39:25 +02:00
builder.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
button_box.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
cell_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
changedisplay.c Use standard cursor names 2015-07-26 01:45:06 -04:00
clipboard.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
col_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
colorsel.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
combobox.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
copy_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
crosshair_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
css_accordion.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
css_accordion.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
css_basics.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
css_basics.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
css_multiplebgs.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
css_multiplebgs.css gtk-demo: Add demo of hidpi css assets via -gtk-scaled() 2013-07-03 14:39:25 +02:00
css_pixbufs.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
css_pixbufs.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
css_shadows.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
css_shadows.css gtk3-demo: Fix up resource handling 2013-02-14 23:01:19 +01:00
cssview.css gtk-demo: move styling for the CSS editor to a separate file 2012-05-30 13:17:23 -04:00
cursors.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
decor1.png gtk3-demo: Add another overlay demo 2015-07-28 22:47:57 -04:00
decor2.png gtk3-demo: Add another overlay demo 2015-07-28 22:47:57 -04:00
default_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
demo.gresource.xml gtk-demo: Add a model button demo 2015-08-19 23:18:01 -04:00
demo.ui gtk-demo: Many cosmetic fixes 2015-06-19 21:59:15 -04:00
dialog.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
drawingarea.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
e_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
editable_cells.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
entry_buffer.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
entry_completion.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
event_axes.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
ew_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
expander.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
filtermodel.c gtk-demo: Expand the filter model example 2015-07-24 14:27:08 -04:00
filtermodel.ui gtk-demo: Expand the filter model example 2015-07-24 14:27:08 -04:00
floppybuddy.gif
flowbox.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
font_features.c gtk3-demo: Group pango demos together 2015-06-28 22:46:53 -07:00
font-features.ui gtk3-demo: Don't use xalign on GtkCheckButton 2015-07-23 17:37:49 +02:00
geninclude.pl.in Avoid perl warnings 2013-02-01 21:58:34 -05:00
gestures.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
glarea-fragment.glsl demo: Move the GLSL shaders to resources 2015-02-09 19:10:31 +00:00
glarea-vertex.glsl demo: Move the GLSL shaders to resources 2015-02-09 19:10:31 +00:00
glarea.c gtk-demo: Many cosmetic fixes 2015-06-19 21:59:15 -04:00
gnome-applets.png
gnome-calendar.png
gnome-foot.png
gnome-fs-directory.png
gnome-fs-regular.png
gnome-gimp.png
gnome-gmush.png
gnome-gsame.png
gnu-keys.png
grab_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
grabbing_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
gtk3-demo.desktop Add a main category to desktop files 2015-05-14 15:28:22 -04:00
hand_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
headerbar.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
help_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
hypertext.c gtk-demo: Rename textview demos to "Text View" 2015-07-29 21:43:20 -04:00
iconview_edit.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
iconview.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
images.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
infobar.c gtk-demo: Make the info bar example wrap 2015-06-28 17:41:44 -04:00
links.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
list_store.c gtk-demo: Many cosmetic fixes 2015-06-19 21:59:15 -04:00
listbox.c gtk-demo: Order tweets newest first in listbox example 2015-08-24 21:28:53 +02:00
listbox.ui Replace all margin-left and margin-right with margin-start and margin-end 2013-11-15 02:54:35 +01:00
main.c gtk-demo: Use top/bottom-margin for text views 2015-08-17 01:40:32 -04:00
main.ui gtk-demo: Use top/bottom-margin for text views 2015-08-17 01:40:32 -04:00
Makefile.am gtk-demo: Add a model button demo 2015-08-19 23:18:01 -04:00
makefile.msc.in Fix the build 2013-06-30 11:30:37 -04:00
markup.c gtk-demo: Rename textview demos to "Text View" 2015-07-29 21:43:20 -04:00
markup.txt gtk-demo: Tweak the markup demo 2015-07-29 21:43:13 -04:00
menus.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
menus.ui GtkBuilder: change format of menus 2012-01-25 19:42:19 -05:00
messages.txt gtk-demo: Update listbox example with longer list 2015-08-24 21:28:53 +02:00
modelbutton.c gtk-demo: Add a model button demo 2015-08-19 23:18:01 -04:00
modelbutton.ui gtk-demo: Add a model button demo 2015-08-19 23:18:01 -04:00
move_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
n_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
ne_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
nesw_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
no_drop_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
none_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
not_allowed_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
ns_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
nw_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
nwse_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
offscreen_window2.c offscreen_window: Remove deprecated API calls 2015-07-20 21:02:58 +02:00
offscreen_window.c offscreen_window: Remove deprecated API calls 2015-07-20 21:02:58 +02:00
org.gtk.Demo.gschema.xml Add an example for settings<>action integration 2012-01-24 00:07:03 -05:00
overlay2.c gtk3-demo: Add another overlay demo 2015-07-28 22:47:57 -04:00
overlay.c gtk3-demo: Add another overlay demo 2015-07-28 22:47:57 -04:00
pagesetup.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
panes.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
pickers.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
pixbufs.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
pointer_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
popover.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
popover.ui gtk-demo: Fix crash after running popovers demo 2014-01-22 17:10:06 +01:00
printing.c gtk3-demo: Add a page setup example 2015-05-12 08:20:35 -04:00
progress_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
reset.css gtk-demo: Make CSS a resource 2012-05-30 13:17:22 -04:00
revealer.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
revealer.ui gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
rotated_text.c gtk3-demo: Group pango demos together 2015-06-28 22:46:53 -07:00
row_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
s_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
scale.c gtk-demo: Add a scale example 2015-07-31 16:36:02 -04:00
scale.ui gtk-demo: Add a scale example 2015-07-31 16:36:02 -04:00
se_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
search_entry2.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
search_entry.c gtk-demo: Properly clean up timeouts in search entry demo 2015-07-21 21:12:36 -04:00
sidebar.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
sizegroup.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
spinbutton.c gtk-demo: Add a spin button example 2015-06-28 17:40:58 -04:00
spinbutton.ui gtk-demo: Add a spin button example 2015-06-28 17:40:58 -04:00
spinner.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
stack.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
stack.ui gtk3-demo: Don't set xalign of GtkCheckButton 2015-07-22 06:58:08 +02:00
sw_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
text_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
textmask.c gtk3-demo: Group pango demos together 2015-06-28 22:46:53 -07:00
textscroll.c gtk-demo: Rename textview demos to "Text View" 2015-07-29 21:43:20 -04:00
textview.c gtk-demo: Rename textview demos to "Text View" 2015-07-29 21:43:20 -04:00
theming_style_classes.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
theming.ui gtk-demo: Add a theming example 2012-05-18 01:23:45 -04:00
toolpalette.c gtk-demo: Only show non-symbolic icons in toolpalette 2014-06-30 13:28:46 -04:00
transparent.c gtk-demo: Move the transparent example under Overlay 2015-07-29 21:43:28 -04:00
tree_store.c gtk-demo: Cosmetic changes 2015-06-28 17:41:35 -04:00
vertical_text_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
w_resize_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
wait_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
zoom_in_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00
zoom_out_cursor.png gtk-demo: Don't rely on gdk_cursor_get_image 2015-05-11 23:06:50 -04:00