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
339d0f841f
IDE: Move Extend..SearchPath functions from MainIDE to Project.
...
git-svn-id: trunk@52697 -
2016-07-16 08:06:13 +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
juha
865cb9dc42
IDE: Prevent an occasional crash after BuildModes are added and deleted.
...
git-svn-id: trunk@52628 -
2016-07-05 11:16:54 +00:00
mattias
533c92a950
IDEIntf: add possibility to add frames to project options, issue #30032
...
git-svn-id: trunk@52215 -
2016-04-19 10:03:52 +00:00
ondrej
3dd60b3899
ide: reload changed files dialog:
...
1) use TCheckListBox
2) allow to reload changed files too (unchecked by default, prefixed with *).
git-svn-id: trunk@51852 -
2016-03-07 20:36:45 +00:00
maxim
45daca322f
IDE: Add ability to exclude components from i18n by identifier or original text:
...
1) Added methods to remove entries from TPOFile by identifier and by original text.
2) Implemented storage of excluded identifiers and originals via TProject.
3) Updated translation routines to pass over project's excluded identifiers and originals when updating PO files.
4) Editing of excluded identifiers and originals in i18n project options.
5) Added option to "Force update PO files on next compile" in i18n project options (auto reset, non-persistent). To force update PO files after changing excluded identifiers and originals.
Patch by Denis Kozlov, bug #29627 .
git-svn-id: trunk@51589 -
2016-02-10 22:46:00 +00:00
mattias
9f7a580842
IDE: backup lpi only if lpi has changed and is written
...
git-svn-id: trunk@51368 -
2016-01-21 11:43:48 +00:00
mattias
969c2998aa
IDE: backup lpi after creating xml, just before writing to disk
...
git-svn-id: trunk@51367 -
2016-01-21 11:36:25 +00:00
juha
56c31e9131
Revert r51068 and r51087 #181b205220 + cleanup. Issues #28059 and #29292 .
...
git-svn-id: trunk@51166 -
2016-01-03 16:47:52 +00:00
juha
1c326b667f
IDE: Create extra buildmodes better.
...
git-svn-id: trunk@51162 -
2016-01-03 14:53:10 +00:00
juha
181b205220
IDE: Prevent crash when clicking button "Change Build Mode" and Cancel in dialog. BackupBuildModes is not called always. Issue #29292 .
...
git-svn-id: trunk@51087 -
2015-12-30 23:27:40 +00:00
juha
2a49eb46bc
LazBuild: Fix compilation after r51059 #42e68fd86d. Issue #29274 .
...
git-svn-id: trunk@51080 -
2015-12-29 11:54:44 +00:00
ondrej
a7367c97d9
ide: fix Options changed through "Change Build Mode" CoolBar button isn't respected by the compiler. Issue #28059
...
git-svn-id: trunk@51068 -
2015-12-28 19:30:13 +00:00
juha
42e68fd86d
IDE: Save Application Bundle and resource XPManifest to default project configuration. Issue #22286 .
...
git-svn-id: trunk@51059 -
2015-12-27 22:36:55 +00:00
mattias
76fdce40ea
project groups: compile project with build modes
...
git-svn-id: trunk@50436 -
2015-11-20 10:46:35 +00:00
mattias
ead4658b86
IDEIntf: project build modes
...
git-svn-id: trunk@50431 -
2015-11-20 09:08:44 +00:00
ondrej
95a246bac1
IDE, IDEIntf: moved TProject.ChangedStamp from IDE to IDEIntf (TLazProject)
...
git-svn-id: trunk@50385 -
2015-11-18 11:25:25 +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
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
423c43ea13
IDE: Fully implement saving/loading desktops and the GUI for it. Modified patch from Ondrej Pokorny.
...
git-svn-id: trunk@49514 -
2015-07-09 19:05:29 +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
juha
0be07e4e24
IDE: Rename dialog CustomDefines -> DefinesGui.
...
git-svn-id: trunk@49156 -
2015-05-24 12:01:06 +00:00
mattias
19386f4875
IDE: simplified reading SrcUnitName
...
git-svn-id: trunk@48912 -
2015-05-01 10:37:23 +00:00
mattias
8b4e761edc
IDE: renamed TUnitInfo.Unit_Name to SrcUnitName and fixed updating it
...
git-svn-id: trunk@48911 -
2015-05-01 10:32:13 +00:00
mattias
1c8f99a192
IDE: resourcestrings
...
git-svn-id: trunk@48910 -
2015-05-01 08:31:47 +00:00
mattias
ad0a80376f
IDE: use IDEMessageDialog instead of LCL
...
git-svn-id: trunk@48909 -
2015-05-01 08:24:46 +00:00
mattias
279431884c
IDE: fixed loading session build modes
...
git-svn-id: trunk@48754 -
2015-04-14 08:41:03 +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
juha
34fa9b2929
IDE: Improve harmonizing the style of spaces. Issue #27441 , patch from Anton.
...
git-svn-id: trunk@48164 -
2015-03-07 16:38:24 +00:00
mattias
27623aaec9
IDE: fixed updating highlighters after changing project options, bug #27554
...
git-svn-id: trunk@48060 -
2015-03-01 11:16:00 +00:00
mattias
b9d95ad55c
IDE: comments
...
git-svn-id: trunk@47940 -
2015-02-21 19:18:05 +00:00
juha
25753901f7
IDE: Fix the error message when session .lps file is corrupted.
...
git-svn-id: trunk@47592 -
2015-02-05 15:46:33 +00:00
mattias
ba6f0da620
IDE: fixed loading default unit when no lps exists
...
git-svn-id: trunk@46778 -
2014-11-07 14:59:42 +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
de1b9bea42
IDE: TIDEProjPackBase changed to TComponent
...
git-svn-id: trunk@45956 -
2014-07-23 11:32:58 +00:00
juha
2892a0fa58
IDE: Use the new interface for project and package in Delphi converter.
...
git-svn-id: trunk@45901 -
2014-07-17 22:07:02 +00:00
juha
54b39f97e9
IDE: fix compilation
...
git-svn-id: trunk@45898 -
2014-07-16 20:16:04 +00:00
juha
4e5955ac69
IDE: Use IProjPack interface for TProject and TLazPackage.
...
git-svn-id: trunk@45896 -
2014-07-16 20:01:57 +00:00
juha
bcad8a0a98
IDE: use FLazCompilerOptions variable in inherited project/package classes. Remove copied var FCompilerOptions.
...
git-svn-id: trunk@45892 -
2014-07-16 19:59:11 +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
juha
40e463a9c2
IDE: use const string when possible for reading / writing a project.
...
git-svn-id: trunk@45762 -
2014-07-03 11:51:01 +00:00
juha
399317698e
IDE: Move "if not FLoadParts ..." test outside of TProject.LoadFromLPI.
...
git-svn-id: trunk@45761 -
2014-07-03 11:50:56 +00:00
juha
a9154fe760
IDE: reorder the code for reading a project.
...
git-svn-id: trunk@45760 -
2014-07-03 11:50:52 +00:00
juha
4486bfc9ed
IDE: Replace TProjectReadFlags with a boolean LoadParts.
...
git-svn-id: trunk@45757 -
2014-07-03 11:50:41 +00:00
juha
f2bd861d5e
IDE: Initialize the Result variable in TProject.DoWrite. Issue #26406 , patch from C Western
...
git-svn-id: trunk@45720 -
2014-06-28 20:07:10 +00:00
juha
e1a399a0e7
IDE: refactoring and cleanup for load/save BuildModes.
...
git-svn-id: trunk@45637 -
2014-06-23 18:51:12 +00:00
juha
97d35ceb6f
IDE: refactor TProject.SaveUnits.
...
git-svn-id: trunk@45636 -
2014-06-23 18:51:02 +00:00
juha
dd20833f33
IDE: refactor TProjectBuildModes.SaveToXMLConfig.
...
git-svn-id: trunk@45635 -
2014-06-23 18:50:49 +00:00