Commit graph

10839 commits

Author SHA1 Message Date
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
Benoît Minisini
fcef1adabf Application.MiddleClickPaste is a new property that tells if middle click should paste.
[GB.GTK]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.
  The global GTK+ settings is taken into account at application startup.

[GB.GTK3]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.
  The global GTK+ settings is taken into account at application startup.

[GB.QT4]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.

[GB.QT5]
* NEW: Application.MiddleClickPaste is a new property that tells if middle click should paste.
2022-12-27 22:15:50 +01:00
Benoît Minisini
5f74a100e8 Project tree: Do not crash anymore when opening the 'Open with' popup twice.
[DEVELOPMENT ENVIRONMENT]
* BUG: Project tree: Do not crash anymore when opening the 'Open with' popup twice.
2022-12-24 14:09:48 +01:00
Benoît Minisini
dd446ef7b6 DesktopFile: Fix FromMime() method that searched mime information files incorrectly.
[GB.DESKTOP]
* BUG: DesktopFile: Fix FromMime() method that searched mime information files incorrectly.
2022-12-24 14:09:13 +01:00
Benoît Minisini
b2e95aa882 Prevent Add(), Remove() and Resize() methods on read-only arrays.
[INTERPRETER]
* BUG: Prevent Add(), Remove() and Resize() methods on read-only arrays.
2022-12-24 14:07:03 +01:00
Benoît Minisini
a06edadf8c Update financial support file.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update financial support file.
2022-12-24 13:27:56 +01:00
Benoît Minisini
52a28263fe The preview size limit does not apply to text files and video files.
[GB.FORM]
* NEW: FileView: The preview size limit does not apply to text files and video files.
* BUG: FileView: Fix drawing of video files preview.
2022-12-24 13:03:14 +01:00
Benoît Minisini
b67580b016 Snow starts to fall one day before X-Mas now.
[DEVELOPMENT ENVIRONMENT]
* NEW: Snow starts to fall one day before X-Mas now.
2022-12-23 23:52:57 +01:00
Benoît Minisini
529360675e Key.IsPressed() is a new method that tells if a specific key is pressed. An optional argument allows to ignore the keyboard layout.
[GB.SDL2]
* NEW: Key.IsPressed() is a new method that tells if a specific key is pressed. An optional argument allows to ignore the keyboard layout.
2022-12-23 23:46:05 +01:00
Benoît Minisini
a7e49779e5 FileView: Add preview of video files if 'ffmpeg' is installed.
[GB.FORM]
* NEW: FileView: Add preview of video files if 'ffmpeg' is installed.
* OPT: FileView: Don't hash the contents of the file for preview. Just hash the path and the last modification time.
2022-12-23 15:42:56 +01:00
Benoît Minisini
98fb2a0fc7 Do not check for a project directory when listing archive files.
[ARCHIVER]
* BUG: Do not check for a project directory when listing archive files.
2022-12-23 13:51:20 +01:00
Benoît Minisini
77fb811736 FileView: Add preview of text files and PDF files.
[GB.FORM]
* NEW: FileView: Add preview of text files and PDF files.
2022-12-23 13:47:28 +01:00
Benoît Minisini
d285d7c55a FileView: Display icons for XDG user directories having no explicit '.directory' desktop file.
[GB.FORM]
* NEW: FileView: Display icons for XDG user directories having no explicit '.directory' desktop file.
* NEW: Add 'folder-template' and 'folder-share' stock icons.
2022-12-23 12:46:14 +01:00
Benoît Minisini
ffe786de77 Add 'folder-share' 'folder-template' icons.
[GB.FORM.STOCK]
* NEW: Add 'folder-share' 'folder-template' icons.
* NEW: Add 128 pixels versions of 'layout' and 'share' icons.
2022-12-23 12:44:38 +01:00
Benoît Minisini
21e72303ab Add the '-l' option to list all files included in an archive.
[ARCHIVER]
* NEW: Add the '-l' option to list all files included in an archive.
2022-12-23 12:31:17 +01:00
Benoît Minisini
064c9fb24e Disable all actions that could modify the source code while debugging. Replace debugger tab by little buttons to save vertical space.
[DEVELOPMENT ENVIRONMENT]
* NEW: Update French translation.
* NEW: Debugger: Switching between project tree and debugger is now done with a little button instead of tabs, to save vertical space.
* BUG: Disable all actions that could modify the source code while debugging.
2022-12-22 04:30:55 +01:00