Commit graph

9224 commits

Author SHA1 Message Date
gambas
11aa4592c5 FontChooser: Use a disabled SpinBox for font size now.
[GB.FORM]
* NEW: FontChooser: Use a disabled SpinBox for font size now.
2021-03-15 21:01:23 +01:00
gambas
1dd3ff609d Really don't leak a control if we quit between a MouseDown and a MouseUp event.
[GB.QT5]
* BUG: Really don't leak a control if we quit between a MouseDown and a MouseUp event.
2021-03-15 20:59:42 +01:00
gambas
5b6cff7071 Merge branch 'master' of gitlab.com:gambas/gambas 2021-03-15 20:58:14 +01:00
gambas
ea0ad8dfca Automatic usage of help coming from the source code comments.
[WIKI]
* NEW: Update message icons.
* NEW: Less margins around paragraphs.
* NEW: Automatic usage of help coming from the source code comments.
2021-03-15 20:57:13 +01:00
gambas
231e77d9f6 TreeView: Removing an item or clearing the view now correctly update the list of selected items.
[GB.GUI.BASE]
* NEW: SpinBox: ShowSign is a new property that adds the "+" character to the positive numbers.
* NEW: SpinBox: If ReadOnly is set, the SpinBox is grayed out, and the arrows are hidden.
* BUG: TreeView: Removing an item or clearing the view now correctly update the list of selected items.
2021-03-15 19:31:59 +01:00
Christof Thalhofer
f0eb331106 gambas3-selftest script to run from outside
[DEVELOPMENT ENVIRONMENT]
*NEW: small script 'run.sh' to run the gambas3-selftest with and without JIT from outside
2021-03-15 18:00:45 +01:00
gambas
001050aea2 Don't leak a control if we quit between a MouseDown and a MouseUp event.
[GB.QT4]
* BUG: Don't leak a control if we quit between a MouseDown and a MouseUp event.

[GB.QT5]
* BUG: Don't leak a control if we quit between a MouseDown and a MouseUp event.
2021-03-15 01:00:22 +01:00
gambas
daaec0f257 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2021-03-15 01:00:00 +01:00
gambas
55f0593673 SpinBox: Draw the arrows at the same vertical position whether there is a border or not.
[GB.GUI.BASE]
* NEW: SpinBox: Draw the arrows at the same vertical position whether there is a border or not.
2021-03-14 23:14:23 +01:00
gambas
f855c6b9cf SpinBox: Start the auto-repeat timer before raising the Change event.
[GB.GUI.BASE]
* NEW: Write some documentation.
* BUG: SpinBox: Start the auto-repeat timer before raising the Change event.
2021-03-14 22:32:13 +01:00
gambas
08048012e0 When opening a modal dialog or a popup while a mouse button is pressed, generate a fake MouseUp event because the true one is eaten by the modal dialog or the popup.
[GB.GTK]
* BUG: When opening a modal dialog or a popup while a mouse button is pressed, generate a fake MouseUp event because the true one is eaten by the modal dialog or the popup.

[GB.GTK3]
* BUG: When opening a modal dialog or a popup while a mouse button is pressed, generate a fake MouseUp event because the true one is eaten by the modal dialog or the popup.

[GB.QT4]
* BUG: When opening a modal dialog or a popup while a mouse button is pressed, generate a fake MouseUp event because the true one is eaten by the modal dialog or the popup.

[GB.QT5]
* BUG: When opening a modal dialog or a popup while a mouse button is pressed, generate a fake MouseUp event because the true one is eaten by the modal dialog or the popup.
2021-03-14 22:26:13 +01:00
gambas
1319ed9f0e New icons and some icons updates.
[GB.FORM.STOCK]
* NEW: New icons and some icons updates.
2021-03-14 01:24:30 +01:00
gambas
7487ea252c New 'firewall' and 'agenda' stock icons.
[GB.FORM]
* NEW: New 'firewall' and 'agenda' stock icons.
2021-03-14 01:24:13 +01:00
gambas
bcd3b84366 Project properties dialog: Add "GB_GUI_DARK_THEME=1" to the pre-defined environment variables.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project properties dialog: Add "GB_GUI_DARK_THEME=1" to the pre-defined environment variables.

*
2021-03-13 20:32:20 +01:00
gambas
42da251093 DataSource: FindNext() now takes the search start index in argument.
[GB.DB.FORM]
* NEW: DataSource: FindNext() now takes the search start index in argument.
* NEW: DataView: Fix Find() method signature.
2021-03-13 08:51:09 +01:00
gambas
0aaa907997 Font chooser dialog: Set focus on the filter at opening.
[DEVELOPMENT ENVIRONMENT]
* NEW: Font chooser dialog: Set focus on the filter at opening.
* BUG: Fix Frame control icon.

*
2021-03-13 02:13:04 +01:00
gambas
9bcb9d95f1 Some Fontchooser fixes.
[GB.FORM]
* NEW: FontChooser: Use a tool button to display font size. Clicking on the button shows the spinbox.
* BUG: FontChooser: Do not run the thumbnail cache in design mode.
2021-03-13 01:09:43 +01:00
gambas
81ff435f35 Fix Paint.TrimText() again. Fix Frame border drawing in vertical centered alignment.
[GB.GUI.BASE]
* BUG: Fix Paint.TrimText() again.
* BUG: Frame: Fix border drawing in vertical centered alignment.
2021-03-13 00:33:40 +01:00
Benoît Minisini
58caa569fc Merge branch 'ScriptUpdates' into 'master'
[SCRIPTER]

See merge request gambas/gambas!203
2021-03-12 17:39:00 +00:00
gambas
96279e1f93 New icons and some icons updates.
[GB.FORM.STOCK]
* NEW: New icons and some icons updates.
2021-03-12 18:10:12 +01:00
gambas
47e102014c Some fixes in image editor and project properties dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Correctly refresh property panel when switching to another file.
* BUG: Project properties dialog: The project icon is visible again the first time the dialog is opened.
*
2021-03-12 18:09:17 +01:00
gambas
c9e371b692 Correctly build the database version number in all cases.
[GB.DB.POSTGRESQL]
* BUG: Correctly build the database version number in all cases.
2021-03-12 15:54:53 +01:00
gambas
46eeffa5fc Automatic completion: '$' does not autocomplete anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: '$' does not autocomplete anymore.
2021-03-12 04:30:35 +01:00
gambas
ab9148414b Recompute font height when the Bold or Italic properties change too.
[GB.GTK]
* BUG: Recompute font height when the Bold or Italic properties change too.

[GB.GTK3]
* BUG: Recompute font height when the Bold or Italic properties change too.
2021-03-12 03:47:12 +01:00
gambas
e3078144c8 Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!
[GB.GUI.BASE]
* BUG: Use Font.TextHeight() instead of Font.Height in Paint.TrimText() and Paint.TrimRichText(), because some fonts can have a negative leading for some sizes in Qt!
2021-03-12 03:40:35 +01:00
gambas
709a11d2f0 Font.Height now uses the same metrics as Font.TextHeight().
[GB.QT4]
* BUG: Font.Height now uses the same metrics as Font.TextHeight().

[GB.QT5]
* BUG: Font.Height now uses the same metrics as Font.TextHeight().
2021-03-12 03:36:19 +01:00
gambas
c7fa0b4295 Fix again Paint.TrimText().
[GB.GUI.BASE]
* BUG: Fix again Paint.TrimText().
2021-03-12 02:45:46 +01:00
gambas
175a681dd9 Fix Paint.TrimText(), Paint.TrimRichText(), Frame title layout. Always defer the ScrollView contents size computation.
[GB.GUI.BASE]
* BUG: Paint.TrimText() now trims at each character.
* BUG: Paint.TrimRichText() now correctly trim void markups.
* BUG: Frame: Fix title layout in all possible alignments.
* OPT: ScrollView: Always defer the contents size computation to the next event loop.
2021-03-11 14:57:28 +01:00
gambas
53b2d34d14 Add 'energy' and 'headset' stock icons. Disable Expander animations, they are broken.
[GB.FORM]
* BUG: Expander: Disable animations, they are broken.
* NEW: Add 'energy' and 'headset' stock icons.
2021-03-11 03:27:43 +01:00
Brian G
55e5bfa651 [Scripter]
* NEW: Added support for conversions of single page webforms/apps to scripts
* OPT: made all refrences to HIGHLIGHT types and symbols, local for performace
* BUG: Supported files types using incorrect refrence set
2021-03-10 16:34:29 -08:00
gambas
2e2205a021 Paint.TrimRichText() now returns a void string if the maximum width is negative or null.
[GB.GUI.BASE]
* BUG: Paint.TrimRichText() now returns a void string if the maximum width is negative or null.
2021-03-11 00:58:06 +01:00
gambas
019a3b03dc Form editor: Don't use brush for painting the selection. As brush is always a repeated pattern, edges got incorrect pixels on rotation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Don't use brush for painting the selection. As brush is always a repeated pattern, edges got incorrect pixels on rotation.
2021-03-11 00:27:32 +01:00
gambas
8cea779b62 Paint.TrimRichText() now returns the text without "..." if the maximum width is big enough.
[GB.GUI.BASE]
* BUG: Paint.TrimRichText() now returns the text without "..." if the maximum width is big enough.
2021-03-10 20:28:57 +01:00
gambas
d2a1b1a581 Fix Paint.TrimText() and Paint.TrimRichText(). Add Frame.Alignment property.
[GB.GUI.BASE]
* BUG: Paint.TrimText() and Paint.TrimRichText() now return a null string if the specified maximum width is too low.
* BUG: Frame: Add an Alignment property for the relative position of the title and the frame top border.
2021-03-10 20:23:36 +01:00
gambas
53397766cc Remove debugging messages.
[GB.QT4]
* BUG: Remove debugging messages.

[GB.QT5]
* BUG: Remove debugging messages.
2021-03-10 20:12:47 +01:00
Brian G
d985902bda [Scripter]
* BUG: Generation of incorrectly named module when startup is a class
* NEW: Added Display of execution time of script when --verbose is used
2021-03-10 07:36:26 -08:00
gambas
91996df3fc Showing or hiding a control does not trigger a parent arrangement if the Ignore property was set.
[GB.GTK]
* BUG: Showing or hiding a control does not trigger a parent arrangement if the Ignore property was set.

[GB.GTK3]
* BUG: Showing or hiding a control does not trigger a parent arrangement if the Ignore property was set.
2021-03-10 15:50:17 +01:00
gambas
3240ebd8ef Fix the default NULL value for objects. JIT functions returning NULL objects as default value do not crash anymore.
[GB.JIT]
* BUG: Fix the default NULL value for objects. JIT functions returning NULL objects as default value do not crash anymore.
2021-03-10 01:55:50 +01:00
gambas
53dd10bafe Add a spinner to the test panel.
[DEVELOPMENT ENVIRONMENT]
* BUG: If the program test crashes, then the fail test label is shown.
* NEW: Add a spinner to the test panel.
* NEW: Bigger Atari bomb icons.
2021-03-10 01:50:51 +01:00
gambas
5afcec8959 Add a project icon to the self-tester program.
[SELF-TESTER]
* NEW: Add a project icon to the self-tester program.
2021-03-10 00:34:34 +01:00
gambas
8668ed5a69 GB.Call() API now works correctly again when calling static methods.
[INTERPRETER]
* NEW: Task.Kill() method is now a synonymous of Task.Stop().
* BUG: GB.Call() API now works correctly again when calling static methods.
2021-03-09 23:01:22 +01:00
gambas
9543992dfc Detect source code position both in output and test terminals, and everywhere in the terminal.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Test panel: Display the test result with a colored label inside the test panel toolbar.
* NEW: Detect source code position both in output and test terminals.
* NEW: Detect source code position everywhere in the terminals now.
2021-03-09 22:09:31 +01:00
Brian G
5976cb270b [Scripter]
* OPT: Change upper() to == where possible
* OPT: Simplify Creating scripts, using tables now
* OPT: Change reader to be optimized as well
* NEW: Support more gambas source type - for building test scripts
2021-03-09 09:48:39 -08:00
gambas
e13afca718 Control.NoTabFocus now correctly handle proxies.
[GB.GTK]
* BUG: Control.NoTabFocus now correctly handle proxies.

[GB.GTK3]
* BUG: Control.NoTabFocus now correctly handle proxies.
2021-03-09 14:14:42 +01:00
gambas
aa47f0d5fb Code editor: Add a button for loading images in HTML preview. By default they are not loaded.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Add a button for loading images in HTML preview. By default they are not loaded.
* BUG: Fix a possible infinite recursion when checking for project files metadata flags.
2021-03-09 03:16:33 +01:00
Brian G
82bd949f41 [SCRIPTER]
* BUG: Fix man page, missing .TP for debug
2021-03-08 17:10:04 -08:00
gambas
f8b345d9e6 Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
[GB.SETTINGS]
* NEW: Settings files are now saved in a more reliable way, without locking, using the MOVE ... KILL instruction.
2021-03-09 01:49:03 +01:00
gambas
f1dd5cf6ad Merge branch 'master' of gitlab.com:gambas/gambas 2021-03-09 01:39:44 +01:00
gambas
e8dd753abc DragLeave event is now always raised before entering another drop target.
[GB.GTK]
* BUG: DragLeave event is now always raised before entering another drop target.

[GB.GTK3]
* BUG: DragLeave event is now always raised before entering another drop target.
2021-03-09 01:38:04 +01:00
Benoît Minisini
623696fec9 Merge branch 'scripterupdatesfixes' into 'master'
[Scripter]

See merge request gambas/gambas!202
2021-03-08 21:06:01 +00:00