Commit Graph

65281 Commits

Author SHA1 Message Date
Maxim Ganetsky
dd1fd8a028 SynEdit: moved SynPopupMenu resource strings to the correct file 2023-06-21 16:39:02 +03:00
Maxim Ganetsky
a39463e7a6 IDE: regenerated translations and updated Russian translation 2023-06-21 16:25:42 +03:00
Martin
27882fd9cc IDE, SourceEditor: fix scrolling to last line, when top-line hint changes. Ensure last line is fully scrolled in. Issue #37922
- The text-area LinesInWindow must be update before the TopLine is adjusted. Otherwise the editor calculates the wrong Max(TopLine) (prevent scrolling past end of text)
2023-06-21 12:53:15 +02:00
Martin
6e27366e54 IdeDebugger: Fix displaying sets in debug inspector. 2023-06-21 12:50:47 +02:00
giuliano411
3f9f5b154c Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus into main 2023-06-21 12:38:05 +02:00
giuliano411
0b6f778be9 Added LCLIntf dependency for gkt and qt only - required for
CalcNonClientHeight workaround
2023-06-21 12:35:08 +02:00
Martin
0bd9387cd5 IDE, Initial Setup: Improve text description / wording 2023-06-21 12:14:59 +02:00
giuliano411
74b814cd70 Merge branch 'main' of https://gitlab.com/freepascal.org/lazarus/lazarus into main 2023-06-21 12:06:10 +02:00
giuliano411
8687767b7c Restored LCLType dependency for the proper THandle type.
THandle in LCL is a PtrUInt while in Sysutils is a longint.
2023-06-21 12:00:49 +02:00
Martin
ab7ecbaced IDE, Initial Setup: Improve layout for debugger section 2023-06-21 11:56:17 +02:00
Martin
7fe49c4b77 SynEdit: Added comments about different meaning of ShiftMask for keys and mouse. Issue #29458 2023-06-21 01:59:18 +02:00
Martin
a77a04cc4c SynEdit: fix line-change indicator, when adding new lines (without breaking the current line). Issue #30152 2023-06-21 01:44:46 +02:00
Martin
81f407e030 SynEdit: add TSynPopupMenu with default items for editor. Issue #38792 Patch by Joeny Ang "biloky" 2023-06-21 01:17:28 +02:00
Juha
5821b61cdc IDE: Fix minor bugs in SearchResultView. Issue #40334, patch by n7800. 2023-06-20 19:16:53 +03:00
Martin
c5cddde52e FpDebug: allow starting debugger with Step-in/over 2023-06-20 18:09:10 +02:00
Martin
a2d87ebd69 Ide, Debugger: Check if debugger action is available if requested by key-stroke (don't send step-over to a not yet running FpDebug) 2023-06-20 17:29:26 +02:00
Juha
cc7d9e60fb LCL: Simplify TTreeNode after adding support for Enabled property. Issue #40335, patch by n7800. 2023-06-20 11:09:58 +03:00
Juha
444058951b RTTIControls: Update property filters with types from FPC 3.2.2, including UnicodeString. Issue #32545. 2023-06-20 10:13:51 +03:00
dsiders
71dc7b718b Docs: LCL/imglist. Adds or updates TCustomImageList topics for changes in 79f7f1bb.
* Adds: MarkAsChanged, DoAfterUpdateStarted, DoBeforeUpdateEnded
* Updates: BeginUpdate, EndUpdate
2023-06-20 01:24:02 +01:00
Martin
91c776aade FpDebug: Start improve/fix function calls. Detect params of type P(W)Char. / Stricter testing for matching arguments. 2023-06-20 00:34:04 +02:00
Martin
c725c4d8ed GdbMiDebugger: fixed compiling test case / ignore some exceptions 2023-06-20 00:34:03 +02:00
Martin
b7ff978c70 FpDebug: fix mem-leak, if string looks like json, but is not. 2023-06-20 00:34:03 +02:00
Juha
b99f4dc28d IDE: Move adding default initial recent projects out from EnvironmentOptions. 2023-06-19 22:08:57 +03:00
Maxim Ganetsky
967034aff5 IDE: regenerated translations and updated Russian translation 2023-06-19 16:32:38 +03:00
Maxim Ganetsky
79f7f1bbf2 LCL: Made TCustomImageList more extensible. Based on idea from merge request !202.
1. MarkAsChanged method (protected) is added, which sets FChanged to
true.
2. Virtual DoAfterUpdateStarted and DoBeforeUpdateEnded methods
(protected) are added. They are called in first BeginUpdate and last
EndUpdate respectively.
2023-06-19 16:11:00 +03:00
wp_xyz
faf326a95f TAChart: Add project group for all demo projects. 2023-06-19 13:18:58 +02:00
wp_xyz
996af5ea5b TAChart: Avoid generic project names for demos. 2023-06-19 13:18:17 +02:00
Juha
cfc6c8e597 IDE: Add command line option to set DebugLogger.CloseLogFileBetweenWrites. Issue #40330, patch by Dean Mustakinov. 2023-06-19 11:51:35 +03:00
Juha
f41ec673d7 IDE: Add hints for result tabs in search result view. Issue #40327, patch by BrunoK. 2023-06-19 11:18:58 +03:00
Juha
6c09197c78 IDE: Register EnvironmentOptions editor group in IdeInstances. Remove registration through IDEOptionsIntf. 2023-06-19 10:45:09 +03:00
Maxim Ganetsky
20bb97cbc0 Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated PangoCairo binding unit.

See merge request freepascal.org/lazarus/lazarus!211
2023-06-18 23:05:27 +00:00
Abou Al Montacir
2958279f5c GTK3: Updated PangoCairo binding unit.
This unit is not generated when building Gtk-3 units. We generate it
with a separate command (see below).

We constrained the units version to Bullseye (Debian 11.6) shipped
libraries.

They were generated using the following command:
```sh
gir2pas -P Laz -e Set
        -M atk-2.36 \
        -M pango-1.16 \
        -M pangocairo-1.46 \
        -M glib-2.66 \
        -M gio-2.66 \
        -M gmodule-2.66 \
        -M gobject-2.66 \
        -M gtk-3.24 \
        -i /usr/share/gir-1.0/PangoCairo-1.0.gir \
        -o lazarus/lcl/interfaces/gtk3/gtk3bindings
```
2023-06-18 22:59:22 +00:00
Juha
6a0f0204d2 IDE: Assign the temporary InputHistories copy in IdeDebugger. (A hack) 2023-06-19 01:01:45 +03:00
dsiders
c76c213190 Docs: LCL, LazUtils. Fixes invalid See Also links. 2023-06-18 20:53:38 +01:00
Maxim Ganetsky
7c93bd2f4a Merge branch 'gir2pas' into 'main'
git2pas: Removed unneeded conditional compilation flag.

See merge request freepascal.org/lazarus/lazarus!210
2023-06-18 18:51:22 +00:00
Abou Al Montacir
682b34c021 GTK3: Updated binding units code to support building on Windows.
Added DLL name and entry point name to the external clause.

We constrained the units version to Bullseye (Debian 11.6) shipped
libraries.

They were generated using le following command:
```sh
gir2pas -P Laz -e Set -i /usr/share/gir-1.0/Gtk-3.0.gir -o gtk3-test-2 \
        -M atk-2.36 \
        -M pango-1.16 \
        -M pangocairo-1.46 \
        -M glib-2.66 \
        -M gio-2.66 \
        -M gmodule-2.66 \
        -M gobject-2.66 \
        -M gtk-3.24
```

Some files are still modified manually.
2023-06-18 20:18:00 +02:00
Abou Al Montacir
25b8bc2160 git2pas: Removed unneeded conditional compilation flag.
This allows having the same code compiled for both Windows and Linux.
2023-06-18 20:15:15 +02:00
Maxim Ganetsky
127e7afbec Merge branch 'gir2pas' into 'main'
gir2pas: Fixed generation of types based on int32 standard C type.

See merge request freepascal.org/lazarus/lazarus!209
2023-06-18 16:29:28 +00:00
Abou Al Montacir
8adfc6f158 GTK3: Updated FreeType auto generated bindings after gir2pas changes.
No manual change is needed for this library.
2023-06-18 16:24:01 +00:00
Abou Al Montacir
bcf79bffc1 gir2pas: Fixed generation of types based on int32 standard C type.
This fixes code generated for FreeType library.
Now FreeType bindings generated code does not need any manual change
to be used in Lazarus.
2023-06-18 16:24:01 +00:00
Juha
c339fbb58a Remove IdeConfig dependency from IdeIntf package. It was wrong license-wise (LGPL-GPL). Make a temp copy of InputHistory. 2023-06-18 18:37:02 +03:00
rich2014
66922b7a2f Cocoa/TComboBox: AutoComplete supported when Dropped Down 2023-06-18 23:01:54 +08:00
Martin
92b6ded394 Fix Compile / missing semicolon 2023-06-18 16:50:21 +02:00
Martin
ee5d8465bb Fix compiling SynEdit 2023-06-18 16:47:53 +02:00
Maxim Ganetsky
4c1485ee59 Merge branch 'gir2pas' into 'main'
gir2pas: Enabled passing max version CLO multiple times.

See merge request freepascal.org/lazarus/lazarus!208
2023-06-18 14:35:48 +00:00
Abou Al Montacir
f184921f26 GTK3: Removed manually defined types in libcairo generated unit.
This implied changing GTK3 LCL glue code to use the right type names.
2023-06-18 14:30:11 +00:00
Abou Al Montacir
9247249007 GTK3: Updated auto generated units after adding max version to gir2pas.
We constrained the units version to Bullseye (Debian 11.6) shipped
libraries.

They were generated using le following command:
```sh
gir2pas -P Laz -e Set -i /usr/share/gir-1.0/Gtk-3.0.gir -o gtk3-test-2 \
        -M atk-2.36 \
        -M pango-1.16 \
        -M pangocairo-1.46 \
        -M glib-2.66 \
        -M gtk-3.24
```

Some files are still modified manually.

Some changes ware needed in `gtk3procs.pas` to define legacy macro
`PANGO_PIXELS` and to remove compilation warning.
2023-06-18 14:30:11 +00:00
Abou Al Montacir
ed310974db gir2pas: Enabled passing max version CLO multiple times.
This allows to constraint each library separately, as for example:
```sh
gir2pas -e Set -i /usr/share/gir-1.0/Gtk-3.0.gir -o gtk3-test \
        -M atk-2.36 \
        -M pango-1.16 \
        -M pangocairo-1.46 \
        -M glib-2.66 \
        -M gtk-3.24
```
2023-06-18 14:30:11 +00:00
Juha
0ff44ca90a Revert some of the earlier LCLProc commit. Fix compilation on Windows. 2023-06-18 17:29:03 +03:00
Martin
aa389e7e47 FpDebug: fix constant char 'a' as array index. Amend Precedence for [n..m] 2023-06-18 16:03:12 +02:00