Recent

Author Topic: Visualization of Pascal program dependencies  (Read 26570 times)

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: Visualization of Pascal program dependencies
« Reply #30 on: August 25, 2018, 09:51:00 pm »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Visualization of Pascal program dependencies
« Reply #31 on: August 26, 2018, 09:06:25 pm »

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Visualization of Pascal program dependencies
« Reply #32 on: August 26, 2018, 11:00:29 pm »
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

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: Visualization of Pascal program dependencies
« Reply #33 on: August 26, 2018, 11:14:24 pm »
the ag_xxxx packages I have no idea.
They are in cad_source/other/AGraphLaz/lazarus. And you need fpc trunk to compile.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Visualization of Pascal program dependencies
« Reply #34 on: August 26, 2018, 11:26:42 pm »
the ag_xxxx packages I have no idea.
They are in cad_source/other/AGraphLaz/lazarus.
Nice! thank you.

And you need fpc trunk to compile.
which part? From the readme seems that the library has a long history (delphi 1..7, fpc 1 etc) and can that part be disabled?
I'm not using trunk and I have found no reason to change my policy so far.
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

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: Visualization of Pascal program dependencies
« Reply #35 on: August 26, 2018, 11:43:07 pm »
And you need fpc trunk to compile.
which part? From the readme seems that the library has a long history (delphi 1..7, fpc 1 etc) and can that part be disabled?
I'm not using trunk and I have found no reason to change my policy so far.
ztoolbars need generics. fpc 3.0.4 got stuck here. With fpc-trunk it did compile.

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Visualization of Pascal program dependencies
« Reply #36 on: August 26, 2018, 11:45:31 pm »
And you need fpc trunk to compile.
which part? From the readme seems that the library has a long history (delphi 1..7, fpc 1 etc) and can that part be disabled?
I'm not using trunk and I have found no reason to change my policy so far.
ztoolbars need generics. fpc 3.0.4 got stuck here. With fpc-trunk it did compile.
oh ok, are they used in the Dependency Graph Builder? as far as I can say from the lpi (did not download it my self) there is no direct link to the ztoolbars.
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

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: Visualization of Pascal program dependencies
« Reply #37 on: August 27, 2018, 12:31:40 am »
Ah probably you are right. I just compiled all packages without looking.

[EDIT] No, uwriter of the dependency project needs generics, too.
« Last Edit: August 27, 2018, 12:35:58 am by wp »

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: Visualization of Pascal program dependencies
« Reply #38 on: August 27, 2018, 03:16:04 am »
Ah probably you are right. I just compiled all packages without looking.

[EDIT] No, uwriter of the dependency project needs generics, too.
thanks for the heads up.
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

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: Visualization of Pascal program dependencies
« Reply #39 on: August 27, 2018, 04:54:19 pm »
Sorry, I haven't cleaned up packages yet. As already said, everything you need is in a nearby repository:

https://github.com/zamtmn/zcad/tree/master/cad_source/components (my packages)
https://github.com/zamtmn/zcad/tree/master/cad_source/other (third party packages)

I added a binary for Win32 https://github.com/zamtmn/pudgb/releases/download/0.99/pudgb_0_99_win32.7z
Later i can add for Linux x86, if you're interested

Thaddy

  • Hero Member
  • *****
  • Posts: 14373
  • Sensorship about opinions does not belong here.
Re: Visualization of Pascal program dependencies
« Reply #40 on: August 27, 2018, 05:04:28 pm »
[ztoolbars need generics. fpc 3.0.4 got stuck here. With fpc-trunk it did compile.
well, rtl-generics for 3.0.4 IS in OPM...
Maybe OPM needs a dependency feature.
Well actually it does anyway, because it has platform problems. You can actually try to install a package that is not suited for the platform.
« Last Edit: August 27, 2018, 05:06:31 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: Visualization of Pascal program dependencies
« Reply #41 on: February 09, 2022, 07:10:48 am »
Minor improvements and prerelease 0.99.2

- HiDPI support
- Set default path to Lazarus configs
- I didn't understand how to pass the po_IgnoreUnknownResource flag to the scanner, so I built a binary with a modified latest fcl-passrc, resource inclusions are ignored
- Attach dottoxml archive (useful for exporting to Yed)

https://github.com/zamtmn/pudgb/releases/tag/0.99.2
« Last Edit: February 09, 2022, 07:15:11 am by zamtmn »

PascalDragon

  • Hero Member
  • *****
  • Posts: 5481
  • Compiler Developer
Re: Visualization of Pascal program dependencies
« Reply #42 on: February 09, 2022, 08:57:37 am »
- I didn't understand how to pass the po_IgnoreUnknownResource flag to the scanner, so I built a binary with a modified latest fcl-passrc, resource inclusions are ignored

You should create a bug report then.

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: Visualization of Pascal program dependencies
« Reply #43 on: January 06, 2023, 08:12:16 am »
Version 0.99.3
-slightly reorganized options
-added "Directly uses" - only units with "Dest unit" in their uses get into the graph
-saving/loading program/project options

https://github.com/zamtmn/pudgb/releases/tag/0.99.3

 

TinyPortal © 2005-2018