Maxim Ganetsky
9c4aa81054
Merge branch 'main' into 'main'
...
git2pascal: Refactored code to avoid duplication.
See merge request freepascal.org/lazarus/lazarus!162
2023-05-20 13:38:46 +00:00
Abou Al Montacir
194cc1a4fc
git2pascal: Refactored code to avoid duplication.
...
Inserting `external` directive for `C` identifiers was done manually.
This commit adds a method to add such a directive for any identifier.
This helps keeping inserted code consistent and if a change is to be
done in the future, we do it at one place only.
2023-05-20 13:32:33 +00:00
Bart
d405afa039
LCL: in TRadioGroup and TCheckGroup don't set the name for runtime created radiobuttons/checkboxes.
...
They are not needed and can give rise to unexpected crashes if the name already exists.
2023-05-20 14:50:19 +02:00
Bart
5137735655
LCL: fix crash when using freeing a component of a TRadioGroup or TCheckGroup. Issue #40261 .
2023-05-20 14:42:36 +02:00
Juha
5c1be9de89
Support compiling most of Lazarus + its components with -Sy option.
2023-05-20 12:51:35 +03:00
Juha
21ea45d415
Support compiling some Lazarus code with -Sy option. Issue #40263 , patch by Arioch The.
2023-05-20 12:51:35 +03:00
Jesus Reyes A
10da471513
Revert "LazReport: updated bullets.res with a png file instead of a bmp file"
...
This reverts commit 2543e7340d
.
2023-05-20 03:25:15 -06:00
Juha
7cf0ba34a7
IDE: Do not save new empty project before rebuilding Lazarus. Issue #40269 .
2023-05-20 11:37:55 +03:00
dsiders
42d6b6ea4e
Docs: LCL/menus. Fixes an invalid See Also link.
2023-05-20 05:57:50 +01:00
Jesus Reyes A
2543e7340d
LazReport: updated bullets.res with a png file instead of a bmp file
2023-05-19 18:19:08 -06:00
Maxim Ganetsky
2cc65c6157
IDEDebugger: updated Russian translation
2023-05-20 02:05:34 +03:00
Maxim Ganetsky
1fe3a8a931
FPDebug: updated Russian translation
2023-05-20 02:05:12 +03:00
dsiders
54e1097a72
Docs: LCL/graphics. Adds bsImage and bsPattern topics for changes in e8549a68
.
2023-05-19 21:38:13 +01:00
Martin
ee82f625c3
Debugger: Inspect-Dialog more info for methods.
2023-05-19 19:47:58 +02:00
Maxim Ganetsky
f14afcf1a4
Merge branch 'main' into 'main'
...
gir2pascal: Used consistent naming of MsWindows directive.
See merge request freepascal.org/lazarus/lazarus!161
2023-05-19 17:35:15 +00:00
Abou Al Montacir
5c6f02b8ee
gir2pascal: Used consistent naming of MsWindows directive.
...
Compilation directive `MsWindows`is inserted in 3 different places with
3 different case mixing.
Also white spaces around it are some times added and sometimes not.
This commit fixes all to a single convention.
2023-05-19 18:58:31 +02:00
Martin
1b03a8aff4
FpDebug+Lldb: Allow to deref constant numbers, and show a memory-dump. Issue #36836
2023-05-19 18:21:03 +02:00
Martin
69564087ab
FpDebug: Allow to deref constant numbers, and show a memory-dump. Issue #36836
2023-05-19 18:13:41 +02:00
Maxim Ganetsky
e8549a6815
LCL: Add to graphics.pp missing aliases for TFPBrushStyle enumeration values in FPCanvas. Patch by Don Siders, issue #40271 .
2023-05-19 18:42:20 +03:00
Martin
e3a4b57951
SynEdit: Pas-Highlighter, double-quotes, fix detecting quotes if they are the only char in a line. Issue from merge request !120
2023-05-19 15:02:24 +02:00
wp_xyz
8235520f00
Examples: Add description to special features in the "pen_brush" project. Extend demo for background of text output on canvas.
2023-05-18 16:11:52 +02:00
Maxim Ganetsky
cc371f3e72
Merge branch 'FPC-39988' into 'main'
...
gir2pascal: Generate C enums based pascal type selected by CLO, issue #39988 .
See merge request freepascal.org/lazarus/lazarus!160
2023-05-18 13:46:35 +00:00
Abou Al Montacir
d1f64050ea
gir2pascal: Generate C enums based pascal type selected by CLO, issue #39988 .
...
Added a new command line option (CLO) `-e/--declare-enums-as` that
selects the way how to define C enums and bit fields.
Added support for 4 options and a 5th to be implemented later.
1. `IntConst`: No type, just use integer non typed constants. This was
already implemented, but not easily selected at CLI.
2. `TypedIntConst`: Use non strict type aliases and typed constants.
This was already implemented, selected by default in the code.
3. `IntAliasConst`: Use strict type aliases and non typed constants.
This was newly added.
4. `Enum`: Use Pascal enumeration type for both C enums and bit fields.
This was newly added.
5. `Set`: Use Pascal enumeration type for both C enums and Pascal sets
for bit fields. This is not yet added.
2023-05-18 10:44:10 +02:00
Juha
1a9142c9e2
IDE: Save also Macro editors with "Save All" command. Issue #40268 , draft by Domingo Galmés.
2023-05-18 10:02:23 +03:00
wp_xyz
867938ca00
Examples: Fix usage of custom pens and brushes in "pen_brush" project
2023-05-18 01:15:14 +02:00
dsiders
c70820f2e1
Docs: LCL/menus. Updates content in TMenuItem topics, including:
...
* TMenuItem.AutoCheck
* TMenuItem.Checked
* TMenuItem.ImageIndex
2023-05-17 21:19:05 +01:00
Juha
278e4a8cb4
IDE: Fix editor macros when EditorMacroScript Package is installed. Issue #40259 , patch by Domingo Galmés.
2023-05-17 19:54:02 +03:00
Juha
6a69340a83
IDE: Turn MacroListViewer into a proper IDE window. Prevent crash when switching to a project with less macros.
2023-05-17 19:22:45 +03:00
Maxim Ganetsky
49aae25741
IDE: fixed i18n of some items in Messages pop-up menu
2023-05-17 01:54:57 +03:00
dsiders
ee7c115ab3
Docs: LCL/comctrls. Adds or updates TCustomTabControl topics for changes in f7935691
.
...
* Adds TCustomTabControl.TabHeightIsStored and TCustomTabControl.TabWidthIsStored.
* Updates TCustomTabControl.DoAutoAdjustLayout, TCustomTabControl.TabHeight, TCustomTabControl.TabWidth.
2023-05-16 23:35:27 +01:00
dsiders
c33f97b23f
Docs: LCL/editbtn. Fixes invalid See Also link in TCustomControlFilterEdit.InternalSetFilter.
2023-05-16 23:35:06 +01:00
wp_xyz
f793569190
LCL: Fix high-dpi scaling of the TabHeight and TabWidth properties of TPageControl and TTabControl
2023-05-16 22:28:12 +02:00
Juha
0991e39f7d
Codetools: Fix renaming dotted unit names + many functions dealing with dotted indentifiers. Issue #40195 , patch by CCRDude.
2023-05-16 20:11:54 +03:00
dsiders
5e9e89a57b
Docs: LCL/lcltaskdialog. Updates topic content for changes in 6de7a578
. Issue #40265 .
2023-05-16 18:00:24 +01:00
Juha
6de7a578ac
LCL: Fix variable type used as a pointer parameter for TaskDialogIndirect. Issue #40265 , noted by Arioch The.
2023-05-16 15:08:28 +03:00
dsiders
4f0441eebb
Docs: LazControls/various. Updates filtered edit controls for changes in d28b530b
. Issue #40257 .
2023-05-16 05:50:16 +01:00
dsiders
8fc5108e04
Docs: LCL/editbtn. Updates TCustomControlFilterEdit topics for changes in d28b530b
. Issue #40257 .
...
* Removes TCustomControlFilterEdit.ActivateFilter.
* Adds TCustomControlFilterEdit.InternalSetFilter.
* Updates TCustomControlFilterEdit.EditChange, TCustomControlFilterEdit.Filter, and TCustomControlFilterEdit.FilterLowercase.
2023-05-16 05:49:48 +01:00
Juha
2a16d0338e
Codetools: Improve renaming dotted unit names. Issue #40195 .
2023-05-16 02:47:07 +03:00
Juha
d28b530b59
LazControls: Restore fFilter variable for FilterEdit controls. Issue #40257 .
2023-05-16 02:28:16 +03:00
Maxim Ganetsky
745e6c5db9
Delphi plugin: enabled i18n, unified some captions, added Russian translation
2023-05-16 01:36:39 +03:00
Michaël Van Canneyt
c839f41e37
* Move flag to generate config file to project settings
2023-05-15 21:16:22 +02:00
Juha
34a99c8781
LazControls: Tweak TTreeFilterEdit. Issue #40257 .
2023-05-15 20:59:47 +03:00
Maxim Ganetsky
c862941d4e
IDE: regenerated translations and updated Russian translation
2023-05-15 17:36:33 +03:00
dsiders
e2f724b683
Docs: LCL/comctrls. Adds TTabControl.Canvas topic for changes in 45519ddb
. Issue #22780 .
...
* Removes extraneous whitespace characters in various topics.
2023-05-15 15:32:53 +01:00
Maxim Ganetsky
5f13c97542
Merge branch 'lcl/cocoa' into 'main'
...
Lcl/Cocoa: three Controls improved
See merge request freepascal.org/lazarus/lazarus!159
2023-05-15 13:04:52 +00:00
rich2014
8abb468491
Upd: Cocoa: Left/Right Arrow improved in TabControl
2023-05-15 19:52:56 +08:00
rich2014
b64bc6bef8
Upd: Cocoa: improve line-break removed in TextField
2023-05-15 19:51:09 +08:00
rich2014
80614da8b9
Fix: Cocoa: add missing functions in TCocoaWSCustomComboBox
2023-05-15 19:47:34 +08:00
Željan Rikalo
45519ddb9f
Win32: public Canvas property for TTabControl. Patch by Marco Van de Voort. issue #22780
2023-05-15 12:52:14 +02:00
Juha
42bd508311
IDE: Add compiler option -Sy to project settings. Remove obsolete option -St. Issue #40262 .
2023-05-15 11:01:17 +03:00