search for: g_type_boolean

Displaying 17 results from an estimated 17 matches for "g_type_boolean".

2007 Aug 15
0
Branch 'vivi' - 13 commits - doc/swfdec-sections.txt libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_types.h vivified/core vivified/ui
...ss *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); @@ -109,8 +133,16 @@ vivi_debugger_class_init (ViviDebuggerCl signals[STEP] = g_signal_new ("step", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__VOID, G_TYPE_BOOLEAN, 0); + signals[START_FRAME] = g_signal_new ("start-frame", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, SWFDEC_TYPE_AS_FRAME); + signals[FINISH_FRAME] = g_signal_new ("finish-frame", G...
2007 Aug 05
0
7 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_object.c libswfdec/swfdec.h libswfdec/swfdec_key.h libswfdec/swfdec_marshal.list libswfdec/swfdec_player.c libswfdec/swfdec_player.h libswfdec/swfdec_player_internal.h
...rns: TRUE if this handler handles the event. + **/ + signals[HANDLE_KEY] = g_signal_new ("handle-key", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (SwfdecPlayerClass, handle_key), + swfdec_accumulate_or, NULL, swfdec_marshal_BOOLEAN__UINT_BOOLEAN, + G_TYPE_BOOLEAN, 2, G_TYPE_UINT, G_TYPE_BOOLEAN); + /** * SwfdecPlayer::handle-mouse: * @player: the #SwfdecPlayer affected * @x: new x coordinate of the mouse * @y: new y coordinate of the mouse * @button: 1 if the button is pressed, 0 if not * - * this signal is emitted whenever @playe...
2007 Aug 07
0
5 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_keys.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite_movie_as.c player/swfdebug.c player/swfdec_debug_movies.c player/swfdec_debug_movies.h test/trace
...9 100644 --- a/player/swfdec_debug_movies.c +++ b/player/swfdec_debug_movies.c @@ -57,8 +57,8 @@ swfdec_debug_movies_get_column_type (Gtk return G_TYPE_POINTER; case SWFDEC_DEBUG_MOVIES_COLUMN_NAME: return G_TYPE_STRING; - case SWFDEC_DEBUG_MOVIES_COLUMN_VISIBLE: - return G_TYPE_BOOLEAN; + case SWFDEC_DEBUG_MOVIES_COLUMN_DEPTH: + return G_TYPE_INT; case SWFDEC_DEBUG_MOVIES_COLUMN_TYPE: return G_TYPE_STRING; default: @@ -72,63 +72,35 @@ static gboolean swfdec_debug_movies_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) { Swfde...
2007 Aug 21
0
Branch 'vivi' - 15 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_object.c libswfdec/swfdec_movie.c libswfdec/swfdec_script.c libswfdec/swfdec_types.h vivified/core vivified/ui
...val = FALSE; @@ -149,6 +175,12 @@ vivi_debugger_class_init (ViviDebuggerCl object_class->dispose = vivi_debugger_dispose; + signals[ADD] = g_signal_new ("add", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, SWFDEC_TYPE_AS_OBJECT); + signals[REMOVE] = g_signal_new ("remove", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, SWFDEC_TYPE_AS_OBJECT); signals[STEP] = g_signal_new ("step", G_T...
2007 Aug 07
0
13 commits - libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am libswfdec/swfdec_as_types.c libswfdec/swfdec.h libswfdec/swfdec_initialize.as
...8 @@ swfdec_player_class_init (SwfdecPlayerCl **/ signals[HANDLE_KEY] = g_signal_new ("handle-key", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (SwfdecPlayerClass, handle_key), - swfdec_accumulate_or, NULL, swfdec_marshal_BOOLEAN__UINT_BOOLEAN, - G_TYPE_BOOLEAN, 2, G_TYPE_UINT, G_TYPE_BOOLEAN); + swfdec_accumulate_or, NULL, swfdec_marshal_BOOLEAN__UINT_UINT_BOOLEAN, + G_TYPE_BOOLEAN, 3, G_TYPE_UINT, G_TYPE_UINT, G_TYPE_BOOLEAN); /** * SwfdecPlayer::handle-mouse: * @player: the #SwfdecPlayer affected @@ -1657,23 +1657,25 @@ swfdec_play...
2007 Feb 13
0
9 commits - libswfdec/js libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_codec_screen.c libswfdec/swfdec_image.c libswfdec/swfdec_script.c test/Makefile.am test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c
...S (converters)); + + if (!converters[type].new) + return NULL; + ret = converters[type].new (); + return ret; +} + /*** GTK_TREE_MODEL ***/ #if 0 @@ -259,6 +411,8 @@ swfedit_token_get_column_type (GtkTreeMo return G_TYPE_STRING; case SWFEDIT_COLUMN_VALUE_VISIBLE: return G_TYPE_BOOLEAN; + case SWFEDIT_COLUMN_VALUE_EDITABLE: + return G_TYPE_BOOLEAN; case SWFEDIT_COLUMN_VALUE: return G_TYPE_STRING; default: @@ -343,6 +497,10 @@ swfedit_token_get_value (GtkTreeModel *t g_value_init (value, G_TYPE_BOOLEAN); g_value_set_boolean (value, converters...
2007 Aug 17
0
Branch 'vivi' - 13 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_debugger.h libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_script_function.c test/trace vivified/core vivified/ui
...ss *object_class = G_OBJECT_CLASS (klass); @@ -145,10 +158,14 @@ vivi_debugger_class_init (ViviDebuggerCl signals[FINISH_FRAME] = g_signal_new ("finish-frame", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT_POINTER, G_TYPE_BOOLEAN, 2, SWFDEC_TYPE_AS_FRAME, G_TYPE_POINTER); + signals[SET_VARIABLE] = g_signal_new ("set-variable", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT_STRING_POINTER, + G_TYPE_BOOLEAN, 3, SWFDEC_TYPE_AS_OBJECT, G_TYPE_STRING...
2007 Jan 22
0
Branch 'interpreter' - 3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_swf_decoder.c test/Makefile.am test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_tag.c test/swfedit_tag.h test/swfedit_token.c test/swfedit_token.h
...ken = SWFEDIT_TOKEN (tree_model); + + return token->tokens->len; +} + +static GType +swfedit_token_get_column_type (GtkTreeModel *tree_model, gint index_) +{ + switch (index_) { + case SWFEDIT_COLUMN_NAME: + return G_TYPE_STRING; + case SWFEDIT_COLUMN_VALUE_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFEDIT_COLUMN_VALUE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfedit_token_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfeditToken *token = SWFEDIT_TOKEN...
2007 Mar 15
0
11 commits - libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_event.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_net_stream.c libswfdec/swfdec_player.c
...es_get_column_type (GtkTreeModel *tree_model, gint index_) +{ + REPORT; + switch (index_) { + case SWFDEC_DEBUG_MOVIES_COLUMN_MOVIE: + return G_TYPE_POINTER; + case SWFDEC_DEBUG_MOVIES_COLUMN_NAME: + return G_TYPE_STRING; + case SWFDEC_DEBUG_MOVIES_COLUMN_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFDEC_DEBUG_MOVIES_COLUMN_TYPE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfdec_debug_movies_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfdecDebugMovies *...
2008 Jan 07
0
12 commits - configure.ac doc/swfdec.types Makefile.am test/crashfinder.c test/dump.c test/Makefile.am test/swfdec-extract.c test/swfdec_out.c test/swfdec_out.h test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_list.c test/swfedit_list.h
...ree_model); - - REPORT; - return token->tokens->len; -} - -static GType -swfedit_token_get_column_type (GtkTreeModel *tree_model, gint index_) -{ - REPORT; - switch (index_) { - case SWFEDIT_COLUMN_NAME: - return G_TYPE_STRING; - case SWFEDIT_COLUMN_VALUE_VISIBLE: - return G_TYPE_BOOLEAN; - case SWFEDIT_COLUMN_VALUE_EDITABLE: - return G_TYPE_BOOLEAN; - case SWFEDIT_COLUMN_VALUE: - return G_TYPE_STRING; - default: - break; - } - g_assert_not_reached (); - return G_TYPE_NONE; -} - -static gboolean -swfedit_token_get_iter (GtkTreeModel *tree_model, GtkTreeIt...
2007 Feb 06
0
Branch 'interpreter' - 8 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h libswfdec/swfdec_edittext.c libswfdec/swfdec_image.c libswfdec/swfdec_image.h libswfdec/swfdec_pattern.c libswfdec/swfdec_sprite.c test/dump.c
...+ REPORT; + return token->tokens->len; +} + +static GType +swfedit_token_get_column_type (GtkTreeModel *tree_model, gint index_) +{ + REPORT; + switch (index_) { + case SWFEDIT_COLUMN_NAME: + return G_TYPE_STRING; + case SWFEDIT_COLUMN_VALUE_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFEDIT_COLUMN_VALUE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfedit_token_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfeditToken *token = S...
2007 Aug 14
0
Branch 'vivi' - 11 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am libswfdec/swfdec.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h vivified/core
...fdecAsDebuggerClass *debugger_class = SWFDEC_AS_DEBUGGER_CLASS (klass); + + object_class->dispose = vivi_debugger_dispose; + + signals[STEP] = g_signal_new ("step", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, g_cclosure_marshal_VOID__VOID, + G_TYPE_BOOLEAN, 0); + + debugger_class->step = vivi_debugger_step; +} + +static void +vivi_debugger_init (ViviDebugger *debugger) +{ +} + diff --git a/vivified/core/vivi_debugger.h b/vivified/core/vivi_debugger.h new file mode 100644 index 0000000..76873ab --- /dev/null +++ b/vivified/core/vivi_debugger.h @@...
2007 Aug 23
0
23 commits - doc/.gitignore doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_keys.c libswfdec-gtk/swfdec_gtk_keys.h libswfdec-gtk/swfdec_gtk_widget.c libswfdec/Makefile.am
...if (retval) vivi_debugger_break (VIVI_DEBUGGER (debugger)); @@ -184,10 +184,10 @@ vivi_debugger_class_init (ViviDebuggerCl signals[STEP] = g_signal_new ("step", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__VOID, G_TYPE_BOOLEAN, 0); - signals[START_FRAME] = g_signal_new ("start-frame", G_TYPE_FROM_CLASS (klass), + signals[ENTER_FRAME] = g_signal_new ("enter-frame", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT, G_TYPE_BOOLEAN, 1,...
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
...val = FALSE; @@ -149,6 +175,12 @@ vivi_debugger_class_init (ViviDebuggerCl object_class->dispose = vivi_debugger_dispose; + signals[ADD] = g_signal_new ("add", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, SWFDEC_TYPE_AS_OBJECT); + signals[REMOVE] = g_signal_new ("remove", G_TYPE_FROM_CLASS (klass), + G_SIGNAL_RUN_LAST, 0, vivi_accumulate_or, NULL, vivi_marshal_BOOLEAN__OBJECT, + G_TYPE_BOOLEAN, 1, SWFDEC_TYPE_AS_OBJECT); signals[STEP] = g_signal_new ("step", G_T...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...+ REPORT; + return token->tokens->len; +} + +static GType +swfedit_token_get_column_type (GtkTreeModel *tree_model, gint index_) +{ + REPORT; + switch (index_) { + case SWFEDIT_COLUMN_NAME: + return G_TYPE_STRING; + case SWFEDIT_COLUMN_VALUE_VISIBLE: + return G_TYPE_BOOLEAN; + case SWFEDIT_COLUMN_VALUE: + return G_TYPE_STRING; + default: + break; + } + g_assert_not_reached (); + return G_TYPE_NONE; +} + +static gboolean +swfedit_token_get_iter (GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) +{ + SwfeditToken *token = S...
2007 Jan 25
0
Branch 'interpreter' - 28 commits - configure.ac libswfdec/js libswfdec/swfdec_buffer.c libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js.h libswfdec/swfdec_js_movie.c libswfdec/swfdec_player.c
...dit_uint16_from_string, swfedit_to_string_unsigned, NULL }, + { swfedit_uint32_from_string, swfedit_to_string_unsigned, NULL }, }; /*** STRUCTS ***/ @@ -259,12 +259,12 @@ swfedit_token_get_value (GtkTreeModel *t return; case SWFEDIT_COLUMN_VALUE_VISIBLE: g_value_init (value, G_TYPE_BOOLEAN); - g_value_set_boolean (value, converters[entry->type].write != NULL); + g_value_set_boolean (value, converters[entry->type].to_string != NULL); return; case SWFEDIT_COLUMN_VALUE: g_value_init (value, G_TYPE_STRING); - if (converters[entry->type].write) -...
2019 Sep 10
3
[PATCH 0/2] Remove virt-p2v from libguestfs
Now that virt-p2v has its own repository [1] and releases [2], it is time to remove it from libguestfs. [1] https://github.com/libguestfs/virt-p2v [2] http://download.libguestfs.org/virt-p2v/ Pino Toscano (2): Remove virt-p2v Remove remaining virt-p2v bits .gitignore | 4 - Makefile.am | 7 +- bash/Makefile.am