Commit graph

7450 commits

Author SHA1 Message Date
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
gambas
932fbb19f1 TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
[GB.FORM.EDITOR]
* NEW: TextEditor: Don't enclose selection with quotes anymore, it is more annoying than anything else.
* NEW: TextEditor: Undo now groups successive single character insertions, and successive single character deletions as well.
2019-06-26 00:26:11 +02:00
Matthew Collins
a94d7dfa72 [WIKI] Updated Playground Url
NEW: Changed playground urls from http to https.
NEW: Switched to run examples from stable to daily builds.
2019-06-23 16:08:21 +01:00
gambas
860260802d Fix translation strings in some components.
[GB.FORM.EDITOR]
* BUG: Translate popup menu.

[GB.NET.CURL]
* BUG: DownloadManager: Remove useless Message event.
* NEW: DownloadManager: Add a Connect event raised when the distant server is connected.

[GB.WEB]
* BUG: CGI error message is not translatable.

[GB.XML]
* BUG: Error messages must not be translatable.
2019-06-22 07:45:29 +02:00
gambas
bc8223e240 If the current translation does not exist, try to use the first available translation of the same language in another country.
[INTERPRETER]
* NEW: If the current translation does not exist, try to use the first available translation of the same language in another country.
2019-06-22 01:20:38 +02:00
gambas
0179eb5936 Enhance language detection done by the Request.Language property.
[GB.WEB]
* NEW: Enhance language detection done by the Request.Language property.
2019-06-21 20:00:58 +02:00
gambas
64a13bfab4 MenuButton: Fix possible crashes with focus management.
[GB.FORM]
* BUG: MenuButton: Fix possible crashes with focus management.
2019-06-21 19:56:48 +02:00
gambas
03432457cd Project property dialog: Standardize the look of lists widgets.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support.
* NEW: About dialog: Update design.
* NEW: Project property dialog: Standardize the look of lists widgets.
2019-06-21 19:53:55 +02:00
gambas
89dcbf8af1 Merge branch 'master' of gitlab.com:gambas/gambas 2019-06-19 13:10:19 +02:00
gambas
4f027d250f Fix drag & drop on drop targets that are children of another drop target.
[GB.GUI.BASE]
* BUG: Fix drag & drop on drop targets that are children of another drop target.
2019-06-19 13:09:06 +02:00
Benoît Minisini
47d96cce32 Merge branch 'master' into 'master'
Examples fixes

See merge request gambas/gambas!101
2019-06-18 07:57:14 +00:00
gambas
cfb4a9d2a8 Enumerating an unknown datatype does not raise an error automatically anymore.
[GB.JIT]
* BUG: Enumerating an unknown datatype does not raise an error automatically anymore.
2019-06-18 09:50:56 +02:00
glixx
84dcb3e440 examples: BeastScroll: remove testing fields from project file 2019-06-17 03:16:47 +03:00
glixx
43b7bd7343 examples: Puzzle1To8: fix German translation 2019-06-17 03:10:13 +03:00
glixx
aa8bc2b4e3 examples: Puzzle1To8: update Russian translation 2019-06-17 03:04:33 +03:00
gambas
988546ad28 Update some translations.
[EXAMPLES]
* NEW: Update some translations.
2019-06-14 01:32:14 +02:00