Commit Graph

547 Commits

Author SHA1 Message Date
Juha
cd66ac596b Formatting, minor simplification. 2021-10-31 09:51:28 +02:00
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
juha
aeb086e9c0 IDE, Codetools: Restore CodeToolBoss.DefineTree.ClearCache calls that were removed in optimization.
git-svn-id: trunk@64417 -
2021-01-24 12:42:50 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +00:00
juha
609f5046d8 IDE: Don't cut a dotted TargetFilename when adding an extension to it. Issue #34665.
git-svn-id: trunk@64070 -
2020-10-24 19:59:57 +00:00
martin
147cf21fef Strip ext from exe name passed to compiler option -o. This is to make change in lazconf.pp work with unpatched compilers
Patch/Contributed by ccrause

git-svn-id: trunk@62756 -
2020-03-12 14:21:14 +00:00
juha
46beb34edb IDE: New target OS - DragonFlyBSD. Issue #36409, patch from CudaText man.
git-svn-id: trunk@62401 -
2019-12-15 21:10:39 +00:00
mattias
f0aa8dbf58 IDE: define codetools values for custom options -Ciro -g -g- -gw -Sah, issue #35771, from Yuriy Sydorov
git-svn-id: trunk@61483 -
2019-06-26 17:23:33 +00:00
mattias
db219396ae IDEIntf: added TLazCompilationToolOptions.Parsers
git-svn-id: trunk@60844 -
2019-04-05 11:42:16 +00:00
mattias
4f1d217a02 IDE: fixed compiler kind if project/package compiler is set
git-svn-id: trunk@60541 -
2019-02-28 18:25:08 +00:00
mattias
4a29d9d91f IDE: show compiler options: quote compiler filename
git-svn-id: trunk@60537 -
2019-02-28 16:55:16 +00:00
mattias
ad2827a4e5 IDE: fixed checking type of compiler (fpc/pas2js), fixed quoting compiler filename, improved error handling
git-svn-id: trunk@60535 -
2019-02-28 16:18:36 +00:00
juha
6cb99018d7 IDE: Parse and update compilation tool commands correctly. Issue #35059, patch from errno.
git-svn-id: trunk@60444 -
2019-02-18 08:19:41 +00:00
mattias
9e8af3629d IDE: fixed leading space in compiler options
git-svn-id: trunk@59897 -
2018-12-23 15:26:03 +00:00
juha
a34569f1b2 IDE: Simplify function CompilerOptions.ShortenPath.
git-svn-id: trunk@59759 -
2018-12-09 15:37:10 +00:00
mattias
a625b39fbf IDE: added IDE macro $(OutputFile), issue #27729, from elmar69
git-svn-id: trunk@59663 -
2018-11-26 10:18:48 +00:00
juha
ae5a1b5992 IDE: Switch path delimiters only for filenames better for TCompilationToolOptions.Command. Issue #34476, patch from Pascal Riekenberg.
git-svn-id: trunk@59396 -
2018-10-30 21:07:34 +00:00
juha
137181c237 IDE: Try to switch path delimiters only for filenames when reading TCompilationToolOptions.Command. Issue #34476.
git-svn-id: trunk@59395 -
2018-10-30 18:53:40 +00:00
juha
6ab3884744 IdeIntf: Improve timestamp updates of TLazCompilationToolOptions + inherited classes. Issue #34283.
git-svn-id: trunk@59268 -
2018-10-07 20:01:41 +00:00
juha
baad25dec4 IdeIntf: Delete old deprecated methods and properties.
git-svn-id: trunk@59227 -
2018-10-02 12:59:21 +00:00
mattias
1f64e2b29d lazutils: deprecated ConvertLineEndings in favor of LineBreaksToSystemLineBreaks
git-svn-id: trunk@59144 -
2018-09-23 10:33:52 +00:00
juha
a1d9f85634 IdeIntf: Improve the CompilationTool stuff. Remove and clean code. Issue #34283.
git-svn-id: trunk@59044 -
2018-09-17 16:53:37 +00:00
juha
5df4b7fc4e IdeIntf: A new interface class TLazCompilationToolOptions with a Command and CompileReasons. Issue #34283.
git-svn-id: trunk@59043 -
2018-09-17 12:03:51 +00:00
juha
7a46670faa Revert r59006 #b06f6da4af "IdeIntf: Add API for ExecuteCommand in CompOptsIntf." Must be done better.
git-svn-id: trunk@59042 -
2018-09-17 12:03:49 +00:00
juha
b06f6da4af IdeIntf: Add API for ExecuteCommand in CompOptsIntf. Issue #34283, patch from m_burkhard@gmx.ch.
git-svn-id: trunk@59006 -
2018-09-15 17:17:22 +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
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
53ee66450d LazUtils: Move exception and stack trace stuff to new LazTracer. Move function ConvertLineEndings to LazUtilities.
git-svn-id: trunk@58255 -
2018-06-14 09:05:50 +00:00
juha
3574bdfb6d Move debug- & other non-GUI stuff from LCLProc to LazUtilities and LazLogger in package LazUtils.
git-svn-id: trunk@58244 -
2018-06-13 13:59:07 +00:00
mattias
c371a56c4f IDE: completion box: fixed colors
git-svn-id: trunk@58141 -
2018-06-05 16:56:25 +00:00
mattias
359470d503 IDE: fixed passing -FE relative
git-svn-id: trunk@58061 -
2018-05-31 07:16:21 +00:00
mattias
71b1d4d70a IDE: fixed not passing -FE when it is the same as -FU, fixed passing -o when targetfilename is empty
git-svn-id: trunk@58059 -
2018-05-31 07:05:55 +00:00
mattias
60e526b176 IDE: do not pass -FU if -FE is passed
git-svn-id: trunk@58043 -
2018-05-28 10:45:04 +00:00
mattias
d6f38850b5 IDE: pass -FE is needed
git-svn-id: trunk@58034 -
2018-05-26 07:50:20 +00:00
mattias
b9e42b85a9 IDE: compiler options: fixed change default extension
git-svn-id: trunk@58032 -
2018-05-26 07:14:32 +00:00
mattias
ee7e7c077c IDEIntf: added CompilerPath, fixed fpc msg parser if msg id not found
git-svn-id: trunk@57910 -
2018-05-13 07:15:23 +00:00
mattias
18903285e2 IDE: allow pas2js as compiler, added target os browser and nodejs
git-svn-id: trunk@57896 -
2018-05-11 08:50:33 +00:00
mattias
65f9818baa IDE: parse custom compiler option -FN for default namespaces
git-svn-id: trunk@57801 -
2018-05-07 08:06:37 +00:00
mattias
0d058c9c07 codetools: renamed TFPCConfigFileStateList TPCConfigFileStateList, TFPCTargetConfigCache TPCTargetConfigCache
git-svn-id: trunk@56779 -
2017-12-18 17:03:02 +00:00
mattias
022a515783 codetools: renamed FPCDefinesCache to CompilerDefinesCache
git-svn-id: trunk@56776 -
2017-12-18 12:20:03 +00:00
juha
3ed79743c8 Remove the wrapper functions from LazUtils.FileUtil, Lcl.LclProcs and Codetools.FileProcs completely. Simplify code.
git-svn-id: trunk@56693 -
2017-12-11 19:44:37 +00:00
mattias
f2c571147a IDE: compiler options: execute before/after: allow custom parsers
git-svn-id: trunk@56576 -
2017-12-01 18:13:05 +00:00
mattias
340e7886e9 IDE: compiler options: execute before/after: started supporting custom parsers
git-svn-id: trunk@56573 -
2017-12-01 14:25:31 +00:00
juha
4bd30e3b00 Fix more uninitialized variables and suppress compiler warnings.
git-svn-id: trunk@55222 -
2017-06-04 21:52:26 +00:00
mattias
871ae7e6b9 IDE: added macros for namespaces
git-svn-id: trunk@54758 -
2017-04-27 14:34:53 +00:00
mattias
b382175cfb IDE: parse namespaces from custom compiler options
git-svn-id: trunk@54751 -
2017-04-26 19:41:08 +00:00
juha
e800a738ad Copy AVL_Tree from FPC trunk and replace classes in AvgLvlTree and in CodetoolsStructs with it.
The unit in FPC packages will be used directly later.

git-svn-id: trunk@54524 -
2017-04-05 08:34:48 +00:00
juha
88cab456e2 Cleanup and formatting.
git-svn-id: trunk@54402 -
2017-03-15 13:13:29 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
juha
a714a91311 LCL: Move TLCLPlatform and related non-GUI code to a new unit to be used without GUI.
Organize uses-sections by package so that dependencies can be easier seen.

git-svn-id: trunk@53711 -
2016-12-17 22:58:08 +00:00