Commit graph

10867 commits

Author SHA1 Message Date
Benoît Minisini
1e5baed3a2 FileView: Disable persistent preview caching.
[GB.FORM]
* NEW: FileView: Disable persistent preview caching.
2023-01-03 22:33:59 +01:00
Benoît Minisini
ae9f1e98b9 Put dependency on 'gb.desktop.x11' back, otherwise the IDE complains.
[GB.DESKTOP.X11]
* BUG: Put dependency on 'gb.desktop.x11' back, otherwise the IDE complains.
2023-01-03 20:19:17 +01:00
Benoît Minisini
d2203afc05 The component must require 'gb.desktop'.
[GB.DESKTOP.X11]
* BUG: The component must require 'gb.desktop'.
2023-01-03 14:47:36 +01:00
Benoît Minisini
8273cfbe03 DesktopWindow.Activate() uses the 'X11' class directly now.
[GB.DESKTOP.X11]
* BUG: DesktopWindow.Activate() uses the 'X11' class directly now.
2023-01-03 14:45:52 +01:00
Benoît Minisini
87ed81f63b Use the new 'Cursor' constants.
[GB.FORM.MDI]
* NEW: Use the new 'Cursor' constants.
2023-01-03 14:40:55 +01:00
Benoît Minisini
7a8610f779 Paint.Rectangle() with a border radius now works as expected with a negative width or height.
[GB.DRAW]
* BUG: Paint.Rectangle() with a border radius now works as expected with a negative width or height.
2023-01-03 14:38:46 +01:00
Benoît Minisini
ffa0611cea Factorize exception management in JIT code.
[GB.JIT]
* OPT: Factorize exception management in JIT code.
2023-01-03 14:25:00 +01:00
Benoît Minisini
60b5c9bfc6 FileProperties: Add file last access time.
[GB.FORM]
* NEW: Update French translation.
* NEW: FileProperties: Add file last access time.
2023-01-03 12:42:30 +01:00
Benoît Minisini
1d02de4c35 Translation dialog: Fix form using the old 'FileView.Style' property.
[DEVELOPMENT ENVIRONMENT]
* BUG: Translation dialog: Fix form using the old 'FileView.Style' property.
2023-01-03 12:39:55 +01:00
Benoît Minisini
eb68fa4370 Version control: Remove the 'Revert all changes' button in the bottom panel. Project browser: Upgrade to the new FileView view modes.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project browser: Upgrade to the new FileView view modes.
* NEW: Version control: Remove the 'Revert all changes' button in the bottom panel. It can be dangerous to leave it there.
2023-01-03 12:33:25 +01:00
Benoît Minisini
1b0ce91712 FileProperties: Use the new 'Trim' property for the file name label.
[GB.FORM]
* BUG: FileView: Save the maximum preview file size in the settings.
* NEW: FileProperties: Use the new 'Trim' property for the file name label.
2023-01-03 06:54:14 +01:00
Benoît Minisini
b2294075f8 Label & TextLabel: 'Trim' is a new property that trims the text if it overflows its frame.
[GB.GUI.BASE]
* NEW: Label & TextLabel: 'Trim' is a new property that trims the text if it overflows its frame.
2023-01-03 06:53:03 +01:00
Benoît Minisini
2f4989febd FileView: Permanent store of previews.
[GB.FORM]
* NEW: FileView; Reload() method takes an optional boolean argument for refreshing the preview cache.
* NEW: DirChooser & FileChooser: 'SHIFT + F5' now refreshes the preview cache.
* NEW: FileView: If the 'gb.desktop' component is loaded, file previews are stored in the home cache directory.
* NEW: FileView: File preview frame has now a one pixel gap with the contents.
2023-01-03 05:09:18 +01:00
Benoît Minisini
ca0023dcbc Fix 'chart' icon.
[GB.FORM.STOCK]
* NEW: Fix 'chart' icon.
2023-01-03 00:44:52 +01:00
Benoît Minisini
821cc4640e FileView: 'Style' property has been renamed as 'View'. File preview is now a 'View' mode.
[GB.FORM]
* BUG: FileView; Fix line count of text file previews.
* NEW: FileView: 'Style' property has been renamed as 'View'.
* NEW: FileView: File preview is now a 'View' mode associated to the new 'Preview' constant.
* BUG: FileView: Correctly abort preview when the 'Dir' property changes.
* NEW: FileChooser & DirChooser: 'Style' property has been renamed as 'View'.
2023-01-03 00:39:24 +01:00
Benoît Minisini
31cae9e585 Fix IconView icon layout. Fix Paint.TrimRichText(). Fix ColumnView first column automatic resizing.
[GB.GUI.BASE]
* BUG: IconView: Fix icon layout in both orientations.
* BUG: Rewrite and fix 'Paint.TrimRichText()' method.
* BUG: ColumnView: Fix automatic resizing of the first column.
2023-01-03 00:36:14 +01:00
Benoît Minisini
3c1a76248b Add Expand() and Shrink() methods to the rectangle classes.
[GB.GEOM]
* NEW: Add Expand() and Shrink() methods to the rectangle classes.
2023-01-02 20:22:30 +01:00
Benoît Minisini
aaee1fa427 Fix icon size in the unsaved file dialog.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix icon size in the unsaved file dialog.
2023-01-02 18:01:06 +01:00
Benoît Minisini
448b5a9018 When checking keyboard events for shortcuts on the client side, take a possible undefined key code into account.
[GB.WEB.GUI]
* BUG: When checking keyboard events for shortcuts on the client side, take a possible undefined key code into account.
2023-01-02 17:26:18 +01:00
Benoît Minisini
ce118d50ec Merge branch 'master' of gitlab.com:gambas/gambas 2023-01-02 09:18:52 +01:00
Benoît Minisini
6168fa80ab Fix some icons.
[GB.FORM.STOCK]
* NEW: Fix some icons.
2023-01-02 09:18:44 +01:00
Benoît Minisini
c8c5d07120 FileView: Enhance file preview.
[GB.FORM]
* NEW: Update French translation.
* NEW: FileView: Add page count in PDF or office files preview.
* NEW: FileView: Add line count in text files preview.
* NEW: FileView: Add the file mime icon on top of its preview, except for video and images.
2023-01-02 09:18:09 +01:00
Benoît Minisini
6da173b304 Merge branch 'c99' into 'master'
C99 compatibility fixes for configure scripts

See merge request gambas/gambas!286
2023-01-02 07:55:37 +00:00
Florian Weimer
22bf34222e C99 compatibility fixes for configure scripts
Define _GNU_SOURCE in the math tests so that exp10 can be found.
Include <stdio.h> for the puts function in the __progname check.
2023-01-02 08:20:04 +01:00
Benoît Minisini
5a1095794e FileView: Number of pages are now be more readable on dark backgrounds.
[GB.FORM]
* BUG: FileView: Remove a debugging message.
* NEW: FileView: Number of pages are now be more readable on dark backgrounds.
2023-01-01 14:53:52 +01:00
Benoît Minisini
166bb46e7e Add preview of OpenOffice and EPub files, and the number of pages in the preview when possible.
[GB.FORM]
* NEW: FileView: Add preview of OpenOffice and EPub files.
* NEW: FileView: Add the number of pages to the preview of OpenOffice and PDF files.
2023-01-01 14:40:02 +01:00
Benoît Minisini
b2e6c95520 System information dialog: Add the version of some programs. Extend the snow period until the Epiphany.
[DEVELOPMENT ENVIRONMENT]
* NEW: Extend the snow period until the Epiphany.
* NEW: System information dialog: Add the version of some programs.
2023-01-01 11:31:02 +01:00
Benoît Minisini
cdece09186 Check all child terminations when we detect that the SIGCHLD handler has been replaced by an idiotic library like 'glib'.
[INTERPRETER]
* BUG: Check all child terminations when we detect that the SIGCHLD handler has been replaced by an idiotic library like 'glib'.
2023-01-01 11:24:44 +01:00
Benoît Minisini
5181dc1427 Don't try to free unallocated things when releasing the PdfDocument object.
[GB.POPPLER]
* BUG: Don't try to free unallocated things when releasing the PdfDocument object.
2022-12-31 16:50:08 +01:00
Benoît Minisini
ca6ce92d1e DirChooser: Find the best associated bookmark when setting the root directory.
[GB.FORM]
* BUG: DirChooser: Use the correct Copy.Paste() method.
* BUG: DirChooser: Find the best associated bookmark when setting the root directory.
2022-12-31 14:25:04 +01:00
Benoît Minisini
08a10b06de Project tree: Change the icon for filtering compressed files.
[DEVELOPMENT ENVIRONMENT]
* NEW: Project tree: Change the icon for filtering compressed files.
2022-12-31 09:06:44 +01:00
Benoît Minisini
b17e196410 IconView: Fix icon layout so that the number of text lines specified by 'IconLines' is actually displayed.
[GB.GUI.BASE]
* BUG: IconView: Fix icon layout so that the number of text lines specified by 'IconLines' is actually displayed.
2022-12-31 09:05:53 +01:00
Benoît Minisini
5d565f823e IconView: Handle 'PageDown' and 'PageUp' keys correctly.
[GB.GUI.BASE]
* NEW: IconView: Handle 'PageDown' and 'PageUp' keys correctly.
2022-12-31 07:45:43 +01:00
Benoît Minisini
03687a30cf Automatic completion: Correctly ignore properties when completing the dot operator.
[DEVELOPMENT ENVIRONMENT]
* BUG: Automatic completion: Correctly ignore properties when completing the dot operator.
2022-12-31 07:35:14 +01:00
Benoît Minisini
de07a867e4 IconView: Handle 'PageDown' and 'PageUp' keys.
[GB.GUI.BASE]
* NEW: IconView: Handle 'PageDown' and 'PageUp' keys.
2022-12-31 07:34:10 +01:00
Benoît Minisini
b0c3c0e32f TabPanel: Ensure that the current tab button is always visible even if the last tab is hidden.
[GB.FORM]
* BUG: TabPanel: Ensure that the current tab button is always visible even if the last tab is hidden.
2022-12-31 07:12:47 +01:00
Benoît Minisini
6d276d7725 TreeView: Do not cancel the row change if the row is set to -1 (no selected row).
[GB.GUI.BASE]
* BUG: TreeView: Do not cancel the row change if the row is set to -1 (no selected row).
2022-12-31 03:47:40 +01:00
Benoît Minisini
7629e573c5 WebForm: Disable global shortcuts when a popup -or- a modal dialog is opened.
[GB.WEB.GUI]
* BUG: WebForm: Disable global shortcuts when a popup -or- a modal dialog is opened.
2022-12-30 19:07:22 +01:00
Benoît Minisini
f6296d430b Fix colors constants in all forms.
[DEVELOPMENT ENVIRONMENT]
* BUG: Fix colors constants in all forms.
2022-12-30 16:19:09 +01:00
Benoît Minisini
21eb4686c2 Add new stock icons.
[GB.FORM]
* NEW: Add new stock icons.
2022-12-30 16:15:03 +01:00
Benoît Minisini
770a3c4025 Still add new stock icons, and redraw other ones.
[GB.FORM.STOCK]
* NEW: Still add new stock icons, and redraw other ones.
2022-12-30 16:14:36 +01:00
Benoît Minisini
bfb4c30bca Project browser: Correctly define the current popup when being activated.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project browser: Correctly define the current popup when being activated.
2022-12-30 16:13:59 +01:00
Benoît Minisini
79c35adc7e IconView: Check an update hovered item at each refresh.
[GB.GUI.BASE]
* BUG: IconView: Check an update hovered item at each refresh.
2022-12-29 21:14:01 +01:00
Benoît Minisini
19d592dff7 Add some new stock icons.
[GB.FORM]
* NEW: Add some new stock icons.
2022-12-29 18:38:02 +01:00
Benoît Minisini
c86808b6f6 Add new stock icons, and redraw some ones.
[GB.FORM.STOCK]
* NEW: Add new stock icons, and redraw some ones.
2022-12-29 18:37:39 +01:00
Benoît Minisini
1929102434 Image editor: Add a toolbar button that expands or shrinks the selection of the paste frame to the image size.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Add a toolbar button that expands or shrinks the selection of the paste frame to the image size.
* BUG: Image editor: Fix mouse button management during press and release events.
* NEW: Draw the current branch button with a Label and its new border properties.
2022-12-29 15:51:37 +01:00
Benoît Minisini
4561baf342 Label: Add BorderRadius, BorderWidth and BorderColor property.
[GB.GUI.BASE]
* NEW: Label: Add BorderRadius, BorderWidth and BorderColor property.
2022-12-29 15:39:58 +01:00
Benoît Minisini
9ed4595ec5 Clear the modified flag after the image texture has been synchronized.
[GB.SDL2]
* BUG: Clear the modified flag after the image texture has been synchronized.
2022-12-29 01:06:18 +01:00
Benoît Minisini
250c292820 Correctly synchronize the image texture when the image has been modified by a method from 'gb.image'.
[GB.SDL2]
* BUG: Correctly synchronize the image texture when the image has been modified by a method from 'gb.image'.
2022-12-29 01:04:01 +01:00
Benoît Minisini
e7b5908a0e Initialize the 'Application.MiddleClickPaste' property at the right time.
[GB.GTK]
* BUG: Initialize the 'Application.MiddleClickPaste' property at the right time.

[GB.GTK3]
* BUG: Initialize the 'Application.MiddleClickPaste' property at the right time.
2022-12-28 22:13:33 +01:00