Commit Graph

404 Commits

Author SHA1 Message Date
juha
19d10cfdcb Converter: improve package conversion. It was broken.
git-svn-id: trunk@41575 -
2013-06-07 11:21:37 +00:00
mattias
35f0478c14 IDE: fixed compilation
git-svn-id: trunk@41555 -
2013-06-05 19:43:34 +00:00
juha
4699f52f94 Converter: get the main directory of project and package properly.
git-svn-id: trunk@41550 -
2013-06-05 16:57:43 +00:00
juha
18dec06fdd Converter: Use defines just like in Delphi when simulating Delphi7.
git-svn-id: trunk@41545 -
2013-06-05 10:53:22 +00:00
juha
f0211c4cf1 Converter: Option to simulate Delphi7 with defines. Also, add found unit during conversion only once.
git-svn-id: trunk@41538 -
2013-06-04 12:24:44 +00:00
juha
8761012e9c Less DebugLns to clutter Delphi conversion output. Fix also wrong method names in some DebugLns.
git-svn-id: trunk@41489 -
2013-06-02 10:19:41 +00:00
juha
4923cf00d8 Converter: take better care of exceptions during unit conversion.
git-svn-id: trunk@41487 -
2013-06-02 08:23:59 +00:00
juha
7ba5e2aae9 Converter: Convert form files (and finish unit files) even if there was an exception during unit conversion.
git-svn-id: trunk@41485 -
2013-06-01 16:55:30 +00:00
juha
da18117842 Converter: update DirectoryCache
git-svn-id: trunk@41484 -
2013-06-01 15:21:12 +00:00
juha
411a8864be Converter: identifier name changes
git-svn-id: trunk@41483 -
2013-06-01 15:21:07 +00:00
juha
5d1490e17c Converter: fix a special case when a VCL unit is copied to project directory. Somehow LCL dependency was not added.
git-svn-id: trunk@41427 -
2013-05-26 17:49:31 +00:00
juha
d5bfaea603 Converter: Use {$IFnDEF ...} with small 'n'. Easier to read.
git-svn-id: trunk@41170 -
2013-05-13 14:10:37 +00:00
juha
8ddfe52d9b Add "inherited Create;" to constructors for classes derived from TFileSearcher.
git-svn-id: trunk@41089 -
2013-05-09 11:52:17 +00:00
juha
87a68af276 Converter: move a string constant to resource strings
git-svn-id: trunk@40827 -
2013-04-16 07:50:02 +00:00
juha
22cf9232b4 Converter: add a setting for putting a comment after a replaced function.
git-svn-id: trunk@40580 -
2013-03-17 23:33:03 +00:00
juha
fca96aeca6 Converter: save all files after conversion.
git-svn-id: trunk@40567 -
2013-03-17 11:36:36 +00:00
juha
c16cec36c1 Converter: call CheckLFM again in a loop also when just properties were changed.
git-svn-id: trunk@40565 -
2013-03-17 08:56:31 +00:00
juha
cd0e43972f Converter: refactoring and some variable name changes.
git-svn-id: trunk@40564 -
2013-03-17 08:56:27 +00:00
juha
1e6aba487f Converter: turn {$R *.RES} directive into a comment if the file does not exist
git-svn-id: trunk@40560 -
2013-03-16 16:34:15 +00:00
juha
a13843f26c Converter: add needed units to uses section automatically. A class in LCL can be in a different unit than in VCL. Issue #23900
git-svn-id: trunk@40558 -
2013-03-16 14:37:13 +00:00
juha
7f3323cd39 Converter: don't replace TControlBar and TCoolBar any more. They are implemented in LCL
git-svn-id: trunk@40156 -
2013-02-03 12:23:38 +00:00
juha
a4cebdfafc Converter: Organize and clean method FindMissingUnits. Use original unit name when reporting special cases as missing.
git-svn-id: trunk@39800 -
2013-01-07 19:45:38 +00:00
juha
e45915c36c Converter: omit pascalscript units from project, use the Lazarus package
git-svn-id: trunk@39789 -
2013-01-06 22:23:53 +00:00
juha
146edd9711 Converter: add the same package dependency only once
git-svn-id: trunk@39788 -
2013-01-06 22:23:48 +00:00
juha
4d015441b6 Converter: for units omitted from project, add Lazarus Package as a dependency
git-svn-id: trunk@39787 -
2013-01-06 19:18:38 +00:00
juha
56d30918e9 Converter default settings: Convert Filesetattr parameters correctly. Issue #23576
git-svn-id: trunk@39766 -
2013-01-04 17:12:25 +00:00
maxim
259ded0029 Converter: improved/fixed converter settings form layout
git-svn-id: trunk@39700 -
2012-12-31 18:06:17 +00:00
juha
f1d5a6a06f Converter: Fix replacements of unit names when target is Windows-only.
git-svn-id: trunk@39697 -
2012-12-30 19:38:39 +00:00
juha
782074c449 Converter: rename Multi-platform to Cross-platform
git-svn-id: trunk@39696 -
2012-12-30 19:38:30 +00:00
juha
47303e1f22 Converter: add a message about time used for the conversion
git-svn-id: trunk@39690 -
2012-12-29 22:32:35 +00:00
juha
62517a1978 Converter: find replacement also for units that are omitted from project (they have a valid Lazarus package). Improve messages
git-svn-id: trunk@39689 -
2012-12-29 22:32:30 +00:00
juha
c806da351b Converter: don't convert a unit if it was omitted in AddUnit method
git-svn-id: trunk@39688 -
2012-12-29 22:32:24 +00:00
juha
91dc4fa857 Converter: add more units to be omitted from a project.
git-svn-id: trunk@39687 -
2012-12-29 22:32:19 +00:00
juha
289e83d1dd Converter: fix a memory leak when converting a single unit.
git-svn-id: trunk@39670 -
2012-12-28 00:14:52 +00:00
juha
b7d905fbd8 Converter: reordering code
git-svn-id: trunk@39296 -
2012-11-18 11:41:34 +00:00
juha
2d498b4135 Converter: Use the path selected by user when searching for missing units. It used the same path always
git-svn-id: trunk@39294 -
2012-11-17 10:02:52 +00:00
juha
03611adae0 IDE: Formatting
git-svn-id: trunk@39062 -
2012-10-13 09:13:41 +00:00
juha
d768cb42a7 Converter: formatting
git-svn-id: trunk@39054 -
2012-10-12 08:11:53 +00:00
juha
fdf1a89262 Converter: refactoring AddUnitIfNeeded procedure
git-svn-id: trunk@39048 -
2012-10-11 18:57:44 +00:00
juha
3fac3a3c41 Converter: move the implementation code so its location matches the definitions
git-svn-id: trunk@38920 -
2012-09-30 10:08:37 +00:00
juha
0e8eb89d5e Converter: improve messages a bit
git-svn-id: trunk@38911 -
2012-09-29 21:37:16 +00:00
juha
7e1f04ade7 Converter: Replace also WinTypes and WinProcs units with "LCLIntf, LCLType, LMessages"
git-svn-id: trunk@38904 -
2012-09-29 14:52:15 +00:00
juha
7d7d464100 Converter: Convert also units in project directory which are not part of the project. Issue #22677
git-svn-id: trunk@38903 -
2012-09-29 14:44:47 +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
maxim
21a83dc687 Converter: improved converter settings form layout
git-svn-id: trunk@38379 -
2012-08-25 22:03:32 +00:00
juha
599ff107ba Converter: stop the scanning thread also when Cancel is clicked
git-svn-id: trunk@38364 -
2012-08-25 05:26:14 +00:00
juha
dbb987ca5b Converter: refactor the code for background file scanning
git-svn-id: trunk@38358 -
2012-08-24 18:52:02 +00:00
juha
da3f78a531 Converter: Allow user to stop the directory scan in settings window
git-svn-id: trunk@38352 -
2012-08-23 20:30:43 +00:00
juha
20131f3434 Converter: Show a ProgressBar in settings window when parent dir is scanned. Refactor code.
git-svn-id: trunk@38344 -
2012-08-23 06:21:58 +00:00
juha
11a9424522 Converter: Treat also Wintypes and Winproc units as Windows specific when converting for multi-platform. Issue #22677
git-svn-id: trunk@38343 -
2012-08-23 06:21:49 +00:00