Commit Graph

65220 Commits

Author SHA1 Message Date
Martin
68910f5711 SourceEditorIntf: New methods to add custom panels to the SourceEditor-Window. 2023-06-12 23:20:48 +02:00
Maxim Ganetsky
691e47cc00 LazUtils: fixed compilation on WinCE by adding somehow missing constants for it 2023-06-12 21:33:20 +03:00
Juha
e79ac027d5 FpDocUpdater: Improve anchoring in main form. Cleanup. 2023-06-12 21:06:19 +03:00
Maxim Ganetsky
f80440d58b Translations: Ukrainian translation update by Olexandr Pylypchuk, issue #40312 2023-06-12 18:20:35 +03:00
Maxim Ganetsky
a7c0d27b30 IDE: fixed TransferMacros i18n 2023-06-12 18:12:20 +03:00
Maxim Ganetsky
9be315ce81 LCL, LCLTranslator: normalize LanguageID on Unix also when locale name is empty 2023-06-12 17:45:09 +03:00
Maxim Ganetsky
62623bb589 LazResExplorer example: migrated to using GetLanguageID function from Translations unit 2023-06-12 17:15:43 +03:00
Maxim Ganetsky
53bda35072 LazReport editor sample: migrated to using GetLanguageID function from Translations unit 2023-06-12 17:10:11 +03:00
Maxim Ganetsky
5ad1936941 FPCUnit: migrated to using GetLanguageID function from Translations unit 2023-06-12 16:57:41 +03:00
Maxim Ganetsky
9190872585 DocEditor: migrated to using GetLanguageID function from Translations unit 2023-06-12 16:47:56 +03:00
Maxim Ganetsky
065d9a7d64 LazDataDesktop: use GetLanguageIDFromLocaleName function from Translations unit to properly extract language code from language name passed via command-line option 2023-06-12 16:41:34 +03:00
Maxim Ganetsky
9c8663e0f6 LCL, LCLTranslator: when searching for translation files, use properly extracted language code (do not assume that it has fixed two-symbol length) 2023-06-12 16:29:08 +03:00
Maxim Ganetsky
f2ce2e18e3 LazUtils, Translations unit: factored out locale name parsing code to a separate function GetLanguageIDFromLocaleName 2023-06-12 16:05:10 +03:00
dsiders
1cab990a9d Docs: LazUtils/lazutf8. Adds deprecation notices for changes in 65ed61c3ba. 2023-06-12 13:11:34 +01:00
dsiders
f2444c071d Docs: LazUtils/translations. Updates topics for changes in bb192833. 2023-06-12 13:11:17 +01:00
mattias
3a096be5ed codetools: less hints, search inc file order 2023-06-12 10:41:17 +02:00
mattias
58e260b6ba codetools: fixed include file 2023-06-12 07:26:23 +02:00
mattias
d9a0b39c50 ide: fixed compile on windows 2023-06-12 07:12:53 +02:00
mattias
daf7767a51 ide: fied compile on windows 2023-06-12 07:09:04 +02:00
mattias
4323a6e9f5 lcl: fixed compile with fpc 3.2.2 2023-06-12 07:01:41 +02:00
mattias
033c256b3a ide: less hints 2023-06-12 06:49:22 +02:00
Maxim Ganetsky
e21408456e LCL: migrated LCLTranslator to using GetLanguageID function from Translations unit 2023-06-12 04:11:45 +03:00
Maxim Ganetsky
22f596f8bb LazDataDesktop: migrated to using GetLanguageID function from Translations unit 2023-06-12 04:11:45 +03:00
Maxim Ganetsky
67cac82323 IDE: migrated to using GetLanguageID function from Translations unit 2023-06-12 04:11:44 +03:00
Maxim Ganetsky
65ed61c3ba LazUtils: Make LazGetLanguageIDs and LazGetShortLanguageID procedures use results of GetLanguageID function from Translations unit. Also deprecate LazGetLanguageIDs and LazGetShortLanguageID. 2023-06-12 04:11:44 +03:00
Maxim Ganetsky
bb19283344 LazUtils: Add GetLanguageID function to Translations unit. It returns a record with language code (in ISO 639-1 or ISO 639-2) and country code (in ISO 3166) for current system locale.
Implementation is based on GetLanguageIDs procedure from GetText unit, but is rewritten to have the following properties:
1. Language and country codes are returned in ISO formats on Windows.
2. Unix locale identifier is properly parsed and language/country codes are properly extracted.
3. Don't assume that language code is always two-letter (ISO 639-1), it can have bigger length (e. g. three letters, like in ISO 639-2).
4. Return locale ID in a record type. This will allow to return additional fields in backwards-compatible manner. Currently it contains language ID, language code and country code.
2023-06-12 04:11:44 +03:00
dsiders
04381be2cc Docs: LCL/comctrls. Updates content in TTreeNode topics (various). 2023-06-12 01:10:56 +01:00
dsiders
bb61f6eec8 Docs: LazUtils/lazutilities. Adds topic skeletons for changes in e3691f68. 2023-06-12 01:10:33 +01:00
dsiders
03cf8c2342 Docs: LazUtils/lazutf8. Updates content in the LazGetLanguageIDs topic for changes in 97c198b5. 2023-06-12 01:10:13 +01:00
dsiders
fe21b3d6dd Docs: LazUtils/lazconfigstorage. Adds topic skeletons for changes in 67c1c587. 2023-06-12 01:09:50 +01:00
Maxim Ganetsky
b353aa4ac2 IDE: regenerated translations 2023-06-12 01:56:38 +03:00
Maxim Ganetsky
d6656f4a46 IDEConfig: enabled i18n, moved translations from IDE 2023-06-12 01:56:09 +03:00
mattias
3a13fbf259 updated makefiles 2023-06-11 23:20:56 +02:00
Juha
e2b3713821 LazBuild: Remove TransferMacrosIntf reference. 2023-06-12 00:12:04 +03:00
mattias
a6933c07a9 ideconfig: less dependency on codetools 2023-06-11 23:10:53 +02:00
Juha
e4d8512e69 Update makefiles for IdeConfig and IdeIntf. 2023-06-11 23:55:42 +03:00
Juha
2e91f21dfe LazBuild: Initialize RegisterOptionsGroup event. 2023-06-11 23:37:12 +03:00
Juha
a6d1547803 Move unit TransferMacros to IdeConfig package. Add a unit for resourcestrings. 2023-06-11 23:37:12 +03:00
mattias
e58d243edc fixed make all 2023-06-11 22:10:45 +02:00
mattias
1132dcd45e Revert "ideintf: moved diff options to ide"
This reverts commit 08e256ebbd.
2023-06-11 22:00:09 +02:00
mattias
7a05fd5b85 Revert "ideintf: moved diff options back to ide"
This reverts commit 3cff2b6dc4.
2023-06-11 21:59:54 +02:00
mattias
3cff2b6dc4 ideintf: moved diff options back to ide 2023-06-11 21:55:14 +02:00
mattias
08e256ebbd ideintf: moved diff options to ide 2023-06-11 21:43:51 +02:00
mattias
cf07116ec3 ideintf: updated makefile 2023-06-11 21:34:37 +02:00
mattias
67c1c58793 codetools: moved DateToCfgStr to LazConfigStorage 2023-06-11 21:34:37 +02:00
Martin
76d90cf133 Ide: moved "Debug Inspect" to View > Debug Windows 2023-06-11 21:10:45 +02:00
mattias
f75c120bdb codetools: TLinkScanner: use directorycacher 2023-06-11 20:21:22 +02:00
Martin
ec14525a1a IDE: help url for event log options 2023-06-11 19:44:05 +02:00
Juha
751e89bca4 Reduce "deprecated" warnings for LazUtils.UITypes. 2023-06-11 20:34:36 +03:00
Juha
e3691f68f6 Move SkipCheckByKey functions from IdeUtils (IdeIntf) to LazUtilities (LazUtils). No LCL dependency. Add comments in uses section. 2023-06-11 20:34:36 +03:00