Recent

Author Topic: Online Package Manager  (Read 545060 times)

zgabrovski

  • New Member
  • *
  • Posts: 35
Re: Online Package Manager
« Reply #1950 on: January 14, 2021, 08:42:43 am »
Please, find attached a new package with DBTreeView and DBCntrlGrid components.

https://bugs.freepascal.org/view.php?id=38336

The Github repo:

https://github.com/ZGabrovski/DBTreeViewAndDBCntrlGrid

GetMem

  • Hero Member
  • *****
  • Posts: 3870
Re: Online Package Manager
« Reply #1951 on: January 14, 2021, 09:36:01 am »
@zgabrovski

Quote
Please, find attached a new package with DBTreeView and DBCntrlGrid components.

https://bugs.freepascal.org/view.php?id=38336

The Github repo:

https://github.com/ZGabrovski/DBTreeViewAndDBCntrlGrid

I added DBTreeViewAndDBCntrlGrid to OPM. Thanks for the package!

zgabrovski

  • New Member
  • *
  • Posts: 35
Re: Online Package Manager
« Reply #1952 on: January 21, 2021, 07:54:29 pm »
There is a lot of bugfixes in TDBCntrlGrid.
You can update the package.

GetMem

  • Hero Member
  • *****
  • Posts: 3870
Re: Online Package Manager
« Reply #1953 on: January 21, 2021, 08:31:55 pm »
@zgabrovski
Quote
There is a lot of bugfixes in TDBCntrlGrid.
You can update the package.

Thank you! I updated the package.

zgabrovski

  • New Member
  • *
  • Posts: 35
Re: Online Package Manager
« Reply #1954 on: January 25, 2021, 06:33:06 pm »
Please find attached new bugfix update.
Regards,
Zdravko

GetMem

  • Hero Member
  • *****
  • Posts: 3870
Re: Online Package Manager
« Reply #1955 on: January 25, 2021, 08:19:35 pm »
@zgabrovski
Quote
Please find attached new bugfix update.
Regards,
Zdravko
Done! Thank you.

zgabrovski

  • New Member
  • *
  • Posts: 35
Re: Online Package Manager
« Reply #1956 on: January 27, 2021, 07:52:21 pm »
New bugfix update.
The DBCntrlGrid was totally rewritten (logic for non visual panes update).
I add a new "KeyField" property - to improve a way of refresh of the cashe.


« Last Edit: January 27, 2021, 08:02:29 pm by zgabrovski »

wp

  • Hero Member
  • *****
  • Posts: 8097
Re: Online Package Manager
« Reply #1957 on: January 27, 2021, 08:03:31 pm »
Hmm...

Nice to see progress in the packages. But, on the other hand OPM is not a development platform and is supposed to distribute "stable" packages only (whatever that means).

To reduce the workload for GetMem who has to apply the changes manually I'd urge you to use your own version control system (GitHub, Gitlab, Sourceforge) and send GetMem only new versions after some degree of stability is achieved or after severe fixes.

To give your users access to your recent version you can use the "update-json" mechanism: Store the zips on your site and create an update.json with the link to this zip. Send the update-json to GetMem, and your recent version will be available to the OPM users by selecting "install from third-party repository": https://wiki.freepascal.org/Online_Package_Manager#Create_JSON_for_updates
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

af0815

  • Hero Member
  • *****
  • Posts: 633
Re: Online Package Manager
« Reply #1958 on: January 30, 2021, 09:14:10 am »
Is fpExif in OPM ? I found DExif, but not fpExif. Or is the name different ?

I want to test fpExif, but i use only packages from OPM. This avoid normaly headache :-)
regards
Andreas

GetMem

  • Hero Member
  • *****
  • Posts: 3870
Re: Online Package Manager
« Reply #1959 on: January 30, 2021, 09:32:56 am »
@af0815
Quote
Is fpExif in OPM ?
Apparently not.

Quote
I found DExif, but not fpExif. Or is the name different ?
Good question! I have no idea :) I only maintain the package manager, I am unfamiliar with 99% of the packages.

Quote
I want to test fpExif, but i use only packages from OPM. This avoid normaly headache :-)
I can add fpExif if needed, no problem. Form where can I download the package?

lucamar

  • Hero Member
  • *****
  • Posts: 3598
Re: Online Package Manager
« Reply #1960 on: January 30, 2021, 10:33:39 am »
I can add fpExif if needed, no problem. Form where can I download the package?

From SourceForge; it's part of the Lazarus-CCR :)
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

GetMem

  • Hero Member
  • *****
  • Posts: 3870
Re: Online Package Manager
« Reply #1961 on: January 30, 2021, 10:47:15 am »
I can add fpExif if needed, no problem. Form where can I download the package?

From SourceForge; it's part of the Lazarus-CCR :)

Thank you @lucamar, I will download the package later and compare it with DExif.

wp

  • Hero Member
  • *****
  • Posts: 8097
Re: Online Package Manager
« Reply #1962 on: January 30, 2021, 10:56:15 am »
Please don't add it at the moment. I am its author and decided to not include it in OPM since it contains an issue leading to potential loss of meta data.

fpExif and dExif are different things. dExif was one of the first libraries to access EXIF metadata. However, it is badly written and has many issues. Therefore I decided some time ago to rewrite it in a "better" way.

The issue mentioned above is also present in dexif. The problem is that EXIF is a binary structure, data often are referred to by their offsets relative to a marker in the file (TIFF header). There is one particular EXIF record "MakerNote" which manufacturers can fill with additional data in an arbitrary and undocumented way. Usually they use the same structure as the rest of the EXIF segment and refer their file offsets to the TIFF marker rather than to the start of the MakerNote tag. Now, when a user of fpExif or dExif edits an EXIF tag in a way that the binary data are shifted within the file the MakerNotes are destroyed because their offsets are not corrected (because it is not documented).
« Last Edit: January 30, 2021, 11:07:10 am by wp »
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

GetMem

  • Hero Member
  • *****
  • Posts: 3870
Re: Online Package Manager
« Reply #1963 on: January 30, 2021, 05:47:46 pm »
@wp

Thanks for the info. When fpExif is ready I will remove dExif.

af0815

  • Hero Member
  • *****
  • Posts: 633
Re: Online Package Manager
« Reply #1964 on: January 30, 2021, 06:00:59 pm »
a remove is not good, because it is not the same and dExif is used for a longer time and compatibel with delphi.
fpExif is not a direct replacement, is it ?
regards
Andreas

 

TinyPortal © 2005-2018