Commit Graph

337 Commits

Author SHA1 Message Date
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
mattias
914107da49 IDE: delete ambiguous file: fixed check under case insensitive file systems
git-svn-id: trunk@21119 -
2009-08-06 13:42:34 +00:00
mattias
94eb196ed6 IDE: added macro function Env
git-svn-id: trunk@19981 -
2009-05-16 06:55:00 +00:00
mattias
5f4c6b579f IDE: added more ShowAbort flags
git-svn-id: trunk@19651 -
2009-04-27 18:08:58 +00:00
mattias
5eb71b62d3 IDE: added target hint
git-svn-id: trunk@19648 -
2009-04-27 11:16:41 +00:00
mattias
a557b7dfc8 IDE: renamed build modes to properties
git-svn-id: trunk@19624 -
2009-04-25 19:38:41 +00:00
mattias
27966b0715 IDE: build modes: added TargetOS
git-svn-id: trunk@18791 -
2009-02-22 10:14:04 +00:00
mattias
a4e0c566a7 IDE: build modes: add standard build mode
git-svn-id: trunk@18788 -
2009-02-21 21:23:58 +00:00
mattias
8a2b5a4ee1 IDE: GetprojectTargetFilename added parameter
git-svn-id: trunk@18613 -
2009-02-09 09:09:15 +00:00
mattias
7332c0b540 IDE: global build modes
git-svn-id: trunk@17999 -
2008-12-30 14:16:56 +00:00
mattias
2ea820af53 IDE: added build modes to compiler options
git-svn-id: trunk@17984 -
2008-12-30 07:18:40 +00:00
mattias
014229dcec IDE: conditional compiler options: load/save
git-svn-id: trunk@17883 -
2008-12-22 15:41:01 +00:00
mattias
dd4e9f87a1 IDE: added macro ProjOutDir and Project(OutputDir)
IDE: added project option to put .lrs files of .lfm files into output directory

git-svn-id: trunk@17857 -
2008-12-18 13:24:52 +00:00
paul
8d35dd12c1 ide: improve resource handling
git-svn-id: trunk@17019 -
2008-10-16 08:45:22 +00:00
paul
be2f3116a5 ide: improve resources code (use less hacks?)
git-svn-id: trunk@16958 -
2008-10-11 13:15:24 +00:00
mattias
094be7aab5 IDE: added macro SrcOS
git-svn-id: trunk@16466 -
2008-09-07 12:04:28 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
8c7598d73a IDE: implemented supporting FPCVer in FPCSrcDir
git-svn-id: trunk@16133 -
2008-08-19 01:28:24 +00:00
mattias
1752c2e410 IDE: environment option FPCSourceDirectory can now contain macros
git-svn-id: trunk@16122 -
2008-08-18 14:10:26 +00:00
mattias
e61e9ba99e IDE: added macro $(FPCVer)
git-svn-id: trunk@16121 -
2008-08-18 13:44:02 +00:00
mattias
ac3ef48d2b IDE: added sanity check for ambigious file check
git-svn-id: trunk@15898 -
2008-07-28 08:08:59 +00:00
mattias
6f639c52bd IDE: added macro $Project(InfoFile) for the lpi filename, bug #11399
git-svn-id: trunk@15287 -
2008-06-02 08:49:46 +00:00
mattias
f8b5714a8f IDE: clean up, lazbuild: auto create lrs files bug #11063
git-svn-id: trunk@14921 -
2008-04-21 16:28:13 +00:00
mattias
3b5e8c18da IDE+IDEIntf+LCL: moved LCLPlatformDirNames to LCL interfacebase
git-svn-id: trunk@14469 -
2008-03-08 18:58:36 +00:00
mattias
3d96887a31 IDE: fixed updating BuildTarget when rescanning FPC sources
git-svn-id: trunk@14341 -
2008-03-01 12:35:48 +00:00
mattias
65a770df87 IDE: fixed overriding build target OS/CPU/LCL, bug #10915
git-svn-id: trunk@14337 -
2008-03-01 11:28:43 +00:00
vincents
6631eb4c66 text: replaced plz -> please (bug #10319)
git-svn-id: trunk@13161 -
2007-12-05 10:52:44 +00:00
mattias
12a7912211 IDE: added dialog to explore the current package links
git-svn-id: trunk@12811 -
2007-11-10 13:59:51 +00:00
mattias
c21eb20d00 IDE: started TLazDocHintProvider
git-svn-id: trunk@12806 -
2007-11-10 00:31:44 +00:00
mattias
8a8085d7af IDE: replaced unitname compare functions for checking ambiguous units
git-svn-id: trunk@12801 -
2007-11-09 19:41:45 +00:00
mattias
341ec7141b IDE: compiler options dlg: fixed package view
git-svn-id: trunk@12798 -
2007-11-09 17:41:54 +00:00
mattias
66932c1a97 IDE: added verbosity for ambiguous files
git-svn-id: trunk@12789 -
2007-11-08 17:27:30 +00:00
mattias
d8366cc6c0 IDE: added resourcestrings
git-svn-id: trunk@12787 -
2007-11-08 16:20:26 +00:00
mattias
d4e3e7607a IDE: added Ignore all button to warnings about ambiguous units
git-svn-id: trunk@12786 -
2007-11-08 16:10:37 +00:00
tombo
5aeedb0533 IDE: added option to debug/run Application Bundle on darwin, remove code under DoNotUseProcessDebugger
git-svn-id: trunk@11266 -
2007-06-02 10:53:09 +00:00
vincents
ecaebbe825 + introduced LCLPlatformDisplayNames (used on screen) and LCLPlatformDirNames (used for compilation) to be able show win32/win64 on screen and use the win32 directory
git-svn-id: trunk@11133 -
2007-05-13 14:25:05 +00:00
vincents
4a62d22084 IDE: fixed VerboseFPCSrcScan
git-svn-id: trunk@10515 -
2007-01-26 19:44:43 +00:00
mattias
9b795b8260 IDE: project directory is now added to the include path of all project directories
git-svn-id: trunk@10142 -
2006-10-31 13:06:14 +00:00
mattias
b47221ff92 lazbuild: fixed overriding cpu, os, lclwidgetset
git-svn-id: trunk@9841 -
2006-09-08 16:16:42 +00:00
mattias
694d469e5e IDEIntf: added revert editor file function, h2pas gui: added tools for extern c and empty c macros
git-svn-id: trunk@9839 -
2006-09-08 15:24:58 +00:00
mattias
f7855da268 IDE: moved package compile code to packagesystem, IDEIntf: removed IsPartOfProject flag of Backup functions, lazbuidl: package compiling
git-svn-id: trunk@9821 -
2006-09-06 22:40:37 +00:00
mattias
2e614998a5 IDE/lazbuild: moved macros to TBuildManager
git-svn-id: trunk@9814 -
2006-09-05 10:39:25 +00:00
mattias
652f249a8b IDE: started BuildManager, the IDE part controlling all building, compiling
git-svn-id: trunk@9811 -
2006-09-04 21:21:54 +00:00