Commit graph

6752 commits

Author SHA1 Message Date
gambas
d797a545b6 [COMPILER]
* NEW: Work on JIT continues...
* NEW: Better panic errors.

[INTERPRETER]
* NEW: Remove the old JIT stuff.
* NEW: Calls gb.jit at runtime if needed. If a fast function has no jit implementation, the bytecode version is used.
* NEW: Start defining the JIT interface needed by the JIT functions.
* NEW: The common static character buffer is now twice the size of the maximum symbol length, to avoid possible overflows.

[GB.JIT]
* NEW: Compilation starts to work.
* NEW: Debugging messages.
2018-05-26 16:50:00 +02:00
gambas
3c8c722989 New component for compiling JIT code at runtime.
[GB.JIT]
* NEW: New component for compiling JIT code at runtime.
2018-05-25 21:03:48 +02:00
gambas
cdc6d47922 Work continues on new JIT system.
[COMPILER]
* NEW: Work continues on new JIT system.

[INTERPRETER]
* NEW: Make comparison operator true functions so that they can be called by the JIT code.
2018-05-25 21:01:38 +02:00
gambas
e2a53d4a09 't' and 'tt' date format now return the correct timezone.
[INTERPRETER]
* BUG: 't' and 'tt' date format now return the correct timezone.
2018-05-25 12:17:30 +02:00
gambas
aebc6a0bda Fix some memory leaks when opening a connection fails.
[GB.DB.ODBC]
* BUG: Fix some memory leaks when opening a connection fails.
2018-05-24 17:59:50 +02:00
gambas
502b403728 TextEditor: Shortcuts work again.
[GB.FORM.EDITOR]
* BUG: TextEditor: Shortcuts work again.
2018-05-24 17:41:49 +02:00
gambas
35e9859894 Correctly fix the READ instruction without leaking memory.
[INTERPRETER]
* BUG: Correctly fix the READ instruction without leaking memory.
2018-05-24 15:09:51 +02:00
gambas
ebd8963617 Continue working on the new jit system.
[COMPILER]
* NEW: Continue working on the new jit system.
* NEW: Initial support for arithmetic instructions.
2018-05-24 00:31:58 +02:00
gambas
a9967b4ad0 Merge branch 'master' of gitlab.com:gambas/gambas 2018-05-23 20:40:26 +02:00
gambas
b5edf09de9 Reading a fixed number of bytes with READ does not crash anymore if an "End of file" error is raised.
[INTERPRETER]
* BUG: Reading a fixed number of bytes with READ does not crash anymore if an "End of file" error is raised.
2018-05-23 20:39:16 +02:00
Adrien Prokopowicz
4eec811322
Fix Debian poppler builds 2018-05-18 18:53:08 +02:00
Benoît Minisini
1b32fdc9f0 Use "configure -C", it's faster. 2018-05-18 07:22:52 +00:00
Benoît Minisini
cb4bde6ccd Merge branch 'master' into 'master'
Add basic configuration for Gitlab CI

See merge request gambas/gambas!21
2018-05-18 07:18:19 +00:00
gambas
dfeb4243ab Continue working on the new jit system.
[COMPILER]
* NEW: Continue working on the new jit system.
2018-05-18 02:19:28 +02:00
Adrien Prokopowicz
398d6d91e9
Add gitlab-ci.yml 2018-05-18 01:33:02 +02:00
gambas
f39f7063ef Start working on the new jit system.
[COMPILER]
* NEW: Start working on the new jit system.

[GB.JIT]
* NEW: Rename the component as 'gb.jit.llvm'.
2018-05-17 01:13:56 +02:00
gambas
8200600168 Don't crash when opening a Gambas source file as an external file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Don't crash when opening a Gambas source file as an external file.
2018-05-16 19:07:50 +02:00
gambas
e9bc65686c Software farm: Don't crash when installing an example if its symbolic link alread exists.
[DEVELOPMENT ENVIRONMENT]
* BUG: Software farm: Don't crash when installing an example if its symbolic link alread exists.
* BUG: Project tree: CTRL + double-click is now triggered only on source files.
2018-05-16 19:00:22 +02:00
gambas
64f20f041f Continue fixing compilation on old versions of the horrible poppler library.
[GB.PDF]
* BUG: Continue fixing compilation on old versions of the horrible poppler library.
2018-05-16 03:50:46 +02:00
gambas
f87cd1025b Continue fixing compilation on old popplers.
[GB.PDF]
* BUG: Continue fixing compilation on old popplers.
2018-05-16 02:29:12 +02:00
gambas
e528f3441a Fix compilation with poppler < 0.64.
[GB.PDF]
* BUG: Fix compilation with poppler < 0.64.
2018-05-16 02:24:20 +02:00
Tobias Boege
0893ca7dee gb.pdf: Fix compilation with older popplers
[GB.PDF]
* BUG: Fix compilation with older popplers
2018-05-16 02:04:47 +02:00
Adrien Prokopowicz
6c9f64666a
[GB.XML]
* BUG: Fix the XmlNode.GetElementsByAttributeValue() method.
2018-05-16 01:43:21 +02:00
Tobias Boege
fdf8fa658f gb.pdf: Compile with poppler 0.64
[GB.PDF]
* NEW: Add many consts to compile with poppler 0.64. Partial patch thanks to Tony Morehen
2018-05-15 21:27:51 +02:00
gambas
6858457dbb Automatic completion: Don't crash when completing an unreadable directory.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Don't crash when completing an unreadable directory.
2018-05-14 01:18:11 +02:00
Benoît Minisini
df6bf93820 Merge branch 'master' into 'master'
This commit contains bug fix for the Chart component.

See merge request gambas/gambas!18
2018-05-13 21:20:21 +00: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
dce6496cd9 Use text colors and not tooltip colors for form & image editors' information panel. Tooltip colors are sometimes unreadable.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Use text colors and not tooltip colors for information panel. Tooltip colors are sometimes unreadable.
* NEW: Image editor: Use text colors and not tooltip colors for information panel.
2018-05-12 19:41:48 +02:00
gambas
2c2146d594 Merge branch 'master' of gitlab.com:gambas/gambas 2018-05-12 19:40:38 +02:00
gambas
352bf8230d Fix use of QFont::setStyleName()
[GB.QT4]
* BUG: Don't use QFont::setStyleName() if Qt version is not at least 4.8.

[GB.QT5]
* BUG: Call QFont::setStyleName() last, as it may be buggy if Qt version is not at least 5.3.
2018-05-12 19:38:38 +02:00
Benoît Minisini
386edd1f79 Merge branch 'patch-2' into 'master'
fix forgotten conditional, not property a bug, conserves minimal build requirements

See merge request gambas/gambas!20
2018-05-12 13:07:30 +00:00
PICCORO Lenz McKAY
7e622ba756 fix forgotten conditional, not property a bug, conserves minimal build requirements 2018-05-11 20:21:10 +00:00
gambas
d552008415 Add a flag for enabling link time optimization, and disable it by default.
[CONFIGURATION]
* NEW: Add a flag for enabling link time optimization, and disable it by default.
2018-05-10 09:13:15 +02:00
gambas
1701be8a34 Open project dialog: Always select the project filter text.
[DEVELOPMENT ENVIRONMNENT]
* BUG: Main window: Fix an english mistake in a menu entry.
* NEW: Open project dialog: Always select the project filter text.
2018-05-09 01:18:13 +02:00
gambas
14614f4e67 Check if the "-flto" link time optimzation flag is available.
[CONFIGURATION]
* BUG: Check if the "-flto" link time optimzation flag is available.
2018-05-08 18:44:31 +02:00
gambas
85376261ea DateBox: The time popup works correctly again.
[GB.FORM]
* BUG: DateBox: The time popup works correctly again.
2018-05-07 22:20:01 +02:00
Tobias Boege
6a77f9f2c5 Only use tag in trunk_version.h if it is *exactly* that commit
[CONFIGURATION]
* BUG: Only use tag in trunk_version.h if it is *exactly* that commit
2018-05-05 18:07:50 +02:00
Tobias Boege
9ed904241f Print git tag instead of branch name in trunk_version.h if available
[CONFIGURATION]
* NEW: Print git tag instead of branch name in trunk_version.h if available
2018-05-05 17:56:29 +02:00
Tobias Boege
e4bfb99a47 Generate trunk_version.h with detached HEAD
[CONFIGURATION]
* BUG: Generate trunk_version.h with detached HEAD
2018-05-05 17:56:29 +02:00
Davidmue
f61ff5e8b6 This commit contains bug fix for the Chart component.
[GB.CHART]
* BUG: Fixed a bug in Chart class.
  A more complex calculated id is now used. This let us use more than one chart.
* BUG: Fixed a bug in _CSerie class.
  A call to an unexisting property Labels has been changed.
2018-05-05 11:02:05 +02:00
gambas
a9f852d5c5 Farm client: Compile the project before publishing it, so that the project version is accurate in the case it is read from a VERSION file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Farm client: Compile the project before publishing it, so that the project version is accurate in the case it is read from a VERSION file.
* BUG: Property sheet button icon is now different from project properties button icon.
2018-05-04 18:54:34 +02:00
gambas
7239cbe35e SmtpClient: Fix the sent date header.
[GB.NET.SMTP]
* BUG: SmtpClient: Fix the sent date header.
2018-05-02 17:05:16 +02:00
gambas
90b70ed78b The 'Clear all breakpoints' menu entry works again.
[DEVELOPMENT ENVIRONMENT]
* BUG: The 'Clear all breakpoints' menu entry works again.
2018-05-01 17:45:51 +02:00
gambas
f57ffd7354 Automatic completion: SUPER and ME always show all hidden symbols and update source archive exclude list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: SUPER and ME always show all hidden symbols.
* NEW: Option dialog: Remove unused source archive configuration.
* NEW: Update source archives exclude list.
* BUG: Project tree: Modified classes correctly update their form icons.
* NEW: Update support file.
2018-04-28 16:00:12 +02:00
gambas
20f650aa59 Shortcut configuration dialog: Use the Shortcut class and display action icons correctly.
[GB.FORM.MDI]
* NEW: Shortcut configuration dialog: Use the Shortcut class.
* BUG: Shortcut configuration dialog: Display action icons correctly.
2018-04-28 15:54:33 +02:00
gambas
93fe4c8ae2 Shortcut: Write modifier keys with the first letter capitalized only.
[GB.GUI.BASE]
* BUG: Shortcut: Write modifier keys with the first letter capitalized only.
2018-04-28 15:53:17 +02:00
gambas
15cab715ac Search dialog: Do not crash anymore if the last searched window has been closed.
[DEVELOPMENT ENVIRONMENT]
* BUG: Search dialog: Do not crash anymore if the last searched window has been closed.
2018-04-21 20:41:05 +02:00
gambas
2b3cbd9217 TerminalView: Fix "EraseStartOfLine" VT-100 command and remove "Erase screen" optimization.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Remove "Erase screen" optimization.
* BUG: TerminalView: Fix "EraseStartOfLine" VT-100 command.
2018-04-21 20:38:57 +02:00
gambas
9b52761613 DesktopFile: Properties should be correctly writable now.
[GB.DESKTOP]
* BUG: DesktopFile: Properties should be correctly writable now.
2018-04-21 15:31:09 +02:00
gambas
9fc9132b75 String controls can be used as toolbar expander now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Move lock icons to the right of the toolbar.
* NEW: Remove some unused icons.
* BUG: Form editor: String controls can be used as toolbar expander now.
* NEW: Project tree: symbolic link emblem should be more visible now.
2018-04-20 18:31:02 +02:00