Commit Graph

589 Commits

Author SHA1 Message Date
juha
7511dca4eb Converter: Fix an offset error in FromMapToGrid function.
git-svn-id: trunk@26343 -
2010-06-30 09:53:48 +00:00
juha
88536343f0 Converter: Improve saving and loading StringToStringTree to/from config.
git-svn-id: trunk@26230 -
2010-06-21 11:08:24 +00:00
juha
52bf35cbe2 Converter: Minor edits.
git-svn-id: trunk@26229 -
2010-06-21 11:08:19 +00:00
mattias
30d2db57ba IDE: clean up
git-svn-id: trunk@26129 -
2010-06-15 11:00:14 +00:00
juha
466f67f457 Converter: Cleanup.
git-svn-id: trunk@26128 -
2010-06-15 09:31:26 +00:00
juha
e15d883f82 Converter: there was an extra cycle with LFM replace loop. Fixed.
git-svn-id: trunk@26127 -
2010-06-15 09:31:20 +00:00
juha
47e48c80c5 Converter: New setting for interactive / automatic replacement of used units. Refactoring.
git-svn-id: trunk@26126 -
2010-06-15 08:24:29 +00:00
juha
60b1d16bc6 Converter: More settings GUI improvements.
git-svn-id: trunk@26125 -
2010-06-15 08:24:25 +00:00
juha
b44b289a90 Converter: make Target texts more readable.
git-svn-id: trunk@26124 -
2010-06-15 08:24:19 +00:00
juha
4db2a4b227 Converter: Settings GUI improvements.
git-svn-id: trunk@26123 -
2010-06-15 08:24:14 +00:00
juha
c87d37f6a1 Converter: Add package dependency to project.
git-svn-id: trunk@26122 -
2010-06-15 08:24:09 +00:00
juha
203c81a648 Converter: Reduce parameters to ConvCodeTool.
git-svn-id: trunk@26121 -
2010-06-15 08:24:04 +00:00
juha
6697f885f6 Converter: AddUnit function is not needed for Packages after all -> remove.
git-svn-id: trunk@26103 -
2010-06-14 07:35:36 +00:00
juha
be5ea84897 Converter: refactoring, extract identical code into a function.
git-svn-id: trunk@26102 -
2010-06-14 07:35:29 +00:00
mattias
a65477c638 IDE: clean up
git-svn-id: trunk@26081 -
2010-06-13 11:50:22 +00:00
juha
c396d09428 Converter: convert also units added to project during conversion.
git-svn-id: trunk@26079 -
2010-06-13 11:25:35 +00:00
juha
f7eabc0679 Converter: Improve StringGrid's popup menu behavior. Make grid's name shorter.
git-svn-id: trunk@25997 -
2010-06-08 21:46:29 +00:00
juha
919e928e2c Converter: Set forms' Position = poScreenCenter.
git-svn-id: trunk@25996 -
2010-06-08 21:46:25 +00:00
juha
bc2773b52f Converter: separate missing properties and class types to their own grids.
git-svn-id: trunk@25994 -
2010-06-08 21:46:17 +00:00
juha
67e574cfdb Converter: Add popup menu and Insert / Delete options for replacement string grid.
git-svn-id: trunk@25967 -
2010-06-08 12:53:53 +00:00
juha
666532d672 Converter: Remove old items from config if they are removed from StringTree.
git-svn-id: trunk@25966 -
2010-06-08 12:53:48 +00:00
juha
9a1b70b22a Converter: Refactor adding replacements.
git-svn-id: trunk@25965 -
2010-06-08 12:53:44 +00:00
juha
3fbb671e00 Converter: Add an empty row automatically to StringGrid.
git-svn-id: trunk@25951 -
2010-06-06 11:38:15 +00:00
juha
fcff6da8ef Converter: add default values to unit and type replacements one by one, also if some are saved in config file.
git-svn-id: trunk@25948 -
2010-06-06 09:52:46 +00:00
juha
82b4690c18 Converter: Fix an error from earlier commit.
git-svn-id: trunk@25947 -
2010-06-06 09:52:42 +00:00
juha
4715269597 Converter: add Mask -> MaskEdit mapping to replacement units.
git-svn-id: trunk@25939 -
2010-06-05 23:24:33 +00:00
juha
69a213cd8d Converter: Den't rename unit files to lowercase, change the name in uses section instead.
git-svn-id: trunk@25938 -
2010-06-05 23:24:29 +00:00
juha
991452e4a2 Save settings to ConfigStorage. Improved FixMainClassAncestor.
git-svn-id: trunk@25864 -
2010-06-03 12:59:50 +00:00
juha
f622d42123 Converter: cleanup for function FixMainClassAncestor.
git-svn-id: trunk@25840 -
2010-06-02 10:31:19 +00:00
juha
bd7f593d03 Converter: minor layout change.
git-svn-id: trunk@25839 -
2010-06-02 10:31:10 +00:00
juha
4b7f43a42a Converter: Remove CheckLFM which was copied from stdcodetools.
git-svn-id: trunk@25835 -
2010-06-02 08:30:23 +00:00
juha
862ca8e32c Converter: Added FixMainClassAncestor function. Changes type to a fall-back type.
git-svn-id: trunk@25834 -
2010-06-02 08:30:15 +00:00
juha
da875639b2 Converter: ButtonPanel in ConvertSettings.
git-svn-id: trunk@25833 -
2010-06-02 08:30:08 +00:00
juha
5f12d632f8 Improve form converter code and refactor to allow more improvements later.
git-svn-id: trunk@25832 -
2010-06-02 08:30:00 +00:00
mattias
bb55ccecbd IDE: started upgrade of xml units
git-svn-id: trunk@25647 -
2010-05-25 20:37:53 +00:00
martin
720381e689 Delphi-converter: Fixed mem leaks
git-svn-id: trunk@25084 -
2010-04-30 23:49:25 +00:00
juha
5b24e1fcc4 Converter: Replace also Kylix Q* unit names.
git-svn-id: trunk@24619 -
2010-04-14 11:40:46 +00:00
mattias
0dffe43cf2 IDE: clean up
git-svn-id: trunk@24597 -
2010-04-12 11:14:09 +00:00
juha
56e426c037 Converter: Cleanup.
git-svn-id: trunk@24594 -
2010-04-12 08:29:51 +00:00
juha
b81f0445eb Converter: Regexp syntax for used unit replacements. Refactoring code for it.
git-svn-id: trunk@24576 -
2010-04-11 11:39:54 +00:00
juha
70b2f4f640 Improved messages. Don't save project before fixing form files after all.
git-svn-id: trunk@24552 -
2010-04-10 11:44:59 +00:00
juha
1de8262018 Converter: Better fall-back replacement types. Minor changes.
git-svn-id: trunk@24551 -
2010-04-10 11:44:50 +00:00
juha
cc4e4f5b3b Converter: Improved messages, added Application.ProcessMessages to show them in real time.
git-svn-id: trunk@24544 -
2010-04-09 22:03:46 +00:00
juha
b0e764ffa6 Converter: Rename project's files to lowercase. Use HourGlass cursor for long operations. Etc...
git-svn-id: trunk@24537 -
2010-04-09 15:05:08 +00:00
juha
70bba5faca Converter: fix renaming units with wrong casing. Needed in case-sensitive file systems.
git-svn-id: trunk@24496 -
2010-04-08 10:47:12 +00:00
martin
2c6d401dc3 IDE: Clean up
git-svn-id: trunk@24381 -
2010-04-03 16:51:20 +00:00
juha
2acd1a1c59 Converter: RegExp matching for replacement types.
git-svn-id: trunk@24366 -
2010-04-02 07:03:12 +00:00
juha
e4948d741a Converter: Support automatic removal of unknown properties.
git-svn-id: trunk@24355 -
2010-04-01 13:25:54 +00:00
juha
b03f1d9fb6 Converter: Allow configurable unit name changes in Uses section. Refactoring.
git-svn-id: trunk@24354 -
2010-04-01 13:25:48 +00:00
juha
6269b46af9 Use {$IFNDEF FPC} instead of {$IFDEF FPC} so that Delphi can also maintain the code.
git-svn-id: trunk@24353 -
2010-04-01 13:25:39 +00:00
martin
824a3c686c IDE, Project: Refactor: extracted editor session info from UnitInfo
git-svn-id: trunk@24324 -
2010-03-31 22:32:24 +00:00
juha
eeaeeb9665 Converter: Add popup menu to missing units list for selecting, unselecting and saving items.
git-svn-id: trunk@24315 -
2010-03-31 14:21:35 +00:00
juha
970e7d1bcd Converter: Stay with the same unit after user cancels the search dir dialog.
git-svn-id: trunk@24314 -
2010-03-31 14:21:30 +00:00
juha
3e9808f2c7 Converter: Remember previous search path for missing units. Var name changes.
git-svn-id: trunk@24313 -
2010-03-31 14:21:25 +00:00
juha
38b16d52cb Converter: Change dialog button text from "OK" to "Start Conversion"
git-svn-id: trunk@24308 -
2010-03-31 07:51:17 +00:00
juha
29406db1a2 Converter: Remove annoying messagebox when part of the units were found.
git-svn-id: trunk@24307 -
2010-03-31 07:51:11 +00:00
juha
f9cad14768 Converter: Show missing units in a CheckListBox and let user select them.
git-svn-id: trunk@24304 -
2010-03-30 22:39:26 +00:00
juha
7160d8d160 Converter: More fallback LCL components for Delphi VCL components.
git-svn-id: trunk@24294 -
2010-03-30 10:38:18 +00:00
juha
d25b0a5799 Converter: use {$IFDEF FPC} instead of {$IFDEF LCL}
git-svn-id: trunk@24266 -
2010-03-28 18:09:00 +00:00
juha
699d0d13ba Make "convert DFM" menu text more truthful. Improve and refactor its code.
git-svn-id: trunk@24265 -
2010-03-28 16:52:56 +00:00
juha
43d6c3245c Unify codebuffer variable names.
git-svn-id: trunk@24240 -
2010-03-27 11:11:35 +00:00
juha
4987a693fb Converter: UI improvements. Replacement names editor.
git-svn-id: trunk@24238 -
2010-03-27 09:03:47 +00:00
juha
878b9cd77a Replacement property and type editor.
git-svn-id: trunk@24237 -
2010-03-27 08:57:38 +00:00
juha
1d27d08993 Use the new parameter signature for RetypeClassVariables.
git-svn-id: trunk@24224 -
2010-03-26 14:34:33 +00:00
juha
ca0b3c395b Replace class member object types also to pascal source buffer.
git-svn-id: trunk@24223 -
2010-03-26 14:34:29 +00:00
juha
afdba5afae Converter: for Delphi compat, copy .dfm to .lfm and add IFDEF for compilation.
git-svn-id: trunk@24222 -
2010-03-26 14:34:25 +00:00
juha
07f218abd9 Converter: Let Delphi use missing units instead of commenting them out.
git-svn-id: trunk@24184 -
2010-03-23 16:14:33 +00:00
juha
a1ba019bb2 Implemented replacing properties and class types in form files.
git-svn-id: trunk@24155 -
2010-03-21 22:06:01 +00:00
martin
e1290c555d Ide/Project; SourceEditor: Start using SourceEditorManager (for multi-window handling)
git-svn-id: trunk@24045 -
2010-03-16 16:16:32 +00:00
mattias
feac6a08fe IDE: clean up
git-svn-id: trunk@24010 -
2010-03-15 11:34:48 +00:00
juha
dcfee90444 Moved check lfm code to ide/checklfmdlg and reused it in converter/missingpropertiesdlg. No functional changes.
git-svn-id: trunk@23988 -
2010-03-14 08:40:00 +00:00
juha
dd1dc0c198 Refactoring and finetuning for missing properties dlg.
git-svn-id: trunk@23987 -
2010-03-14 08:03:03 +00:00
juha
e8e8dd5595 Refactored MissingPropertiesDlg.
git-svn-id: trunk@23986 -
2010-03-14 08:02:57 +00:00
mattias
44ffe4dddf IDE: clean up
git-svn-id: trunk@23805 -
2010-02-28 21:40:03 +00:00
juha
5eac2d3633 Initial version of missing properties fixer.
git-svn-id: trunk@23803 -
2010-02-27 15:05:53 +00:00
juha
d2e5e835fa Remove duplicate Variants from uses section.
git-svn-id: trunk@23802 -
2010-02-27 15:05:48 +00:00
juha
722da95ece Initial version of missing properties fixer.
git-svn-id: trunk@23801 -
2010-02-27 15:02:32 +00:00
juha
611903515a Conversion settings UI tweaking.
git-svn-id: trunk@23800 -
2010-02-27 08:30:21 +00:00
juha
2e04a02ac4 Added convert target radiobuttons and Lazarus for Windows target.
git-svn-id: trunk@23799 -
2010-02-26 20:00:42 +00:00
juha
0e94fe8c52 Added "LCLType" and "LMessages" to uses section.
git-svn-id: trunk@23798 -
2010-02-26 13:16:25 +00:00
juha
3ecf31a967 Conditional compilation for Delphi / LCL.
git-svn-id: trunk@23796 -
2010-02-26 10:58:11 +00:00
juha
b33ff9af8f Removed .lrs resource support and replaced it with FPC resources (Delphi compatible)
git-svn-id: trunk@23790 -
2010-02-25 15:37:52 +00:00
juha
9f7ad44770 Improve source conversion. Edits in uses section are first collected to lists.
git-svn-id: trunk@23784 -
2010-02-25 02:19:24 +00:00
mattias
523fc39684 IDE: delphi project converter: fixed changing uses section
git-svn-id: trunk@23781 -
2010-02-24 21:57:50 +00:00
juha
5d118994a9 Moved Delphi source conversion from codetools to new ConvCodeTool unit. Include .RES to .res patch.
git-svn-id: trunk@23764 -
2010-02-23 09:35:20 +00:00
juha
126a2ed0a9 Moved Delphi source conversion to a new unit.
git-svn-id: trunk@23763 -
2010-02-23 09:32:13 +00:00
juha
f544798b1e Remove obsolete converter files. Code is moved to convertdelphi.pas + other files.
git-svn-id: trunk@23744 -
2010-02-19 20:03:50 +00:00
juha
ba7a0acf0f Added new setting for new FPC resource. Not implemented yet.
git-svn-id: trunk@23743 -
2010-02-19 20:03:09 +00:00
juha
02d3747e5f Improved error messages and error handling.
git-svn-id: trunk@23733 -
2010-02-18 20:15:00 +00:00
juha
0fd87127ff Improved single unit conversion.
git-svn-id: trunk@23731 -
2010-02-18 13:23:36 +00:00
juha
549a1a5533 Refactored and improved converter files.
git-svn-id: trunk@23727 -
2010-02-17 17:02:34 +00:00
mattias
906f2abcb0 IDE: delphi converter: added flag cdtlufIgnoreUsedUnits
git-svn-id: trunk@23687 -
2010-02-11 09:35:13 +00:00
mattias
dbcecc82ab IDE: delphi converter: fix missing units after removing windows unit, bug #15641
git-svn-id: trunk@23686 -
2010-02-11 09:14:52 +00:00
mattias
e01fe377a6 IDE: delphi converter: silently adding interfaces unit, bug #15641
git-svn-id: trunk@23685 -
2010-02-11 09:08:57 +00:00
mattias
72ddc78ce6 IDE: delphi project converter: fixed crash, if lpi already exists, bug #15641
git-svn-id: trunk@23684 -
2010-02-11 09:02:12 +00:00
paul
99807fc2f6 converter: convert forms to use fpc resources
git-svn-id: trunk@23466 -
2010-01-15 03:17:56 +00:00
mattias
014fabf316 IDE: added resource string
git-svn-id: trunk@23282 -
2009-12-25 13:43:02 +00:00
mattias
a6b1e4deb8 IDE: fixed uninitialized result, bug #15000
git-svn-id: trunk@22548 -
2009-11-12 17:53:09 +00:00
mattias
f50db1cec7 IDE: delphi converter: fixed uninitialized result
git-svn-id: trunk@22462 -
2009-11-06 09:54:27 +00:00
mattias
5f4c6b579f IDE: added more ShowAbort flags
git-svn-id: trunk@19651 -
2009-04-27 18:08:58 +00:00
paul
2e51bdcb37 ide, converter: change window position from designed to screen center
git-svn-id: trunk@19419 -
2009-04-13 23:24:55 +00:00
mattias
13d580f6d8 IDE: making some abort buttons context sensitive
git-svn-id: trunk@19387 -
2009-04-12 22:53:16 +00:00
laurent
4b344f137a IDE: rename the images to avoid overload
git-svn-id: trunk@17660 -
2008-12-02 13:28:21 +00:00
darius
b79bb5fee2 added help button to dialog
git-svn-id: trunk@16975 -
2008-10-11 22:23:16 +00:00
laurent
dd28cb447d Load glyph form resource and somme resourcestrings
git-svn-id: trunk@16705 -
2008-09-24 12:56:01 +00:00
mattias
545bdbd2b5 IDE: added resourcestrings
git-svn-id: trunk@16549 -
2008-09-11 18:59:37 +00:00
mattias
c93c466bc0 IDE: changing encoding of virtual files improved, IDE: added tool to change encoding of projects/packages
git-svn-id: trunk@16527 -
2008-09-10 22:04:20 +00:00
mattias
69cfe88898 using UTF-8 for file operations and environment variables
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
mattias
19b259bb99 IDE: removed auto resolving symlinks. Filenames must fit the search paths
git-svn-id: trunk@15795 -
2008-07-16 23:22:54 +00:00
mattias
5d66571b44 IDE: implemented parsing LCLVersion from lfm, added ResourceBaseClass to TUnitInfo and TPkgFile
git-svn-id: trunk@15106 -
2008-05-12 16:59:43 +00:00
mattias
b5b38344d5 IDE: always creating the custom defines templates for package source directories, so that IDE add-ons can add their own settings
git-svn-id: trunk@11099 -
2007-05-08 08:38:03 +00:00
vincents
93cdf93327 Converter: fixed access violation (bug #7503)
git-svn-id: trunk@10269 -
2006-12-01 08:47:19 +00:00
mattias
f7855da268 IDE: moved package compile code to packagesystem, IDEIntf: removed IsPartOfProject flag of Backup functions, lazbuidl: package compiling
git-svn-id: trunk@9821 -
2006-09-06 22:40:37 +00:00
mattias
47a7425d7c set button/bitbtn borderspacing.innerborder to 4
git-svn-id: trunk@9335 -
2006-05-22 08:10:49 +00:00
mattias
9c1a175b91 fixed typos makro
git-svn-id: trunk@9271 -
2006-05-13 12:00:43 +00:00
mattias
2f2c92352b code templates: fixed reading new lines at start of template
git-svn-id: trunk@9259 -
2006-05-12 08:27:08 +00:00
mattias
81729dd840 implemented saving form as xml
git-svn-id: trunk@9172 -
2006-04-23 22:46:41 +00:00
mattias
a70721d9df renamed compiler options includefiles to IncludePath
git-svn-id: trunk@9127 -
2006-04-15 11:52:04 +00:00
mattias
cc4020a589 renamed msgintf.pas to idemsgintf.pas
git-svn-id: trunk@9082 -
2006-04-05 19:58:42 +00:00
mattias
1d9f747f93 delphi package conversion: implemented converting package units
git-svn-id: trunk@8978 -
2006-03-22 01:10:33 +00:00
mattias
0cb3ad4814 Delphi package conversion: started conversion of package units
git-svn-id: trunk@8975 -
2006-03-22 00:15:42 +00:00
mattias
93f2393650 implemented Delphi package conversion of .cfg and .dof
git-svn-id: trunk@8974 -
2006-03-21 17:48:11 +00:00
mattias
ed534f773e started Delphi package conversion tool
git-svn-id: trunk@8970 -
2006-03-21 13:17:55 +00:00
mattias
ae450142cf improved delphi conversion, include paths and error handling
git-svn-id: trunk@8969 -
2006-03-21 12:21:53 +00:00
mattias
2fd40eed9d clean up delphi unit conversion
git-svn-id: trunk@8962 -
2006-03-18 21:47:56 +00:00
mattias
2efffcd1b1 fixed newdialog to update description on key navigation
git-svn-id: trunk@8921 -
2006-03-12 23:14:56 +00:00
mattias
4cc456c4b3 fixed commenting multiple units, implemented Delphi project conversion: cleaning up units and non existing search paths
git-svn-id: trunk@8901 -
2006-03-09 23:29:20 +00:00
mattias
852c5983c4 added cancel dlg, when delphi unit conversion failed and fixed designer tab order dlg show old values from Darius
git-svn-id: trunk@8892 -
2006-03-08 22:49:35 +00:00
mattias
dddf196254 added project clean up and unit path clean up for Delphi project converter
git-svn-id: trunk@8890 -
2006-03-08 02:44:09 +00:00
mattias
3d68fcda88 improved delphi unti conversion to keep lfm files
git-svn-id: trunk@8889 -
2006-03-08 01:01:37 +00:00
mattias
8b5eb2d7ef fixed maximize button
git-svn-id: trunk@8888 -
2006-03-08 00:25:59 +00:00
mattias
3c7832808c fixed double clicking on treeview without node
git-svn-id: trunk@8876 -
2006-03-07 11:01:48 +00:00
mattias
0fdb95d4a6 improved Delphi project converter with reading .dof and .cfg file, multiple retries and fixing include filenames in .lpr
git-svn-id: trunk@8868 -
2006-03-05 23:55:40 +00:00
mattias
5bb39b97a3 clearing session modified flags
git-svn-id: trunk@8862 -
2006-03-03 00:32:47 +00:00
mattias
340a6fcb24 implemented saving last delphi conversion project/unit
git-svn-id: trunk@8860 -
2006-03-02 11:14:10 +00:00
mattias
390e6599a0 fixed synedit invalidating partially visible line and selection from bottom to top
git-svn-id: trunk@8859 -
2006-03-02 09:22:23 +00:00
mattias
17f7100bdb moved IDE functions to convert delphi projects to unit of its own
git-svn-id: trunk@8853 -
2006-03-01 12:12:42 +00:00
mattias
fb16ad9a8f started parsing Delphi dof and cfg files
git-svn-id: trunk@8788 -
2006-02-20 23:48:13 +00:00
mattias
2d4316de8b moved delphiunit2laz.pas to converter directory
git-svn-id: trunk@8785 -
2006-02-20 21:52:23 +00:00