Commit graph

7096 commits

Author SHA1 Message Date
gambas
86c1836003 [GB.EVAL.HIGHLIGHT]
* NEW: TextHighlighter.ToHTML() replaces all space by ' '.
* NEW: TextHighlighter.ToRichText() returns an highlighted text in rich text format.

[GB.FORM.EDITOR]
* BUG: TextEditor: Fix automatic insertion of string delimiters.

[GB.FORM.MDI]
* NEW: Toolbar: Redraw expander icon.

[GB.FORM.STOCK]
* NEW: Redraw 'spell-check' icon.
2018-10-25 23:28:46 +02:00
Benoît Minisini
b8987158d3 Merge branch 'ssl' into 'master'
Reduce deprecated features

See merge request gambas/gambas!49
2018-10-22 21:22:11 +00:00
bgermann
9d61797908 Install AppStream in non-legacy metainfo directory
[DEVELOPMENT ENVIRONMENT]
* NEW: Install AppStream in non-legacy metainfo directory
2018-10-22 22:57:13 +02:00
bgermann
c41ebd5dda [GB.OPENSSL] Replace deprecated RAND_pseudo_bytes
[GB.OPENSSL]
* NEW: Replace the deprecated (as of OpenSSL 1.1.0) function RAND_pseudo_bytes with RAND_bytes
2018-10-22 22:52:52 +02:00
bgermann
730bd63a34 Make main compile on Hurd
Replace some BSD-exclusive with Linux-only ifdefs to not pollute term
with Hurd ifdefs
2018-10-17 22:08:50 +02:00
gambas
921067cd34 The IsAlnum() function was never defined in the subroutine symbol table!
[COMPILER]
* NEW: The IsAlnum() function was never defined in the subroutine symbol table!
2018-10-16 19:31:24 +02:00
gambas
1c6a9c1b52 Define the TRUE/FALSE constant in the generated code again.
[GB.JIT]
* NEW: Define the TRUE/FALSE constant in the generated code again.
2018-10-16 19:30:28 +02:00
Benoît Minisini
aab5aecd72 Merge branch 'mipsterm' into 'master'
Fix missing define on MIPS

See merge request gambas/gambas!47
2018-10-16 17:29:38 +00:00
Benoît Minisini
f24657f3ba Merge branch 'master' into 'master'
Fix undefined TRUE/FALSE in postgresql driver, don't use or define TRUE/FALSE constants if not needed, and fix some english mistakes.

[INTERPRETER]
* BUG: Fix some english mistakes in comments of various files.

[GB.DB.POSTGRESQL]
* BUG: Fix undefined TRUE/FALSE

[GB.DB.SQLITE2]
* NEW: Do not define TRUE/FALSE constants.

[GB.GTK]
* NEW: Do not use TRUE/FALSE constants in 'font-parser.cpp'.

[GB.GTK3]
* NEW: Do not use TRUE/FALSE constants in 'font-parser.cpp'.

[GB.JIT]
* NEW: Remove the definition of TRUE/FALSE constants in generated code. That prevents the generated code from compiling, so it will be undone in a next commit.

[GB.SIGNAL]
* BUG: Fix an english mistake in an error message.

See merge request gambas/gambas!45
2018-10-16 17:29:19 +00:00
bgermann
1d93023181 Fix missing define on MIPS
More information: http://lists.busybox.net/pipermail/buildroot/2015-October/140931.html
2018-10-15 21:54:31 +02:00
bgermann
dace3b09ac Remove boolean definitions except in gb_common.h 2018-10-15 18:48:01 +02:00
bgermann
a0e95cc0b8 Spelling: catched -> caught 2018-10-14 21:52:07 +02:00
bgermann
75c0cafe4d [GB.DB.POSTGRESQL] Fix undefined TRUE/FALSE
[GB.DB.POSTGRESQL]
* BUG: Fix undefined TRUE/FALSE
2018-10-14 16:31:24 +02:00
gambas
9b73e821ef Fix a file descriptor leak when a socket fails to connect.
[GB.NET]
* BUG: Fix a file descriptor leak when a socket fails to connect.
2018-10-12 17:12:06 +02:00
gambas
3f002896b5 Panels controls got a smaller default size.
[GB.GTK]
* NEW: Panels controls got a smaller default size.

[GB.GTK3]
* NEW: Panels controls got a smaller default size.

[GB.QT4]
* NEW: Panels controls got a smaller default size.

[GB.QT5]
* NEW: Panels controls got a smaller default size.
2018-10-11 12:33:31 +02:00
gambas
ad8ea52b64 Don't crash after a buffered file failed to close.
[INTERPRETER]
* BUG: Don't crash after a buffered file failed to close.
2018-10-11 12:30:45 +02:00
gambas
901b84a36c Update xdg-utils to 1.1.3 version.
[GB.DESKTOP]
* NEW: Update xdg-utils to 1.1.3 version.
2018-10-11 00:03:41 +02:00
gambas
73a3d976f5 Fix project arguments editor.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: Some fixes in argument editor.
* NEW: Small changes in toolbar buttons.
2018-10-10 10:34:30 +02:00
gambas
0dc57ad4ad ScrollView: Fix layout routine and correctly propagate focus events.
[GB.GUI.BASE]
* BUG: ScrollView: Fix layout routine.
* BUG: ScrollView: Correctly propagate focus events.
2018-10-10 10:32:20 +02:00
gambas
0cafd5dab9 Remove a public variable declared in a parent and in a child class.
[GB.MAP]
* BUG: Remove a public variable declared in a parent and in a child class.
2018-10-10 02:04:48 +02:00
gambas
f89186d6a8 SpinBox: Fix keyboard management when entering a value.
[GB.GUI.BASE]
* BUG: SpinBox: Fix keyboard management when entering a value.
2018-10-09 22:00:41 +02:00
gambas
89184ba8dc Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-08 16:42:24 +02:00
gambas
31929e1e44 Overriding public variables is forbidden, and JIT compiler correctly handles public constants.
[INTERPRETER]
* NEW: Overriding public variables was useless, and is now forbidden to help JIT compiler optimizations.

[GB.JIT]
* BUG: Correctly compile dynamic accesses to public constants.
2018-10-08 16:36:38 +02:00
gambas
a94bc793fe Mouse.State has flags for keyboard modifiers now.
[GB.GTK]
* NEW: Mouse.State has flags for keyboard modifiers now.

[GB.GTK3]
* NEW: Mouse.State has flags for keyboard modifiers now.
2018-10-08 16:35:45 +02:00
gambas
63cf3a235d MouseWheel events on disabled controls are correctly propagated now.
[GB.QT4]
* NEW: Mouse.State has now flags for keyboard modifiers too.
* BUG: MouseWheel events on disabled controls are correctly propagated now.

[GB.QT5]
* NEW: Mouse.State has now flags for keyboard modifiers too.
* BUG: MouseWheel events on disabled controls are correctly propagated now.
2018-10-08 16:34:41 +02:00
gambix
6b7a879232 Merge branch 'master' of gitlab.com:gambas/gambas 2018-10-04 14:27:00 +02:00
gambix
2475f36477 Now if the layer in not existing return null and do nothing if .remove(shape) not exist.
[GB.MAP]
* BUG: return null if the required layer not exist
* BUG: Remove function of Shape Layer do nothing if the Layer id not exist
2018-10-04 14:25:46 +02:00
gambas
c41dcb3832 Code editor: Fix spurious scrolling of procedure list.
[DEVELOPMENT ENVIRONMENT]
* BUG: Code editor: Fix spurious scrolling of procedure list.
2018-10-04 12:26:45 +02:00
gambas
f67b8ab307 Update some icons.
[GB.FORM.STOCK]
* NEW: Update some icons.
2018-10-04 12:26:11 +02:00
gambas
ddf3275bdc Optimize FileView refresh, and fix SidePanel buttons that sometimes were created twice.
[GB.FORM]
* OPT: FileView: Optimize view refresh.
* BUG: SidePanel: Side buttons were sometimes created twice.
* BUG: SidePanel: Side buttons tooltips are now always correct.
2018-10-04 12:24:08 +02:00
gambas
d46368f276 IconView items highglight is correctly drawn now, and some TreeView optimizations.
[GB.GUI.BASE]
* BUG: IconView: Items highglight is correctly drawn now.
* OPT: TreeView: Allows the view to be locked while a lot of items are added.
* NEW: TreeView: BeforeSort is a new event that allows a caller to prepare its custom view sort.
2018-10-04 12:19:03 +02:00
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