* * *

Author Topic: Reques from package developers  (Read 774 times)

SunyD

  • Guest
Reques from package developers
« on: June 24, 2017, 11:58:48 am »
Please don't check in package options "Add package unit to uses section."
Becasue in most cases resources and property editors are added in package register unit, this makes the applications exe  without necessity bigger.
After remove this units from project unit (.lpr-file) my application was ~1MB smaller:
laz_fpspreadsheet
zcomponent
lazreportpdfexport,
datetimectrls.

Look at picture to find the option:


taazz

  • Hero Member
  • *****
  • Posts: 4485
Re: Reques from package developers
« Reply #1 on: June 24, 2017, 02:12:52 pm »
a better ply would be to start dividing their code to run time and design time packages :P
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

Leledumbo

  • Hero Member
  • *****
  • Posts: 7743
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Reques from package developers
« Reply #2 on: June 24, 2017, 04:36:37 pm »
This is package dependent actually (there ARE some packages which require it, because it's not properly divided as taazz said), but if I'm not mistaken that option is on by default and most package developers don't even notice it.

SunyD

  • Guest
Re: Reques from package developers
« Reply #3 on: June 27, 2017, 10:40:05 pm »
I think this option should be default not checked.
Even if someone split his components in to designtime and runtime package so he can forget to uncheck this option from runtime package.
I saw this option first time on 24th June as I inspected exe-file from my programm with resource editor.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus