* BUG: Document: Fixed a memory leak when the instanciation failed due to
a parsing exception.
* BUG: XmlElement: Internally setting an attribute with a NULL value does
not crash anymore.
* BUG: Encountering a never-ended attribute does not crash the parser
anymore.
* OPT: Optimized parser cleanup when an exception is thrown.
[GB.XML.HTML]
* BUG: Encountering a never-ended attribute does not crash the parser
anymore.
git-svn-id: svn://localhost/gambas/trunk@7223 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: XmlWriter: Added a new Close() method to close the attached stream.
* BUG: Fixed CDATAs and PIs not correctly handling indentation.
* BUG: XmlWriter now correctly uses the newline separator of the stream
when indenting, instead of always using '\n'.
* OPT: XmlWriter now uses a string stream as internal buffer, when needed.
git-svn-id: svn://localhost/gambas/trunk@7183 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: XmlWriter: Buffers are now correctly flushed when ending a document.
git-svn-id: svn://localhost/gambas/trunk@7179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update the state of many components.
[DEVELOPMENT ENVIRONMENT]
* NEW: The project property dialog now uses an IconPanel.
* NEW: New design of the component tab in the project property dialog.
[GB.GUI.BASE]
* NEW: GridView: The background of the sorted column is now lighter.
[GB.QT4.WEBKIT]
* NEW: WebView.History is a new virtual access to get the number of entries
in the history, to set or get the current history entry index, and to get
or set the history maximum capacity.
git-svn-id: svn://localhost/gambas/trunk@6788 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Parsing errors are now correctly thrown.
* BUG: Fixed some memory leaks when an error is raised.
git-svn-id: svn://localhost/gambas/trunk@6711 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Update versions in Gambas projects.
* BUG: Remove some '.gambas' directories that must not be under version
control.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update the offline help to the new wiki look.
* NEW: Rename the CRecentFile class as CRecentProject.
[WIKI CGI SCRIPT]
* NEW: Some little changes in the look.
[GB.FORM]
* BUG: SwitchButton: Remove a debugging message.
[GB.MARKDOWN]
* BUG: Remove the useless Markdown.Root property.
git-svn-id: svn://localhost/gambas/trunk@6638 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added a new Document property to XMLExplorer.
* NEW: Added the Name and Value properties to XMLReader.Node.Attributes and
XMLNode.Attributes, to get the name and value of the enumerated attribute.
* BUG: Fixed the XMLNode.Attributes enumeration.
* BUG: Fixed XMLExplorer taking the document itself as a node.
* OPT: Rewrote internal exception handling.
[GB.XML.XSLT]
* NEW: Added a new method XSLT.TransformToString() that returns a string
instead of an XML document.
* BUG: Fixed internal error management.
git-svn-id: svn://localhost/gambas/trunk@6416 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the Like-pattern matching of the XmlElement.GetChildrenByAttributeValue() method.
git-svn-id: svn://localhost/gambas/trunk@6358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Don't check conflict on project configuration file if that files
does not exist.
[INTERPRETER]
* OPT: Move the string splitting routine in its own file and optimize it.
[INFORMER]
* BUG: Remove unneeded parenthesis on a test.
[GB.CLIPPER]
* BUG: Remove an unused variable.
[GB.DESKTOP]
* BUG: Fix error message in DesktopMime.
[GB.FORM]
* BUG: MaskBox: Raise the Change event after moving the cursor, so that it
behaves exactly like a TextBox.
[GB.FORM.MDI]
* NEW: Workspace: Count the number of detached windows so that the "detach
current tab" menu entry is disabled when needed.
[GB.GTK]
* BUG: Window.Utility should work even if the window is mapped now.
[GB.GTK3]
* BUG: Window.Utility should work even if the window is mapped now.
[GB.NET.PO3]
* NEW: Add a void constructor to the Pop3Client class for the
documentation.
git-svn-id: svn://localhost/gambas/trunk@6285 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The XML DOM parser now correctly handles white spaces.
[GB.XML.HTML]
* BUG: The HTML DOM parser now correctly handles white spaces.
git-svn-id: svn://localhost/gambas/trunk@6197 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The Boolean parameter 'Indent' of XMLDocument.ToString() is now
correctly interpreted.
* BUG: Serializing a comment that is a direct child of a document with
indentation enabled does not crash anymore.
* BUG: The Document.All property is now correctly declared as an XMLNode[]
[GB.XML.HTML]
* BUG: Serializing a comment that is a direct child of a document with
indentation enabled does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@5972 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: miniServer would give an out-of-bound with multiple parallel requests
git-svn-id: svn://localhost/gambas/trunk@5971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: XMLElement.AppendFromText() now behaves correctly if no extra arguments are given
* BUG: XMLElement.FromText() now correctly catches parsing exceptions.
git-svn-id: svn://localhost/gambas/trunk@5970 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added a new XMLNode.Deserialize() method.
* OPT: Remove some old unused source files.
git-svn-id: svn://localhost/gambas/trunk@5906 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed HTML5 Doctype handling.
* BUG: The "Extra root element" error is not thrown on HTML documents
anymore.
* BUG: The GetChildrenByAttributeValue() method still checks the child
nodes even if the given node is not an element.
[GB.XML.HTML]
* NEW: A closing tag that doesn't close any open tag, is now silently
ignored.
* NEW: Malformed tags' contents are now silently ignored.
* BUG: Forgot to Implement the HtmlDocument.GetElementsByClassName()
method.
* BUG: Fixed self-closed elements handling.
git-svn-id: svn://localhost/gambas/trunk@5841 867c0c6c-44f3-4631-809d-bfa615b0a4ec
BUG: miniServer would give an out-of-bound if content-length is wrong
git-svn-id: svn://localhost/gambas/trunk@5802 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added a new gb.xml Component API.
* NEW: The XMLElement.AppendFromText() method can now take the &1, &2 etc.
Subst-like patterns.
* NEW: All the methods based on the parser can choose from the XML and the
HTML parser (if loaded), depending on the document's (or parent
document's) type.
* OPT: Renamed, reorganized and cleaned up the code.
* OPT: Removed the ugly cross-including sources to communicate with the
subcomponents, which now use the XML Component Interface.
* OPT: Remove all the unneeded includes.
* OPT: The XML serializer does not check if the elements are self-closed
according to HTML specifications anymore. This is done only in the new
HTML serializer.
[GB.XML.HTML]
* NEW: Added a new gb.xml.html Component API.
* NEW: Added a new (X)HTML parser, more flexible than the XML one,
and automatically used with the HtmlDocument class.
* NEW: Generated HTML Documents now automatically use the new meta/charset
element if the document is HTML5, and the old meta/content-type element
only if the document is not HTML5.
* BUG: Loading an HTML document from a file while instanciating it
correctly works now.
* BUG: Using the class or id CSS selector in a filter on an element that
doesn't have these does not crashes anymore.
[GB.XML.XSLT]
* NEW: Now uses the gb.xml Component API.
git-svn-id: svn://localhost/gambas/trunk@5732 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed that RpcClient could hang in sync mode, issue 450
* BUG: More fixes of the miniServer.class, issue 449
git-svn-id: svn://localhost/gambas/trunk@5728 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the frame position when dragging a control from the toolbar on
a container.
* NEW: The project file properties dialog is now based on the new
FileProperties control.
[INTERPRETER]
* NEW: GB.OnErrorBegin() and GB.OnErrorEnd() are two new APIs that allow to
register cleanup routines that are called when an error is raised between
the GB.OnErrorBegin() call and the GB.OnErrorEnd() call.
[INFORMER]
* BUG: The value of Float constants is now correctly dumped in *.info
files.
[GB.COMPLEX]
* NEW: Implement the same Complex.ToString() method as in gb.gsl.
[GB.DESKTOP]
* NEW: Desktop.DataDir is a new property that returns the directory where
the application must store its user-specific data.
* NEW: Desktop.ConfigDir is a new property that returns the directory where
the application must store its user-specific configuration.
* NEW: Desktop.CacheDir is a new property that returns the directory where
the application must store its user-specific cached data.
* NEW: Desktop.RuntimeDir is a new property that returns the directory
where the application must store its temporary runtime files.
* BUG: Fix a possible crash when searching a mimetype from the file
extension.
[GB.FORM]
* NEW: FileProperties is a new control that displays the properties of a
specific file or directory. It automatically computes the size of
directory contents through a background task.
* BUG: Setting the TabPanel.Border property now correctly refreshes its
layout.
* NEW: The stock icon map now can declare specific icons for specific
widget themes.
[GB.FORM.STOCK]
* NEW: Fix the 'tools' icon for elementary icon theme.
[GB.GSL]
* BUG: Fix the Vector.ToString() declaration.
[GB.QT4.EXT]
* NEW: The Editor.LineOffset property has been renamed as
Editor.LineNumberOffset.
git-svn-id: svn://localhost/gambas/trunk@5725 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The XmlNode.Serialize() method does not crashes anymore if a null
string is given.
git-svn-id: svn://localhost/gambas/trunk@5622 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The XmlNode.Serialize method does not crash anymore if nothing has
been serialized.
* BUG: The XmlNode.Serialize method now correctly handles the " (")
serialization.
git-svn-id: svn://localhost/gambas/trunk@5621 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The XmlRPCClient.Method property's return value is now coherent.
git-svn-id: svn://localhost/gambas/trunk@5620 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Allow a component to have a requirement on the XML implementation
feature (i.e. 'gb.xml' or 'gb.libxml').
git-svn-id: svn://localhost/gambas/trunk@5617 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Does not crash anymore if the id or class properties does not exist when reading them.
git-svn-id: svn://localhost/gambas/trunk@5594 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Initialize the HTTP data buffers before filling them.
[GB.XML.HTML]
* BUG: The XmlElement.GetChildById() method is now correctly implemented.
git-svn-id: svn://localhost/gambas/trunk@5581 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: XmlTextNode now behaves correctly if a null string or zero length is given to its constructor.
* OPT: Does not memchr() anymore to determine if the text representation of an element is self-closed,
allowing to improve XmlNode.ToString() (and similar) performance.
* OPT: The XmlNode.Serialize() now allocates a new string only if there are differences between the
original one and the escaped one, allowing to improve XmlNode.ToString() (and similar) performance.
git-svn-id: svn://localhost/gambas/trunk@5575 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Check if an element is self-closed only once when getting its string representation.
git-svn-id: svn://localhost/gambas/trunk@5574 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: HtmlDocument now correctly sends its Doctype while getting its string representation.
git-svn-id: svn://localhost/gambas/trunk@5573 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixes a few memory leaks when freeing an XmlExplorer
* BUG: Fixes a crash when creating Attributes without values
* BUG: The XmlExplorer.Node property does not raises a Null Object error when reaching the end of the document
* BUG: XmlReader now raises an appropriate error if an lt sign is inside a tag
* OPT: The XmlExplorer.Open() method now directly calls the XmlDocument constructor instead of using an intermediate buffer
git-svn-id: svn://localhost/gambas/trunk@5565 867c0c6c-44f3-4631-809d-bfa615b0a4ec