Commit graph

8821 commits

Author SHA1 Message Date
gambas
c2825f1727 Store the style sheet file used for displaying markdown previews inside the project configuration.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Add a back and forward button to the preview.
* NEW: Store the style sheet file used for displaying markdown previews inside the project configuration.
2021-01-29 15:52:03 +01:00
gambas
4081f4c857 FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
[GB.FORM]
* BUG: FileChooser: Correctly disable the bookmark edit menu entry when there is no bookmark defined.
2021-01-29 15:50:15 +01:00
gambas
4eb38b4c07 Shortcut.FromKey() now uses an internal cache.
[GB.GUI.BASE]
* OPT: Shortcut.FromKey() now uses an internal cache.
2021-01-29 15:49:21 +01:00
gambas
6364bd1376 Some fixes in line anchors generation.
[GB.MARKDOWN]
* BUG: Some fixes in line anchors generation.
2021-01-29 15:47:35 +01:00
gambas
ec328f8d95 Remove trailing separators from 'gb.LongDate' date format.
[INTERPRETER]
* BUG: Remove trailing separators from 'gb.LongDate' date format.
2021-01-29 15:35:08 +01:00
gambas
97f1d99251 Form editor: Pasting controls put them at the first free place found now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Pasting controls put them at the first free place found now.
* NEW: Form editor: New arrangement indicators.
2021-01-29 03:38:43 +01:00
gambas
c424a8f88b Enhancement of the icon selector.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Icon selector: Add a icon name filter.
* NEW: Icon selector: Add a check box that toggles displaying icons using the selected size or not.
* NEW: Icon selector: Redesign the dialog a bit.
* BUG: Text editor: Some fixes in the markdown preview default style sheet.
2021-01-29 00:44:33 +01:00
gambas
b71117ebe3 ButtonBox: Clicking on the clear button triggers filtering immediately now.
[GB.FORM]
* NEW: ButtonBox: Clicking on the clear button triggers filtering immediately now.
* BUG: FileChooser: Hide the bookmark button and its separator accordingly.
2021-01-29 00:42:18 +01:00
gambas
421729d9c7 Text editor: Markdown preview now has default and custom style sheets.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Text editor: Add a default style sheet for markdown preview.
* NEW: Text editor: Allow to select a specific css file for markdown preview. These css files are taken from the 'Project' directory.
* BUG: Text editor: Some fixes in javascript preview support.
* NEw: Text editor: The preview has now its own toolbar.
2021-01-28 23:33:06 +01:00
gambas
e328bb0dea TerminalView: Selected text and Text property now take into account line wrapping.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Selected text and Text property now take into account line wrapping.
2021-01-28 23:29:21 +01:00
gambas
7d002263c6 WebView: Make font size settings more accurate.
[GB.QT4.WEBVIEW]
* BUG: WebView: Make font size settings more accurate.
2021-01-28 04:52:30 +01:00
gambas
c4d87b624c Text editor: Make preview javascript compatible with Qt4.
[DEVELOPMENT ENVIRONMENT]
* BUG: Text editor: Make preview javascript compatible with Qt4.
2021-01-28 04:51:24 +01:00
gambas
16f7a0cb8b Centered is a new container property that centered its contents. Many GTK fixes.
[GB.GTK]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.
* BUG: Setting Application.Font to NULL now resets the default font.
* BUG: Resizable utility windows now have a minimum size like QT components.

[GB.GTK3]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.
* BUG: Setting Application.Font to NULL now resets the default font.
* OPT: Setting Application.Font now is almost instantaneous.
* BUG: Editable combo-boxes having a small width now behave correctly.
* BUG: Resizable utility windows now have a minimum size like QT components.
* BUG: Read-only combo-boxes do not have inner vertical padding anymore.

[GB.QT4]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.

[GB.QT5]
* NEW: Centered is a new container property that centered its contents. It works for horizontal, vertical and fill arrangement only.
* BUG: Fix TextArea background.
2021-01-28 02:46:00 +01:00
gambas
d862caa9a6 Form editor: Fix an icon in list property editor.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Fix an icon in list property editor.
2021-01-28 02:10:59 +01:00
gambas
ecdee98e8a Fix scan of project classes having a parent class.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix scan of project classes having a parent class.
2021-01-27 04:00:19 +01:00
gambas
91b7a446d0 TextBox minimum size is correctly updated when its Border property changes.
[GB.GTK3]
* BUG: TextBox minimum size is correctly updated when its Border property changes.
2021-01-27 03:26:32 +01:00
gambas
3ce75bb5e3 Rework support of Background and Foreground colors.
[GB.QT4]
* BUG: Rework support of Background and Foreground colors.

[GB.QT5]
* BUG: Rework support of Background and Foreground colors.
2021-01-27 02:38:59 +01:00
gambas
69a5dedb4f Clicking on the 'Invert' button of the list property editor when the list is void does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Clicking on the 'Invert' button of the list property editor when the list is void does not crash anymore.
* NEW: Form editor: Grid is lighter.
2021-01-27 00:52:42 +01:00
gambas
4e13955aff Fixes in stylesheet management.
[GB.GTK3]
* BUG: Make stylesheet global, so that styling sub-node work everytime.
* BUG: Don't unref null style contexts on theme change.
* NEW: Don't hide background of borderless TextBox and ComboBox.
2021-01-27 00:27:26 +01:00
gambas
041ae232f3 The AutoCreatable flag is now correctly taken into account by inheritance of exported classes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: The AutoCreatable flag is now correctly taken into account by inheritance of exported classes.
2021-01-26 23:47:50 +01:00
gambas
2f2e3405f3 Url.Query.Remove() is a new method for removing an argument from the query of an URL.
[GB.UTIL.WEB]
* NEW: Url.Query.Remove() is a new method for removing an argument from the query of an URL.
2021-01-26 22:35:37 +01:00
gambas
58bfbc70d1 Merge branch 'master' of gitlab.com:gambas/gambas 2021-01-26 22:34:50 +01:00
gambas
2365a748b8 Display monospace text with a light gray background.
[WIKI]
* NEW: Change website icon.
* NEW: Display monospace text with a light gray background.
2021-01-26 22:34:02 +01:00
gambas
85b963e304 DrawingArea: drawing is clipped by the control border now.
[GB.GTK3]
* BUG: DrawingArea: drawing is clipped by the control border now.
2021-01-26 22:31:56 +01:00
gambas
a8b0df9f8c Fix raised borders for some styles.
[GB.QT4]
* BUG: Fix raised borders for some styles.

[GB.QT5]
* BUG: Fix raised borders for some styles.
2021-01-26 22:31:31 +01:00
gambas
fd028f572a * BUG: Fix compilation.
[GB.QT4.WEBVIEW]
* BUG: Fix compilation.
2021-01-26 19:29:42 +01:00
gambas
e41cb20ec2 Some fixes in the text editor HTML preview.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Disable the popup menu in the HTML preview.
* BUG: Text editor: Correctly refresh the preview highlight when the preview is resized.
2021-01-26 16:29:47 +01:00
gambas
f94a927e9c WebView: Implementing the Menu event automatically disables the default popup menu.
[GB.GTK3.WEBVIEW]
* NEW: WebView: Implementing the Menu event automatically disables the default popup menu.

[GB.QT4.WEBVIEW]
* NEW: WebView: Implementing the Menu event automatically disables the default popup menu.

[GB.QT5.WEBVIEW]
* NEW: WebView: Implementing the Menu event automatically disables the default popup menu.
2021-01-26 16:28:47 +01:00
gambas
ec2fe3ee4e Form editor: The menu editor view now remembers its scrolling position, provided that you open it on the same form.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: The menu editor view now remembers its scrolling position, provided that you open it on the same form.
2021-01-26 13:22:10 +01:00
gambas
be333d5cf3 TextArea.Background works again.
[GB.GTK3]
* BUG: TextArea.Background works again.
2021-01-26 07:06:32 +01:00
gambas
fa82d46be5 Fix Frame rendering bugs, and make MovieBox use the UserControl Draw pseudo-event.
[GB.GUI.BASE]
* NEW: MovieBox: Use the UserControl Draw pseudo-event.
* BUG: Frame: Fix some rendering bugs.
2021-01-26 07:05:56 +01:00
gambas
839c59e532 Text editor: Add line anchors to HTML preview. It works only if markups do not span on several lines.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Add line anchors to HTML preview. It works only if markups do not span on several lines.
2021-01-26 06:50:15 +01:00
gambas
45b453bbec Do not generate line anchors inside the index.
[GB.MARKDOWN]
* BUG: Do not generate line anchors inside the index.
2021-01-26 06:48:42 +01:00
gambas
bb43074533 Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
[GB.MARKDOWN]
* NEW: Markdown.LinkAnchors is a new property that insert anchors for each line of the markdown text.
2021-01-26 06:13:44 +01:00
gambas
2c03f0a7c7 Text editor: Add a preview panel for Markdown and HTML documents, based on a WebView and some javascript.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Add a preview panel for Markdown and HTML documents, based on a WebView and some javascript.
2021-01-25 23:36:33 +01:00
gambas
432a05d1d2 Fix stack overflow when using X11.RootWindow property.
[GB.DESKTOP.X11]
* BUG: Fix stack overflow when using X11.RootWindow property.
2021-01-25 19:03:19 +01:00
gambas
fc7edd90b4 Fix window x11 properties initialization and make 'gb.qt4.webview' compile.
[GB.QT4]
* BUG: Fix window x11 properties initialization.

[GB.QT4.WEBVIEW]
* BUG: Fix compilation and implementation of WebWiew.ExecJavascript() method.
2021-01-25 10:54:14 +01:00
gambas
b39e26a059 WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.
[GB.GTK3.WEBVIEW]
* NEW: WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.

[GB.QT4.WEBVIEW]
* NEW: WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.

[GB.QT5]
* BUG: Forgot to implement the QT.GetDesktopScale() API.

[GB.QT5.WEBVIEW]
* NEW: WebView: ExecJavascript() is a new method to run some javascript code in the browser and get the result.
2021-01-25 08:05:25 +01:00
gambas
764e748147 Fix control stylesheet management.
[GB.GTK3]
* BUG: Fix control stylesheet management.
2021-01-24 00:55:00 +01:00
gambas
f588c83fda PictureBox now uses the new UserControl Draw pseudo-event and Frame container in now implemented in Gambas.
[GB.DRAW]
* NEW: Add PaintExtents W and H properties as synonymous of Width and Height.

[GB.GUI.BASE]
* NEW: PictureBox now uses the new UserControl Draw pseudo-event.
* NEW: Frame container in now implemented in Gambas.

[GB.GTK]
* NEW: Frame container in now implemented in Gambas.
* BUG: Style drawing routines now work correctly on UserControl.

[GB.GTK3]
* NEW: Frame container in now implemented in Gambas.

[GB.QT4]
* NEW: Frame container in now implemented in Gambas.

[GB.QT5]
* NEW: Frame container in now implemented in Gambas.
* BUG: Do not activate windows on Wayland, this is not supported.
2021-01-23 23:30:36 +01:00
gambas
bc170a2317 UserControl now can paint itself through a UserControl_Draw method.
[GB.GTK]
* NEW: UserControl now can paint itself through a UserControl_Draw method.

[GB.GTK3]
* NEW: UserControl now can paint itself through a UserControl_Draw method.
* BUG: Remove debugging message.

[GB.GUI.BASE]
* NEW: Separator: Use the new painting pseudo-event of UserControl.

[GB.QT4]
* NEW: UserControl now can paint itself through a UserControl_Draw method.

[GB.QT5]
* NEW: UserControl now can paint itself through a UserControl_Draw method.
2021-01-23 02:44:46 +01:00
gambas
b4ab1027d8 Separator is now a Gambas-made control.
[GB.GTK]
* NEW: Remove Separator control.
* BUG: Fix minimum size computation.

[GB.GTK3]
* NEW: Remove Separator control.
* BUG: Fix minimum size computation.

[GB.GUI.BASE]
* NEW: Separator is now a Gambas-made control.

[GB.QT4]
* NEW: Remove Separator control.

[GB.QT5]
* NEW: Remove Separator control.
2021-01-22 23:53:27 +01:00
gambas
01a666387f WebView: Finish event is correctly raised when the loaded URI is in the current page.
[GB.GTK3.WEBVIEW]
* BUG: WebView: Finish event is correctly raised when the loaded URI is in the current page.

[GB.QT4.WEBVIEW]
* BUG: WebView: Finish event is correctly raised when the loaded URI is in the current page.
* BUG: WebView: Start event is correctly raised.
* BUG: WebView: Cancelling the Start event now should cancel the load.

[GB.QT5.WEBVIEW]
* BUG: WebView: Finish event is correctly raised when the loaded URI is in the current page.
2021-01-22 21:04:56 +01:00
gambas
19822c4923 Fix initial window size for windows having menus.
[GB.GTK3]
* BUG: Fix initial window size for windows having menus.
2021-01-22 15:39:57 +01:00
gambas
f3e882681c Fix Control ScreenX and ScreenY properties again.
[GB.GTK]
* BUG: Fix Control ScreenX and ScreenY properties again.

[GB.GTK3]
* BUG: Fix Control ScreenX and ScreenY properties again.
2021-01-22 15:20:55 +01:00
gambas
fb75625420 Merge branch 'master' of https://gitlab.com/gambas/gambas 2021-01-22 09:25:45 +01:00
gambas
6669ab0011 Remove stylesheet debugging message.
[GB.GTK3]
* BUG: Remove stylesheet debugging message.
2021-01-22 09:24:49 +01:00
gambas
548eb8498e Many fixes related to Wayland support.
[GB.GTK]
* BUG: Fix Window.Background property behavior.
* BUG: Fix Control ScreenX and ScreenY properties.
* BUG: Fix Slider and ScrollBar resize behavior.

[GB.GTK3]
* BUG: Fix Window.Background property behavior.
* BUG: Remove useless control variables.
* BUG: Fix Control ScreenX and ScreenY properties.
* BUG: Don't use CSS for the background color of controls that do not need it.
* BUG: Fix Slider and ScrollBar resize behavior.
2021-01-22 08:58:45 +01:00
gambas
91cf8ef35e Min() and Max() are now faster.
[INTERPRETER]
* OPT: Min() and Max() are now faster.
2021-01-21 14:33:49 +01:00
gambas
6d87ae2df8 Merge branch 'master' of https://gitlab.com/gambas/gambas 2021-01-21 02:41:26 +01:00