search for: print_trac

Displaying 9 results from an estimated 9 matches for "print_trac".

Did you mean: print_trace
2007 Aug 22
0
5 commits - libswfdec/swfdec_as_object.c NEWS player/swfplay.c
....c @@ -59,6 +59,15 @@ view_swf (SwfdecPlayer *player, gboolean } static void +do_fscommand (SwfdecPlayer *player, const char *command, const char *value, gpointer window) +{ + if (g_str_equal (command, "quit")) { + gtk_main_quit (); + } + /* FIXME: add more */ +} + +static void print_trace (SwfdecPlayer *player, const char *message, gpointer unused) { g_print ("%s\n", message); @@ -93,7 +102,7 @@ main (int argc, char *argv[]) SwfdecPlayer *player; GError *error = NULL; gboolean use_image = FALSE, no_sound = FALSE; - gboolean trace = FALSE; + gboolean trace =...
2008 Jun 24
9
ActiveRecord 2.1 Migration support
Hi all, I am in the process of adding Migration support to the Ingres ActiveRecord adapter and have run in to a problem. During the call to create_table the Ingres adapter some how causes ruby to blow the stack and coredump/segv. I have tracked down the problem down to "add_column_options!" in "lib/active_record/connection_adapters/abstract/schema_statements.rb".
2008 Jun 24
9
ActiveRecord 2.1 Migration support
Hi all, I am in the process of adding Migration support to the Ingres ActiveRecord adapter and have run in to a problem. During the call to create_table the Ingres adapter some how causes ruby to blow the stack and coredump/segv. I have tracked down the problem down to "add_column_options!" in "lib/active_record/connection_adapters/abstract/schema_statements.rb".
2007 Aug 02
1
player/swfplay.c
...hor: Benjamin Otte <otte at gnome.org> Date: Thu Aug 2 11:54:25 2007 +0200 make swfplay open normal files again and not require complete URLs diff --git a/player/swfplay.c b/player/swfplay.c index 4ebf668..c4f8523 100644 --- a/player/swfplay.c +++ b/player/swfplay.c @@ -64,6 +64,26 @@ print_trace (SwfdecPlayer *player, const g_print ("%s\n", message); } +static char * +sanitize_url (const char *s) +{ + SwfdecURL *url; + + url = swfdec_url_new (s); + if (g_str_equal (swfdec_url_get_protocol (url), "error")) { + char *dir, *full; + if (g_path_is_absolute (s...
2007 Aug 24
0
2 commits - player/swfplay.c
...(loop); } /* FIXME: add more */ } @@ -150,6 +149,7 @@ main (int argc, char *argv[]) g_object_unref (loader); return 1; } + loop = g_main_loop_new (NULL, TRUE); player = swfdec_gtk_player_new (NULL); if (trace) g_signal_connect (player, "trace", G_CALLBACK (print_trace), NULL); @@ -171,9 +171,11 @@ main (int argc, char *argv[]) swfdec_gtk_player_set_playing (SWFDEC_GTK_PLAYER (player), TRUE); - gtk_main (); + g_main_loop_run (loop); g_object_unref (player); + g_main_loop_unref (loop); + loop = NULL; player = NULL; return 0; }
2007 Aug 09
0
Branch 'vivi' - 12 commits - libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec/Makefile.am libswfdec/swfdec_as_array.h libswfdec/swfdec_as_context.c libswfdec/swfdec_as_context.h libswfdec/swfdec_as_debugger.c
...- a/player/swfplay.c +++ b/player/swfplay.c @@ -136,7 +136,7 @@ main (int argc, char *argv[]) g_object_unref (loader); return 1; } - player = swfdec_gtk_player_new (); + player = swfdec_gtk_player_new (NULL); if (trace) g_signal_connect (player, "trace", G_CALLBACK (print_trace), NULL); diff --git a/vivified/core/vivi_application.c b/vivified/core/vivi_application.c index a56ecab..dd85bc4 100644 --- a/vivified/core/vivi_application.c +++ b/vivified/core/vivi_application.c @@ -97,7 +97,7 @@ vivi_application_class_init (ViviApplica static void vivi_application_init (...
2007 Mar 27
0
15 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/.gitignore libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h
...ayer *player, double s } static void -play_swf (SwfdecPlayer *player, double speed) -{ - GSource *source; - - source = swfdec_iterate_source_new (player, speed); - g_source_attach (source, NULL); - - gtk_main (); - - g_source_destroy (source); - g_source_unref (source); -} - -static void print_trace (SwfdecPlayer *player, const char *message, gpointer unused) { g_print ("%s\n", message); @@ -133,7 +115,7 @@ main (int argc, char *argv[]) g_error_free (error); return 1; } - player = swfdec_player_new (); + player = swfdec_gtk_player_new (); if (trace) g_sign...
2007 Mar 28
2
[PATCH 2/3] User-space grant table device - main driver
A character device for accessing (in user-space) pages that have been granted by other domains. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Aug 22
0
163 commits - autogen.sh configure.ac doc/swfdec-sections.txt libswfdec-gtk/swfdec_gtk_player.c libswfdec-gtk/swfdec_gtk_player.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec-gtk/swfdec_source.c libswfdec/Makefile.am libswfdec/swfdec_as_array.c
...- a/player/swfplay.c +++ b/player/swfplay.c @@ -136,7 +136,7 @@ main (int argc, char *argv[]) g_object_unref (loader); return 1; } - player = swfdec_gtk_player_new (); + player = swfdec_gtk_player_new (NULL); if (trace) g_signal_connect (player, "trace", G_CALLBACK (print_trace), NULL); diff --git a/vivified/core/vivi_application.c b/vivified/core/vivi_application.c index a56ecab..dd85bc4 100644 --- a/vivified/core/vivi_application.c +++ b/vivified/core/vivi_application.c @@ -97,7 +97,7 @@ vivi_application_class_init (ViviApplica static void vivi_application_init (...