Commit Graph

476 Commits

Author SHA1 Message Date
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