Commit graph

216 commits

Author SHA1 Message Date
Laurent Carlier
f1deb8e330 Remove register keyword, deprecated, now reserved keyword with C++17
Fixes "warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]"
with clang

https://en.cppreference.com/w/cpp/keyword/register
2019-10-30 06:53:09 +00:00
gambas
f2a64e1617 Fix XmlExplorer constructor declaration.
[GB.XML]
* BUG: Fix XmlExplorer constructor declaration.
2019-09-19 23:57:01 +02:00
gambas
f7d07bae3d Component version is now taken from the VERSION file.
[GB.XML]
* BUG: Component version is now taken from the VERSION file.
2019-08-27 12:58:51 +02:00
gambas
860260802d Fix translation strings in some components.
[GB.FORM.EDITOR]
* BUG: Translate popup menu.

[GB.NET.CURL]
* BUG: DownloadManager: Remove useless Message event.
* NEW: DownloadManager: Add a Connect event raised when the distant server is connected.

[GB.WEB]
* BUG: CGI error message is not translatable.

[GB.XML]
* BUG: Error messages must not be translatable.
2019-06-22 07:45:29 +02:00
Tobias Boege
579c9e1fc7 gb.xml: <!DOCTYPE> declaration is case-insensitive
[GB.XML]
* BUG: <!DOCTYPE> declaration is case-insensitive.
2019-02-01 11:57:09 +01:00
gambas
46f21a7f7b Strip png files with ImageMagick convert command. 2018-09-19 20:53:00 +02:00
Adrien Prokopowicz
6c9f64666a
[GB.XML]
* BUG: Fix the XmlNode.GetElementsByAttributeValue() method.
2018-05-16 01:43:21 +02:00
Adrien Prokopowicz
2ac99a0f2a
[GB.XML]
* BUG: Fix reading XML comments and CDATA tags when they contain
characters that belong to the end tag while not forming a complete one.
* BUG: Fix returning value of XML comments.

[GB.XML.HTML]
* BUG: Fix reading lowercase HTML doctypes.
2018-05-13 15:49:00 +02:00
gambas
900fee66d5 Update many project configuration files. 2018-03-16 14:13:21 +01:00
Adrien Prokopowicz
6fd076a9ef
gb.xml.html: Fix detection of existing meta charset tags when switching to HTML5
[GB.XML.HTML]
* BUG: Fix detection of existing meta charset tags when switching to HTML5.
2017-09-23 19:20:02 +02:00
Adrien Prokopowicz
2865c9def1
The child search methods do not match the parent node anymore.
[GB.XML]
* BUG: The child search methods do not match the parent node anymore.
2017-09-23 13:56:12 +02:00
Adrien Prokopowicz
f33ee45041
gb.xml: Use NULL instead of the empty string, remove IDE project files.
[GB.XML]
* OPT: Use NULL instead of the emtpy string in function declarations.
2017-08-22 10:27:41 +02:00
Adrien Prokopowicz
934fe51bf7
XmlElement.RemoveAttribute() does not blow up the interpreter anymore.
[GB.XML]
* BUG: Fix crash when using XmlElement.RemoveAttribute()
2017-08-19 21:18:56 +02:00
Adrien Prokopowicz
29aadcb617
Remove deprecated dynamic exception specifiers from gb.xml.
[GB.XML]
* OPT: Remove deprecated dynamic exception specifiers.
2017-08-17 15:54:39 +02:00
Benoît Minisini
04175a1ca6 Merge branch 'cygwin' into 'master'
Cygwin changes for 3.10.0

See merge request !3
2017-08-17 10:46:13 +00:00
Laurent Carlier
e78a7fae66 Add more generated files to .gitignore, remove them from the repository 2017-08-15 08:03:17 +02:00
bgermann
68a1b517e0 Revert special Cygwin handling for memrchr
[GB.XML]
* NEW: Revert special Cygwin handling as memrchr is available with newlib's GNU extensions
2017-08-14 23:12:19 +02:00
Laurent Carlier
8dc6679530 Remove 'missing' file ,generated by autotools, from the repository 2017-08-13 16:13:06 +02:00
Adrien Prokopowicz
7179635295 [GB.XML]
* BUG: Fix finding the parent document of an element.

[GB.XML.HTML]
* BUG: Fix the serialization of HTML/XHTML documents.



git-svn-id: svn://localhost/gambas/trunk@8148 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-06-23 10:08:40 +00:00
Adrien Prokopowicz
033a769095 [GB.XML]
* BUG: XmlWriter: The Element() shortcut method now correctly escapes text content.

git-svn-id: svn://localhost/gambas/trunk@8120 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-05 08:52:51 +00:00
Adrien Prokopowicz
c6102c762f [GB.XML]
* BUG: XmlReader: Reading empty attributes should not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@8119 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-05 07:50:36 +00:00
Tobias Boege
3db3310dcd [GB.XML]
* BUG: XmlReader: Don't eat "]" or "-" characters in CDATA or comment sections when they don't terminate the section



git-svn-id: svn://localhost/gambas/trunk@8118 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-02 19:38:12 +00:00
Tobias Boege
9b105f5f19 [GB.XML]
* BUG: .XmlReader.Node.Attributes: Raise an error instead of segfault when an attribute does not exist
* NEW: .XmlReader.Node.Attributes.Exist() is a new method to check if an attribute is present
* BUG: XmlReader: Fix recognition of CDATA elements when their contents look like XML
* BUG: XmlReader: Correctly detect ending sequence of CDATA and comment sections (reset the recognition state when the sequence is interrupted)



git-svn-id: svn://localhost/gambas/trunk@8116 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-04-02 14:59:50 +00:00
Benoît Minisini
82eddfd5c9 [CONFIGURATION]
* NEW: Remove all 'depcomp' files. Apparently they are not used anymore by autoconf.

[INTERPRETER]
* BUG: Fix some gcc 6 warnings.

[GB.DEBUG]
* BUG: Fix some gcc 6 warnings.

[GB.GTK]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.GTK3]
* BUG: Fix some gcc 6 warnings.
* BUG: Fix a ';' mistake in a focus management test.

[GB.IMAGE]
* BUG: Fix some gcc 6 warnings.


git-svn-id: svn://localhost/gambas/trunk@8101 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2017-02-18 17:24:01 +00:00
Benoît Minisini
fe4450fd5a [DEVELOPMENT ENVIRONMENT]
* NEW: Update french translation.
* BUG: Editor: Fix error messages including HTML.
* NEW: Form editor: Support for WebFont properties.
* NEW: Form editor: New toolbar buttons for changing the font family.
* BUG: Form editor: CoordBox control now raises its Change event when it is cleared.
* NEW: WebForm: WebFont chooser dialog box.
* NEW: WebForm: Support for format toolbar buttons.
* NEW: Initial support for IDE extensions.
* BUG: Farm client: Fix software shortcuts removing.
* NEW: Farm client: Support for libraries.
* NEW: Farm client: Some look changes.
* BUG: Farm client: Fix tag editor.

[WEBSITE]
* NEW: Update to 3.9.1.

[FARM SERVER]
* NEW: Download count now takes all versions into account.

[GB.FORM]
* NEW: MessageViex: Add a Border property.
* NEW: Add a 'plugin' stock icon.

[GB.WEB.FORM]
* NEW: WebButton: Click() is a new method that triggers a button click.
* BUG: WebComboBox: Setting the Text property now correctly refreshes the control.
* NEW: WebControl: Font is a new property that allows to define some of the font CSS properties.
* BUG: WebControl: Modifying the Style property now correctly refreshes the control.
* NEW: WebControl: WebControl.Style.Exist() is a new property to know if a specific CSS property is explicitly defined.
* NEW: WebForm: Exec() is a new method to run some custom javascript in the browser.
* NEW: WebForm: Startup is a new property that allows to redefine the name of the startup form.
* NEW: WebTextBox: ShowClear is a new property that allows to enable a "clear" button inside the textbox.
* NEW: WebTextBox: Clear is a new event that is raised when the clear button is clicked. If that event is handled, then the control is not automatically cleared when clicking on the button.
* NEW: WebTextBox: Password is a new boolean property that puts the text box in password mode.
* BUG: WebControl: SetFocus() method now should work correctly in all cases.
* NEW: WebTable: Lines are now highlighted on mouse over, and separated by thin lines.


git-svn-id: svn://localhost/gambas/trunk@7977 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-11-16 21:10:05 +00:00
Nigel Gerrard
41895f5a54 [GB.JIT]
* BUG: Fix to locate JIT.H and resolve issue where multiple versions of llvm present. JIT.H is only available prior to llvm 5.6 and GB.JIT can only be compiled with those versions.

[GB.SDL]
* NEW: Cygwin needs the shared library x11 - as per Bastian Germann

[GB.XML]
* NEW: Cygwin changes - as per Bastian Germann 

git-svn-id: svn://localhost/gambas/trunk@7931 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-10-13 14:20:33 +00:00
Adrien Prokopowicz
98c990ceb1 [GB.XML]
* BUG: XmlNode.Attributes now works correctly when getting empty attributes.
* BUG: XmlElement.GetAttribute() now works correctly with empty attributes.

git-svn-id: svn://localhost/gambas/trunk@7912 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 12:37:08 +00:00
Tobias Boege
6d5cc42da0 [GB.XML]
* BUG: XmlNode: Don't crash when _get()'ing an empty attribute value



git-svn-id: svn://localhost/gambas/trunk@7911 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-13 11:53:40 +00:00
Benoît Minisini
6d7e74bad5 [GB.XML]
* BUG: Fix the previous fix in r7894.


git-svn-id: svn://localhost/gambas/trunk@7895 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 22:39:17 +00:00
Benoît Minisini
abb3ca308f [GB.XML]
* BUG: XML parser does not crash anymore when the final '>' of a closing tag is missing.


git-svn-id: svn://localhost/gambas/trunk@7894 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-05 19:34:09 +00:00
Benoît Minisini
dd180e03ee [COMPILER]
* BUG: Fix internal datatype analyze. The compiler should not crash anymore on ARM.

[GB.DB.ODBC]
* BUG: Fix a 32-bits 'sprintf' format bug.

[GB.IMAGE.IO]
* BUG: Fix a 32-bits 'sprintf' format bug.

[GB.XML]
* BUG: Fix a 32-bits 'sprintf' format bug.


git-svn-id: svn://localhost/gambas/trunk@7887 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-09-03 23:45:59 +00:00
Tobias Boege
c866e8a8ee [GB.XML]
* BUG: Fix copy & paste error (?) which creates CDATA nodes as comment nodes.



git-svn-id: svn://localhost/gambas/trunk@7637 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-03-15 17:16:58 +00:00
Tobias Boege
1a2c769259 [GB.XML]
* BUG: Fix off-by-one error in utils.cpp (cf. bug #894).



git-svn-id: svn://localhost/gambas/trunk@7605 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-02-17 00:18:40 +00:00
Adrien Prokopowicz
71ad28e365 [GB.XML]
* BUG: XmlReader: Fix text node management.
* BUG: Fix Gambas headers inclusion in various places.

git-svn-id: svn://localhost/gambas/trunk@7571 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2016-01-09 12:13:38 +00:00
Tobias Boege
afc5f34660 [GB.XML.HTML]
* BUG: XmlElement: Fix infinite loop from MatchFilter()



git-svn-id: svn://localhost/gambas/trunk@7389 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-10-05 15:41:37 +00:00
Adrien Prokopowicz
784047e199 [GB.XML]
* BUG: Fix attribute initialization method.

git-svn-id: svn://localhost/gambas/trunk@7226 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-08-15 21:32:33 +00:00
Adrien Prokopowicz
a327fcb807 [GB.XML]
* 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
2015-08-14 08:34:56 +00:00
Adrien Prokopowicz
bbcb258df4 [GB.XML]
* 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
2015-07-13 02:08:45 +00:00
Adrien Prokopowicz
90ce0adbba [GB.XML]
* BUG: XmlWriter: Buffers are now correctly flushed when ending a document.

git-svn-id: svn://localhost/gambas/trunk@7179 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-07-11 22:36:36 +00:00
Benoît Minisini
6d0511cded [COMPILER]
* BUG: Remove a debugging message.


git-svn-id: svn://localhost/gambas/trunk@6839 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2015-01-17 23:33:38 +00:00
Benoît Minisini
d3ebb6ccc8 [CONFIGURATION]
* 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
2015-01-01 11:46:48 +00:00
Adrien Prokopowicz
a213747294 [GB.XML]
* 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
2014-12-06 03:16:33 +00:00
Benoît Minisini
b887ad9b70 [CONFIGURATION]
* 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
2014-11-11 15:36:40 +00:00
Benoît Minisini
bd693ee0da [CONFIGURATION]
* NEW: Update version in project files.


git-svn-id: svn://localhost/gambas/trunk@6546 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-10-13 15:52:12 +00:00
Adrien Prokopowicz
c41939ed3b [GB.XML]
* 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
2014-08-05 02:02:56 +00:00
Adrien Prokopowicz
c2e7d79812 [GB.XML]
* BUG: Fix the Like-pattern matching of the XmlElement.GetChildrenByAttributeValue() method.

git-svn-id: svn://localhost/gambas/trunk@6358 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-07-02 21:33:03 +00:00
Benoît Minisini
7abbd5e799 [DEVELOPMENT ENVIRONMENT]
* 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
2014-05-23 11:52:04 +00:00
Adrien Prokopowicz
a56f3233d6 [GB.XML.HTML]
* BUG: Fix the implementation of HTMLDocument.GetElementById().

git-svn-id: svn://localhost/gambas/trunk@6244 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-04-16 13:42:20 +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
Adrien Prokopowicz
be3e30e985 [GB.XML]
* BUG: Fix MacOSX detection for GCC.

[GB.XML.HTML]
* BUG: Now correctly uses the MacOSX fix when needed.

git-svn-id: svn://localhost/gambas/trunk@6200 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2014-03-11 10:47:05 +00:00