Commit graph

10854 commits

Author SHA1 Message Date
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
Benoît Minisini
7f4d4e7457 Merge branch 'master' of gitlab.com:gambas/gambas 2022-12-28 18:13:15 +01:00
Benoît Minisini
8c850058ff Update project icon.
[GB.FORM.TERMINAL]
* NEW: Update project icon.
2022-12-28 18:13:06 +01:00
Benoît Minisini
2a0ed10cf5 Add 'chat' and 'magnet' stock icons.
[GB.FORM]
* NEW: Add 'chat' and 'magnet' stock icons.
2022-12-28 18:12:18 +01:00
Benoît Minisini
c518977d59 Add 'chat' and 'magnet' stock icons.
[GB.FORM.STOCK]
* NEW: Add 'chat' and 'magnet' stock icons.
2022-12-28 18:11:55 +01:00
Benoît Minisini
496960ad4f Label: Fix frame drawing and text alignment inside frame.
[GB.GUI.BASE]
* BUG: Label: Clip frame drawing for style that draw an unwanted background.
* BUG: Label: Take the frame width into account when aligning the contents.
2022-12-28 17:47:36 +01:00
Benoît Minisini
1dd2f4969f Merge branch 'bsteers4-master-patch-46598' into 'master'
TextHighlighter_Sh.class, fix error after function keyword if bracket does not exist

See merge request gambas/gambas!285
2022-12-28 14:09:36 +00:00
Benoît Minisini
bd069c9ffd WebForm: Disable global shortcuts when a popup is opened.
[GB.WEB.GUI]
* BUG: WebForm: Disable global shortcuts when a popup is opened.
2022-12-28 14:52:24 +01:00
Benoît Minisini
a43fc09acd Paint.DrawText() and Paint.DrawRichText() do not move the current point anymore.
[GB.GTK]
* BUG: Paint.DrawText() and Paint.DrawRichText() do not move the current point anymore.

[GB.GTK3]
* BUG: Paint.DrawText() and Paint.DrawRichText() do not move the current point anymore.
2022-12-28 13:38:31 +01:00
Benoît Minisini
6037ecd1dd The color chooser dialog does not overflow anymore when selecting an alpha component greater or equal than 128.
[DEVELOPMENT ENVIRONMENT]
* BUG: The color chooser dialog does not overflow anymore when selecting an alpha component greater or equal than 128.
* NEW: Use the new 'application' stock icon for the farm dialog.
2022-12-28 12:17:36 +01:00
Benoît Minisini
f7e2a64659 New stock icons.
[GB.FORM]
* NEW: New stock icons.
2022-12-28 12:16:40 +01:00
Benoît Minisini
2fc77cdb98 Some new icons, and some old ones redrawn.
[GB.FORM.STOCK]
* NEW: Some new icons, and some old ones redrawn.

* NEW: Add 128 pixels versions of 'layout' and 'share' icons.
2022-12-28 12:15:54 +01:00
Benoît Minisini
99c523daa3 Image editor: Make the resize / stretch dialog remember the last selected ratio.
[DEVELOPMENT ENVIRONMENT]
* NEW: Image editor: Make the resize / stretch dialog remember the last selected ratio.
2022-12-27 23:17:22 +01:00
Benoît Minisini
2470a4221c TextEditor: Application.MiddleClickPaste is taken into account.
[GB.FORM.EDITOR]
* NEW: TextEditor: Application.MiddleClickPaste is taken into account.
2022-12-27 22:18:39 +01:00