Commit graph

7913 commits

Author SHA1 Message Date
gambas
6d859430e3 Update 'sort-ascent' and 'sort-descent' icons.
[GB.FORM.STOCK]
* NEW: Update 'sort-ascent' and 'sort-descent' icons.
2020-01-09 18:32:56 +01:00
gambas
507f48ca61 Fix a possible memory leak when reading an object on a stream through its special _read() method fails.
[INTERPRETER]
* BUG: Fix a possible memory leak when reading an object on a stream through its special _read() method fails.
2020-01-09 18:31:56 +01:00
gambas
a7965ccee2 Fix a comment typo.
[COMPILER]
* BUG: Fix a comment typo.
2020-01-09 18:31:23 +01:00
gambas
85ded796c9 Fix release of return value of JIT methods called from non-JIT methods.
[INTERPRETER]
* BUG: Fix release of return value of JIT methods called from non-JIT methods.
2020-01-09 04:48:22 +01:00
gambas
e4a8ff5738 Workaround a gcc 8 compiler optimization bug.
[COMPILER]
* BUG: Workaround a gcc 8 compiler optimization bug.
2020-01-08 22:15:45 +01:00
gambas
bf72ff3e68 Add WebTable control.
[GB.WEB.FORM2]
* NEW: Add WebTable control.
* BUG: Fix WebTable column headers layout when sorting is enabled.
* NEW: Use big icons for sorted WebTable columns headers.
2020-01-08 14:02:30 +01:00
gambas
9aee4a0d04 Workspace: Add a TabPanel property that returns the inner workspace tab panel.
[GB.FORM.MDI]
* NEW: Workspace: Add a TabPanel property that returns the inner workspace tab panel.
2020-01-08 14:01:21 +01:00
gambas
0f958726da Use tab bar extra buttons for showing panels, and add a button to toggle sort by inheritance in the project tree.
[DEVELOPMENT ENVIRONMENT]
* NEW: Use tab bar extra buttons for showing project tree, property sheet, control tool box and property help.
* NEW: Remove the 'show property help' option.
* NEW: Add a button to toggle sort by inheritance in the project tree.
* NEW: Update French translation.
2020-01-08 13:58:13 +01:00
gambas
980aff24d4 TabPanel: Fix tab bar layout routine.
[GB.FORM]
* BUG: TabPanel: Fix tab bar layout routine.
2020-01-08 13:57:26 +01:00
gambas
9512d2bf26 Class.Stat() now understands the ".../" syntax to look for classes in the current project.
[GB.UTIL]
* NEW: Class.Stat() now understands the ".../" syntax to look for classes in the current project.
2020-01-08 13:55:37 +01:00
gambas
46b3b16630 Application.ParentHandle is a new property that returns the parent process id.
[INTERPRETER]
* NEW: Application.ParentHandle is a new property that returns the parent process id.
2020-01-08 13:54:03 +01:00
gambas
d0e6769d0a Add buttons on top of tab bars to show hidden panels.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add buttons on top of tab bars to show hidden panels.
* NEW: If 'chromium' is selected as default browser, then stable Google Chrome can be used if Chromium is not installed.
* NEW: Update Zen color theme.
2020-01-07 20:30:59 +01:00
gambas
efa1771b4f TextEditor: Highlight the entire current line when it is wrapped.
[GB.FORM.EDITOR]
* NEW: TextEditor: Highlight the entire current line when it is wrapped.
2020-01-07 20:29:56 +01:00
gambas
f7e9724126 Workspace: Add TabBarPaddingStart and TabBarPaddingEnd properties.
[GB.FORM.MDI]
* NEW: Workspace: Add TabBarPaddingStart and TabBarPaddingEnd properties. They allow to define space on the left and the right of the tab bar, so that you can put some widgets on top.
2020-01-07 20:29:00 +01:00
gambas
6586d508ec TabPanel: Add TabBarPaddingStart and TabBarPaddingEnd properties.
[GB.FORM]
* NEW: TabPanel: Add TabBarPaddingStart and TabBarPaddingEnd properties. They allow to define space on the left and the right of the tab bar, so that you can put some widgets on top.
* BUG: ButtonBox: Settings the Filter property to FALSE correctly destroy the internal associated button, and prevent the control to crash if you set the property again.
2020-01-07 20:26:15 +01:00
gambas
2429cff72b Fix possible memory leaks when reading objects or variants with the READ instruction.
[INTERPRETER]
* BUG: Fix possible memory leaks when reading objects or variants with the READ instruction.
2020-01-07 02:34:40 +01:00
gambas
0ee8b98ca8 Raise Progress events later on the event loop, to avoir possible crashes of WebView methods.
[GB.QT4.WEBKIT]
* BUG: Raise Progress evens later on the event loop, to avoir possible crashes of WebView methods.

[GB.QT5.WEBKIT]
* BUG: Raise Progress events later on the event loop, to avoir possible crashes of WebView methods.
2020-01-07 02:05:12 +01:00
gambas
bf745644c7 Merge branch 'master' of gitlab.com:gambas/gambas 2020-01-06 23:07:19 +01:00
gambas
813e16fe76 Development in progress...
[GB.WEB.FORM2]
* BUG: Fix refresh of WebForm and WebTimer.
* BUG: Restart timeout timer correctly when a request has been processed.
* NEW: Add WebProgressBar control.
* NEW: If unity is not specified in WebForm.Move() coordinates, use 'px'.
2020-01-06 23:07:04 +01:00
gambas
f0290255fe Opening a pipe for reading does not block anymore if the pipe has not been opened for writing yet.
[INTERPRETER]
* NEW: Add class name in 'incorrect symbol declaration' error message.
* NEW: Opening a pipe for reading does not block anymore if the pipe has not been opened for writing yet. It help synchronizing applications using the same pipe a lot!
2020-01-06 23:02:33 +01:00
gambas
d631187555 Fix incorrect declaration of '_put' methods.
[GB.XML]
* BUG: Fix incorrect declaration of '_put' methods.
2020-01-06 23:00:20 +01:00
Benoît Minisini
f54938e1e9 Merge branch 'master' into 'master'
Language German translation small fix

See merge request gambas/gambas!125
2020-01-05 20:59:22 +00:00
Christof Thalhofer
5cc607d652 Language German translation small fix 2020-01-04 22:29:30 +01:00
gambas
23db6f9507 Merge branch 'master' of gitlab.com:gambas/gambas 2020-01-04 22:21:22 +01:00
gambas
053579dbc8 Development in progress...
[GB.WEB.FORM2]
* NEW: Add WebDateBox and WebDateChooser controls.
* NEW: Using embedded HTTP server is possible now.
* NEW: Add WebComboBox control.
* NEW: WebControl objects become invalid if they are deleted.
* NEW: WebForm.ShowModal() and WebForm.ShowPopup() work, and they are really modal.
* NEW: Modal forms can be persistent.
* NEW: Add WebForm Width and Height properties.
* NEW: Add WebScrollView control.
* NEW: Add WebSeparator control.
* NEW: Add WebSpinBox control.
* NEW: Add WebTextArea control.
2020-01-04 22:20:53 +01:00
gambas
dd2fca5fd3 Help viewer: Cancel downloading when using a custom special url.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help viewer: Cancel downloading when using a custom special url.
* NEW: Do not log 'git branch' commands.
* NEW: Update Gambas fonts.
2020-01-04 22:13:41 +01:00
gambas
87100b744a Check special methods return value datatype. Add '_invalid' special variable.
[INTERPRETER]
* NEW: Check special methods return value datatype and raise a dedicated error if it is incorrect.
* NEW: Error.Text, Error.Where and Error.Backtrace are now available inside the Application_Error handler.
* BUG: 'gbx3 -L' now displays the same Gambas version as 'gbx3 -V'.
* NEW: A class can declare a public '_invalid' boolean variable. The value of that variable will indicates if the object is invalid.
2020-01-04 22:11:29 +01:00
gambas
c797862f43 Object.Count() does not fail anymore if the object is invalid.
[INTERPRETER]
* NEW: Object.Count() does not fail anymore if the object is invalid.
2020-01-04 22:09:56 +01:00
gambas
ca0a224f6a Signals are now correctly unregistered if the program exits during a signal handler.
[INTERPRETER]
* BUG: Signals are now correctly unregistered if the program exits during a signal handler.
2020-01-04 22:09:13 +01:00
gambas
4ac699a2f7 Fix incorrect declarations of special methods.
[GB.QT4.WEBKIT]
* BUG: Fix incorrect declarations of special methods.

[GB.QT5.WEBKIT]
* BUG: Fix incorrect declarations of special methods.
2020-01-04 22:03:02 +01:00
Benoît Minisini
91f946a539 Merge branch 'master' into 'master'
gb.test UnitTest now scans .../.gambas for testclasses

See merge request gambas/gambas!124
2020-01-04 18:33:35 +00:00
Christof Thalhofer
386f76e9fe gb.test UnitTest now scans .../.gambas for testclasses 2020-01-04 14:48:51 +01:00
Benoît Minisini
2cc1c26b04 Merge branch 'master' into 'master'
gb.test: Always report Track.Plan <> Track.Counter

See merge request gambas/gambas!122
2020-01-04 09:31:59 +00:00
Benoît Minisini
1269bcbd80 Update .gitlab-ci.yml 2020-01-04 02:28:05 +00:00
gambas
189d535bc5 Merge branch 'master' of gitlab.com:gambas/gambas 2020-01-04 03:20:35 +01:00
gambas
ce9e936e32 Add WebTabPanel control, WebImage Aligment and Mode properties.
[GB.WEB.FORM2]
* NEW: Add vertical alignment constants, and alignment test methods.
* BUG: Fix container arrangement properties.
* NEW: WebImage: Add Alignment property.
* NEW: WebImage: Add Mode property, that defines how the image is stretched inside the control.
* NEW: Add WebTabPanel container.
* NEW: Remove round borders from default style sheet.
2020-01-04 03:20:16 +01:00
Benoît Minisini
236e2539f6 Update .gitlab-ci.yml 2020-01-04 01:19:54 +00:00
gambas
e1ac5eb6d9 Add 'gb.web.form2' to the list of components written in Gambas.
[CONFIGURATION]
* NEW: Add 'gb.web.form2' to the list of components written in Gambas.
2020-01-04 01:59:10 +01:00
gambas
13245b40a0 New web form component that allows to make web applications like 'gb.web.form', but faster and more like desktop applications.
[GB.WEB.FORM2]
* NEW: New web form component that allows to make web applications like 'gb.web.form', but faster and more like desktop applications.
2020-01-04 01:51:37 +01:00
gambas
08c8402714 Allows requests and responses to be processed several times in the same process.
[GB.WEB]
* NEW: CGI.Reset() is a new method that resets CGI variables to their initial values.
* NEW: Request.Reset() is a new method that reads the request contents again.
* BUG: Use System.Language if the 'Accept-Language' HTTP header is void.
* NEW: Response.Begin() now takes the content-type as optional argument.
* NEW: Response.Reset() allows to send the response again.
* NEW: Compress text responses if its size is greater than 512 bytes, not 128.
2020-01-04 01:50:06 +01:00
gambas
22072e5bee Do not crash anymore when analyzing a line that ends with a '{' character.
[GB.EVAL]
* BUG: Do not crash anymore when analyzing a line that ends with a '{' character.
2020-01-02 15:02:06 +01:00
gambas
cf8f80e131 Update Gambas fonts.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
2020-01-02 13:32:52 +01:00
gambas
4a2b8ed1e7 Fix an ambiguous shortcut: opening file properties dialog is now triggered by CTRL+SHIFT+I.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix an ambiguous shortcut: opening file properties dialog is now triggered by CTRL+SHIFT+I.
2020-01-02 13:31:30 +01:00
gambas
552ab50bf0 Support for the new WAIT EVENT instruction.
[GB.SDL2]
* NEW: Support for the new WAIT EVENT instruction.
2020-01-02 13:21:22 +01:00
gambas
63000a27fe WAIT NEXT is a new instruction that waits for the next event and process it.
[INTERPRETER]
* NEW: WAIT NEXT is a new instruction that waits for the next event and process it.

[COMPILER]
* NEW: Support for the new WAIT NEXT instruction.

[GB.GTK]
* NEW: Support for the new WAIT NEXT instruction.

[GB.GTK3]
* NEW: Support for the new WAIT NEXT instruction.

[GB.QT4]
* NEW: Support for the new WAIT NEXT instruction.

[GB.QT5]
* NEW: Support for the new WAIT NEXT instruction.
2020-01-02 13:08:45 +01:00
gambas
ed25f184f0 Default message icons are now visible when 'gb.form' component is not used.
[GB.GUI.BASE]
* BUG: Default message icons are now visible when 'gb.form' component is not used.
2020-01-02 13:07:44 +01:00
Benoît Minisini
c48ebfacef Merge branch 'master' into 'master'
gb.test: Refactoring and improvements

See merge request gambas/gambas!121
2019-12-31 16:25:38 +00:00
Christof Thalhofer
c0fcfe0e5b gb.test: Always report Track.Plan <> Track.Counter
[GB.TEST]
*FIX: Always report Track.Plan <> Track.Counter even if no success
2019-12-31 01:51:24 +01:00
Christof Thalhofer
f9495607cf gb.test: Refactoring and improvements
[GB.TEST]
* NEW: Assert some reworking, skip, todo and body removed
* NEW: in a testcontainer in _new the count of tests can be defined by Me.Plan and differences between assertions counted and planned lead to No success
* NEW: Unittest.Bailout
2019-12-30 22:10:37 +01:00
gambas
41ddd4b946 Handle custom array classes in help.
[DEVELOPMENT ENVIRONMENT]
* BUG: Handle custom array classes in help.
2019-12-30 19:50:18 +01:00