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
wp_xyz
a839afef06
Images: Show Roland Hahn's website in the general-purpose images html page.
2023-06-18 15:27:26 +02:00
Juha
7287cd8a11
LazBuild: Do not require OnRegisterGroup to be assigned. Not needed by LazBuild.
2023-06-18 15:48:59 +03:00
Juha
e045ba01d2
Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units.
2023-06-18 14:57:06 +03:00
Martin
4f1d9530d5
Codetool: fix endless loop in "Find block begin", when already at start of file. Issue #40326
2023-06-18 10:37:55 +02:00
Martin
ac18b36c00
IDE: color settings for "plain text" and "none"
2023-06-18 10:24:32 +02:00
Martin
77365e62a1
IDE: EditorOptions, fixed loading entry with selected scheme, but no changes (if path/ColorScheme" is set, but no values changed for the path then Version is not set)
2023-06-18 10:24:01 +02:00
Maxim Ganetsky
ca41107942
Merge branch 'GtkPartialMerge' into 'main'
...
GTK3: Updated Gtk3 units generated with new gir2pas version.
See merge request freepascal.org/lazarus/lazarus!207
2023-06-18 01:05:36 +00:00
Abou Al Montacir
621a2e479c
GTK3: Updated Gtk3 units generated with new gir2pas version.
...
This change fixes translation of enums and bit fields after recent fin
in `gir2pas` tool.
This required a code change in `gtk3cobject.inc` as some bit fields were
treated as enums while they are now treated as sets.
Units were generated using the following command on Debian Bookworm (12)
```sh
gir2pas -P Laz -e Set -i /usr/share/gir-1.0/Gtk-3.0.gir -o gtk3bindings
```
Then, some functions were removed manually to enable support of Debian
Bullseye (11.6).
2023-06-17 23:11:44 +02:00
Maxim Ganetsky
c709d94d65
Merge branch 'gir2pas' into 'main'
...
gir2pas: Fixed generation of enumeration types other than bit fields.
See merge request freepascal.org/lazarus/lazarus!206
2023-06-17 20:12:12 +00:00
Abou Al Montacir
d94e263cdc
gir2pas: Fixed generation of enumeration types other than bit fields.
...
When enum types is set as `goEnumAsSet` by user, we need to add
`goEnumAsEnum` also in order to correctly handle non bit fields enums.
This should be done at the very beginning, upon CLO handling, otherwise
some enums are generated as integer constants.
2023-06-17 21:57:38 +02:00
Abou Al Montacir
ec6cbdbee7
gir2pas: Fixed make file.
...
Create units output directory upon build.
Remove output directory recursively.
2023-06-17 21:57:38 +02:00
Maxim Ganetsky
a1f4b51baf
Merge branch 'Gtk3FixLineTo' into 'main'
...
gtk3: Fixed LineTo implementation. Closes #40323 .
See merge request freepascal.org/lazarus/lazarus!203
2023-06-17 18:23:04 +00:00
Abou Al Montacir
395a00614e
gtk3: Fixed LineTo implementation. Closes #40323 .
...
The function `cairo_stroke` causes the current path to be cleared from
the cairo context. Thus we loose the current position.
We replace is with `cairo_stroke_preserve` in order to preserves the
path within the cairo context.
2023-06-17 18:18:56 +02:00
Maxim Ganetsky
7d438f07af
Merge branch 'GlGtk3' into 'main'
...
glgtk3: Fixed implementation of LBackingScaleFactor. Closes #40315 .
See merge request freepascal.org/lazarus/lazarus!205
2023-06-17 16:15:07 +00:00
Abou Al Montacir
f39c424d98
glgtk3: Fixed implementation of LBackingScaleFactor. Closes #40315 .
...
Fixed implementation according to patch from Anton Kavalenka.
2023-06-17 15:51:49 +00:00
Maxim Ganetsky
b618159b05
Merge branch 'GtkPartialMerge' into 'main'
...
GTK3: Updated GObject2 unit generated with new gir2pas version.
See merge request freepascal.org/lazarus/lazarus!204
2023-06-17 15:45:36 +00:00