Commit graph

8275 commits

Author SHA1 Message Date
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
gambas
fd5ec670e1 Add man pages.
[CONFIGURATION]
* NEW: Add man pages.

[INTERPRETER]
* NEW: Use 'time_t' in GB.MakeDateFromTime API.

[WIKI CGI SCRIPT]
* NEW: Add a command-line option to print the package table.
2020-06-20 04:56:22 +02:00
gambas
42f32030e3 TextEditor: Fix cursor move down and string closing routine.
[GB.FORM.EDITOR]
* BUG: TextEditor: Moving down now should work as expected on wrapped lines.
* NEW: TextEditor: Draw wrapped lines with little arrows at the end.
* NEW: TextEditor: String closing routine should be less stupid now.
2020-06-19 13:24:50 +02:00
gambas
6ea7235e1a Do not a useless private datatype.
[GB.POPPLER]
* BUG: Do not a useless private datatype.
2020-06-18 17:22:38 +02:00
gambas
98028acd24 Add rendering based on poppler-splash.
[GB.POPPLER]
* NEW: Add rendering based on poppler-splash.
2020-06-18 16:44:23 +02:00
gambas
4784c6c6a9 Switch to poppler-glib, that is more complete than poppler-cpp.
[GB.POPPLER]
* NEW: Switch to poppler-glib, that is more complete than poppler-cpp.
2020-06-18 14:06:22 +02:00
gambas
95c3091880 Version control: Fix the height of the error dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Version control: Fix the height of the error dialog.
2020-06-18 00:13:06 +02:00
gambas
3481b42be4 Support for the new 'gb.poppler' component.
[DEVELOPMENT ENVIRONMENT]
* NEW: Support for the new 'gb.poppler' component.
* NEW: Code editor: The 'THEN' keyword is now automatically inserted if missing.
2020-06-18 00:07:40 +02:00
gambas
286e18ca7c Mark 'gb.pdf' as deprecated.
[GB.PDF]
* NEW: Mark 'gb.pdf' as deprecated.
2020-06-18 00:05:39 +02:00
gambas
94e6feaf5c New 'gb.poppler' component that will replace 'gb.pdf'.
[CONFIGURATION]
* NEW: Fix component template generator.

[GB.POPPLER]
* NEW: New 'gb.poppler' component that will replace 'gb.pdf'.
2020-06-18 00:04:33 +02:00
gambas
577779961a Negative values are replaced by zero when setting Application.Busy.
[GB.GTK]
* NEW: Negative values are replaced by zero when setting Application.Busy.

[GB.GTK3]
* NEW: Negative values are replaced by zero when setting Application.Busy.

[GB.QT4]
* NEW: Negative values are replaced by zero when setting Application.Busy.

[GB.QT5]
* NEW: Negative values are replaced by zero when setting Application.Busy.
2020-06-17 18:26:08 +02:00
gambas
4ad678ea9b Rely on 'pkg-config' only to detect poppler library.
[GB.PDF]
* BUG: Rely on 'pkg-config' only to detect poppler library.
2020-06-15 00:10:27 +02:00
gambas
0406cdf471 Update some icons, and add a 128 pixels version of 'pen' and 'mouse' color stock icons.
[GB.FORM.STOCK]
* NEW: Update some icons, and add a 128 pixels version of 'pen' and 'mouse' color stock icons.
2020-06-14 00:50:22 +02:00
gambas
f5a806e2c0 Correctly disable 'gb.pdf' component if pkg-config fails.
[GB.PDF]
* BUG: Correctly disable 'gb.pdf' component if pkg-config fails.
2020-06-14 00:49:41 +02:00
gambas
e2ba54c6fa Database editor: Creating, renaming or removing a table now correctly updates the database template file.
[DEVELOPMENT ENVIRONMENT]
* BUG: Database editor: Creating, renaming or removing a table now correctly updates the database template file.
* NEW: Packager: Package directory is now stored in the project configuration file.
* NEW: Update financial support file.
2020-06-13 17:00:10 +02:00
gambas
05d896c57b Project property dialog: Redesign it using a white background (i.e. the text background color).
[DEVELOPMENT ENVIRONMENT]
* NEW: Project property dialog: Redesign it using a white background (i.e. the text background color).
2020-06-13 01:01:10 +02:00
gambas
836052c18d Packager: Emit dependencies for component projects.
[DEVELOPMENT ENVIRONMENT]
* BUG: Packager: Emit dependencies for component projects.
2020-06-13 00:30:51 +02:00
gambas
9c2f725e01 Merge branch 'master' of gitlab.com:gambas/gambas 2020-06-12 22:13:27 +02:00