Commit Graph

337 Commits

Author SHA1 Message Date
mattias
76e7197049 IDE: setup dialog: when changing compiler check the compiler again and update targetos/cpu/fpcver
git-svn-id: trunk@48279 -
2015-03-12 00:32:26 +00:00
mattias
2e6ace8495 IDE: when no TargetOS or TargetCPU is empty, use default of compiler instead of IDE
git-svn-id: trunk@48273 -
2015-03-11 23:11:44 +00:00
mattias
4be5b9dfd8 IDE: invalidate codetools defines when changing target
git-svn-id: trunk@48266 -
2015-03-11 17:18:46 +00:00
mattias
5bda463520 IDE: fixed setting IDE as target, ignoring current project settings
git-svn-id: trunk@48258 -
2015-03-11 12:22:22 +00:00
mattias
2e5894093b IDE: clean up
git-svn-id: trunk@48252 -
2015-03-10 22:00:27 +00:00
mattias
e3aeb5a845 IDE: install a package and cancel rebuild: fixed saving idemake.cfg
git-svn-id: trunk@48250 -
2015-03-10 21:06:36 +00:00
mattias
707c60c7eb IDE: simplified
git-svn-id: trunk@47754 -
2015-02-13 21:31:36 +00:00
mattias
312c5f1c59 IDE: simplified
git-svn-id: trunk@47753 -
2015-02-13 21:27:28 +00:00
mattias
bee2faeb7b IDE: added parameters --verbose, --quiet, when building IDE or project and when quit, give message when already building
git-svn-id: trunk@47590 -
2015-02-04 22:30:54 +00:00
juha
9454def0c9 IDE: Fix error in all compiler options parser.
git-svn-id: trunk@47182 -
2014-12-12 16:37:27 +00:00
mattias
960141597a IDE: macro CompPath: return project compiler, COmpPath(IDE) returns IDE compiler
git-svn-id: trunk@46858 -
2014-11-15 12:38:51 +00:00
mattias
ee813e253a IDE: buildmanager: fixed clearing reference to destroyed project
git-svn-id: trunk@46169 -
2014-09-10 11:43:05 +00:00
mattias
322062cc24 IDE: clean up
git-svn-id: trunk@45989 -
2014-07-28 18:50:07 +00:00
mattias
dc0ea8db95 IDE: enabled group compile
git-svn-id: trunk@45987 -
2014-07-28 14:53:57 +00:00
maxim
61325d1c41 IDE: fixed FPC_FULLVERSION macro description localization
git-svn-id: trunk@45963 -
2014-07-23 23:49:51 +00:00
mattias
f4aca192ce IDE: clean up
git-svn-id: trunk@45960 -
2014-07-23 20:27:27 +00:00
mattias
dd64d2e479 IDE: added macro FPC_FULLVERSION, added conditionals function GetProjValue for packages, only parameter now: FPC_FULLVERSION
git-svn-id: trunk@45958 -
2014-07-23 19:22:38 +00:00
mattias
abaf3fb59c IDE: clean up old external tools
git-svn-id: trunk@45942 -
2014-07-20 19:47:30 +00:00
juha
2fc0b188b7 Make TProject own an instance of IDEOptions instead of inheriting from it.
git-svn-id: trunk@45802 -
2014-07-06 22:37:43 +00:00
mattias
33ebf1adac IDE: added macro LazVer, from Mike Thompson
git-svn-id: trunk@45616 -
2014-06-22 16:27:51 +00:00
juha
45a06804fd IDE: adjust lineendings of some resource strings.
git-svn-id: trunk@45551 -
2014-06-16 17:59:56 +00:00
juha
a912107bf0 IDE: More hard-coded quotations in resourcestrings.
git-svn-id: trunk@45520 -
2014-06-15 11:52:15 +00:00
juha
75b7c1bd1e IDE: Use hard-coded quotation in some resourcestrings instead of %s parameters.
Makes Format() calls and translations easier although initially creates fuzzy lines in PO files.

git-svn-id: trunk@45519 -
2014-06-15 11:52:01 +00:00
mattias
403ed545d1 IDE: enabled new external tools by default, use old code with -dEnableOldExtTools
git-svn-id: trunk@45396 -
2014-06-08 10:19:28 +00:00
mattias
e374177ab3 IDE: fixed appending project options
git-svn-id: trunk@45360 -
2014-06-05 20:00:43 +00:00
mattias
77c313ab47 IDE: compare parameters: trim
git-svn-id: trunk@45359 -
2014-06-05 18:55:36 +00:00
juha
258ea1153d IDE: Remove some duplicate resource strings.
git-svn-id: trunk@45325 -
2014-06-03 19:01:24 +00:00
mattias
20e6cdc0a9 lazbuild: started migration to external tools
git-svn-id: trunk@45294 -
2014-06-01 21:38:27 +00:00
mattias
30c58e48d6 IDE,lazutils: added GetPhysicalFilenameCached
git-svn-id: trunk@45247 -
2014-05-30 13:41:20 +00:00
mattias
978ec20681 IDE: use GetPhysicalFilename instead of readalllinks
git-svn-id: trunk@45246 -
2014-05-30 12:41:17 +00:00
mattias
cd49818fd6 IDE: trim fpc front end params
git-svn-id: trunk@44343 -
2014-03-04 14:26:22 +00:00
mattias
4b9f06ac1e IDEIntf: added event called when the IDE collects the fpc front end parameters
git-svn-id: trunk@44340 -
2014-03-04 14:13:40 +00:00
mattias
25716f17e3 IDE: fixed extracting custom compiler options from active project
git-svn-id: trunk@44339 -
2014-03-04 11:27:06 +00:00
mattias
d0d17505d9 IDE: build IDE: use default compiler, not compiler of project
git-svn-id: trunk@44333 -
2014-03-03 09:58:07 +00:00
mattias
0d6f31cc8a IDE: clean up
git-svn-id: trunk@44329 -
2014-03-02 21:23:03 +00:00
mattias
79d0bce2d6 IDE: clean up
git-svn-id: trunk@44328 -
2014-03-02 21:22:13 +00:00
mattias
bcaf4e5eed IDE: clean up
git-svn-id: trunk@44327 -
2014-03-02 21:20:40 +00:00
mattias
1489dc5cb6 IDE: more details why the IDE does not like the compiler file
git-svn-id: trunk@44295 -
2014-02-28 17:29:04 +00:00
mattias
4fdcc812d9 IDE: show error if compiler is not fpc
git-svn-id: trunk@44292 -
2014-02-28 14:05:45 +00:00
mattias
0f252ce423 IDE: using -Xp and -V as keys for cache of fpc settings
git-svn-id: trunk@44289 -
2014-02-28 13:38:12 +00:00
mattias
d8201c49fb lazbuild: fixed compilation
git-svn-id: trunk@44175 -
2014-02-19 19:26:58 +00:00
mattias
ba22fe2361 IDEIntf: added boot handler when transfer macros have been created
git-svn-id: trunk@44168 -
2014-02-19 14:36:34 +00:00
mattias
5a07230297 IDE: clean up
git-svn-id: trunk@44146 -
2014-02-18 18:47:15 +00:00
mattias
88780a9aaa IDE: use compiler of project for FPCVer and codetools macro values
git-svn-id: trunk@44141 -
2014-02-18 18:26:04 +00:00
mattias
0fa7fa8be8 IDE: check if project needs build: check if file is in unit/include path
git-svn-id: trunk@44059 -
2014-02-13 23:18:25 +00:00
mattias
1e8926baa8 IDE: clean up
git-svn-id: trunk@42801 -
2013-09-15 06:10:28 +00:00
mattias
fa26364e98 IDE: further migration external tools
git-svn-id: trunk@42584 -
2013-09-04 09:15:41 +00:00
mattias
cf4f0b577b IDE: further migration external tools
git-svn-id: trunk@42295 -
2013-08-03 19:33:59 +00:00
mattias
a7d3638143 IDE: further migration external tools
git-svn-id: trunk@42289 -
2013-08-03 15:56:10 +00:00
mattias
057762a149 IDE: migrate compiler message types
git-svn-id: trunk@42234 -
2013-07-30 09:18:33 +00:00
mattias
4c88931c65 IDE: compare default target os, cpu with compiler default
git-svn-id: trunk@42063 -
2013-07-11 23:15:45 +00:00
juha
ce8c8f7881 Revert r41936 #ab277e68c5 because Run Parameters dialog lost its existing history lists.
git-svn-id: trunk@41940 -
2013-06-29 13:14:58 +00:00
mattias
cfb2ee3fcb IDE: debugln when help macro fails
git-svn-id: trunk@41938 -
2013-06-29 12:52:42 +00:00
juha
ab277e68c5 IDE: in Run Parameters dialog use TMemo instead of TComboBox. Issue #24345, patch from Cyrax.
git-svn-id: trunk@41936 -
2013-06-29 10:24:12 +00:00
mattias
e043bb91b4 IDE+lazbuild: fixed applying ide macros for the right build mode
git-svn-id: trunk@41579 -
2013-06-07 12:12:02 +00:00
mattias
e9931a214f IDE: replaced compiler options Macro values with Additions and Overrides
git-svn-id: trunk@41570 -
2013-06-06 21:34:39 +00:00
mattias
b9f92c2008 IDE: mode matrix: fixed saving enabled state of IDE options
git-svn-id: trunk@41535 -
2013-06-04 08:29:22 +00:00
mattias
08a1b1e973 IDE: mode matrix: clean up shared and global enabled states on save
git-svn-id: trunk@41527 -
2013-06-04 07:38:07 +00:00
mattias
209b8a551c IDE: mode matrix: omit old macrovalues
git-svn-id: trunk@41473 -
2013-05-30 22:53:01 +00:00
mattias
108473b653 IDE: mode matrix: save global session states
git-svn-id: trunk@41468 -
2013-05-30 16:40:50 +00:00
mattias
106b632017 IDE: fixed macro BuildMode
git-svn-id: trunk@41421 -
2013-05-26 13:39:02 +00:00
mattias
fceb85ee46 IDE: debug
git-svn-id: trunk@41338 -
2013-05-21 11:16:16 +00:00
mattias
cfcf8488d2 IDE: build macros: do not let defaults override
git-svn-id: trunk@41337 -
2013-05-21 11:12:21 +00:00
mattias
ed2d368f37 IDE: fixed applying macro defaults
git-svn-id: trunk@41336 -
2013-05-20 21:15:03 +00:00
mattias
ae3978f2d2 IDE: mode matrix: apply macros
git-svn-id: trunk@41332 -
2013-05-20 19:51:13 +00:00
mattias
514fa100d5 IDE: TBuildManager.OnGetBuildMacroValues: split in smaller sub procs
git-svn-id: trunk@41330 -
2013-05-20 16:04:12 +00:00
mattias
0c692f3d56 IDE: TBuildManager.OnGetBuildMacroValues: Options must be non nil
git-svn-id: trunk@41329 -
2013-05-20 15:43:52 +00:00
mattias
e9e769f8b2 IDE: simplified code
git-svn-id: trunk@41328 -
2013-05-20 15:12:23 +00:00
mattias
6e218ad039 IDE: update inherited compiler options when frame becomes visible
git-svn-id: trunk@41246 -
2013-05-17 21:49:44 +00:00
juha
48f88c37ef Revert "Use AllFilesMask everywhere instead of GetAllFilesMask, mask must be fixed in FPC libs"
git-svn-id: trunk@40957 -
2013-04-30 16:35:02 +00:00
maxim
b2cf3b7ff8 IDE: fixed BuildMode macro name localization
git-svn-id: trunk@40864 -
2013-04-20 20:20:47 +00:00
juha
73fb9ab0e2 Use AllFilesMask everywhere instead of GetAllFilesMask
git-svn-id: trunk@40849 -
2013-04-19 07:08:03 +00:00
mattias
0103e5c4cb IDE, lazbuild: added macro BuildMode
git-svn-id: trunk@40829 -
2013-04-16 10:51:43 +00:00
mattias
736b87b9af IDE: debug idemacros
git-svn-id: trunk@40757 -
2013-04-08 22:14:19 +00:00
mattias
fe54d0ba55 IDEIntf: added GetRequiredPackages
git-svn-id: trunk@40280 -
2013-02-12 21:49:12 +00:00
juha
d451ec6672 IDE: Allow user to create own custom IDE macros and install them to IDE by using packages. Issue #23502, patch from Cyrax
git-svn-id: trunk@39909 -
2013-01-20 09:34:35 +00:00
mattias
53feb116ae lazbuild: apply verbosity to buildmanager
git-svn-id: trunk@39456 -
2012-12-06 16:11:39 +00:00
mattias
2aa8d62f9f IDE: when IDE was closed without project show no project wizard at start
git-svn-id: trunk@38760 -
2012-09-20 08:54:01 +00:00
juha
672f5bd862 Replace #13 with LineEnding in many messages. It didn't show correctly on Linux systems.
git-svn-id: trunk@38633 -
2012-09-13 06:39:56 +00:00
mattias
4d6bc95a99 IDE: if project ico file is newer than state file invoke a build, issue #20213
git-svn-id: trunk@38592 -
2012-09-09 09:07:50 +00:00
mattias
1f2f2e3527 IDE: fixed typo, less verbose
git-svn-id: trunk@38591 -
2012-09-09 08:52:22 +00:00
mattias
255f81bf6b IDE: comment
git-svn-id: trunk@38569 -
2012-09-08 09:00:16 +00:00
mattias
f49976f285 lazbuild: use widestring manager because of UTF8CompareText
git-svn-id: trunk@38069 -
2012-07-28 08:16:58 +00:00
mattias
b88a39ccca codetools: cfgscript: nicer error message if semicolon is missing
git-svn-id: trunk@37390 -
2012-05-22 10:53:35 +00:00
mattias
37eb8f6bd9 IDEIntf: removed TLazCompilerOptions.LCLWidgetType, fixed computing default LCLWidgetType on cross target OS
git-svn-id: trunk@37086 -
2012-04-29 17:43:58 +00:00
mattias
62218fe07e IDE: show compiler options: check compiler
git-svn-id: trunk@37085 -
2012-04-29 16:32:31 +00:00
mattias
3beda300fd IDE: extended macro MakeExe: $MakeExe(ide,filename) for host OS
git-svn-id: trunk@36738 -
2012-04-12 20:40:54 +00:00
mattias
74310d0da5 IDE: fixed repeated build project clean: save project state file before compiling too
git-svn-id: trunk@36723 -
2012-04-11 08:39:20 +00:00
mattias
2ec91c5b8e lazbuild: replaced some MessageDlg with IDEMessageDialog
git-svn-id: trunk@36680 -
2012-04-09 14:58:59 +00:00
mattias
f1d673e4f9 IDE: moved DoCheckIfProjectNeedsCompilation to TBuildManager
git-svn-id: trunk@36654 -
2012-04-07 12:11:06 +00:00
maxim
c9b64f58a1 IDE: translate descriptions of all macros
git-svn-id: trunk@36551 -
2012-04-03 21:00:37 +00:00
mattias
e15952a08c IDE: update macro descriptions after translating resource strings
git-svn-id: trunk@36515 -
2012-04-02 08:15:53 +00:00
mattias
87d9c6bb13 IDE: moved macros save/saveall to source editor
git-svn-id: trunk@36514 -
2012-04-02 08:06:52 +00:00
mattias
635c911aad IDE: rescan fpc: update default targetos, targetcpu
git-svn-id: trunk@36350 -
2012-03-26 19:00:38 +00:00
mattias
bd1a1d6b00 lazbuild: do not create fpcsrc defines
git-svn-id: trunk@36279 -
2012-03-23 16:20:52 +00:00
mattias
f1dff93dd5 IDE: fixed initializing macros before loading environmentoptions
git-svn-id: trunk@36203 -
2012-03-21 23:57:56 +00:00
mattias
c11634ce19 IDE: resolving macros for lazarusdir, fpcsrcdir
git-svn-id: trunk@36202 -
2012-03-21 23:41:07 +00:00
mattias
2a90441323 lazbuild: fixed using lcl questiondlg
git-svn-id: trunk@36201 -
2012-03-21 23:16:09 +00:00
mattias
b2014918ec IDE: env opts:: compiler messages filename: use standard function to expand
git-svn-id: trunk@36060 -
2012-03-16 01:26:31 +00:00
mattias
61728410d2 IDE: env opts:: make filename: use standard function to expand
git-svn-id: trunk@36059 -
2012-03-16 01:22:50 +00:00
mattias
fee4e78df4 IDE: started env getparsed funcs
git-svn-id: trunk@36052 -
2012-03-15 23:57:07 +00:00
mattias
dfc84d8ae3 IDE: started array of parsed env paths
git-svn-id: trunk@36051 -
2012-03-15 23:50:44 +00:00
mattias
587f6e9dcc IDE: unified changestamp
git-svn-id: trunk@36046 -
2012-03-15 22:35:34 +00:00
mattias
badac6ae4a IDE: macro TargetOS(IDE) return os of IDE executable, analog macro TargetCPU, macro SrcOS(os)
git-svn-id: trunk@36031 -
2012-03-15 13:23:00 +00:00
mattias
3e9e907062 IDE: switched to new laz2_xml
git-svn-id: trunk@35937 -
2012-03-13 20:55:43 +00:00
mattias
b02630ac58 IDE: less hints
git-svn-id: trunk@35711 -
2012-03-04 18:12:15 +00:00
mattias
c9ffd2f60c IDE: resolve macros in project title
git-svn-id: trunk@35044 -
2012-01-31 00:22:13 +00:00
mattias
b87b8698bd IDE: clean up
git-svn-id: trunk@34874 -
2012-01-22 20:16:10 +00:00
mattias
365b0f4cbc IDE: added ide macro FPCMsgFile
git-svn-id: trunk@34484 -
2011-12-29 00:01:54 +00:00
juha
1244cd3f41 IDE: simplify Build Lazarus dialog and build code
git-svn-id: trunk@33017 -
2011-10-22 10:33:41 +00:00
juha
bbe92fcaa7 Revert changes committed by mistake
git-svn-id: trunk@32903 -
2011-10-15 10:26:24 +00:00
juha
8d2cd60d3f Revert "Revert the Lazarus build code changes."
This reverts commit dc6979a103b7f2fbf58ef3bba83b5bc696e8f2a8.

git-svn-id: trunk@32900 -
2011-10-15 10:04:37 +00:00
juha
351a64dc80 Revert the Lazarus build code changes.
git-svn-id: trunk@32874 -
2011-10-13 20:02:34 +00:00
juha
a7b9001416 IDE: Only IDE can be built in Build Lazarus dialog. Change the dialog and other code accordingly.
git-svn-id: trunk@32816 -
2011-10-11 12:12:03 +00:00
mattias
38c75a8c1f IDEIntf: added TLazProject.Resources
git-svn-id: trunk@32596 -
2011-10-01 19:49:29 +00:00
mattias
6ade8b8b13 IDE: added macro instantfpccache
git-svn-id: trunk@32591 -
2011-10-01 18:04:11 +00:00
mattias
e914964569 codetools: clean up
git-svn-id: trunk@32525 -
2011-09-27 19:20:22 +00:00
maxim
5c0afad161 IDE: display target in CPU-OS format in "Compiler does not support target" message, patch from Anton, bug #20159
git-svn-id: trunk@32189 -
2011-09-05 20:36:25 +00:00
mattias
0f85593aae IDE: fixed parsing numbers in project macros
git-svn-id: trunk@31572 -
2011-07-06 11:49:17 +00:00
mattias
51e1742910 IDE: clean up
git-svn-id: trunk@31329 -
2011-06-22 07:52:10 +00:00
mattias
a4080c2387 IDE: RenameFileUTF8: invalidate file cache
git-svn-id: trunk@30956 -
2011-05-29 09:41:25 +00:00
mattias
8359cb4b2e IDE: implemented using project build macros in project compiler options
git-svn-id: trunk@30885 -
2011-05-24 12:59:45 +00:00
mattias
8c4dbe5aaa lazbuild: fixed build macros when there is no project
git-svn-id: trunk@30801 -
2011-05-18 17:30:08 +00:00
maxim
23c5c73b68 Packager: localized PkgDir, PkgSrcPath, PkgUnitPath, PkgIncPath macros description and changed their case to be camelcase like other ones.
While at this, fixed several typos in macros names: PkgUnitAth -> PkgUnitPath; PrimaryConfiPath -> PrimaryConfigPath; SecondaryConfiPath -> SecondaryConfigPath

git-svn-id: trunk@30665 -
2011-05-10 23:34:34 +00:00
mattias
3a715d162c IDE: rescan fpc sources: invalidate
git-svn-id: trunk@29907 -
2011-03-19 12:07:29 +00:00
mattias
c2071ea3cb IDE: started setup for fpc src
git-svn-id: trunk@29904 -
2011-03-19 10:28:38 +00:00
juha
f38190794b Formatting: joined lines where only ');' was split to its own line, in procedure defs.
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
mattias
c4abd3d658 IDE: do not scan compiler if no compiler is set
git-svn-id: trunk@29870 -
2011-03-16 13:36:31 +00:00
mattias
672a743b6d IDE: check if compiler was changed before compiling
git-svn-id: trunk@29743 -
2011-03-07 12:04:10 +00:00
mattias
20860be566 IDE: clean up
git-svn-id: trunk@29742 -
2011-03-07 11:41:04 +00:00
mattias
bee4293381 IDE: scan fpc source directory in the background after checking the fpc config
git-svn-id: trunk@29741 -
2011-03-07 11:18:36 +00:00
mattias
2755108d9c IDEIntf: moved compiler options to unit of its own (compoptsintf.pas), added access to compiler options of packages
git-svn-id: trunk@29523 -
2011-02-13 13:42:19 +00:00
mattias
53680baba2 IDE: fixed compilation by breaking a unit circle
git-svn-id: trunk@29466 -
2011-02-11 15:29:27 +00:00
mattias
09134e1102 IDE: macro IDEBuildOptions: use empty value for makefiles
git-svn-id: trunk@29232 -
2011-01-28 09:02:15 +00:00
mattias
cbc4541093 FCL package: converted to a normal package
git-svn-id: trunk@29213 -
2011-01-27 16:41:24 +00:00
mattias
27b833a99b IDE: always set LCLWidgetType
git-svn-id: trunk@29190 -
2011-01-24 23:29:44 +00:00
mattias
33eff14728 IDE: compiler options: moved LCLWidgetType to macros
git-svn-id: trunk@29189 -
2011-01-24 17:08:44 +00:00
mattias
1323dd35bc IDE: added check for missing real compiler
git-svn-id: trunk@28962 -
2011-01-11 16:41:54 +00:00
mattias
02e6bda022 IDE: added ignore for missing fpc config
git-svn-id: trunk@28961 -
2011-01-11 14:41:22 +00:00
mattias
6bdecb6e7a IDE: fixed changing TargetOS/CPU to default while project is not default
git-svn-id: trunk@28959 -
2011-01-11 13:13:02 +00:00
mattias
dc5709cc8a IDE: warn if fpc has no config file
git-svn-id: trunk@28939 -
2011-01-10 16:51:08 +00:00
mattias
a8b437d1a0 IDE: added macro FallBackOutputRoot, source editor context menu item to open package of package source file
git-svn-id: trunk@28932 -
2011-01-10 13:24:25 +00:00
mattias
e600f4af83 IDE: added macros PrimaryConfigPath, SecondaryConfigPath
git-svn-id: trunk@28922 -
2011-01-09 13:56:01 +00:00
mattias
1b48dc89de IDE: replaced globaloptions with macros, bug #18179, #18421, #18143
git-svn-id: trunk@28897 -
2011-01-07 18:42:24 +00:00
mattias
230d56ede2 IDE: added macro MakeLib
git-svn-id: trunk@28720 -
2010-12-15 12:41:06 +00:00
mattias
25b1fc7114 IDE: optional abort for run tool
git-svn-id: trunk@28705 -
2010-12-13 19:29:39 +00:00
mattias
777e1a450c IDE: TrimSearchPath deleting doubles
git-svn-id: trunk@28650 -
2010-12-08 20:50:27 +00:00
mattias
98d8c393c9 IDE: compile IDE with only base packages
git-svn-id: trunk@28612 -
2010-12-03 16:32:25 +00:00
mattias
ec7076415f IDE: use macros in environment compiler file name
git-svn-id: trunk@28575 -
2010-11-30 17:33:04 +00:00
mattias
49d43bc036 IDE: fixed initializing build conditionals
git-svn-id: trunk@28479 -
2010-11-25 14:10:13 +00:00