Commit graph

7581 commits

Author SHA1 Message Date
gambas
8134f37ecc Code editor: Automatic insertion of global variables now inserts the STATIC keyword if the current function is static.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas fonts.
* BUG: Code editor: Automatic insertion of global variables now inserts the STATIC keyword if the current function is static.
2019-07-31 00:26:52 +02:00
gambas
43fa62e0d1 [GB.DESKTOP]
* NEW: Desktop.Types is a new property that returns a read-only array of each desktop defined in Desktop.Type.
* NEW: Desktop.Passwords: Work correctly now when multiple desktops are included in the Desktop.Type property.
* OPT: DesktopFiles: Remove some useless array copies.
2019-07-31 00:23:49 +02:00
gambas
b11d422c14 Array.ReadOnly is a new property that make an array read-only. Once set, the property cannot be unset.
[INTERPRETER]
* NEW: Array.ReadOnly is a new property that make an array read-only. Once set, the property cannot be unset.
* NEW: The "Embedded array" error message has been rewritten as "Read-only array".
* NEW: Add two new standard errors: "Multidimensional array" and "Unknown class".
* NEW: Replace some specific error messages by standard errors.
2019-07-31 00:20:13 +02:00
gambas
27f89780f9 IconView: Draw selected icons with a rectangular frame.
[GB.GUI.BASE]
* NEW: IconView: Draw selected icons with a rectangular frame.
2019-07-24 21:19:56 +02:00
gambas
a3b06b8aad Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-24 20:04:32 +02:00
gambas
eba52aee12 CSS highlighter: Support for CSS escaped characters.
[GB.EVAL.HIGHLIGHT]
* BUG: CSS highlighter: Support for CSS escaped characters.
2019-07-24 20:03:18 +02:00
Benoît Minisini
6c79771631 Merge branch 'master' into 'master'
update Russian translation

See merge request gambas/gambas!106
2019-07-16 20:19:05 +00:00
Benoît Minisini
8e54671d1b Merge branch 'italian-translations' into 'master'
Contains new Italian translations

See merge request gambas/gambas!105
2019-07-16 20:18:32 +00:00
glixx
3af4212149 update Russian translation 2019-07-16 09:07:34 +03:00
gambas
f1a86eb687 Merge branch 'master' of gitlab.com:gambas/gambas 2019-07-16 00:30:41 +02:00
gambas
6902893ddb DataSource: IgnoreParent is a new parent that tells the DataSource not to filter its contents with any parent DataSource.
[GB.DB.FORM]
* NEW: DataSource: IgnoreParent is a new parent that tells the DataSource not to filter its contents with any parent DataSource.
2019-07-16 00:29:14 +02:00
gambas
eb5172f4e5 FileView: Add information about each file next to the icon in icon view mode.
[GB.FORM]
* NEW: FileView: Add information about each file next to the icon in icon view mode.
* BUG: DocumentView: Remove erroneous public constant written in French.
2019-07-15 23:47:00 +02:00
Tobias Boege
77fdca9282 DataComboView: Add parameter to signature of Event Validate
[GB.DB.FORM]
* BUG: DataComboView: Add parameter to signature of Event Validate
2019-07-15 18:03:31 +02:00
gambas
739895c55a Support for 'ByRef' annotations in '*.info' files.
[WIKI CGI SCRIPT]
* NEW: Support for 'ByRef' annotations in '*.info' files.
2019-07-15 17:44:57 +02:00
gambas
07398d8d82 Always reload the project after a pull / update from the repository. Support for the 'ByRef' annotation in '*.info' files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the 'ByRef' annotation in '*.info' files.
* BUG: Version control: Always reload the project after a pull / update from the repository.
2019-07-15 17:42:00 +02:00
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
GianluigiOr
72cb22f00b Contains new Italian translations
[GB.FORM.PRINT]
* NEW: The complete translation.
2019-07-13 16:05:55 +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