Commit Graph

63853 Commits

Author SHA1 Message Date
wp_xyz
064d70a8a4 IDE: Add high-dpi multipaste icons to resource. 2022-12-08 10:36:33 +01:00
dsiders
0b585dcf47 Docs: LazUtils/translations. Adds skeletons for missing topics. Removes topics no longer in source. 2022-12-08 05:17:38 +00:00
Maxim Ganetsky
f919bd5d42 Regenerated translations. 2022-12-08 04:11:26 +03:00
Maxim Ganetsky
a5c527068c LazUtils: Mark PO translation string as badly formatted when original string does not have argument errors and translation has them. Allows to catch more formatting errors, e. g. when original contains %s%s and translation contains s%s%s% (note the order of 's' and '%' in translation). 2022-12-08 04:11:26 +03:00
Martin
4f9ed1191e EnvironmentOpts: remove dependency on DialogProcs 2022-12-08 01:38:56 +01:00
Martin
369e4e47a7 IDE: Add base-package "IdeConfig" 2022-12-08 01:38:41 +01:00
Maxim Ganetsky
abfb1038bd Regenerated translations. 2022-12-08 03:30:04 +03:00
Maxim Ganetsky
045ba029e3 LazUtils: Rewritten comparison of formatting arguments of translations (in PO files). Now formatting arguments are compared in their entirety (including index, width and precision).
The reasons are:

0. Working with arguments is very prone to typos.
1. Removing index of arguments in translation can lead to exceptions.
2. Adding index to arguments in translation can lead to incorrect argument selection if e. g. '*' usage in arguments and relation of indexed and non-indexed arguments are not properly considered. Validating all this is a big complicated mess which should better be avoided.
3. Allowing to change width/precision can lead to incorrect argument rendering.

This means that swapping indexes is now effectively forbidden. This is not expected to create any unavoidable problems for translators, though. In any case such issues can better be solved by changing resource strings instead on a case by case basis.

This change allowed to spot many missed argument mismatches in different languages.
2022-12-08 03:30:03 +03:00
wp_xyz
68c529f404 IDE: Add icon forgotten in a previous commit. 2022-12-08 01:12:02 +01:00
wp_xyz
fd431d9325 TAChart: Un-deprecate the OnAfterDraw event. 2022-12-07 19:11:27 +01:00
wp_xyz
d2bd43cd11 IDE: Fix new "Select All" and "Multiselect" icons now showing. 2022-12-07 11:44:20 +01:00
Martin
cc31d7752a FpDebug: fix watching fields in "old style" objects 2022-12-07 01:44:51 +01:00
Maxim Ganetsky
5b8d71106e IDE: regenerated translations and updated Russian translation 2022-12-07 02:55:59 +03:00
Maxim Ganetsky
fd5e781141 IDE: improved hint for Lazarus directory 2022-12-07 02:53:54 +03:00
Juha
32963dc9d5 Examples window: Improve the filter and prevent an AV etc. Issue #40034, patch by dbannon. 2022-12-06 21:54:45 +02:00
Marcus Sackrow
df2ee9de4f MUI WIdget: bugfix for reading Window size, AROS special properties for AROS 2022-12-06 20:07:35 +01:00
wp_xyz
5fdb03fb78 IDE: Adds missing and improved menu icons by Roland Hahn. 2022-12-06 17:57:07 +01:00
Juha
2f13102566 IDE: Add a hint for LazarusDir in global options GUI. 2022-12-06 11:26:49 +02:00
dsiders
901b01e602 Docs: LCL/stdctrls. Updates TextHint topics in TCustomComboBox and TCustomEdit. 2022-12-06 06:01:40 +00:00
dsiders
ac088cfc61 Docs: LCL/groupededit. Updates TextHint topic in TCustomAbstractGroupedEdit. 2022-12-06 06:01:05 +00:00
Maxim Ganetsky
0ea7199af9 ExamplesWindow: improved i18n and layout of settings frame, regenerated translations and updated Russian translation 2022-12-06 02:35:41 +03:00
Maxim Ganetsky
e71aafbc65 ExternHelp: cleaned up unused resource string, regenerated translations 2022-12-06 02:35:41 +03:00
Martin
d8f2ce5a1f FpDebug: fix mem leak 2022-12-06 00:15:35 +01:00
Martin
cdafe7d9a3 FpDebug: make "^char" display string-like, like PChar. 2022-12-06 00:15:35 +01:00
Martin
55f314c9ac FpDebug: Fix subtraction for some pointers / Fix type-info for @char, so minus considers them compatible. 2022-12-06 00:15:34 +01:00
Bart
1e302eb754 LCL: improve the construction of some messages for TTreeView. Modified patch by Alexey Torgashin. Issue #39592. 2022-12-05 22:21:09 +01:00
Juha
e723acfe03 ExamplesWindow: Use GetParsedLazarusDirectory from OptionsIntf instead of reading XML file. Arrange uses sections. Hide some warnings. 2022-12-05 12:48:06 +02:00
Juha
24c3a3a248 IDE: Recognize warning msgs case-insensitively. Eliminate a PChar->String conversion. 2022-12-05 07:27:11 +02:00
wp_xyz
2d30372b6e External tools: Do not close edit dialog in case of an input error. 2022-12-04 19:56:41 +01:00
Juha
0db4149e93 IDE: Recognize warnings from unknown compiler messages. 2022-12-03 22:50:40 +02:00
dsiders
3c5ebb53bb Docs: LCL/comctrls. Updates TNBPages.Clear topic to reflect changes in 1af6a0e6. 2022-12-03 18:39:32 +00:00
dsiders
4d2445ad25 Docs: LazUtils/lazutf8. Updates UTF8CompareLatinTextFast topic for changes in 20d2044b. 2022-12-03 18:39:13 +00:00
Bart
db8a298e3d TDateTimePicker: expose FEffectiveDateDisplayOrder and FEffectiveHideDateTimeParts as read only protected properties. Patch by michalgw. Issue #39971. 2022-12-03 15:59:49 +01:00
Bart B
1af6a0e61f Merge branch 'lcl/notebook' into 'main'
FIX #40019: LCL/TPageControl: FIX algorithm of clear tabs in TNBPages.Clear()

See merge request freepascal.org/lazarus/lazarus!122
2022-12-03 14:10:15 +00:00
mattias
67ca4c57cf example: internal compiler: free thread 2022-12-03 01:54:30 +01:00
mattias
d27a77b2f2 added example for running an internal compiler 2022-12-03 01:51:38 +01:00
mattias
10ba6d4322 buildintf: added UserThread for running as an external tool 2022-12-03 01:51:38 +01:00
Maxim Ganetsky
6d8e6351e2 IDE: regenerated translations and updated Russian translation 2022-12-03 02:51:49 +03:00
Željan Rikalo
41006a9e7f Qt5: fixed invalid dialog title and caption. issue #40027 2022-12-02 23:45:31 +01:00
Juha
20d2044bb4 LazUtils: In UTF8CompareLatinTextFast, use AnsiCompareText instead of WideCompareText. 2022-12-02 22:45:14 +02:00
Juha
e70a15b8d6 FpReport example: Fix Example Metadata for LCLReport. Issue #40026, patch by dbannon. 2022-12-02 13:59:04 +02:00
Juha
d6dce85b44 FpReport example: Fix a memory leak. Issue #40023, patch by Andreas F. 2022-12-02 11:03:50 +02:00
Juha
d50f9fbf53 IDE: Fix spelling. 2022-12-02 11:01:55 +02:00
Martin
4c879cc73c FpDebug: Fix disassembler operand size for $a3 "move [...], reg" 2022-12-02 03:19:38 +01:00
Martin
dccfe2257d IDE, Debugger: Updated "debugger error" msg. 2022-12-02 02:27:49 +01:00
Martin
a9cb3d0967 LazDebuggerFp: add feedback if "modify watch" failed. 2022-12-02 01:03:44 +01:00
Martin
143aaab00f FpDebug: WatchResultData, more error checks 2022-12-02 01:01:33 +01:00
Martin
cfdb6d2299 SynEdit: fix range check in WrappedView 2022-12-02 00:58:42 +01:00
Martin
042ddcfe20 Fix UnicodeSpacesToASCII, After "Replace()" p is already replaced. Old code could skip codepoints or iterate past end of string. Don't replace regular space #20 with itself (nop). 2022-12-02 00:58:42 +01:00
mattias
c9c3d54bf2 lazbuild: fixed compile an ide when clean all is set 2022-12-01 23:48:25 +01:00