Commit graph

40 commits

Author SHA1 Message Date
Benoît Minisini
0c2a60085c [WIKI CGI SCRIPT]
* NEW: Help comments of component classes and symbols are now automatically 
  used for creating non-existing documentation pages.
* NEW: Images are clickable in editing mode. They point at the image wiki 
  page.

[INTERPRETER]
* NEW: Url$() is a new function to encode an URL.
* NEW: FromUrl$() is a new function to decode an URL.
* NEW: FromBase64$() is now a synonymous for UnBase64$().

[GB.MEDIA]
* BUG: MediaPipeline.Pause() does nothing if the media is not playing. That
  avoid some GStreamer bad behaviour.

[GB.MEDIA.FORM]
* NEW: MediaView: Remove the ShowVideo property, it is useless.
* NEW: MediaView: The URL property can receive a true URL or a file path.
  The conversion is automatically done.
* BUG: MediaView: Do pause or stop the media file only if it has sense.
* NEW: MediaView: Hide the video part if the control height is too low.


git-svn-id: svn://localhost/gambas/trunk@6617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-11-09 15:25:46 +00:00
Benoît Minisini
73b2d0dd75 [GB.FORM]
* BUG: FileChooser: Fix an infinite loop when trying to initialize the path 
  with an unknown file.

[GB.MEDIA.FORM]
* NEW: New component based on gb.media that includes a full media player 
  widget with controls.

[GB.NET.SMTP]
* NEW: SmtpClient is now a virtual control.


git-svn-id: svn://localhost/gambas/trunk@6408 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-08-01 01:37:56 +00:00
Benoît Minisini
9e89e5bba5 [GB.MEDIA]
* BUG: Fix a leak in MediaControl.GetLastImage().


git-svn-id: svn://localhost/gambas/trunk@6266 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 16:31:09 +00:00
Benoît Minisini
72c4ef2814 [GB.MEDIA]
* NEW: MediaLink is a new class that represents a link between an element 
  input and an element output. Its interface may change in next revisions.
* NEW: MediaControl.Parent is a new property that returns the parent of a 
  MediaControl object.
* NEW: MediaControl.LinkTo method now automatically unlinks the output 
  before linking it.
* NEW: MediaControl.GetLink is a new method that returns a MediaLink object
  representing what is linked to the specified input or output.
* NEW: MediaControl.GetLastImage() returns a screenshot of the last video 
  frame seen by a sink (i.e. final) element.


git-svn-id: svn://localhost/gambas/trunk@6265 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-05-16 16:17:57 +00:00
Benoît Minisini
5e76433eeb [CONFIGURATION]
* NEW: Do not use deprecated autoconf macros anymore.
* NEW: The version information is now located in the 'version.m4' file in
  the source root directory.


git-svn-id: svn://localhost/gambas/trunk@6230 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-05 21:22:43 +00:00
Benoît Minisini
f3438a8da9 [WEBSITE]
* NEW: Use the new wiki now.

[WIKI]
* BUG: Fix style sheet and class description layout.
* NEW: Inherited symbols links are in italic now.
* NEW: Automatic registration system.
* NEW: Use the new LOCK ... WAIT instruction.
* BUG: Some fixes in the old wiki conversion routine.
* NEW: The administrator account can see the recent changes.

[EXAMPLES]
* NEW: SmallWiki: Update the embedded markdown support from gb.markdown.

[COMPILER]
* NEW: The '#' character is now optional if possible (for example in the 
  'OUTPUT TO' instruction).

[GB.FORM]
* NEW: Some new icons.

[GB.FORM.STOCK]
* BUG: Fix all missing icons.

[GB.GTK]
* BUG: Fix incorrect translation when drawing inside a DrawingArea.

[GB.MEDIA]
* BUG: Fix inputs and outputs enumeration.

[GB.QT4]
* BUG: Correctly handle UTF-8 when displaying the error message.

[GB.WEB]
* NEW: WebPage.ToString() is a new method that generates the webpage and 
  returns it as a string.
* BUG: When creating a session, other sessions having the same prefix and 
  being older than 24 hours are automatically removed from disk.


git-svn-id: svn://localhost/gambas/trunk@6206 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-22 12:25:48 +00:00
Benoît Minisini
00fcff2b30 [GB.MEDIA]
* BUG: MediaPlayer works again.
* BUG: MediaPipeline.Stop() tries to send an EOS message at most during 
  250 ms. A warning message is printed if the EOS message has not been 
  sent.


git-svn-id: svn://localhost/gambas/trunk@6185 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-24 23:24:24 +00:00
Benoît Minisini
ed9f8be54e [GB.FORM]
* NEW: LCDLabel: Support for new characters.

[GB.GTK]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.GTK3]
* BUG: Rich text support is more robust now: it can handle self-closed 
  markups.

[GB.MEDIA]
* BUG: According to the GStreamer documentation, you can send an EOS 
  message only while playing.

[GB.QT4]
* BUG: Rich text paragraph margins are now proportional to the font size.


git-svn-id: svn://localhost/gambas/trunk@6161 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 15:06:21 +00:00
Benoît Minisini
551ff27eee [GB.MEDIA]
* NEW: If the MediaControl type contains a '/' character, then a 
  MediaFilter is created using that type as filter.
* NEW: Properties having the "Caps" type are now handled everywhere.


git-svn-id: svn://localhost/gambas/trunk@6160 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-16 00:04:44 +00:00
Benoît Minisini
92bd9756a8 [GB.MEDIA]
* BUG: Fix how the end of stream is sent when stopping a pipeline.


git-svn-id: svn://localhost/gambas/trunk@6159 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-15 13:18:28 +00:00
Benoît Minisini
fbf7420851 [GB.MEDIA]
* NEW: MediaPipeline constructor now takes the message bus polling 
  frequency as an optional argument.
* NEW: MediaPipeline.Stop() now force EOS on sources before stopping the
  pipeline.


git-svn-id: svn://localhost/gambas/trunk@6158 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-15 12:38:25 +00:00
Benoît Minisini
d4f34166dd [DEVELOPMENT ENVIRONMENT]
* NEW: Menu shortcut for defining a class or a form as startup class has 
  been removed from the editor (but not from the project tree).
* NEW: A new menu to run a specific form as if it was the startup class.

[WIKI]
* NEW: The wiki is almost finished. Tuning is needed, as the automatic 
  conversion between the old wiki syntax and the new markdown syntax cannot 
  be perfect. Not yet done: history, registration, to do list.

[EXAMPLES]
* NEW: WaveGenerator: Set the "is-live" property of the 'audiotestsrc' 
  plugin.
* NEW: WaveGenerator: Use the 'autoaudiosink' output instead of a specific 
  one.
* NEW: WaveGenerator: Allow to choose the wave form.

[INTERPRETER]
* NEW: A new '-s' command-line option to override the startup class defined 
  in the project.

[GB.FORM]
* NEW: MaskBox has a new ShowDefault property. When set, the maskbox does 
  not hide its contents anymore when losing the focus if its value was the 
  default value.

[GB.GTK]
* BUG: Control Move() and MoveScaled() method do not try to resize the 
  control anymore if their width and height arguments are omitted.

[GB.MARKDOWN]
* BUG: Bug fixes, tuning...

[GB.MEDIA]
* NEW: MediaControl: An enumeration property can be set through its integer 
  value now.


git-svn-id: svn://localhost/gambas/trunk@6153 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-12 22:26:02 +00:00
Benoît Minisini
115fd6c470 [GB.MEDIA]
* BUG: When a MediaPipeline is freed, the pipeline is first stopped before 
  being put to the null state. Otherwise GStreamer freezes.


git-svn-id: svn://localhost/gambas/trunk@6139 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-02-08 02:30:00 +00:00
Benoît Minisini
c9ca5ab982 [CONFIGURATION]
* NEW: Update copyright year to 2013.

[GB.FORM]
* NEW: ImageView is a new control that allows to view an image inside a 
  scrolled view, at different zoom levels.
* BUG: FileProperties now works correctly if 'gb.desktop' is not used.
* NEW: The FileProperties preview tab now uses an ImageView control and has
  a toolbar to zoom the preview.
* BUG: Add the 'linux' and 'gnu' icon in the stock icon list.


git-svn-id: svn://localhost/gambas/trunk@5770 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-08-03 15:38:01 +00:00
Benoît Minisini
ab78dd8c9a [GB.MEDIA]
* BUG: Correctly handle GStreamer dates with year but no month and no day.


git-svn-id: svn://localhost/gambas/trunk@5718 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 22:45:30 +00:00
Benoît Minisini
02234a267e [GB.MEDIA]
* NEW: Support for properties that are enumerations. Use them like string 
  properties that can only take some specific values.
* NEW: GStreamer element not created explicitely are now managed through 
  the MediaControl class.
* NEW: MediaFilter is a new MediaControl that implements the 'capsfilter'
  element. It has a Filter property that understands the same syntax as the
  'gst-launch' GStreamer tool.
* NEW: MediaContaienr.Children is a new virtual property that allows to
  enumerate its children elements.


git-svn-id: svn://localhost/gambas/trunk@5717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-30 21:57:47 +00:00
Benoît Minisini
0be0b8caf8 [DEVELOPMENT ENVIRONMENT]
* NEW: When installing the Gambas font, don't use the deprecated 
  '~/.fonts.conf' file anymore.

[EXAMPLES]
* NEW: The MediaPlayer example now has a panel to configure the image
  balance.

[GB.MEDIA]
* NEW: MediaPlayer.Balance is a new property that allows to configure the
  image brightness, contrast, hue, saturation... It actually returns a
  virtual array of balance "channels", each one having a minimum value, a
  maximum value, a current value and a name.

[GB.WEB]
* NEW: When Request.Debug is set, only the first 4K of a POST request is 
  stored in the Request.Contents property.


git-svn-id: svn://localhost/gambas/trunk@5710 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-29 12:42:52 +00:00
Benoît Minisini
3e76b4d958 [EXAMPLE]
* NEW: MediaPlayer: Add a button to take a screenshot of the current video
  frame.

[GB.MEDIA]
* NEW: gb.media now depends on gb.image.
* NEW: MediaPlayer.Video.Image is a new property that returns a screenshot
  of the current video frame.


git-svn-id: svn://localhost/gambas/trunk@5694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-03 17:51:14 +00:00
Benoît Minisini
60adb14b26 [EXAMPLES]
* NEW: MediaPlayer: Display error messages in the interface.

[GB.MEDIA]
* BUG: MediaPlayer.ConnectionSpeed will not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@5693 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-02 14:34:48 +00:00
Benoît Minisini
0a97949f19 [GB.MEDIA]
* BUG: Do not crash while receiving a message associated with a GStreamer 
  plugin unknown to Gambas.
* BUG: Hide warnings when reading a GStreamer date/time value.


git-svn-id: svn://localhost/gambas/trunk@5692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-02 14:18:31 +00:00
Benoît Minisini
ecffcb1a26 [DEVELOPMENT ENVIRONMENT]
* NEW: Highlight the background of special methods in the code editor 
  procedure list.

[EXAMPLES]
* NEW: MediaPlayer: Add a button to display the contents of the first video
  device (/dev/video0).

[GB.MEDIA]
* BUG: The MediaPlayer.Input property is actually read-only.
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@5691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 16:57:34 +00:00
Benoît Minisini
c9dc4085c2 [GB.MEDIA]
* NEW: Use GStreamer 1.0 instead of GStreamer 0.10 that is now deprecated.


git-svn-id: svn://localhost/gambas/trunk@5690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2013-06-01 15:45:17 +00:00
Benoît Minisini
892b814f54 [GB.MEDIA]
* NEW: Do not raise an error if a tag has an unsupported format. Just 
  display a warning message.


git-svn-id: svn://localhost/gambas/trunk@5439 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 22:09:14 +00:00
Benoît Minisini
23f4d823e9 [GB.MEDIA]
* BUG: Fix retrieving of media tags that are arrays of values.


git-svn-id: svn://localhost/gambas/trunk@5436 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-15 02:07:54 +00:00
Benoît Minisini
2476e0a2a2 [DEVELOPMENT ENVIRONMENT]
* BUG: The project tree control now uses the same icons as the main project 
  tree view.
* NEW: Support for LCDLabel.

[EXAMPLES]
* BUG: MediaPlayer: Remove uses of the DrawingArea.Painted property.

[INTERPRETER]
* BUG: The GB.GetProperty() API has been fixed, and now use the datatype of 
  the property for the return value.
* OPT: Remove some useless table symbol class at class loading for native 
  classes that do not raise events.

[GB.DRAW]
* NEW: PaintMatrix is now creatable.

[GB.FORM]
* NEW: LCDLabel is a new control that displays its contents with sixteen 
  segments LCD digits.

[GB.MEDIA]
* BUG: Remove the useless MediaPlayer.Visualisation property.


git-svn-id: svn://localhost/gambas/trunk@5412 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-12-05 03:36:44 +00:00
Benoît Minisini
938458a03e [CONFIGURATION]
* NEW: Switch to 3.2.90 version.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix automatic completion of project classes that reimplements 
  another class.

[WEB SITE MAKER]
* BUG: Fix scrolling frames on Chrome.

[INTERPRETER]
* NEW: Args and Env classes are now shortcuts for Application.Args and 
  Application.Env properties.


git-svn-id: svn://localhost/gambas/trunk@4977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-21 20:43:10 +00:00
Laurent Carlier
6b8cf6448e [CONFIGURATION]
* BUG: Adapt to the verbosity output when a pkg-config component isn't available.


git-svn-id: svn://localhost/gambas/trunk@4790 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-29 05:55:35 +00:00
Benoît Minisini
8ad1afe673 [CONFIGURATION]
* NEW: Print disabled components individually.

[GB.QT4]
* BUG: ComboBox background color is correctly handled now.


git-svn-id: svn://localhost/gambas/trunk@4739 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-18 01:19:15 +00:00
Benoît Minisini
0852b3d4ab [GB.MEDIA]
* BUG: Add some include to try fix compilation error on old distributions.


git-svn-id: svn://localhost/gambas/trunk@4727 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-13 14:40:24 +00:00
Benoît Minisini
659f1bf51f [INTERPRETER]
* BUG: Fix a crash when using 'gb.Like' comparison flag.


git-svn-id: svn://localhost/gambas/trunk@4724 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-12 12:04:20 +00:00
Benoît Minisini
17f5f0fa0c [GB.MEDIA]
* NEW: MediaControl Tag event now takes a MediaTagList object as argument.
  That object contains all tags received at event time. Not all possible 
  tags are supported yet.

[EXAMPLES]
* NEW: MediaPlayer: Add a panel that displays information about the media
  file get through the Tag event.


git-svn-id: svn://localhost/gambas/trunk@4723 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-09 00:47:21 +00:00
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