× Lab CT Version, news, test results, new features request and suggestions

Question CT LAB ver 5.50

More
4 years 10 months ago #8098 by Alexandr
Replied by Alexandr on topic CT LAB ver 5.50
Greetings great lazarus developers :)

I suggest add this cool controls to the CodeTyphon as pallete components.

TATTabs - github.com/Alexey-T/ATTabs
TATGroups - github.com/Alexey-T/ATGroups

It looks cool, also they are OS-independent.
But they don't supports designer (dont know why).

Can you add them to CT? :)

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
4 years 10 months ago #8099 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.50
Thanks Sir
your suggestion it's in our To-Do List

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #8115 by user01
Replied by user01 on topic CT LAB ver 5.50
renaming packages wasn't really a great idea. only brought compatibility and googling problems. now if here anything i need to search about some component i don't even know the package name.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago - 4 years 10 months ago #8116 by user01
Replied by user01 on topic CT LAB ver 5.50
Printers has been fixed half a year ago. 5.50 has some over a year old version.
svn.freepascal.org/svn/lazarus/trunk/components/printers/
github.com/alrieckert/lazarus/tree/master/components/printers
Last edit: 4 years 10 months ago by user01.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
4 years 10 months ago #8119 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.50
Thanks Sir
we will check and fix this

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #8123 by user01
Replied by user01 on topic CT LAB ver 5.50
particularly ifdefs. os based, not widgetset based. so gtk2 can be compiled for windows as well.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #8153 by user01
Replied by user01 on topic CT LAB ver 5.50
and not sure how to make, but if possible, tool windows to show always above main window. it's tool windows like spk content editor, actionlist editor, imagelist editor. etc. so they won't hide behind main window when you need to change properties.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #8193 by user01
Replied by user01 on topic CT LAB ver 5.50
and got a source code broken. double coded utf8. recoded utf8 files with utf8 again.

Please Log in or Create an account to join the conversation.

  • usbdoo
  • Visitor
  • Visitor
4 years 10 months ago - 4 years 10 months ago #8211 by usbdoo
Replied by usbdoo on topic Could not load SSL library
Could not load SSL library
CT LAB ver 5.50
debian-8.2.0-amd64-DVD-1.iso
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
  Classes, SysUtils, FileUtil, IdHTTP, IdSSLOpenSSL, Forms, Controls, Graphics,
  Dialogs, StdCtrls;
type
  { TForm1 }
  TForm1 = class(TForm)
    Button1: TButton;
    IdHTTP1: TIdHTTP;
    IdSSLIOHandlerSocketOpenSSL1: TIdSSLIOHandlerSocketOpenSSL;
    mInput: TMemo;
    moutput: TMemo;
    procedure Button1Click(Sender: TObject);
  private
    { private declarations }
  public
    { public declarations }
  end;
var
  Form1: TForm1;
implementation
{$R *.lfm}
{ TForm1 }
procedure TForm1.Button1Click(Sender: TObject);
var
  request:TIdHTTPRequest;
  response:TIdHTTPResponse;
  streamInput:TMemoryStream;
  streamOutput:TStream;
  requestQuery:String;
begin
   try
    streamOutput := TMemoryStream.Create;
    streamInput := TMemoryStream.Create;

    IdSSLIOHandlerSocketOpenSSL1.SSLOptions.CertFile := '/home/usb/test-tls.cer';
    IdSSLIOHandlerSocketOpenSSL1.SSLOptions.Method := TIdSSLVersion.sslvTLSv1_2;

    IdHTTP1.IOHandler := IdSSLIOHandlerSocketOpenSSL1;

    request := TIdHTTPRequest.Create(IdHTTP1);

    requestQuery:='<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fu="http://www.fu.gov.si/" xmlns:xd="http://www.w3.org/2000/09/xmldsig#">'+
                  '<soapenv:Body>'+
                  '<fu:EchoRequest>test echo</fu:EchoRequest>'+
                  '</soapenv:Body>'+
                  '</soapenv:Envelope>';
    mInput.Lines.Add(requestQuery);
    minput.Lines.SaveToStream(streamInput);
    streamInput.Position := 0;

    request.Source := streamInput;
    request.Method := 'POST';
    request.Accept := 'text/xml';
    request.Connection := 'KeepAlive';
    request.ContentType := 'text/xml; charset=utf-8';  // 'application/soap+xml'
    request.CustomHeaders.Add('SOAPAction: /echo');

    IdHTTP1.Post('https://blagajne-test.fu.gov.si:9002/v1/cash_registers', streamInput);
    response := IdHTTP1.Response;
    streamOutput := response.ContentStream;

    streamOutput.Position := 0;
    moutput.Lines.LoadFromStream(streamOutput);
  finally
    streamInput.Free;
    streamOutput.Free;
  end;
end;
end.                                          
usb@debian:~$ apt-cache policy openssl libssl-dev
openssl:
  Installed: 1.0.1k-3+deb8u1
  Candidate: 1.0.1k-3+deb8u1
  Version table:
 *** 1.0.1k-3+deb8u1 0
        500 cdrom://[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie/main amd64 Packages
        500 http://ftp.si.debian.org/debian/ jessie/main amd64 Packages
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
libssl-dev:
  Installed: 1.0.1k-3+deb8u1
  Candidate: 1.0.1k-3+deb8u1
  Version table:
 *** 1.0.1k-3+deb8u1 0
        500 cdrom://[Debian GNU/Linux 8.2.0 _Jessie_ - Official amd64 DVD Binary-1 20150906-11:13]/ jessie/main amd64 Packages
        500 http://ftp.si.debian.org/debian/ jessie/main amd64 Packages
        500 http://security.debian.org/ jessie/updates/main amd64 Packages
        100 /var/lib/dpkg/status
usb@debian:~$ 
Could not load SSL library.
Please help.
For me it is very important to find a solution to this problem?
Attachments:
Last edit: 4 years 10 months ago by usbdoo.

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #8216 by user01
Replied by user01 on topic Broken LFM files
Happened again. Got LFM files broken. Seems like it happens when opening the project. If the project remains active it won't happen next time you open CT. But if you switch to other project, then reopen your projects back LFM files gets broken, double recoded into UTF8.

Please Log in or Create an account to join the conversation.