Commit Graph

65060 Commits

Author SHA1 Message Date
Abou Al Montacir
4a08792d45 GTK3: Migrate TGtkCellRendererState to enumeration set.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkCellRendererState` is
defined as an enumeration set type. This commit fixes those errors.

Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
2023-05-30 21:17:01 +02:00
Maxim Ganetsky
be435a2d20 Merge branch 'main' into 'main'
GTK3: Migrate TGtkResponseType to enumeration.

See merge request freepascal.org/lazarus/lazarus!179
2023-05-30 15:56:30 +00:00
Abou Al Montacir
54979c4ae2 GTK3: Migrate TGtkResponseType to enumeration.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkResponseType` is defined
as an enumeration type. This commit fixes those errors.
2023-05-30 17:04:29 +02:00
Maxim Ganetsky
20e59969e6 Merge branch 'main' into 'main'
GTK3: Migrate some scrolling related C enum types to enumeration types.

See merge request freepascal.org/lazarus/lazarus!178
2023-05-30 12:21:50 +00:00
Abou Al Montacir
fa222b9d1f GTK3: Migrate some scrolling related C enum types to enumeration types.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkTextDirection`,
`TGtkAccelFlags`, `TGtkDirectionType` , `TGtkOrientation` and
`TGtkDestDefaults` are defined as an enumeration type.
This commit fixes those errors.
2023-05-30 12:16:18 +00:00
Martin
ff5ff0fd27 IDE: Fix mouse options, fixed typo/copy-paste-error in initialization of current values when showing frame. Issue #40287 Patch by n7800 2023-05-30 11:33:16 +02:00
dsiders
b6cbf56ac5 Docs: LCL/editbtn. Updates TCustomControlFilterEdit topics for changes in 3855efa4, including:
* TCustomControlFilterEdit.ApplyFilter
* TCustomControlFilterEdit.OnIdle
* TCustomControlFilterEdit.OnAsync
* TCustomControlFilterEdit.InvalidateFilter
* TCustomControlFilterEdit.ResetFilter
* TCustomControlFilterEdit.IdleConnected
* TCustomControlFilterEdit.SortData
2023-05-29 20:01:48 +01:00
Martin
d6c36728f2 IDE: add help url for EditorOptions/General 2023-05-29 16:03:09 +02:00
Maxim Ganetsky
4539591f34 Merge branch 'main' into 'main'
GTK3: Migrate TGdkEventMask to enumeration set.

See merge request freepascal.org/lazarus/lazarus!177
2023-05-29 13:26:27 +00:00
Abou Al Montacir
7f8eec753e GTK3: Migrate TGdkEventMask to enumeration set.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGdkEventMask` is defined
as an enumeration set type. This commit fixes those errors.

Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
```
2023-05-29 13:20:48 +00:00
DomingoGP
aea40faa97 Jedi code format: New makefiles for the jcfbase.lpk 2023-05-29 14:24:53 +02:00
Martin
3855efa430 LCL: FilterEdit, search on ASync instead of IDLE. E.g. in the IDE, while compilation runs, filter edits are otherwise not reacting. 2023-05-29 13:20:27 +02:00
dsiders
046c226625 Docs: LazUtils/lazlogger. Adds or updates topics for changes in 34053f3e.
* Adds: TLazLoggerWriteExEventInfo, TLazLoggerFile.OnDebugLnEx, TLazLoggerFile.OnDbgOutEx.
* Updates: TLazLoggerFile.DoDbgOut, TLazLoggerFile.DoDebugLn, TLazLoggerFile.DoDebuglnStack.
2023-05-29 04:03:04 +01:00
dsiders
b99faf95d0 Docs: LazUtils/lazloggerbase. Adds and updates topics for changes in 34053f3e.
* Adds: LazLoggerWriteExEventInfo, TLazLoggerWriteExEvent, TLazLogger.DoDbgOut, TLazLogger.DoDebugLn, TLazLogger.DoDebuglnStack.
* Updates: TLazLogger.DebuglnStack, TLazLogger.DbgOut, TLazLogger.DebugLnEnter.
2023-05-29 04:02:54 +01:00
dsiders
221910fa9d Docs: LCL/buttons. Updates topics for changes in b25102f8, including:
* TCustomBitBtn.DisabledImageIndex
* TCustomBitBtn.HotImageIndex
* TCustomBitBtn.PressedImageIndex
* TCustomSpeedBtn.DisabledImageIndex
* TCustomSpeedBtn.HotImageIndex
* TCustomSpeedBtn.PressedImageIndex
2023-05-29 04:02:35 +01:00
dsiders
e6786a1a15 Docs: LCL/interfacebase. Adds missing short description tags and updates topic content. 2023-05-29 04:02:20 +01:00
wp_xyz
b25102f895 LCL/TBitBtn,TSpeedButton: Register property editors for DisabledImageIndex, HotImageIndex and PressedImageIndex properties. 2023-05-29 00:45:40 +02:00
Martin
3f1e7b394b LazLogger: added new event, to change log-text 2023-05-28 21:47:05 +02:00
Martin
34053f3e32 LazLogger: added new event, to change log-text 2023-05-28 21:39:18 +02:00
Maxim Ganetsky
046c88b119 Merge branch 'main' into 'main'
GTK3: Migrate some C enum types to enumeration types.

See merge request freepascal.org/lazarus/lazarus!176
2023-05-28 19:37:38 +00:00
Abou Al Montacir
c51550f625 GTK3: Migrate some C enum types to enumeration types.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkJustification`,
`TGtkShadowType`, `TGtkScrollType` and `TGtkPackDirection` are defined
as an enumeration type. This commit fixes those errors.
2023-05-28 20:41:33 +02:00
Maxim Ganetsky
8f04b250d3 Merge branch 'main' into 'main'
GTK3: Migrate TGdkCursorType to enumeration type.

See merge request freepascal.org/lazarus/lazarus!175
2023-05-28 17:59:49 +00:00
Abou Al Montacir
766ac6db3f GTK3: Migrate TGdkCursorType to enumeration type.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGdkCursorType` is defined
as an enumeration type. This commit fixes those errors.
2023-05-28 19:49:32 +02:00
Maxim Ganetsky
3e5f53f35a Merge branch 'main' into 'main'
GTK3: Migrate GtkSelectionMode to enumeration type.

See merge request freepascal.org/lazarus/lazarus!174
2023-05-28 17:27:40 +00:00
Abou Al Montacir
98f586ba61 GTK3: Migrate GtkSelectionMode to enumeration type.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `GtkSelectionMode` is defined
as an enumeration type. This commit fixes those errors.
2023-05-28 19:02:59 +02:00
Maxim Ganetsky
b8436cb8bd Merge branch 'main' into 'main'
GTK3: Migrate GtkConnectFlags to enumeration type.

See merge request freepascal.org/lazarus/lazarus!173
2023-05-28 15:27:16 +00:00
Abou Al Montacir
49572afe43 GTK3: Migrate GtkConnectFlags to enumeration type.
In Gtk3 WS code, 0 was used instead of `G_CONNECT_DEFAULT`.
This leads to compilation error now that `GtkConnectFlags` is defined
as an enumeration type. This commit fixes those errors.
2023-05-28 15:21:43 +00:00
Maxim Ganetsky
7c3ff180e6 IDE: regenerated translations and updated Russian translation 2023-05-28 18:13:34 +03:00
Maxim Ganetsky
49d119e28a IDE: improved caption in Editor/General options page 2023-05-28 18:12:49 +03:00
Martin
43667d8c24 SynEdit: added Left/Right-Offset to Gutter-parts 2023-05-28 14:13:15 +02:00
Maxim Ganetsky
c2271d0628 Merge branch 'main' into 'main'
GTK3: Migrate GtkPolicyType to enumeration type.

See merge request freepascal.org/lazarus/lazarus!172
2023-05-28 12:11:27 +00:00
Abou Al Montacir
10ab7f6f12 GTK3: Migrate GtkPolicyType to enumeration type.
Now, `git2pas` produces enumeration types when translating C enums.
This implies changes in WS support files as Pascal enumeration types
are not compatible with integers and require explicit cast.

In order to avoid explicit casts, some internal functions API were
changed so that the code remains clean without unneeded type casts.
2023-05-28 11:58:14 +02:00
Martin
b838d0b33a IDE: implement different "caret past eol" options. Issue #40282 2023-05-28 11:52:46 +02:00
Martin
7ce80f47d4 SynEdit: implement different "caret past eol" options. Issue #40282 2023-05-28 11:52:46 +02:00
Martin
ef3d4efc17 SynEdit: fix calculation of scroll-range, to keep text-caret visible if at EOL 2023-05-28 11:52:45 +02:00
rich2014
568a92fe1c Gtk2: Fix compliation on MacOS 2023-05-28 17:07:32 +08:00
rich2014
1d7346c7e9 AnchorDocking: Cocoa: Fix the issue that the embedded form is not activated in TAnchorDockPage 2023-05-28 15:00:20 +08:00
Maxim Ganetsky
8a50d9bf15 Merge branch 'main' into 'main'
GTK3: Started migration to binding units generated by new gir2pascal.

See merge request freepascal.org/lazarus/lazarus!171
2023-05-27 20:39:29 +00:00
Abou Al Montacir
896541ee67 GTK3: Started migration to binding units generated by new gir2pascal.
Changes included here are:
 1. Added new code for defining shared object libraries to be used.
 2. Added binding of library `HarfBuzz` used by recent `Pango` version.
 3. Added bindings of `Xlib` opaque types used by `HarfBuzz`.
2023-05-27 18:24:12 +02:00
Maxim Ganetsky
fa2519f3ea Merge branch 'main' into 'main'
gir2pascal: Small code improvements.

See merge request freepascal.org/lazarus/lazarus!170
2023-05-27 15:59:20 +00:00
Abou Al Montacir
050dfa3884 gir2pascal: Small code improvements.
These changes are:
 1. Added line break to last line of generated files.
 2. Removed unused field `FEnumImpl` from `TGirConsoleConverter`.
 3. Moved command line from .lpi to .lps as this depends on the path
    of the user debugging the program.
2023-05-27 15:53:56 +00:00
wp_xyz
749b703ea4 TAChart: Improved meta-data for the line-series demo project. 2023-05-27 17:48:14 +02:00
Martin
044ee4f0bc LazDebuggerFp: load line info (blue dots) for libraries 2023-05-27 13:19:33 +02:00
Martin
55fcc1e210 FpDebug: tests, fix compile utf8 data 2023-05-27 10:18:41 +02:00
Martin
81b8660cb1 FpDebug: tests, increase timeout 2023-05-27 10:18:41 +02:00
Martin
acfb46b466 FpDebug: test, fix test / ignore load-lib events in count (test for debug loop re-started unexpectedly) 2023-05-27 10:18:41 +02:00
Martin
8ac62b7b82 FpDebug: test, fix compile test-app on linux 2023-05-27 10:18:40 +02:00
mattias
7bc5b63fbb updated makefiles 2023-05-27 02:07:12 +02:00
Martin
3a74b7fa79 FpDebug: tests, increase timeout 2023-05-26 14:05:17 +02:00
Martin
7689b1865f FpDebug: Fix freeing SOLibEventBreakpoint (when process is stopped, do not access thread state) 2023-05-26 14:05:17 +02:00