Commit graph

6934 commits

Author SHA1 Message Date
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
gambas
fc00dcbad2 SpinBox: The Change event is correctly raised when the value is changed by typing it.
[GB.GUI.BASE]
* BUG: SpinBox: The Change event is correctly raised when the value is changed by typing it.
2018-09-06 13:02:48 +02:00
gambas
1b2ad271ae Support for the new dotted highlighting style, and editor fixes for scrolling animation.
[DEVELOPMENT ENVIRONMENT]
* BUG: Animations and tooltips are enabled by default.
* NEW: Option dialog: Support for the new dotted highlighting style.
* NEW: Update highlighting themes.
* BUG: Code editor: Fix message labels when animations are enabled.
2018-09-06 09:54:39 +02:00
gambas
da1863bd5d TextEditor: Support for dotted highlighted text.
[GB.FORM.EDITOR]
* NEW: TextEditor: Support for dotted highlighted text.
2018-09-06 09:52:29 +02:00
gambas
0ce7ddf5c3 ScrollArea: Fix for scrolling animations. Add a new Scrolling property that returns if the control is scrolling for animations.
[GB.GUI.BASE]
* NEW: ScrollArea: Scrolling is a new property that returns if the control is scrolling for animations.
* NEW: ScrollArea: Don't animate scrolling if nothing has been drawn yet.
* BUG: ScrollArea: Fix the ScrollX and ScrollY properties when animations are enabled.
2018-09-06 09:33:55 +02:00
gambas
89eb4ff2b8 Take Application.Animations property into account in some controls.
[GB.FORM]
* NEW: SwitchButton: Take Application.Animations property into account.
* NEW: MessageView: Take Application.Animations property into account.
2018-09-06 09:32:38 +02:00
gambas
f00acc7104 Default value of optional arguments are correctly referenced now.
[GB.JIT]
* BUG: Default value of optional arguments are correctly referenced now.
2018-09-06 07:41:29 +02:00
gambas
d61741474f ScrollArea and all its children classes now can animate their scrolling.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* NEW: Option dialog: Add an option to enable control animations. Move the toolbar size option to the 'Fonts' panel.

[GB.GTK]
* NEW: Application.Animations is a new property that enable or disable control animations.

[GB.GTK3]
* NEW: Application.Animations is a new property that enable or disable control animations.
* NEW: Control.Font is now implemented using GTK+ CSS.

[GB.GUI.BASE]
* NEW: ScrollArea: Animate scrolling if Application.Animations is set.

[GB.QT4]
* NEW: Application.Animations is a new property that enable or disable control animations.

[GB.QT5]
* NEW: Application.Animations is a new property that enable or disable control animations.
2018-09-05 21:19:57 +02:00
gambas
41058b3ff5 Really make gb.gtk3 compile with GTK+ < 3.14.
[GB.GTK3]
* BUG: Really make gb.gtk3 compile with GTK+ < 3.14.
2018-09-05 00:23:53 +02:00
gambas
83a1ee29bc Make gb.gtk3 compile with GTK+ < 3.14.
[GB.GTK3]
* BUG: Make gb.gtk3 compile with GTK+ < 3.14.
2018-09-04 22:23:54 +02:00