1. 15 Feb, 2008 1 commit
    • Bastien Nocera's avatar
      Implement a property change signal when fullscreen state or volume changes · 94a55a51
      Bastien Nocera authored
      2008-02-15  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	* browser-plugin/totem-plugin-viewer-constants.h:
      	* browser-plugin/totempluginviewer-marshal.list:
      	* browser-plugin/totem-plugin-viewer.c:
      	(totem_embedded_class_init), (totem_embedded_save_volume),
      	(totem_embedded_stop), (totem_embedded_set_volume),
      	(totem_embedded_set_fullscreen),
      	(totem_embedded_toggle_fullscreen), (cb_vol), (on_tick),
      	(totem_embedded_action_volume_relative),
      	(totem_embedded_construct):
      	Implement a property change signal when fullscreen state
      	or volume changes
      
      	* browser-plugin/totemPlugin.cpp:
      	* browser-plugin/totemPlugin.h: As above and implement
      	SetFullscreen()
      
      	* browser-plugin/totemComplexPlugin.cpp:
      	* browser-plugin/totemComplexPlugin.h:
      	* browser-plugin/totemGMPSettings.cpp:
      	* browser-plugin/totemGMPSettings.h:
      	* browser-plugin/totemNarrowSpacePlugin.cpp:
      	* browser-plugin/totemNarrowSpacePlugin.h:
      	Fix for changes above
      
      	* browser-plugin/totemConePlugin.cpp:
      	* browser-plugin/totemConePlugin.h:
      	Implement ToggleFullscreen/ToggleMute, state, mute,
      	volume and fullscreen properties
      
      	(Closes: #462544)
      
      
      svn path=/trunk/; revision=5132
      94a55a51
  2. 14 Feb, 2008 1 commit
    • Bastien Nocera's avatar
      Implement ClearPlaylist and AddItem, to manipulate the playlist · b3fca710
      Bastien Nocera authored
      2008-02-14  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	* browser-plugin/totem-plugin-viewer.c: (totem_pl_item_free),
      	(totem_embedded_clear_playlist), (totem_embedded_add_item),
      	(totem_embedded_open_uri), (totem_embedded_open_stream),
      	(totem_embedded_set_local_file), (totem_embedded_set_playlist),
      	(totem_embedded_push_parser):
      	* browser-plugin/totemPlugin.h:
      	* browser-plugin/totemPlugin.cpp: Implement ClearPlaylist
      	and AddItem, to manipulate the playlist
      
      	* browser-plugin/idl/totemIConePlaylist.idl: Fix prototype
      	for add
      
      	* browser-plugin/totemConePlugin.cpp: Implement ::Add,
      	and ::Clear
      
      	* browser-plugin/totemPluginGlue.cpp: Fix a compilation
      	warning
      
      	* src/backend/bacon-video-widget-gst-0.10.c:
      	(bacon_video_widget_stop): Fix warning when _stop()
      	is called in logo mode
      
      
      svn path=/trunk/; revision=5119
      b3fca710
  3. 10 Sep, 2007 1 commit
    • Bastien Nocera's avatar
      Rename this... ...to that and add the states to those constants · d3c63d36
      Bastien Nocera authored
      2007-09-10  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/totem-plugin-viewer-commands.h: Rename this...
      	* browser-plugin/totem-plugin-viewer-constants.h: ...to that
      	and add the states to those constants
      
      	* browser-plugin/Makefile.am:
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	* browser-plugin/totempluginviewer-marshal.list:
      	* browser-plugin/totemPlugin.cpp:
      	* browser-plugin/totemPlugin.h:
      	* browser-plugin/totem-plugin-viewer.c:
      	(totem_embedded_class_init), (totem_embedded_set_state),
      	(totem_embedded_set_logo_by_name), (totem_embedded_open_internal),
      	(totem_embedded_play), (totem_embedded_pause),
      	(totem_embedded_stop), (on_play_pause), (on_got_redirect),
      	(on_video_button_press_event), (on_eos_event), (on_error_event),
      	(on_tick), (totem_embedded_construct), (main):
      	Add a Tick signal to the viewer, and catch it in the plugin. It
      	gets the Time, Duration and state of the player
      	Remember the length of a stream
      
      	* browser-plugin/totemNarrowSpacePlugin.cpp:
      	* browser-plugin/totemNarrowSpacePlugin.h: implement
      	GetRate, GetMaxBytesLoaded, GetMovieSize, GetTime and GetDuration
      	(Helps: #474841)
      
      
      svn path=/trunk/; revision=4688
      d3c63d36
  4. 27 Aug, 2007 1 commit
    • Bastien Nocera's avatar
      Add SetVolume function · f558d605
      Bastien Nocera authored
      2007-08-27  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	Add SetVolume function
      
      	* browser-plugin/totem-plugin-viewer.c: (totem_embedded_play),
      	(totem_embedded_set_volume), (property_notify_cb_volume):
      	Return an error if _play doesn't a URI to chew on,
      	implement _set_volume()
      
      	* browser-plugin/totemComplexPlugin.cpp:
      	* browser-plugin/totemPlugin.cpp:
      	* browser-plugin/totemPlugin.h: Implement SetVolume in the
      	base class and in the Complex plugin, Implement SetSource
      	in the Complex plugin and make SetSrc in the base class
      	request the stream (Helps: #470876)
      
      
      svn path=/trunk/; revision=4614
      f558d605
  5. 16 Aug, 2007 2 commits
    • Bastien Nocera's avatar
      Add SetLocalCache method Remove unused stream_uri struct member · 2f8d66b2
      Bastien Nocera authored
      2007-08-16  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	Add SetLocalCache method
      	* browser-plugin/totem-plugin-viewer.c:
      	(totem_embedded_set_local_cache), (on_eos_event),
      	(totem_embedded_construct):
      	Remove unused stream_uri struct member
      
      	Implement SetLocalCache that replaces the
      	->current_uri with a file in the local cache
      
      	Try to use the file in the local cache when reaching
      	EOS and having played from the browser stream, it's
      	better than doing nothing
      
      	Don't show a warning on startup when the plugin is hidden
      
      	* browser-plugin/totemPlugin.cpp:
      	Remove warning about
      	totem_pl_parser_can_parse_from_filename() reading
      	the whole file in memory, it mmaps it
      
      	Call SetLocalCache when we've been streaming the file
      	from the browser already
      
      	(Closes: #428833)
      
      
      svn path=/trunk/; revision=4529
      2f8d66b2
    • Bastien Nocera's avatar
      Revert "SaveState" patch and save the volume in GConf as soon as it's · 3218a5aa
      Bastien Nocera authored
      2007-08-16  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	* browser-plugin/totem-plugin-viewer.c:
      	(totem_embedded_save_volume), (property_notify_cb_volume):
      	* browser-plugin/totemPlugin.cpp: Revert "SaveState" patch
      	and save the volume in GConf as soon as it's changed in the
      	UI (Closes: #452063)
      
      
      svn path=/trunk/; revision=4527
      3218a5aa
  6. 15 Aug, 2007 1 commit
    • Bastien Nocera's avatar
      Call SaveState just before killing the plugin, so that it can save some · 01278cba
      Bastien Nocera authored
      2007-08-15  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	* browser-plugin/totem-plugin-viewer.c:
      	(totem_embedded_save_state):
      	* browser-plugin/totemPlugin.cpp: Call SaveState just before
      	killing the plugin, so that it can save some details (such as the
      	volume), does nothing yet though (Helps: #452063)
      
      
      svn path=/trunk/; revision=4525
      01278cba
  7. 12 Jan, 2007 1 commit
    • Bastien Nocera's avatar
      add the SetErrorLogo method · 38864f74
      Bastien Nocera authored
      2007-01-12  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	add the SetErrorLogo method
      
      	* browser-plugin/totem-plugin-viewer.c:
      	(totem_embedded_pad_pixbuf_for_size),
      	(totem_embedded_set_error_logo):
      	Implement the SetErrorLogo method and show a centred
      	"image-missing" image when a file isn't available which should be
      
      	* browser-plugin/totemPlugin.cpp:
      	* src/backend/bacon-video-widget-gst-0.10.c:
      	(bacon_video_widget_set_logo),
      	(bacon_video_widget_set_logo_pixbuf):
      	* src/backend/bacon-video-widget-xine.c:
      	(bacon_video_widget_set_logo),
      	(bacon_video_widget_set_logo_pixbuf):
      	* src/backend/bacon-video-widget.h:
      
      	Implement bacon_video_widget_set_logo_pixbuf()
      	(Closes: #387332)
      
      
      svn path=/trunk/; revision=3864
      38864f74
  8. 15 Dec, 2006 1 commit
    • Bastien Nocera's avatar
      Pass timestamps when launching the player from the plugin, Add startup · 830597c0
      Bastien Nocera authored
      2006-12-15  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/.cvsignore:
      	* browser-plugin/Makefile.am:
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	* browser-plugin/totem-plugin-viewer.c:
      	(totem_embedded_class_init), (totem_embedded_open_internal),
      	(my_gdk_spawn_make_environment_for_screen), (sn_error_trap_push),
      	(sn_error_trap_pop), (make_spawn_environment_for_sn_context),
      	(free_startup_timeout), (startup_timeout), (add_startup_timeout),
      	(totem_embedded_launch_player), (totem_embedded_update_menu),
      	(on_open1_activate), (on_video_button_press_event):
      	* browser-plugin/totemPlugin.cpp:
      	* browser-plugin/totemPlugin.h:
      	* browser-plugin/totempluginviewer-marshal.list:
      	Pass timestamps when launching the player from the plugin,
      	Add startup notification support when launching the stand-alone player,
      	only stop the playback when launching from the "Open" menu item,
      	otherwise we get black on-screen bits with GStreamer
      	(Closes: #375674)
      830597c0
  9. 13 Dec, 2006 1 commit
    • Bastien Nocera's avatar
      Move launching the external player to the viewer, set the HREF cursor · 1a88fef6
      Bastien Nocera authored
      2006-12-13  Bastien Nocera  <hadess@hadess.net>
      
      	* browser-plugin/org_gnome_totem_PluginViewer.xml:
      	* browser-plugin/totem-plugin-viewer.c: (totem_embedded_set_error),
      	(totem_embedded_set_state), (totem_embedded_set_href),
      	(totem_embedded_launch_player), (on_open1_activate),
      	(on_copy_location1_activate), (on_video_button_press_event),
      	(totem_embedded_construct), (main):
      	Move launching the external player to the viewer, set the HREF
      	cursor correctly
      	* browser-plugin/totemPlugin.cpp: move the player launching to the
      	viewer, and set the "cursor" in the viewer when pushing the HREF
      	to the viewer
      	* src/backend/bacon-video-widget-xine.c:
      	(bacon_video_widget_open_thread): Close the stream before propagating
      	the error through a signal
      1a88fef6
  10. 15 Nov, 2006 1 commit
    • Christian Persch's avatar
      A browser-plugin/org_gnome_totem_PluginViewer.xml: A · 08504d7f
      Christian Persch authored
      2006-11-15  Christian Persch  <chpe@cvs.gnome.org>
      
      	* Makefile.am:
      	* browser-plugin/Makefile.am:
      	* browser-plugin/README:
      	* browser-plugin/TODO:
      	A browser-plugin/org_gnome_totem_PluginViewer.xml:
      	A browser-plugin/totem-plugin-viewer-commands.h:
      	A browser-plugin/totem-plugin-viewer-options.h:
      	A browser-plugin/totem-plugin-viewer.c:
      	* browser-plugin/totemBasicPlugin.cpp:
      	* browser-plugin/totemBasicPlugin.h:
      	* browser-plugin/totemComplexPlugin.cpp:
      	* browser-plugin/totemComplexPlugin.h:
      	* browser-plugin/totemGMPPlugin.cpp:
      	* browser-plugin/totemGMPPlugin.h:
      	* browser-plugin/totemMullYPlugin.cpp:
      	* browser-plugin/totemMullYPlugin.h:
      	* browser-plugin/totemNarrowSpacePlugin.cpp:
      	* browser-plugin/totemNarrowSpacePlugin.h:
      	* browser-plugin/totemPlugin.cpp:
      	* browser-plugin/totemPlugin.h:
      	* browser-plugin/totemPluginGlue.cpp:
      	* configure.in:
      	* data/mozilla-viewer.glade:
      	* po/POTFILES.in:
      	* src/Makefile.am:
      	* src/backend/bvw-test.c: (on_redirect), (main):
      	* src/plparse/totem-pl-parser.c:
      	(totem_pl_parser_can_parse_from_data):
      	R src/totem-mozilla-interface.xml:
      	R src/totem-mozilla-options.h:
      	R src/totem-mozilla-viewer.c:
      
      	Make plugin / viewer interaction completely async. Bug #350297.
      	Move plugin viewer from src/ to browser-plugin/.
      08504d7f