BUG : the output parser now takes into account HTML tags that must be self-closed (<br />, <meta />, <base />, <link /> ...).
git-svn-id: svn://localhost/gambas/trunk@4709 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* 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
* BUG: Do not handle Data event of controls in the form editor, because the
signature of the event handler depends on the control type.
* BUG: Handle errors when loading a new project file correctly again.
git-svn-id: svn://localhost/gambas/trunk@4702 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* NEW: Window class now inherits Stream
* NEW: Renamed Window.Flush() to Window.Drain() to not have it confused
with the stream Flush instruction
* NEW: Window.Background and .Foreground properties now work
* NEW: Window.Attributes.Color changed internal behaviour to interoperate
with .Background and .Foreground properties
* NEW: Now using ncurses extensions to colour support
* BUG: Corrected typo in ContainerW property name
git-svn-id: svn://localhost/gambas/trunk@4700 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG : XmlElement inherited methods and properties now works correctly.
git-svn-id: svn://localhost/gambas/trunk@4699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* BUG: The last column of a GridView with AutoResize set is not frozen
anymore when the number of columns grows.
git-svn-id: svn://localhost/gambas/trunk@4694 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* 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
* NEW : Two consecutives whitespaces (spaces, line-breaks ans tabulations) are now ignored.
* OPT : Parser now proceeds faster, and so parsing raw text is very faster.
* OPT : For input text, does not uses std::string anymore.
* OPT : For object instanciation, does not uses GB.FindClass() anymore (keeps results at component initialization).
git-svn-id: svn://localhost/gambas/trunk@4692 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT : Optimized memory management when converting input UTF-8 strings. The parser (i.e. Open(), FromString(), FromText() and similar methods) is now 15 times faster than before !
git-svn-id: svn://localhost/gambas/trunk@4690 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The byte position to utf-8 position caching routine now works in all
cases.
git-svn-id: svn://localhost/gambas/trunk@4689 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix precision in both string to Float and Float to string
conversions.
git-svn-id: svn://localhost/gambas/trunk@4688 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add a "project type" option in the project properties dialog. It
makes the difference between a normal project, a library project, and a
component project.
* NEW: The packager takes the project type into account. A library and a
component do not install a *.desktop file, has no icon and has no menu
entry. But a library has the same package name than a normal project.
git-svn-id: svn://localhost/gambas/trunk@4687 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ignore non-significant decimal digits when converting a String to a
Float. In other words, now 2.0 = 2.
git-svn-id: svn://localhost/gambas/trunk@4685 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Some fixes and new keyboard shortcuts in the PhotoTouch example.
git-svn-id: svn://localhost/gambas/trunk@4683 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When creating dependencies on libraries, the packager now takes into
account if the library package name is prefixed with the vendor name.
* BUG: Now always use the release version number in the package name,
otherwise the Debian/Ubuntu packager cannot compare versions reliably.
* BUG: Fix XML component names.
git-svn-id: svn://localhost/gambas/trunk@4682 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Remove the use and the definition of long double mathematic
functions. They are not used anymore.
git-svn-id: svn://localhost/gambas/trunk@4679 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: gb.MediumTime does not try to use AM/PM if AM/PM is not supported
by the current language.
git-svn-id: svn://localhost/gambas/trunk@4677 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: PhotoTouch does not crash anymore when the browsed directory has no
pictures.
* NEW: PhotoTouch now can save the modified pictures to their original
emplacement. A backup is made.
* NEW: PhotoTouch has a temporary undo stack now.
git-svn-id: svn://localhost/gambas/trunk@4675 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG : solved a segmentation fault when releasing a reader.
[GB.XML.XSLT]
* NEW : when output document is invalid, shows the error message in the standard error output.
git-svn-id: svn://localhost/gambas/trunk@4672 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: GridView row and column width now can be set to zero so that they
are completely hidden.
* BUG: The GridView headers now use the Button foreground color so that
they are visible with a dark color theme.
git-svn-id: svn://localhost/gambas/trunk@4671 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: PhotoTouch example becomes better.
[GB.DB.FORM]
* BUG: Fix use of old GridView property in DataComboView.
[GB.FORM]
* NEW: IconView.Key is now writable, so that we can define the current
item.
git-svn-id: svn://localhost/gambas/trunk@4670 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW : Added a new property "State" to XmlExplorer and XmlReader, that allows to know the reader state, without knowing Read() return value.
* NEW : When enumerating XmlReader.Node.Attributes, XmlReader.Node represents the current attribute.
* NEW : Added an new method Open() that loads an HtmlDocument from a file and defines it as the document to read.
* NEW : The Attributes property has now moved from XmlElement to XmlNode. XmlNode.Attributes returns Null if the node isn't an element.
* NEW : Then enumeration of XmlNode.Attributes now returns an .XmlElementAttribute instead of a string.
* NEW : The XmlNode.Attribute constant is not obsolete anymore.
* NEW : Two consecutives whitespaces are now ignored (only one is preserved).
* NEW : When parsing a file, line-breaks and tabulations are replaced by spaces.
* BUG : XmlExplorer flags are now correctly initialized.
* BUG : Added an Eof property on XmlExplorer, that was missing.
* BUG : Calling XmlExplorer.Read() after Eof just returns XmlReaderNodeType.Eof, not more.
* BUG : Calling XmlNode.Next() when the node hasn't got any brother after him doesn't crash anymore, it just returns Null.
* BUG : Calling XmlElement.NextSibling() when the node hasn't got any element brother after him doesn't crash anymore, it just returns Null.
* BUG : By default, XmlReader correctly stops when reading the end of an element.
* BUG : XmlExplorer now correctly initializes and releases itself.
* BUG : XmlExplorer now correctly supports its read flags.
* OPT : Solved a memory leak when releasing a XmlReader.
* OPT : When setting text content to a XmlNode, the string is not duplicated anymore.
* OPT : When testing if characters are whitespaces or names characters while parsing texts, puts the temporary variable into registers instead of memory.
git-svn-id: svn://localhost/gambas/trunk@4669 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Do not fail when a library is not found.
* BUG: The packager now generates correct dependencies on libraries whose
major and minor version are both zero.
git-svn-id: svn://localhost/gambas/trunk@4666 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Handle public variables like properties.
[EXAMPLES]
* NEW: A new PhotoTouch example I made so that my father can edit its photo
with a simple software.
git-svn-id: svn://localhost/gambas/trunk@4665 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Do not raise an error when a file path cannot be converted to the
local charset. Just do not make the conversion.
* BUG: Freeing any Stream object now automatically closes it.
* BUG: Stream.ReadLine() with no second argument does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@4664 867c0c6c-44f3-4631-809d-bfa615b0a4ec