Commit graph

7465 commits

Author SHA1 Message Date
gambas
f6f7f85f8b Add ByRef annotations to the ".info" files generated by the compiler.
[COMPILER]
* NEW: Add ByRef annotations to the ".info" files generated by the compiler. The name of "ByRef" method arguments is now prefixed with a '&' character.
2019-07-15 15:38:52 +02:00
gambas
f1cc289bfb Add an option not to increment version, and draw the startup class with underline bold text instead of using an emblem.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Startup class is now drawn with underline bold text instead of using an emblem.
* NEW: Make executable dialog: Add an option not to increment version. This is options is saved in the local project settings.
* NEW: Code printing: Use always the same font size for drawing page header and footer.
2019-07-12 00:40:56 +02:00
gambas
f82a67a4f3 TextEditor: Draw wrapped lines with a normal background, but with a gray hook to its right.
[GB.FORM.EDITOR]
* NEW: TextEditor: Draw wrapped lines with a normal background, but with a gray hook to its right.
* BUG: TextEditor: Now we can set up to 32 style colors without crashing.
2019-07-12 00:40:13 +02:00
gambas
99a72c01b6 TabPanel: Use the TabPanel foreground color to draw the titles of the tabs.
[GB.FORM]
* NEW: Spinner: Use the foreground color to draw the spinner and its label.
* NEW: TabPanel: Use the TabPanel foreground color to draw the titles of the tabs.
2019-07-12 00:16:29 +02:00
gambas
d186bf852a Add a Scroll event to TreeView, ColumnView and ListView.
[GB.GUI.BASE]
* BUG: GridView: Border padding is now applied inside the cell, not outside like the margin.
* NEW: TreeView: A Scroll event is raised now then the TreeView, the ListView or the ColumnView scrolls.
* BUG: TreeView: Setting the item Font property to NULL does not crash anymore.
2019-07-12 00:10:45 +02:00
gambas
8a4d713a4a Disable templates using components not installed on the system, and only propose GUI components actually installed when 'gb.gui' is in use.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project creation dialog: Disable templates using components not installed on the system.
* NEW: When 'gb.gui' is used, only propose GUI components actually installed on the system.
2019-07-10 23:08:15 +02:00
gambas
0c0b2b64fa DesktopMime: Correctly identify executables as "application/x-executable".
[GB.DESKTOP]
* BUG: DesktopMime: Correctly identify executables as "application/x-executable".
2019-07-10 22:38:47 +02:00
gambas
fed1e209e9 Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-10 13:24:31 +02:00
gambas
9dfcfccb6a Don't depend on 'gb.form', it breaks the compilation!
[GB.GUI.BASE]
* BUG: Don't depend on 'gb.form', it breaks the compilation!
2019-07-10 13:23:56 +02:00
Benoît Minisini
4362ebbbbf No more 'gb.desktop.keyring' in debian-stable. 2019-07-10 02:59:32 +00:00
Benoît Minisini
30a73a440f Fix debian-stable by moving debian-testing to debian-stable. 2019-07-10 02:45:10 +00:00
Benoît Minisini
cb1159377d Fix debian-oldstable by moving debian-stable to debian-oldstable 2019-07-10 02:41:44 +00:00
Benoît Minisini
78bd93d465 Fix debian-oldstable again 2019-07-10 02:36:24 +00:00
Benoît Minisini
aa9084e3df Fix debian-oldstable 2019-07-10 02:32:35 +00:00
gambas
52950c37ee Enhance and fix the interface of the preview dialog.
[GB.FORM.PRINT]
* NEW: Enhance and fix the interface of the preview dialog.
2019-07-10 04:27:06 +02:00
gambas
0310b58414 TextEditor: TextEditor[].Paint() is a new method that paint the contents of a line, without the margin.
[GB.FORM.EDITOR]
* NEW: TextEditor: TextEditor[].Paint() is a new method that paint the contents of a line, without the margin.
2019-07-10 04:25:18 +02:00
gambas
b0801ec749 DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
[GB.FORM]
* BUG: DocumentView: Correctly reset the scroll position when setting Arrangement to Arrange.Fill.
* OPT: DocumentView: Desaturate is faster now as it is done only once per page drawing.
2019-07-10 04:23:10 +02:00
gambas
8e487e5b18 Painting on an already painted device now correctly inherits the Paint.FontScale property.
[GB.DRAW]
* BUG: Painting on an already painted device now correctly inherits the Paint.FontScale property.
2019-07-10 04:22:14 +02:00
gambas
ad7b2a4937 Automatically set Paint.FontScale when painting on a printer, so that font size is actually the same as on the screen.
[GB.GTK]
* NEW: Automatically set Paint.FontScale when painting on a printer, so that font size is actually the same as on the screen.

[GB.GTK3]
* NEW: Automatically set Paint.FontScale when painting on a printer, so that font size is actually the same as on the screen.

[GB.QT4]
* NEW: Automatically set Paint.FontScale when painting on a printer, so that font size is actually the same as on the screen.
* BUG: Fix rich text size margins between paragraphs and titles.
* BUG: Fix rich text size computation.

[GB.QT5]
* NEW: Automatically set Paint.FontScale when painting on a printer, so that font size is actually the same as on the screen.
* BUG: Fix rich text size margins between paragraphs and titles.
* BUG: Fix rich text size computation.
2019-07-10 04:19:02 +02:00
gambas
7ac4287247 Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-09 19:53:45 +02:00
gambas
c5b2b50870 Text and code editors now can print their contents.
[DEVELOPMENT ENVIRONMENT]
* NEW: Add support for the new 'gb.form.print' component.
* NEW: Code editor: Add a print button and menu entry that prints the contents of the editor.
* NEW: Text editor: Add a print button and menu entry that prints the contents of the editor.
* NEW: Option dialog: Add an option to define the font used for printing.
2019-07-09 19:49:59 +02:00
gambas
be96ff02bc 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
[GB.FORM.PRINT]
* NEW: 'gb.form.print' is a new component extends the Printer class with a generic preview and print dialog.
2019-07-09 19:48:41 +02:00
gambas
f44b12f14b DocumentView: Fix some bugs and add ShowPage and Desaturate properties.
[GB.FORM]
* NEW: DocumentView: The default background color is now a mix of the default text foreground and background colors.
* BUG: DocumentView: Use Paint.Begin() instead of Draw.Begin(), so that preview uses anti-aliasing.
* BUG: DocumentView: Fix some cases of page drawing not correctly triggered.
* NEW: DocumentView: ShowPage is new property that displays the current page and the number of pages inside the preview.
* NEW: DocumentView: Desaturate is a new property that desaturates the preview. It's slow when the zoom is huge.
* NEW: DocumentView: Allow zoom up to 800%.
2019-07-09 19:43:15 +02:00
gambas
63b503ca24 Make the TreeView arrows a little bit thinner and darker
[GB.GUI.BASE]
* NEW: Make the TreeView arrows a little bit thinner and darker.
2019-07-09 19:41:10 +02:00
gambas
798b1d54cc Add Paint.FontScale, and make gb.gtk and gb.gtk3 printer drawing behave the same as QT components.
[GB.DRAW]
* NEW: Paint: FontScale is a new property that defines a scale applied to the size of the fonts assigned to the Paint.Font property.
* NEW: Paint: Scale() second argument is now optional, and takes the same value as the first argument if omitted.

[GB.GTK]
* NEW: Paint: Implementation of Paint.FontScale.
* BUG: Printer: All printer events are raised between a single Paint.Begin() / Paint.End().

[GB.GTK3]
* NEW: Paint: Implementation of Paint.FontScale.
* BUG: Printer: All printer events are raised between a single Paint.Begin() / Paint.End().
* BUG: Printer: Print() does now crash anymore.
* BUG: Printer: Font sizes now are the same as with QT components.

[GB.QT4]
* NEW: Paint: Implementation of Paint.FontScale.

[GB.QT5]
* NEW: Paint: Implementation of Paint.FontScale.
2019-07-09 19:35:01 +02:00
Tobias Boege
d913a59929 gb.openssl: Add OpenSSL static class and RandomBytes method
[GB.OPENSSL]
* NEW: Add static class OpenSSL for general utility methods provided by OpenSSL
* NEW: Add OpenSSL.RandomBytes to generate a cryptographically strong pseudo-random string of given length
2019-07-06 21:45:37 +02:00
Tobias Boege
ade69465d6 gb.openssl: Allow arbitrary digests in HMac()
[GB.OPENSSL]
* NEW: Allow arbitrary digest methods to be passed to HMac(). They are now identified by their name. The integer arguments are deprecated.
2019-07-06 21:18:33 +02:00
gambas
8479b7f608 Message: Workaround a text layout bug when computing the size of the message box.
[GB.GUI.BASE]
* BUG: Message: Workaround a text layout bug when computing the size of the message box.
2019-07-05 00:15:19 +02:00
gambas
5fcf191a1f Editor: Fix Highlight.Alternate property.
[GB.QT4.EXT]
* BUG: Editor: Fix Highlight.Alternate property.
2019-07-04 20:52:17 +02:00
gambas
e9da726b96 Packager: Create lower-case symbolic links on executables for Debian, Slackware, ArchLinux and Autotools packages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Image editor: Show the grid below the selection and other tool strokes.
* NEW: Packager: Create lower-case symbolic links on executables for Debian, Slackware, ArchLinux and Autotools packages.
* NEW: Packager: Autotools package does not use the deprecated AM_INIT_AUTOMAKE syntax anymore.
2019-07-04 02:54:16 +02:00
Benoît Minisini
820c8cf9bb Merge branch 'italian-translations' into 'master'
Contains fix and new Italian translations

See merge request gambas/gambas!104
2019-07-03 20:06:51 +00:00
Benoît Minisini
096d63af9a Merge branch 'qt-5.13' into 'master'
Fix build with Qt 5.13

See merge request gambas/gambas!103
2019-07-03 20:06:00 +00:00
gambas
d58e3c15dd Add 128 pixels versions of stock icons used by mimetypes.
[GB.FORM.STOCK]
* NEW: Add 128 pixels versions of stock icons used by mimetypes.
2019-07-03 21:39:55 +02:00
GianluigiOr
a9bd2fe844 Contains fix and new Italian translations
[DEVELOPMENT ENVIRONMENT]
* NEW: The IDE translation is now fix and complete.

[GB.FORM.TERMINAL]
* NEW: The complete translation.

[GB.TERM.FORM]
* NEW: The translation is now complete.

[GB.UTIL]
* New: The translation is now fix
2019-07-03 19:20:38 +02:00
gambas
a0fd6a99b7 TerminalView: Update colors so that they are readable both on a light and a dark background.
[GB.FORM.TERMINAL]
* BUG: TerminalView: Update colors so that they are readable both on a light and a dark background.
2019-07-03 19:18:02 +02:00
gambas
03d704c092 New stock icon named 'call'.
[GB.FORM]
* NEW: New stock icon named 'call'.

[GB.FORM.STOCK]
* NEW: Add 'call' stock icon and redraw 'archive' icon.
2019-07-03 19:16:32 +02:00
gambas
6ef1ef4a6e ShowLines is a new property that makes the tree views draw tree lines.
[GB.GUI.BASE]
* NEW: Paint.Arrow() is a new method that draws an arrow.
* NEW: TreeView & ColumnView: ShowLines is a new property that makes the control draw tree lines.
* NEW: TreeView & ColumnView: The arrow size now follows the font size.
2019-07-03 11:49:32 +02:00
Laurent Carlier
53a8b5bde8 [GB.QT5]
* BUG: Fix build with Qt 5.13.

[GB.QT5.EXT]
* BUG: Fix build with Qt 5.13.

[GB.QT5.OPENGL]
* BUG: Fix build with Qt 5.13.

[GB.QT5.WEBKIT]
* BUG: Fix build with Qt 5.13.
2019-07-03 10:27:12 +02:00
gambas
e09f6a6fa9 Merge branch 'master' of gitlab.com:gambas/gambas 2019-06-30 21:39:35 +02:00
gambas
68e085bb10 Don't crash when seeking if no media is played and emit standard control events from the inner DrawingArea.
[GB.MEDIA.FORM]
* BUG: Don't crash when seeking if no media is played.
* NEW: Emit standard control events from the inner DrawingArea.
2019-06-30 20:32:01 +02:00
Benoît Minisini
a4aac29545 Update .gitlab-ci.yml 2019-06-29 15:18:14 +00:00
gambas
2e2c1c3b51 Try to enhance language detection in Request.Language property.
[GB.WEB]
* NEW: Try to enhance language detection in Request.Language property.
2019-06-29 16:19:12 +02:00
gambas
e3eb238821 Support for new Highlight.Alternate style.
[DEVELOPMENT ENVIRONMNENT]
* NEW: Support for new Highlight.Alternate style.
* NEW: Update highlight themes.
* NEW: Update French translation.
2019-06-29 16:17:09 +02:00
gambas
8294c6a81a New 'new-tab' stock icon and redraw a few icons.
[GB.FORM]
* NEW: New 'new-tab' stock icon.

[GB.FORM.STOCK]
* NEW: New 'new-tab' stock icon.
* NEW: Redraw a few icons.
2019-06-29 16:15:49 +02:00
gambas
01a3106d20 New Highlight.Alternate style, and make the matching braces blink with the cursor.
[GB.EVAL]
* NEW: Highlight.Alternate is a new constant that represents the background style used for coloring code embedded into webpages.

[GB.EVAL.HIGHLIGHT]
* NEW: Support for new Highlight.Alternate style.

[GB.FORM.EDITOR]
* NEW: Support for new Highlight.Alternate style.
* NEW: Matching braces now blink with the cursor.
* BUG: When the cursor moves, the blinking timer is reset so that the cursor blinks only when it is not moving.
2019-06-29 16:11:51 +02:00
gambas
4128a33adf Update library to version 6.4.2.
[GB.CLIPPER]
* NEW: Update library to version 6.4.2.
* BUG: Get rid of a gcc warning.
2019-06-29 16:10:21 +02:00
Benoît Minisini
def5aaf027 Merge branch 'master' into 'master'
[WIKI] Updated Playground Url

See merge request gambas/gambas!102
2019-06-29 00:16:30 +00:00
gambas
ced6a42adf Packager: Some bug fixes, and traslate the project description in the desktop file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Doing the same package several times without closing the wizard works correctly now.
* BUG: Packager: When making a *.deb package, clean-up the target directory from possible already existing similar packages. Otherwise dpkg-buildpackage does not build.
* NEW: Packager: Translate project description in desktop file.
2019-06-28 23:57:21 +02:00
gambas
85d4293edd Packager: Allow to enter the minimum Gambas version required and translate the Name entry of desktop files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* BUG: Fix a possible crash when disabling/enabling a breakpoint.
* NEW: Packager: Allow to enter the minimum Gambas version required.
* NEW: Packager: Extra desktop file entries can override default entries.
* NEW: Packager: The desktop file Name entry is now emitted with its translations.
2019-06-28 22:58:49 +02:00
gambas
23c426857f Don't crash anymore when searching into an archive that failed to load.
[INTERPRETER]
* BUG: Don't crash anymore when searching into an archive that failed to load.
* BUG: The archive path is now a dynamic string.
2019-06-27 12:59:32 +02:00