* * *

Recent Posts

Pages: [1] 2 3 ... 10
1
Lazarus / Lazarus Release 1.8.4 (with FPC 3.0.4)
« Last post by Martin_fr on Today at 11:39:03 pm »
The Lazarus team is glad to announce the release of Lazarus 1.8.4. This is a bugfix release.

The release was built with FPC 3.0.4.

Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.8.0_release_notes
http://wiki.lazarus.freepascal.org/User_Changes_3.0.4

Here is the list of fixes for Lazarus 1.8.x:
http://wiki.freepascal.org/Lazarus_1.8_fixes_branch

The release is available for download on SourceForge:
http://sourceforge.net/projects/lazarus/files/

Choose your CPU, OS, distro and then the "Lazarus 1.8.4" directory.

Checksums for the SourceForge files:
http://www.lazarus-ide.org/index.php?page=checksums#1_8_4

Minimum requirements:

Windows:
2k, XP, Vista, 7, 8, 8.1 and 10, 32 or 64bit.
optional qt 4.5 or 5.6 for qt apps

FreeBSD/Linux:
gtk 2.8 for gtk2, qt4.5 for qt, qt5.6 for qt5, 32 or 64bit.

Mac OS X:
10.5 to 10.12; Carbon (32bit), Cocoa (64bit, not stable), qt and qt5 (32 or 64bit).

The svn tag is
http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_4

For people who are blocked by SF, the Lazarus releases from SourceForge are mirrored at:
ftp://ftp.freepascal.org/pub/lazarus/releases/
and later at (after some time for synchronization)
http://mirrors.iwi.me/lazarus/

2
Spanish / Re: fpReport
« Last post by jesusr on Today at 11:03:31 pm »
Lainz probablemente quieres decir que LazReport está basado en FreeReport no en fpReport.
3
TAChart / Re: Horizontal bar chart (missing labels)
« Last post by JD on Today at 11:02:23 pm »
Excellent, just excellent! Thanks a lot wp. You and Ask have done a great deal of work to make TAChart as good as it is now. Thanks for all the time and effort you've put into it.

Cheers,

JD
4
General / Re: Truly cleanup a string
« Last post by ezlage on Today at 10:43:54 pm »
Not sure why you (think) you need that...

Bart

Sorry.
I've noticed that user entries like username and password remain in memory, so I need a way to manually delete it. But before I do anything, I need to understand.

Desculpe.
Eu percebi que entradas do usuário como nome de usuário e senha permanecem na memória, então preciso de uma forma para apagar manualmente. Mas antes de executar alguma coisa, preciso entender.
5
General / Re: Truly cleanup a string
« Last post by ezlage on Today at 10:38:53 pm »
Parameters for FillChar are (variable, count, value). Bart changed order of value and count.

Yes, I had noticed. Thank you!

Sim, eu havia percebido. Obrigado!
6
General / Re: Truly cleanup a string
« Last post by Blaazen on Today at 10:36:20 pm »
Parameters for FillChar are (variable, count, value). Bart changed order of value and count.
7
Operating Systems / Re: Help Raspberry PI Lazarus Is Slow
« Last post by HarryCover on Today at 10:25:12 pm »
Thank you for your help, I will test your proposal tomorrow. I'll tell you if it worked

cordially

Harry
8
General / Re: Truly cleanup a string
« Last post by ezlage on Today at 10:21:20 pm »
Not sure why you (think) you need that, but FillChar(AShortString, #0, SizeOf(AShortString)) will fill the entire memory layout of the string with zero's.

Bart

Unfortunately it did not work. See the attachment.

Infelizmente não funcionou. Veja o anexo.
9
General / Re: Truly cleanup a string
« Last post by Bart on Today at 10:14:02 pm »
Not sure why you (think) you need that, but FillChar(AShortString, #0, SizeOf(AShortString)) will fill the entire memory layout of the string with zero's.

Bart
10
General / Truly cleanup a string
« Last post by ezlage on Today at 10:07:32 pm »
Friends,

I need to find a way of truly erase a string. I chose a type with no reference count, the ShortString. When a ShortString variable gets out of scope, I can't find it in a memory dump, that's nice. So, I want to find a way to erase the text from memory without waiting for it to come out of scope. How can I do this?

=== In Brazilian Portuguese ===

Amigos,

Eu preciso encontrar uma maneira de realmente apagar uma string. Eu escolhi um tipo sem contagem de referência, o ShortString. Quando uma variável ShortString fica fora do escopo, não consigo encontrá-la em um despejo de memória, isso é bom. Então, quero encontrar uma forma de apagar o texto da memória sem esperar que ele saia do escopo. Como eu posso fazer isso?

Code: Pascal  [Select]
  1. procedure ZeroFree(var str: shortstring);
  2. begin
  3.   while Length(str)>%0 do begin
  4.     str[High(str)]:=#0;
  5.     SetLength(str,Length(str)-%1);
  6.   end;
  7. end;
  8.  
  9. function ReverseShortStr(AText: shortstring): shortstring;
  10. var
  11.   i,j: byte;
  12. begin
  13.   SetLength(Result,Length(AText));
  14.   i:=%1; j:=Length(AText);
  15.   while (i<=j) do begin
  16.     Result[i]:=AText[j-i+%1];
  17.     Inc(i);
  18.   end;
  19.   ZeroFree(AText);
  20. end;
  21.  
  22. procedure TForm1.Button1Click(Sender: TObject);
  23. var
  24.   test: shortstring='';
  25. begin
  26.   test:=ReverseShortStr('egalleiuqeze');
  27.   ZeroFree(test);
  28.   ShowMessage('Do a memory dump now and try: type file.dump | find /i "ezequiellage"');
  29. end;
  30.  
Pages: [1] 2 3 ... 10

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus