Jump to content

Vincent Parrett

Members
  • Content Count

    782
  • Joined

  • Last visited

  • Days Won

    61

Posts posted by Vincent Parrett


  1. Hi All

     

    This is a port of the dotnet/c# Console class, which makes easy to do things like set colors, move the cursor etc. 

     

    https://github.com/VSoftTechnologies/VSoft.System.Console

    Currently only Windows supported, however it's architected so that other platforms can be added - happy to take pull requests for that if anyone wants to add other platforms.  

     

    Supports Delphi XE3 or later (compiles with XE2 but encoding issues stop it from working correctly). 

     

    • Like 3
    • Thanks 1

  2. 1 minute ago, Stefan Glienke said:

    Pscht, don't spoil the secret soup that Primoz and I have been cooking :classic_cool:

    Ah sorry, didn't know it was a secret🤐


  3. 14 hours ago, Sherlock said:

    Oh, that sounds great. For a test run, I downloaded the installer and am quite overwhelmed by the further needs (service user, SSL-certificate, Server) to run the "server". For a small test if my msix could be signed by this, it seems quite the overkill. 😞 

    It is a client server application, so there is some configuration needed.  The SSL cert is because we use GRPC between the client and the server, grpc requires SSL. 

    13 hours ago, Sherlock said:

    OK, so good news: I finally got it.

    I guess that tool is ok for testing, but as far as I can tell it does not support certificates on tokens. 


  4. 24 minutes ago, David Heffernan said:

    Looking forward to the Amsterdam Delphi event where he can say more. 

    Likewise, I will definitely be going to his talk.


  5. 2 hours ago, Rick_Delphi said:

    Let's not join the party late, from being stubborn.

    Ummm.. if you are worried about being left behind, why are you still here, still using Delphi? Surely you should be hanging out with all the cool kids using flavor of the week? 🤷‍♂️

    • Like 1
    • Haha 3

  6. Just now, Dave Nottage said:

    None of them have a: "Don't touch my assignment alignments" option? 🙂

    Sadly not. I don't want to be littering my code with //formatting off/on etc. So I format by hand and it is what it is.

     

    • Like 2

  7. 48 minutes ago, pyscripter said:

    I can see some advantages in the following convention (a hybrid of the DSG and the spring4d conventions):

    I follow that except I also use camelCase for local variables. 

     

    An opinionated formatter that doesn't allow me to configure to my taste is unfortunately not going to cut it. I also do weird things like align assigments in constructors

     

    constructor TMyClass.Create(x : integer; y : integer; const theName : string);
    begin
      Fx 	:= x;
      Fy 	:= y;
      FName	:= theName;
    end;

    and for constants

    const
    	cMyConst      = 'test';
    	cAnotherConst = 'foobar';

     

    No formatter I have tried can cope with that. 

    • Like 1
×