Commit Graph

64918 Commits

Author SHA1 Message Date
Martin
044ee4f0bc LazDebuggerFp: load line info (blue dots) for libraries 2023-05-27 13:19:33 +02:00
Martin
55fcc1e210 FpDebug: tests, fix compile utf8 data 2023-05-27 10:18:41 +02:00
Martin
81b8660cb1 FpDebug: tests, increase timeout 2023-05-27 10:18:41 +02:00
Martin
acfb46b466 FpDebug: test, fix test / ignore load-lib events in count (test for debug loop re-started unexpectedly) 2023-05-27 10:18:41 +02:00
Martin
8ac62b7b82 FpDebug: test, fix compile test-app on linux 2023-05-27 10:18:40 +02:00
mattias
7bc5b63fbb updated makefiles 2023-05-27 02:07:12 +02:00
Martin
3a74b7fa79 FpDebug: tests, increase timeout 2023-05-26 14:05:17 +02:00
Martin
7689b1865f FpDebug: Fix freeing SOLibEventBreakpoint (when process is stopped, do not access thread state) 2023-05-26 14:05:17 +02:00
Martin
26263f5f4e FpDebug: Fix "step out" finished early, in recursive code (end inside current call, at line of recursive call)
- After fixing "IsAtHiddenBreak" (check frame is *outside* ) there is no need for "if IsAtOrOutOfHiddenBreakFrame then"
2023-05-26 14:05:16 +02:00
dsiders
97ba33a66a Docs: LCL/lazcanvas. Adds or updates topics in TLazCanvas for changes in 3685317e, e57f2594, and 889c312c.
* Adds: TLazCanvas.PolygonNonZeroWindingRule
* Updates: TLazCanvas.DoRectangleFill, TLazCanvas.DoPolygonFill
2023-05-26 01:53:44 +01:00
Juha
54086209c6 IDE, Codetools: Fix renaming non-dotted identifiers. Same function RenameIdentifier is used for dotted unit names. Issue #40195. 2023-05-25 13:02:00 +03:00
mattias
52e08f25be updated lpl 2023-05-25 10:51:47 +02:00
DomingoGP
1b6b95b3b5 Jedi code format: new jcfbase.lpk package and command line jcf using that package. 2023-05-25 01:01:43 +02:00
Michaël Van Canneyt
0d549a25b4 * DCCCONFIG must be empty if flag to create config file is not set 2023-05-24 21:48:54 +02:00
wp_xyz
889c312cb5 LCL: Fix compilation error caused by my previous commit e57f2594df 2023-05-24 19:20:20 +02:00
wp_xyz
e57f2594df LCL: Remove partially implemented TLazCanvas.DoPolygonFill in case of fpc/main where it is fully implemented by ancestor class (issue #40286). 2023-05-24 18:58:42 +02:00
wp_xyz
3685317e2b LCL: Fix difference between rectangle fill and border when drawn by TLazCanvas.Rectangle(). 2023-05-24 18:25:32 +02:00
Michael Van Canneyt
6e38c6564c * Allow compilation with fpc trunk 2023-05-24 17:10:20 +02:00
Maxim Ganetsky
c9888fb184 Translations: Slovak language update by LacaK, issue #40281 2023-05-24 15:33:21 +03:00
Michaël Van Canneyt
9b5d74360a * Add CPPDECL modifier 2023-05-24 11:03:13 +02:00
mattias
32f83e8e14 ide: fixed not marking file which filedate changed as modified 2023-05-24 10:37:22 +02:00
dsiders
5d42e2d15d Docs: LazControls/listfilteredit. Updates the TListFilterEdit.ApplyFilterCore topic for changes in d0671c74. Issue #40279. 2023-05-24 03:18:18 +01:00
mattias
da12f4b7d5 codetools: started TCTDirectoryCachePool.FindIncludeFileInDirectory 2023-05-23 22:49:13 +02:00
DomingoGP
a1ba0b7ffe Jedi code format: remove dependencies in JcfSettings. 2023-05-23 21:32:14 +02:00
Juha
e8aeeb4f18 IDE: Unit list dialog improvements (TUseUnitDialog and TViewUnitDialog). Issue #40280, patch by n7800. 2023-05-23 21:04:21 +03:00
Maxim Ganetsky
5c6dac2372 Translations: Slovak language update by LacaK, issue #40281 2023-05-23 16:23:10 +03:00
Maxim Ganetsky
77ff7ff725 Merge branch 'main' into 'main'
gir2pascal: Fixed issue causing generation of duplicate declarations for some opaque types.

See merge request freepascal.org/lazarus/lazarus!168
2023-05-23 13:03:23 +00:00
Abou Al Montacir
b2013f8634 Fixed issue causing generation of duplicate declarations for some opaque types.
There was an issue with the logic for resolving opaque types that misses
some types due to not comparing C types with opaque type name.

This is now fixed and all Gtk3 units now compile without any manual
modification.

Tested with
43cac7495f
using
`./gir2pas/gir2pas -i gir-rs-files/Gtk-3.0.gir -o gtk3-test-enums -e Enum`
2023-05-23 12:57:27 +00:00
mattias
cb5d4b5474 lcl: added missing overload 2023-05-23 14:01:26 +02:00
Michaël Van Canneyt
d834d56b0f * Script to run compiler 2023-05-23 13:58:01 +02:00
Juha
d0671c7447 LazControls: Prevent a ListBox flashing when ListFilterEdit is updated. Move BeginUpdate up. Issue #40279, patch by n7800. 2023-05-23 11:32:55 +03:00
Maxim Ganetsky
62acfd9909 Merge branch 'main' into 'main'
gir2pascal: Fixed generation of unnamed unions handling within objects.

See merge request freepascal.org/lazarus/lazarus!167
2023-05-22 22:28:34 +00:00
Abou Al Montacir
0838345684 Fixed generation of unnamed unions handling within objects.
The generated code was missing an identifier and thus was unable to
compile.

Now we generated a name based on the type and this seems for fix the
issues with Gtk3.gir file.
2023-05-22 22:22:51 +00:00
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