Commit Graph

65244 Commits

Author SHA1 Message Date
wp_xyz
ccef4f2a79 LCL/SaveDialog: Fix unexpected behaviour when OnCanClose event is handled and returns CanClose=false. Issue #40297. 2023-06-05 13:02:26 +02:00
Maxim Ganetsky
73a69089d9 Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated Gdk3 set types after recent changes in git2pas.

See merge request freepascal.org/lazarus/lazarus!199
2023-06-04 18:08:17 +00:00
Abou Al Montacir
a5c67a943f GTK3: Updated Gdk3 set types after recent changes in git2pas.
Now that `gir2pas` is able to generate correctly set types for C enums,
we migrated more C enums to set type.

This required some changes in the Gtk3 WS code.
2023-06-04 18:02:11 +00:00
Maxim Ganetsky
505145997b Merge branch 'gir2pas' into 'main'
gir2pas: Fixed issues when generating bit fields with a null or duplicate masks.

See merge request freepascal.org/lazarus/lazarus!198
2023-06-04 18:01:30 +00:00
Abou Al Montacir
aba8308de3 gir2pas: Fixed issues when generating bit fields with a null or duplicate masks.
In this case, the code used to create a wrong index with value 255.
This is now detected and fixed.

Also, the code was not able to handle bit fields with duplicates.
Now this is also fixed.
2023-06-04 19:11:02 +02:00
Martin
8ef337b53e IDE: Change default mode for "caret past eol" to "plus one page". Issue #40282 2023-06-04 15:39:47 +02:00
Maxim Ganetsky
e076fc166f Merge branch 'gir2pas' into 'main'
Enabled generating code for bit masks defined within C bitfields enum.

See merge request freepascal.org/lazarus/lazarus!197
2023-06-04 12:21:14 +00:00
Abou Al Montacir
524cc642eb Enabled generating code for bit masks defined within C bitfields enum.
These masks are handled as non typed set constants.
2023-06-04 14:04:45 +02:00
Maxim Ganetsky
e982a91778 Merge branch 'main' into 'main'
GTK3: Updated units generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!187
2023-06-04 10:49:29 +00:00
Abou Al Montacir
a90922b2f2 GTK3: Updated Gtk3 unit generated with new gir2pas version. 2023-06-04 10:26:54 +00:00
Abou Al Montacir
00f2e08c8f GTK3: Updated Gdk3 unit generated with new gir2pas version. 2023-06-04 10:26:54 +00:00
Željan Rikalo
c9cdee98f1 Qt5: added static QTimer::singleShot(), QThread::loopLevel() routines. Increased C bindings version to 1.2.13 2023-06-04 12:21:03 +02:00
Željan Rikalo
a08c5fe7fc Qt6: added static QTimer::singleShot() routines. Increased C bindings version to 6.2.6 2023-06-04 12:19:01 +02:00
Maxim Ganetsky
da2f33c174 Merge branch 'gir2pas' into 'main'
gir2pas: Enabled generating Pascal sets to C bitfield enums by CLO.

See merge request freepascal.org/lazarus/lazarus!196
2023-06-04 10:16:08 +00:00
Abou Al Montacir
cd0756f17b gir2pas: Enabled generating Pascal sets to C bitfield enums by CLO.
Based on command line option (CLO) `-e/--declare-enums-as` that
selects the way how to define C enums and bit fields.

Added support for 5th options in addition 4 already implemented.
 1. `IntConst`: No type, just use integer non typed constants. This was
    already implemented, but not easily selected at CLI.
 2. `TypedIntConst`: Use non strict type aliases and typed constants.
    This was already implemented, selected by default in the code.
 3. `IntAliasConst`: Use strict type aliases and non typed constants.
    This was newly added.
 4. `Enum`: Use Pascal enumeration type for both C enums and bit fields.
    This was newly added.
 5. `Set`: Use Pascal enumeration type for both C enums and Pascal sets
    for bit fields. This is now implemented.
2023-06-04 10:10:42 +00:00
Abou Al Montacir
bb05d66329 Renamed executable from gir2pascal to gir2pas. 2023-06-04 10:10:42 +00:00
Martin
a135aee12a Gtk2: fix dangling pointer in TListView.Destroy. Issues #38954 #38332 2023-06-04 10:28:55 +02:00
rich2014
1741f14d55 Cocoa: Fix #40296: TCocoaWSCustomTabControl/TCocoaWSCustomPage issue on MacOS 2023-06-04 13:10:31 +08:00
Maxim Ganetsky
dcbf685e78 Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated Pango1 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!195
2023-06-04 00:48:44 +00:00
Abou Al Montacir
6ba4a9c9f0 GTK3: Updated PangoCairo1 unit generated with new gir2pas version. 2023-06-04 00:43:16 +00:00
Abou Al Montacir
fa757938da GTK3: Updated Pango1 unit generated with new gir2pas version.
Commented manually calls to API not present on Debian 11.
2023-06-04 00:43:16 +00:00
dsiders
b0aa7ba6ea Docs: LazUtils/lazutf8. Updates content in LazGetShortLanguageID for changes in d05dd86b. 2023-06-04 00:04:40 +01:00
Martin
a87136316e SynEdit: fixes for TSynMultiSyn Highlighter. Includes fix for Issue #40292 2023-06-03 21:34:32 +02:00
Maxim Ganetsky
3d491e9d0a Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated Cairo1 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!194
2023-06-03 18:59:30 +00:00
Abou Al Montacir
69fb261035 GTK3: Updated Cairo1 unit generated with new gir2pas version. 2023-06-03 20:45:14 +02:00
Maxim Ganetsky
93a8c283b5 Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated GdkPixbuf2 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!193
2023-06-03 18:38:02 +00:00
Abou Al Montacir
e725d79f21 GTK3: Updated GdkPixbuf2 unit generated with new gir2pas version. 2023-06-03 20:23:45 +02:00
Maxim Ganetsky
a86f10279f Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated GIo2 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!192
2023-06-03 18:19:15 +00:00
Abou Al Montacir
1bda0836b3 GTK3: Updated GIo2 unit generated with new gir2pas version.
Removed manually functions that are not present in Debian 11.
2023-06-03 19:03:22 +02:00
Maxim Ganetsky
d05dd86b2c LazUtils: simplify LazGetShortLanguageID procedure logic
It actually wants to return FallbackLang, so just return it and do not
make any assumptions about its length.
2023-06-03 19:18:40 +03:00
wp_xyz
68228adb4e TAChart: Clean-up: Remove out-dated version checks. Add missing compiler mode directives. 2023-06-03 17:37:23 +02:00
mattias
d8efd39359 codetools: scan fpc source: skip backups 2023-06-03 16:38:45 +02:00
Maxim Ganetsky
567f4acf76 Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated GLib2 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!191
2023-06-03 14:14:19 +00:00
Abou Al Montacir
825c357e8c GTK3: Updated GLib2 unit generated with new gir2pas version.
Removed manually functions that are not present in Debian 11.
2023-06-03 15:39:52 +02:00
rich2014
1371a3a915 lhelp: Fix #40293: FormWindowStateChange() issue in lhelpcore 2023-06-03 20:33:17 +08:00
Maxim Ganetsky
7e8aff03a4 Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated GModule2 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!190
2023-06-03 11:50:43 +00:00
Abou Al Montacir
c972cd7491 GTK3: Updated GModule2 unit generated with new gir2pas version.
Removed manually functions that are not present in Debian 11.
2023-06-03 11:45:15 +00:00
wp_xyz
35fc68ba2a Images: Add images forgotten in previous commit. 2023-06-03 12:53:14 +02:00
wp_xyz
1181b6d27c Images: Reworked Align icons plus some new text processing icons. By Roland Hahn. 2023-06-03 11:57:04 +02:00
Maxim Ganetsky
cdc32051fb Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated GObject2 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!189
2023-06-02 21:58:31 +00:00
Abou Al Montacir
3e2186bb36 GTK3: Updated GObject2 unit generated with new gir2pas version.
Removed manually functions that are not present in Debian 11.
2023-06-02 21:29:33 +02:00
Maxim Ganetsky
cfaea82a9c Merge branch 'GtkPartialMerge' into 'main'
GTK3: Updated Atk1 unit generated with new gir2pas version.

See merge request freepascal.org/lazarus/lazarus!188
2023-06-02 17:51:34 +00:00
Abou Al Montacir
c8f199e4ed GTK3: Updated Atk1 unit generated with new gir2pas version. 2023-06-02 15:54:49 +00:00
DomingoGP
12b8417d04 Jedi code format: issue #40294 unnamed enumerator in the variant part of a record. 2023-06-02 17:44:21 +02:00
DomingoGP
8783cb734c Jedi code format: change the inacurate description in readme file. 2023-06-02 16:37:23 +02:00
Martin
3ea6f9923c SynEdit: fixes for exact scroll range depending on "caret past eol" options. Ensure setting new options takes immediate effect 2023-06-02 16:36:16 +02:00
dsiders
a236413e40 Docs: LazUtils/lazutf8. Fixes awkward wording and typing errors. 2023-06-02 14:35:13 +01:00
Maxim Ganetsky
0134db000d Merge branch 'main' into 'main'
GTK3: Migrated remaining C enums to enumeration types.

See merge request freepascal.org/lazarus/lazarus!186
2023-06-02 13:10:20 +00:00
Abou Al Montacir
3ed2967690 GTK3: Migrated remaining C enums to enumeration types.
No changes are required except in automatically generate code.
2023-06-02 14:00:15 +02:00
Martin
60c4e28fd7 IDE: editor completion dropdown - fix painting. Some chars where "chopped off". Proportional fonts can overlap into the next cell, therefore when continuing to paint, the next token must not clear the background. 2023-06-02 11:08:58 +02:00