Commit Graph

23 Commits

Author SHA1 Message Date
mattias
d700c68b43 IDEIntf: added TLazProject.UseManifest/LoadDefaultIcon
git-svn-id: trunk@32597 -
2011-10-01 20:09:07 +00:00
mattias
f6e63d473f IDE: added try..except workaround for bug in fcl with fpc 2.4.0rc1
git-svn-id: trunk@23780 -
2010-02-24 21:41:00 +00:00
paul
7145aff4ca ideintf, ide: make project resources pluggable
git-svn-id: trunk@23430 -
2010-01-13 07:05:16 +00:00
paul
fc53888ae2 ide: don't write icon to .lrs file since .res can be used everywhere
git-svn-id: trunk@23382 -
2010-01-05 10:43:22 +00:00
paul
57c13d9e05 ide: resources support:
- switch to fcl-res to resource generation
  - generate .res files instead of .rc for all platforms, don't create .manifest file

git-svn-id: trunk@23380 -
2010-01-05 07:16:17 +00:00
paul
ee188b5600 ideintf, ide: project resources:
- rename TLFMResourceType to TResourceType (and same for other TLFMResource...)
  - move ResourceType to TAbstractProjectResources
  - when fpc resources are chosen:
    1. don't create project .lrs file
    2. use .rc file on all systems (requires windres (or gorc for win64))

git-svn-id: trunk@23292 -
2009-12-26 19:01:05 +00:00
mattias
1a7644e937 IDE: clean up, lazbuild: using package codetools
git-svn-id: trunk@21396 -
2009-08-22 16:51:00 +00:00
paul
5604182bbf ide: move manifest data to the .manifest file since GoRc cannot compile embedded into .rc manifest data (#0012846)
git-svn-id: trunk@17910 -
2008-12-24 03:19:37 +00:00
mattias
2e9143f08c LCL: fixed writing empty resource
git-svn-id: trunk@17887 -
2008-12-22 22:12:34 +00:00
paul
ee59743851 ide: don't store an icon data in the .lpi file anymore. store a boolean value (as string 0, -1) which means 0 - icon is not empty => read it from .ico, -1 - icon is empty
git-svn-id: trunk@17694 -
2008-12-05 17:38:58 +00:00
paul
6666c33a55 ide: project resources
- cleanup
  - don't create, add .lrs when project file does not has Forms and Interfaces in the uses section

git-svn-id: trunk@17025 -
2008-10-17 01:29:38 +00:00
paul
8d35dd12c1 ide: improve resource handling
git-svn-id: trunk@17019 -
2008-10-16 08:45:22 +00:00
paul
33015ac694 ide: use relative path in .rc files (iow no path) (#0012402)
git-svn-id: trunk@17014 -
2008-10-16 01:01:33 +00:00
paul
795657b0a7 ide: use <project name>.ico instead of icon.ico
git-svn-id: trunk@16957 -
2008-10-11 09:57:49 +00:00
paul
1876e1727f ide: simplify resource availability check
git-svn-id: trunk@16944 -
2008-10-09 22:58:04 +00:00
paul
306d347cbf ide: project resources
- introduce TAbstractProjectResource as a base class for every project resource
  - move save/load resources code from to TProjectResources class
  - improve error handling
  - cleanup

git-svn-id: trunk@16936 -
2008-10-09 01:38:48 +00:00
mattias
05b1773521 IDE: added debugging
git-svn-id: trunk@16929 -
2008-10-08 14:27:03 +00:00
paul
824a6a1263 ide:
- write all resources without regards of Target platform (we want  cross-platform projects)
  - update project file on any resource change

git-svn-id: trunk@16928 -
2008-10-08 13:30:14 +00:00
paul
c35a24043c ide: icon should not crash now
git-svn-id: trunk@16922 -
2008-10-07 21:50:49 +00:00
paul
efc116b8e2 ide: resources rework
git-svn-id: trunk@16917 -
2008-10-07 13:16:08 +00:00
paul
82a7e2a0c2 images:
- add default project icon to laz_images.lrs (as is for now)
ide: 
 - use default project icon as a default icon for newly created projects
 - use expanded project file name to create resources in the correct place

git-svn-id: trunk@16908 -
2008-10-07 09:31:00 +00:00
paul
ca68a99f0a ide: further project icon changes
- create LRS icon file
  - remove base64 dependency from project options

git-svn-id: trunk@16904 -
2008-10-07 06:45:23 +00:00
paul
f0843b4de1 ide: further project icon changes
- create/remove directive in lpr file on icon change
  - create .ico and .rc files for win32, wince platforms
improve manifest handling - set modified flag to project on change

git-svn-id: trunk@16903 -
2008-10-07 06:31:19 +00:00