Commit graph

9361 commits

Author SHA1 Message Date
gambas
0fd25245da Enhance color chooser dialog.
[DEVELOPMENT ENVIRONMENT]
* NEW: Enhance color chooser dialog.
2021-03-05 13:50:25 +01:00
gambas
00b80506e8 Fix a typo.
[GB.GUI.BASE]
* BUG: Fix a typo.
2021-03-05 12:24:15 +01:00
gambas
0e18401796 Fix DrawingArea and UserControl painting on 'gb.gtk'.
[GB.GTK]
* BUG: Fix DrainwgArea and UserControl painting again.

[GB.GTK3]
* OPT: Don't use css stylesheets on containers having no child that draw nothing by themselves.
2021-03-05 04:54:14 +01:00
gambas
9f2263e3ba Text and TextLabel: Correctly align multi-line text.
[GB.GUI.BASE]
* BUG: Text and TextLabel: Correctly align multi-line text.
2021-03-05 04:03:50 +01:00
gambas
067e881d1b Make the 'close' button smaller and update 'cap-*' and 'join-*' icons.
[GB.FORM.STOCK]
* NEW: Make the 'close' button smaller.
* NEW: Update 'cap-*' and 'join-*' icons.
2021-03-05 00:41:42 +01:00
gambas
41b011b9cc Now the 'close' stock button is smaller, use its 'small' size again.
[GB.FORM]
* NEW: Now the 'close' stock button is smaller, use its 'small' size again.
2021-03-05 00:40:42 +01:00
gambas
11ae388185 Don't set the Foreground color of Software boxes, it makes GTK+3 css system slow as hell.
[DEVELOPMENT ENVIRONMENT]
* NEW: Now the 'close' stock button is smaller, use its 'small' size again.
* BUG: Don't set the Foreground color of Software boxes, it makes GTK+3 css system slow as hell.
2021-03-05 00:39:55 +01:00
gambas
235fbbe70d Label and TextLabel: Fix autoresize.
[GB.GUI.BASE]
* BUG: Label and TextLabel: Fix autoresize.
2021-03-04 22:46:29 +01:00
gambas
efb9da551a Add CheckBox and RadioButton Invert property. Fix resize against arrangement and GTK painting on DrawingArea and UserControl.
[GB.GTK]
* BUG: Fix DrawingArea and UserControl painting.
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.

[GB.GTK3]
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.

[GB.QT4]
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.

[GB.QT5]
* NEW: CheckBox.Invert is a new property that put the check mark on the other side.
* NEW: RadioButton.Invert is a new property that put the radio button on the other side.
* NEW: Font.TextSize() is a new method that returns the text width and height as a rectangle.
* NEW: Font.RichTextSize() is a new method that returns the rich text width and height as a rectangle.
* BUG: Font.RichTextWidth() now takes a width optional argument like RichTextHeight().
* OPT: Control resize now ignores new width or height if its container constraints it.
2021-03-04 22:38:21 +01:00
gambas
960490b992 ToolBar: It can now replace any container similar to "Panel" in the IDE form editor.
[GB.FORM.MDI]
* NEW: ToolBar: It can now replace any container similar to "Panel" in the IDE form editor.
2021-03-04 00:35:36 +01:00
gambas
7c8fea9cad Make panel close buttons tiny.
[DEVELOPMENT ENVIRONMENT]
* NEW: Make panel close buttons tiny.
2021-03-04 00:34:49 +01:00
gambas
f1c57fe8dd Make that experimental component exclude any other GUI component.
[GB.TERM.FORM]
* BUG: Make that experimental component exclude any other GUI component.
2021-03-04 00:34:10 +01:00
gambas
82a427b742 Add new stock icons. Make the TabPanel close button tiny.
[GB.FORM]
* NEW: Update Spinner icon.
* NEW: Spinner: The 'circle' type is larger.
* NEW: Add new stock icons
* NEW: TabPanel: The tab close button is tiny now.

[GB.FORM.STOCK]
* NEW: Add new stock icons.
2021-03-04 00:30:12 +01:00
gambas
e7cb60024a Code editor: Use the editor font for error and watch tooltips. Add a little padding.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Use the editor font for error and watch tooltips. Add a little padding.
* NEW: Code editor: Keep the runtime error tooltip indefinitely.
* NEW: The status bar message now stays up to ten seconds.
2021-03-03 12:24:20 +01:00
gambas
6910679009 TextEditor: HighlightAll() internal method highlights the current line too.
[GB.FORM.EDITOR]
* BUG: TextEditor: HighlightAll() internal method highlights the current line too.
* BUG: TextEditor: Current line is now highlighted with a light margin color.
2021-03-03 12:22:18 +01:00
gambas
29f16eab92 Remove Label and TextLabel source files from 'Makefile.am'.
[GB.QT4]
* BUG: Remove Label and TextLabel source files from 'Makefile.am'.
2021-03-03 05:02:04 +01:00
gambas
4c06149801 Fix a crash in UserControl_Font() management.
[GB.GTK]
* BUG: Fix a crash in UserControl_Font() management.

[GB.GTK3]
* BUG: Fix a crash in UserControl_Font() management.
2021-03-03 04:03:12 +01:00
gambas
adfcd4769f Some cosmetic changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Use a round spinner.
* NEW: Code editor: Error tooltip now uses the foreground color.
2021-03-03 03:57:40 +01:00
gambas
c56d27dc81 Remove Label and TextLabel controls. Support for UserControl_Font() handler. Some text size computation fixes.
[GB.GTK]
* NEW: Remove Label and TextLabel controls.
* NEW: Call UserControl_Font() handler when the UserControl font changes.
* BUG: Font size computation takes into account Pango ink rectangle.

[GB.GTK3]
* NEW: Remove Label and TextLabel controls.
* NEW: Call UserControl_Font() handler when the UserControl font changes.
* BUG: Font size computation takes into account Pango ink rectangle.

[GB.QT4]
* NEW: Remove Label and TextLabel controls.
* NEW: Call UserControl_Font() handler when the UserControl font changes.
* BUG: Border drawing routine now preserves paint color.
* BUG: All Paint text routines now workaround the font assignment bug.

[GB.QT5]
* NEW: Remove Label and TextLabel controls.
* NEW: Call UserControl_Font() handler when the UserControl font changes.
* BUG: Border drawing routine now preserves paint color.
* BUG: All Paint text routines now workaround the font assignment bug.
2021-03-03 03:47:42 +01:00
gambas
b61de96ff7 Implement Label and TextLabel in Gambas.
[GB.GUI.BASE]
* NEW: Implement Label and TextLabel in Gambas.
2021-03-03 03:47:07 +01:00
gambas
bc14776460 Fix Label and TextLabel size computation when AutoResize is set.
[GB.GTK]
* BUG: Fix Label and TextLabel size computation when AutoResize is set.

[GB.GTK3]
* BUG: Fix Label and TextLabel size computation when AutoResize is set.
2021-03-02 23:09:51 +01:00
gambas
0508ca3738 Search dialog: Hide it immediately when browsing the project.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Hide it immediately when browsing the project.
2021-03-02 21:13:06 +01:00
gambas
303916e6d7 TerminalView: Support for terminal bell.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Handle terminal bell with a screen flash.
* NEW: TerminalView: 'Bell' is new event that is raised when the terminal bells, and that overrides the default behaviour if handled.
2021-03-02 18:59:47 +01:00
gambas
3f53252be6 Automatic completion: Fix automatic completion overlap prevention routine.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Fix automatic completion overlap prevention routine.
2021-03-02 18:15:04 +01:00
gambas
3017bb7cb5 Automatic completion enhancements.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: The automatic completion and signature popups should not overlap anymore.
* NEW: Automatic completion: More keys now validate the completion then close the popup. Spaces are added according to the Gambas syntax.
2021-03-02 14:23:11 +01:00
gambas
695c67d33b Form editor: Multicontainer tab moving does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Multicontainer tab moving does not crash anymore.
2021-03-02 12:22:30 +01:00
gambas
6e3fc1e9b1 Form editor: Remove a custom icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Remove a custom icon.
2021-03-01 23:47:22 +01:00
gambas
55aec7b39e Project tree: Add a duplicate menu entry for data files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Add a duplicate menu entry for data files.
* NEW: Update some icons.
2021-03-01 23:36:31 +01:00
gambas
2b0091581a New 'clone' stock icon.
[GB.FORM]
* NEW: New 'clone' stock icon.
2021-03-01 23:35:10 +01:00
gambas
112e44f590 New 'clone' icon.
[GB.FORM.STOCK]
* NEW: New 'clone' icon.
* NEW: Update 'copy' icon.
2021-03-01 23:34:56 +01:00
gambas
1d4cca22cf Menu editor: Add buttons to directly jump to menu event handlers.
[DEVELOPMENT ENVIRONMENT]
* NEW: Menu editor: Add buttons to directly jump to menu event handlers.
* NEW: Menu editor: Use a true toolbar.
* NEW: Slightly update symbols icons.
2021-03-01 21:56:16 +01:00
gambas
e22115923f Timers are not inherited anymore by background tasks.
[INTERPRETER]
* NEW: Timers are not inherited anymore by background tasks. They are actually inherited, but immediately disabled the first time they trigger inside the background task.
2021-03-01 20:21:42 +01:00
gambas
d36634d293 New stock icons for '*.md' and '*.xml' files.
[GB.FORM]
* NEW: New stock icons for '*.md' and '*.xml' files.
* NEW: Update some control icons.

[GB.FORM.STOCK]
* NEW: New stock icons for '*.md' and '*.xml' files.
* NEW: Update 'file' and 'file-manager' icons.
2021-03-01 18:52:41 +01:00
gambas
8df4e11b9c TrayIcon: The Picture property kind is now "Picture:NoCache" so that the trayicon icon is not modified when the current theme is dark.
[GB.GUI.TRAYICON]
* NEW: TrayIcon: The Picture property kind is now "Picture:NoCache" so that the trayicon icon is not modified when the current theme is dark.
2021-03-01 18:38:28 +01:00
gambas
7a809b16ee Form editor: Support for "Picture:NoCache" property kind. Center buttons now always act of the selected controls, not their children.
[DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: The procedure popup has now the same width as the procedure button.
* NEW: Form editor: Support for "Picture:NoCache" property kind.
* BUG: Form editor: Center buttons now always act of the selected controls, not their children.
2021-03-01 18:34:28 +01:00
gambas
6e1592d8f4 TextEditor: Checking the Limit property of a line now highlights until that line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Checking the Limit property of a line now highlights until that line.
2021-03-01 18:31:32 +01:00
gambas
2ed704cc2c TextEditor: Fix a possible crash while highlighting.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a possible crash while highlighting.
2021-03-01 02:14:40 +01:00
gambas
0af469e4e4 Fix project tree file renaming.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Failing to rename a file does not crash anymore.
* BUG: Project tree: Renaming a file now highlight its basename by default as before.
2021-03-01 02:11:19 +01:00
gambas
8bbfbad381 TerminalView: Do not handle the Drop event if the user has defined its own event handler.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Do not handle the Drop event if the user has defined its own event handler.
2021-02-27 23:12:56 +01:00
gambas
668ca3bcd1 Source files icons follow dark themes again.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Add an invert button for testing the dark version of an icon.
* BUG: Project tree: Source files icons follow dark themes again.
* NEW: Project tree: Make bigger source files icons.
2021-02-27 22:48:41 +01:00
gambas
ff6105c9c7 Update stock icons.
[GB.FORM]
* NEW: New 'office-presentation' stock icon.

[GB.FORM.STOCK]
* NEW: New 'office-presentation' stock icon.
* NEW: Add 128 pixels version of some colored stock icons.
2021-02-27 22:37:58 +01:00
gambas
3ccb606163 Fix picture cache refresh routine and reimplement the deprecated Picture.Cached property.
[GB.GUI.BASE]
* BUG: Fix picture cache refresh routine.
* BUG: PictureBox: Reimplement the deprecated Cached property.
2021-02-27 22:35:43 +01:00
gambas
9b244afa0e Fix control enumerations.
[GB.GTK]
* BUG: Fix enumeration of all application controls.
* BUG: Fix enumeration of the controls of a specific window.

[GB.GTK3]
* BUG: Fix enumeration of all application controls.
* BUG: Fix enumeration of the controls of a specific window.
2021-02-27 22:34:08 +01:00
gambas
4a5991d5c9 The enumerator object now can register a free function that is called when the enumeration ends or is aborted.
[INTERPRETER]
* NEW: The enumerator object now can register a free function that is called when the enumeration ends or is aborted.
2021-02-27 22:31:31 +01:00
gambas
84996d5948 Merge branch 'master' of gitlab.com:gambas/gambas 2021-02-26 20:19:34 +01:00
gambas
297338630a TerminalView: Support for file URL drops.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for file URL drops.
2021-02-26 20:18:50 +01:00
gambas
cc1d701253 New 'invert' stock icon.
[GB.FORM]
* NEW: New 'invert' stock icon.
2021-02-26 19:37:10 +01:00
gambas
1557fcf05b New 'invert' icon. New big icons of 'linux' and 'terminal'. Some fixes.
[GB.FORM.STOCK]
* NEW: New 'invert' icon.
* NEW: Monochrome version of emote icons.
* NEW: 128 pixels version of 'linux' and 'terminal' icons.
* NEW: Update and fix some other icons.
2021-02-26 19:36:42 +01:00
Christof Thalhofer
d58030036a gb.test report Error.Where on error and crash
[GB.TEST]
* NEW: Report Error.Where on error and crash.
2021-02-26 16:50:32 +01:00
gambas
e737985c5f Forgot to commit some TextArea changes.
[GB.QT5]
* BUG: Forgot to commit some TextArea changes.
2021-02-26 11:53:20 +01:00