Commit Graph

47 Commits

Author SHA1 Message Date
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
e0503fa7ed IDE: Always create project's main icon file when saving it. Keeps its size down. Issue #27287.
git-svn-id: trunk@59244 -
2018-10-03 17:24:17 +00:00
juha
a10d4dadc6 IDE: Support dot (".") in project name. Issue #29854.
git-svn-id: trunk@59005 -
2018-09-15 12:32:37 +00:00
joost
1de2cbf586 general: Updated address of the Free Software Foundation in copyright messages
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
juha
9c405911fd Reduce SynEdit dependencies from units. Reorder uses sections to see dependencies better.
git-svn-id: trunk@53727 -
2016-12-20 00:09:10 +00:00
blikblum
0f8dcb2831 IDE: add const for string parameters in resource handling classes
git-svn-id: trunk@52402 -
2016-05-28 14:42:39 +00:00
juha
653b5dd43a Codetools, unit FileProcs: Disable conditionally wrapper functions. For testing define DisableWrapperFunctions and build Lazarus.
git-svn-id: trunk@49504 -
2015-07-07 11:43:38 +00:00
mattias
866cb42e57 IDE: project icon: fixed default value
git-svn-id: trunk@48011 -
2015-02-26 09:01:49 +00:00
mattias
5c3e4f1b68 IDE: lpi: General/Icon/Value: use same default in read and write
git-svn-id: trunk@47947 -
2015-02-22 11:18:19 +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
0fa7fa8be8 IDE: check if project needs build: check if file is in unit/include path
git-svn-id: trunk@44059 -
2014-02-13 23:18:25 +00:00
mattias
272189600e IDE: check if project icon on disk needs update
git-svn-id: trunk@44058 -
2014-02-13 23:01:24 +00:00
mattias
84346a8450 IDE: TProjectIcon: do not set icon twice when loading
git-svn-id: trunk@44057 -
2014-02-13 22:44:16 +00:00
paul
f1fdebc841 ide: again rename project.ico to mainiconproject.ico - this way it is more understandable that it is a mainicon of a project file
git-svn-id: trunk@43001 -
2013-09-28 04:10:00 +00:00
paul
e335a5c101 ide:
- rename LazarusProject.ico to project.ico to place it alphabetically after MainIcon
  - fix loading of default project icon from FPC resource

git-svn-id: trunk@43000 -
2013-09-28 03:47:31 +00:00
mattias
a85c98d0a8 IDE: clean up
git-svn-id: trunk@40694 -
2013-04-02 10:10:54 +00:00
mattias
4d6bc95a99 IDE: if project ico file is newer than state file invoke a build, issue #20213
git-svn-id: trunk@38592 -
2012-09-09 09:07:50 +00:00
mattias
8d2d0b8f96 IDE: fixed writing project ico, verbosity for failed resource generate
git-svn-id: trunk@37948 -
2012-07-15 10:13:43 +00:00
mattias
874e87fdcc IDE: clean up
git-svn-id: trunk@37942 -
2012-07-14 19:06:41 +00:00
mattias
d499695627 IDE: fixed load/save ico
git-svn-id: trunk@37939 -
2012-07-14 08:32:17 +00:00
mattias
4013b3bca7 IDE: clean up
git-svn-id: trunk@37938 -
2012-07-14 07:58:09 +00:00
mattias
24c2470b43 IDE: using TFileStreamUTF8 and TStringListUTF8
git-svn-id: trunk@37656 -
2012-06-15 16:50:31 +00:00
mattias
3e9e907062 IDE: switched to new laz2_xml
git-svn-id: trunk@35937 -
2012-03-13 20:55:43 +00:00
mattias
9913f6cb48 IDE: save project icon: save only once and catch write errors
git-svn-id: trunk@35814 -
2012-03-07 23:51:00 +00:00
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