Jump to content

EugeneK

Members
  • Content Count

    85
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by EugeneK

  1. EugeneK

    FmxLinux and GTK

    Hi I'm trying to use FmxLinux in Delphi 12.2 and deploying to WSL, all samples work apart from GtkWindow, it has following code procedure gtk_window_set_title(window: Pointer; title: PUtf8Char); cdecl; external 'libgtk-3.so.0'; function gtk_widget_get_window(widget: Pointer): Pointer; cdecl; external 'libgtk-3.so.0'; procedure gdk_window_process_updates(window: Pointer; update_children: Boolean); cdecl; external 'libgdk-3.so.0'; and fails with this error when building [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\ld-linux.exe: error: cannot find -lgdk-3 C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\ld-linux.exe: error: cannot find -lgtk-3 How can I make Delphi find these libraries?
  2. EugeneK

    FmxLinux and GTK

    Thank you! that was the problem.
  3. EugeneK

    FmxLinux and GTK

    Yes, but it fails during build, not when deploying, so I don't think it matters. It have to be somewhere on Windows machine
  4. I think first priority should be Windows on ARM support
  5. EugeneK

    Adding basic AWS S3 operations to Delphi app

    Delphi has integrated libraries for this, see https://docwiki.embarcadero.com/Libraries/Athens/en/Data.Cloud.AmazonAPI
  6. EugeneK

    Azure Relay

    Hi Does anyone have example of working with Azure Relay in Delphi?
  7. Lol, we had to do the same migration at our company, complained to Atlassian that cloud Jira is super slow compared to old hosted one, their response - our code is very big and complex you should get a faster computer. And our company is much bigger than Embarcadero. Jira is dominating the market and there is no easy migration to something else, there is no reason for them to do anything right now.
  8. To be fair not much they can do, Atlassian blackmailing everyone to move to cloud based Jira, so they have to use inferior system as customer facing.
  9. It is a long standing bug, see https://quality.embarcadero.com/browse/RSP-25799 https://quality.embarcadero.com/browse/RSP-31289, probably won't be fixed anytime soon.
  10. I've added "Embarcadero Customers" to sharing, so hopefully this helps.
  11. I've seen people going old-school and posting +1 comments 😀
  12. Don't know what to do, new system is very primitive, I don't see any options on the page different from other issues that are available to different people.
  13. Allow for recursive directory search for units https://embt.atlassian.net/servicedesk/customer/portal/1/RSS-940 These ones are in old system, so they are read only. I wonder should I copy these ones to new one? Add http status code constants to RTL https://quality.embarcadero.com/browse/RSP-35731 Add const versions of generic anonymous methods declarations https://quality.embarcadero.com/browse/RSP-33336 Decouple TService/TServiceApplication from VCL https://quality.embarcadero.com/browse/RSP-41813 Add immutable records (similar to C# readonly structs) https://quality.embarcadero.com/browse/RSP-34572
  14. Hi Can we add THttpConnection.AnswerBytes with TBytes parameter same way as TSocket.SendTB
  15. EugeneK

    ICS V9.1 announced

    I understand this, I changed it. I'm talking about default value, good that I noticed it, if someone won't notice it can be unpleasant surprise if people rely on using specific OpenSSL version.
  16. EugeneK

    ICS V9.1 announced

    I think this should be commented out by default, I want to use OpenSSL version that I control. {$DEFINE OpenSSL_Resource_Files}
  17. This should be updated with link to new quality portal https://qp.embarcadero.com/
  18. EugeneK

    THttpConnection.AnswerBytes

    BTW any reason why AnswerBodyTB rather than AnswerBodyTBytes or AnswerBodyBytes? makes it less readable and not consistent since it is AnswerBodyStream, not AnswerBodyTS
  19. EugeneK

    THttpConnection.AnswerBytes

    For me it is alternative for AnswerStream, so there is no need to create/dispose stream if there are already TBytes to send.
  20. In Dalija Prasnikar's smart pointer unit here https://github.com/dalijap/code-delphi-mm/blob/master/Part5/SmartPointer/uSmartPtr.pas#L8 following code is used ISmartPointer<T> = reference to function: T; TSmartPointer<T: class, constructor> = class(TInterfacedObject, ISmartPointer<T>) basically anonymous method declaration is equivalent to interface. Is it documented somewhere? I tried looking at Interfaces and Anonymous method sections in documentation but can't find anything.
  21. EugeneK

    Anonymous methods as interfaces

    I'm not sure you understand my point. What I'm saying is that Embarcadero can theoretically hide ability to implement this interface manually and all existing code that uses anonymous methods in documented way will still work. Or they can change interface, say, rename Invoke to InvokeEx for some reason. So manually implementing this interface is a hack that can randomly stop working. Although I agree that probability is low that they will change it.
  22. EugeneK

    Anonymous methods as interfaces

    I'm not saying doing it without interface, I mean hiding this implementation detail from the users. I.e. not allowing to manually implement this interface in code. This won't break any documented uses of anonymous methods.
  23. EugeneK

    Anonymous methods as interfaces

    But this implementation does not have to be accessible as interface to end user for it to work.
  24. EugeneK

    Anonymous methods as interfaces

    I think anonymous methods will still work without ability to explicitly use them as interfaces. I could not find it being used in this way anywhere in Delphi RTL.
  25. EugeneK

    Anonymous methods as interfaces

    So it is not officially supported and theoretically can be changed?
×