Commit Graph

106 Commits

Author SHA1 Message Date
mattias
cf4f0b577b IDE: further migration external tools
git-svn-id: trunk@42295 -
2013-08-03 19:33:59 +00:00
juha
cb53e0699e Converter: Support case insensitive reserved words when inserting '&' in front of an OleVariant member. Fixes issue #23552.
git-svn-id: trunk@42161 -
2013-07-20 17:57:01 +00:00
juha
7d5074bd8c Converter: after codetools exception, insert '&' before every '.'+reserved word instead of only '.type'. Part of issue #23552
git-svn-id: trunk@42156 -
2013-07-20 11:40:14 +00:00
juha
5d64e62ba7 Converter: implement the dummy source replacements using TSourceChangeCache.ReplaceEx. Fixes issue #23552
git-svn-id: trunk@41971 -
2013-07-02 16:14:59 +00:00
juha
1182ff0df2 Converter: Add variables in class when components (like menu item) are only in LFM. Changed also CheckLFM. Issue #24473.
git-svn-id: trunk@41948 -
2013-06-30 22:05:56 +00:00
juha
98aef1c568 Converter: cleanup + remove dead code
git-svn-id: trunk@41726 -
2013-06-16 12:15:49 +00:00
juha
ff691cadc3 Converter: save the log messages also to a file.
git-svn-id: trunk@41640 -
2013-06-09 19:18:11 +00:00
juha
aa5f6fd0f7 Converter: Change unit name to match disk name unless the disk name is all lowercase.
git-svn-id: trunk@41593 -
2013-06-08 16:32:39 +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
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
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
782074c449 Converter: rename Multi-platform to Cross-platform
git-svn-id: trunk@39696 -
2012-12-30 19:38:30 +00:00
juha
d768cb42a7 Converter: formatting
git-svn-id: trunk@39054 -
2012-10-12 08:11:53 +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
juha
9f602bf564 Converter: Fix function replacement to handle nested brackets correctly. Issue #22537
git-svn-id: trunk@38273 -
2012-08-18 12:33:39 +00:00
juha
f6f3d00b54 Converter: improve comments
git-svn-id: trunk@38272 -
2012-08-18 12:33:35 +00:00
juha
ee02cf6a72 Converter: improve handling of errors and error messages
git-svn-id: trunk@37682 -
2012-06-17 23:21:38 +00:00
juha
7c90c81de5 Converter: refactoring and improved error handling + other fixes
git-svn-id: trunk@37675 -
2012-06-17 19:47:13 +00:00
juha
d91c978a4d Converter: Call FixIncludeFiles before parsing the source.
git-svn-id: trunk@37646 -
2012-06-14 17:51:25 +00:00
mattias
3e852e27be IDE: converter: fixed checking if source is unit
git-svn-id: trunk@36486 -
2012-03-31 17:23:58 +00:00
juha
b54ecafd13 IDE: Change {*.dfm} to {*.lfm} when renaming a unit (Save As). Finally fixes #21492.
git-svn-id: trunk@36381 -
2012-03-27 11:54:40 +00:00
juha
2510694d18 Converter: make TConvDelphiCodeTool.RenameResourceDirectives public. New Constuctor for TConvDelphiCodeTool.
git-svn-id: trunk@36373 -
2012-03-27 07:34:38 +00:00
juha
e002cb4bc6 Converter: Respect the "use same dfm" setting properly + clean RenameResourceDirectives code
git-svn-id: trunk@30510 -
2011-04-30 13:33:25 +00:00
juha
8b7d161446 Converter fix: Disabling a function replacement category was not respected.
git-svn-id: trunk@30020 -
2011-03-26 18:32:04 +00:00
mattias
77566ccf65 codetools: implemented scanning units in smaller chunks and successive scanning without deleting nodes
git-svn-id: trunk@29769 -
2011-03-09 20:52:44 +00:00
juha
f0f24c280f Converter: Omit some unit names from project. Settings GUI improvements. Refactoring.
git-svn-id: trunk@29452 -
2011-02-10 12:58:50 +00:00
juha
f714457e24 Converter: Try to improve Multi-Platform conversion on Windows.
git-svn-id: trunk@29389 -
2011-02-05 10:00:53 +00:00
juha
57a280722d Converter: Change sLineBreak to LineEnding for consistency.
git-svn-id: trunk@29387 -
2011-02-05 10:00:46 +00:00
juha
4f8d7a9757 Converter: Another revamp of settings GUI
git-svn-id: trunk@29377 -
2011-02-04 17:56:01 +00:00
juha
b19a97be58 Converter: cleanup.
git-svn-id: trunk@29374 -
2011-02-04 08:56:58 +00:00
juha
e187934649 Converter: improved and refactored lfm form file conversion, coordinate offsets and added properties.
git-svn-id: trunk@29346 -
2011-02-03 09:29:54 +00:00
mattias
19c0b3a5a2 codetools: always parse class nodes
git-svn-id: trunk@29336 -
2011-02-02 19:33:04 +00:00
juha
bbf5a4f50a Converter: improve function call replacement, allow any text in replacement parameters.
git-svn-id: trunk@29160 -
2011-01-22 16:01:03 +00:00
juha
b1cd52fbed Converter: Add unit name required by a replaced function call to uses section.
git-svn-id: trunk@28971 -
2011-01-12 12:45:02 +00:00
juha
ca4fb99240 Converter: FindUnitCaseInsensitive is fixed, remove workaround. Leave a local FindMissingUnits for better control.
git-svn-id: trunk@28931 -
2011-01-10 11:17:57 +00:00
juha
45134ce005 Converter: workaround for FindUnitCaseInsensitive reporting only 1 instance of missing unit with different casing.
git-svn-id: trunk@28918 -
2011-01-09 12:02:42 +00:00
juha
da3a1c47cd Converter: Fix function call replacement when a parameter has typecast or is another func call.
git-svn-id: trunk@28872 -
2011-01-06 11:53:42 +00:00
juha
c6415cbcb8 Converter: Add Interfaces section to right place when Delphi target is supported. Fixes issue #18023.
git-svn-id: trunk@28727 -
2010-12-16 12:44:38 +00:00
juha
1d89fbe3ce Converter: Major refactoring for missing units handling and some other parts.
git-svn-id: trunk@28670 -
2010-12-10 19:58:25 +00:00
mattias
9fa173599a IDE: clean up
git-svn-id: trunk@28450 -
2010-11-24 12:06:10 +00:00
juha
15785bf24f Converter: a patch from Stephano. Temporarily broken but applied to help co-operation and easier fixes.
git-svn-id: trunk@28438 -
2010-11-23 23:02:21 +00:00
juha
a6110a1e8b Converter: Check the number of params when replacing funcs. Prevents replacing a variable named Ptr to Pointer(nil).
git-svn-id: trunk@28293 -
2010-11-17 12:19:23 +00:00
mattias
46ee94d11d IDE: clean up
git-svn-id: trunk@28100 -
2010-11-05 17:50:32 +00:00
juha
e1a6a2e960 Converter: Treat main and implementation uses sections separately. Patch from Stephano, issue #0017578.
git-svn-id: trunk@28099 -
2010-11-05 16:38:12 +00:00
juha
b6a99db82e Converter: improved comments.
git-svn-id: trunk@28078 -
2010-11-04 22:30:41 +00:00
juha
1e3683325a Converter: minor comment changes.
git-svn-id: trunk@28064 -
2010-11-03 20:46:44 +00:00
juha
ee539962d8 Converter: check for nil pointers.
git-svn-id: trunk@28063 -
2010-11-03 20:46:38 +00:00
juha
c7e0f334c6 Converter: Handle units in main and implementation uses sections separately. Includes patch from issue #17578.
git-svn-id: trunk@28062 -
2010-11-03 20:17:54 +00:00
juha
6a1f9c0370 Converter: Add the forgotten file header license info and comment for ConvCodeTool.
git-svn-id: trunk@28061 -
2010-11-03 20:17:50 +00:00