Commit graph

6916 commits

Author SHA1 Message Date
gambas
2d978ed99f Matching braces are now just underlined and Setting styles multiple times now triggers only one highlight update.
[GB.FORM.EDITOR]
* OPT: TextEditor: Setting styles multiple times now triggers only one highlight update.
* NEW: TextEditor: Matching braces are now just underlined. I find that more readable.
2018-09-26 18:48:24 +02:00
gambas
acafa3f219 SidePanel: Setting the Hidden property now takes the current animation into account.
[GB.FORM]
* BUG: SidePanel: Setting the Hidden property now takes the current animation into account.
2018-09-26 18:46:55 +02:00
gambas
f6a88365d3 TreeView, ListView, ColumnView: Keys is a new property that returns an array of all item keys, and setting an item font has no side effect anymore.
[GB.GUI.BASE]
* NEW: TreeView, ListView, ColumnView: Keys is a new property that returns an array of all item keys.
* BUG: TreeView, ListView, ColumnView: Setting an item font has no side effect anymore.
2018-09-26 17:47:23 +02:00
bgermann
042097be1f Make Debian CI fail on configure errors 2018-09-25 21:16:09 +02:00
bgermann
07a0088042 Enable new JIT on Arch 2018-09-25 20:47:36 +02:00
bgermann
667a9ffd85 Make Ubuntu CI fail on configure errors 2018-09-25 20:46:15 +02:00
bgermann
c809886f7b Fix test of '-std=c++11' compilation flag 2018-09-25 19:20:39 +02:00
gambas
1f63103731 WebView: Correctly define the cache path.
[GB.QT4.WEBKIT]
* BUG: WebView: Correctly define the cache path.

[GB.QT5.WEBKIT]
* BUG: WebView: Correctly define the cache path.
2018-09-25 13:57:07 +02:00
gambas
6619f59263 Unify and fix the behaviour of the Container.Children property.
[GB.GTK]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.

[GB.GTK3]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.

[GB.QT4]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.

[GB.QT5]
* NEW: Container.Children now returns a real object that is a read-only array of references to all container children.
* NEW: Container.Children.Max is a new property that returns the number of container children minus one.
2018-09-24 15:39:37 +02:00
gambas
1fa7304654 Fix Container.Children.Clear() method.
[GB.GTK]
* BUG: Fix Container.Children.Clear() method.

[GB.GTK3]
* BUG: Fix Container.Children.Clear() method.
* BUG: Remove a warning on deprecated API.
2018-09-24 11:33:30 +02:00
gambas
1f29f16e32 Fix information about native classes.
[INTERPRETER]
* BUG: Fix information about native classes.
2018-09-23 22:02:56 +02:00
gambas
737b77c387 String value can be used like object.
[INTERPRETER]
* NEW: String value can be used like object.
* NEW: String[X] returns the X-th character of the string, 0 being the first one.
* NEW: String[X, N] returns N characters from the position X, 0 being the first one. IF N is strictly negative, then all characters from the position X, except the last N characters are returned.
* NEW: String.Len returns the length of the string.

[COMPILER]
* NEW: Allow the [] operator to be applied to a string.
2018-09-23 09:15:29 +02:00
gambas
4bf287a44a ScrollView: Fix a possible infinite loop in contents arrangement routine.
[GB.GUI.BASE]
* BUG: ScrollView: Fix a possible infinite loop in contents arrangement routine.
2018-09-23 09:13:36 +02:00
gambas
029f3d35c2 Remove the Connection.TimeZone property, it is not used yet.
[GB.DB]
* NEW: Remove the Connection.TimeZone property, it is not used yet.
2018-09-23 09:12:37 +02:00
gambas
fd994506d4 Merge branch 'master' of gitlab.com:gambas/gambas 2018-09-22 13:08:33 +02:00
gambas
7e6373982e WebSettings.Cache.Path now understands paths beginning with "~".
[GB.QT4.WEBKIT]
* BUG: WebSettings.Cache.Path now understands paths beginning with "~".

[GB.QT5.WEBKIT]
* BUG: WebSettings.Cache.Path now understands paths beginning with "~".
2018-09-22 13:07:18 +02:00
Benoît Minisini
a79edf23ed Merge branch 'bsd' into 'master'
More BSD changes

See merge request gambas/gambas!38
2018-09-21 22:55:31 +00:00
gambas
be3b3fb812 Change automatic index presentation.
[WIKI CGI SCRIPT]
* NEW: Change automatic index presentation.
2018-09-22 00:50:15 +02:00
gambas
41a62f3426 Take the ScrollView margin into account, and do not propagage SpinBox mouse wheel events.
[GB.GUI.BASE]
* BUG: ScrollView: Take the Margin property into account correctly.
* BUG: SpinBox: Do not propagate mouse wheel events.
2018-09-22 00:46:49 +02:00
gambas
2ee354526c Version control: Pushing to Git repository was crashing in some cases.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Pushing to Git repository was crashing in some cases.
2018-09-21 13:00:37 +02:00
gambas
6d1399aa23 Help browser: Fix the offline help of special methods.
[DEVELOPMENT ENVIRONMENT]
* BUG: Help browser: Fix the offline help of special methods.
2018-09-21 11:31:59 +02:00
gambas
6ab416eae3 Workspace: The first tab is now closable with the middle mouse button, when the CloseWithMouse property is set.
[GB.FORM.MDI]
* BUG: Workspace: The first tab is now closable with the middle mouse button, when the CloseWithMouse property is set.
2018-09-21 11:08:57 +02:00
gambas
31d08dc99a Update French translation.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
2018-09-20 18:48:02 +02:00
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