Commit graph

59 commits

Author SHA1 Message Date
Benoît Minisini
30f9a40f2b [INTERPRETER]
* NEW: Rename all API related to components, and fix components using them.
* NEW: New signal API that allows to catch signals from the event loop.

[GB.GTK]
* BUG: Use g_object_unref() instead of rsvg_handle_free() now.


git-svn-id: svn://localhost/gambas/trunk@4721 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-08 15:32:33 +00:00
Benoît Minisini
e2fac79ffb [CONFIGURATION]
* NEW: Replace the old "INCLUDES" directive by "xxx_CPPFLAGS" in all 
  Makefile.am files.

[GB.XML]
* BUG: Remove debugging flags from compilation flags.


git-svn-id: svn://localhost/gambas/trunk@4714 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 16:45:14 +00:00
Benoît Minisini
bb46919337 [EXAMPLES]
* NEW: MediaPlayer: Add volume support.
* NEW: MediaPlayer: Add many visualisation plugins.

[GB.MEDIA]
* BUG: MediaPlayer: Fix Audio.Current, Video.Current and Subtitle.Current
  properties.
* BUG: MediaPlayer: Fix Audio.Mute property.
* NEW: MediaControl: Add a Tag property.


git-svn-id: svn://localhost/gambas/trunk@4710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 23:22:13 +00:00
Benoît Minisini
88c69c85ba [EXAMPLES]
* NEW: New MediaPlayer example based on the new gb.media GStreamer 
  component.

[GB.GTK]
* BUG: Utility windows are make transient the same way as in gb.qt4.

[GB.MEDIA]
* NEW: MediaControl.SetWindow() is a new method to associate a GUI control
  to a GStreamer plugin implementing the 'X overlay' interface.


git-svn-id: svn://localhost/gambas/trunk@4706 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-02 11:34:03 +00:00
Benoît Minisini
913b379270 [GB.MEDIA]
* NEW: Invert the argument order (again) in MediaControl constructor. The
  parent comes first, the control type next.
* NEW: Now the MediaControl link methods are LinkTo() and LinkLaterTo().
  LinkTo() has two optional arguments that allows to link specific inputs 
  and outputs by name. LinkLaterTo() link to another control just after a
  new pad has been internally added.
* NEW: MediaContainer got two new methods, AddInput() and AddOutput(), to
  create ghost pads, i.e. symbolic links on child inputs or outputs. By
  default a MediaContainer has no input and no output.
* NEW: Media.URL() is a new method that returns a GStreamer URL from a file
  path. If the file path is relative (i.e. a file inside the project), a
  temporary copy of the project file is made and returned.
* NEW: MediaPlayer got new properties to redefine its input, video output, 
  audio output and subtitle output.
* NEW: MediaPlayer.Video.Visualisation is a new property that defines an
  optional visualisation plugin used when there is no video to play.
* BUG: The MediaPlayer SourceSetup event has been removed, because the
  underlying signal must be handled immediately in thread context, 
  otherwise it is useless.


git-svn-id: svn://localhost/gambas/trunk@4703 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 20:49:32 +00:00
Benoît Minisini
4c727cc4fd [GB.MEDIA]
* NEW: A new MediaPlayer control that encapsulates the "playbin2" 
  gstreamer plugin inside a nice interface.
* NEW: MediaControl.Inputs and MediaControl.Outputs are two new properties 
  that return the list of sinks and sources of the control.


git-svn-id: svn://localhost/gambas/trunk@4701 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-01 00:42:37 +00:00
Benoît Minisini
513015d055 [GB.MEDIA]
* BUG: Several fixes in message management, state management.
* BUG: MediaControl.Type works as expected.
* BUG: Don't query in Position and Duration properties if an error message
  has been received.


git-svn-id: svn://localhost/gambas/trunk@4696 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 10:46:36 +00:00
Benoît Minisini
c2eff61c72 [GB.MEDIA]
* NEW: Update component and commit source files.


git-svn-id: svn://localhost/gambas/trunk@4695 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 09:48:38 +00:00
Benoît Minisini
a6e9f61ee1 [CONFIGURATION]
* NEW: Update *.component files to the new format.
* BUG: Fix component TEMPLATE directory.

[EXAMPLES]
* NEW: PhotoTouch: Display the browsed directory path.

[INTERPRETER]
* NEW: Change the 'main' hook syntax. Add a macro to call the previous 
  'main' hook, so that several hooks can be declared.

[GB.MEDIA]
* NEW: New multimedia component based on GStreamer.

[GB.GTK]
* BUG: Fix timer management so that it is compatible with the GB.Every()
  interpreter API.
* NEW: Allows multiple 'main' hooks.

[GB.QT4]
* NEW: Allows multiple 'main' hooks.


git-svn-id: svn://localhost/gambas/trunk@4693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 00:04:51 +00:00