Commit graph

9116 commits

Author SHA1 Message Date
gambas
a818e2b3da Remove Label and TextLabel source files from 'Makefile.am'.
[GB.QT4]
* BUG: Remove Label and TextLabel source files from 'Makefile.am'.
2021-03-06 13:17:35 +01:00
gambas
250d91a7a8 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-06 13:17:35 +01:00
gambas
9621c6d0ab Some cosmetic changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Use a round spinner.
* NEW: Code editor: Error tooltip now uses the foreground color.
2021-03-06 13:17:35 +01:00
gambas
d65bd209d3 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-06 13:17:35 +01:00
gambas
fdc4795262 Implement Label and TextLabel in Gambas.
[GB.GUI.BASE]
* NEW: Implement Label and TextLabel in Gambas.
2021-03-06 13:17:35 +01:00
gambas
cd4d969024 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-06 13:17:35 +01:00
gambas
caf9149579 Search dialog: Hide it immediately when browsing the project.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Hide it immediately when browsing the project.
2021-03-06 13:17:35 +01:00
gambas
85c8320fe4 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-06 13:17:35 +01:00
gambas
e8531901da Automatic completion: Fix automatic completion overlap prevention routine.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Fix automatic completion overlap prevention routine.
2021-03-06 13:17:35 +01:00
gambas
6e8828d0c4 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-06 13:17:35 +01:00
gambas
d701739955 Form editor: Multicontainer tab moving does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Multicontainer tab moving does not crash anymore.
2021-03-06 13:17:35 +01:00
gambas
f58c53121b Form editor: Remove a custom icon.
[DEVELOPMENT ENVIRONMENT]
* NEW: Form editor: Remove a custom icon.
2021-03-06 13:17:35 +01:00
gambas
99d7d48107 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-06 13:17:35 +01:00
gambas
014fc5c8b2 New 'clone' stock icon.
[GB.FORM]
* NEW: New 'clone' stock icon.
2021-03-06 13:17:35 +01:00
gambas
59d7ad65a5 New 'clone' icon.
[GB.FORM.STOCK]
* NEW: New 'clone' icon.
* NEW: Update 'copy' icon.
2021-03-06 13:17:35 +01:00
gambas
ac6aa26f94 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-06 13:17:35 +01:00
gambas
5e6644409e 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-06 13:17:35 +01:00
gambas
c99582034d 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-06 13:17:35 +01:00
gambas
439af29083 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-06 13:17:35 +01:00
gambas
21e6bfe36f 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-06 13:17:35 +01:00
gambas
084a2de23c 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-06 13:17:35 +01:00
gambas
10c7e236dc TextEditor: Fix a possible crash while highlighting.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix a possible crash while highlighting.
2021-03-06 13:17:35 +01:00
gambas
30b0f835e3 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-06 13:17:35 +01:00
gambas
d96b59e2d8 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-03-06 13:17:35 +01:00
gambas
c81609a985 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-03-06 13:17:35 +01:00
gambas
f957a9be1d 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-03-06 13:17:35 +01:00
gambas
c4e985cf4b 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-03-06 13:17:35 +01:00
gambas
e0132ab1f2 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-03-06 13:17:35 +01:00
gambas
e23fca2ecc 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-03-06 13:17:35 +01:00
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