Commit graph

9137 commits

Author SHA1 Message Date
Christof Thalhofer
8ebf5b5e61 gb.test report Error.Where on error and crash
[GB.TEST]
* NEW: Report Error.Where on error and crash.
2021-03-06 13:17:35 +01:00
gambas
77db48a6a8 TerminalView: Support for file URL drops.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Support for file URL drops.
2021-03-06 13:17:35 +01:00
gambas
bca4f6ef85 New 'invert' stock icon.
[GB.FORM]
* NEW: New 'invert' stock icon.
2021-03-06 13:17:35 +01:00
gambas
f56fd55bfa 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-03-06 13:17:35 +01:00
gambas
b87c249aba Forgot to commit some TextArea changes.
[GB.QT5]
* BUG: Forgot to commit some TextArea changes.
2021-03-06 13:17:35 +01:00
gambas
0415ef2d8b Connection editor: Running a request that is not a SELECT now automatically updates the table list.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Connection editor: Running a request that is not a SELECT now automatically updates the table list.
* NEW: Connection editor: Request duration is now displayed in the status bar.
* NEW: Form editor: New layout icons.
2021-03-06 13:17:35 +01:00
gambas
aa7c7733cc TextArea: Setting background and foreground colors now should work correctly in all cases.
[GB.QT4]
* BUG: TextArea: Setting background and foreground colors now should work correctly in all cases.

[GB.QT5]
* BUG: TextArea: Setting background and foreground colors now should work correctly in all cases.
2021-03-06 13:17:35 +01:00
gambas
fcb0799e34 Window layout management now should work both on X11 and Wayland.
[GB.GTK]
* BUG: Window layout management now should work both on X11 and Wayland.

[GB.GTK3]
* BUG: Window layout management now should work both on X11 and Wayland.
2021-03-06 13:17:35 +01:00
gambas
3d3fff17f7 Start to rework top-level window layout management.
[GB.GTK]
* BUG: Start to rework top-level window layout management.

[GB.GTK3]
* BUG: Start to rework top-level window layout management.
2021-03-06 13:17:35 +01:00
Tobias Boege
6dcf1584b2 gb.test: don't mark string formats as translatable
[GB.TEST]
* BUG: Remove the marking of some string as translatable which are just formats, like "&1: &2".
2021-03-06 13:17:35 +01:00
gambas
1efaf82738 Add 128 pixels versions of some icons. Update others.
[GB.FORM.STOCK]
* NEW: Add 128 pixels versions of some icons. Update others.
2021-03-06 13:17:35 +01:00
gambas
fd7160b617 Allow ON ... GOTO / GOSUB to span on multiple lines.
[COMPILER]
* NEW: Allow ON ... GOTO / GOSUB to span on multiple lines.
2021-03-06 13:17:35 +01:00
gambas
e08783e6b9 Remove some specific support for client-side decoration. It broke window arrangement.
[GB.GTK3]
* BUG: Remove some specific support for client-side decoration. It broke window arrangement.
2021-03-06 13:17:35 +01:00
gambas
47da7d7811 Redraw 'drawingarea' and 'scrollarea' controls icons.
[DEVELOPMENT ENVIRONMENT]
* NEW: Redraw 'drawingarea' and 'scrollarea' controls icons.
2021-03-06 13:17:35 +01:00
Martín Belmonte
3e4c3948a5 https instead of http 2021-03-06 13:17:35 +01:00
Bruce Steers
2282ccbd06 Disable default handling of '-V' and '-h' options if they are handled manually.
[GB.ARGS]
* NEW: Disable default handling of '-V' and '-h' options if they are handled manually.
2021-03-06 13:17:35 +01:00
gambas
cdcaa4d292 Fix english and typos in usage files.
[SCRIPTER]
* BUG: Fix english and typos in usage files.
* BUG: Fix a bailout message in test suite.
2021-03-06 00:18:25 +01:00
gambas
252acbc9f1 Test.BailOut() now raises an error to quit later, instead of quitting immediately, to avoid circular references warning.
[GB.TEST]
* NEW: Test.BailOut() now raises an error to quit later, instead of quitting immediately, to avoid circular references warning.
2021-03-05 19:36:14 +01:00
Benoît Minisini
71d9ce0f12 Merge branch 'ScripterUpdates' into 'master'
[SCRIPTER]

See merge request gambas/gambas!192
2021-03-05 17:48:29 +00:00
Brian G
28408931f0 [SCRIPTER]
* New: Broken Down Into Easy Unit Test Targets
* OPT: Now 10-20 times faster for simple scripts
* OPT: Cleanup error handling and reporting code
* NEW: Added errors if user tries to use Public or struct without main
* NEW: Global variable now are moved to context that is shared
* OPT: Modules have been configured to only load when used
* NEW: #include is now supported as well as include
* NEW: It is possible to include more that one file per line
* NEW: Error/warning  handling is moved to seperate modules
2021-03-05 17:48:29 +00:00
gambas
4f08430a5b Code editor: Color insertion automatically detects the color under the cursor and highlights it, so that it will be replaced if the dialog inserts a new color.
[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Color insertion automatically detects the color under the cursor and highlights it, so that it will be replaced if the dialog inserts a new color.
2021-03-05 17:54:15 +01:00
gambas
47ce384c8b Tabs and newlines are now replaced by spaces inside error messages. Otherwise the debugger breaks.
[GB.DEBUG]
* BUG: Tabs and newlines are now replaced by spaces inside error messages. Otherwise the debugger breaks.
2021-03-05 17:14:21 +01:00
gambas
e8c713eef3 Automatic completion: Gambas keywords are now automatically inserted with a space after them.
[DEVELOPMENT ENVIRONMENT]
* NEW: Automatic completion: Gambas keywords are now automatically inserted with a space after them.
2021-03-05 17:13:19 +01:00
gambas
635fd2de43 Keywords and subroutines are now returned by two different properties of the System class.
[GB.EVAL]
* NEW: Keywords and subroutines are now returned by two different properties of the System class.
* NEW: System properties Keywords, Subroutines and Datatypes now return a read-only array.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for the new System Keywords and Subroutines properties.
2021-03-05 17:10:59 +01:00
gambas
da08231155 Add an API to set the read-only flag of an array.
[INTERPRETER]
* NEW: Add an API to set the read-only flag of an array.
2021-03-05 17:09:45 +01:00
gambas
38b16c798b Add more color constants.
[GB.IMAGE]
* NEW: Add more color constants.
2021-03-05 13:50:35 +01:00
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