* 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
* BUG: The XML parser does not complain anymore when encountering a PI.
* BUG: Error positions now start from 1 instead of 0.
git-svn-id: svn://localhost/gambas/trunk@5564 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The built-in HTTP server now send its data in one shot, by using the
Begin and Send methods of the Stream class.
git-svn-id: svn://localhost/gambas/trunk@5500 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Adding a new XmlElement.RemoveAttribute() method.
* BUG: The XmlElement.AppendChild does not crash anymore if a null element is sent.
* BUG: The XmlReader.FromString() now raises an error if the input buffer is empty.
* BUG: Fix some compilation warnings on XMLWriter.
* BUG: Fix the XmlNode.GetChildrenByAttributeValue() search method.
git-svn-id: svn://localhost/gambas/trunk@5499 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Ensure that the RpcClient adds a newline at the end of the data it
sends, and that the "windows" newline sequence is used.
git-svn-id: svn://localhost/gambas/trunk@5498 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The reader Node class now returns null node name, value and attributes if the current state is EndElement.
git-svn-id: svn://localhost/gambas/trunk@5323 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The HTML parser now really correctly raises an error if the document is incomplete (no doctype/root element).
[GB.XML]
* BUG: Errors that doesn't give any position in the parsed data are correctly raised now.
git-svn-id: svn://localhost/gambas/trunk@5169 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The HTML parser now correctly raises an error if the document is incomplete (no doctype/root element).
git-svn-id: svn://localhost/gambas/trunk@5168 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Error messages are correctly shown now
* BUG: The Base and Favicon properties do not crash anymore if the matching node is not found.
git-svn-id: svn://localhost/gambas/trunk@5165 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Allow components to access the interpreter API through a pointer and
not a full structure. It is a little bit slower (one more indirection),
but it uses less memory: one pointer instead of about 180.
[GB.GTK]
* NEW: Use the indirect API access.
[GB.QT4]
* NEW: Use the indirect API access.
[GB.TASK]
* NEW: Use the indirect API access.
* NEW: Task now is now a stream that can read the standard output of the
background task.
* NEW: Task now raises the Read event when the background task has printed
something on its standard output.
* NEW: Task now raises the Error event when the background task has printed
something on its standard error output. The event handler receives the
data in its first argument.
[GB.XML.RPC]
* BUG: Some english fixes in some error messages.
git-svn-id: svn://localhost/gambas/trunk@5077 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Adds a Serialize() static method in XmlNode that serializes the given text.
* BUG: Correctly handle prefix when parsing a document.
* BUG: XmlWriter now correctly serializes the text and attribute values.
* BUG: The XmlDocument constructor now correctly raises an error message instead of crashing with signal #6.
git-svn-id: svn://localhost/gambas/trunk@5037 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fix the local, qualified and prefix naming, as mentioned in the W3C specification.
* BUG: Fix the XmlReader.Depth property management when enumerating the attributes of a node.
git-svn-id: svn://localhost/gambas/trunk@5034 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Add support for the MacPorts distribution.
* BUG: Fix configuration issue for gb.qt.ext
[GB.CRYPT]
* NEW: it is now available for Mac OS X 10.8
[GB.QT4]
* BUG: Fix detection of X11 for the control DrawingArea on Mac OS X 10.8.
git-svn-id: svn://localhost/gambas/trunk@5004 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Reading Special characters in text nodes don't crash anymore.
git-svn-id: svn://localhost/gambas/trunk@4991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Fixed a memory leak when using XmlDocument.Save()
* BUG: Fix the un-escape parsing method, it don't crash anymore if there the parsed string is less than 3 bytes length.
git-svn-id: svn://localhost/gambas/trunk@4988 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: XmlDocument now internally inherits Node, so that they can contain other nodes than only a root element (that is now optional), as specified in the W3C specifications.
* BUG: Sloved a little typo error in the XmlElement.PreviousElement property.
* BUG: The CDATA node now correctly handles special characters.
* OPT: Some little optimizations in the ToString() (and similar) methods.
git-svn-id: svn://localhost/gambas/trunk@4985 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: No more memory leak when the XmlDocument.ToString() throws an error.
* BUG: When throwing an error, the XSLT parser returns anyway a valid (but empty) document.
git-svn-id: svn://localhost/gambas/trunk@4968 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The document.FromString() method does not crashes anymore if no root element was found.
git-svn-id: svn://localhost/gambas/trunk@4966 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: New optimizations in profile file size.
* NEW: PageUp and PageDown keys now work as expected in the project filter
box.
[INTERPRETER]
* NEW: Support for new profile file format.
[GB.DEBUG]
* OPT: New profile file format.
[GB.LIBXML]
* NEW: Make this component exclude gb.xml.
[GB.XML]
* NEW: Make this component exclude gb.libxml.
git-svn-id: svn://localhost/gambas/trunk@4961 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Moved the previousSibling and NextSibling properties from XmlElement to XmlNode, and added PreviousElement and NextElement, so that there is no confusion with the W3C standards.
* BUG: Addef forgotten property XmlReader.Node.IsEmptyElement.
* OPT: Some optimisations in character comparison when parsing data.
git-svn-id: svn://localhost/gambas/trunk@4960 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The XML Declaration is now optional, as mentioned in the W3C specification.
* BUG: The ChildNodes and Children properties have moved from XmlElement to XmlNode, as mentioned in the W3C specification.
* BUG: The XML Error analyzer does not crashes anymore if the error has no defined position.
* BUG: Doctype are now partially handled, i.e. there is no doctype interface yet, so they are silently ignored.
git-svn-id: svn://localhost/gambas/trunk@4959 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When parsing data, extra white-spaces at the beginning and the end of text nodes are correctly ignored.
* BUG: When they are null, reading TagName and Prefix properties from XmlElement does not crash anymore.
git-svn-id: svn://localhost/gambas/trunk@4943 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Added a new XmlElement.ClearChildren method, that removes all the children of an element.
* BUG: Setting the XmlElment.TextContent property now correctly remove all children of an element.
* BUG: Setting the XmlElment.TextContent with a null string has now no effect, as mentioned in the W3C specifications.
git-svn-id: svn://localhost/gambas/trunk@4930 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The TextContent property now correctly ignores the contents of comment nodes, as mentioned in the W3C specifications.
git-svn-id: svn://localhost/gambas/trunk@4928 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Getting an attribute that doesn't exist doesn't crashes anymore, it returns a null string instead.
* BUG: The string comparison mode argument is now correctly handled by XmlElement.GetAttribute().
git-svn-id: svn://localhost/gambas/trunk@4927 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The GetAttribute() method now correctly returns the attribute value.
git-svn-id: svn://localhost/gambas/trunk@4917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The encoding is now correctly specified in the document header.
git-svn-id: svn://localhost/gambas/trunk@4915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* OPT: Do not use the UTF-8 string methods anymore when parsing text opened with the XmlReader.FromString() method, they are too slow. This also may solve UTF-8 chars reading problems.
git-svn-id: svn://localhost/gambas/trunk@4910 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: When a top-level source directory actually several components,
compile the sub-components *after* the main components. This is
especially important with gb.xml and gb.xml.rpc.
git-svn-id: svn://localhost/gambas/trunk@4884 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The XmlReader.Close() method is back.
* BUG: XmlReader node values don't have extra spaces anymore.
git-svn-id: svn://localhost/gambas/trunk@4864 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: Non-prefixed elements does not crashes anymore
* BUG: Parsing errors are now correctly catched when calling XmlElement.AppendFromText()
git-svn-id: svn://localhost/gambas/trunk@4861 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: XmlElement now fully supports namespace prefixes in its tag name. See the Prefix property, and the GetChildrenByNameSpace and GetElementsByNameSpace methods.
git-svn-id: svn://localhost/gambas/trunk@4859 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: The GetAttribute(), GetChildrenByTagName(), GetChildrenByAttributeValue() andGetElementsByTagName() methods now take an new Mode argument, specifying the comparison method. It can be GB.Binary, GB.IgnoreCase or GB.Like.
* BUG: The XmlElement.ChildElements does not contains Null fields anymore.
* BUG: Removed some debugging messages.
git-svn-id: svn://localhost/gambas/trunk@4858 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: XmlReader now supports the CDATA sections.
* BUG: Remove some debugging messages.
* BUG: The InsertAfter, InsertBefore and ReplaceChild functions now correctly preserve the added elements.
git-svn-id: svn://localhost/gambas/trunk@4857 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: XmlReader.Node.Type now correctly shows the XmlReaderNodeType.Element value.
* BUG: Updated test module, so that it is compatible with gb.libxml.
git-svn-id: svn://localhost/gambas/trunk@4855 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: XMLReader.Node.Type now correctly returns the state of the reader instead of the type of the node. (No, there isn't any error in this sentence)
git-svn-id: svn://localhost/gambas/trunk@4838 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: Text nodes now escapes their contents (like Html$()).
* BUG: TextNode.TextContent now correctly works.
* BUG: XmlElement.FromText() does not crash anymore.
* BUG: The last text node of a parsed text is now correctly added.
git-svn-id: svn://localhost/gambas/trunk@4832 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: The XMLWriter Text(), Comment(), CDATA() and PI() functions now correctly close their parent elements.
git-svn-id: svn://localhost/gambas/trunk@4829 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* BUG: No more excessive line-breaks and spaces added to the output document.
[GB.XML]
* NEW: Text nodes that only contains white characters (\n \r \t and space) are now deleted when parsing.
* BUG: (non-)indentation now correctly works on text nodes.
git-svn-id: svn://localhost/gambas/trunk@4826 867c0c6c-44f3-4631-809d-bfa615b0a4ec
* NEW: XML output can now be indented by using ToString(Indent As Boolean) or Save(fileName As String, Indent As Boolean)
git-svn-id: svn://localhost/gambas/trunk@4812 867c0c6c-44f3-4631-809d-bfa615b0a4ec