Commit graph

7801 commits

Author SHA1 Message Date
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
gambas
c364aa22da Handle custom array classes automatically, and allow undo on non-existent pages.
[WIKI]
* NEW: Handle custom array classes automatically.
* NEW: Undo is now possible if the page does not exist.
2019-12-30 19:48:48 +01:00
gambas
1afcd229f8 Allow special commands to be inserted anywhere in the line, except the '@{index}' one.
[GB.MARKDOWN]
* NEW: Allow special commands to be inserted anywhere in the line, except the '@{index}' one.
2019-12-30 19:46:06 +01:00
gambas
65ccb4094c Fix session abandon.
[GB.WEB]
* BUG: Fix session abandon.
2019-12-30 19:45:16 +01:00
gambas
a4ec3990e7 Memory-mapped component archives file descritors are now automatically closed when a child process is executed.
[INTERPRETER]
* BUG: Memory-mapped component archives file descritors are now automatically closed when a child process is executed.
2019-12-30 19:41:33 +01:00
gambas
eeaec22e2c Update financial support list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support list.
2019-12-24 13:59:15 +01:00
gambas
5c69af0777 If you use the PROPERTY ... USE syntax, you have to use the SHIFT key with the ENTER key to automatically insert property handlers.
[DEVELOPMENT ENVIRONMENT]
* NEW: If you use the PROPERTY ... USE syntax, you have to use the SHIFT key with the ENTER key to automatically insert property handlers.
2019-12-23 11:37:36 +01:00
gambas
ccac0d27b4 Automatic completion: Add '_read' and '_write' special methods.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: Add '_read' and '_write' special methods.
2019-12-23 11:36:56 +01:00
gambas
b5affdfa60 Implement fast unsafe compilation of Byte@, Short@... functions, that just access memory without checking anything.
[GB.JIT]
* NEW: Implement fast unsafe compilation of Byte@, Short@... functions, that just access memory without checking anything.
2019-12-23 11:22:36 +01:00
gambas
87228b9c4f Packager: '*.deb' packaging now supports spaces in package target directory name.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: '*.deb' packaging now supports spaces in package target directory name.
2019-12-22 21:43:24 +01:00
gambas
b09ab39338 Function names can be put between parenthesis to disable possible warnings on them.
[COMPILER]
* NEW: Function names can be put between parenthesis to disable possible warnings on them.
2019-12-22 20:48:58 +01:00
gambas
15a7a7f4f3 Fix objet serialization.
[INTERPRETER]
* BUG: Fix objet serialization.
* NEW: Use one byte for writing the class name length when serializing objects.
2019-12-21 20:54:13 +01:00
gambas
f39ed34592 Serializing an object is not ambiguous anymore.
[INTERPRETER]
* BUG: Serializing an object is not ambiguous anymore.
2019-12-21 17:35:30 +01:00