Commit Graph

1046 Commits

Author SHA1 Message Date
martin
211ab886b0 LazLogger: Improve Indent handling with threads. Ensure inc/dec is not overwritten by other threads
git-svn-id: trunk@60267 -
2019-01-31 22:55:20 +00:00
martin
30146193bb LazLogger: Check the callback in a more thread save manner
git-svn-id: trunk@60265 -
2019-01-31 22:24:21 +00:00
martin
131d04802a LazLogger: Init is called from DoDebugLn => make thread save
git-svn-id: trunk@60264 -
2019-01-31 22:06:25 +00:00
martin
4ee1459b01 LazLogger: Optimize indent handling / fix reset indent for DbgOut
git-svn-id: trunk@60263 -
2019-01-31 21:49:14 +00:00
martin
185d63ac35 LazLogger: Optimize indent handling
git-svn-id: trunk@60262 -
2019-01-31 21:44:56 +00:00
martin
720d4c15c5 LazLogger: Move widetset callback into threadsave block
git-svn-id: trunk@60257 -
2019-01-31 14:58:16 +00:00
martin
1513ba0c4c LazLogger: Fix a crash, due to not thread safe.
git-svn-id: trunk@60246 -
2019-01-30 00:53:46 +00:00
maxim
040d1106ac IDE/Packager/LazUtils: factored out PO filename parsing code to a separate procedure and made it dotted filename safe. Now using it in all relevant places, thus reducing code duplication and fixing possible problems with dotted PO filenames.
git-svn-id: trunk@60245 -
2019-01-29 23:04:16 +00:00
martin
a9f2cac891 LazLogger: Comments / Ifdef'ed flush log
git-svn-id: trunk@60244 -
2019-01-29 19:47:46 +00:00
maxim
684c367b8a IDE: changed extension of master PO files (a.k.a. templates) from .po to .pot, adapted IDE, POChecker, updatepofiles tool and localize.bat/.sh scripts.
Reasons:
1. .pot is 'industry standard' extension for PO template files. As a consequence, PO editors can now open our templates 'out of the box' and automate creation of translations.
2. It is now much simpler to detect template files now that dotted unit names are allowed.

git-svn-id: trunk@60208 -
2019-01-24 23:02:37 +00:00
maxim
bc4e1da857 Translations: Polish translation update by Sławomir Niedziela, bug #34788
git-svn-id: trunk@59988 -
2019-01-04 13:58:31 +00:00
mattias
da5ed1026a lazutils: updated fpmake
git-svn-id: trunk@59946 -
2018-12-31 09:58:25 +00:00
joost
3d5be57e48 fcl,lazutils,lclbase,lcl,synedit: Re-generated fpmake.pp files
git-svn-id: trunk@59940 -
2018-12-29 23:13:34 +00:00
joost
21e4fd4e8f lazutils,lclbase,synedit: Some fixes related to r59934 #a2e9341eb3
git-svn-id: trunk@59937 -
2018-12-29 22:28:24 +00:00
joost
a2e9341eb3 lazutils,lclbase,lcl,synedit: Enabled possibility to use fpmake for building these packages
git-svn-id: trunk@59934 -
2018-12-29 17:59:40 +00:00
bart
34803af734 - TFileSearcher: implement property PathSeparator.
- and expose both MaskSeparator and PathSeparator in FindAllFiles()
- expose PathSeparator in FindAllDirectories.
Issue #0034607.

git-svn-id: trunk@59687 -
2018-11-28 17:23:33 +00:00
maxim
c8c7a1723a Translations: Chinese translation update by robsean, bug #34579
git-svn-id: trunk@59617 -
2018-11-22 00:03:32 +00:00
martin
9b6c091763 LazLogger: fixed crash in assign
git-svn-id: trunk@59614 -
2018-11-21 16:52:11 +00:00
martin
fb1109e5cc LazLogger: Small threading optimization
git-svn-id: trunk@59508 -
2018-11-11 14:46:55 +00:00
juha
93fbbb0db7 LazUtils: Add LazUTF8SysUtils with "deprecated" warnings. The unit was renamed earlier.
git-svn-id: trunk@59436 -
2018-11-03 12:45:54 +00:00
juha
07607b4bba LazUtils: Raise exception in UTF8To... functions, controlled by a global boolean. Issue #33686, patch from AlexeyT.
git-svn-id: trunk@59416 -
2018-11-01 08:39:09 +00:00
juha
64a3cced51 LazUtils: Added inlines to some functions in LazUTF8. Issue #34472, patch from AlexeyT.
git-svn-id: trunk@59394 -
2018-10-30 11:04:21 +00:00
mattias
054150bb42 lazutils: some optimizations from Alexey
git-svn-id: trunk@59358 -
2018-10-26 19:26:31 +00:00
mattias
83e2e9a6cd lazutils: fixed ExpandFileNameUTF8 for \\?\
git-svn-id: trunk@59352 -
2018-10-26 08:10:10 +00:00
maxim
2fb99791ef Translations: French translation update by Gilles Vasseur, bug #34403
git-svn-id: trunk@59276 -
2018-10-09 22:50:15 +00:00
maxim
e26f6ff3ca Translations: Hungarian translation update by Péter Gábor, bug #34397
git-svn-id: trunk@59275 -
2018-10-09 22:41:03 +00:00
mattias
f9799efe90 lazutils: less hints
git-svn-id: trunk@59216 -
2018-10-01 15:13:34 +00:00
juha
75d1f28106 LazUtils: Move more functions from FileUtils to LazFileUtilities, deprecate the old ones.
git-svn-id: trunk@59177 -
2018-09-28 12:25:39 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +00:00
juha
571647e302 LazUtils: Move ExtractFileNameWithoutExt to LazFileUtils. Rhymes with ExtractFileNameOnly.
git-svn-id: trunk@59169 -
2018-09-26 17:49:27 +00:00
mattias
1f64e2b29d lazutils: deprecated ConvertLineEndings in favor of LineBreaksToSystemLineBreaks
git-svn-id: trunk@59144 -
2018-09-23 10:33:52 +00:00
mattias
f14e40c50d lazutils: removed duplicate code, issue #34320
git-svn-id: trunk@59142 -
2018-09-23 06:42:21 +00:00
bart
70f0e3209a LazUtf8: leftpad escaped characters in Utf8EscapeControlChars if EscapeMode = emPascal. Prevents ambiguity when reading the result.
git-svn-id: trunk@59125 -
2018-09-22 09:57:01 +00:00
mattias
12ce8a3854 set trunk version to 2.1.0
git-svn-id: trunk@59010 -
2018-09-15 19:46:38 +00:00
mattias
c2b0e049ef set trunk version to 2.0.0PreRelease
git-svn-id: trunk@59008 -
2018-09-15 19:41:22 +00:00
maxim
db62862efe LCLTranslator, Translations units: when translating an item, return original value if translation is empty. Idea by Sergey Bulba. Also improved finding master .po file in LCLTranslator. Fixes bug #33095.
git-svn-id: trunk@58976 -
2018-09-13 22:03:54 +00:00
juha
f6dcfb9e4f LazUtils: Add process priority constants for latest FPC. Issue #34184, patch from Do-wan Kim.
git-svn-id: trunk@58806 -
2018-08-31 08:15:05 +00:00
juha
0bb1729bdc Cleanup for utility functions.
git-svn-id: trunk@58786 -
2018-08-27 19:03:21 +00:00
maxim
a351c9f8fe Translations: Brazilian Portuguese translation update by Marcelo B Paula, bug #34139
git-svn-id: trunk@58742 -
2018-08-19 23:08:36 +00:00
juha
416b61b5e3 LazUtils: Make UTF8Process work on Windows with FPC trunk (r39517+). Issue #34048, patch from Pascal Riekenberg
git-svn-id: trunk@58663 -
2018-08-02 09:18:16 +00:00
maxim
368347ca99 Translations: Ukrainian translation update by Olexandr Pylypchuk, bug #34056
git-svn-id: trunk@58659 -
2018-07-31 21:59:47 +00:00
juha
41dc46374f LazUtils: Move string manipulation functions from LazUtilities to LazStringUtils.
git-svn-id: trunk@58634 -
2018-07-25 23:44:54 +00:00
juha
6d3f9bd7a7 LazUtils: Move string manipulation functions from IDEProcs to LazStringUtils.
git-svn-id: trunk@58632 -
2018-07-25 13:39:06 +00:00
juha
5c561fabd8 LazUtils: Add a new unit LazStringUtils. Move 2 functions from Codetools' SourceLog there.
git-svn-id: trunk@58631 -
2018-07-25 13:39:01 +00:00
juha
d43fa548b8 LazUtils: Rename unit LazUTF8SysUtils -> LazSysUtils. It had nothing to do with character encoding.
git-svn-id: trunk@58630 -
2018-07-25 13:38:59 +00:00
maxim
5ed0f55393 LazUtils: regenerated translations and updated Russian translation
git-svn-id: trunk@58626 -
2018-07-24 23:09:26 +00:00
juha
b20cf40349 Use RaiseGDBException from LazTracer unit. Remove similar funcs from IDEProcs and ComponentReg.
git-svn-id: trunk@58622 -
2018-07-24 17:49:21 +00:00
juha
a20ec2d6bc Move functions dealing with command line from IDEProcs to LazFileUtils.
git-svn-id: trunk@58621 -
2018-07-24 17:49:16 +00:00
juha
620bba736b Move functions dealing with path delimiters from IDEProcs to LazFileUtils.
git-svn-id: trunk@58620 -
2018-07-24 17:49:15 +00:00
juha
887cf78963 Move a version of function ProgramDirectory from IDEProcs to FileUtils.ProgramDirectoryWithBundle.
git-svn-id: trunk@58619 -
2018-07-24 17:49:13 +00:00