Commit graph

7115 commits

Author SHA1 Message Date
gambas
af3ef8d130 Paint: Text should now be correctly drawn in all cases.
[GB.GTK]
* BUG: Paint: Text should now be correctly drawn in all cases.

[GB.GTK3]
* BUG: Paint: Text should now be correctly drawn in all cases.
2018-10-04 12:17:53 +02:00
gambas
51230b935d ScrollBar: Correctly handle mouse wheel events.
[GB.QT4]
* BUG: ScrollBar: Correctly handle mouse wheel events.

[GB.QT5]
* BUG: ScrollBar: Correctly handle mouse wheel events.
2018-10-04 12:17:10 +02:00
gambas
b7ac71f285 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-03 16:17:29 +02:00
gambas
bc42b29ce8 Image editor: The property sheet is now disabled when the editor is read-only.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Image editor: The property sheet is now disabled when the editor is read-only.
* BUG: Image editor: Remove a debugging message.
2018-10-03 16:15:33 +02:00
gambas
65b0fb986f DataView: Clicking on the creation row now works correctly again.
[GB.DB.FORM]
* BUG: DataView: Clicking on the creation row now works correctly again.
2018-10-03 16:14:08 +02:00
gambas
261697ae44 Fix ColorPalette, optimize FileView refresh, make the TableView editor position nicer.
[GB.FORM]
* BUG: ColorPalette: Handle mouse wheel events correctly.
* BUG: ColorPalette: Ensure that the current color is visible.
* NEW: ColorChooser: The value slider now handles mouse wheel events.
* OPT: FileView: Sort the files once when the view is reloaded.
* NEW: TableView: Move the editor so that the cell border is correctly visible.
2018-10-03 16:10:03 +02:00
gambas
a7ddfbe0cf Fix ScrollView arrangement, and optimize TreeView items adding.
[GB.GUI.BASE]
* NEW: GridView: Draw last column and last rows separators even if Grid is not set when the GridView is actually a TableView.
* BUG: ScrollView: Fix arrangement.
* OPT: TreeView: Define the default row size, so that adding items is faster.
2018-10-03 16:07:04 +02:00
gambas
1bf70e1e75 PictureBox is now implemented in Gambas.
[GB.GTK]
* NEW: Remove PictureBox control.

[GB.GTK3]
* NEW: Remove PictureBox control.

[GB.GUI.BASE]
* NEW: PictureBox is now implemented in Gambas.
* NEW: PictureBox: Image is a new property that allows to display an Image instead of a Picture.
* NEW: PictureBox: Mode is a new property that defines how the image fills the control.

[GB.QT4]
* NEW: Remove PictureBox control.

[GB.QT5]
* NEW: Remove PictureBox control.
2018-10-03 16:06:54 +02:00
Benoît Minisini
6c50b5cf3d Merge branch 'ci' into 'master'
Enable gb.qt4.opengl for Arch CI

See merge request gambas/gambas!44
2018-10-02 21:37:12 +00:00
bgermann
5c2cf516f0 Enable gb.qt4.opengl for Arch CI 2018-10-02 13:58:04 +02:00
gambas
7e2ccb7cce TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
[GB.FORM.EDITOR]
* BUG: TextEditor: Prevent a possible infinite looping on displaying an incorrectly highlighted text line.
2018-10-01 23:20:43 +02:00
gambas
8adc54015b ImageView: Fix view to image coordinates conversion.
[GB.FORM]
* BUG: ImageView: Fix view to image coordinates conversion.
2018-10-01 23:19:49 +02:00
gambas
31b67a7f78 Image editor: Fix view to image coordinates conversion.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Fix view to image coordinates conversion.
2018-10-01 23:18:58 +02:00
gambas
efd0a26dea Really take into account configure disable flags!
[CONFIGURATION]
* BUG: Really take into account configure disable flags!
2018-10-01 17:18:53 +02:00
gambas
cf89cf56e4 Fix configuration.
[GB.CRYPT]
* BUG: Fix configuration.
2018-10-01 16:16:01 +02:00
gambas
5c5eede209 Now configure should really fail only if a component is actually disabled.
[CONFIGURATION]
* BUG: Now configure should really fail only if a component is actually disabled.
2018-10-01 14:00:08 +02:00
gambas
f4b2bada0c Now configure should fail only if a component is actually disabled, not just because a library search fails.
[CONFIGURATION]
* BUG: Now configure should fail only if a component is actually disabled, not just because a library search fails.
2018-10-01 11:27:04 +02:00
gambas
5d1d758dd6 Move some macro calls to fix autoconf warnings.
[CONFIGURATION]
* BUG: Move some macro calls to fix autoconf warnings.
2018-10-01 10:55:43 +02:00
gambas
a2d936dedb Fix highlighting of strings including '\xXX' escape sequences.
[GB.EVAL]
* BUG: Fix highlighting of strings including '\xXX' escape sequences.
2018-10-01 10:48:24 +02:00
gambas
5c6423eedb Update some versions. 2018-09-29 13:26:18 +02:00
gambas
51c80eba92 Allow to add actions at runtime to the static list created by the compiler.
[GB.FORM.MDI]
* NEW: Action.Add() is a new method that allows to declare a new action.
* NEW: Action.AddFrom() is a new method that declare a new action from a control.
2018-09-29 13:23:36 +02:00
gambas
c2469623bf Add Action.Keys and Action[].HasShortcut properties.
[GB.GUI.BASE]
* NEW: Action.Keys is new static property that returns the list of all action keys.
* NEW: Action[].HasShortcut is a new property that returs if an action can have a shortcut.
2018-09-29 13:20:33 +02:00
gambas
c65d88247d Image editor: Add steps to image effects sliders.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Add steps to image effects sliders.
2018-09-29 13:18:27 +02:00
Benoît Minisini
e0ae589963 Merge branch 'cpp11test' into 'master'
Fix test of '-std=c++11' compilation flag

See merge request gambas/gambas!41
2018-09-29 09:34:53 +00:00
Benoît Minisini
0c67fc086a Merge branch 'alpine' into 'master'
Add musl-based alpine to CI

See merge request gambas/gambas!40
2018-09-29 09:19:44 +00:00
bgermann
5232d819d9 Revert deleting the search for libcrypt.so 2018-09-29 09:45:06 +02:00
gambas
35d20604b1 TextEditor: Try to make automatic insertion of quotes more clever.
[GB.FORM.EDITOR]
* NEW: TextEditor: Try to make automatic insertion of quotes more clever.
2018-09-29 04:42:42 +02:00
gambas
aa6b7825d8 Do not disable 'gb.crypt' if libcrypt is not found. Let's suppose it is located in the C system library, as on some systems based on musl and busybox.
[CONFIGURATION]
* NEW: Fix some messages

[GB.CRYPT]
* NEW: Do not disable the component if libcrypt is not found. Let's suppose it is located in the C system library, as on some systems.
2018-09-29 04:40:24 +02:00
gambas
28617a6208 Merge branch 'master' of gitlab.com:gambas/gambas 2018-09-29 04:13:52 +02:00
gambas
a934f5c8bb If a component source directory includes more than one component, and if one of these components is disabled, the other keep being enabled.
[CONFIGURATION]
* BUG: If a component source directory includes more than one component, and if one of these components is disabled, the other keep being enabled.
2018-09-29 04:12:35 +02:00
Benoît Minisini
08ff595f52 Merge branch 'ci' into 'master'
Stricter CI rules

See merge request gambas/gambas!42
2018-09-28 17:14:17 +00:00
gambas
5ae2f48bd5 Make 128 pixels versions of message box icons.
[GB.FORM.STOCK]
* NEW: Make 128 pixels versions of message box icons.
2018-09-28 18:58:46 +02:00
gambas
4239ddbaf0 SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
[GB.GUI.BASE]
* BUG: SpinBox: Allow the wheel event handler to be overrided, so that SliderBox works as expected again.
2018-09-28 18:55:19 +02:00
gambas
0c4a0926a2 Fix mouse wheel events management again.
[GB.QT4]
* BUG: Fix mouse wheel events management again.

[GB.QT5]
* BUG: Fix mouse wheel events management again.
2018-09-28 17:59:17 +02:00
gambas
9f0ca8d8d5 IconView: Keys is a new property that returns an array of all item keys.
[GB.GUI.BASE]
* NEW: IconView: Keys is a new property that returns an array of all item keys.
2018-09-26 18:54:06 +02:00
gambas
a7401ed305 Add an index to the TODO page.
[WIKI CGI SCRIPT]
* NEW: Add an index to the TODO page.
2018-09-26 18:52:01 +02:00
gambas
b2a846e191 Option dialog: Add an option for setting the debugger font relative size.
[DEVELOPMENT ENVIRONMENT]
* NEW: Option dialog: Add an option for setting the debugger font relative size.
* NEW: Gambas highlight theme: Make the highlight color a bit darker.
2018-09-26 18:50:23 +02:00
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