tvkaista-0.986/Makefile tvkaista-0.987/Makefile
2#VERSION_CONTROLLED= tvkaista.sh tvkaista_gtkui.c tvkaista-helper.pl \2#VERSION_CONTROLLED= tvkaista.sh tvkaista_gtkui.c tvkaista-helper.pl \
3# tvkaista.desktop logo.pov tvkaista.png Makefile3# tvkaista.desktop logo.pov tvkaista.png Makefile
44
5VERSION=0.9865VERSION=0.987
66
7all: tvkaista_gtkui tvkaista_gtkpw7all: tvkaista_gtkui tvkaista_gtkpw
88

tvkaista-0.986/gitlog tvkaista-0.987/gitlog
1commit 627976cc76f55a1a35bd81dd7690ff2678f29d29
2Author: Tomi Ollila <too@iki.fi>
3Date: Sun Feb 7 23:01:25 2010 +0200
4
5 Versio 0.987
6
7M Makefile
8
9commit 9a4c19439820289a0337c4cc7db42444f5ed0afc
10Author: Tomi Ollila <too@iki.fi>
11Date: Sun Feb 7 23:00:48 2010 +0200
12
13 id oli vaihtunut findid:ksi (pitäiskö mätsätä epätarkemmin ?)
14
15M tvkaista-helper.pl
16
17commit 15e883464fb35181ac9392786452c633f5dd5f43
18Author: Tomi Ollila <too@iki.fi>
19Date: Sun Feb 7 22:18:43 2010 +0200
20
21 Urgh, one 'null' missing
22
23M tvkaista_gtkui.c
24
25commit daa6dfeca638c9577748cbc900da9f4940c75e27
26Author: Tomi Ollila <too@iki.fi>
27Date: Sun Jan 10 23:55:48 2010 +0200
28
29 lataajakoodia...
30
31M tvkaista_gtkdlm.c
32
33commit cb6b1db89315633abf4c54b3489966d315de8115
34Author: Muu <wubi@ubuntu.ubuntu-domain>
35Date: Sat Jan 9 20:24:28 2010 +0200
36
37 latauskilkekoodia...
38
39M tvkaista_gtkdlm.c
40
41commit a6ab721707f0cb5e17709800341c6c0a94845e53
42Author: Tomi Ollila <too@iki.fi>
43Date: Thu Jan 7 23:18:18 2010 +0200
44
45 lataus-kilkkeen alku. aButton() -rajapintakorjaus.
46
47A tvkaista_gtkdlm.c
48M tvkaista_gtkpw.c
49M tvkaista_gtkui.c
50
1commit 432e48fe9644923078590b4617e16de3ef8c274251commit 432e48fe9644923078590b4617e16de3ef8c2742
2Author: Tomi Ollila <too@iki.fi>52Author: Tomi Ollila <too@iki.fi>
3Date: Sun Jan 3 21:53:45 2010 +020053Date: Sun Jan 3 21:53:45 2010 +0200

tvkaista-0.986/tvkaista-helper.pl tvkaista-0.987/tvkaista-helper.pl
189 $title = strdecode $1 if /<title>(.*)<\/title>/;189 $title = strdecode $1 if /<title>(.*)<\/title>/;
190 $secs = secsof $1 if /<pubDate>(.*)<\/pubDate>/;190 $secs = secsof $1 if /<pubDate>(.*)<\/pubDate>/;
191 $desc = strdecode $1 if /<description>(.*)<\/description>/;191 $desc = strdecode $1 if /<description>(.*)<\/description>/;
192 $id = $1 if /<link>.*\?id=(\d+)/;192 $id = $1 if /<link>.*\?findid=(\d+)/;
193193
194 if ( /<ttl>/ ) {194 if ( /<ttl>/ ) {
195 $desc =~ /channel:\s*(.*)/;195 $desc =~ /channel:\s*(.*)/;

tvkaista-0.986/tvkaista_gtkpw.c tvkaista-0.987/tvkaista_gtkpw.c
20 * All rights reserved20 * All rights reserved
21 *21 *
22 * Created: Wed 29 Apr 2009 20:19:00 EEST too22 * Created: Wed 29 Apr 2009 20:19:00 EEST too
23 * Last modified: Mon 11 May 2009 11:06:15 EEST too23 * Last modified: Thu 07 Jan 2010 23:14:48 EET too
24 */24 */
2525
26#include <gtk/gtk.h>26#include <gtk/gtk.h>
133}133}
134134
135GtkWidget * aButton(const char * text,135GtkWidget * aButton(const char * text,
136 void (*clickmethod)(void *), gpointer clickdata)136 void (*clickmethod)(GtkWidget * w, void *),
137 gpointer clickdata)
137{138{
138 GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text));139 GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text));
139140

tvkaista-0.986/tvkaista_gtkui.c tvkaista-0.987/tvkaista_gtkui.c
922}922}
923923
924GtkWidget * aButton(const char * text,924GtkWidget * aButton(const char * text,
925 void (*clickmethod)(void *), gpointer clickdata)925 void (*clickmethod)(GtkWidget *, void *),
926 gpointer clickdata)
926{927{
927 GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text));928 GtkWidget * button = GTK_WIDGET(gtk_button_new_with_label(text));
928929
1047}1048}
10481049
1049bool relist_view_cb(void);1050bool relist_view_cb(void);
1050void update_pressed(void * uu)1051void update_pressed(GtkWidget * w, void * uu)
1051{1052{
1052 (void)uu;1053 (void)w; (void)uu;
10531054
1054 if (G.childexit_cb) {1055 if (G.childexit_cb) {
1055 ModalMessageDialog("edellinen toiminto ajossa");1056 ModalMessageDialog("edellinen toiminto ajossa");
1056 return;1057 return;
1057 }1058 }
10581059
1059 runbgcommand(G_helper, "gui", "update");1060 runbgcommand(G_helper, "gui", "update", null);
1060 G.childexit_cb = relist_view_cb;1061 G.childexit_cb = relist_view_cb;
1061}1062}
10621063
1101 speeds[speed], null);1102 speeds[speed], null);
1102}1103}
11031104
1104void play_pressed(void * uu)1105void play_pressed(GtkWidget * w, void * uu)
1105{1106{
1106 (void)uu;1107 (void)w; (void)uu;
11071108
1108 if (G.childexit_cb) {1109 if (G.childexit_cb) {
1109 ModalMessageDialog("edellinen toiminto ajossa");1110 ModalMessageDialog("edellinen toiminto ajossa");
1119 handle_program(players[indx]);1120 handle_program(players[indx]);
1120}1121}
11211122
1122void save_pressed(void * uu)1123void save_pressed(GtkWidget * w, void * uu)
1123{1124{
1124 (void)uu;1125 (void)w; (void)uu;
11251126
1126 if (G.childexit_cb) {1127 if (G.childexit_cb) {
1127 ModalMessageDialog("edellinen toiminto ajossa");1128 ModalMessageDialog("edellinen toiminto ajossa");