Commit graph

217 commits

Author SHA1 Message Date
Benoît Minisini
091b94b1ed [INTERPRETER]
* 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
2012-08-25 15:13:39 +00:00
Adrien Prokopowicz
fcf0e8bf9b [GB.XML]
* BUG: Fix prefix management on elements.

git-svn-id: svn://localhost/gambas/trunk@5038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-13 11:39:22 +00:00
Adrien Prokopowicz
02b50b1267 [GB.XML]
* 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
2012-08-12 21:58:13 +00:00
Adrien Prokopowicz
a4a9decae9 [GB.XML]
* BUG: Try to fix a compilation error on some systems.

git-svn-id: svn://localhost/gambas/trunk@5035 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-12 15:25:27 +00:00
Adrien Prokopowicz
ad0519f583 [GB.XML]
* 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
2012-08-12 12:38:39 +00:00
Adrien Prokopowicz
99bd6d0ff5 [GB.XML]
* BUG: Fix a segmentation fault in XmlReader freeing.

git-svn-id: svn://localhost/gambas/trunk@5032 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-11 21:53:44 +00:00
Adrien Prokopowicz
2df69cad2d [GB.XML]
* BUG: Fix some memory errors and leaks.

git-svn-id: svn://localhost/gambas/trunk@5025 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-10 09:53:13 +00:00
Adrien Prokopowicz
f01570446e [GB.XML]
* BUG: Fix the XmlReader.Node.IsEmptyElement property.

git-svn-id: svn://localhost/gambas/trunk@5010 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-08-06 19:04:28 +00:00
François Gallo
7947dd69f9 [CONFIGURATION]
* 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
2012-07-31 18:24:47 +00:00
Adrien Prokopowicz
d196bc0829 [GB.XML]
* BUG: Reading Special characters in text nodes don't crash anymore.

git-svn-id: svn://localhost/gambas/trunk@4991 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-25 21:07:50 +00:00
Adrien Prokopowicz
24f0205b30 [GB.XML]
* 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
2012-07-25 11:07:38 +00:00
Adrien Prokopowicz
840f1bbf0a [GB.XML]
* 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
2012-07-23 18:28:15 +00:00
Adrien Prokopowicz
a20e032798 [GB.XML]
* 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
2012-07-18 23:20:02 +00:00
Adrien Prokopowicz
64b7d351c7 [GB.XML]
* OPT: Defined a few variables and parameters as const.

git-svn-id: svn://localhost/gambas/trunk@4967 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-18 22:59:18 +00:00
Adrien Prokopowicz
ee6825874c [GB.XML]
* 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
2012-07-18 22:43:35 +00:00
Adrien Prokopowicz
49718d9e08 [GB.XML]
* NEW: Added user data management in nodes. 

git-svn-id: svn://localhost/gambas/trunk@4965 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-17 21:16:04 +00:00
Benoît Minisini
97718051b1 [DEVELOPMENT ENVIRONMENT]
* 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
2012-07-17 16:24:48 +00:00
Adrien Prokopowicz
907dae4d24 [GB.XML]
* 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
2012-07-17 11:36:30 +00:00
Adrien Prokopowicz
45c8dae965 [GB.XML]
* 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
2012-07-16 19:34:23 +00:00
Adrien Prokopowicz
db72947b9f [GB.XML]
* 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
2012-07-11 15:14:13 +00:00
Adrien Prokopowicz
7d03122fa0 [GB.XML]
* NEW: Added two properties FirstChild and LastChild to XmlElement.

git-svn-id: svn://localhost/gambas/trunk@4932 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-10 13:53:38 +00:00
Adrien Prokopowicz
47985d1d8e [GB.XML]
* 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
2012-07-10 00:17:15 +00:00
Adrien Prokopowicz
fc299f0180 [GB.XML]
* 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
2012-07-09 23:33:56 +00:00
Adrien Prokopowicz
159390bc46 [GB.XML]
* 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
2012-07-09 22:22:11 +00:00
Adrien Prokopowicz
e8e480ac39 [GB.XML]
* BUG: The GetAttribute() method now correctly returns the attribute value.

git-svn-id: svn://localhost/gambas/trunk@4917 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 20:27:03 +00:00
Adrien Prokopowicz
91b8363562 [GB.XML]
* BUG: The encoding is now correctly specified in the document header.

git-svn-id: svn://localhost/gambas/trunk@4915 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-08 19:33:17 +00:00
Adrien Prokopowicz
2256d5f5a4 [GB.XML]
* 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
2012-07-08 15:30:42 +00:00
Adrien Prokopowicz
bbe2044823 [GB.XML]
* BUG: Solved a few bugs with the indentation in XmlWriter.

git-svn-id: svn://localhost/gambas/trunk@4889 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-03 17:16:36 +00:00
Benoît Minisini
1393597f4f [CONFIGURATION]
* 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
2012-07-02 17:51:54 +00:00
Adrien Prokopowicz
ea697d57a2 [GB.XML]
* BUG: Solved a XmlElement instanciation problem.

git-svn-id: svn://localhost/gambas/trunk@4873 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-29 22:40:23 +00:00
Adrien Prokopowicz
c4375aa197 [GB.XML]
* BUG: Solved a few memory leaks.

git-svn-id: svn://localhost/gambas/trunk@4872 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-29 22:02:43 +00:00
Adrien Prokopowicz
0d4935d790 [GB.XML]
* BUG: Fixed a compilation problem.

git-svn-id: svn://localhost/gambas/trunk@4869 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-28 18:27:32 +00:00
Adrien Prokopowicz
e6fb654a59 [GB.XML]
* BUG: There are only name-chars in XmlReader element's tags.

git-svn-id: svn://localhost/gambas/trunk@4868 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-28 18:25:57 +00:00
Adrien Prokopowicz
6a1852c0ad [GB.XML]
* 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
2012-06-27 12:17:47 +00:00
Adrien Prokopowicz
001a5947bd [GB.XML]
* 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
2012-06-26 17:45:57 +00:00
Adrien Prokopowicz
acab57079d [GB.XML]
* BUG: XmlReader now correctly raises the Element state.

git-svn-id: svn://localhost/gambas/trunk@4860 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-25 17:54:35 +00:00
Adrien Prokopowicz
d3dfb74567 [GB.XML]
* 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
2012-06-25 16:33:14 +00:00
Adrien Prokopowicz
c8b94b5b15 [GB.XML]
* 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
2012-06-25 12:44:15 +00:00
Adrien Prokopowicz
ee023f38e4 [GB.XML]
* 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
2012-06-25 09:37:40 +00:00
Adrien Prokopowicz
ef3bc6b361 [GB.XML]
* 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
2012-06-23 19:43:43 +00:00
Adrien Prokopowicz
ec9a9d5038 [GB.XML]
* 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
2012-06-16 17:49:25 +00:00
Adrien Prokopowicz
213343c966 [GB.XML]
* BUG: XmlReader.Node.Attributes.Count now always returns an integer.

git-svn-id: svn://localhost/gambas/trunk@4835 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-15 19:23:01 +00:00
Adrien Prokopowicz
438116bdb3 [GB.XML]
* 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
2012-06-15 01:33:48 +00:00
Adrien Prokopowicz
2011d69ee3 [GB.XML]
* 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
2012-06-13 23:10:33 +00:00
Adrien Prokopowicz
35b390e5e1 [GB.XML.XSLT]
* 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
2012-06-12 21:12:56 +00:00
Adrien Prokopowicz
5248d86f82 [GB.XML]
* BUG: Comments are now correctly supported.
* BUG: Fix a 32-bits compilation warning.

git-svn-id: svn://localhost/gambas/trunk@4824 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-12 18:17:10 +00:00
Benoît Minisini
442f8ce70e [CONFIGURATION]
* NEW: Switch version to 3.2.0.

[GB.XML]
* BUG: Fix a 64-bits compilation warning.



git-svn-id: svn://localhost/gambas/trunk@4815 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 02:44:17 +00:00
Adrien Prokopowicz
6fe4df8b2a [GB.XML]
* BUG: XmlReader now correctly reads comments.
* BUG: XmlReader now correctly reads self-closed elements.

git-svn-id: svn://localhost/gambas/trunk@4814 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-09 00:06:38 +00:00
Adrien Prokopowicz
54395ea31f [GB.XML]
* BUG: Fixed XmlExplorer document loading.
* BUG: Fixed the XmlElement.LastChildElement property.

git-svn-id: svn://localhost/gambas/trunk@4813 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-06 16:38:18 +00:00
Adrien Prokopowicz
019626a992 [GB.XML]
* 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
2012-06-05 22:38:58 +00:00
Adrien Prokopowicz
6e474b44d6 [GB.XML]
* BUG: Fixed compilation problems with textnode.h.

git-svn-id: svn://localhost/gambas/trunk@4811 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 21:26:48 +00:00
Adrien Prokopowicz
6d2b5d0ccd [GB.XML]
* NEW: The parser now raises complete error messages if parsing fails.
* BUG: Returning XmlDocuments does not crash anymore.

[GB.XML.XSLT]
* BUG: XSLT document parsing now correctly works

git-svn-id: svn://localhost/gambas/trunk@4810 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-05 21:17:45 +00:00
Benoît Minisini
7e3570bfc9 [DEVELOPMENT ENVIRONMENT]
* OPT: Use Application.Busy earlier when opening a project.

[WIKI CGI SCRIPT]
* BUG: Fix links with explicit version.

[INTERPRETER]
* BUG: Setting System.Profile does not crash the interpreter anymore when
  profiling has not been activated by the '-p' command-line flag.

[GB.FORM]
* NEW: FileChooser and DirChooser: It is now possible to move up one 
  directory even if we are on the root of the current bookmark.

[GB.JIT]
* BUG: Fix some warnings.

[GB.XML.RPC]
* BUG: Fix component requirements.


git-svn-id: svn://localhost/gambas/trunk@4806 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-03 22:21:24 +00:00
Benoît Minisini
ff93548e41 [DEVELOPMENT ENVIRONMENT]
* BUG: Profile windows correctly display line numbers now.

[GB.FORM]
* NEW: Hidden transparent SidePanel controls now have a large handle.

[GB.QT4.EXT]
* NEW: Editor: Line numbers are not drawn behind a procedure separator.
* NEW: Editor.NoFolding is a new flag to disable procedure folding support.
* NEW: Editor.LineOffset is a new property to define the line number just
  before the first displayed line (zero by default).


git-svn-id: svn://localhost/gambas/trunk@4803 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-06-02 14:44:00 +00:00
Adrien Prokopowicz
df734896c2 [GB.XML]
* BUG : Attributes.Count correctly works now
* BUG : XmlReader.Read only returns Eof if nothing has been found
* OPT : XmlReader now always adds read attributes instead of looking if it is already set

git-svn-id: svn://localhost/gambas/trunk@4795 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-31 00:52:06 +00:00
Adrien Prokopowicz
5fafeec711 [GB.XML.HTML]
BUG : Html elements which must have self-closing tags are now correctly rendered.
BUG : Sylesheet paths are now correctly supported.
BUG : Setting the base URL of a document works fine now.
BUG : HtmlDocument now can correctly detect the document type.

git-svn-id: svn://localhost/gambas/trunk@4794 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-30 21:18:16 +00:00
Adrien Prokopowicz
b2337ca7c7 [GB.XML]
OPT : Many code organization improvements, so that it is more readable
OPT : Directly uses char* into the nodes
OPT : Nodes have now pointers to their brothers and their parent, so that each Element behaves as a double-linked list
OPT : Improvements in gb.xml/gb.html linkage, so that ther isn't any including cpp files anymore
NEW : Added license agreements to the top of each source file
BUG : XmlNode.Attributes can't return Null anymore. If the node is not an Element, this property acts like there isn't any attribute.
BUG : Relationship between nodes are now correctly supported, so that every node is correctly released

git-svn-id: svn://localhost/gambas/trunk@4791 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-29 22:19:22 +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
Adrien Prokopowicz
95f477ead0 [GB.XML]
OPT : A few compilation optimizations in headers inclusions.
OPT : Use of separated internal classes of gambas objects. This might prevent from a lot of problems.
OPT : Strings are not stored as wchar_t* anymore, but as simple char*, and are converted only when necessary (like UTF8 characters verification).
OPT : Does not use STL classes anymore. They are too slow.  Uses now handmade classes.
OPT : Nodes are now internally linked to their brothers, so it makes find them really fasters, and allows no longer use of external linked list.
OPT : When creating new nodes, linked Gambas objects are created only when necessary, so it makes internals instanciations very faster (such as the parser).
OPT : Handmade string/memory classes and functions are now separated from the main.cpp component file.
OPT : Use specialized memory management functions (like memcpy, memchr ...) into the parser. They are really faster than C loops, and speeds up the parser for documents that have a lot of plain text.
OPT : Internally, the stream parser (XmlReader) takes only one char, not a unuseful wole string object.
OPT : Does not updates debugging data when parsing a file. They will be generated only if an error is raised (not implemented yet). It will allow a speedier parser and more precise informations.
BUG : When loading a document from a file, now correctly releases the file data.
BUG : Solved a few XmlReader uninitialized variables, that could make the stream parser crash or returns strange results.

git-svn-id: svn://localhost/gambas/trunk@4737 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-17 20:49:54 +00:00
Benoît Minisini
409f3ed4d7 [DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash if there is a compilation error in a form file.
* BUG: Autotools packager "make uninstall" should be definitely fixed.

[GB.GTK]
* NEW: A new interface to allow gb.gtk.opengl to create its GLArea widget.

[GB.GTK.OPENGL]
* NEW: New component that allows to do OpenGL with GTK+. It is based on there
  gtkglext library.

[GB.OPENGL]
* BUG: Initialize GLEW once.

[GB.QT4.OPENGL]
* NEW: Remove the Update() and the Select() methods.

[GB.XML.HTML]
* BUG: Don't link against gb.xml anymore as it seems to break on some 
  systems. Wait for a better solution...


git-svn-id: svn://localhost/gambas/trunk@4717 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-06 01:14:57 +00:00
Benoît Minisini
ea6c5f9688 [GB.XML.HTML]
* BUG: Try to bribe libtool so that we can link against gb.xml.


git-svn-id: svn://localhost/gambas/trunk@4716 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-05 20:52:42 +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
55604a096d [GB.XML.HTML]
* NEW: Make gb.xml.html compile against gb.xml.


git-svn-id: svn://localhost/gambas/trunk@4713 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-04 12:14:32 +00:00
Adrien Prokopowicz
d3cdbcfdde [GB.XML.XSLT]
* BUG : Solved a 'undefined symbol' error.

git-svn-id: svn://localhost/gambas/trunk@4712 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-05-03 11:26:36 +00:00
Adrien Prokopowicz
fc59f111f2 [GB.XML.HTML]
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
2012-05-02 14:08:31 +00:00
Adrien Prokopowicz
d76e97be7d [GB.XML.HTML]
* BUG : XmlElement inherited methods and properties now works correctly.

git-svn-id: svn://localhost/gambas/trunk@4699 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 14:01:03 +00:00
Adrien Prokopowicz
d9b20c0948 [GB.XML]
* BUG : XmlDocument.Content (and similar) now works correctly.

git-svn-id: svn://localhost/gambas/trunk@4697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-30 11:12:34 +00:00
Adrien Prokopowicz
5241ca29f0 [GB.XML]
* 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
2012-04-29 23:51:39 +00:00
Adrien Prokopowicz
a976fc3266 [GB.XML]
* BUG : Solved a few bugs in UTF8 characters management.

git-svn-id: svn://localhost/gambas/trunk@4691 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-29 19:31:18 +00:00
Adrien Prokopowicz
c23b8fab9f [GB.XML]
* 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
2012-04-29 16:46:18 +00:00
Adrien Prokopowicz
830375e4db [GB.XML.HTML]
* BUG : Using an HtmlDocument raised a segfault.

git-svn-id: svn://localhost/gambas/trunk@4680 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 23:53:21 +00:00
Adrien Prokopowicz
5c50f4c707 [GB.XML]
* NEW : Added the FromString() method to XmlReader.

git-svn-id: svn://localhost/gambas/trunk@4673 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-25 10:45:25 +00:00
Adrien Prokopowicz
647999ccdb [GB.XML]
* 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
2012-04-25 10:29:06 +00:00
Adrien Prokopowicz
89b4b18916 [GB.XML]
* 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
2012-04-24 23:47:14 +00:00
Adrien Prokopowicz
f897d771a6 [GB.XML]
* BUG: XSLT.Transform() does not crash anymore if the resulting document is empty.

git-svn-id: svn://localhost/gambas/trunk@4659 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 22:29:42 +00:00
Adrien Prokopowicz
828599ce9e [GB.XML]
* BUG: the parser now supports white spaces (http://www.w3.org/TR/REC-xml/#NT-S

git-svn-id: svn://localhost/gambas/trunk@4657 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 18:51:24 +00:00
Adrien Prokopowicz
d2a24bbec0 [GB.XML]
* BUG: XmlReader and XmlWriter can now correctly open files with relative paths.

git-svn-id: svn://localhost/gambas/trunk@4656 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 16:06:10 +00:00
Adrien Prokopowicz
5e582b1c6e [GB.XML]
* BUG: XmlReader can now correctly open files

git-svn-id: svn://localhost/gambas/trunk@4655 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 10:37:40 +00:00
Adrien Prokopowicz
2cbff79d05 [GB.XML]
* BUG: the parser now correctly supports UTF-8
* BUG: the parser now allows all special characters in tag names and attribute names, including the UTF-8 ones, as defined in http://www.w3.org/TR/REC-xml/#NT-NameChar

git-svn-id: svn://localhost/gambas/trunk@4654 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-22 02:51:53 +00:00
Adrien Prokopowicz
bda1b7d29d [GB.XML]
* BUG: removes not useful C++ flags.

git-svn-id: svn://localhost/gambas/trunk@4653 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 22:32:11 +00:00
Adrien Prokopowicz
9cf1f269a6 [GB.XML]
* BUG: The '_' special char is now supported in tag names and attribute names.
* BUG: Problems with line count when displaying errors are now solved.
* BUG: Local projects configuration files have been removed.

git-svn-id: svn://localhost/gambas/trunk@4652 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 21:46:17 +00:00
Benoît Minisini
4a32b1ed51 [WIKI CGI SCRIPT]
* NEW: Add "@since" special keyword.

[GB.FORM]
* BUG: GridView.SelectAll() now works correctly.


git-svn-id: svn://localhost/gambas/trunk@4650 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 13:44:35 +00:00
Benoît Minisini
2e1fedb669 [CONFIGURATION]
* NEW: Support for new gb.xml component family.

[DEVELOPMENT ENVIRONMENT]
* NEW: Support for new gb.xml component family.


git-svn-id: svn://localhost/gambas/trunk@4645 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-21 00:45:18 +00:00
Adrien Prokopowicz
bcc54489c1 [GB.XML]
* NEW: New XML manipulation component

git-svn-id: svn://localhost/gambas/trunk@4644 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 22:57:18 +00:00
Benoît Minisini
de083e583d [GB.LIBXML]
* NEW: Rename the gb.xml component as gb.libxml.

[GB.LIBXML.XSLT]
* NEW: Rename the gb.xml.xslt component as gb.libxml.xslt

[GB.LIBXML.RPC]
* NEW: Rename the gb.xml.rpc component as gb.libxml.rpc


git-svn-id: svn://localhost/gambas/trunk@4640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-04-20 01:01:48 +00:00
Benoît Minisini
dd3b512daf [CONFIGURATION]
* NEW: Update copyrights.


git-svn-id: svn://localhost/gambas/trunk@4384 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-31 02:39:20 +00:00
Benoît Minisini
88a213486b [CONFIGURATION]
* NEW: Use the "get version from file" option everywhere.

[DEVELOPMENT ENVIRONMENT]
* BUG: When the "get version from file" option is checked, get the version
  as soon as the program is compiled.

[EXAMPLES]
* NEW: Rewrite the OnScreenDisplay example with the Paint class.


git-svn-id: svn://localhost/gambas/trunk@4350 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-12-28 18:56:41 +00:00
Benoît Minisini
95aa370a7e [INTERPRETER]
* BUG: Do not use GB.ReturnNull() when returning a void string anymore. Use
  the new GB.ReturnVoidString() API instead.


git-svn-id: svn://localhost/gambas/trunk@4216 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-24 19:33:41 +00:00
Benoît Minisini
e531a4e05f [CONFIGURATION]
* BUG: Fix many gcc 4.6.1 warnings.
* NEW: Update the depcomp sript with a more recent version.

[GB.DB.POSTGRESQL]
* BUG: Fix primary index retrieving for tables inside a schema.


git-svn-id: svn://localhost/gambas/trunk@4203 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-10-16 19:24:01 +00:00
Benoît Minisini
9488c7aff7 [DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion now displays hidden symbols if the class is 
  part of the current project.
* NEW: Support for *.tar.xz source archives.
* NEW: Underscores are now allowed inside a class name.
* BUG: Enabling or disabling tooltips in the option dialog does not crash
  anymore.

[INTERPRETER]
* NEW: Rename many virtual classes everywhere so that the documentation can
  easily extract the property name of the parent class from the virtual
  class name. For example, ".ApplicationArgs" is now ".Application.Args".


git-svn-id: svn://localhost/gambas/trunk@4028 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-21 21:46:20 +00:00
Benoît Minisini
6e6d9fd916 [CONFIGURATION]
* BUG: Remove generated ltmain.sh files.


git-svn-id: svn://localhost/gambas/trunk@4007 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-08-10 22:18:30 +00:00
Benoît Minisini
2fbf67cb29 [CONFIGURATION]
* NEW: Update FSF address in every source file.


git-svn-id: svn://localhost/gambas/trunk@3870 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-06-03 00:51:09 +00:00
Benoît Minisini
5e91ded94f [INTERPRETER]
* BUG: Fix the use of boolean in the interpreter API.
* NEW: Change the GB.New() API signature, and update all components 
  accordingly.


git-svn-id: svn://localhost/gambas/trunk@3846 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2011-05-16 02:16:22 +00:00
Benoît Minisini
3054690743 [CONFIGURATION]
* NEW: Print a summary of warning messages after each component 
  compilation.

[INTERPRETER]
* BUG: StrPtr() with a length argument now works correctly.
* NEW: Support for callbacks: when converting a function to a Pointer, an 
  internal closure is created with the libffi library. The pointer then can 
  be sent to any extern function as function pointer argument.
* BUG: Opening memory stream should work in all cases now.


git-svn-id: svn://localhost/gambas/trunk@3038 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-07-14 01:50:18 +00:00
Benoît Minisini
b0a0c52af0 [INTERPRETER]
* NEW: More work on structure support.
* BUG: Fix optimization in error management.

[COMPILER]
* OPT: More optimizations. The Gambas 3 compiler is faster to compile the 
  Gambas 3 IDE than the Gambas 2 compiler to compile the Gambas 2 IDE, 
  which is smaller!
* NEW: Do not compute variable position and size, as it is done by the 
  interpreter anyway.

[GB.EVAL]
* NEW: Use the same optimizations as the compiler in the parser.

[GB.XML.RPC]
* BUG: The component compiles again.



git-svn-id: svn://localhost/gambas/trunk@2964 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-25 11:19:00 +00:00
Benoît Minisini
4a544c567a [INTERPRETER]
* BUG: Use GB.ReturnNewZeroString() instead of GB.ReturnNewString() now. 
  All components using the old syntax should be fixed now.
* NEW: Start to manage structures.


git-svn-id: svn://localhost/gambas/trunk@2957 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-05-23 11:07:14 +00:00
Benoît Minisini
61997e8921 [DEVELOPMENT ENVIRONMENT]
* NEW: Use the new mascot to draw project directory icon.

[EXAMPLES]
* NEW: Some little changes in the Painting example.

[INTERPRETER]
* NEW: The component GB_INIT function now returns an integer that gives an 
  unloading order. The higher the returned number, the later the component 
  is unloaded. If GB_INIT returns -1, then the component shared library 
  will not be unloaded.
* NEW: Update GB_INIT functions in all components.

[GB.DRAW]
* BUG: Paint.Image() optional translation arguments are not inverted 
  anymore.

[GB.QT4]
* BUG: If Paint.LineWidth is zero, then nothing is stroked, as in gb.gtk.
* BUG: TabStrip is now correctly arranged when it has only one tab.


git-svn-id: svn://localhost/gambas/trunk@2605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2010-01-10 13:40:48 +00:00
Laurent Carlier
9c40bbac3f [CONFIGURATION]
* BUG: Add --install glag to autoreconf, that fix creation of config files,
  also add build-dist script to create a lighter tar.bz2 archive of the
  repository.



git-svn-id: svn://localhost/gambas/trunk@2519 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-12-26 21:30:35 +00:00
Benoît Minisini
ab390c3410 [DEVELOPMENT ENVIRONMENT]
* BUG: Running a request now supports non-SELECT requests.
* BUG: Workaround for the DB.Quote() function that does not support 
  PostgreSQL schemas.

[GB.DB.FORM]
* BUG: The DataSource request is now really case unsensitive.
* NEW: Writing DataSource.Table property now raises an error when the 
  request fails.

[GB.DB.POSTGRESQL]
* NEW: Support for PostgreSQL schemas.


git-svn-id: svn://localhost/gambas/trunk@2438 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-11-25 02:38:13 +00:00
Benoît Minisini
f65184802d [CONFIGURATION]
* NEW: Update copyright and license string in all source files.


git-svn-id: svn://localhost/gambas/trunk@2241 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-17 10:41:51 +00:00
Benoît Minisini
8dbb8a1e2a [CONFIGURATION]
* BUG: Forgot to commit symbolic links to the "m4" directory.


git-svn-id: svn://localhost/gambas/trunk@2237 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:51:28 +00:00
Benoît Minisini
96550473f7 [CONFIGURATION]
* NEW: Put custom autoconf macros in the "m4" directory.
* NEW: Drop libltdl.

[GB.IMAGE]
* NEW: Image.Resize() and Image.Mirror() has been put in common there.
* NEW: Image.Flip() has been removed.
* NEW: Image.Copy() and Image.Resize() now supports 24-bits images.

[GB.OPENGL]
* NEW: Depends on gb.image now.
* NEW: Texture images can have any format now.


git-svn-id: svn://localhost/gambas/trunk@2236 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-08-16 22:07:48 +00:00
Benoît Minisini
f10e3056dd [DEVELOPMENT ENVIRONMENT]
* NEW: A menu for showing a specific tab of a MultiContainer.
* BUG: Fix a crash while scanning a class if the project is a component
  and if it is self-checked, which happens as soon as it is locally
  installed.

[GB.GTK]
* BUG: The Window.Sticky property now really returns a boolean.

[GB.QT]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.

[GB.QT4]
* BUG: The Window.TopOnly and Window.Stacking properties now return the
  last value assigned as in gb.gtk. It does not try to get the value from
  the window manager, as the change may not be immediate.
* BUG: The Window Open event is now raised for embedded windows that are
  shown implicitely because their parent were shown.

[GB.XML]
* BUG: Fix a memory leak in Xml.ToString().
* BUG: The encoding argument of Xml.ToString() is now taken into account.
* BUG: Xml.ToString() now uses the UTF-8 charset by default.


git-svn-id: svn://localhost/gambas/trunk@2099 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-07-10 12:44:06 +00:00
Benoît Minisini
cf2d76daca [CONFIGURATION]
* NEW: WARNING! The bytecode has changed, so every project needs to be
  recompiled.

[DEVELOPMENT ENVIRONMENT]
* NEW: A new project option to use the terminal emulator of the current 
  desktop instead of the built-in output window.
* BUG: "svn update" is now run non-interactive.

[WIKI CGI SCRIPT]
* NEW: {html ... } is a new section to put verbatim HTML inside a page.

[INTERPRETER]
* BUG: Fix a possible bug in the FreeBSD way of opening a pseudo-terminal
  when running an external process.
* NEW: External process can have a custom environment.
* BUG: Some forgotten FreeBSD patch.
* NEW: The hidden "-f" option now takes as argument the name of the debug
  fifo file without the extension. This is needed as now the IDE can put
  a terminal emulator between the debugged process and itself.

[COMPILER]
* NEW: New syntax for the EXEC and SHELL instruction. Now the WITH keyword
  can introduce an array of string, each of one being an environment 
  variable "NAME=VALUE".

[GB.DEBUG]
* NEW: Debug.Start() now returns the name of the debug fifo, without the
  extension.


git-svn-id: svn://localhost/gambas/trunk@1971 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-05-22 14:52:36 +00:00
Benoît Minisini
238da73bb3 [DEVELOPMENT ENVIRONMENT]
* NEW: Add support for extra package dependencies.
* BUG: The right column of the property sheet is not too wide anymore.

[GB.GTK]
* BUG: Fix the ComboBox.Add() method slowness.

[GB.QT]
* BUG: Borderless modal windows do not show any border anymore with 
  Metacity.

[GB.XML.RPC]
* BUG: Event management was fixed, thanks to Ron.
* BUG: RcpArray.Copy() now returns an RpcArray object.


git-svn-id: svn://localhost/gambas/trunk@1918 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-04-03 22:29:51 +00:00
Benoît Minisini
ff6862adb6 [DEVELOPMENT ENVIRONMENT]
* NEW: The toolbox now remembers if it is opened or closed.

[GB.QT]
* BUG: The Control.Tracking property is now visible in the IDE.
* NEW: GridView.AutoResize is a new property, set by default. The last 
  column of the GridView is automatically stretched only if this property 
  is set.

[GB.GTK]
* NEW: Control.Tracking has been implemented.

[GB.XML.RPC]
* BUG: RpcStruct.Value() should work as expected now.


git-svn-id: svn://localhost/gambas/trunk@1895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-03-04 17:42:11 +00:00
Benoît Minisini
2b8ed8ad3f [GB.FORM]
* BUG: Renaming a directory inside a DirView does not crash anymore if the 
  renaming operation is impossible.
* NEW: Directory and file names with a slash inside are now forbidden in 
  DirView.

[GB.XML.XSLT]
* BUG: The XSLT.Tranform() method works again.


git-svn-id: svn://localhost/gambas/trunk@1762 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2009-01-01 15:43:30 +00:00
Benoît Minisini
a2833d395a [GB.FORM]
* BUG: DatePicker does not open the calendar popup anymore when it is 
  disabled.
  
[GB.XML.XSLT]
* BUG: The XSLT component works again.


git-svn-id: svn://localhost/gambas/trunk@1719 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-12-01 00:07:25 +00:00
Benoît Minisini
88ec47c780 [GB.XML]
* BUG: Remove a method declared twice.


git-svn-id: svn://localhost/gambas/trunk@1698 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-11-11 15:05:00 +00:00
Benoît Minisini
7dabc871a2 [CONFIGURATION]
* BUG: Do not abort installation if a component written in gambas cannot 
  be installed.
* BUG: Disable colorgcc, libtool does not support it.

[DEVELOPMENT ENVIRONMENT]
* BUG: Print the real size of directory contents when getting information 
  on a project directory.

[WIKI CGI SCRIPT]
* BUG: Some fixes in 'example' section and in view mode.

[INTERPRETER]
* BUG: Fix illegal memory access in locale-aware string comparison.
* BUG: Fix a possible crash in String.UCase() and String.LCase().

[GB.FORM]
* BUG: SidePanel arrow buttons are correctly drawn with gb.gtk now.

[GB.GTK]
* BUG: Fix the Image.MakeTransparent() method.
* BUG: Fix the arrangement of ScrollView container.
* BUG: Fix the memory leak in the Picture class.
* BUG: Remove the Window resize event compression.
* BUG: Gridview cells are correctly refreshed now when their Picture or 
  Font property change.

[GB.NET.CURL]
* BUG: The Status property is correctly set after an error now.

[GB.QT]
* BUG: Correctly clears the internal closed flag when opening a Window.
* BUG: WAIT does not take 100% CPU anymore.

[GB.QT.EXT]
* BUG: In Editor, the cursor could disappear when clicking. Fix that.

[GB.XML]
* BUG: The management of XML nodes was incorrect, and so was redesigned.


git-svn-id: svn://localhost/gambas/trunk@1646 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-10-21 09:28:34 +00:00
Benoît Minisini
4834202640 [DEVELOPMENT ENVIRONMENT]
* BUG: Do not display the current opened project in the list of recently 
  opened projects.

[GB.XML]
* BUG: XMLDocument.Open() now can open a file located inside the project.


git-svn-id: svn://localhost/gambas/trunk@1406 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-06-11 19:16:52 +00:00
Benoît Minisini
f9aee465a3 [CONFIGURATION]
* BUG: config.h.in files were removed from repository.

[DEVELOPMENT ENVIRONMENT]
* BUG: The initial stack backtrace list width is correct now.


git-svn-id: svn://localhost/gambas/trunk@1233 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-03-23 01:07:33 +00:00
Laurent Carlier
a077eaed8b [GB.XML]
* BUG: Fix some linking problems.
* BUG: Makes gb.xml.rpc install correctly.


git-svn-id: svn://localhost/gambas/trunk@1122 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-26 08:28:58 +00:00
Benoît Minisini
e4d7400aa3 [CONFIGURATION]
* NEW: Removed the out-of-date README.FEDORA and README.REDHAT files.

[EXAMPLES]
* BUG: Fixed the MoviePlayer example.
* BUG: Fixed the Clock example.

[WIKI CGI SCRIPT]
* NEW: More titles and less borders.

[INTERPRETER]
* BUG: Uses the accurate method prototypes for Byte, Short and Single array
  classes.
* BUG: Many fixes in the error management.

[GB.DB]
* BUG: Fixed many warnings and some 64 bits stuff in all database drivers.

[GB.DEBUG]
* NEW: More explicit error messages when the creation of debugger fifos 
  fails.

[GB.COMPRESS.ZLIB]
* BUG: Fixed the compilation on 64 bits OS.

[GB.CORBA]
* NEW: Fixed some warnings.

[GB.GTK]
* NEW: Fixed some warnings.

[GB.IMAGE]
* NEW: Fixed some warnings.

[GB.NET.SMTP]
* NEW: Fixed some warnings.

[GB.PDF]
* NEW: Fixed some warnings.

[GB.QT.KDE]
* NEW: Fixed some warnings.

[GB.SDL]
* NEW: Fixed some warnings.

[GB.SDL.SOUND]
* NEW: Fixed some warnings.

[GB.XML]
* NEW: Fixed some warnings.

[GB.XML.XLST]
* NEW: Fixed some warnings.



git-svn-id: svn://localhost/gambas/trunk@1055 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-02-02 10:54:13 +00:00
Benoît Minisini
4c02c6d338 ******** Merged /branches/64bits r918:1003 into /trunk
[CONFIGURATION]
* NEW: 64 bits port.

[EXAMPLES]
* BUG: Fixed the AnalogWatch example.

[WIKI CGI SCRIPT]
* NEW: Some little cosmetic changes.

[INTERPRETER]
* NEW: The extern function implementation has been redesigned and is now
  based on libffi, so that it works on 64 bits system. Because of a flaw in
  the compiler design, projects that use the Pointer datatype must be
  recompiled to be used on a 64 bits system. This flaw will be fixed in
  Gambas 3.
* OPT: Put some tables into read-only memory. About 1000 bytes are saved
  for each running interpreter, except the first one.
* BUG: Does not crash anymore if a component cannot be loaded.
* NEW: Spanish translation updated.
* NEW: A new interpreter API for returning a pointer.

[COMPILER]
* BUG: Correctly compiles LONG constants inside code.

[GB.DEBUG]
* BUG: Compiles and links the gb.debug components with the thread
  libraries.

[GB.DB.SQLITE3]
* BUG: Getting the primary index of a table without primary index is safe
  now.

[GB.GTK]
* BUG: Modified the GLib priority of watched descriptors, as the main loop 
  could enter in a loop in which user interface events were not managed.
* BUG: Message boxes use application title without crashing now.

[GB.OPENGL]
* BUG: Disable dead code.

[GB.QT.EXT]
* BUG: TextEdit.TextWidth and TextEdit.TextHeight were not declared as
  read-only properties.

[GB.XML.XSLT]
* BUG: XSLT class is now declared as being not creatable.


git-svn-id: svn://localhost/gambas/trunk@1006 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-17 21:39:26 +00:00
Benoît Minisini
72aabf1920 [CONFIGURATION]
* BUG: Try to detect correctly all X11 linking paramters.

[64 BITS]
* NEW: Start to remove all ambiguous datatypes.

[DEVELOPMENT ENVIRONMENT]
* NEW: The gambas2 project was renamed to gambas3.
* BUG: The completion and signature font sizes are now the default one.
* NEW: Add support for Basque language.

[WIKI CGI SCRIPT]
* BUG: The symbol pages work again, and inheritance between class belonging
  to different components now is taken into account correctly.

[SCRIPTER]
* NEW: The gbs2 project was renamed to gbs3.


git-svn-id: svn://localhost/gambas/trunk@914 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2008-01-05 14:07:21 +00:00
Benoît Minisini
ba19f3c1dd * Copy https://gambas.svn.sourceforge.net/svnroot/gambas/2.0 to https://gambas.svn.sourceforge.net/svnroot/gambas/gambas
git-svn-id: svn://localhost/gambas/trunk@893 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2007-12-30 16:41:49 +00:00