Commit Graph

1142 Commits

Author SHA1 Message Date
juha
4e587ce8f0 LazUtils: Prevent ForceDirectory trying to create directories with empty name. Issue #37133.
git-svn-id: trunk@63327 -
2020-06-08 10:34:28 +00:00
maxim
1207fa4fb3 LazUtils: committed a file which was automatically regenerated as a result of r63211 #8167e0b5e8
git-svn-id: trunk@63213 -
2020-05-22 23:37:51 +00:00
joost
8167e0b5e8 LazUtils: Missing file added to package
git-svn-id: trunk@63211 -
2020-05-22 15:59:26 +00:00
joost
5c8d50b386 FPMake: Regenerated
git-svn-id: trunk@63210 -
2020-05-22 15:11:27 +00:00
juha
60d719d70a LazUtils: Font kerning for LazFreeType. Issue #37058, patch from circular.
git-svn-id: trunk@63145 -
2020-05-13 21:05:37 +00:00
juha
52939a42db LazUtils: Formatting.
git-svn-id: trunk@63140 -
2020-05-12 18:52:11 +00:00
juha
da1e9bb5c1 LazUtils: Initialize LazFreeType variables. Prevent range errors. Issue #37033, patch from circular.
git-svn-id: trunk@63134 -
2020-05-10 18:55:24 +00:00
juha
8946cd3dd1 LazUtils: Allow hints to reveal a bug in TFreeTypeGlyph. Formatting.
git-svn-id: trunk@63130 -
2020-05-09 18:34:49 +00:00
juha
77a9fd307d LazUtils: Rename variable "generic" as "genericP" to not confuse Codetools.
git-svn-id: trunk@63129 -
2020-05-09 18:34:48 +00:00
juha
74b8021cc2 LazUtils: Initialize LazFreeType graphics state correctly. Issue #37033, patch from circular.
git-svn-id: trunk@63128 -
2020-05-09 18:34:47 +00:00
juha
d96645d9ff LazUtils: Fix LazFreeType glyph bounds. Issue #37022, patch from circular.
git-svn-id: trunk@63126 -
2020-05-09 08:05:41 +00:00
juha
8fccfb64ef LazUtils: Do not garble LazFreeType fonts. Issue #37012, patch from circular.
git-svn-id: trunk@63125 -
2020-05-07 20:20:56 +00:00
martin
835023c3e2 LazLogger: Fixed spelling. Issue #0036987
git-svn-id: trunk@63095 -
2020-04-30 12:44:07 +00:00
juha
cbaeca66f0 IDE: Assign also the handler list in BuildModes. Prevents a crash when cancelling project options. Issue #36782.
git-svn-id: trunk@63009 -
2020-04-17 18:39:38 +00:00
juha
9f4231ee15 Components formatting.
git-svn-id: trunk@62925 -
2020-04-10 11:59:05 +00:00
juha
651a6436a2 Support Haiku build. Makefiles are generated from Makefile.fpc files using proper tools. Issue #36316, patch from Alfred.
git-svn-id: trunk@62890 -
2020-04-05 11:35:01 +00:00
wp
dd9be6d9e1 LazUtils/FreeType: Avoid ignoring font files after reading defective one.
git-svn-id: trunk@62804 -
2020-03-24 09:45:08 +00:00
mattias
a472e9ef09 buildintf: split from ideintf
git-svn-id: trunk@62795 -
2020-03-22 11:58:11 +00:00
bart
4ff199e1d7 FileIsText: only exit False if an "illegal" char is found, don't require a NewLine char being present. Resolves #0036679.
git-svn-id: trunk@62787 -
2020-03-21 12:40:35 +00:00
bart
e513f7a26a TFileSearcher: use the new Options parameter for the MaskList.
git-svn-id: trunk@62783 -
2020-03-20 17:59:40 +00:00
bart
a11564b55f Masks: implement the ability to disable the use of sets in the mask.
git-svn-id: trunk@62781 -
2020-03-20 17:33:01 +00:00
juha
f867f60b13 LazUtils: Warn in a comment that function ReadFileToString() does not work with virtual files. Issue #36145.
git-svn-id: trunk@62770 -
2020-03-16 19:51:51 +00:00
ondrej
74fb203f39 LCL: Screen.BeginTempCursor & EndTempCursor
git-svn-id: trunk@62664 -
2020-02-23 06:04:38 +00:00
juha
0961a5797a Turn unit ObjectLists to use generics, move it to Lazutils. Reduce typecasts in TPkgManager by using correct types when possible.
git-svn-id: trunk@62639 -
2020-02-17 12:23:38 +00:00
ondrej
2c8411425b LazUtils: TFileStreamUTF8 = TFileStream: FPC 3.x has full UTF8 support and better exceptions (SFOpenError/SFOpenErrorEx). FileName was redeclared in TFileStreamUTF8
git-svn-id: trunk@62638 -
2020-02-17 09:21:15 +00:00
juha
63cc527b35 LCL: Simplify code dealing with ampersands (&). Remove duplicate code.
git-svn-id: trunk@62493 -
2020-01-04 19:30:01 +00:00
ondrej
6f1497ade1 revert 61976 #ec34c3f2f1:
lazutils: lazutf8: fixed TStringList.LoadFromFile load UTF8 by default
* not needed any more because the latest FPC trunk has TEncoding.Default=SystemEncoding that is UTF-8 in Lazarus/LazUTF8

git-svn-id: trunk@62474 -
2020-01-02 19:05:58 +00:00
juha
2bc8095d8d LazUtils: Fix spelling in LConvEncoding. Issue #36492, patch from CudaText man.
git-svn-id: trunk@62471 -
2019-12-30 13:59:18 +00:00
juha
dd0a4014b6 LazUtils: LConvEncoding fix for CP936 and other DBCS codepages. Issue #36492, patch from CudaText man.
git-svn-id: trunk@62467 -
2019-12-29 23:18:57 +00:00
juha
ec99bd95e2 LCL-GTK2: Move function ComparePChar to LazStringUtils as SamePChar.
git-svn-id: trunk@62464 -
2019-12-29 23:18:51 +00:00
juha
d0ca74aa06 Move functions from IDEProcs to LazFileUtils. Remove unused function MiniMizeName.
git-svn-id: trunk@62444 -
2019-12-25 11:26:25 +00:00
martin
be4d0c5b2e IDE, XmlConfig: Fixed storing properties (rtti), when "stored" incorrectly overwrote Default-instance. Introduced in r61887 #70005fc17a
git-svn-id: trunk@62296 -
2019-11-25 15:19:23 +00:00
ondrej
02aeeee223 laz2_xmlcfg: make GetListItemXPath a class function
git-svn-id: trunk@62248 -
2019-11-16 18:52:19 +00:00
juha
490804cee4 LazUtils: Move function LazIsValidIdent from PackageDependencyIntf (IdeIntf) to LazStringUtils.
git-svn-id: trunk@62133 -
2019-10-27 15:46:04 +00:00
juha
0cb74e2c3c LazUtils: Optimize and use function CompareMethods in LazMethodList unit. Issue #35694, patch from Serge Anvarov.
git-svn-id: trunk@62102 -
2019-10-21 19:16:32 +00:00
martin
57e0e15e0f LazLogger: fixed thread race condition. If the logger is destroyed, and threads have pending sync calls. (only observed with custom created loggers). Fix requires fpc 3.2, see issue #0030567
git-svn-id: trunk@62036 -
2019-10-11 12:07:22 +00:00
juha
7bbe5e6973 LazUtils: Revert part of r61999 #58b76f8a40.
git-svn-id: trunk@62002 -
2019-10-06 13:50:02 +00:00
juha
58b76f8a40 LazUtils: Remove UTF8Encode calls and suppress warnings in winlazfileutils.inc. Issue #35512.
git-svn-id: trunk@61999 -
2019-10-06 08:18:07 +00:00
mattias
ec34c3f2f1 lazutils: lazutf8: fixed TStringList.LoadFromFile load UTF8 by default
git-svn-id: trunk@61976 -
2019-10-04 12:05:40 +00:00
juha
cc40ad8b7f LazUtils: Move encoding page arrays from LConvEncoding to a new .inc file. Issue #36078.
git-svn-id: trunk@61971 -
2019-10-03 18:46:39 +00:00
juha
063096d568 LazUtils: Optimize LConvEncoding a little. Issue #36087, patch from Alexey Tor.
git-svn-id: trunk@61963 -
2019-10-03 18:26:28 +00:00
mattias
f117e5216d lazutils: StrToCmdLineParam: use " as default quote under Windows
git-svn-id: trunk@61912 -
2019-09-23 09:42:25 +00:00
martin
70005fc17a IDE, XmlConfig: Added ability to store published object (TPersistent) properties / Adhere to "stored" value of properties
git-svn-id: trunk@61887 -
2019-09-16 15:15:00 +00:00
martin
bf0028cac1 Try to minimize (NOT a fix) the risks of TProcessUtf8 crashes. Crash introduced in r50595 #d0dace2bf5 for issue #28991 / See also issue #035991
git-svn-id: trunk@61736 -
2019-08-20 22:16:37 +00:00
maxim
bd9bfc01d4 Translations: Turkish translation update by Onur ERÇELEN, bug #35865
git-svn-id: trunk@61612 -
2019-07-21 22:57:16 +00:00
mattias
63594b3af5 lazutils: fixed TFileSearcher initial PathSeparator and paths with spaces
git-svn-id: trunk@61569 -
2019-07-11 14:56:44 +00:00
martin
f5b60972c9 LazDebugger: add operators for log-enable to main unit too.
git-svn-id: trunk@61426 -
2019-06-19 15:26:19 +00:00
maxim
85ba39c0d9 LazUtils, Translations unit: improved TPOFile.Modified property handling: initialize its value in constructor and properly set it when removing an item from .po file
git-svn-id: trunk@61361 -
2019-06-11 22:35:16 +00:00
mattias
0eb446e94a lazutils: SysToUTF8: only UTF8_RTL, issue #35696, from Serge Anvarov
git-svn-id: trunk@61352 -
2019-06-10 16:19:00 +00:00
maxim
9843d887dd LazUtils, Translations unit: improve TPOFile constructors (initialize FAllEntries field only once and invalidate statistics regardless of called constructor)
git-svn-id: trunk@61349 -
2019-06-09 22:20:41 +00:00