search for: g_class

Displaying 20 results from an estimated 24 matches for "g_class".

Did you mean: r_class
2007 Oct 17
0
4 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_interpret.h libswfdec/swfdec_movie.c libswfdec/swfdec_system_as.c libswfdec/swfdec_text_field_movie.c test/trace
...*movie) } static void +swfdec_text_field_movie_finish_movie (SwfdecMovie *movie) +{ + SwfdecTextFieldMovie *text = SWFDEC_TEXT_FIELD_MOVIE (movie); + + swfdec_text_field_movie_set_listen_variable (text, NULL); +} + +static void swfdec_text_field_movie_class_init (SwfdecTextFieldMovieClass * g_class) { GObjectClass *object_class = G_OBJECT_CLASS (g_class); @@ -629,6 +636,7 @@ swfdec_text_field_movie_class_init (SwfdecTextFieldMovieClass * g_class) asobject_class->mark = swfdec_text_field_movie_mark; movie_class->init_movie = swfdec_text_field_movie_init_movie; + movie_class-...
2007 Mar 09
0
libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h
...; + break; + } + } + g_array_free (array, TRUE); + } + } + g_free (root->root_actions); + root->root_actions = NULL; + } + + G_OBJECT_CLASS (swfdec_root_sprite_parent_class)->dispose (object); +} + +static void +swfdec_root_sprite_class_init (SwfdecRootSpriteClass * g_class) +{ + GObjectClass *object_class = G_OBJECT_CLASS (g_class); + + object_class->dispose = swfdec_root_sprite_dispose; +} + +static void +swfdec_root_sprite_init (SwfdecRootSprite * root_sprite) +{ +} + +void +swfdec_root_sprite_add_root_action (SwfdecRootSprite *root, + SwfdecRootActionType...
2007 Mar 02
0
12 commits - libswfdec/Makefile.am libswfdec/swfdec_audio_flv.c libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_js.c libswfdec/swfdec_js.h libswfdec/swfdec_js_video.c libswfdec/swfdec_loader.c libswfdec/swfdec_loader_internal.h
...a 100644 --- a/libswfdec/swfdec_loadertarget.c +++ b/libswfdec/swfdec_loadertarget.c @@ -23,6 +23,7 @@ #include "swfdec_loadertarget.h" #include "swfdec_loader_internal.h" +#include "swfdec_player_internal.h" static void swfdec_loader_target_base_init (gpointer g_class) @@ -95,6 +96,7 @@ swfdec_loader_target_parse_default (Swfd swfdec_loader_error_locked (loader, "Internal error"); return; } + target = loader->target; } klass = SWFDEC_DECODER_GET_CLASS (dec); g_return_if_fail (klass->parse); @@ -115,11 +117,17 @@ swf...
2007 Jan 16
0
9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_audio_stream.c libswfdec/swfdec_audio_stream.h libswfdec/swfdec_cache.c libswfdec/swfdec_cached.c libswfdec/swfdec_cached.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_image.c
...ct); - if (sound->decoded) - swfdec_buffer_unref (sound->decoded); + if (sound->encoded) + swfdec_buffer_unref (sound->encoded); G_OBJECT_CLASS (swfdec_sound_parent_class)->dispose (object); } @@ -49,8 +60,11 @@ static void swfdec_sound_class_init (SwfdecSoundClass * g_class) { GObjectClass *object_class = G_OBJECT_CLASS (g_class); + SwfdecCachedClass *cached_class = SWFDEC_CACHED_CLASS (g_class); object_class->dispose = swfdec_sound_dispose; + + cached_class->unload = swfdec_sound_unload; } static void @@ -67,8 +81,6 @@ tag_func_sound_stream_block...
2007 Jun 27
0
Branch 'as' - 3 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_js_video.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_video_movie_as.c libswfdec/swfdec_video_movie.c
...+swfdec_video_movie_init_movie (SwfdecMovie *movie) +{ + SwfdecPlayer *player = SWFDEC_PLAYER (SWFDEC_AS_OBJECT (movie)->context); + + swfdec_as_object_set_constructor (SWFDEC_AS_OBJECT (movie), player->Video, FALSE); +} + +static void swfdec_video_movie_class_init (SwfdecVideoMovieClass * g_class) { GObjectClass *object_class = G_OBJECT_CLASS (g_class); @@ -104,6 +113,7 @@ swfdec_video_movie_class_init (SwfdecVid movie_class->update_extents = swfdec_video_movie_update_extents; movie_class->render = swfdec_video_movie_render; + movie_class->init_movie = swfdec_video_mov...
2007 Jun 06
0
Branch 'as' - libswfdec/Makefile.am libswfdec/swfdec_root_movie.c libswfdec/swfdec_root_sprite.c libswfdec/swfdec_root_sprite.h libswfdec/swfdec_swf_decoder.c libswfdec/swfdec_swf_decoder.h libswfdec/swfdec_tag.c
...; - break; - } - } - g_array_free (array, TRUE); - } - } - g_free (root->root_actions); - root->root_actions = NULL; - } - - G_OBJECT_CLASS (swfdec_root_sprite_parent_class)->dispose (object); -} - -static void -swfdec_root_sprite_class_init (SwfdecRootSpriteClass * g_class) -{ - GObjectClass *object_class = G_OBJECT_CLASS (g_class); - - object_class->dispose = swfdec_root_sprite_dispose; -} - -static void -swfdec_root_sprite_init (SwfdecRootSprite * root_sprite) -{ -} - -void -swfdec_root_sprite_add_root_action (SwfdecRootSprite *root, - SwfdecRootActionType...
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
...+ SwfdecGtkPlayer *player = SWFDEC_GTK_PLAYER (object); + + swfdec_gtk_player_set_playing (player, FALSE); + g_assert (player->playback == NULL); + + G_OBJECT_CLASS (swfdec_gtk_player_parent_class)->dispose (object); +} + +static void +swfdec_gtk_player_class_init (SwfdecGtkPlayerClass * g_class) +{ + GObjectClass *object_class = G_OBJECT_CLASS (g_class); + + object_class->dispose = swfdec_gtk_player_dispose; + object_class->get_property = swfdec_gtk_player_get_property; + object_class->set_property = swfdec_gtk_player_set_property; + + g_object_class_install_property (object...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
..._object_unref (widget->app); - widget->app = NULL; - } + vivi_widget_set_application (widget, NULL); + G_OBJECT_CLASS (vivi_widget_parent_class)->dispose (object); } @@ -149,6 +169,12 @@ vivi_widget_class_init (ViviWidgetClass GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (g_class); object_class->dispose = vivi_widget_dispose; + object_class->get_property = vivi_widget_get_property; + object_class->set_property = vivi_widget_set_property; + + g_object_class_install_property (object_class, PROP_APP, + g_param_spec_object ("application", "a...
2007 Dec 10
0
6 commits - libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_color_as.c libswfdec/swfdec_graphic_movie.c libswfdec/swfdec_image_decoder.c libswfdec/swfdec_morph_movie.c libswfdec/swfdec_movie_as_drawing.c
...wfdec_movie_queue_update (movie, SWFDEC_MOVIE_INVALID_CONTENTS); + swfdec_movie_queue_update (movie, SWFDEC_MOVIE_INVALID_EXTENTS); g_object_unref (movie->graphic); movie->graphic = g_object_ref (graphic); } @@ -91,6 +102,7 @@ swfdec_graphic_movie_class_init (SwfdecGraphicMovieClass * g_class) movie_class->update_extents = swfdec_graphic_movie_update_extents; movie_class->replace = swfdec_graphic_movie_replace; movie_class->render = swfdec_graphic_movie_render; + movie_class->invalidate = swfdec_graphic_movie_invalidate; movie_class->contains = swfdec_graphic...
2006 Nov 17
1
gjournal on 6.x wont build
Hi all, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed
2007 Nov 28
0
59 commits - libswfdec-gtk/swfdec_gtk_widget.c libswfdec/swfdec_as_object.c libswfdec/swfdec_as_object.h libswfdec/swfdec_button.c libswfdec/swfdec_button.h libswfdec/swfdec_button_movie.c libswfdec/swfdec_button_movie.h libswfdec/swfdec_event.c
...c_button_movie_change_mouse (movie, mouse_in, button); + + return swfdec_button_movie_hit_test (SWFDEC_BUTTON_MOVIE (movie), x, y) ? movie : NULL; } -#endif static void swfdec_button_movie_dispose (GObject *object) @@ -291,6 +301,7 @@ swfdec_button_movie_class_init (SwfdecButtonMovieClass * g_class) object_class->dispose = swfdec_button_movie_dispose; movie_class->init_movie = swfdec_button_movie_init_movie; movie_class->update_extents = swfdec_button_movie_update_extents; + movie_class->contains = swfdec_button_movie_contains; movie_class->mouse_events = swfdec_...
2007 Oct 15
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_codec_audio.c libswfdec/swfdec_codec_video.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...*object) } g_slist_free (text->formats); + cairo_destroy (text->cr); + cairo_surface_destroy (text->surface); + G_OBJECT_CLASS (swfdec_text_field_movie_parent_class)->dispose (object); } @@ -693,6 +678,8 @@ swfdec_text_field_movie_class_init (SwfdecTextFieldMovieClass * g_class) static void swfdec_text_field_movie_init (SwfdecTextFieldMovie *text) { + text->surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 1, 1); + text->cr = cairo_create (text->surface); } void diff --git a/libswfdec/swfdec_text_field_movie.h b/libswfdec/swfdec_text_field_movie...
2013 Jul 07
1
Shutdown hangs on unmount of a gjournaled file system in 8-Stable
The problem occurs after an update of 8-stable from r248120 to r252111. Sometimes shutdown hangs: Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process `bufdaemon' to stop...done Waiting (max 60 seconds) for system process `syncer' to stop... Syncing disks, vnodes remaining...0 0 done All buffers synced. >From the kernel
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
...o_movie.c index cf74a92..ff1769f 100644 --- a/libswfdec/swfdec_video_movie.c +++ b/libswfdec/swfdec_video_movie.c @@ -94,18 +94,14 @@ swfdec_video_movie_iterate_end (SwfdecMo return TRUE; } -extern const JSClass video_class; static void swfdec_video_movie_class_init (SwfdecVideoMovieClass * g_class) { GObjectClass *object_class = G_OBJECT_CLASS (g_class); - SwfdecScriptableClass *scriptable_class = SWFDEC_SCRIPTABLE_CLASS (g_class); SwfdecMovieClass *movie_class = SWFDEC_MOVIE_CLASS (g_class); object_class->dispose = swfdec_video_movie_dispose; - scriptable_class->jsclas...
2007 Oct 18
0
18 commits - doc/swfdec-sections.txt libswfdec/Makefile.am libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_flash_security.c
...ut->iterate) { - movie->input->iterate (movie->input); + if (video->input->set_ratio) { + video->needs_update = TRUE; + swfdec_movie_invalidate (movie); } - - return TRUE; } static void @@ -114,7 +133,7 @@ swfdec_video_movie_class_init (SwfdecVideoMovieClass * g_class) movie_class->update_extents = swfdec_video_movie_update_extents; movie_class->render = swfdec_video_movie_render; movie_class->init_movie = swfdec_video_movie_init_movie; - movie_class->iterate_end = swfdec_video_movie_iterate_end; + movie_class->set_ratio = swfdec_video_...
2007 Oct 22
0
12 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_html_parser.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...WFDEC_AS_VALUE_SET_OBJECT (&argv[1], SWFDEC_AS_OBJECT (movie)); + swfdec_as_object_call (SWFDEC_AS_OBJECT (movie), + SWFDEC_AS_STR_broadcastMessage, 2, argv, NULL); + + text->scroll_changed = FALSE; + } +} + +static void swfdec_text_field_movie_class_init (SwfdecTextFieldMovieClass * g_class) { GObjectClass *object_class = G_OBJECT_CLASS (g_class); @@ -952,6 +989,7 @@ swfdec_text_field_movie_class_init (SwfdecTextFieldMovieClass * g_class) movie_class->init_movie = swfdec_text_field_movie_init_movie; movie_class->finish_movie = swfdec_text_field_movie_finish_movie; +...
2007 Jan 26
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c
...swfdec_player_manager.c b/player/swfdec_player_manager.c index d51e49b..82d55ed 100644 --- a/player/swfdec_player_manager.c +++ b/player/swfdec_player_manager.c @@ -137,7 +137,7 @@ swfdec_player_manager_class_init (Swfdec signals[MESSAGE] = g_signal_new ("message", G_TYPE_FROM_CLASS (g_class), G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__UINT_POINTER, /* FIXME */ - G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_STRING); + G_TYPE_NONE, 2, G_TYPE_UINT, G_TYPE_POINTER); } static void @@ -458,7 +458,7 @@ command_break (SwfdecPlayerManager *mana guint id = swfdec_d...
2007 Oct 17
0
6 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c
...(parent->context, parent, text->variable, - &val); - } + str = swfdec_text_field_movie_get_variable_text (text); + swfdec_text_field_movie_set_text (text, str, text->text->html); } } @@ -672,7 +633,6 @@ swfdec_text_field_movie_class_init (SwfdecTextFieldMovieClass * g_class) movie_class->init_movie = swfdec_text_field_movie_init_movie; movie_class->update_extents = swfdec_text_field_movie_update_extents; movie_class->render = swfdec_text_field_movie_render; - movie_class->iterate_start = swfdec_text_field_movie_iterate; } static void @@ -760,...
2007 Oct 25
0
6 commits - libswfdec/swfdec_as_interpret.c libswfdec/swfdec_event.c libswfdec/swfdec_event.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_resource.c
...o_enter_frame, NULL); + swfdec_player_add_action (player, mov, SWFDEC_EVENT_ENTER, 2); if (movie->playing && movie->sprite != NULL) { if (movie->frame == movie->n_frames) goto_frame = 1; @@ -740,6 +701,7 @@ swfdec_sprite_movie_class_init (SwfdecSpriteMovieClass * g_class) object_class->dispose = swfdec_sprite_movie_dispose; + asobject_class->add = swfdec_sprite_movie_add; asobject_class->mark = swfdec_sprite_movie_mark; movie_class->init_movie = swfdec_sprite_movie_init_movie; diff --git a/libswfdec/swfdec_sprite_movie_as.c b/libswfdec/s...
2007 Oct 18
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field.h libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_text_field_movie.h test/trace
...e scroll variable from TextField to TextFieldMovie diff --git a/libswfdec/swfdec_text_field.c b/libswfdec/swfdec_text_field.c index eef12ab..7b5c688 100644 --- a/libswfdec/swfdec_text_field.c +++ b/libswfdec/swfdec_text_field.c @@ -87,7 +87,6 @@ swfdec_text_field_class_init (SwfdecTextFieldClass * g_class) static void swfdec_text_field_init (SwfdecTextField * text) { - text->scroll = 1; } int diff --git a/libswfdec/swfdec_text_field.h b/libswfdec/swfdec_text_field.h index a6220f3..d1d41e2 100644 --- a/libswfdec/swfdec_text_field.h +++ b/libswfdec/swfdec_text_field.h @@ -95,8 +95,6 @@ stru...