Commit graph

9769 commits

Author SHA1 Message Date
gambas
f5e0934089 ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
[GB.GUI.BASE]
* BUG: ListBox: Use a case insensitive natural sort, so that it sorts like ListView.
2021-05-25 23:13:41 +02:00
gambas
8cf76955ff Form editor: Do not crash if a control in "_Similar" does not exist, and fix the coherency test on "_DrawWith" property.
[DEVELOPMENT ENVIRONMENT]
* BUG: Form editor: Do not crash if a control in "_Similar" does not exist.
* BUG: Form editor: Fix the coherency test on "_DrawWith" property.
2021-05-25 22:40:05 +02:00
Bruce Steers
d1892dd188 MediaView, also hide spacer panel when hiding controls
[GB.FORM.MEDIA]
* BUG: also hide spacer panel when hiding controls.

when hiding the controls the spacer stayed, leaving a bar on the bottom of the window, even in fullscreen.
This gives clean fullscreen
2021-05-25 10:45:24 +01:00
gambas
0bf8f99f28 Add a "save as" action to text and image editors.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: Add a "save as" action.
* NEW: Image editor: Add a "save as" action.
2021-05-25 01:16:38 +02:00
gambas
212d0bdcb5 Forgot to comment a debugging variable declaration.
[GB.GTK3.WEBVIEW]
* BUG: Forgot to comment a debugging variable declaration.
2021-05-24 21:53:59 +02:00
gambas
ee51a4a1cf Spinner: Make the "Circle" spinner less dark.
[GB.FORM]
* NEW: Spinner: Make the "Circle" spinner less dark.
2021-05-24 21:45:54 +02:00
gambas
769bd18c2c Help browser: Handle the "wiki://" links through the Error event.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Handle the "wiki://" links through the Error event.
2021-05-24 21:43:03 +02:00
gambas
866b512e0e Try to make Qt5 and GTK+3 webview raise their events the same way when loading pages.
[GB.GTK3.WEBVIEW]
* BUG: Try to make Qt5 and GTK+3 webview raise their events the same way when loading pages.

[GB.QT5.WEBVIEW]
* BUG: Try to make Qt5 and GTK+3 webview raise their events the same way when loading pages.
2021-05-24 21:33:57 +02:00
gambas
c11b8d54e0 ListBox: Use a natural sort for sorting the ListBox contents.
[GB.GUI.BASE]
* BUG: ListBox: Use a natural sort for sorting the ListBox contents.
2021-05-24 19:48:19 +02:00
gambas
e1073f8b80 The 'language' stock icon is now orange.
[GB.FORM.STOCK]
* NEW: The 'language' stock icon is now orange.
2021-05-24 15:38:32 +02:00
gambas
e105acb841 Debugger: The debugger now can stop when the value of a watched expression changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Debugger: The debugger now can stop when the value of a watched expression changes.
* NEW: Debugger: Modified expressions are now displayed with an highlighted background.
* NEW: Debugger: Add a button to explicitly remove all watched expressions.
* NEW: Update French translation.
2021-05-24 15:38:07 +02:00
gambas
65eff9e732 The debugger now can watch expressions, and stop when their value changes.
[INTERPRETER]
* NEW: Support for expression watches.

[GB.DEBUG]
* NEW: Add new command for watching expressions, i.e. stopping the debugger when the value of an expressions changes.
2021-05-24 15:34:37 +02:00
gambas
db5e7bb907 Welcome window: Fix the drawing of the close button of project boxes displayed in single column.
[DEVELOPMENT ENVIRONMENT]
* BUG: Welcome window: Fix the drawing of the close button of project boxes displayed in single column.
2021-05-23 23:56:46 +02:00
gambas
151da73415 WebView: Clear the internal 'cancel' flag if the 'Finish' event is raised before the 'acceptationRequest' method is called.
[GB.QT5.WEBVIEW]
* BUG: WebView: Clear the internal 'cancel' flag if the 'Finish' event is raised before the 'acceptationRequest' method is called.
2021-05-23 23:50:54 +02:00
gambas
4a62e5ba70 Merge branch 'master' of gitlab.com:gambas/gambas 2021-05-22 18:48:39 +02:00
gambas
74acc3d14e SpinBox: Update the current value before returning it with the Value or the Text property.
[GB.GUI.BASE]
* BUG: SpinBox: Update the current value before returning it with the Value or the Text property.
2021-05-22 18:48:04 +02:00
Benoît Minisini
0ef78581fe Update .gitlab-ci.yml 2021-05-22 16:29:57 +00:00
Benoît Minisini
4a363155c9 Split package installation for archlinux, otherwise the pipeline crashes (out of memory?) 2021-05-22 16:22:04 +00:00
Benoît Minisini
f067f9df00 Update .gitlab-ci.yml 2021-05-22 16:17:37 +00:00
Benoît Minisini
ff58cb2a26 Update .gitlab-ci.yml 2021-05-22 15:59:16 +00:00
Benoît Minisini
b5bfc543fb Update .gitlab-ci.yml file 2021-05-22 15:36:40 +00:00
Benoît Minisini
1adb27285f Update .gitlab-ci.yml file 2021-05-22 15:32:45 +00:00
gambas
af0509e372 Fix deletion of empty directories.
[CONFIGURATION]
* BUG: Fix deletion of empty directories.
2021-05-22 16:04:41 +02:00
gambas
5ee3fbbeee Add a tag property to the ServerSocket class, and save a few bytes in Socket and ServerSocket internal structures.
[GB.NET]
* NEW: ServerSocket: Add a tag property.
* OPT: Socket: Remove a duplicated 'path' field and save a few bytes in Socket structure.
* OPT: ServerSocket: Save a few bytes in the ServerSocket structure.
2021-05-22 00:07:40 +02:00
gambas
8fe3fdf811 Handle "EXPORT TO DEFAULT" syntax correctly.
[DEVELOPMENT ENVIRONMENT]
* BUG: Handle "EXPORT TO DEFAULT" syntax correctly.
* NEW: New flag icon for untranslated classes.
2021-05-21 17:10:00 +02:00
gambas
b9c006ec72 Namespace support continued.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Support of new EXPORT syntaxes.
* NEW: When reading '.info' files, automatically replace local class names by exported names in signature.
* NEW: Project property dialog: add an option to define the project default namespace.
* NEW: Project property dialog: component requirements and exclusions are now displayed in two different columns.
2021-05-21 16:53:47 +02:00
gambas
3c64df79b7 Namespace support continued.
[COMPILER]
* NEW: Add the '-n' option that defines a default namespace for exported classes.
* BUG: The generation of '.info' file now uses the exported name of classes.
* NEW: 'EXPORT TO <Namespace>' exports the class as '<NameSpace>:<class name>'.
* NEW: 'EXPORT TO DEFAULT' now exports to the global namespace.
2021-05-21 16:48:59 +02:00
gambas
3438a07f23 Don't use 'rmdir --ignore-fail-on-non-empty' again.
[CONFIGURATION]
* NEW: Don't use 'rmdir --ignore-fail-on-non-empty' again.
2021-05-20 16:43:24 +02:00
Hasan Merkit
746c3c8312 Update Turkish Translation
"second" is not "saniye". Wrong translation changed.
Added more translations.
2021-05-18 11:46:20 +00:00
gambas
0e78042e07 Initial implementation of class namespaces.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Support of the new '.list' file format.
* NEW: Support of the new EXPORT AS syntax.
* NEW: Update error messages.

[COMPILER]
* NEW: EXPORT AS is a new syntax for exporting a class with a specific name that can include a namespace.
* NEW: New header file to start sharing reader code with the 'gb.eval' component.
* NEW: Class names can include a colon. The part before the colon is assumed to be a namespace.

[INTERPRETER]
* NEW: Classes exported in a namespace are now declared both in the global symbol table and in the local symbol table of their component.
* NEW: Class names are now allocated inside the symbol tables, and not in the class objects anymore.

[GB.EVAL]
* NEW: Share some reader code with the compiler.
2021-05-18 02:12:33 +02:00
gambas
f7fdbeec38 Don't use 'rmdir --ignore-fail-on-non-empty', it's not supported on FreeBSD.
[CONFIGURATION]
* NEW: Don't use 'rmdir --ignore-fail-on-non-empty', it's not supported on FreeBSD.
2021-05-17 00:33:51 +02:00
gambas
b01f603a4c Display the warning about calling the event loop during a keyboard event once.
[GB.GTK]
* NEW: Display the warning about calling the event loop during a keyboard event once.

[GB.GTK3]
* NEW: Display the warning about calling the event loop during a keyboard event once.

[GB.QT4]
* NEW: Display the warning about calling the event loop during a keyboard event once.

[GB.QT5]
* NEW: Display the warning about calling the event loop during a keyboard event once.
2021-05-14 01:19:29 +02:00
gambas
883a209061 Clipboard: Always replace "text/plain" format by "text/plain;charset=utf-8" when pasting.
[GB.GTK]
* BUG: Clipboard: Always replace "text/plain" format by "text/plain;charset=utf-8" when pasting.

[GB.GTK3]
* BUG: Clipboard: Always replace "text/plain" format by "text/plain;charset=utf-8" when pasting.
2021-05-14 01:18:01 +02:00
gambas
71f6e291b9 Remove useless 'gb.gsl' from project components.
[GB.FORM.DIALOG]
* BUG: Remove useless 'gb.gsl' from project components.
2021-05-13 22:06:58 +02:00
gambas
c5a0e318d7 SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
[GB.GUI.BASE]
* BUG: SpinBox: Take into account that the internal mouse timer may be cleared during its event handler.
2021-05-13 00:03:50 +02:00
gambas
a22be6a4b4 Translation dialog: Do not use sorted ComboBoxes for choosing languages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: Do not use sorted ComboBoxes for choosing languages, as Qt and GTK+ do not sort the same way, and it breaks the behaviour of the dialog when using GTK+3.
2021-05-12 23:36:45 +02:00
gambas
8ca02c7895 Translation dialog: The "copy all translations" menu works correctly now.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: The "copy all translations" menu works correctly now.
* BUG: Translation dialog: Use an explicit background for the untranslated string TextArea, because transparent background does not work with GTK+.
2021-05-12 21:56:36 +02:00
gambas
49e35a9192 FileView: Fix automatic extension behaviour.
[GB.FORM]
* BUG: FileView: Fix automatic extension behaviour.
2021-05-12 21:54:36 +02:00
gambas
61ff5b9091 Disable a setting flag deprecated in WebKitGTK >= 2.32.0.
[GB.GTK3.WEBVIEW]
* BUG: Disable a setting flag deprecated in WebKitGTK >= 2.32.0.
2021-05-12 14:22:04 +02:00
gambas
7d9188d6e7 Use the new compiler options flags.
[DEVELOPMENT ENVIRONMENT]
* BUG: Use the new compiler options flags.
2021-05-12 06:34:31 +02:00
gambas
28d5ee1c74 The workaround of Pango markup bug makes lines disappear with recent versions of Pango, so remove it.
[GB.GTK]
* BUG: The workaround of Pango markup bug makes lines disappear with recent versions of Pango, so remove it.
* BUG: Font.RichTextSize() now uses the same algorithm as Font.TextSize().

[GB.GTK3]
* BUG: The workaround of Pango markup bug makes lines disappear with recent versions of Pango, so remove it.
* BUG: Font.RichTextSize() now uses the same algorithm as Font.TextSize().
2021-05-11 21:32:07 +02:00
gambas
184e21e586 Prevent infinite redirection with "==>", and update IDE dependencies.
[WIKI]
* NEW: Update IDE dependencies.
* BUG: Prevent infinite redirection with "==>".
2021-05-11 03:55:25 +02:00
gambas
9f3319a8f2 Search dialog: Replace message boxes by a label, and fix title update.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: Replace message boxes by a label.
* BUG: Search dialog: The title now correctly follows the current tab title.
2021-05-11 03:53:55 +02:00
gambas
6720d87855 Take focus into account when drawing TextArea border, and workaround many drawing warnings.
[GB.GTK3]
* BUG: TextArea: Take focus into account when drawing the border.
* BUG: Workaround many drawing warnings in Slider, CheckBox and RadioButton.
2021-05-11 03:48:24 +02:00
gambas
cd4e60eddf TextArea: Add a padding proportional to the font height.
[GB.GTK]
* NEW: TextArea: Add a padding proportional to the font height.

[GB.GTK3]
* NEW: TextArea: Add a padding proportional to the font height.

[GB.QT4]
* NEW: TextArea: Add a padding proportional to the font height.

[GB.QT5]
* NEW: TextArea: Add a padding proportional to the font height.
2021-05-11 03:47:04 +02:00
gambas
5216f8ee20 MenuButton: Custom drawing of shortcut underlines for GTK+.
[GB.FORM]
* BUG: MenuButton: Custom drawing of shortcut underlines for GTK+.
2021-05-11 03:46:22 +02:00
gambas
aaf05b7c96 Automatic container resize now takes the arrangement of the parent of the container into account.
[GB.GTK]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.

[GB.GTK3]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.

[GB.QT4]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.

[GB.QT5]
* BUG: Automatic container resize now takes the arrangement of the parent of the container into account.
2021-05-08 20:52:31 +02:00
gambas
8d05d066d9 Update Turkish Translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Turkish Translation.
2021-05-08 01:19:56 +02:00
gambas
2f92ae8ef9 Fix variables prefixes.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix variables prefixes.
2021-05-07 22:27:59 +02:00
gambas
da94bbabf3 'h' can be the prefix of any object datatype, even those which already has a prefix.
[COMPILER]
* NEW: 'h' can be the prefix of any object datatype, even those which already has a prefix.
2021-05-07 22:26:53 +02:00