Commit graph

2670 commits

Author SHA1 Message Date
Christof Thalhofer
e4f06f6674 gb.test refactoring for use of test modules
[GB.TEST]
* NEW: Add support for test modules.
2020-02-23 12:38:53 +01:00
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
gambas
5e907c649b Change the order of compilation of components made in Gambas, so that 'gb.scanner' is compiled after 'gb.form.print', as the project uses it.
[CONFIGURATION]
* NEW: Change the order of compilation of components made in Gambas, so that 'gb.scanner' is compiled after 'gb.form.print', as the project uses it.
2019-12-07 12:16:59 +01:00
Benoît Minisini
cd55a805c9 Merge branch 'italian-translations' into 'master'
Contains new Italian translations

See merge request gambas/gambas!119
2019-12-07 11:12:03 +00:00
gambix
365d3e0371 Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-07 09:31:57 +01:00
gambix
e38d83d418 Renamme all 'Finished' events to 'End' (ex: PageFinished to PageEnd)
[GB.SCANNER]
* New: Renamme all 'Finished' events to 'End' (ex: PageFinished to PageEnd)
* BUG: Now the ScannerOption Class is exported
2019-12-07 09:30:34 +01:00
gambas
038d9d632a Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-06 21:23:04 +01:00
gambas
60e3e79500 Make SmtpClient able to send multiple mails correctly.
[GB.NET.SMTP]
* BUG: Make SmtpClient able to send multiple mails correctly.
* NEW: Clear() is a new method that clears all attachments.
2019-12-06 21:22:28 +01:00
gambix
1d550d2d87 Support for multiple scan from the feeder./PageBegin and PageFinished event to manage actions between each page.
[GB.SCANNER]
* NEW: Support for multiple scan from the feeder.
* NEW: PageBegin and PageFinished event to manage actions between each page.
* NEW: Better error management with an Error event
* NEW: An example in the source that use the gb.scanner abilities.
2019-12-06 21:11:36 +01:00
gambas
27a0499b48 Markdown commands now can be anywhere in the text, except '@{index}' that still must be alone on its line.
[GB.MARKDOWN]
* NEW: Markdown commands now can be anywhere in the text, except '@{index}' that still must be alone on its line.
2019-12-06 00:32:16 +01:00
gambas
0f24434285 Merge branch 'master' of gitlab.com:gambas/gambas 2019-12-06 00:31:29 +01:00
gambas
7d86079f34 Fix window buttons and make table headers sticky.
[GB.WEB.FORM]
* NEW: Document the component.
* BUG: Fix window buttons.
* NEW: Make table headers sticky.
2019-12-06 00:29:25 +01:00
gambas
ece3da3909 * Add default margin properties to the Printer class.
[GB.FORM.PRINT]
* NEW: Add default margin properties to the Printer class (MarginTop, MarginBottom, MarginLeft and MarginRight).
2019-12-06 00:27:35 +01:00
GianluigiOr
bfe9ac2cf4 Contains new Italian translations
[GAMBAS-WIKI]
* NEW: The Italian translations are now complete.

[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE Italian translations are now complete.

[GB.WIKI]
* NEW: The complete Italian translations.

[GB.TEST]
* NEW: The Italian translation.
2019-12-03 16:31:13 +01:00
gambix
328e86d67e Fixed bugs again on the scanimage parser to take into account various configurations.
[GB.SCANNER]
* BUG: Fixed bugs again on the scanimage parser to take into account various configurations.
2019-12-01 18:53:08 +01:00
gambix
19b6d4845d Fixed bug on the scanimage parser to take into account various configurations.
[GB.SCANNER]
* BUG: Fixed bug on the scanimage parser to take into account various configurations.
2019-12-01 18:35:19 +01:00
gambas
77af836895 Fix management of dynamically created popups.
[GB.WEB.FORM]
* BUG: Fix management of dynamically created popups.
2019-11-26 00:10:36 +01:00
gambas
5bd12ffeae JSONCollection.Copy() now correctly returns a JSONCollection object.
[GB.UTIL.WEB]
* BUG: JSONCollection.Copy() now correctly returns a JSONCollection object.
2019-11-24 22:09:25 +01:00
gambas
0c9461d974 Correctly deal with '&' in bookmark names and MenuButton shortcuts.
[GB.FORM]
* BUG: MenuButton: Correctly deal with '&' shortcut character.
* BUG: FileChooser: Correctly deal with '&' in bookmark names.
2019-11-21 18:37:48 +01:00
gambas
9e07819719 Fix quoted-printable encoding of headers and mime part boundaries.
[GB.NET.SMTP]
* BUG: Fix quoted-printable encoding of headers containing e-mail addresses.
* BUG: Add '_=' sequence in mime part boundaries, as this sequence should not be present in encoded data.
2019-11-19 22:31:48 +01:00
gambas
3bbb4c4b8d Use the VERSION file for component version.
[GB.TEST]
* NEW: Use the VERSION file for component version.
2019-11-16 00:00:33 +01:00
gambas
410d8e8b5b Document the component with help comments.
[GB.FORM.TERMINAL]
* NEW: Document the component with help comments.
2019-11-15 23:59:32 +01:00
gambas
575bdb30d7 Add 'gb.test' to the 'comp/src/order' component list file.
[CONFIGURATION]
* Add 'gb.test' to the 'comp/src/order' component list file.
2019-11-15 23:51:53 +01:00
Christof Thalhofer
6beaefbe1c new component gb.test
[GB.TEST]
* NEW: component for unittesting
2019-11-15 21:33:54 +00:00
gambas
20443dad24 Message: The ENTER key now selects the button having the focus, not the default one, so that message boxes behave the same with GTK+ and Qt.
[GB.GUI.BASE]
* NEW: Message: The ENTER key now selects the button having the focus, not the default one, so that message boxes behave the same with GTK+ and Qt.
2019-11-10 23:29:42 +01:00
gambas
f60243ef96 Some fixes in Drag & drop frame management.
[DEVELOPMENT ENVIRONMENT]
* NEW: Draw the frame of control dropped from the toolbox bigger.
* BUG: The frame of control dropped from the toolbox should correctly disappear in all cases.

[GB.GUI.BASE]
* BUG: The DragLeave event is now emitted reliably when the mouse leaves the drag and drop frame.
2019-10-28 20:49:08 +01:00
gambas
bebcc2f36d Prevent possible flickering of drag & drop frame.
[GB.GUI.BASE]
* BUG: Prevent possible flickering of drag & drop frame.
2019-10-28 19:09:54 +01:00
gambas
44cf32eb9f Fix drag & drop frame management.
[GB.GUI.BASE]
* BUG: Fix drag & drop frame management.
2019-10-26 18:25:22 +02:00
gambas
9aca5f2379 Update project configuration files. 2019-10-26 01:17:02 +02:00
gambas
54742ab8b4 Redraw the 'menu' and 'new-dir' icon.
[GB.FORM.STOCK]
* NEW: Redraw the 'menu' and 'new-dir' icon.
2019-10-26 01:15:47 +02:00
gambas
7adf2f0f29 Fix mouse wheel zoom and paper size refresh.
[GB.FORM.PRINT]
* BUG: The paper size is correctly refreshed when the orientation is changed.
* BUG: You can continue to freely zoom with the mouse wheel when current zoom is at 100%.
2019-10-26 01:13:41 +02:00
gambas
230a42956c DocumentView: Some little design changes.
[GB.FORM]
* NEW: DocumentView: Some little design changes.
2019-10-26 01:12:27 +02:00
gambas
4a6031e49f Message boxes now correctly handle multi-line text in buttons.
[GB.GUI.BASE]
* BUG: Message boxes now correctly handle multi-line text in buttons.
2019-10-21 09:37:04 +02:00
gambas
a75610924a Bookmarks is a new static class that allows to define global bookmarks for all FileChooser and DirChooser controls.
[GB.FORM]
* NEW: Bookmarks is a new static class that allows to define global bookmarks for all FileChooser and DirChooser controls.
* NEW: Add separators between the different kind of bookmarks in the bookmark menu.
2019-09-12 03:37:07 +02:00
GianluigiOr
6a0540a700 Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now fix and complete.

[GB.UTIL]
* NEW: The translation is now complete.
2019-08-27 18:01:24 +02:00
gambas
1cc44adf79 Update component version.
[GB.NET.SMTP]
* NEW: Update component version.

[GB.SETTINGS]
* NEW: Update component version.
2019-08-27 13:00:03 +02:00
gambas
cf5be5b63d Some minus signs reformatting.
[GB.REPORT2]
* NEW: Some minus signs reformatting.
2019-08-27 12:57:25 +02:00
gambas
7ad9db74c4 TextEditor: Draw multi-line markers darker.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw multi-line markers darker.
2019-08-27 12:55:07 +02:00
gambas
d194837339 Update French translation.
[GB.UTIL]
* NEW: Update French translation.
2019-08-26 00:27:29 +02:00
gambas
445784e820 Take the window menu bar into account when drawing drag and drop frame.
[GB.GUI.BASE]
* BUG: Take the window menu bar into account when drawing drag and drop frame.
2019-08-22 03:19:40 +02:00
gambas
791ca46db6 WebForm: Forms embedded into other forms work correctly now.
[GB.WEB.FORM]
* BUG: WebForm: Forms embedded into other forms work correctly now.
* BUG: WebForm: An error is raised now when trying to show an embedded form.
* BUG: WebForm: Fix message box icons pre-loading.
2019-08-21 21:18:34 +02:00
gambas
57d9196c90 The defaut country of language collection has been replaced by a string, faster to initialize.
[GB.WEB]
* OPT: The defaut country of language collection has been replaced by a string, faster to initialize.
2019-08-03 00:25:57 +02:00
gambas
c8d94ef9b1 Request: Fix Language property and add ContentType and ContentLength properties.
[GB.WEB]
* NEW: Request.ContentType is a new property that returns the Content-Type HTTP header.
* NEW: Request.ContentLength is a new property that returns the Content-Length HTTP header, or -1 if the header is not present.
* BUG: Request.Language now uses an internal dictionary to convert the Accept-Language HTTP header to a correct system language.
* BUG: Request.Language now takes the priority of languages specified in the Accept-Language HTTP header into account.
* BUG: If the request exceeds the maximum size defined by Request.MaxFileSize, a "Request too big" error is raised instead of "Response too big".
2019-08-02 02:36:16 +02:00
gambas
11bd8ccac9 GridView: Rich-text in centered cells with no text wrapping is correctly drawn now.
[GB.GUI.BASE]
* BUG: GridView: Rich-text in centered cells with no text wrapping is correctly drawn now.
2019-08-01 01:12:25 +02:00
gambas
43fa62e0d1 [GB.DESKTOP]
* NEW: Desktop.Types is a new property that returns a read-only array of each desktop defined in Desktop.Type.
* NEW: Desktop.Passwords: Work correctly now when multiple desktops are included in the Desktop.Type property.
* OPT: DesktopFiles: Remove some useless array copies.
2019-07-31 00:23:49 +02:00
gambas
27f89780f9 IconView: Draw selected icons with a rectangular frame.
[GB.GUI.BASE]
* NEW: IconView: Draw selected icons with a rectangular frame.
2019-07-24 21:19:56 +02:00
gambas
a3b06b8aad Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-24 20:04:32 +02:00
gambas
eba52aee12 CSS highlighter: Support for CSS escaped characters.
[GB.EVAL.HIGHLIGHT]
* BUG: CSS highlighter: Support for CSS escaped characters.
2019-07-24 20:03:18 +02:00
Benoît Minisini
6c79771631 Merge branch 'master' into 'master'
update Russian translation

See merge request gambas/gambas!106
2019-07-16 20:19:05 +00:00
Benoît Minisini
8e54671d1b Merge branch 'italian-translations' into 'master'
Contains new Italian translations

See merge request gambas/gambas!105
2019-07-16 20:18:32 +00:00
glixx
3af4212149 update Russian translation 2019-07-16 09:07:34 +03:00
gambas
f1a86eb687 Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-16 00:30:41 +02:00
gambas
6902893ddb DataSource: IgnoreParent is a new parent that tells the DataSource not to filter its contents with any parent DataSource.
[GB.DB.FORM]
* NEW: DataSource: IgnoreParent is a new parent that tells the DataSource not to filter its contents with any parent DataSource.
2019-07-16 00:29:14 +02:00
gambas
eb5172f4e5 FileView: Add information about each file next to the icon in icon view mode.
[GB.FORM]
* NEW: FileView: Add information about each file next to the icon in icon view mode.
* BUG: DocumentView: Remove erroneous public constant written in French.
2019-07-15 23:47:00 +02:00
Tobias Boege
77fdca9282 DataComboView: Add parameter to signature of Event Validate
[GB.DB.FORM]
* BUG: DataComboView: Add parameter to signature of Event Validate
2019-07-15 18:03:31 +02:00
GianluigiOr
72cb22f00b Contains new Italian translations
[GB.FORM.PRINT]
* NEW: The complete translation.
2019-07-13 16:05:55 +02:00
gambas
f82a67a4f3 TextEditor: Draw wrapped lines with a normal background, but with a gray hook to its right.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw wrapped lines with a normal background, but with a gray hook to its right.
* BUG: TextEditor: Now we can set up to 32 style colors without crashing.
2019-07-12 00:40:13 +02:00
gambas
99a72c01b6 TabPanel: Use the TabPanel foreground color to draw the titles of the tabs.
[GB.FORM]
* NEW: Spinner: Use the foreground color to draw the spinner and its label.
* NEW: TabPanel: Use the TabPanel foreground color to draw the titles of the tabs.
2019-07-12 00:16:29 +02:00
gambas
d186bf852a Add a Scroll event to TreeView, ColumnView and ListView.
[GB.GUI.BASE]
* BUG: GridView: Border padding is now applied inside the cell, not outside like the margin.
* NEW: TreeView: A Scroll event is raised now then the TreeView, the ListView or the ColumnView scrolls.
* BUG: TreeView: Setting the item Font property to NULL does not crash anymore.
2019-07-12 00:10:45 +02:00
gambas
0c0b2b64fa DesktopMime: Correctly identify executables as "application/x-executable".
[GB.DESKTOP]
* BUG: DesktopMime: Correctly identify executables as "application/x-executable".
2019-07-10 22:38:47 +02:00
gambas
9dfcfccb6a Don't depend on 'gb.form', it breaks the compilation!
[GB.GUI.BASE]
* BUG: Don't depend on 'gb.form', it breaks the compilation!
2019-07-10 13:23:56 +02:00
gambas
52950c37ee Enhance and fix the interface of the preview dialog.
[GB.FORM.PRINT]
* NEW: Enhance and fix the interface of the preview dialog.
2019-07-10 04:27:06 +02:00
gambas
0310b58414 TextEditor: TextEditor[].Paint() is a new method that paint the contents of a line, without the margin.
[GB.FORM.EDITOR]
* NEW: TextEditor: TextEditor[].Paint() is a new method that paint the contents of a line, without the margin.
2019-07-10 04:25:18 +02:00
gambas
b0801ec749 DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
[GB.FORM]
* BUG: DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
* OPT: DocumentView: Desaturate is faster now as it is done only once per page drawing.
2019-07-10 04:23:10 +02:00
gambas
be96ff02bc 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
[GB.FORM.PRINT]
* NEW: 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
2019-07-09 19:48:41 +02:00
gambas
f44b12f14b DocumentView: Fix some bugs and add ShowPage and Desaturate properties.
[GB.FORM]
* NEW: DocumentView: The default background color is now a mix of the default text foreground and background colors.
* BUG: DocumentView: Use Paint.Begin() instead of Draw.Begin(), so that preview uses anti-aliasing.
* BUG: DocumentView: Fix some cases of page drawing not correctly triggered.
* NEW: DocumentView: ShowPage is new property that displays the current page and the number of pages inside the preview.
* NEW: DocumentView: Desaturate is a new property that desaturates the preview. It's slow when the zoom is huge.
* NEW: DocumentView: Allow zoom up to 800%.
2019-07-09 19:43:15 +02:00
gambas
63b503ca24 Make the TreeView arrows a little bit thinner and darker
[GB.GUI.BASE]
* NEW: Make the TreeView arrows a little bit thinner and darker.
2019-07-09 19:41:10 +02:00
gambas
8479b7f608 Message: Workaround a text layout bug when computing the size of the message box.
[GB.GUI.BASE]
* BUG: Message: Workaround a text layout bug when computing the size of the message box.
2019-07-05 00:15:19 +02:00
Benoît Minisini
820c8cf9bb Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!104
2019-07-03 20:06:51 +00:00
gambas
d58e3c15dd Add 128 pixels versions of stock icons used by mimetypes.
[GB.FORM.STOCK]
* NEW: Add 128 pixels versions of stock icons used by mimetypes.
2019-07-03 21:39:55 +02:00
GianluigiOr
a9bd2fe844 Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now fix and complete.

[GB.FORM.TERMINAL]
* NEW: The complete translation.

[GB.TERM.FORM]
* NEW: The translation is now complete.

[GB.UTIL]
* New: The translation is now fix
2019-07-03 19:20:38 +02:00
gambas
a0fd6a99b7 TerminalView: Update colors so that they are readable both on a light and a dark background.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Update colors so that they are readable both on a light and a dark background.
2019-07-03 19:18:02 +02:00
gambas
03d704c092 New stock icon named 'call'.
[GB.FORM]
* NEW: New stock icon named 'call'.

[GB.FORM.STOCK]
* NEW: Add 'call' stock icon and redraw 'archive' icon.
2019-07-03 19:16:32 +02:00
gambas
6ef1ef4a6e ShowLines is a new property that makes the tree views draw tree lines.
[GB.GUI.BASE]
* NEW: Paint.Arrow() is a new method that draws an arrow.
* NEW: TreeView & ColumnView: ShowLines is a new property that makes the control draw tree lines.
* NEW: TreeView & ColumnView: The arrow size now follows the font size.
2019-07-03 11:49:32 +02:00
gambas
68e085bb10 Don't crash when seeking if no media is played and emit standard control events from the inner DrawingArea.
[GB.MEDIA.FORM]
* BUG: Don't crash when seeking if no media is played.
* NEW: Emit standard control events from the inner DrawingArea.
2019-06-30 20:32:01 +02:00
gambas
2e2c1c3b51 Try to enhance language detection in Request.Language property.
[GB.WEB]
* NEW: Try to enhance language detection in Request.Language property.
2019-06-29 16:19:12 +02:00
gambas
8294c6a81a New 'new-tab' stock icon and redraw a few icons.
[GB.FORM]
* NEW: New 'new-tab' stock icon.

[GB.FORM.STOCK]
* NEW: New 'new-tab' stock icon.
* NEW: Redraw a few icons.
2019-06-29 16:15:49 +02:00
gambas
01a3106d20 New Highlight.Alternate style, and make the matching braces blink with the cursor.
[GB.EVAL]
* NEW: Highlight.Alternate is a new constant that represents the background style used for coloring code embedded into webpages.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for new Highlight.Alternate style.

[GB.FORM.EDITOR]
* NEW: Support for new Highlight.Alternate style.
* NEW: Matching braces now blink with the cursor.
* BUG: When the cursor moves, the blinking timer is reset so that the cursor blinks only when it is not moving.
2019-06-29 16:11:51 +02:00
gambas
932fbb19f1 TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
[GB.FORM.EDITOR]
* NEW: TextEditor: Don't enclose selection with quotes anymore, it is more annoying than anything else.
* NEW: TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
2019-06-26 00:26:11 +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
gambas
0179eb5936 Enhance language detection done by the Request.Language property.
[GB.WEB]
* NEW: Enhance language detection done by the Request.Language property.
2019-06-21 20:00:58 +02:00
gambas
64a13bfab4 MenuButton: Fix possible crashes with focus management.
[GB.FORM]
* BUG: MenuButton: Fix possible crashes with focus management.
2019-06-21 19:56:48 +02:00
gambas
4f027d250f Fix drag & drop on drop targets that are children of another drop target.
[GB.GUI.BASE]
* BUG: Fix drag & drop on drop targets that are children of another drop target.
2019-06-19 13:09:06 +02:00
gambas
59431f13cf TabPanel: Fix drawing of tab header contents.
[GB.FORM]
* BUG: TabPanel: Fix drawing of tab header contents.
* NEW: TabPanel: Draw tab focus like hovered buttons.
* NEW: ListEditor: Use the 'remove' icon instead of the 'delete' one.
2019-06-14 01:23:43 +02:00
gambas
d9858d07af Compute prefered column width correctly and fix top-level menus initialization routine.
[GB.GUI.BASE]
* BUG: Top-level menus initialization routine takes invalid menus into account now.
* BUG: GridView: Compute prefered column width correctly.
2019-06-14 00:55:22 +02:00
gambas
a1d9ffc57d Message: Temporarily restore the default mouse cursor when displaying a message box.
[GB.GUI.BASE]
* BUG: Message: Temporarily restore the default mouse cursor when displaying a message box.
2019-06-06 01:59:22 +02:00
gambas
dd121d669f Replace the message box native implementation by a Gambas implementation.
[GB.FORM.STOCK]
* NEW: Add a 128 pixel version of the 'delete' stock icon.

[GB.GTK]
* NEW: Message: Remove the message box native implementation.

[GB.GTK3]
* NEW: Message: Remove the message box native implementation.

[GB.GUI.BASE]
* NEW: Message: Implement the message boxes entirely in Gambas.

[GB.QT4]
* NEW: Message: Remove the message box native implementation.

[GB.QT5]
* NEW: Message: Remove the message box native implementation.
2019-06-05 03:08:22 +02:00
gambas
3b2d832fd5 IconPanel: Fix cursor keys management, so that hidden tabs cannot be selected by keyboard.
[GB.FORM]
* BUG: IconPanel: Fix cursor keys management, so that hidden tabs cannot be selected by keyboard.
2019-06-04 20:57:10 +02:00
gambas
f1ac2f553b Implement Drag.Show() in Gambas, and consequently fix it in 'gb.gtk3'.
[GB.GTK]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.

[GB.GTK3]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.
* BUG: Finishing a drag & drop now correclty releases the button grab.

[GB.GUI.BASE]
* NEW: GridView: The padding of column headers is at least half of Desktop.Scale.
* NEW: ScrollArea: The Scroll() method returns TRUE now if no scrolling actually occured.
* BUG: TreeView: Item X property now correctly takes the TreeView padding into account.
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.

[GB.QT4]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.

[GB.QT5]
* NEW: Drag.Show() and Drag.Hide() methods are now implemented in 'gb.gui.base'.
* NEW: Drag.X and Drag.Y properties are now writable.
2019-06-01 04:52:25 +02:00
-
6706900ddf comp: gb.report: add more space for text 2019-05-30 09:49:10 +03:00
glixx
5024b3d6f5 update Russian translation 2019-05-28 09:06:07 +03:00
gambas
760d1be356 MenuButton: Focus should not be stolen anymore when clicking on a menu-only MenuButton.
[GB.FORM]
* NEW: MenuButton: Focus should not be stolen anymore when clicking on a menu-only MenuButton.
2019-05-27 18:49:53 +02:00
gambas
0ab84aa34a Disable top-level menus shortcuts when the window menu bar is hidden.
[GB.FORM]
* BUG: MenuButton: Use selected background color when the MenuOnly property is set and the MenuButton has the focus.

[GB.GTK]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.GTK3]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.GUI.BASE]
* NEW: Add helper function for disabling/enabling top-level menu shortcuts.

[GB.QT4]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.

[GB.QT5]
* NEW: Disable top-level menus shortcuts when the window menu bar is hidden.
2019-05-25 22:25:13 +02:00
Benoît Minisini
cd23bae03f Merge branch 'master' into 'master'
Russian translation and examples fixes

See merge request gambas/gambas!96
2019-05-24 01:04:57 +00:00
Benoît Minisini
19932f409a Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!95
2019-05-24 00:15:10 +00:00
W. Raets
615c5e89ed Updated all Dutch translations and dutch translator e-mail address
[DEVELOPMENT ENVIRONMENT]
* NEW: Updated Dutch translations

[WIKI CGI SCRIPT]
* NEW: Updated Dutch translations

[WEB SITE MAKER]
* NEW: Updated Dutch translations

[GB.ARGS]
* NEW: Updated Dutch translations

[GB.DB.FORM]
* NEW: Updated Dutch translations

[GB.FORM]
* NEW: Updated Dutch translations

[GB.FORM.DIALOG]
* NEW: Updated Dutch translations

[GB.FORM.MIDI]
* NEW: Updated Dutch translations

[GB.NET.POP3]
* NEW: Updated Dutch translations

[GB.REPORT]
* NEW: Updated Dutch translations

[GB.REPORT2]
* NEW: Updated Dutch translations

[GB.TERM.FORM]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FEED]
* NEW: Updated Dutch translator e-mail

[GB.WEB.FORM]
* NEW: Updated Dutch translator e-mail
2019-05-24 00:14:36 +00:00
glixx
2d2bb373c2 Update Russian translation 2019-05-23 07:15:00 +03:00
GianluigiOr
94c00feb6c Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now complete.

[GB.TERM.FORM]
* NEW: The complete new translation.
2019-05-21 16:04:57 +02:00
gambas
0732689800 About dialog: Wrap license text so that it is not truncated.
[DEVELOPMENT ENVIRONMENT]
* BUG: About dialog: Wrap license text so that it is not truncated.

[GB.GUI.BASE]
* BUG: Paint.DrawRichTextShadow() default radius is now the same as Paint.DrawTextShadow().
2019-05-18 19:26:11 +02:00
gambas
6f63a70ef3 GridView: GridView.Rows[].TextAlign is a new property that allows to define the alignment of the row header text.
[GB.GUI.BASE]
* NEW: GridView: GridView.Rows[].TextAlign is a new property that allows to define the alignment of the row header text.
2019-05-18 17:45:14 +02:00
gambas
0064a9a253 Fix '.project' and '.component' files that incorrectly had conflict marks in it.
[GB.NET.POP3]
* BUG: Fix '.project' and '.component' files that incorrectly had conflict marks in it.
2019-05-18 17:43:40 +02:00