I've just uploaded a new version of DUDs (Delphu Unit Dependency Scanner):
I've just uploaded a new version of DUDs (Delphu Unit Dependency Scanner):
Fixed: The parser missed the end of the uses clause if the final ';' was directly preceded by an comment.
Fixed: Unable to delete search paths.
Fixed: Recursive search directories not added if the root directory is already there.
You can download it here: http://www.easy-ip.net/delphi-unit-dependency-scanner.html
Please let me know your opinions, ideas and bugs.
http://www.easy-ip.net/delphi-unit-dependency-scanner.html
Fixed: The parser missed the end of the uses clause if the final ';' was directly preceded by an comment.
Fixed: Unable to delete search paths.
Fixed: Recursive search directories not added if the root directory is already there.
You can download it here: http://www.easy-ip.net/delphi-unit-dependency-scanner.html
Please let me know your opinions, ideas and bugs.
http://www.easy-ip.net/delphi-unit-dependency-scanner.html
Norton 360 deleted the download sorry !!!!
ReplyDeleteIt is OK
ReplyDeleteshlomo abuisak - Why? Can you give me more information? It scans fine with Microsoft Security Essentials.
ReplyDeleteit shout.. do not run it.but i did any way trusting you.
ReplyDeleteMay be some thing inside the 360 did not like. it happen.
Do not worry. At list he did not find a virus.
When I try to use it (nod32 says setup is OK), I thought, I can add the .dpr file in "File|Open" dialog. Well, opening .dpr says the file is invalid. "Error in top level document item" (it was in russian due to russian Windows). Next time all the attempts to scan or enter "Settings" displays "No active document".
ReplyDeleteWhen I restart it and try to add .dpr as root file, it says "An error occured loading ....dproj". Hmm, I have no .dproj files in my project directory :(
When I select "Ignore" it runs :)
ReplyDeletePaul Thornton check it here https://www.virustotal.com/
ReplyDeleteRoman Yankovsky hi... I already did and it checks out fine.
ReplyDeleteIgor Schevchenko - I guess this is something I should clarify. The Open Project opens a DUDS project, not a Delphi one. Instead, click New then enter the project details in the settings. You only need to enter a root Delphi project(s) and search paths. After that, you're ready to run a scan.
ReplyDeleteI'll make all this clearer in the next update.
Paul Thornton Thanks for your reply. Did you think about getting search paths from existing .dproj or .bdsproj or .cfg file instead of selecting it ?
ReplyDeletePaul Thornton It seems to me, it would be better to add filter for only project files in "Add root file(s)" dialog, not to mess them with .pas files. Well, I see the "Automatically add Project Search path" checkbox, my last post was incorrect. But still there are no .dproj files in my project directory, only .bdsproj and .cfg :)
ReplyDeleteAnd again...It seems it would be useful, especially for large projects like mine to see how frequently particular unit is used, e.g. some kind of histogram, of usage frequency, units used only once, twice, units included only in .dpr, etc
ReplyDeleteWell, I was wrong again, usage statistics is presented :)
ReplyDeleteIf one unit uses 170 another units it must be refactored :)
ReplyDeleteThis sounds great, but if my .dpr file is not located in the root project folder (instead it's located in a subfolder. In other words, in my .dpr file you'll see something like: MyAppU in '..\MyAppU.pas'), your tool can't find any of my .pas files. Maybe my setup is kinda wired, but the advantage is that I can separate 6 IDE-generated files from my project sources ;)
ReplyDeleteEdwin Yip - this should work fine. The search paths should be added automatically from the dpr. Check the Search Paths tab. If they're not there, just add them and the .pas files will be found.
ReplyDeleteThanks! Just found an issue, the installer won't quit when I checked "run xxx" in the last page. It still appears in the taskbar. (It seems that you use WaitUntilTerminated or some option like that)
ReplyDelete