Welcome, Guest
Username: Password: Remember me
Lab CT Version, news, test results, new features request and suggestions

TOPIC:

CT LAB ver 5.50 9 years 3 weeks ago #8098

  • Alexandr
  • Alexandr's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 62
  • Thank you received: 2
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.

CT LAB ver 5.50 9 years 3 weeks ago #8099

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4523
  • Thank you received: 1108
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.

CT LAB ver 5.50 9 years 3 weeks ago #8115

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
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.

CT LAB ver 5.50 9 years 3 weeks ago #8116

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
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

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

Last edit: by user01.

CT LAB ver 5.50 9 years 3 weeks ago #8119

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4523
  • Thank you received: 1108
Thanks Sir
we will check and fix this
PilotLogic Architect and Core Programmer

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

CT LAB ver 5.50 9 years 3 weeks ago #8123

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
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.

CT LAB ver 5.50 9 years 2 weeks ago #8153

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
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.

CT LAB ver 5.50 9 years 2 weeks ago #8193

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
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.

Could not load SSL library 9 years 2 weeks ago #8211

  • usbdoo
  • usbdoo's Avatar
  • Visitor
  • Visitor
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?

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

Last edit: by usbdoo.

Broken LFM files 9 years 1 week ago #8216

  • user01
  • user01's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 29
  • Thank you received: 3
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.