Commit Graph

547 Commits

Author SHA1 Message Date
juha
de4036b130 Converter: Use the plain (not cleaned) source when replacing compiler directives. Issue #27528.
git-svn-id: trunk@47984 -
2015-02-24 22:57:05 +00:00
juha
4cd255ca7f Converter: Fix converting DFM form files. Last char was left out. Issue #27446.
git-svn-id: trunk@47827 -
2015-02-16 12:17:28 +00:00
juha
abf9a845da Deprecate wrappers for LazUTF8 functions in LCLProc.
git-svn-id: trunk@47604 -
2015-02-06 18:25:31 +00:00
juha
86cf88320b IDE: Replace test "Package" with "Unit" in component palette options. Reuse the resource string.
git-svn-id: trunk@47117 -
2014-12-05 12:37:55 +00:00
juha
934571346f Converter: Clear old left-over values when saving configuration. (Remove a hack)
git-svn-id: trunk@46868 -
2014-11-15 20:40:55 +00:00
mattias
3ee0203df5 converter: unicode file names
git-svn-id: trunk@46826 -
2014-11-12 19:27:26 +00:00
juha
8de1712110 Converter: fix layout error in Missing Properties dialog. Use AutoSize.
git-svn-id: trunk@46749 -
2014-11-04 18:43:23 +00:00
maxim
c3a8b46a04 Converter: actually show 'Other' groupbox hint in conversion settings dialog
git-svn-id: trunk@46420 -
2014-10-04 00:02:15 +00:00
juha
e0d0b1d047 Converter: Localization, add one missing ResourceString. Issue #26498.
git-svn-id: trunk@46409 -
2014-10-02 21:58:03 +00:00
juha
e460c806cb Converter: don't convert CreateFile and ReadFile by default. Issue #24767.
git-svn-id: trunk@46407 -
2014-10-02 15:29:41 +00:00
juha
3e7bb391dc Converter: Improve localization. Issue #26498.
git-svn-id: trunk@46405 -
2014-10-02 15:10:29 +00:00
juha
44073052c7 Converter: Improve settings GUI. Add a checkbox for disabling the scanning of parent dir.
git-svn-id: trunk@46399 -
2014-10-01 23:36:53 +00:00
juha
f980457103 LCL: Make TComboExItems more Delphi compatible. Rename Add -> AddItem. Remove obsolete delphi conversion. Issue #26755, patch from ocean.
git-svn-id: trunk@46275 -
2014-09-21 17:17:55 +00:00
juha
6f59df453d Converter: ChgEncodingDlg, compile regular expression right after setting it to catch exceptions. Issue #26497
git-svn-id: trunk@46030 -
2014-08-10 23:28:23 +00:00
mattias
e3e3c31ab3 IDE: clean up old external tools
git-svn-id: trunk@45946 -
2014-07-20 20:15:40 +00:00
juha
f7d6fb47ee IDE: Adjust grid columns in change encoding dialog. Issue #26496, patch from _Gábor
git-svn-id: trunk@45932 -
2014-07-19 22:49:49 +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
4fbeea1dfd IDE: ... and more hard-coded quotations in resourcestrings.
git-svn-id: trunk@45521 -
2014-06-15 11:52:27 +00:00
juha
75b7c1bd1e IDE: Use hard-coded quotation in some resourcestrings instead of %s parameters.
Makes Format() calls and translations easier although initially creates fuzzy lines in PO files.

git-svn-id: trunk@45519 -
2014-06-15 11:52:01 +00:00
juha
ae302f31b2 Converter: Do not convert ansi control characters to unicode. Issue #26274, patch from Jesus Reyes.
git-svn-id: trunk@45417 -
2014-06-08 23:48:37 +00:00
mattias
403ed545d1 IDE: enabled new external tools by default, use old code with -dEnableOldExtTools
git-svn-id: trunk@45396 -
2014-06-08 10:19:28 +00:00
juha
8e15025003 Converter: Convert also function SameStr. For some reason SysUtils does not have it.
git-svn-id: trunk@43789 -
2014-01-25 09:20:18 +00:00
juha
0e189386d9 Fix comments, formatting
git-svn-id: trunk@43726 -
2014-01-15 00:08:42 +00:00
maxim
48105e1be2 Converter: improved localization
git-svn-id: trunk@43556 -
2013-12-16 22:10:52 +00:00
juha
2e701c907d Codetools: make CheckLfm report an object which is missing from pascal source. Fixes issues #24473 and #25425
git-svn-id: trunk@43550 -
2013-12-16 00:18:27 +00:00
juha
52c26ec4d5 Converter: optimize function replacement, use binary search and skip short identifiers.
git-svn-id: trunk@43198 -
2013-10-10 22:20:05 +00:00
juha
41d824bbe4 Converter: Fix a crash when a replaced function had brackets '()' without parameters.
git-svn-id: trunk@43195 -
2013-10-10 15:53:36 +00:00
juha
354c863fdb Converter: replace TrimFilename with ResolveDots.
git-svn-id: trunk@43183 -
2013-10-08 21:27:19 +00:00
paul
7f4caeb374 ide, components: move images related code to use FPC resource instead of Lazarus resources
git-svn-id: trunk@42984 -
2013-09-27 12:27:04 +00:00
paul
102a858398 lcl, ide: redo LoadGlypFromResource to LoadGlyphFromResourceName with ability to pass an Instance handle
git-svn-id: trunk@42972 -
2013-09-27 08:44:38 +00:00
paul
9e96f9c9a9 ide: don't load standard button images from lazarus resources anymore
git-svn-id: trunk@42960 -
2013-09-27 03:17:50 +00:00
juha
38c9ffd3c6 Converter: Define PUREPASCAL for units during conversion when simulate Delphi defines is set.
git-svn-id: trunk@42910 -
2013-09-22 21:15:47 +00:00
mattias
2883336781 IDE: sourcemarks: break cycle
git-svn-id: trunk@42891 -
2013-09-19 20:06:45 +00:00
juha
0b0e7eb4b0 Converter: add Self parameter to RecreateWnd call in converted code.
git-svn-id: trunk@42887 -
2013-09-19 19:40:51 +00:00
mattias
f66fa252fc IDE: renamed SetPathDelims to GetForcedPathDelims
git-svn-id: trunk@42698 -
2013-09-09 10:28:10 +00:00
mattias
ac4996ff62 replaced SetDirSeparators with SetPathDelims
git-svn-id: trunk@42685 -
2013-09-08 20:58:12 +00:00
juha
96cadebf6e Converter: tweak messages
git-svn-id: trunk@42493 -
2013-08-25 10:26:49 +00:00
juha
01d108a107 Converter: add "ignore case" modifier for regular expressions for replacing units, types and functions.
git-svn-id: trunk@42492 -
2013-08-25 10:26:45 +00:00
juha
b12f09fa58 Converter: Fix the regular expression for TNT unit replacements.
git-svn-id: trunk@42491 -
2013-08-25 09:30:44 +00:00
juha
92e150fbd9 Converter: add some units from TNT components to be replaced.
git-svn-id: trunk@42490 -
2013-08-25 08:51:39 +00:00
juha
5e88daf9f5 Converter: refactor and clean.
git-svn-id: trunk@42465 -
2013-08-23 17:38:31 +00:00
juha
f0e3321128 Converter: fix the default checked value for missing units checkboxes.
git-svn-id: trunk@42464 -
2013-08-23 17:38:27 +00:00
juha
f770004bfc Converter: Optimize commenting units in main and implementation uses sections.
git-svn-id: trunk@42463 -
2013-08-23 17:38:22 +00:00
juha
0d842e4c25 Converter: improve the GUI for commenting / skipping missing units.
git-svn-id: trunk@42459 -
2013-08-23 11:47:16 +00:00
juha
cfaa54be18 Converter: fix comment
git-svn-id: trunk@42447 -
2013-08-22 11:56:18 +00:00
juha
d474dc97c9 Converter: cleanup
git-svn-id: trunk@42441 -
2013-08-21 08:07:38 +00:00
mattias
f7c7f989ee IDE: further migration external tools
git-svn-id: trunk@42342 -
2013-08-05 07:26:12 +00:00
mattias
ddd03e966d IDE: further migration external tools
git-svn-id: trunk@42335 -
2013-08-04 20:34:00 +00:00
mattias
cf4f0b577b IDE: further migration external tools
git-svn-id: trunk@42295 -
2013-08-03 19:33:59 +00:00
mattias
109e2af7e6 IDE: clean up
git-svn-id: trunk@42284 -
2013-08-03 15:07:55 +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
2a00da9fec Converter: improve WideString conversion. Not all nums are 3 characters long. Issue #23116
git-svn-id: trunk@41975 -
2013-07-02 17:44:17 +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
c75d6e62dc Converter: correct file name for error message.
git-svn-id: trunk@41970 -
2013-07-02 16:14:53 +00:00
juha
219041d762 Converter: debug messages for the fall-bakc replacement.
git-svn-id: trunk@41968 -
2013-07-02 13:21:00 +00:00
juha
1cc1c541af Converter: do dummy string replacement for known problematic syntax when CodeTools raised an exception. Issue #23552
git-svn-id: trunk@41967 -
2013-07-02 12:57:31 +00:00
juha
09cfe454ce Converter, char encoding window: less debug messages.
git-svn-id: trunk@41966 -
2013-07-02 12:57:16 +00:00
juha
2667dcf7f4 Converter: convert Windows WideString syntax (#xxx) to UTF8 in LFM files. Issue #23116
git-svn-id: trunk@41962 -
2013-07-01 23:33:50 +00:00
juha
c1af98e79a Converter: less verbosity
git-svn-id: trunk@41960 -
2013-07-01 23:33:25 +00:00
juha
0c732a1c4c Converter: Cleanup. Get rid of an excess variable.
git-svn-id: trunk@41959 -
2013-07-01 23:33:00 +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
bdc7156f0f Converter: backup also include files + minor refactoring.
git-svn-id: trunk@41946 -
2013-06-30 06:43:29 +00:00
juha
af3f23c7b6 Converter: improve replacing used a unit with a comma separated list of units.
git-svn-id: trunk@41931 -
2013-06-28 10:36:39 +00:00
juha
abfeceefbf Converter: use an existing string constant.
git-svn-id: trunk@41927 -
2013-06-27 16:04:17 +00:00
juha
e48de26440 Converter: Make sure the same unit will not be added again after AddUnitImmediately.
git-svn-id: trunk@41799 -
2013-06-22 13:30:48 +00:00
juha
ae92b35e79 Converter: fix label text for path. It is used for projects, packages and units.
git-svn-id: trunk@41798 -
2013-06-22 13:30:34 +00:00
juha
21cba76a0d Converter: fix fPrevSelectedPath. Renaming vars.
git-svn-id: trunk@41760 -
2013-06-18 11:19:51 +00:00
juha
23ca7bd6a5 Converter: fix unit conversion in different situations. Issue #24527
git-svn-id: trunk@41736 -
2013-06-16 23:42:46 +00:00
juha
d4936c7bdc Converter: show settings dialog only once when converting many unit files. Improve settings GUI.
git-svn-id: trunk@41735 -
2013-06-16 23:42:42 +00:00
juha
96e7696f47 Converter: use a DefineTemplate for compiler mode "delphi" when converting single unit files.
git-svn-id: trunk@41734 -
2013-06-16 23:42:36 +00:00
juha
0f05e34b89 Converter: Search package and unit for missing component class only for project and package conversion. Issue #24527
git-svn-id: trunk@41730 -
2013-06-16 13:30:54 +00:00
juha
98aef1c568 Converter: cleanup + remove dead code
git-svn-id: trunk@41726 -
2013-06-16 12:15:49 +00:00
juha
66f27316e6 Converter: add to project/package also files without path definition in the main source file
git-svn-id: trunk@41725 -
2013-06-16 12:15:39 +00:00
juha
d746b1bcb4 Converter: improve error handling in package conversion the same way project conversion has
git-svn-id: trunk@41713 -
2013-06-14 13:45:37 +00:00
juha
673142547e Converter + codetools: try to find out why FInterfaceIdentifierCache is Nil sometimes in TFindDeclarationTool.FindIdentifierInInterface.
git-svn-id: trunk@41712 -
2013-06-14 13:45:12 +00:00
mattias
6e20536c6f IDE: clean up
git-svn-id: trunk@41706 -
2013-06-13 21:02:18 +00:00
juha
6945bd6608 Converter: improve log message for adding "SimplePanel = False" to StatusBar.
git-svn-id: trunk@41702 -
2013-06-13 10:47:12 +00:00
juha
93903dc029 Converter: move Application.ProcessMessages to better places.
git-svn-id: trunk@41701 -
2013-06-13 10:47:06 +00:00
juha
09a25e6d5f Converter: improve deleting files when LCL or LazUtils has a unit with same name.
git-svn-id: trunk@41671 -
2013-06-10 22:11:28 +00:00
juha
cfa52d59ed Converter: fix compilation
git-svn-id: trunk@41666 -
2013-06-10 14:42:06 +00:00
juha
cff5dd3116 Converter: optionally delete files in project dir if LCL has a unit with same name.
git-svn-id: trunk@41665 -
2013-06-10 14:32:53 +00:00
mattias
c2216e706e IDE: fixed uninitialized result
git-svn-id: trunk@41662 -
2013-06-10 11:16:07 +00:00
mattias
6f186d11c1 IDE: clean up
git-svn-id: trunk@41661 -
2013-06-10 11:09:37 +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
66c76d4f6f Converter: make sure the LFM checks don't end up to eternal loops.
git-svn-id: trunk@41637 -
2013-06-09 14:34:36 +00:00
maxim
76cc6180d1 Converter: Improved Converter Settings dialog localization
git-svn-id: trunk@41631 -
2013-06-09 13:38:48 +00:00
juha
01807a29cd Converter: Remove invalid properties also after replacing a component type. Issue #24527
git-svn-id: trunk@41619 -
2013-06-09 10:05:20 +00:00
juha
90fc05b7ce Converter: optimize, use existing main file name.
git-svn-id: trunk@41601 -
2013-06-08 19:18:19 +00:00
juha
39efd79f55 Converter: fix errors in project conversion caused by recent changes.
git-svn-id: trunk@41600 -
2013-06-08 18:36:05 +00:00
juha
2fbada7281 Converter: Add a flag for "Register" procedure in a packages's unit.
git-svn-id: trunk@41595 -
2013-06-08 16:32:47 +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
6c7d3d2d5b Converter: improve comments
git-svn-id: trunk@41590 -
2013-06-08 16:32:21 +00:00
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