Jump to content

Alexander Sviridenkov

Members
  • Content Count

    258
  • Joined

  • Last visited

  • Days Won

    26

Posts posted by Alexander Sviridenkov


  1. On 10/6/2023 at 5:15 PM, mvanrijnen said:

    Looks good, you gonna release the SQL classes apart from the HTML Library ?

    btw where did you learn to type that fast ? 😉

     

    No, this will be included in Reports (Bundle)


  2. 8 hours ago, Edwin Yip said:

    @Alexander Sviridenkov This is very cool and can be very useful! While I have a faith in your libraries, the only thing I'm concerning about is the performance. Is it based on the good old and fast RTTI (System.TypInfo.pas) or the new but slow extended RTTI (System.Rtti.pas)?

    System.Rtti.

    AFAIK TypInfo do not support records and field values.

    But there are some optimizations so loading list of test objects containing 1 million objects takes 850 ms.

     

      TTest = class
      public
        A: integer;
        b: string;
        c: double;
      end;
    

     


  3. 4 minutes ago, Mike Torrettinni said:

    Is this SQL highlighting control?

     

     

     

    No, this is ability to execute SQL on any source - list of objects, array of records, dataset, CSV, JSON, XML, etc. And put result into dataset, stringlist, array, etc.

    • Like 1

  4. 1 hour ago, Rollo62 said:

    I have tested a little and found, that in somewhat complex structure scenarios, it might overlook some of the units.
    See example here, where UPartA.pas and UPartB.pas were missing, while the project compiles and works  fine.

     

    Now fixed in build 1.0.0.27


  5. 18 minutes ago, Rollo62 said:

    I have tested a little and found, that in somewhat complex structure scenarios, it might overlook some of the units.
    See example here, where UPartA.pas and UPartB.pas were missing, while the project compiles and works  fine.

    image.png.85b7d98014c9fa95ce005cf208fc7d34.png

    T483_TstHclUnitDep_002.zip

     

    If there are units with the same name, would it be possible to find some more details about, where they are located.

    Maybe by right click, to get a list of where the absolute paths of all copies are?

    image.png.6162c8dc7819eddcffc2ec761a3181e1.png

     

    Thank, I'll check.

    When clicking on unit, folder(s) (at right panel) where it is located became bold.


  6. 51 minutes ago, dummzeuch said:

    Nice idea. But of course I have got something to complain about some suggestions

    1. I find it rather difficult to see those light gray lines on a dark gray background. Maybe I'm just getting old and it's my eyes not the tool, but anyway. Why not use black lines on a white background? I know that "dark mode" is all the rage, but readability shouldn't be thrown out of the window for that.
    2. It would be nice if the input line for the project file supported
      1. autocomplete
      2. dropping a file from explorer
    3. Dropping a .dpr file from explorer onto the main window to load it would also be nice.

    I'm sure I will think of some more possible improvements.

     

    What are your plans for this tool? Are you going to release the source code? Or make it a commercial tool?

    Thank you.

    1. Gray lines are there just to see overall amount of links for node. They should not be too contrast otherwise selected links will be lost.

    2. Project input has Open button at right, you cal select file from standard dialog. Dropping file to this window is good idea, I will implement it.

    3. Unfortunately this is not possible because application should also know Delphi version, not just project file.

     

    As mentioned above, it will be free, source code will be available to HTML Library customers,

    • Thanks 1

  7. 14 minutes ago, Rollo62 said:

    Well, now I tried to enforce one, I thought it would automatically find and mark them all somehow.
    Nevertheless, it's working well, when clicking on such circular part.

    I tried to show all, but usually there are too many circular references so cheking unit by unit is more convenient.

    • Like 1

  8. 7 minutes ago, Mike Torrettinni said:

    Nice! I showed this to another developer who is looking for simple drawing control that would do all this. Not for Delphi source dependencies, but custom relationship data and it would simplify his current very cumbersome drawing solution that achieves similar result - I helped with some small improvements, but I'm not expert in drawings.

    He is excited to try your control when this is implemented.

    This is not a separate control, all UI of this application is just two THtPanel-s. Program generates SVG from units graph and put it into HtPanel, that's all. No direct drawing.
    F.e. this is how looks CSS for main panel:

     

    svg {font-size: 8px}
    .node rect {fill: white; stroke: gray; stroke-width: 1px}
    .node:hover rect {fill: lightblue}
    .node.circ rect {fill: #ffdddd}
    .link {stroke: white; fill: white; opacity: 0.1}
    .link.selected {stroke: green; fill:green;opacity: 1}
    .link.imp.selected {stroke: blue; fill:blue}
    .link.selected.circ {stroke:red!important}
    .link ellipse {stroke:none!important}
    .selected rect {fill: #ccfab4}
    .node.main rect {fill: lightblue!important; stroke: #456c87!important}
    .node.selected.circ rect {fill: #ffbbbb}
    .project rect {stroke: black; stroke-width: 2px}
    .project text {font-weight: bold}
    .search text {fill: #b84f04}

     


  9. 3 minutes ago, Mike Torrettinni said:

    Great! Any timeline?

     

    I don't have the library, yet, so I don't know how controllable the HTML control is, but will this be possible:

    - custom Context menu on selected unit?

    - select and add Context menu on dependency line?

    - select multiple units? and get info on all selected units?

    - control drawing objects, bg color, font, size?

    - control selection from code, not just mouse?

     

     

     

     

     

     

    Maybe next month.

    For other questions answer is - yes.

    • Thanks 1

  10. 3 minutes ago, Mike Torrettinni said:

    Can you share what is the plan for this tool/feature?

    - Shareware?

    - or can users of HTML Component Library access source and implement the view in our projects?

    - or integrate into GExperts or MMX?

    It will be included to HTML Library demos with source code.

    • Like 4

  11. 4 minutes ago, Mike Torrettinni said:

    A filtering option would be nice:  hide/filter out System*, Vcl* dx*... units. Most of the time I don't need to see these dependencies.

    Simply click on RTL/VCL/Etc. folder at right and units from disabled folders will not be shown.

    • Thanks 1
×