Commit graph

2569 commits

Author SHA1 Message Date
gambas
26b4327f52 DataView: Add SelectAll() and UnselectAll() methods.
[GB.DB.FORM]
* NEW: DataView: Add SelectAll() and UnselectAll() methods.
2020-02-21 02:52:31 +01:00
gambas
ba39f8ff72 TextEditor: Correctly handle the drawing of the difference before the first line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Correctly handle the drawing of the difference before the first line.
* BUG: TextEditor: Correctly relayout differences when the Wrap property changes.
2020-02-20 16:28:47 +01:00
gambas
8a91545f11 CsvFile: Support for creating CSV files, not just reading them.
[GB.UTIL]
* NEW: CsvFile: Open() is a new method for opening a CSV file for reading.
* NEW: CsvFile: Create() is a new method for opening a CSV file for writing.
2020-02-19 03:00:45 +01:00
gambas
6793fbeadb Fix a typo in the icon map file.
[GB.FORM]
* BUG: Fix a typo in the icon map file.
2020-02-14 01:24:19 +01:00
gambas
4cbe937d04 Add 'view-tree' stock icon.
[GB.FORM]
* NEW: Add 'view-tree' stock icon.

[GB.FORM.STOCK]
* NEW: Add 'view-tree' stock icon.
* NEW: Redraw 'terminal' icon.
2020-02-14 00:46:54 +01:00
gambas
166231e89f Process: The answer to an expected prompt is correctly sent now.
[GB.UTIL]
* BUG: Process: The answer to an expected prompt is correctly sent now.
2020-02-12 17:28:57 +01:00
gambas
311d05d473 The Terminal class has been removed, and replace by an extension of the Process class.
[GB.UTIL]
* NEW: The Terminal class has been removed, and replace by an extension of the Process class. In other word the Expect() method is now directly a method of the Process class.
2020-02-12 02:26:10 +01:00
gambas
ee6b43ca21 Merge branch 'master' of gitlab.com:gambas/gambas 2020-02-11 01:53:47 +01:00
gambas
37b29a2191 Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
[GB.UTIL]
* NEW: Terminal: A new class that allows to answer the prompts of interactive commands running in a virtual terminal easily (think about ssh, scp...).
2020-02-11 01:53:07 +01:00
gambas
bade7e53dd Converting a collection into JSON is a now a bit faster.
[GB.UTIL.WEB]
* OPT: Converting a collection into JSON is a now a bit faster.
2020-02-11 01:50:18 +01:00
gambas
fc463e5f18 FontChooser: Initializing the font tree is now a lot faster.
[GB.FORM]
* OPT: FontChooser: Initializing the font tree is now a lot faster.
2020-02-11 01:48:45 +01:00
Christof Thalhofer
2fbfa495fc gb.test: Minimal change to test gitlab notification 2020-02-10 13:58:51 +01:00
Christof Thalhofer
d9fff7c380 gb.test Assert.Error clears error 2020-02-10 11:18:29 +01:00
gambas
7475109afe Fix component metadata so that it is usable from the outside.
[GB.WEB.FORM2]
* BUG: Fix component metadata.
* BUG: Don't make test forms exported. They can conflict with other forms with the same name.
* NEW: The Window Close event can be cancelled.
2020-02-05 22:47:23 +01:00
Christof Thalhofer
313ef71b0f gb.test Assert.Note complains about Null value
[GB.TEST]
    * NEW: Assert.Note complains about Null value
2020-02-01 23:54:01 +01:00
Christof Thalhofer
466aec07bb gb.test Assert returns result as boolean
[GB.TEST]
    * NEW: Assertions return test results as boolean. This can be used
    to print out an Assert.Note on failure.
2020-01-28 15:58:13 +01:00
Christof Thalhofer
550c56b596 gb.test: Fix plan if just one testmethod called
[GB.TEST]
    * BUG: Fix plan that counted all testmethods in a container even if just one was called
2020-01-24 10:10:39 +01:00
gambas
0fa6323186 Add Toolbar properties and methods needed to implement global save/restore of toolbar layouts.
[GB.FORM.MDI]
* NEW: Toolbar: Settings is a new property that allows to return or set the toolbar layout as a string.
* NEW: Toolbar: GetLayout() is a new static method that returns the saved layout of a toolbar from its key.
* NEW: Toolbar: SetLayout() is a new static method that defines the saved layout of a toolbar from its key.
2020-01-24 08:25:06 +01:00
gambas
6798771a6e IconPanel: Scale the panel icons so that each panel title has the same height.
[GB.FORM]
* NEW: IconPanel: Scale the panel icons so that each panel title has the same height.
2020-01-24 08:23:44 +01:00
gambas
95ee02ef3f IconView: Do not use rounded rectangles anymore for selection frames.
[GB.GUI.BASE]
* NEW: IconView: Do not use rounded rectangles anymore for selection frames.
2020-01-24 08:22:33 +01:00
gambas
f1780045e8 Use the KDE SVG version of Tux that is a lot smaller.
[GB.FORM]
* OPT: Use the KDE SVG version of Tux that is a lot smaller.
2020-01-24 08:13:05 +01:00
gambas
ccf1491037 Fix Drag() that was returning the drag frame instead of the target control.
[GB.GTK]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GTK3]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.GUI.BASE]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT4]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.

[GB.QT5]
* BUG: Fix Drag() that was returning the drag frame instead of the target control.
2020-01-24 08:12:01 +01:00
Christof Thalhofer
bae7204720 gb.test: Track errors with Error.Code 0 2020-01-22 09:13:41 +01:00
GianluigiOr
269a87ade6 Contains new Italian translations and a new author
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE Italian translations are now complete.

[GB.WEB.FORM2]
* NEW: The Italian translation.

[AUTHORS]
* NEW: Added a new italian translator
2020-01-21 14:27:36 +01:00
gambas
44256b0c65 TextEditor: Add support for integrated diff mode.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add support for integrated diff mode.
2020-01-20 13:01:05 +01:00
gambas
436039635b IconView: Fix grid height computation.
[GB.GUI.BASE]
* BUG: IconView: Fix grid height computation.
2020-01-20 12:58:58 +01:00
gambas
2deeab7410 Fix how Picture[] interprets relative paths.
[GB.GUI.BASE]
* BUG: Fix how Picture[] interprets relative paths.
2020-01-14 14:19:41 +01:00
gambas
0e46715855 TabPanel: TabBarSize is a new property that returns the height of the tab bar.
[GB.FORM]
* NEW: TabPanel: TabBarSize is a new property that returns the height of the tab bar.
* NEW: TabPanel: The "close all" button is now drawn after the right padding.
* NEW: ButtonBox: Custom buttons added with _AddButton() are now always between the clear button, and the standard button.
2020-01-09 18:33:36 +01:00
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
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
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
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
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
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
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
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
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
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
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
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