On Mon, 27 Nov 2017 13:33:13 -0500
Donald Ziesig via Lazarus wrote:
>[...]
> > When you change a pas file of your package and you compile your project,
> > does the IDE automatically compile your package?
> Yes (at least it catches typos). Also, the same problem occurs when I
> compile the pa
On Mon, 27 Nov 2017 13:15:36 -0500
Donald Ziesig via Lazarus wrote:
>[...]
> TL;DR Library packages which declare generics do compile, but do not
> get included in the code that specializes them unless I "Cleanup and
> build" the whole program. (Workable, but much *slower* than programs
> w
On Mon, 27 Nov 2017 19:45:42 +0200
Kostas Michalopoulos via Lazarus wrote:
>[...]
> Thanks for the information. So in theory i could write a shell script that
> creates a symbolic link lcl/interfaces/wsfoo that points to some external
> (from Lazarus' source code dir) directory and adds (via sed,
On Sun, 26 Nov 2017 19:32:21 +0200
Kostas Michalopoulos via Lazarus wrote:
>[...]
> As i said, i do not think this would be useful enough to others to be part
> of the Lazarus tree. I ask because i remember a few months ago someone
> having an Amiga widgetset pretty much in working condition and
On Thu, 16 Nov 2017 14:02:57 +0300
Alexey via Lazarus wrote:
> >What do others do in this situation?
>
> I use
> https://github.com/Alexey-T/ATSynEdit/blob/master/atsynedit/atstringproc_utf8detect.pas
That's checking if a zeroed string is valid UTF-8.
GuessEncoding does that too, although
On Tue, 14 Nov 2017 01:26:32 +1000
"Dmitry D. Chernov via Lazarus" wrote:
> This is slightly related with recently fixed #32606: my patch fixes only
> wrong inactive state, patch for #32606 fixes determination of the identifier
> under the carriage, as a whole.
>
> This bug is very annoying wh
On Mon, 13 Nov 2017 10:53:18 +0100
Lubos Pintes via Lazarus wrote:
> Okay, sorry for noise. I discovered something labelled "Start Contains",
> not reachable from the keyboard, only with "virtual mouse", so it works
> as expected.
I replaced the speedbuttons with checkboxes. Should be reachabl
On Sat, 11 Nov 2017 13:56:07 +0100
Martok via Lazarus wrote:
> > Alexey via Lazarus wrote:
> >
> - enable option RowSelect
> >>> Why?
> >> Now selection is barely visible with thin frame on 1 cell.
> >
> > In my theme the thin frame is the active cell. A selected cell has a
>
On Sat, 11 Nov 2017 09:15:02 +
Graeme Geldenhuys via Lazarus wrote:
>[...]
> // for Online help files
>RegisterFPDocHTMLHelpForPackage('tiOPF2 Help','tiOPF2 Help Database',
>'http://geldenhuys.co.uk/tiopf/','tiOPF');
This only registers help for the source files of the
On Fri, 10 Nov 2017 17:37:02 +0300
Alexey via Lazarus wrote:
> >> - enable option RowSelect
> > Why?
> Now selection is barely visible with thin frame on 1 cell.
In my theme the thin frame is the active cell. A selected cell has a
different background.
> >> - not sure about opt Editing, ma
On Fri, 10 Nov 2017 15:58:15 +0300
Alexey via Lazarus wrote:
> I wish that in this dialog grid
>
> - disable option RangeSelect (select n lines)
Why?
You can use this for copying.
> - enable option RowSelect
Why?
> - not sure about opt Editing, maybe disable it.
What do you mean with op
On Wed, 8 Nov 2017 10:25:48 +0100
Michael Schnell via Lazarus wrote:
> On 08.11.2017 08:57, Michael Van Canneyt via Lazarus wrote:
> > Normally, early december a RC version of pas2js will be released.
> I understand that the issue of this thread is using Lazarus to do a
> server based "Rich In
On Tue, 7 Nov 2017 17:30:23 -0500
Donald Ziesig via Lazarus wrote:
>[...]
> I give up!
I don't see another mail from you. Where are your tries?
> After looking at most of the links in this thread, I can not
> get the Lazarus IDE to use anything other than the default theme ('black
> on white
On Tue, 7 Nov 2017 20:29:27 +
Graeme Geldenhuys via Lazarus wrote:
> On 2017-11-07 20:20, Michael Van Canneyt via Lazarus wrote:
> > GTK can do this out of the box.
> And where was this reply in 2006! :-) That's really good news to know
> that it is possible with GTK. I take it, it only w
On Tue, 31 Oct 2017 10:01:38 +0100
Werner Pamler via Lazarus wrote:
> Since all fixed-size message boxes, sooner or later, will run into this
> problem: Shouldn't message dialogs be resizable by default?
+1
Fixed size dialogs came from Windows and some people forced them
to other platforms - s
On Sun, 29 Oct 2017 16:04:23 +0100 (CET)
"Carlos E. R. via Lazarus" wrote:
>[...]
> Well, I can try, but I have no idea where/how to report bugs.
http://wiki.lazarus.freepascal.org/How_do_I_create_a_bug_report
Mattias
--
___
Lazarus mailing list
Laza
On Wed, 25 Oct 2017 13:05:57 +0200
Giuliano Colla via Lazarus wrote:
>[...]
> With older Delphi's up to, I believe, Delphi 7 you have that:
>
> 1) the syntax for the assignment of a procedural type is @ProcIdentifier
> := whatever;
No. The Delphi syntax is "ProcIdentifier:=Proc" or
"ProcIdenti
On Tue, 24 Oct 2017 13:56:43 +0200
Giuliano Colla via Lazarus wrote:
>[...]
> Yes, you're right, that's what clarifies the issue. When it works, Self
> is a TFORM1 object, when it fails, Self is just Nil.
>
> But now it's also clear why this happens.
I'm glad you figured it out.
>[...]
> Now
On Tue, 24 Oct 2017 12:41:11 +0100
el es via Lazarus wrote:
>[...]
> Now() is literally
>
> function Now : TDateTime;
> var ASystemTime : TSYSTEMTIME;
> begin
>GetSystemTime(ASystemTime);
>Result := SystemTimeToDateTime(ASystemTime);
> end;
>
> on my installation (lazarus 1.6.4 #54278,
On Tue, 24 Oct 2017 11:11:15 +0200 (CEST)
Michael Van Canneyt via Lazarus wrote:
>[...]
> From memory:
> The first call to Now is not necessarily thread-safe, because of the
> initialization of TZ info ?
Please add this to the docs.
Mattias
--
___
La
On Tue, 24 Oct 2017 11:20:50 +0200
Michael Schnell via Lazarus wrote:
> On 24.10.2017 10:48, el es via Lazarus wrote:
> > [...]
> >>> begin
> >>>repeat
> >>>until not ThreadNowInUse; //
> >>>
> >>>try
> >>> ThreadNowInUse :=true;
> >>
>[...]
> Better use a TTimer for s
On Tue, 24 Oct 2017 08:59:36 +0100
el es via Lazarus wrote:
> On 23/10/17 20:00, Giuliano Colla via Lazarus wrote:
> [snip]
>
> I don't remember if I was hitting AV using Now(), likely I wasn't -
> but due to 'normal' Now() being not thread safe, I was getting inconsistent
> timing results, wh
On Tue, 24 Oct 2017 08:59:36 +0100
el es via Lazarus wrote:
>[...]
> begin
> repeat
> until not ThreadNowInUse; //
>
> try
> ThreadNowInUse :=true;
This is not thread safe.
Mattias
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.
On Mon, 23 Oct 2017 22:50:49 +0200
Giuliano Colla via Lazarus wrote:
> Il 23/10/2017 21:33, Sven Barth via Lazarus ha scritto:
> > How do you pass the SendMessage() method to your thread? And how does
> > the code look that calls it?
> >
> The SendMessage() method belongs to the main thread on
On Mon, 23 Oct 2017 12:21:33 -0400
Donald Ziesig via Lazarus wrote:
> Hi All!
>
> How can I isolate the source of "Fatal IO error 11 (Resource temporarily
> unavailable) on X server :0.0. Xlib: request 67 length 20 would exceed
> buffer size." The program halts without calling the debugger or
On Fri, 20 Oct 2017 20:32:49 -0400
Anthony Tekatch via Lazarus wrote:
>[...]
> Then installed Lazarus for Raspbian defined here:
> http://wiki.freepascal.org/Lazarus_on_Raspberry_Pi
> sudo apt-get update
> sudo apt-get upgrade
> sudo apt-get install fpc
> sudo apt-get install lazarus
Ok. These
On Fri, 20 Oct 2017 15:07:22 -0400
Anthony Tekatch via Lazarus wrote:
>[..]
> $ ls -al /usr/lib/lazarus/1.6.2/components/opengl/
How did you install Lazarus?
> Also, the .ppu is being generated when I try to install the
> lazopenglcontext package:
>
> $ ls -al ~/.lazarus/lib/LazOpenGLContext/l
On Fri, 20 Oct 2017 11:07:51 -0400
Donald Ziesig via Lazarus wrote:
>[...]I
> looked at the release notes, etc. for 1.8 again with negative results.
It is mentioned in the release notes:
http://wiki.freepascal.org/Lazarus_1.8.0_release_notes
"New colored outline of source structure."
A link t
On Thu, 19 Oct 2017 17:05:59 -0400
Anthony Tekatch via Lazarus wrote:
> I cannot get the lazopenglcontext package to install on Raspbian stretch.
> The error is:
> lazarus.pp(1,1) Fatal: Cannot find lazopenglcontext used by Lazarus.
> Check if package LazOpenGLContext creates lazopenglcontext
On Fri, 13 Oct 2017 16:32:37 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]Its developers should not named their files considering that
> these names could be used in a bigger context. Don't you agree?
IMO reusable code should be named properly for a bigger context.
> IMHO, would
On Fri, 13 Oct 2017 15:42:27 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> I thought that only units included in package would be visible outside
> (other programs/packages) but I realized that doesn't matter if were
> included or not, the visibility is defined only by path (-Fu).
The Lazarus team is glad to announce the fifth release candidate of
Lazarus 1.8.
The Windows release was built with FPC 3.0.4 final svn version, the Linux
release was built with FPC 3.0.4RC1, and the Mac OS release was built with FPC
3.0.2.
The previous release Lazarus 1.6.4 was built with FPC
On Thu, 12 Oct 2017 20:39:44 -0400
Donald Ziesig via Lazarus wrote:
>[...]
> I've done this many times over on many machines (all Debian derivatives)
> in the past and never had a problem like this.
>
> I validated the checksums on all three files.
>
> Then I double clicked on /home/donz/Downl
On Fri, 13 Oct 2017 08:12:22 +0200 (CEST)
Michael Van Canneyt via Lazarus wrote:
>[...]
> > I've done this many times over on many machines (all Debian derivatives) in
> > the past and never had a problem like this.
> >
> > I validated the checksums on all three files.
>
> I am a bit surprise
On Thu, 12 Oct 2017 18:21:28 -0400
Donald Ziesig via Lazarus wrote:
> Hi All!
>
> I downloaded the three .deb files for 18 RC-4 and tried to install them
> (the checksums are valid).
>
> The two fpc 3.0.4 files said that they installed correctly, but all I
> can find are versions 3.0.0 and 3.
On Wed, 11 Oct 2017 16:00:49 +0200
Lubos Pintes via Lazarus wrote:
> Hi,
> Just wanted to try the cool feature, adding a procedure body to
> implementation. So I wrote a procedure header, pressed Ctrl+Shift+C, and
> found this in a message window:
> uiacore.pas(9,1) Error: unknown section keywo
On Sun, 8 Oct 2017 12:39:52 +0200
Marco van de Voort via Lazarus wrote:
> I noticed the scripts that I used to generate the LCL chms are partially
> deleted.
>
> r55175 | mattias | 2017-06-02 23:01:01 +0200 (vr, 02 jun 2017) | 1
> line
> Changed paths:
>D /trunk/docs/html/build_lazutils_html
On Mon, 9 Oct 2017 12:06:48 +0200
Mattias Gaertner via Lazarus wrote:
>[...]
> It's not really new: build_lcl_docs
>
> ./build_lcl_docs -h
> gives you the available options.
For example:
Put FPC's xct, chm, kwd files into lazarus/docs/chm/
cd docs/html
../../la
On Mon, 9 Oct 2017 08:10:08 -0300
"Leonardo M. Ramé via Lazarus" wrote:
> Hi, since many years ago I'm building Lazarus from source using the
> procedure detailed below, currently I'm on Ubuntu 16.04 64bit.
>
> My procedure is, first *svn up* fpc, then compile and install with
> defaults (into
On Sun, 8 Oct 2017 12:39:52 +0200
Marco van de Voort via Lazarus wrote:
> I noticed the scripts that I used to generate the LCL chms are partially
> deleted.
>
> r55175 | mattias | 2017-06-02 23:01:01 +0200 (vr, 02 jun 2017) | 1
> line
> Changed paths:
>D /trunk/docs/html/build_lazutils_html
On Thu, 5 Oct 2017 17:20:27 +0200
Sven Barth via Lazarus wrote:
>[...]
> I might be wrong, but wasn't undo support added to the form designer?
Yes, some years ago.
Mattias
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazaru
Hi all,
I hope FPC 3.0.4 is released this week, so we can release Lazarus
1.8 next week and celebrate 18 years of Lazarus at PasCon.
The PasCon for Lazarus conference is on 14th Oct:
http://www.blaisepascal.eu/agenda/lazarus_conference.php
Mattias
--
___
On Mon, 25 Sep 2017 17:18:05 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> Yes, but using {$modeswitch unicodestrings}, at least in a certain
> unit, should work with the same code between compilers because
> "string", for that unit, is UnicodeString as Delphi string is, no?
The i
On Wed, 20 Sep 2017 15:09:43 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> I'm using trunk, but an old revision:
> Lazarus 1.9.0 r54784 FPC 3.0.1 i386-win32-win32/win64
Please create a bug report.
Mattias
--
___
Lazarus mailing list
La
On Wed, 20 Sep 2017 20:38:23 +0200 (CEST)
Michael Van Canneyt via Lazarus wrote:
>[...]
> Currently not, I think.
> All the more reason to move everything to FCL in a unified codebase.
+1
> Or use your suggestion and use something like
>
> Type
> {$IFDEF XMLUTF8}
> XMLString = UTF8String;
On Wed, 13 Sep 2017 21:57:50 +0200
Ondrej Pokorny via Lazarus wrote:
>[...]
> > uses unitdots.unit1, unitdots;
> > type
> >TPrgBright = unitdots.tbright;
> >TPrgColor = unitdots.unit1.tcolor; <--
> > ...
>
> I don't get it :)
> from left to right: is unitdots a namespace? -> yes -> is un
On Wed, 13 Sep 2017 22:18:06 +0200
Sven Barth via Lazarus wrote:
>[...]
> The compiler always searches units in this order:
> - as written in uses clause
> - all lowercase
> - all uppercase
> (and this whole block for extensions .pp, .pas and .p)
Note that uppercase also uppercase the extension.
On Wed, 13 Sep 2017 18:09:40 +0200
Ondrej Pokorny via Lazarus wrote:
>[...]
> I think you are wrong.
Partly. I just didn't tell the whole story.
> I didn't study how the compiler resolves the
> identifiers internally, but when I developed dotted unit support for
> CodeTools I did it so: I reg
Hi all,
The annual PasCon for Lazarus conference is this time on 14th Oct:
http://www.blaisepascal.eu/agenda/lazarus_conference.php
The conference is organized by Blaise Pascal Magazine and takes place in
IJsselstein, Netherland.
Mattias
--
___
Laza
On Wed, 13 Sep 2017 14:38:55 +0200
Sven Barth via Lazarus wrote:
>[...]
> I'm not talking about ambiguity, I'm talking about aesthetics: FooBar.Blubb
> is easier to discern visually than FooBarBlubb.
Well, aesthetics often goes together with "used to".
I'm used to a point separates a sub identif
On Wed, 13 Sep 2017 11:40:23 +0200
Mattias Gaertner via Lazarus wrote:
> On Wed, 13 Sep 2017 11:19:58 +0200
> Sven Barth via Lazarus wrote:
>
> >[...]
> > The "." allows for a nicer disambiguation between what's the prefix and
> > what's the r
On Wed, 13 Sep 2017 11:19:58 +0200
Sven Barth via Lazarus wrote:
>[...]
> The "." allows for a nicer disambiguation between what's the prefix and
> what's the remainder. Granted, that can be done with "_" as well, but in my
> personal opinion a "." simply looks nicer. :)
I don't get why disambig
On Wed, 13 Sep 2017 10:44:23 +0200 (CEST)
Michael Van Canneyt via Lazarus wrote:
>[...]
> As long as there are no command-line switch and directive for setting
> namespaces, they are completely useless. And even with them, the benefit is
> doubtful.
>
> The benefit of writing fpreport.exporthtm
On Fri, 8 Sep 2017 09:49:47 +0300
Alexey via Lazarus wrote:
> not sure it is a bug. set Tree.SortType to stText. tree is sorted OK.
> now clear it, add many new items ==> items not sorted. so AlphaSort not
> called after adding items.
This is Delphi compatible.
I will add it to the documentat
On Wed, 6 Sep 2017 17:19:28 +0200
Sven Barth via Lazarus wrote:
>[...]
> Both Synchronize and Sleep already causes a thread switch (the former cause
> it will wait for the main thread to finish processing). Also I already
> suggested TThread.Yield which is the same as ThreadSwitch.
> And as he wr
On Sat, 2 Sep 2017 10:34:08 +0300
Juha Manninen via Lazarus wrote:
> In my tests Lazarus compiled with FPC trunk for GTK2 widgetset breaks
> AnchorDocking completely.
> Please see my comment here:
> https://bugs.freepascal.org/view.php?id=32342#c102573
> Can others reproduce or is it just my con
On Mon, 21 Aug 2017 10:06:23 +0200
Andrea Mauri via Lazarus wrote:
> Dear all,
>
> I noticed that on macosx childiszing is working strangely.
> If I use homogeneus child resize the controls are not homogeneously resized.
> See attached image.
Please create a bug report.
Mattias
--
___
On Wed, 16 Aug 2017 18:06:36 +0200
Michael Schnell via Lazarus wrote:
>[...]
> The only difference to the current status is that with the "dynamic"
> string brand the content of the "bytes per element" field is not
> predefined by the variable declaration but can change when something is
> ass
On Wed, 16 Aug 2017 15:22:20 +0300
Alexey via Lazarus wrote:
> On 16.08.2017 12:51, Mattias Gaertner via Lazarus wrote:
> > When you propose a new string type "dynamicstring" you have to define these
> > operators.
>
> BTW, it will be good to have
On Wed, 16 Aug 2017 13:47:26 +0200
Michael Schnell via Lazarus wrote:
> On 16.08.2017 13:17, Mattias Gaertner via Lazarus wrote:
> > You are confusing people if you name your encodings like this.
> There also is no "official" Code pages named "Default" or &
On Wed, 16 Aug 2017 12:24:55 +0200
Michael Schnell via Lazarus wrote:
> On 16.08.2017 11:51, Mattias Gaertner via Lazarus wrote:
> > Every Delphi/FPC type has a bunch of operators. Strings support :=, =,
> > <>, >=, <= and [] for read and write.
> > W
On Wed, 16 Aug 2017 11:33:04 +0200
Michael Schnell via Lazarus wrote:
>[...]
> But in fact "Unicode" is just a universal standard defining 64 bit
> entities.
No.
1,114,112 possible code points need at most 21 bits. Due to encoding at
most 32bit.
Mattias
--
___
Starting a new thread for a new topic. It's not that hard.
On Wed, 16 Aug 2017 11:26:46 +0200
Michael Schnell via Lazarus wrote:
> On 15.08.2017 18:33, Mattias Gaertner via Lazarus wrote:
> > Do you propose a string without the array operator [] ?
> I don't understand
On Wed, 16 Aug 2017 11:09:17 +0200
Michael Schnell via Lazarus wrote:
> On 16.08.2017 10:58, Mattias Gaertner via Lazarus wrote:
> > This thread is going out of topic.
> > Please start a new thread if you want to discuss Delphi strings.
> You can't discuss fpc
On Wed, 16 Aug 2017 10:47:37 +0200
Michael Schnell via Lazarus wrote:
> On 15.08.2017 19:29, Luca Olivetti via Lazarus wrote:
> > I has worked extremely well and reliably until fpc 2.6.4 (i.e. with
> > string=ansistring).
> > Does it not work in 3.x?
> I understand that storing uncoded Bytes i
On Tue, 15 Aug 2017 21:22:10 +0200
Luca Olivetti via Lazarus wrote:
>[...]
> *If* code that worked before (and dare I say without abusing the
> language) suddenly breaks, the bug is in the compiler and not in the
> library.
... unless of course the incompatibility is deliberate and documented.
On Tue, 15 Aug 2017 16:44:30 +0200
Michael Schnell via Lazarus wrote:
> On 15.08.2017 14:53, Mattias Gaertner via Lazarus wrote:
> > Do you mean a 'char' is a string in your proposal?
> Nope. In my proposal there would be Chars for any statically encoded
> String T
On Tue, 15 Aug 2017 14:26:34 +0200
Michael Schnell via Lazarus wrote:
> On 15.08.2017 11:15, Tony Whyman via Lazarus wrote:
> > Why shouldn't there be a single char type that intuitively represents
> > a single character regardless of how many bytes are used to represent it.
>
> I suppose by
On Tue, 15 Aug 2017 12:02:28 +0200
Michael Schnell via Lazarus wrote:
> On 15.08.2017 11:52, Michael Van Canneyt via Lazarus wrote:
> > This cannot be solved properly except by duplicating the classes unit.
>
> Sorry to disagree, but IMHO this can only be solved properly by defining
> an addi
On Mon, 14 Aug 2017 18:47:58 +0200
Sven Barth via Lazarus wrote:
>[...]
> The main problem of such a dynamic type would be the inability to do fast
> indexing as the compiler would need to insert runtime checks for the size
> of a character. I had already thought the same, but then had to discard
On Sat, 12 Aug 2017 17:56:58 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> > Which one? Do you mean Windows CP-1252?
>
> Yes...
> But would it make any difference?
Just
> >>[...]
> >> Warning: Implicit string type conversion from "AnsiString" to "WideString"
> >>
> >
> > Ex
On Mon, 14 Aug 2017 14:21:57 +0100
Tony Whyman via Lazarus wrote:
>[...]
> Lazarus is already a UTF8 environment.
>
> Much of the LCL assumes UTF8.
True.
> UTF8 is arguably a much more efficient way to store and transfer data
It depends.
> UTF-16/Unicode can only store 65,536 characters
The Lazarus team is glad to announce the fourth release candidate of
Lazarus 1.8.
This release was built with FPC 3.0.4RC1, except for Mac OS, which
still uses 3.0.2.
The previous release Lazarus 1.6.4 was built with FPC 3.0.2.
https://bugs.freepascal.org/view.php?id=31629
Here is the list of fi
On Sat, 12 Aug 2017 17:43:29 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> > What encoding has the ini file?
>
> ANSI. A simple text file on Windows with only ANSI chars.
Which one? Do you mean Windows CP-1252?
>[...]
> Warning: Implicit string type conversion from "AnsiStri
On Sat, 12 Aug 2017 16:46:09 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> Lib.SetLicense(
> IniFile.ReadString('TheLib', 'license', '')
> );
What encoding has the ini file?
Mattias
--
___
Lazarus mailing list
Lazarus@lis
On Wed, 2 Aug 2017 22:39:22 +0300
Juha Manninen via Lazarus wrote:
> On Wed, Aug 2, 2017 at 5:55 PM, Marcos Douglas B. Santos via Lazarus
> wrote:
> > I believe they were already fixed. I'm using it without these problems.
>
> Thanks. I was lazy to test myself now.
> Ondrej resolved the issue
On Fri, 28 Jul 2017 13:31:13 +0300
Alexey via Lazarus wrote:
> Problem: CudaText editor opens 400K file at the end, syntax parser is
> slow, I hold "d" char. expected: "d" or "d"*n chars appears from time to
> time. Eg each 1-2 seconds. Seen:
> "
On Tue, 25 Jul 2017 13:16:50 +0300
Alexey via Lazarus wrote:
> gtk2proc.inc, procedure DrawImageListIconOnWidget: it allocates Bitmap +
> DC. Pls add try-finally for Bitmap; and (not sure) try-finally for DC:
How did you manage to create a mem leak there?
> finally
>ReleaseDC(HD
On Mon, 24 Jul 2017 11:47:51 -0400
Anthony Walter via Lazarus wrote:
> Ondrej,
>
> Okay will do. This tool actually helped me fix the sparta docked form
> designer yesterday and I submitted a patch.
>
> Also, the online package manager ought to be integrated into lazarus, such
> that you can br
On Mon, 24 Jul 2017 12:34:46 +0300
Alexey via Lazarus wrote:
> On 24.07.2017 04:07, Darius Blaszyk via Lazarus wrote:
> > This tool extracts text from comments and string literals in source
> > code files and checks them for spelling. Very useful
>
> It is already doable in CudaText editor:
>
On Thu, 20 Jul 2017 15:31:34 +0100
Graeme Geldenhuys via Lazarus wrote:
>[...]
> I wonder if Lazarus IDE could use the Delphi dcc.exe command line
> compiler?
It can call it. For example as "execute before".
When dcc uses the same format "filename(line,column) message" the
IDE will jump to not
On Wed, 19 Jul 2017 10:23:16 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> But I only use lazbuild to build the IDE. I've took a look in this
> page http://wiki.lazarus.freepascal.org/lazbuild and I haven't found
> an argument related to the project file (lpi or lpr).
See Synopsis
On Wed, 19 Jul 2017 09:43:02 -0300
"Marcos Douglas B. Santos via Lazarus"
wrote:
>[...]
> How do you get the compiler arguments for each project? Mabe using the
> XML that Lazarus creates for each program?
You can either compile each project using lazbuild, or you can fetch
the options from the
On Tue, 4 Jul 2017 12:33:29 -0400
brian via Lazarus wrote:
>[...]
> Well, I'm certainly not using an Asian keyboard (not unless you mean
> manufactured in Asia! :) ) and I don't understand, in that case, why
> it's apparently ONLY the Lazarus 1.8 RC3 IDE that's affected. In case
> you missed it i
On Fri, 30 Jun 2017 23:10:25 +0200
Sandro Cumerlato via Lazarus wrote:
> Thank you Mattias,
> unique names solved the issue, I was wrongly naming frames:
> MyFrames[i].Name := Format('Frame%d', [i]);
>
> Last question: I am creating Frames within a ScrollBox, but it look like
> there is a limit
On Fri, 30 Jun 2017 11:59:56 +0300
Alexey via Lazarus wrote:
> procedure TCustomTreeView.MouseLeave;
> begin
>FStates:=FStates-[tvsDblClicked,tvsTripleClicked,tvsQuadClicked,
> tvsEditOnMouseUp,tvsSingleSelectOnMouseUp];
>if Assigned(FHintWnd) and FHintWnd.Visible
>
On Fri, 30 Jun 2017 22:46:17 +0200
Sandro Cumerlato via Lazarus wrote:
> Thank you Adrian for your reply,
> I can create a good layout with Frames, but it looks like I cannot create
> multiple frames on the same form... Duplicate name: A component named
> "Frame1" already exists.
>
> I tried to
The Lazarus team is glad to announce the third release candidate of
Lazarus 1.8.
This release was built with FPC 3.0.2.
The previous release Lazarus 1.6.4 was built with FPC 3.0.2 too.
The Linux releases are built with FPC 3.0.3 r36408 due to bug
https://bugs.freepascal.org/view.php?id=31629
Her
On Thu, 29 Jun 2017 15:45:38 +0200
Gabor Boros via Lazarus wrote:
> Hi All,
>
> Form's OnChangeBounds event fired in different time and number on these
> platforms. Attached a simple example. On Windows the event firing
> meanwhile form moving and with Linux-Qt just when the moving ended. At a
On Tue, 27 Jun 2017 22:46:55 -0500
Lars via Lazarus wrote:
> When I use the find/replace dialogs, and search for text, it does not
> search inside the else section of {IFDEF FPC}. I assume this is a
> feature. However some times I want to replace text inside delphi code
> that is outside the I
On Mon, 26 Jun 2017 21:50:57 +0300
Alexey via Lazarus wrote:
> I think Imagelist is freed [it must be] but WS gtk2 don't free it's
> handles or smth, can it be like it?
> CudaText gives leak not always. Maybe some lock in gtk2.
Since you are the only one with this problem, it must be somethin
On Fri, 16 Jun 2017 21:43:38 +1200
Wolf via Lazarus wrote:
> If I understand you correctly, because
> 1. command line parameters are internally treated as a null-terminated
> string (i.e. AnsiString), a call to ParamStr() implies a heap allocation
> and thus,
> 2. since ParamStr() is handled by
On Fri, 16 Jun 2017 20:36:54 +1200
Wolf via Lazarus wrote:
> Now I am nicely confused: If halt does call finalization sections, isn't
> then all heap space requested by the system unit supposed to be freed as
> well?
The system unit is special. It is loaded even before the heap manager
is init
On Fri, 16 Jun 2017 09:25:24 +0200
Ondrej Pokorny via Lazarus wrote:
> On 16.06.2017 9:12, Wolf via Lazarus wrote:
> > If the call to "halt;" is commented out, there is no memory leak
> > reported. Is this intentional?
>
> Yes, halt kills the program without finalizing anything. No code is
>
On Fri, 16 Jun 2017 19:12:31 +1200
Wolf via Lazarus wrote:
> The following program produces these two memory leaks:
>
> Heap dump by heaptrc unit
> 2 memory blocks allocated : 188/208
> 0 memory blocks freed : 134/144
> 2 unfreed memory blocks : 54
> True heap size : 32768
> True free heap :
On Thu, 15 Jun 2017 16:27:36 +0200
coppolastudio via Lazarus wrote:
> Hi, I want to try Lazarus RC and as usually i was trying to install the
> package FPC 3.0.2 deb but failed because offline an old FPC in the Mint lmde
> repos, is there a way ti solve this?
You might try fpc 3.0.3 from Laza
On Thu, 15 Jun 2017 17:07:06 +0200
Andrea Mauri via Lazarus wrote:
> >
> > The Mac native 64bit API is Cocoa and it exists for the LCL.
> > It is missing some feature though. Maybe Felipe can tell more details.
> >
> > Alternatively you can use qt, which is pretty complete, but requires
> > to in
On Thu, 15 Jun 2017 16:27:36 +0200
coppolastudio via Lazarus wrote:
> Hi, I want to try Lazarus RC and as usually i was trying to install the
> package FPC 3.0.2 deb but failed because offline an old FPC in the Mint lmde
> repos, is there a way ti solve this?
Do you have an error message?
M
On Wed, 14 Jun 2017 13:30:03 +0300
Alexey via Lazarus wrote:
> On 14.06.2017 12:38, Mattias Gaertner via Lazarus wrote:
> > reproduce this in a small project.
>
> Cannot repeat it : event with my custom controls and Python. Leak is
> here only after i open folder in Cudatex
On Thu, 15 Jun 2017 14:19:50 +0200
Andrea Mauri via Lazarus wrote:
> Dear all,
>
> I noticed that LCL applications can be built on Mac only for 32 and not
> 64. Will be 64 and LCL available in the future? Any roadmap?
The Mac native 64bit API is Cocoa and it exists for the LCL.
It is missing s
401 - 500 of 716 matches
Mail list logo