Commit Graph

527 Commits

Author SHA1 Message Date
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
mattias
690727b106 IDE: fixed compiler options ShowCond and ShowExecInfo, bug #30589
git-svn-id: trunk@52943 -
2016-09-09 20:24:30 +00:00
mattias
799d76b601 IDE: fixed compiler optios TrashVariables and VerifyObjMethodCall, bug #30584
git-svn-id: trunk@52937 -
2016-09-09 06:07:49 +00:00
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +00:00
juha
297e19a349 IDE: Add methods for merging paths to CompilerOptions and replace common code patterns with them.
git-svn-id: trunk@52693 -
2016-07-15 17:47:18 +00:00
mattias
8864f57fe4 IDE: added -O4 optimization, bug #29107
git-svn-id: trunk@50534 -
2015-11-30 16:31:44 +00:00
juha
e3a1721df5 IDE: Cleanup.
git-svn-id: trunk@50185 -
2015-10-27 17:30:50 +00:00
juha
e92ffb6dc2 IDE: Store defines added by user to compiler options. Works also for packages. Issue #28887.
git-svn-id: trunk@50184 -
2015-10-27 17:30:48 +00:00
mattias
2c46e6e468 IDE+lazbuild+makefiles: on darwin use -gw instead of -g
git-svn-id: trunk@49906 -
2015-10-01 18:40:54 +00:00
mattias
1b88beb01b IDE: moved compiler options - show lines compiled - to environment options
git-svn-id: trunk@49884 -
2015-09-27 20:32:15 +00:00
mattias
1fe2796bd0 IDE: compiler options: added option to show the lines compiled messsage as important
git-svn-id: trunk@49883 -
2015-09-27 20:09:52 +00:00
mattias
dec821b44c IDE: fpc params: assembler style: add missing space
git-svn-id: trunk@48935 -
2015-05-05 18:06:12 +00:00
mattias
df2c484a6c lazbuild: fixed loading environmentoptions.xml
git-svn-id: trunk@48721 -
2015-04-11 10:06:23 +00:00
mattias
a96cfe9231 lazbuild: -q -q passes -vw-n-h-i-l-d-u-t-p-c-x- to the compiler
git-svn-id: trunk@48698 -
2015-04-10 19:19:09 +00:00
mattias
b4fcc4f59d IDE/lazbuild: if project target empty, put in unit output dir, bug #27823
git-svn-id: trunk@48694 -
2015-04-10 08:52:33 +00:00
mattias
3024ff1269 IDE: fixed changing empty project target file
git-svn-id: trunk@48640 -
2015-04-06 09:03:39 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
mattias
7760e5b734 IDE/lazbuild: simplified TestBuildDirectory, when checking if project needs compile check if target file exists
git-svn-id: trunk@48406 -
2015-03-17 13:30:53 +00:00
mattias
1a28636b9e IDE/lazbuild: append project/global additions to custom compiler options as last
git-svn-id: trunk@48396 -
2015-03-16 21:03:59 +00:00
mattias
f93f158c57 IDE: FindProgram: resolve leading ~ under Unix
git-svn-id: trunk@48132 -
2015-03-04 15:44:24 +00:00
mattias
a819e545f5 IDE: project: if target file is set and apply conventions is off then always pas -o
git-svn-id: trunk@48128 -
2015-03-04 15:23:38 +00:00