Commit graph

6943 commits

Author SHA1 Message Date
gambas
b71eed5b62 TextEditor: Clean up the sidebar view management code, and fix its behaviour.
[GB.FORM.EDITOR]
* BUG: TextEditor: Clean up the sidebar view management code, and fix its behaviour.
2018-09-20 17:37:18 +02:00
gambas
35794a5979 Support for automatic PNG file compression with 'pngquant'.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for automatic PNG file compression with 'pngquant'.
* NEW: Option dialog: Add a project option to enable or disable the use of 'pngquant', if it is available.
2018-09-19 22:07:55 +02:00
gambas
bc20ef46f7 Optimize many PNG files with 'pngquant'. 2018-09-19 22:07:02 +02:00
gambas
46f21a7f7b Strip png files with ImageMagick convert command. 2018-09-19 20:53:00 +02:00
gambas
d2782ed91c WebView: Temporarily redirect stderr to /dev/null when creating the first WebView, to get rid of spurious libpng warnings on PNG files integrated inside the Qt WebKit library.
[GB.QT4.WEBKIT]
* BUG: WebView: Temporarily redirect stderr to /dev/null when creating the first WebView, to get rid of spurious libpng warnings on PNG files integrated inside the Qt WebKit library.

[GB.QT5.WEBKIT]
* BUG: WebView: Temporarily redirect stderr to /dev/null when creating the first WebView, to get rid of spurious libpng warnings on PNG files integrated inside the Qt WebKit library.
2018-09-19 20:51:13 +02:00
gambas
be9a0b29d3 Pressing F2 on a project class name now opens its source file. The compression message is now displayed with a balloon.
[DEVELOPMENT ENVIRONMENT]
* BUG: Connection dialog: Remove the yellow background on a checkbox.
* NEW: Code editor: Pressing F2 on a project class name now opens its source file.
* NEW: Text editor: The compression message is now displayed with a balloon.
* NEW: Syntax highlighting: Make the Gambas theme's selection background color darker.
2018-09-19 19:38:04 +02:00
gambas
88c89d0d7e TextEditor: Setting the editor text does not crash anymore if the cursor of one of its view is out of bounds.
[GB.FORM.EDITOR]
* BUG: TextEditor: Setting the editor text does not crash anymore if the cursor of one of its view is out of bounds. Finally fixed it!
2018-09-19 19:36:19 +02:00
gambas
4d4918e349 Configuration for help browser fonts and Git version control file move fix.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Configuration for help browser fonts.
* BUG: Version control: Fix file rename or move for Git version control.
2018-09-17 12:43:00 +02:00
gambas
b6ab28fe8f Wizard takes Application.Animations into account, and SidePanel resize buttons should be correctly managed.
[GB.FORM]
* NEW: Wizard: Take Application.Animations into account.
* NEW: Wizard: Animated property is now deprecated.
* NEW: SidePanel: Fix resize buttons management.
2018-09-17 12:40:34 +02:00
gambas
63af98dc9b Fix ScrollArea and ScrollView behaviour.
[GB.GUI.BASE]
* BUG: ScrollArea: Correctly raise Scroll events.
* BUG: ScrollView: Arrangement should be correctly done now.
2018-09-17 12:38:45 +02:00
gambas
bf478f690c Workaround a QtWebkit but that made font size settings 3 points off.
[GB.QT4.WEBKIT]
* BUG: Workaround a QtWebkit but that made font size settings 3 points off.

[GB.QT5.WEBKIT]
* BUG: Workaround a QtWebkit but that made font size settings 3 points off.
2018-09-16 23:46:48 +02:00
bgermann
b417246ae2 Add musl-based alpine to CI 2018-09-15 23:52:45 +02:00
gambas
4769d0601e SidePanel: Animate opening and closing when Application.Animations is set.
[GB.FORM]
* BUG: SidePanel: It should work correctly in all cases now.
* NEW: SidePanel: Animate opening and closing when Application.Animations is set.
2018-09-15 22:36:38 +02:00
gambas
276c11d488 Option dialog: Some minor layout changes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Option dialog: Some minor layout changes.
2018-09-15 22:35:42 +02:00
gambas
603052af5c TextEditor: GotoCenter() works correctly again, and HighlightString() correctly refreshes the editor contents in all cases.
[GB.FORM.EDITOR]
* BUG: TextEditor: GotoCenter() works correctly again.
* BUG: TextEditor: HighlightString() correctly refreshes the editor contents in all cases.
2018-09-15 22:34:19 +02:00
gambas
6462ea0007 ScrollArea: NoShadow is a new property, that disable shadows if it has been globally set by Application.Shadows.
[GB.GUI.BASE]
* NEW: ScrollArea: NoShadow is a new property, that disable shadows if it has been globally set by Application.Shadows.
2018-09-15 22:32:52 +02:00
gambas
f5e0d6ebbb Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
[GB.GTK]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
* BUG: Set a cursor by trying all possible API, to be sure to find one existing.

[GB.GT3]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
* BUG: Set a cursor by trying all possible API, to be sure to find one existing.

[GB.QT4]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.

[GB.QT5]
* NEW: Controls having a null size are now taken into by the arrangement routine, and are moved accordingly.
2018-09-15 22:29:21 +02:00
bgermann
828ef7531d Remove unnecessary freebsd case 2018-09-15 21:01:17 +02:00
bgermann
846c4bada9 Change __WORDSIZE definition for BSDs 2018-09-15 10:50:10 +02:00
gambas
6ad1333324 Fix String.InStr() and String.RInstr() in ignore case mode, when the starting position is not specified.
[INTERPRETER]
* BUG: Fix String.InStr() and String.RInstr() in ignore case mode, when the starting position is not specified.
2018-09-14 19:17:56 +02:00
gambas
1cf0e4bfeb Do not crash anymore when deleting a modal window during its Open event.
[GB.GTK]
* BUG: Do not crash anymore when deleting a modal window during its Open event.
* BUG: Don't send fake configure event anymore when resizing a control. To check if it is actually needed for something.

[GB.GTK3]
* BUG: Do not crash anymore when deleting a modal window during its Open event.
* BUG: Don't send fake configure event anymore when resizing a control. To check if it is actually needed for something.
2018-09-14 00:47:32 +02:00
gambas
02a5a7e653 Fix mouse wheel scrolling on native widgets.
[GB.QT4]
* BUG: Fix mouse wheel scrolling on native widgets.

[GB.QT5]
* BUG: Fix mouse wheel scrolling on native widgets.
2018-09-13 13:50:13 +02:00
gambas
b85df1ff8c Debugger: Do not force debugging windows foreground color to black.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Do not force debugging windows foreground color to black.
2018-09-13 12:34:31 +02:00
gambas
db8c500f95 Some fixes in Git management. Add a status line in the version control information tab.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Add information about the status of the repository in the version control tab.
* BUG: Version control: Fix how moves are handled by Git version control.
* BUG: Version control: Git status interpretation now find more modified files.
2018-09-13 11:56:40 +02:00
gambas
740af72781 The search string now can be highlighted. Add a global option to toggle shadows.
[DEVELOPMENT ENVIRONMENT]
* NEW: Search dialog: The option to highlight the search string is back. It takes "ignore case" and "word-only" options into account.
* NEW: Search dialog: A word now includes the "$" character.
* NEW: Option dialog: Add an option to toggle shadows.
* NEW: Project properties dialog: Add icons to the left panel.
2018-09-12 14:57:48 +02:00
gambas
813798a3eb TextEditor: HighlightString() is a new method that highlights a specific string everywhere.
[GB.FORM.EDITOR]
* NEW: TextEditor: HighlightString() is a new method that highlights a specific string everywhere.
2018-09-12 14:56:29 +02:00
gambas
d152d887c2 TerminalView: Fix smooth scrolling support.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Fix smooth scrolling support.
2018-09-12 14:55:29 +02:00
gambas
f191a6ed72 SidePanel: The height is now zero when the panel is closed. Does not work completly yet.
[GB.FORM]
* NEW: SidePanel: The height is now zero when the panel is closed. Does not work completly yet.
2018-09-12 14:39:03 +02:00
gambas
5bb286aa80 Implement ScrollView in Gambas.
[GB.GUI.BASE]
* NEW: ScrollArea: ContentsWidth and ContentsW are two new synonymous of the ScrollWidth property.
* NEW: ScrollArea: ContentsHeight and ContentsH are two new synonymous of the ScrollHeight property.
* NEW: ScrollArea: Shadow is a new property that displays inner shadows when scrolling is possible.
* NEW: ScrollArea: Rework scrolling animation.
* NEW: ScrollView: That control is now implemented in Gambas.
2018-09-12 14:38:19 +02:00
gambas
386ef35e44 Remove ScrollView control, add a Change event to the DrawingArea control, and propagate MouseWheel events automatically.
[GB.GTK]
* NEW: ScrollView: Remove ScrollView control.
* NEW: DrawingArea: Change is a new event that is raised when the Application.Animations or Application.Shadows property changes.
* NEW: MouseWheel events are now automatically propagated to the parent control if they are not handled by the child.
* BUG: ScrollBar: Correctly raise the Change event in all cases.
* BUG: Slider: Correctly raise the Change event in all cases.

[GB.GTK3]
* NEW: ScrollView: Remove ScrollView control.
* NEW: DrawingArea: Change is a new event that is raised when the Application.Animations or Application.Shadows property changes.
* NEW: MouseWheel events are now automatically propagated to the parent control if they are not handled by the child.
* BUG: ScrollBar: Correctly raise the Change event in all cases.
* BUG: Slider: Correctly raise the Change event in all cases.
2018-09-12 13:54:30 +02:00
gambas
4ade5c25bc Remove ScrollView link files.
[GB.QT5]
* NEW: Remove ScrollView link files.
2018-09-12 13:54:11 +02:00
gambas
751059946c Remove ScrollView control, add a Change event to the DrawingArea control, and propagate MouseWheel events automatically.
[GB.QT4]
* NEW: ScrollView: Remove ScrollView control.
* NEW: DrawingArea: Change is a new event that is raised when the Application.Animations or Application.Shadows property changes.
* NEW: MouseWheel events are now automatically propagated to the parent control if they are not handled by the child.

[GB.QT5]
* NEW: ScrollView: Remove ScrollView control.
* NEW: DrawingArea: Change is a new event that is raised when the Application.Animations or Application.Shadows property changes.
* NEW: MouseWheel events are now automatically propagated to the parent control if they are not handled by the child.
2018-09-12 13:51:09 +02:00
gambas
12c0ebda46 String.InStr() starting position is correctly taken into account now.
[INTERPRETER]
* BUG: String.InStr() starting position is correctly taken into account now.
2018-09-12 13:39:05 +02:00
bgermann
c77865b99c Merge two flag definition cases 2018-09-11 17:45:59 +02:00
bgermann
0aaee954d6 [GB.TERM] Compatibility with OpenBSD
[GB.TERM]
* NEW: Compatibility with OpenBSD
2018-09-10 22:04:50 +02:00
gambas
62fefce8f7 TerminalView: Animate scrolling when Application.Animations property is TRUE.
[GB.FORM.TERMINAL]
* NEW: TerminalView: Animate scrolling when Application.Animations property is TRUE.
2018-09-10 20:49:46 +02:00
gambas
279c9a2782 SpinBox: Correctly refresh arrows when leaving the control.
[GB.GUI.BASE]
* BUG: SpinBox: Correctly refresh arrows when leaving the control.
2018-09-10 20:48:41 +02:00
gambas
88220d483b Let the interpreter correctly manage exceptions when calling non-JIT code from JIT code.
[INTERPRETER]
* BUG: JIT: Let the interpreter correctly manage exceptions when calling non-JIT code from JIT code.

[GB.JIT]
* BUG: Correctly initialize CP during exception handler.
2018-09-10 20:11:59 +02:00
gambas
f3eca2dd99 Font dialog: dialog is now centered at startup.
[GB.FORM.DIALOG]
* BUG: Font dialog: dialog is now centered at startup.
2018-09-10 20:07:46 +02:00
gambas
091543ed21 Help browser: Fix stylesheet.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Fix stylesheet.
2018-09-10 20:07:07 +02:00
bgermann
6e2a9d458f Unify BSD ifdefs 2018-09-09 18:26:38 +02:00
gambas
85f2a251e6 Workaroud the mouse bug in automatic completion inner webbrowser.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Enable the inner web browser later, to workaround a QtWebKit bug that triggers spurious mouse events.
* BUG: ImageEditor: The color palette is correctly updated when a color is selected in the property panel.
2018-09-07 19:53:28 +02:00
gambas
06ec4a8006 [FARM SERVER]
* NEW: Update project icon.
2018-09-07 19:52:45 +02:00
gambas
ec5efc1785 [GB.GTK]
* BUG: Frame: Fix arrangement.

[GB.GTK3]
* BUG: Frame: Fix control layout and arrangement.
* BUG: Get rid of most of the GtkAlignment deprecated widgets.
2018-09-07 19:50:45 +02:00
gambas
b0d9e142f9 TextEditor: Fix scrolling when animations are enabled.
[GB.FORM.EDITOR]
* BUG: TextEditor: Fix scrolling when animations are enabled.
2018-09-07 19:50:04 +02:00
gambas
196d5a3ebd ColorPalette: Scroll to the color when the Current property is set.
[GB.FORM]
* BUG: SwitchButton: Remove a debugging message.
* BUG: ColorPalette: Scroll to the color when the Current property is set.
2018-09-07 19:48:39 +02:00
gambas
b9af80fbec ScrollArea: Fix behaviour when scrolling animation is enabled.
[GB.GUI.BASE]
* BUG: ScrollArea: Fix behaviour when scrolling animation is enabled.
* BUG: SpinBox: Refresh correctly when the value changes.
2018-09-07 19:43:39 +02:00
gambas
e78d690ac3 Let's try to compile 'gb.gtk3' on Ubuntu 12.04!
[GB.GTK3]
* BUG: Let's try to compile 'gb.gtk3' on Ubuntu 12.04!
2018-09-06 22:55:19 +02:00
gambas
0edb8e6a93 Debugger: Watching an expression by selecting it on the editor does not crash anymore.
[DEVELOPMENT ENVIRONMENT]
* BUG: Debugger: Watching an expression by selecting it on the editor does not crash anymore.
2018-09-06 13:04:41 +02:00
gambas
ca324ba8b5 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-09-06 13:03:36 +02:00