mattias
ddfd3414de
codetools: TCTStarDirectoryCache.FindFile
2023-05-21 23:49:54 +02:00
Juha
106dd880f6
IDE: Rename the new project option -Sy from PointerTypeCheck to TypedAddress which is more descriptive.
2023-05-21 21:58:21 +03:00
mattias
f18e10ec0e
IDE: InstallPackages: add all src base packages
2023-05-21 20:48:30 +02:00
wp_xyz
e9cf352190
TAChart: Move TBasicPointSeries.PrepareGraphPoints to protected section and mark it as "virtual". ( https://forum.lazarus.freepascal.org/index.php/topic,63421.0.html )
2023-05-21 20:15:08 +02:00
Juha
7cb4c0928a
IDE: Simplify type definitions in EditorOptions. Also satisfies -Sy checks.
2023-05-21 20:18:40 +03:00
Maxim Ganetsky
fa66089578
Merge branch 'main' into 'main'
...
gir2pascal: Created a dedicated section for declaring enumeration types, issue #39988 .
See merge request freepascal.org/lazarus/lazarus!163
2023-05-21 15:56:31 +00:00
Abou Al Montacir
08ee4a27b4
gir2pascal: Created a dedicated section for declaring enumeration types, issue #FP39988.
...
This section is placed just after the constants section in order to
avoid declaration of function parameters and variables of enumeration
types that are not yet declared.
The issue was hidden in the typed constants implementation because the
constants section is placed at the beginning of the unit. This is not
true anymore and thus we need a dedicated section.
2023-05-21 15:50:48 +00:00
Maxim Ganetsky
c921b72be8
Merge branch 'lcl/cocoa/form' into 'main'
...
FIX #39679 #39763 : Cocoa Form Issue with anchordockingdsgn
See merge request freepascal.org/lazarus/lazarus!164
2023-05-21 15:45:07 +00:00
Juha
dc2902bd6e
IDE, IdeIntf: Add multi-word search for Object inspector. Refactor and reuse code. Issue #40270 , patch by n7800.
2023-05-21 18:19:55 +03:00
rich2014
2b322ee09b
Fix: Cocoa: zero size of Form creation issue in TCocoaWSCustomForm.CreateHandle()
2023-05-21 15:18:09 +00:00
rich2014
fcdf21cd8f
Fix: Cocoa: zero size of NSView issue in LCLViewExtension.lclSetFrame()
2023-05-21 15:18:09 +00:00
rich2014
6220d40d21
Fix: Cocoa: SW_MAXIMIZE issue in TCocoaWidgetSet.ShowWindow()
2023-05-21 15:18:09 +00:00
Juha
becbb68a0d
FpDebug: Use {$PUSH} {$T-} ... {$POP} instead of Pointer() typacasts in some places.
2023-05-21 18:16:44 +03:00
Juha
45d42dfd3d
LCL: Remove obsolete ifdefs from LCLVersion. Issue #40275 , patch by Alexey Torgashin.
2023-05-21 12:32:48 +03:00
mattias
b027994d7d
codetools: started find unit in star directory
2023-05-21 10:11:58 +02:00
Juha
ba34e4cb55
LazControls: Make TListFilterEdit update TListBox scrollbar with all widgetsets. Issue #40273 , fix by n7800.
2023-05-21 10:13:33 +03:00
Juha
e9a9bd4f1d
LCL-Win32: Cleanup.
2023-05-21 09:02:45 +03:00
JuhaManninen
dd362403a3
Support compiling on Win32 widgetset with -Sy option.
2023-05-21 08:39:30 +03:00
Juha
db2bca3949
Support compiling more of Lazarus + its components with -Sy option.
2023-05-21 01:32:42 +03:00
dsiders
dad81015b0
Docs: LCL/extctrls. Adds Notification topics in TCustomCheckGroup, TCustomRadioGroup for changes in d405afa0
.
...
* Fixes spelling errors: checkbox -> check box.
2023-05-20 20:54:15 +01:00
dsiders
f377516bef
Docs: LCL/graphics. Various updates and corrections.
...
* Fixes invalid version admonitions (uses Lazarus version instead of FPC version).
* Fixes grammar, questionable wording in various topics.
* Updates content for Progress topics in TGraphic, TPicture.
* Updates TProgressEvent topic, and removes stand-alone Progress topic.
* Restores TODOs in commented See Also links.
* Restores whitespace between topics to improve readability.
2023-05-20 20:53:55 +01:00
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