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
Abou Al Montacir
7ea695cddc
GTK3: Updated GObject2 unit generated with new gir2pas version.
...
This change migrates remaining GObject2 bit fields to Pascal sets.
This required a code change in `gtk3cellrenderes.pas` as integers could
not be cast into 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 15:40:08 +00:00
wp_xyz
3db7adb945
Documentation: Clarify the meaning of "physical" in grids' OffsetToColRow ( https://forum.lazarus.freepascal.org/index.php/topic,63694.msg482898 )
2023-06-17 17:13:41 +02:00
rich2014
d15790c601
Cocoa: simplified TCocoaWSCustomComboBox.GetDroppedDown()
2023-06-17 19:10:15 +08:00
rich2014
1bb6b52d68
Cocoa/TComboBox: AutoDropDown supported in TCocoaWSCustomComboBox
2023-06-17 18:54:35 +08:00
dsiders
cef2a43d9e
Docs: LazUtils/lazconfigstorage. Adds content for topics added in 67c1c587
.
2023-06-16 16:37:19 +01:00
dsiders
71ba78cc48
Docs: LCL/stdctrls. Removes completed TODOs.
2023-06-16 16:33:39 +01:00
rich2014
280c57e91d
LCL/TCustomComboBox: replace cbactEnabled with AutoComplete
2023-06-16 22:07:47 +08:00
rich2014
3eccd94680
LCL/TCustomComboBox: refactor in TCustomComboBox.MatchListItem()
2023-06-16 21:58:16 +08:00
wp_xyz
ca2b76eaf5
virtualtreeview: Fix "OffsetRect deprecated" message. Less hints and warnings. Fix compilation of "Advanced" demo.
2023-06-16 14:22:20 +02:00
dsiders
11dcf15205
Docs: LazControls/treefilteredit. Adds TTreeFilterEdit.EditKeyDown topic for changes in 87fe0308
.
2023-06-16 06:23:23 +01:00
dsiders
0e922369c0
Docs: LCL/comctrls. Adds and updates topics for changes in 87fe0308
.
...
* Adds:
* TCustomTreeView.MoveLeft
* TCustomTreeView.MoveRight
* TCustomTreeView.MoveExpand
* TCustomTreeView.MoveCollapse
* Updates:
* TCustomTreeView.KeyDown
2023-06-16 06:22:51 +01:00
wp_xyz
50a68c5dc8
TAChart, TurboPower_IPro: Fix "OffsetRect deprecated" message.
2023-06-16 01:50:13 +02:00
Juha
87fe030800
LazControls, LCL: Add shortcuts to TreeFilterEdit to work with TreeView. Issue #40321 , patch by n7800.
2023-06-16 02:01:21 +03:00
dsiders
29293b283c
Docs: LCL,LazUtils/various. Adds and updates topics for changes in b0a3e49d
.
2023-06-15 18:54:18 +01:00
rich2014
055ae4d900
LCL/TCustomComboBox: fix CaseSensitive in MatchListItem()
2023-06-16 00:01:16 +08:00
Juha
b0a3e49dc0
Allow query of LCLWidgetTypeName without LCL. Turn BuildLCLWidgetType into const and fix comment.
2023-06-15 16:46:47 +03:00
rich2014
40e7dd7854
Cocoa: Cursor: compatible with system controls that change the cursor by themselves, such as NSTextField
2023-06-15 21:41:29 +08:00
dsiders
c3e5af4513
Docs: LCL/LazUtils/various. Removes deprecated topics and modules for changes in 74446557
.
2023-06-15 03:34:52 +01:00
Maxim Ganetsky
b949b1d54f
LCLTranslator: clean up
2023-06-15 03:04:09 +03:00
Juha
74446557f6
Remove old deprecated functions and units.
2023-06-15 02:35:52 +03:00
dsiders
37b459f0c5
Docs: LazUtils/translations. Updates topic content (various).
2023-06-14 22:52:09 +01:00