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
mattias
253ceab16b
IDE: fixed applying project settings to FPC source directory
...
git-svn-id: trunk@28434 -
2010-11-23 11:09:39 +00:00
mattias
319aa319a8
IDE: backup lfm files, bug #14690
...
git-svn-id: trunk@28321 -
2010-11-18 17:42:21 +00:00
maxim
353f8f3bab
IDE: improved 'Unable to create backup' message dialog localization
...
git-svn-id: trunk@28282 -
2010-11-16 23:37:09 +00:00
mattias
44be1b16a2
IDE: do not restart if IDE built for nogui
...
git-svn-id: trunk@28241 -
2010-11-15 09:53:16 +00:00
juha
e80c52f6f7
IDE: Cleanup, make the code more readable.
...
git-svn-id: trunk@28232 -
2010-11-14 22:44:39 +00:00
juha
6621b04689
IDE: fixed the build advanced restart feature. Now it works correctly. Most work done by Stephano.
...
git-svn-id: trunk@28231 -
2010-11-14 22:23:37 +00:00
mattias
c2bf7803f7
IDE: buid lazarus: only restart if target is default, bug #17912
...
git-svn-id: trunk@28214 -
2010-11-14 17:59:43 +00:00
mattias
504bccb12b
IDE: RescanCompilerDefines: check if changestamp invalid
...
git-svn-id: trunk@28201 -
2010-11-13 13:42:55 +00:00
mattias
6f951c6cc6
IDE: fix case of override target os/cpu
...
git-svn-id: trunk@28057 -
2010-11-03 14:53:23 +00:00
juha
56f3449ae8
Fixed compilation, changed property name back to ExtraOptions.
...
git-svn-id: trunk@28021 -
2010-11-01 08:48:53 +00:00
juha
0b17ddcdc6
Build profiles: Reorganized settings and their GUI, Restart and Confirm become global settings, compiler options get a Memo.
...
git-svn-id: trunk@28019 -
2010-11-01 07:46:47 +00:00
mattias
590344aed7
IDE: clearing computed project build macro values
...
git-svn-id: trunk@27992 -
2010-10-30 22:04:32 +00:00
mattias
69a7a8d886
IDE: fixed SetBuildTarget checking if target changed
...
git-svn-id: trunk@27924 -
2010-10-28 13:11:37 +00:00
mattias
1e83d3b477
IDE: fixed applying options after write
...
git-svn-id: trunk@27920 -
2010-10-28 08:00:21 +00:00
mattias
f7e017a61a
IDE: added build profiles for building the IDE, patch #15336
...
git-svn-id: trunk@27901 -
2010-10-27 19:32:27 +00:00
mattias
41a9300a55
IDE: fixed changing target platform for IDE
...
git-svn-id: trunk@27899 -
2010-10-27 19:10:15 +00:00
mattias
4d26bc867f
IDE: running FPC source scan in background thread
...
git-svn-id: trunk@27577 -
2010-10-04 18:34:57 +00:00
mattias
aac4168119
IDE: started background scan of fpc source directory
...
git-svn-id: trunk@27575 -
2010-10-04 14:00:13 +00:00
mattias
185f09f6b7
IDE: cache macro FPCVER, TBuildManager.RescanCompilerDefines: clear before compute anything
...
git-svn-id: trunk@27558 -
2010-10-04 08:51:01 +00:00
mattias
97709d81c5
IDE: added default build macros SrcOS and SrcOS2
...
git-svn-id: trunk@27499 -
2010-09-28 10:51:36 +00:00
mattias
96c2c2c9f4
lazbuild: fixed initializing build macros
...
git-svn-id: trunk@27404 -
2010-09-18 09:02:00 +00:00
mattias
28afd00d86
IDE: conditionals for package compilation
...
git-svn-id: trunk@27400 -
2010-09-17 21:56:55 +00:00
mattias
24003c4e73
codetools: fixed fpcdefine caches: fixed changestamp
...
git-svn-id: trunk@27008 -
2010-08-04 11:09:59 +00:00
mattias
5256b68374
IDE: removed TBuildMode
...
git-svn-id: trunk@26992 -
2010-08-03 11:00:05 +00:00
mattias
7a5bd656f3
IDE: fixed checking system.ppu file
...
git-svn-id: trunk@26885 -
2010-07-29 00:06:31 +00:00
mattias
5f4f03d6e9
IDE: using new codetools FPC caches
...
IDE: fixed macro FPCVer for multiple versions used by fpc.exe
IDE: fixed rescan of FPC sources if not changed, bug #16824
codetools: replaced fpc source heuristic with rule set, needed for bug #13912 , #14572
IDE: fixed unneeded rescan of fpc sources if only target changed, needed for 12828
IDE: fixed calling compiler on every start, needed by lazarus on a stick
codetools: fixed search for fpc units without ppu, needed for 15534
IDE: implemented cache for fpc include files, needed by debugger
lazbuild: fixed using non default lclwidgettype of lpi
IDE: fixed auto update if fpc.cfg or target compiler changed, needed for 16824
git-svn-id: trunk@26796 -
2010-07-24 08:12:27 +00:00
mattias
d0d753564d
IDE: define template use default flag
...
git-svn-id: trunk@26286 -
2010-06-24 19:19:34 +00:00
paul
9ec445b97d
ide: reset *retry* result to *ok* if backup file was created after the n-th trial
...
git-svn-id: trunk@25841 -
2010-06-02 13:27:00 +00:00
martin
e1290c555d
Ide/Project; SourceEditor: Start using SourceEditorManager (for multi-window handling)
...
git-svn-id: trunk@24045 -
2010-03-16 16:16:32 +00:00
mattias
09a6ed59f3
IDE: fixed nested macros, using default for FPCVer macro, bug #16008
...
git-svn-id: trunk@24035 -
2010-03-16 13:30:29 +00:00
mattias
ceee76be78
IDE: fixed checking if unit has lrs include directive
...
git-svn-id: trunk@23517 -
2010-01-21 14:17:02 +00:00
paul
bad42d79bc
ide: project options: replace monolith project options dialog with project options frames, register them in IDE options
...
git-svn-id: trunk@23318 -
2009-12-30 09:24:39 +00:00
paul
ee188b5600
ideintf, ide: project resources:
...
- rename TLFMResourceType to TResourceType (and same for other TLFMResource...)
- move ResourceType to TAbstractProjectResources
- when fpc resources are chosen:
1. don't create project .lrs file
2. use .rc file on all systems (requires windres (or gorc for win64))
git-svn-id: trunk@23292 -
2009-12-26 19:01:05 +00:00
mattias
c47bbec585
IDE: added macro IDEBuildOptions
...
git-svn-id: trunk@22954 -
2009-12-04 11:27:01 +00:00
mattias
690f6d84b4
IDE: auto converting encoding of lfm files used by $R directive to UTF8 without BOM
...
git-svn-id: trunk@22872 -
2009-11-30 10:54:02 +00:00
mattias
1cc866061d
IDE: check for R directive and skip updating lrs file
...
git-svn-id: trunk@22855 -
2009-11-28 22:07:39 +00:00
mattias
8dda69b001
IDE: added macro make for the path to the make utility
...
git-svn-id: trunk@22465 -
2009-11-07 09:55:45 +00:00
mattias
e976d4b51b
IDE: UpdateLRSFromLFM: auto create directory
...
git-svn-id: trunk@22363 -
2009-10-31 17:51:27 +00:00
mattias
5a3eeb2008
IDE: renameunit: create directory for lrs file
...
git-svn-id: trunk@22346 -
2009-10-29 18:44:45 +00:00
mattias
068ae9ad20
IDE: renamed unitname identifiers
...
git-svn-id: trunk@22335 -
2009-10-29 11:27:25 +00:00
paul
79ff6ed4bc
components, ide, ideintf: change UnitName identifier to AUnitName inside classes (preparations for the new TObject.UnitName method)
...
git-svn-id: trunk@22327 -
2009-10-29 08:40:22 +00:00
mattias
354e1bbac9
IDE: TBuildManager.IsTestUnitFilename: check for sub directories
...
git-svn-id: trunk@22073 -
2009-10-08 09:50:19 +00:00
mattias
0fdaea263c
IDE: save project.lrs/rc file to test directory
...
git-svn-id: trunk@22065 -
2009-10-07 23:56:30 +00:00
mattias
7b6df74c2f
IDE: test project: run when unit output directory is set
...
git-svn-id: trunk@22007 -
2009-10-03 22:23:08 +00:00
mattias
319247bb8c
IDE: renamed GlobalPropertySet
...
git-svn-id: trunk@21445 -
2009-08-25 16:34:50 +00:00