juha
f756975ade
Packager: Update editors always when package is modified, not only after first modification.
...
git-svn-id: trunk@46116 -
2014-09-03 10:57:55 +00:00
juha
f91bff8d37
PackageEditor: Fix removing many files. Update Files and RemovedFiles separately. Don't update everything after removing a file (issue #26188 ).
...
git-svn-id: trunk@46110 -
2014-09-02 21:35:21 +00:00
juha
b6accfde69
Packager: Update editors only if Modified = True.
...
git-svn-id: trunk@46109 -
2014-09-02 21:35:20 +00:00
mattias
322062cc24
IDE: clean up
...
git-svn-id: trunk@45989 -
2014-07-28 18:50:07 +00:00
mattias
3c5b54a8c3
IDE: what needs building: check indirect dependencies
...
git-svn-id: trunk@45978 -
2014-07-25 19:00:19 +00:00
mattias
b3807641a3
IDE: move/copy multiple files via dnd from package editors/project inspector
...
git-svn-id: trunk@45977 -
2014-07-25 18:13:56 +00:00
mattias
dd64d2e479
IDE: added macro FPC_FULLVERSION, added conditionals function GetProjValue for packages, only parameter now: FPC_FULLVERSION
...
git-svn-id: trunk@45958 -
2014-07-23 19:22:38 +00:00
mattias
de1b9bea42
IDE: TIDEProjPackBase changed to TComponent
...
git-svn-id: trunk@45956 -
2014-07-23 11:32:58 +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
54b39f97e9
IDE: fix compilation
...
git-svn-id: trunk@45898 -
2014-07-16 20:16:04 +00:00
juha
4e5955ac69
IDE: Use IProjPack interface for TProject and TLazPackage.
...
git-svn-id: trunk@45896 -
2014-07-16 20:01:57 +00:00
juha
bcad8a0a98
IDE: use FLazCompilerOptions variable in inherited project/package classes. Remove copied var FCompilerOptions.
...
git-svn-id: trunk@45892 -
2014-07-16 19:59:11 +00:00
juha
539b683d28
Packager and IdeIntf: formatting
...
git-svn-id: trunk@45804 -
2014-07-06 22:37:56 +00:00
juha
e8889c7f72
Make TLazPackage own an instance of IDEOptions instead of inheriting from it.
...
git-svn-id: trunk@45803 -
2014-07-06 22:37:50 +00:00
juha
a00d920533
Package editor: update only TreeNode's image after changing file's HasRegisterProc property. Part of issue #26188
...
git-svn-id: trunk@45737 -
2014-06-30 14:34:53 +00:00
mattias
95e940dff4
IDEIntf: using TIDEOwnedFile as common ancestor of TLazPackageFile and TLazProjectFile
...
git-svn-id: trunk@45596 -
2014-06-21 20:57:14 +00:00
mattias
7d00cd341d
IDE: package editor: move files: use interface
...
git-svn-id: trunk@45589 -
2014-06-20 11:49:55 +00:00
mattias
f80cce26fe
IDE: package editor: drop files
...
git-svn-id: trunk@45562 -
2014-06-16 23:14:10 +00:00
mattias
73b9af868e
IDE: package editor: dnd: move files to another package
...
git-svn-id: trunk@45554 -
2014-06-16 18:36:00 +00:00
mattias
c39261347a
IDE: fixed ignoring empty lines at end of conditionals, no modified if project icon was not touched
...
git-svn-id: trunk@45541 -
2014-06-15 18:37:10 +00:00
mattias
30c58e48d6
IDE,lazutils: added GetPhysicalFilenameCached
...
git-svn-id: trunk@45247 -
2014-05-30 13:41:20 +00:00
mattias
978ec20681
IDE: use GetPhysicalFilename instead of readalllinks
...
git-svn-id: trunk@45246 -
2014-05-30 12:41:17 +00:00
mattias
ff794a0e77
IDE: comment
...
git-svn-id: trunk@45088 -
2014-05-19 07:17:17 +00:00
juha
c8cb0503bd
Package editor: Fix a bug that prevented moving files up/down.
...
git-svn-id: trunk@43631 -
2014-01-02 18:16:40 +00:00
paul
5dc89da379
packager: load component image from all possible formats, not only png
...
git-svn-id: trunk@43089 -
2013-10-05 02:28:47 +00:00
paul
347238c5e8
ide: start to use component images as FPC resources with ability to load them from Lazarus resource too
...
git-svn-id: trunk@42973 -
2013-09-27 08:46:08 +00:00
mattias
f66fa252fc
IDE: renamed SetPathDelims to GetForcedPathDelims
...
git-svn-id: trunk@42698 -
2013-09-09 10:28:10 +00:00
mattias
f5dda02fe9
IDE: renamed DoPathDelims to ForcePathDelims
...
git-svn-id: trunk@42697 -
2013-09-09 10:18:24 +00:00
mattias
ac4996ff62
replaced SetDirSeparators with SetPathDelims
...
git-svn-id: trunk@42685 -
2013-09-08 20:58:12 +00:00
mattias
773f710bde
IDE, codetools, lazutils: Changed DoDirSeparators calls with DoPathDelims calls
...
git-svn-id: trunk@42674 -
2013-09-08 07:40:06 +00:00
mattias
f6775ab1f6
IDE: package editor: enable compile button: check SkipCompiler
...
git-svn-id: trunk@42650 -
2013-09-06 22:50:08 +00:00
juha
31b1199fa8
Formatting
...
git-svn-id: trunk@42570 -
2013-09-03 12:02:02 +00:00
mattias
f4aba6fdf1
IDE: fixed uninitialized values
...
git-svn-id: trunk@42387 -
2013-08-11 17:40:00 +00:00
mattias
da82a33fdf
IDE: fixed Makefile.compiled to contain inherited custom options
...
git-svn-id: trunk@42227 -
2013-07-29 10:48:35 +00:00
mattias
579fb1c2c2
IDEIntf: package file FileType and InUses
...
git-svn-id: trunk@41773 -
2013-06-21 08:00:58 +00:00
mattias
52c6ef4a82
IDE: package editor: fixed not keeping references to IDE structures in treeview
...
git-svn-id: trunk@41768 -
2013-06-19 07:58:27 +00:00
mattias
35e4dd7196
IDE: removed obsolete package.autocreated
...
git-svn-id: trunk@41276 -
2013-05-19 10:51:43 +00:00
mattias
a95a2a4a8d
IDE: allow to uninstall dummy package
...
git-svn-id: trunk@41269 -
2013-05-19 01:15:05 +00:00
juha
48f88c37ef
Revert "Use AllFilesMask everywhere instead of GetAllFilesMask, mask must be fixed in FPC libs"
...
git-svn-id: trunk@40957 -
2013-04-30 16:35:02 +00:00
juha
cbd3930dc4
Packager: Prevent "List index out of bounds" error when restoring previously deleted item. Issue #24313 , patch from Cyrax
...
git-svn-id: trunk@40883 -
2013-04-23 19:28:17 +00:00
juha
73fb9ab0e2
Use AllFilesMask everywhere instead of GetAllFilesMask
...
git-svn-id: trunk@40849 -
2013-04-19 07:08:03 +00:00
mattias
458f42b286
IDE: package options: hints for package types
...
git-svn-id: trunk@40714 -
2013-04-04 11:05:03 +00:00
mattias
0c71b8e46c
IDE: GetAllRequiredPackages: sort for topological lvl and name
...
git-svn-id: trunk@40306 -
2013-02-13 19:07:26 +00:00
mattias
010349425f
IDE: fixed compilation order of packages
...
git-svn-id: trunk@40292 -
2013-02-13 10:27:58 +00:00
mattias
fe54d0ba55
IDEIntf: added GetRequiredPackages
...
git-svn-id: trunk@40280 -
2013-02-12 21:49:12 +00:00
juha
d451ec6672
IDE: Allow user to create own custom IDE macros and install them to IDE by using packages. Issue #23502 , patch from Cyrax
...
git-svn-id: trunk@39909 -
2013-01-20 09:34:35 +00:00
mattias
24f1d64edb
IDE: quickfix cant find unit: ppu of installed package
...
git-svn-id: trunk@36468 -
2012-03-30 15:57:23 +00:00
mattias
587f6e9dcc
IDE: unified changestamp
...
git-svn-id: trunk@36046 -
2012-03-15 22:35:34 +00:00
mattias
3e9e907062
IDE: switched to new laz2_xml
...
git-svn-id: trunk@35937 -
2012-03-13 20:55:43 +00:00
paul
0baf05589e
packages: fix AVL tree nodes compare. It used wrong CompareText()
...
git-svn-id: trunk@35896 -
2012-03-12 06:48:05 +00:00
mattias
b02630ac58
IDE: less hints
...
git-svn-id: trunk@35711 -
2012-03-04 18:12:15 +00:00
mattias
f441b83baf
IDE: save new package unit: set initialdir to package dir
...
git-svn-id: trunk@35600 -
2012-02-26 17:44:27 +00:00
mattias
b9d30d0593
IDE: clean up
...
git-svn-id: trunk@35598 -
2012-02-26 17:27:58 +00:00
mattias
de85f6cc4c
IDE: checked all places where TPkgFile.Filename should use GetFullFilename, save package files on save package
...
git-svn-id: trunk@35382 -
2012-02-15 22:28:12 +00:00
juha
4e420bcf94
Packager: remove TPkgFile.IsVirtual because it has different meaning than TUnitInfo.IsVirtual and is confusing
...
git-svn-id: trunk@35380 -
2012-02-15 16:33:36 +00:00
mattias
1f910951e2
IDE: release package editor if not needed any more
...
git-svn-id: trunk@35089 -
2012-02-02 16:23:45 +00:00
mattias
b83e461a60
IDE: packages: added option to set the fpdoc package name
...
git-svn-id: trunk@34823 -
2012-01-20 16:58:15 +00:00
mattias
4899a6c2e2
IDE: packages: added option Enable i18n for lfm similar to the project option
...
git-svn-id: trunk@34752 -
2012-01-15 17:34:52 +00:00
mattias
a20722e7dc
IDE: added package type runtime only
...
git-svn-id: trunk@34645 -
2012-01-07 19:33:50 +00:00
mattias
9e21a00a70
IDE: package editor: add dependency: check for cycle, show a full path
...
git-svn-id: trunk@34542 -
2012-01-02 17:45:03 +00:00
mattias
48657d7019
IDE: renamed circle detection with cycle detection
...
git-svn-id: trunk@34541 -
2012-01-02 17:13:43 +00:00
mattias
51a5483ed9
IDE: package editor: add dependency: check for cycle
...
git-svn-id: trunk@34540 -
2012-01-02 17:06:11 +00:00
mattias
0272ffb1cc
IDE: macros: fixed nested macros, bug #20941
...
git-svn-id: trunk@34348 -
2011-12-21 12:38:16 +00:00
mattias
0d84f6918e
IDE: using IsValidUnitName
...
git-svn-id: trunk@34317 -
2011-12-20 09:33:01 +00:00
mattias
a7f15b8541
IDE: workaround for fpc < 2.7.1 avltre FindPointer
...
git-svn-id: trunk@33939 -
2011-12-04 11:07:53 +00:00
paul
31f2ff282e
packager: support unit names with dots
...
git-svn-id: trunk@33385 -
2011-11-07 05:45:13 +00:00
juha
4130f6b03f
Packager: remove obsolete const string arrays
...
git-svn-id: trunk@33245 -
2011-11-02 23:19:48 +00:00
mattias
2f7384cf55
IDE: clean package: check if required packages share the output directory
...
git-svn-id: trunk@33193 -
2011-10-31 18:36:59 +00:00
mattias
8133e0f35e
IDE+lazbuild: when compiling a package clean and it has a separate unit output directory, delete all files in the directory
...
git-svn-id: trunk@33192 -
2011-10-31 16:51:35 +00:00
mattias
5c8ad97065
IDE: build all: compile all packages with -B, lazbuild: -B and -r: apply -B to all packages
...
git-svn-id: trunk@33175 -
2011-10-30 13:37:25 +00:00
juha
cfa79a82d9
Packager: fix a crash when trying to install FPCTest related IDE packages. Issue #19900 , patch from Anton
...
git-svn-id: trunk@31925 -
2011-08-09 17:29:27 +00:00
mattias
8afc163cbf
IDE: new package macro: PkgName
...
git-svn-id: trunk@31696 -
2011-07-14 08:49:40 +00:00
mattias
d3ebe6ba78
lazbuild: convert encoding of loaded source files
...
git-svn-id: trunk@31363 -
2011-06-24 18:38:00 +00:00
mattias
51e1742910
IDE: clean up
...
git-svn-id: trunk@31329 -
2011-06-22 07:52:10 +00:00
mattias
47a3a0845c
IDE: package options: fixed restoring modified on restore
...
git-svn-id: trunk@31328 -
2011-06-22 07:48:36 +00:00
mattias
087c6c7a2f
IDE: adding dependency to LCLBase instead uses LCL, fixed adding min version requirement
...
git-svn-id: trunk@31286 -
2011-06-19 22:35:27 +00:00
mattias
dcbf3f1a58
IDE: packages: add to project uses section: changed default to false
...
git-svn-id: trunk@31157 -
2011-06-10 15:29:27 +00:00
mattias
d1906a5c2b
IDE: do not set minversion for new dependencies by default
...
git-svn-id: trunk@30999 -
2011-06-01 11:36:09 +00:00
mattias
430d0550d3
IDE: package options: work on real package and restore via backup
...
git-svn-id: trunk@30886 -
2011-05-24 14:27:40 +00:00
mattias
339b4d136a
IDEIntf: hints about CheckInstallPackageList and InstallPackages
...
git-svn-id: trunk@30765 -
2011-05-16 12:02:47 +00:00
mattias
aeb269207c
IDE: changed package list to TObjectList
...
git-svn-id: trunk@30763 -
2011-05-16 11:33:11 +00:00
paul
f6d82e6429
packager: fix TPkgFile.IsVirtual, use AFile.IsVirtual instead of FilenameIsAbsolute(AFilename) condition in TPkgManager.WarnAboutMissingPackageFiles
...
git-svn-id: trunk@30063 -
2011-03-29 08:33:58 +00:00
paul
68fc57c89c
packager: create component image with transparent bg in case of loading from FPC resources
...
git-svn-id: trunk@30042 -
2011-03-28 00:46:14 +00:00
paul
77b6756595
packager: use FPC resource if Lazarus resource is not found for component (issue #0018980 )
...
git-svn-id: trunk@30011 -
2011-03-25 07:33:01 +00:00
juha
f38190794b
Formatting: joined lines where only ');' was split to its own line, in procedure defs.
...
git-svn-id: trunk@29871 -
2011-03-16 16:52:28 +00:00
mattias
2755108d9c
IDEIntf: moved compiler options to unit of its own (compoptsintf.pas), added access to compiler options of packages
...
git-svn-id: trunk@29523 -
2011-02-13 13:42:19 +00:00
paul
dbc8aa6616
ide: show IDE options dialog with loaded compiler options for package compiler options button instead of old compiler options dialog
...
git-svn-id: trunk@29482 -
2011-02-12 13:40:08 +00:00
paul
e9210bf352
ide, ideintf: prepare IDEOptionsIntf and IDE for common package options dialog:
...
- add GroupPackage and GroupPkgCompiler
- split compiler options and project options into 2 independent options groups
- register compiler frames for both GroupCompiler and GroupPkgCompiler
- change DoOpenIDEOptions: replace filter argument from a class to array of classes to show [project options, compiler options] editor and [package options, compiler options] editors
- inherit TLazPackageID from TAbstractIDEPackageOptions class
- fix showing of required frame (like Object inspector or Editor) in the IDE options editor
+ other minor edits
git-svn-id: trunk@29481 -
2011-02-12 13:00:34 +00:00
mattias
ee33006577
IDE: check install package list: auto remove top level runtime packages
...
git-svn-id: trunk@29463 -
2011-02-11 10:13:56 +00:00
mattias
ae209a7ebb
IDE: check if package needs compile: check if main ppu file was removed
...
git-svn-id: trunk@29270 -
2011-01-31 10:21:26 +00:00
mattias
6b6ad2d929
IDE+LCL: made LCL a normal package
...
git-svn-id: trunk@29210 -
2011-01-27 12:56:07 +00:00
mattias
9d25352fd0
IDE: package editor: fixed removing files in hierarchical view
...
git-svn-id: trunk@29077 -
2011-01-17 20:42:29 +00:00
mattias
a9ec713bf8
IDE: package editor: menu item to show/delete missing files
...
git-svn-id: trunk@29011 -
2011-01-14 17:44:59 +00:00
mattias
a8b437d1a0
IDE: added macro FallBackOutputRoot, source editor context menu item to open package of package source file
...
git-svn-id: trunk@28932 -
2011-01-10 13:24:25 +00:00
mattias
3061ed804d
IDE: switching between default and fallback package output directory
...
git-svn-id: trunk@28909 -
2011-01-09 00:20:26 +00:00
mattias
161912cc0f
IDE: started checking read only package output directories
...
git-svn-id: trunk@28904 -
2011-01-08 13:25:44 +00:00
mattias
9a97f52cf6
IDE: started checking write only package output directories
...
git-svn-id: trunk@28902 -
2011-01-08 12:30:23 +00:00
mattias
ab62cfd0d1
IDE: fixed using defaults in sub directories
...
git-svn-id: trunk@28732 -
2010-12-16 21:31:47 +00:00
mattias
dff89b431e
IDE: fixed duplicates in package source directories codetools defines
...
git-svn-id: trunk@28728 -
2010-12-16 15:43:50 +00:00
mattias
56e9d77a02
IDE: check .compiled files for Makefile
...
git-svn-id: trunk@28633 -
2010-12-05 17:22:19 +00:00