Commit Graph

639 Commits

Author SHA1 Message Date
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
36968885dd LazUtils: Rename function FilenameIsPascalUnit -> FilenameHasPascalExt. Clashed with a function in Codetools. Update references.
git-svn-id: trunk@64376 -
2021-01-11 16:16:58 +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
ebad1d78ef IDE: Add iOS as target. Issue #37869, patch from Alfred.
git-svn-id: trunk@63987 -
2020-10-09 18:39:07 +00:00
mattias
7c7f225d4f codetools: parse proc modifier async, built-in function await
git-svn-id: trunk@63192 -
2020-05-21 10:22:41 +00:00
mattias
9364c88e45 codetools: support for xtensa cpu and freertos OS, issue #37097, from Christo Crause
git-svn-id: trunk@63185 -
2020-05-19 12:51:38 +00:00
mattias
506b6a8af4 codetools: if fpc.exe omits last line with realcompiler, use compile in path
git-svn-id: trunk@63080 -
2020-04-25 19:11:10 +00:00
juha
de38b0140e Codetools: Understand BuildIntf package with any project.
git-svn-id: trunk@62812 -
2020-03-27 20:20:43 +00:00
mattias
5ff82c12a9 codetools: fixed IsCompilerExecutable
git-svn-id: trunk@62651 -
2020-02-20 09:08:19 +00:00
mattias
a5a26cdaec codetools: IsCompilerExecutable now allows fpc* and ppc*, bug #36689
git-svn-id: trunk@62650 -
2020-02-20 09:03:44 +00:00
maxim
ed7473f789 Codetools: AVR controller information update to the latest support in FPC trunk. The list is now sorted. Patch by Christo Crause, bug #36707.
git-svn-id: trunk@62643 -
2020-02-17 23:28:35 +00:00
juha
ec192ce438 Codetools: In function IsCompilerExecutable fix dcc extension check and fix return value.
git-svn-id: trunk@62634 -
2020-02-16 16:10:46 +00:00
juha
6a3024178c Codetools: fix compilation. Issue #36409.
git-svn-id: trunk@62403 -
2019-12-15 21:34:56 +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
juha
79b8e496b5 IDE: Use proper case for Target OS names. Issue #35589, patch from Alexey Tor.
git-svn-id: trunk@61274 -
2019-05-22 14:41:36 +00:00
mattias
507da49bf0 codetools: fixed mem leak FPM.UnitToSrc
git-svn-id: trunk@60711 -
2019-03-17 20:50:37 +00:00
mattias
5ecb90b18b codetools: RunFPCVerbose: append always -Fr if available
git-svn-id: trunk@60670 -
2019-03-14 19:41:30 +00:00
mattias
1f371c8960 codetools: parse fpc output: keep FULLVERSION value
git-svn-id: trunk@60661 -
2019-03-13 07:10:43 +00:00
mattias
9f27095fee codetools: added IsPas2jsTargetOS IsPas2jsTargetCPU, removed deprecated functions
git-svn-id: trunk@60590 -
2019-03-05 09:43:24 +00:00
mattias
19c2881ef0 codetools: fixed compiler version check
git-svn-id: trunk@60583 -
2019-03-04 13:32:26 +00:00
mattias
41a3fb6d01 codetools: TPCTargetConfigCache.Update: check if Units<>nil
git-svn-id: trunk@60580 -
2019-03-04 12:50:38 +00:00
mattias
bb2ef7b609 undo 60575
git-svn-id: trunk@60576 -
2019-03-04 08:00:18 +00:00
mattias
e3b4ad515f startlazarus: fixed regression, issue #35184, Cyrax
git-svn-id: trunk@60575 -
2019-03-04 07:57:40 +00:00
mattias
ac3b7f22d0 codetools: comment
git-svn-id: trunk@60553 -
2019-03-01 17:55:36 +00:00
mattias
70529aa22d IDE/codetools: unified compiler check, fixed testing compiler twice
git-svn-id: trunk@60551 -
2019-03-01 09:32:14 +00:00
mattias
53fe4eeac4 codetools: nicer debugging
git-svn-id: trunk@60542 -
2019-02-28 18:45:32 +00:00
mattias
acedbb1bcd codetools: IsCompilerExec: error if neither fpc nor pas2js
git-svn-id: trunk@60538 -
2019-02-28 16:58:35 +00:00
mattias
3102805a43 IDE: rescan compiler defines: show default compiler error
git-svn-id: trunk@60536 -
2019-02-28 16:36:04 +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
mattias
ce79247514 codetools: fixed loading fpm
git-svn-id: trunk@59976 -
2019-01-02 17:11:14 +00:00
mattias
020d76d698 codetools: clean up
git-svn-id: trunk@59974 -
2019-01-02 17:04:53 +00:00
mattias
780beb52fe codetools: scan fpc units: store fpm sources separate
git-svn-id: trunk@59973 -
2019-01-02 17:02:02 +00:00
juha
dc3d76f928 Codetools: CPU Templates for ARM CPU with FPC trunk. Issue #34571, patch from Simon Ameis.
git-svn-id: trunk@59903 -
2018-12-23 21:51:15 +00:00
mattias
9530425edf codetools: do not automatically pass -Fr to pas2js
git-svn-id: trunk@59456 -
2018-11-05 10:32:04 +00:00
juha
c9e4614e17 Delete old deprecated methods.
git-svn-id: trunk@59175 -
2018-09-28 11:06:40 +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
mattias
e1ab5302bf codetools: clean up
git-svn-id: trunk@58025 -
2018-05-25 07:12:08 +00:00
mattias
e1dcfde200 codetools: identifier completion: list pas2js default units
git-svn-id: trunk@57952 -
2018-05-18 07:31:39 +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
7c8e3086d9 codetools: read compiler options: pas2js format
git-svn-id: trunk@57882 -
2018-05-10 10:55:28 +00:00
mattias
170943f2ab codetools: started checking pas2js, fixed reading units
git-svn-id: trunk@57853 -
2018-05-08 21:49:30 +00:00
mattias
014d35df8e codetools: fixed initialize unitscopes, issue #33712
git-svn-id: trunk@57847 -
2018-05-08 17:05:05 +00:00
mattias
aa2b29544e codetools: started parsing pas2js output
git-svn-id: trunk@57846 -
2018-05-08 17:00:34 +00:00
mattias
7943f543f2 codetools: use unit scopes from fpc output
git-svn-id: trunk@57844 -
2018-05-08 09:09:48 +00:00
mattias
1189d43fa2 codetools: read unit scopes from fpc output
git-svn-id: trunk@57839 -
2018-05-08 08:31:57 +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
efdc34d3e6 codetools: set MAC_OS_X_VERSION_MIN_REQUIRED from -WM parameter
git-svn-id: trunk@57777 -
2018-05-03 12:16:46 +00:00
mattias
0e22f592cb codetools: added TPCTargetConfigCache.Kind
git-svn-id: trunk@56780 -
2017-12-18 17:10:42 +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
mattias
54752f7024 IDE: compiler options: check pas2js: executable
git-svn-id: trunk@56774 -
2017-12-18 12:06:31 +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
juha
647d8f84ab Add powerpc64 as a CPU target. Issue #32577, patch from Alfred.
git-svn-id: trunk@56135 -
2017-10-20 10:27:45 +00:00
mattias
37aa56dfc5 codetools: fpc sources: packegs/rtl-extra add include path src/SrcOS and src/SrcOS2, bug #32263
git-svn-id: trunk@55681 -
2017-08-19 08:33:17 +00:00
mattias
61703e72aa codetools: fixed finding simpleipc.inc under Windows, packages/fcl-process/src/winall include path, bug #32256
git-svn-id: trunk@55651 -
2017-08-12 08:35:43 +00:00
juha
4c7dc1b89b Use Delete() instead of Copy() where appropriate.
git-svn-id: trunk@55311 -
2017-06-10 16:30:27 +00:00
mattias
b382175cfb IDE: parse namespaces from custom compiler options
git-svn-id: trunk@54751 -
2017-04-26 19:41:08 +00:00
mattias
a067dd3411 IDE: do not pass -B when option -k or -T changes, added resourcestring
git-svn-id: trunk@54749 -
2017-04-26 19:20:54 +00:00
mattias
aa5717bb55 codetools: search units with namespaces
git-svn-id: trunk@54745 -
2017-04-26 18:36:04 +00:00
mattias
0bde8fa043 codetools: define template directory: fixed skipping empty directory
git-svn-id: trunk@54688 -
2017-04-22 14:44: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
hnb
5231fa439a CodeTools: use for TFPCTargetConfigCache.Equals also "Includes" field
git-svn-id: trunk@54457 -
2017-03-21 22:33:21 +00:00
hnb
d5739c0615 codetools: Fix memory leak introduced in r54432 #5667c05f6c (TFPCTargetConfigCache.Includes was not freed in Clear method). Fix mantis #31575.
git-svn-id: trunk@54450 -
2017-03-21 12:05:16 +00:00
hnb
b823ce3277 CodeTools: find all *.ini files located in paths declared in fpc.cfg (-Fi option)
git-svn-id: trunk@54438 -
2017-03-17 21:21:51 +00:00
hnb
5667c05f6c CodeTools: Prepare for better support for Include (*.inc) files (collect all *.inc files from pathes added by -Fi in fpc.cfg)
git-svn-id: trunk@54432 -
2017-03-17 15:00:43 +00:00
marcus
7eaa1abf9f Introduce Amiga/AROS/MorphOS and MUI Widgetset to Lazarus gui settings
git-svn-id: trunk@54253 -
2017-02-22 22:16:40 +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
mattias
8d43a73be1 codetools: avltree: new consistencycheck
git-svn-id: trunk@53925 -
2017-01-11 12:41:05 +00:00
zeljko
f684952850 Qt5: integration into LCL
git-svn-id: trunk@53807 -
2016-12-30 15:05:34 +00:00
mattias
72ab451ade codetools: fixed path sep normalization
git-svn-id: trunk@53229 -
2016-10-26 16:46:35 +00:00
mattias
94d76f9a59 codetools: ParseFPCParameters: case insensitive defines
git-svn-id: trunk@53183 -
2016-10-20 19:48:07 +00:00
mattias
bd2ab5c7bc codetools: ParseFPCParameters: moved to other fpc option parse functions
git-svn-id: trunk@53182 -
2016-10-20 17:02:59 +00:00
mattias
ebe105f987 codetools: started ParseFPCParameter
git-svn-id: trunk@53155 -
2016-10-18 13:34:55 +00:00
mattias
f613ed6239 codetools: less hints
git-svn-id: trunk@53145 -
2016-10-17 13:56:30 +00:00
mattias
1cac5baa4d codetools: less hints
git-svn-id: trunk@53143 -
2016-10-17 13:50:26 +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
mattias
79f1b32221 codetools: fixed reading fpc unit cache
git-svn-id: trunk@52763 -
2016-08-01 07:45:24 +00:00
mattias
9e4e6e88b3 codetools: include path for fpc src dir packages/rtl-*
git-svn-id: trunk@52554 -
2016-06-22 11:23:09 +00:00
mattias
330696b99e fixed target cpu a64 to aarch64
git-svn-id: trunk@51816 -
2016-03-03 12:53:18 +00:00
mattias
59dca2c44b codetools: added target os wii, bug #29737
git-svn-id: trunk@51718 -
2016-02-26 22:01:44 +00:00
mattias
0b3c56aacc codetools: updated list of controllers, patch from Michael Ring
git-svn-id: trunk@51371 -
2016-01-21 12:32:47 +00:00
mattias
70581fdd39 codetools: fixed search for fppkg sources, bug #29154
git-svn-id: trunk@50713 -
2015-12-08 21:18:58 +00:00
mattias
704600a31f codetools: fixed compiling
git-svn-id: trunk@50476 -
2015-11-23 10:03:54 +00:00
mattias
ab813332d0 IDE: search fppkg .fpm files for ppus in default compiler unit path
git-svn-id: trunk@50473 -
2015-11-22 18:40:48 +00:00
mattias
8098f1092f codetools: MakeRelativePath: fixed loop when there is no shared path
git-svn-id: trunk@50455 -
2015-11-21 09:38:52 +00:00
mattias
151933ef38 codetools: less verbose
git-svn-id: trunk@50404 -
2015-11-18 22:11:52 +00:00
mattias
c7f3cc0e1c codetools: added processor types of avr, patch #28996 from Simon Ameis
git-svn-id: trunk@50316 -
2015-11-12 10:42:15 +00:00
mattias
0d1ecc5f84 codetools: added CPU target avr, issue #28581
git-svn-id: trunk@49723 -
2015-08-28 19:10:11 +00:00
juha
08c9621520 Change order of used units so that "deprecated" warnings are not triggered.
git-svn-id: trunk@49612 -
2015-08-07 17:20:40 +00:00
juha
ecede8c684 CodeTools: Update currently supported embedded controllers. Issue #28463, patch from Jeppe Johansen.
git-svn-id: trunk@49590 -
2015-08-03 22:21:45 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
mattias
c462c54354 IDE: when checking fpc config file exists expand ~
git-svn-id: trunk@49320 -
2015-06-12 17:58:16 +00:00
mattias
db6d5c1a01 codetools: clean up
git-svn-id: trunk@48663 -
2015-04-06 17:49:28 +00:00
mattias
528e8777a2 codetools: less output, ctconsoleverbosity
git-svn-id: trunk@48423 -
2015-03-18 21:44:39 +00:00
mattias
505992f5e4 lazbuild: made debugln more consistent and easier to distinguish from FPC messages
git-svn-id: trunk@48420 -
2015-03-18 20:37:48 +00:00
mattias
b05cc70e59 codetools: fpc src rules: fixed using rules for CPU
git-svn-id: trunk@48320 -
2015-03-12 23:40:55 +00:00
mattias
ed39d994ae codetools: TFPCTargetConfigCaches.GetDefaultCompilerTarget: update if needed
git-svn-id: trunk@48272 -
2015-03-11 23:09:43 +00:00
mattias
598e03ed42 codetools: fixed rebuilding nodes when targetcpu changed
git-svn-id: trunk@48270 -
2015-03-11 18:05:43 +00:00
mattias
e30dfa934a IDE: fpc msg parser, use console or system codepage depending on compiler version, bug #26623
git-svn-id: trunk@48038 -
2015-02-28 11:15:34 +00:00