Martin
63a4789e76
FpDebug: implement typecast TFooRecord(ordinal) for matching data-sizes.
2023-06-06 14:06:20 +02:00
Martin
47e0610ac8
FpDebug: fixed assert, when storing broken dyn-array (pointer to random mem). Skipped data hit assert.
2023-06-06 14:04:28 +02:00
dsiders
aad8ebec07
Docs: LazUtils/lazutf8. Updates or removes topics for changes in e13533d1
.
...
* Updates: LazGetLanguageIDs for functionality merged from LazTrimLanguageID.
* Removes: LazTrimLanguageID.
2023-06-06 03:43:46 +01:00
dsiders
84bb887aee
Docs: LCL/lcltranslator. Updates topics for changes in d8f4c399
.
2023-06-06 03:43:26 +01:00
dsiders
c5c3b2ec3c
Docs: LCL/forms. Fixes invalid See Also link for OffsetRect topic.
2023-06-06 03:43:03 +01:00
Maxim Ganetsky
e13533d1e1
LazUtils: merge LazTrimLanguageID to LazGetLanguageIDs, it is used only there now
2023-06-06 03:00:26 +03:00
Maxim Ganetsky
d8f4c3990b
LCL, LCLTranslator: When finding language ID, don't always explicitly analyze LANG variable, let LazGetLanguageIDs procedure do its job instead.
...
LazGetLanguageIDs will look at LANG on Linux/Unix just fine (and in correct order, see issue #37937 ), and on Windows this is non-standard location and thus using it can potentially lead to unexpected results.
2023-06-06 02:57:21 +03:00
Maxim Ganetsky
917c994925
Merge branch 'GtkPartialMerge' into 'main'
...
GTK3: Updated Gtk3 set types after recent changes in gir2pas.
See merge request freepascal.org/lazarus/lazarus!201
2023-06-05 22:44:08 +00:00
Abou Al Montacir
a739298781
GTK3: Updated Gtk3 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-05 22:38:41 +00:00
Maxim Ganetsky
c6ba5a80b6
IDE: regenerated translations and updated Russian translation
2023-06-06 01:34:00 +03:00
dsiders
2c5d2ff77b
Docs: LCL/lclproc. Adds a deprecation notice for FreeThenNil.
2023-06-05 21:11:57 +01:00
Juha
317fa06f01
IDE: Improve the search results view more. Implement refresh search. Simplify code. Patch by n7800.
2023-06-05 22:51:29 +03:00
Juha
517830dafe
LCL: Add deprecated wrappers for moved procedures in LCLProc.
2023-06-05 22:12:05 +03:00
Juha
d9637b02d4
LCL: Restore a wrapper for FreeThenNil in LCLProc as deprecated.
2023-06-05 21:54:50 +03:00
dsiders
aa2394028c
Docs: LCL/various. Removes refers to lclproc and OffsetRect removed in 1475336c
.
2023-06-05 19:38:49 +01:00
dsiders
422126b804
Docs: LazUtils/graphmath. Adds topics for changes in 1475336c
including:
...
* CalculateLeftTopWidthHeight
* MakeMinMax
* MoveRect
* MoveRectToFit
2023-06-05 19:38:14 +01:00
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