Commit graph

9199 commits

Author SHA1 Message Date
gambas
6015c70aea TextEditor: Fix TextEditor[].Paint() method.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix multi-line marker painting.
* BUG: TextEditor: Fix TextEditor[].Paint() method.
2021-03-19 01:23:16 +01:00
gambas
ba6e389596 Automatic completion: Keyword help pages are back.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Keyword help pages are back.
* OPT: Help widget does not refresh if we ask him the same URL.
* BUG: Help widget keeps its zoom when being cleared.
2021-03-18 17:43:28 +01:00
gambas
0487b2ecb3 Store the cookie path inside the session, and use it when removing the cookie.
[GB.WEB]
* NEW: Add "SameSite=Lax" when removing the cookie.
* BUG: Store the cookie path inside the session, and use it when removing the cookie.
2021-03-18 17:25:16 +01:00
gambas
ccd3922794 The default tray icon ignores dark theme now.
[GB.DBUS.TRAYICON]
* NEW: The default tray icon ignores dark theme now.
2021-03-18 17:23:45 +01:00
gambas
ab99669d6b TextEditor: Add documentation.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add documentation.
2021-03-18 17:22:59 +01:00
gambas
bf7c562d35 Add documentation.
[GB.UTIL]
* NEW: Add documentation.
2021-03-18 17:22:31 +01:00
gambas
79765ceb1c Fix declaration of ScrollBar.DefaultSize property.
[GB.GTK]
* BUG: Fix declaration of ScrollBar.DefaultSize property.

[GB.GTK3]
* BUG: Fix declaration of ScrollBar.DefaultSize property.
2021-03-18 17:21:38 +01:00
gambas
4864e6a54d Fix a typo in a comment.
[GB.NET]
* BUG: Fix a typo in a comment.
2021-03-18 17:21:09 +01:00
gambas
a5d164134e Support for the GB_GUI_TRAYICON_NO_DBUS environment variable.
[GB.GUI.TRAYICON]
* NEW: Support for the GB_GUI_TRAYICON_NO_DBUS environment variable.
2021-03-18 17:20:30 +01:00
gambas
1d1b4fd4ea Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' icons. Update other 'text-*' icons.
[GB.FORM.STOCK]
* NEW: Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' icons.
* NEW: Update other 'text-*' icons.
2021-03-18 17:18:43 +01:00
gambas
1b511c424d Form editor: Add a "show deprecated" button in the toolbox.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic generation of deprecated controls icons.
* NEW: Form editor: Add a "show deprecated" button in the toolbox.
* NEW: Update deprecated controls icons.
2021-03-18 17:17:49 +01:00
gambas
e58e3a6ece Fixes in FileView and FontChooser.
[GB.FORM]
* NEW: FileView: Ignore newlines when displaying the name of a file.
* BUG: FontChooser: Do not show plus sign when the font size is absolute.
* NEW: Add 'text-bigger', 'text-smaller', 'text-super' and 'text-sub' stock icons.
* NEW: Update deprecated controls icons.
2021-03-18 17:16:23 +01:00
gambas
d189731f52 Splitter is a new container that replaces HSplit and VSplit. Its orientation is defined by its Arrangement property.
[GB.GUI.BASE]
* NEW: Splitter is a new container that replaces HSplit and VSplit. Its orientation is defined by its Arrangement property.
2021-03-18 17:14:15 +01:00
gambas
c62134897e TextEditor: Add documentation.
[GB.FORM.EDITOR]
* NEW: TextEditor: Add documentation.
2021-03-18 01:47:41 +01:00
gambas
408b641415 Code editor: Commenting and uncommenting is now a lot faster.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use "small" icon size instead of fixed size almost everywhere.
* OPT: Code editor: Commenting and uncommenting is now a lot faster.
* BUG: Renaming a file displayed in the search result list does not crash anymore.

*
2021-03-18 01:30:08 +01:00
gambas
874f7ac9b0 TextEditor: Fixes and documentation.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix GetIndent() method.
* NEW: TextEditor: Add documentation.
* BUG: TextEditor: Fix TextEditor.Styles interface.
* BUG: TextEditor: Line number color is now correct when LineOffset property is used.
* OPT: TextEditor: SaveCursor() now disables indent check and matching braces check until RestoreCursor() is called.
* NEW: TextEditor: GetSelectedLines() is a new method that return an array of the selected lines.
2021-03-18 01:27:24 +01:00
gambas
9ce110bc06 TextEditor: Preview folding synchronization is now instantaneous.
[GB.FORM.EDITOR]
* OPT: TextEditor: Preview folding synchronization is now instantaneous.
2021-03-17 02:00:33 +01:00
gambas
9842a84095 Compress and update some icons.
[GB.FORM.STOCK]
* NEW: Compress and update some icons.
2021-03-17 01:26:36 +01:00
gambas
85b348ac55 Add some documentation.
[GB.GUI.BASE]
* NEW: Add some documentation.
2021-03-17 01:26:01 +01:00
gambas
247722000b Initial widget size is always taken into account event if the parent arrange its contents.
[GB.GTK]
* BUG: Initial widget size is always taken into account event if the parent arrange its contents.

[GB.GTK3]
* BUG: Initial widget size is always taken into account event if the parent arrange its contents.

[GB.QT4]
* BUG: Initial widget size is always taken into account event if the parent arrange its contents.

[GB.QT5]
* BUG: Initial widget size is always taken into account event if the parent arrange its contents.
2021-03-16 18:31:44 +01:00
gambas
dca32b5e62 ListView: The left part of the items is now clickable as expected.
[GB.GUI.BASE]
* BUG: ListView: The left part of the items is now clickable as expected.
2021-03-16 17:52:34 +01:00
gambas
698041a187 Picture: Picture.Load() was overriden so that it can deal with "icon:/" paths.
[GB.GUI.BASE]
* NEW: Picture: Picture.Load() was overriden so that it can deal with "icon:/" paths, but without cache, dark theme or right-to-left support like Picture[].
2021-03-16 13:35:46 +01:00
gambas
931a87b1b7 Control.Resize() now correctly arrange parent even if the control was too small to be visible.
[GB.GTK3]
* BUG: Control.Resize() now correctly arrange parent even if the control was too small to be visible.
2021-03-16 13:00:29 +01:00
gambas
b39377f1d5 Many fixes in X11 system tray management.
[GB.DESKTOP.X11]
* NEW: X11Systray: The tray now creates its own window.
* NEW: X11Systray: Show() now should take the handle of a top-level window.
* NEW: X11Systray: Move() and Resize() are two new methods that define the geometry of the tray inside the window specified by the Show() method.
* NEW: X11Systray: The Arrange event is raised immediately after the end of the Show() method.
2021-03-16 02:10:16 +01:00
gambas
42a7196d99 Update 12px Gambas regular font and default project icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update 12px Gambas regular font.
* NEW: Update default project icon.

*
2021-03-15 21:04:07 +01:00
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