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
dsiders
1277027378
Docs: LCL/stdctrls. Adds and updates topics for changes in 6d9db64d
, 062bacda
.
...
* Updates: TCustomComboBox.InitializeWnd, TCustomComboBox.RealSetText
* Adds: TCustomComboBox.MatchListItem
2023-06-14 22:51:20 +01:00
dsiders
6684b9862e
Docs: LCL/forms. Removes gettext unit reference for changes in e763d920
.
2023-06-14 22:49:51 +01:00
Juha
80a2091176
LazBuild: Fix AV, remove EnvironmentGuiOpts dependency from compiler.pp. Issue #40318 .
2023-06-15 00:36:57 +03:00
zeljan1
08283ae760
Qt6: fixed main menu under MacOS.
2023-06-14 19:50:52 +02:00
rich2014
85afe93ad6
Cocoa: CaseSensitive supported in TCocoaComboBox.comboBox_indexOfItemWithStringValue()
2023-06-14 23:46:05 +08:00
rich2014
6d9db64d24
LCL/TCustomComboBox: CaseSensitive supported in RealSetText()
2023-06-14 23:43:42 +08:00
rich2014
062bacda7a
LCL/TCustomComboBox: Sorted supported (Cocoa first)
2023-06-14 22:39:47 +08:00
rich2014
2ce8c12ed9
Cocoa: fix AutoComplete in TCocoaWSCustomComboBox: inputting process
2023-06-14 22:23:32 +08:00
balazs
ad4e6a3c23
Opkman: Add Lazarus 2.4 to supported version list
2023-06-13 23:16:13 +03:00
Željan Rikalo
03a4881ad3
Qt5: added forgotten QGuiApplication::applicationState() to the bindings and qt56.pas
2023-06-13 21:39:56 +02:00
Martin
e040e5626d
IDE: Fix EditorOptions (Export Html), the index depended on the OS IFDEF
2023-06-13 20:34:35 +02:00
Martin
6a84f7039d
SynEdit: Fix TSynAutoComplete. Issue #30187
...
- ecDeleteLastChar would not work for utf-8,
- and also not if it did "reverse tab" based on gaps of the line above (Indenter).
- It also wrongly assumed that there would always be an indent and it would be of spaces and spaces only.
2023-06-13 20:17:17 +02:00