Bart
0d14433fe7
LCL: remove redundant assignment in LCLSendActivateMsg(). Reported on forum by lagprogramming.
2023-05-22 22:18:30 +02:00
Maxim Ganetsky
6f4b900b40
Merge branch 'lcl/cocoa/tabcontrol' into 'main'
...
Lcl/Cocoa/TabControl: Tabs dragdrop supported
See merge request freepascal.org/lazarus/lazarus!166
2023-05-22 13:08:23 +00:00
rich2014
590019f083
Lcl/Cocoa/TabControl: refactoring to remove duplicate code
2023-05-22 19:03:30 +08:00
rich2014
bf6d81c33d
Lcl/Cocoa/TabControl: Tabs dragdrop supported
2023-05-22 19:00:24 +08:00
JuhaManninen
fee3b05a06
Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus
2023-05-22 01:40:57 +03:00
JuhaManninen
a703d0c00f
LCL-Win32: Fix an error in TWin32WSOpenDialog.GetFileName caused by an earlier commit.
2023-05-22 01:40:10 +03:00
Maxim Ganetsky
8d51f97385
Merge branch 'main' into 'main'
...
gir2pascal: Generate pointer types for all declared types.
See merge request freepascal.org/lazarus/lazarus!165
2023-05-21 22:15:11 +00:00
Abou Al Montacir
8ebe4628c8
Generate pointer types for all declared types.
...
If the type is not used within the unit it was declared in, then pointer
types will not generated. This causes an error when a pointer type is
used by a unit using it.
An example is a compilation error on `Pango1` that uses `Glib2` because
the type `Pgconstpointer` was not defined.
The new code generates a lost of pointer types, but at least it allows
get a code that compiles fine.
2023-05-21 22:09:42 +00:00
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