Commit graph

8557 commits

Author SHA1 Message Date
gambas
84706609eb Automatically set the $EDITOR environmental variable if not set.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Automatically set the $EDITOR environmental variable if not set.
* NEW: If not editor is found for $EDITOR, display a warning message.
2020-07-18 16:09:23 +02:00
gambas
f009a3a3dd Merge branch 'master' of gitlab.com:gambas/gambas 2020-07-18 12:56:59 +02:00
gambas
b6f17aca00 Disable 'Run with' menu when the debugger is running.
[DEVELOPMENT ENVIRONMENT]
* BUG: Disable 'Run with' menu when the debugger is running.
* NEW: Change the 'Run' menu into 'Continue' when the debugger is running.
2020-07-18 12:56:41 +02:00
Christof Thalhofer
fffe0cc8db gb.test ignore case in test fixtures' method names
[GB.TEST]
* BUG: gb.test ignore case of method names of test fixtures
2020-07-18 12:45:31 +02:00
gambas
17ab56cfde Merge the PostgreSQL 12 ArchLinux patch from Laurent Carlier.
[GB.DB.POSTGRESQL]
* BUG: Merge the PostgreSQL 12 ArchLinux patch from Laurent Carlier.
2020-07-14 16:20:38 +02:00
gambas
d32f54508d Try to workaround a possible stupid PostgreSQL define again.
[GB.DB.POSTGRESQL]
* BUG: Try to workaround a possible stupid PostgreSQL define again.
2020-07-14 14:47:39 +02:00
gambas
e6b383cf65 Workaround a stupid postgresql #define.
[GB.DB.POSTGRESQL]
* BUG: Workaround a stupid postgresql #define.
2020-07-13 19:03:55 +02:00
gambas
95ea5cd72c Better fix for '&=' operator optimization.
[INTERPRETER]
* BUG: Better fix for '&=' operator optimization.
2020-07-13 16:00:17 +02:00
gambas
7c56865d97 Fix '&=' operator optimization when the added string is void.
[INTERPRETER]
* BUG: Fix '&=' operator optimization when the added string is void.
2020-07-13 15:41:12 +02:00
gambas
3c7d85ba85 Remove some useless X11-related includes.
[GB.QT4]
* BUG: Remove some useless X11-related includes.

[GB.QT5]
* BUG: Remove some useless X11-related includes.
2020-07-11 13:53:29 +02:00
gambas
47909d2657 Project property dialog: remove white background color of icon button.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project property dialog: remove white background color of icon button.
2020-07-09 13:26:18 +02:00
gambas
ef7fce00d4 Fix a typo in an help comment.
[GB.TEST]
* BUG: Fix a typo in an help comment.
2020-07-09 13:25:24 +02:00
gambas
c45afb88ed Fix again automatic insertion of string delimiters.
[GB.FORM.EDITOR]
* BUG: Fix again automatic insertion of string delimiters.
2020-07-09 13:24:02 +02:00
gambas
fd985748b2 Make terminal output visible at program's end.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update Gambas 16 Medium font.
* BUG: Always ensure that the terminal bottom is visible once a program or a test is finished.
* BUG: Send the test suite name and not the full test list to the tested program.
2020-07-08 02:22:35 +02:00
gambas
ac90ecff3d Update version to 3.15.90.
[CONFIGURATION]
* NEW: Update version to 3.15.90.
2020-07-07 20:30:03 +02:00
gambas
8a8c10d57c Update TODO file.
[CONFIGURATION]
* NEW: Update TODO file.
2020-07-04 12:03:40 +02:00
Benoît Minisini
6d6f99887a Merge branch 'master' into 'master'
Updated brazilian portuguese translations

See merge request gambas/gambas!150
2020-07-04 09:52:12 +00:00
gambas
4b34a2b9d5 Settings: Add a few methods and properties.
[GB.SETTINGS]
* NEW: Settings.Count is a new property that returns the total number of settings.
* NEW: Settings.Exist() is a new method that return if a specific settings key is set.
* NEW: Settings.Keys.Count is a new property that returns the number of children slots.
* NEW: Settings.Keys.Exist() is a new method that returns if a specific child slot exists.
* NEW: Settings.Keys.All is a new property that returns an array of all children slot keys.
2020-07-03 01:55:06 +02:00
gambas
7923d08a41 WebComboBox: Fix initial value of the Index property.
[GB.WEB.GUI]
* BUG: WebComboBox: Fix initial value of the Index property.
2020-07-02 22:51:00 +02:00
gambas
0423ce0dfb Fix a badly written code that crashes on 32-bits CPU.
[GB.JIT]
* BUG: Fix a badly written code that crashes on 32-bits CPU.
2020-07-02 22:35:07 +02:00
gambas
7d0eb6598f Disabled widgets now ignore all pointer events.
[GB.WEB.GUI]
* BUG: Disabled widgets now ignore all pointer events.
2020-07-02 20:17:17 +02:00
gambas
9a2df79a5b Remove debugging message.
[GB.QT4]
* BUG: Remove debugging message.

[GB.QT5]
* BUG: Remove debugging message.
2020-06-29 22:01:39 +02:00
gambas
5b6d3a1b2e TextEditor: Inserting a string delimiter at the beginning of the line does not crash anymore.
[GB.FORM.EDITOR]
* BUG: TextEditor: Inserting a string delimiter at the beginning of the line does not crash anymore.
2020-06-29 20:33:32 +02:00
gambas
3b8166343f Update project version. 2020-06-29 20:25:11 +02:00
gambas
f8da3dbd6b Minus sign reformatting. 2020-06-29 20:24:04 +02:00
gambas
b1cddd6c3d Remove useless void line. 2020-06-29 20:23:37 +02:00
gambas
4b2967df56 Remove useless void lines. 2020-06-29 20:23:07 +02:00
gambas
1783308623 Opening a popup always raise it to the pop now.
[GB.GTK]
* BUG: Opening a popup always raises it to the pop now.

[GB.GTK3]
* BUG: Opening a popup always raises it to the pop now.
2020-06-29 20:21:47 +02:00
gambas
dfd64cde24 Display a better error message if the settings file directory disappeared.
[GB.SETTINGS]
* NEW: Display a better error message if the settings file directory disappeared.
2020-06-29 20:20:57 +02:00
gambas
dcce2f9d83 DesktopFile: Fix the case of the "exist" symbol that is used as a public method name.
[GB.DESKTOP]
* BUG: DesktopFile: Fix the case of the "exist" symbol that is used as a public method name.
2020-06-29 20:19:32 +02:00
gambas
b469b83e2b Fix modal and popup window management.
[GB.QT4]
* BUG: A modal window can be opened on top of a popup window without breaking the event loop.

[GB.QT5]
* BUG: A modal window can be opened on top of a popup window without breaking the event loop.
2020-06-29 20:16:30 +02:00
gambas
4adc83352a Class duplication check now ignores backup files.
[DEVELOPMENT ENVIRONMENT]
* BUG: Class duplication check now ignores backup files.
* BUG: Make executable dialog: Hide "ignore test modules" checkbox if the project has no test modules.
2020-06-29 13:46:13 +02:00
gambas
4ed2905929 The informer now can deal with missing components whose information is included in other ones.
[INFORMER]
* BUG: If a component includes the information of one component among many, do not fail if the first one does not exist. Try the other ones.
2020-06-28 01:03:21 +02:00
gambas
5a2b06b247 Fix 'Compress file' tooltip and a few GUI problems.
[DEVELOPMENT ENVIRONMENT]
* NEW: Text editor: The 'Compress file' button tooltip now show the actual compression ratio, not its inverse.
* NEW: Do not use white background for dialogs. Let the user decide with the color configuration of its desktop.
* BUG: Display the scrollbar in the test output terminal.
* BUG: Project open dialog: Do not display the file chooser toolbar when selecting a project.
2020-06-27 12:21:51 +02:00
gambas
445d8784a8 FileChooser & DirChooser: ShowToolbar is a new property that toggles the toolbar.
[GB.FORM]
* NEW: FileChooser: ShowToolbar is a new property that toggles the toolbar.
* NEW: DirChooser: ShowToolbar is a new property that toggles the toolbar.
* NEW: FileView: Display a text inside the view when a directory is empty.
2020-06-27 12:01:59 +02:00
gambas
23f36d919e poppler >= 0.20 is now required.
[GB.POPPLER]
* NEW: poppler >= 0.20 is now required.
2020-06-27 11:40:14 +02:00
gambas
e248a58c9e Fix component packaging and implement "save as" action for external files.
[DEVELOPMENT ENVIRONMENT]
* BUG: Implement "save as" action for external files.
* BUG: Packager: Packaging a component with no requirements does not crash anymore.
2020-06-26 12:28:41 +02:00
gambas
1ba3d0cb5a FileChooser: Add a separator above the bottom filters when Border property is unset.
[GB.FORM]
* NEW: FileChooser: Add a separator above the bottom filters when Border property is unset.
2020-06-24 19:50:36 +02:00
gambas
24f131c35d Do not use 'poppler_page_get_text_for_area()' API for older versions of poppler.
[GB.POPPLER]
* BUG: Do not use 'poppler_page_get_text_for_area()' API for older versions of poppler.
2020-06-24 19:28:14 +02:00
gambas
0900d16fe5 Make executable: Add an option that excludes test modules, and ask for a confirmation when no change has been detected.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Ask for a confirmation when making executable if no change has been detected and project version should be incremented.
* NEW: Make executable dialog: New design.
* NEW: Make executable dialog: Add an option that excludes test modules from the executable.
* BUG: Project property dialog: Use shorter labels so that translations are visible.
2020-06-24 19:02:55 +02:00
gambas
340d282db9 'POPPLER_FIND_IGNORE_DIACRITICS' exists since 0.73 version.
[GB.POPPLER]
* BUG: 'POPPLER_FIND_IGNORE_DIACRITICS' exists since 0.73 version.
2020-06-24 18:48:35 +02:00
gambas
61e010f147 Add new properties and methods.
[GB.POPPLER]
* NEW: PdfDocument: Find() method finds a page index from its label.
* NEW: PdfPage: Thumbnail property returns the thumbnail of a page if it exists.
* NEW: PdfPage: Label property returns the label of the page.
* NEW: PdfPage: Text property returns the text contents of the page.
* NEW: PdfPage: GetText() method returns the text contents of part of the page.
* NEW: PdfPage: Width and Height properties return the size of the page.
* NEW: PdfPage: FindText() method searches for a specific text in the page and return all the bounding boxes found.
2020-06-24 17:29:47 +02:00
gambas
41e1b9a031 PdfDocument: Make Index property enumerable.
[GB.POPPLER]
* NEW: PdfDocument: Make Index property enumerable.
2020-06-24 09:54:17 +02:00
gambas
1d10b2117c Add support for document index and actions.
[GB.POPPLER]
* NEW: Default resolution is now the same as the poppler library (72 DPI).
* NEW: PdfDocument: Add Max and Index.Max property.
* NEW: PdfDocument: Add Keywords, CreationDate and ModificationDate properties.
* NEW: PdfDocument: Add Linearized and Version properties.
* NEW: PdfDocument: PdfDocument.Index returns the document index as an read-only array of PdfIndex objects.
* NEW: PdfIndex: Action property returns the detail of the action associated with an index entry.
2020-06-24 09:44:47 +02:00
gambas
af103180a6 Packager: Fix deb package 'clean' directive and do not use compiler absolute path in packages.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Do not use compiler absolute path in packages.
* BUG: Packager: Fix deb package 'clean' directive so that it only deletes the '.gambas' directory and the executable.
2020-06-24 00:09:17 +02:00
gambas
4d76f37d34 Choosing "Desktop" icon theme works again.
[DEVELOPMENT ENVIRONMENT]
* BUG: Choosing "Desktop" icon theme works again. Consequently the default IDE icon theme is the "Desktop" theme too.
2020-06-22 13:35:11 +02:00
gambas
dc0ad72612 MediaView: Add Volume and Muted properties.
[GB.MEDIA.FORM]
* NEW: MediaView: Volume is a new property to return or set the audio volume.
* NEW: MediaView: Muted is a new property that defines if the audio is muted or not.
2020-06-22 02:10:20 +02:00
gambas
2b831182ac Do not use '__DATE__' macro for reproducible builds.
[GB.HTTPD]
* BUG: Do not use '__DATE__' macro for reproducible builds.
2020-06-20 20:12:10 +02:00
gambas
697a9eade9 Add manpage for the IDE.
[CONFIGURATION]
* NEW: Add manpage for the IDE.
2020-06-20 05:20:24 +02:00
gambas
4da85c26dd Fix man pages.
[CONFIGURATION]
* BUG: Fix man pages.
2020-06-20 05:10:29 +02:00