Commit Graph

65220 Commits

Author SHA1 Message Date
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
Maxim Ganetsky
e763d920b7 IDE, LCL: removed stale GetText unit uses 2023-06-13 20:38:32 +03:00
Maxim Ganetsky
60e9f2b984 IDE: added system preferred language info to About IDE info dialog 2023-06-13 20:23:14 +03:00
Maxim Ganetsky
d0b5fb05f1 SynEdit: updated Russian translation 2023-06-13 19:57:32 +03:00
Maxim Ganetsky
c73a9b5cf9 IDE: regenerated translations and updated Russian translation 2023-06-13 19:51:20 +03:00
Martin
d0079393d1 SynEdit: Sql-HL, fixed tokens for FireBird 4.0 Issue #38998 2023-06-13 16:00:07 +02:00
Martin
1059846d0d SynEdit: Pas-HL, more optional highlight PasDoc tokens in comments. Issue #19711 2023-06-13 15:50:34 +02:00
Martin
ea5c133400 SynEdit: Pas-HL, optional highlight PasDoc tokens in comments. Issue #19711 2023-06-13 15:14:41 +02:00
Martin
06bb1297c7 IDE: Export Html, option to use background color. Part of issue #40088 2023-06-13 11:50:21 +02:00
Martin
b0e5787dce IDE: Export Html, option to use background color. Part of issue #40088 2023-06-13 11:43:36 +02:00
Juha
60178cd372 MouseAndKeyInput: Support Cocoa. Based on patch by Sammarco Francesco. 2023-06-13 10:12:08 +03:00
Martin
bd2b087fa7 SourceEditorIntf: New methods to add custom panels to the SourceEditor-Window. 2023-06-13 09:05:07 +02:00
dsiders
b9c9bfec05 Docs: LazUtils/translations. Fixes typos and awkward wording in topics. 2023-06-13 02:15:07 +01:00