Commit Graph

65054 Commits

Author SHA1 Message Date
rich2014
bcb6d4d44e Cocoa: Fix compliation error for 1475336 2023-06-06 01:00:27 +08:00
rich2014
e0ab60ad95 AnchorDocking: Cocoa: a better way to fix the issue that the embedded form is not shown in TAnchorDockPage 2023-06-06 00:13:19 +08:00
rich2014
13a8e36d2f Qt5/Qt6: Fix compliation error 3 for 1475336 2023-06-05 23:55:24 +08:00
rich2014
1e6941d446 Qt5/Qt6: Fix compliation error 2 for 1475336 2023-06-05 23:33:43 +08:00
rich2014
da0da15487 Qt5/Qt6: Fix compliation for 1475336 2023-06-05 23:17:41 +08:00
rich2014
e9c10a2e4a Cocoa: Fix #40299: TCocoaManualScrollView issue on MacOS 2023-06-05 22:34:08 +08:00
Juha
91ba2ce809 IDE: Improve contrast of a selected line number in the search results view. 2023-06-05 16:57:26 +03:00
Juha
4c03e6b1db IDE: Show full path, relative path or no path of found files in search results. Mark found text with BOLD. Patch by BrunoK. 2023-06-05 16:35:56 +03:00
Juha
73bf0767a7 Designer: Simplify and fix minor bugs. Use psSolid for selection line. Issue #40295, patch by n7800. 2023-06-05 16:01:26 +03:00
Juha
1475336c8c Remove LCLProc.OffsetRect(). Move some functions from LCLProc to GraphMath (LazUtils). 2023-06-05 15:48:01 +03:00
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