Re: [Lazarus] PDF generator: please test

2016-04-10 Thread Dmitry Boyarintsev
On Sun, Apr 10, 2016 at 4:23 AM, Michael Van Canneyt wrote: > > > No, why ? One is about encoding of the supplied text. > > The other about whether the current font has the necessary glyphs to render > the text. I see the issue now. It's in my perception of PDF format. I always assumed it repres

Re: [Lazarus] PDF generator: please test

2016-04-10 Thread Dmitry Boyarintsev
On Sun, Apr 10, 2016 at 3:15 AM, Michael Van Canneyt wrote: It feels like, these two paragraphs: > > The user of the API should not have to care what font is used. > the API should do whatever is necessary to emit correct PDF for the > current font. > > If internally there are different calls ne

Re: [Lazarus] The return of the dreaded "The IDE is still building"

2016-04-01 Thread Dmitry Boyarintsev
On Fri, Apr 1, 2016 at 4:52 AM, Michael Van Canneyt wrote: > > See attachment. > > The IDE main window caption does not say 'building', and it is not > building. > The messages window shows the package compilation is in progress. I typically get this message when trying to run a compilation whil

Re: [Lazarus] Xamarin becomes free and open-source

2016-03-31 Thread Dmitry Boyarintsev
On Thu, Mar 31, 2016 at 4:31 PM, vfclists . wrote: > > Microsoft are not interested in FreePascal and Lazarus. > > They are going all out against Apple and Redhat. > Xamarin is using native controls, just like LCL does. -- ___ Lazarus mailing list Laza

Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-29 Thread Dmitry Boyarintsev
On Tue, Mar 29, 2016 at 12:19 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Tue, Mar 29, 2016 at 12:15 PM, Martin Frb wrote: > >> If 0 currently means unlimited, then: >> 1) a new value is needed for unlimited >> 2) the configfile version must be i

Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-29 Thread Dmitry Boyarintsev
On Tue, Mar 29, 2016 at 12:15 PM, Martin Frb wrote: > If 0 currently means unlimited, then: > 1) a new value is needed for unlimited > 2) the configfile version must be increased, so the config reader knows > according to the version what 0 means. > > So why to change IDE instead of an IDE plugin

Re: [Lazarus] Feature Request: Disable/clear the "Recent files" and "Recent projects" lists

2016-03-29 Thread Dmitry Boyarintsev
On Mon, Mar 28, 2016 at 2:25 PM, Ondrej Pokorny wrote: > On 28.03.2016 18:14, max.lemradt2 wrote: > >> I'd like to be able to disable or clear the "Recent files" and "Recent >> projects" lists, e. g. for privacy reasons. >> > > I will probably never use it but if you need it, feel free to create

Re: [Lazarus] How to create a transparent PNG?

2016-03-19 Thread Dmitry Boyarintsev
On Wed, Mar 16, 2016 at 3:25 PM, Gabor Boros wrote: > I want to draw onto a PNG image and save it without background. Tried > Transparent, TransparentColor, TransparentMode properties without success. > I need the A character in the PNG with black color without background. Any > idea? > > procedu

Re: [Lazarus] Default keymapping adapted to OS X

2016-03-14 Thread Dmitry Boyarintsev
On Mon, Mar 14, 2016 at 9:25 AM, Mattias Gaertner wrote: > > The Windows/Linux scheme was not available til yesterday. How did you > use it? > Lazarus has been providing 3 schemas. One of them was more or less close to Windows/Linux schema. It did require some manual adjustment to match exactly,

Re: [Lazarus] Default keymapping adapted to OS X

2016-03-14 Thread Dmitry Boyarintsev
On Mon, Mar 14, 2016 at 7:03 AM, Mattias Gaertner wrote: > I don't know anyone who wants the Windows/Linux (Lazarus default) > scheme under OS X without Ctrl-Meta mapping. > Count me in. I typically start by going to OSX preferences and disabling OSX defaults not to interfere with the IDE. Can't

Re: [Lazarus] Ann: class code creation

2016-03-07 Thread Dmitry Boyarintsev
On Mon, Mar 7, 2016 at 3:25 PM, Ondrej Pokorny wrote: > I implemented "class code creation" in r51851. I was already tired of > creating/copying object variables by hand. The idea is the same as with > code creation (ctrl+shift+c), but the variable is created in one of the > class section: > > pr

Re: [Lazarus] Microsoft Acquires Xamarin

2016-02-24 Thread Dmitry Boyarintsev
On Wed, Feb 24, 2016 at 3:16 PM, Anthony Walter wrote: > I expect their price to come down, maybe even into the free price range, > as a result of this acquisition. > Skepticism: what software became better after acquisition by Microsoft? thanks, Dmitry -- __

Re: [Lazarus] Incompatibility: dynamic array and TStream

2016-02-23 Thread Dmitry Boyarintsev
On Tue, Feb 23, 2016 at 9:39 PM, Donald Ziesig wrote: > I am trying to read the contents of a memory stream into a dynamic array > of characters and the program keeps crashing when I try to free the dynamic > array. > > Only one line is wrong, do the following: Stream.Read(Buf[0], Stream.Size);

Re: [Lazarus] non Unicodode application

2016-02-12 Thread Dmitry Boyarintsev
On Fri, Feb 12, 2016 at 11:24 AM, Sven Barth wrote: > Am 12.02.2016 17:16 schrieb "Dmitry Boyarintsev" < > skalogryz.li...@gmail.com>: > > > > On Fri, Feb 12, 2016 at 9:16 AM, Michael Van Canneyt < > mich...@freepascal.org> wrote: > >> > &

Re: [Lazarus] non Unicodode application

2016-02-12 Thread Dmitry Boyarintsev
On Fri, Feb 12, 2016 at 9:16 AM, Michael Van Canneyt wrote: > {$define String:=RawByteString} > > and you are done. > How to achieve the same effect from command line? thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org htt

Re: [Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Dmitry Boyarintsev
On Tue, Feb 9, 2016 at 4:59 PM, Anthony Walter wrote: > I have a friend who is a television news talent reading my scripts. > Thanks for clarification! The pro voice indeed makes it pro quality video. thanks, Dmitry -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Video Tutorial: Introducing Lazarus

2016-02-09 Thread Dmitry Boyarintsev
On Tue, Feb 9, 2016 at 3:35 AM, Anthony Walter wrote: > I've published a new video in my tutorial series. > Just curios, is it your voice on the video? thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazaru

Re: [Lazarus] How to set defines for a project? Lazarus crashes...

2016-02-09 Thread Dmitry Boyarintsev
On Mon, Feb 8, 2016 at 6:22 PM, Mattias Gaertner wrote: > Do you mean you added -dUseCThreads in > Project/Project_Options/Custom_Options, > but it is not appended to options passed to FPC? > Is it true to say that there are only 2 ways in IDE to set defines. 1) Project Options/Custom Options 2)

Re: [Lazarus] Tool to convert a multiline text to a pascal string constant

2016-02-02 Thread Dmitry Boyarintsev
On Tue, Feb 2, 2016 at 4:33 PM, Luiz Americo Pereira Camara < luizameri...@gmail.com> wrote: > Hi is there any tool for Lazarus to convert a multi line text (xml snipet, > SQL) to a string constant? > Shouldn't there be something already in Lazarus itself that you could use? Back at the time when

Re: [Lazarus] [OT] Why Mantis doesn't notify the changes?

2016-01-27 Thread Dmitry Boyarintsev
On Wed, Jan 27, 2016 at 12:43 PM, silvioprog wrote: > I can't receive any Mantis notification, even using this configuration: > Maybe Mantis is not configured to notify the Reporter? You might want to add yourself to Monitor list. thanks, Dmitry -- __

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread Dmitry Boyarintsev
On Mon, Jan 25, 2016 at 5:02 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > With though it might be outdated ... > correction: * Even though it might be outdated ... thanks, Dmitry -- ___ Lazarus mailing

Re: [Lazarus] [PATCH] components/turbopower_ipro: added the Iphttpbroker and its example

2016-01-25 Thread Dmitry Boyarintsev
On Mon, Jan 25, 2016 at 3:08 PM, Michael Van Canneyt wrote: > On Mon, 25 Jan 2016, silvioprog wrote: > >> >> Many units in Free Pascal and Delphi uses C libraries... when aren't using >> a C library (an API system call, an third party library call, etc.), are >> using assembly, ie, mostly time Pa

Re: [Lazarus] Get Lazarus January 2016 Update

2016-01-20 Thread Dmitry Boyarintsev
On Wed, Jan 20, 2016 at 4:53 PM, Anthony Walter wrote: > A new Lazarus layout with the component pallet removed and coolbar buttons > in its place. The a docked form designer is now the default form editor. > Nice job! Feels like switching for D7 to Turbo Delphi :) thanks, Dmitry --

Re: [Lazarus] Web vs desktop development

2016-01-15 Thread Dmitry Boyarintsev
On Fri, Jan 15, 2016 at 11:55 PM, Aradeonas wrote: > > Of course I saw them but as I said I surprised from that I cant find any > particular good one because I have habit that always there will be good > thing made with FPC and Lazarus. > > But if you know a especial one please give me a link. >

Re: [Lazarus] Web vs desktop development

2016-01-15 Thread Dmitry Boyarintsev
On Fri, Jan 15, 2016 at 2:52 PM, Aradeonas wrote: > > I know its a Open Source world and but I saw many great thing but not > this,is there a problem or disagree about making these apps in FPC? > As you can see they will be more apps like these and their problem is > speed sometimes that it c

Re: [Lazarus] Web vs desktop development

2016-01-15 Thread Dmitry Boyarintsev
On Fri, Jan 15, 2016 at 12:29 PM, Anthony Walter wrote: > For businesses web development is probably a better fit for their software > needs. > > For people who are computer enthusiasts that use their computers to > process tasks or solve problems, desktop development is probably better. > > What

Re: [Lazarus] Elastic Tabstop - what would the bounty be worth?

2016-01-12 Thread Dmitry Boyarintsev
On Tue, Jan 12, 2016 at 10:53 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > On 2016-01-12 15:51, Dmitry Boyarintsev wrote: > > Isn't it already there? > > It seems like it replaced column selection (in terms of shortcuts). > > > I'm

Re: [Lazarus] Elastic Tabstop - what would the bounty be worth?

2016-01-12 Thread Dmitry Boyarintsev
Isn't it already there? It seems like it replaced column selection (in terms of shortcuts). thanks, Dmitry On Tue, Jan 12, 2016 at 10:47 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > If I was to create a bounty to have this implemented in Lazarus (and > hopefully somebody has t

Re: [Lazarus] Something the examine Lazarus or applications?

2016-01-11 Thread Dmitry Boyarintsev
On Mon, Jan 11, 2016 at 12:58 PM, Anthony Walter wrote: > Others: If I can dig up my D7 SE installer I'll attempt to verify. I > distinctly remember being surprised at this behavior in D5 1999, but I > could be mis-remembering. > I've D7 here. I tried Ondrej's sample here and it throws the assert

Re: [Lazarus] Lazarus trunc does not compile with fpc 2.6.4 Win32

2016-01-11 Thread Dmitry Boyarintsev
On Mon, Jan 11, 2016 at 10:32 AM, Mattias Gaertner < nc-gaert...@netcologne.de> wrote: > There is no overload. There is only one definition: > > {$define PathStr:=RawByteString} > why not type PathStr= RawByteString; ? thanks, Dmitry -- ___ Lazarus ma

Re: [Lazarus] New menu designer. which style do you prefer?

2016-01-10 Thread Dmitry Boyarintsev
The bottom one. It's more "calm". Doesn't look like a circus.​ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-08 Thread Dmitry Boyarintsev
On Fri, Jan 8, 2016 at 2:48 AM, Marc Santhoff wrote: > It is. I'm living in Germany, and the law forbids the use of Nazi > symbols. I don't know exactly, what it looks like, but there actually is > a clear definition how it looks like. Probably the circle around the > swastika and the color schem

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-08 Thread Dmitry Boyarintsev
On Fri, Jan 8, 2016 at 2:43 AM, Marc Santhoff wrote: > People see something and are driven by feelings. I watched a case like > this already regarding FreeBSD. Some users insisted of changing the > deamon logo because they are afraif of the devil. Rather ridiculous, it > actually was a cuddly to

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-07 Thread Dmitry Boyarintsev
On Thu, Jan 7, 2016 at 3:20 PM, Juha Manninen wrote: > > What means "political correctness" exactly? > It's use of language. Use the words that would not provoke, insult of make feel bad anyone. I doubt the thread would ever come up, if the function were named PaintCrookedCross as Ondrej pointed

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 3:29 PM, Anthony Walter wrote: > Regarding a patch, can whomever creates/applies it insure the > PaintSwastika procedure does not default to the Nazi symbol characteristics? > It's easy, just changing LineWidth: Single = 0.20 to whatever But how about backwards compatibili

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 3:23 PM, Ondrej Pokorny wrote: > Indeed! Therefore PaintSwastika should be renamed to "PaintCrookedCross" > to comply with "PaintFivePointLineStar". > > It doesn't make sense to have Swastika and then omit Pentagram. Lazarus > sources should be uniform. > Any objection if

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 3:06 PM, Marc Santhoff wrote: > I see. But from that view: the Nazi symbol is named "Hakenkreuz", not > "Swastika". If you argue like this, you can revert the patch. ;) > > Indeed! PaintSwastika draws a religious rune, not a Nazi symbol! thanks, Dmitry -- _

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 2:21 PM, Anthony Walter wrote: > There are many versions of the religious swastika symbol, but is only one > version of the swastika is draw with the squared capped leaves and a stroke > width exactly equal to 1/5th of the linear diameter. Guess which one the > lcl function

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 2:45 PM, Marc Santhoff wrote: > > How about that: > > PaintFivePointLineStar(PaintBox1.Canvas, r); > > Got some silver knifes and black candles at hand? > That's the point :) It's FivePointLineStart, not Pentagram. ( https://en.wikipedia.org/wiki/Pentagram) It might look

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 12:42 PM, Juha Manninen wrote: > Dmitry, you have full SVN write access, don't you? You can commit it > without any bug reports. > There could be more variations. Swastika has been drawn standing on > its side, clockwise and counter-clockwise, and standing on its corner. >

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 11:20 AM, Vojtěch Čihák wrote: > I vote for keeping procedure but there should be added boolean parameter + > patch for painting anti-clockwise swastika (which is religious symbol > only). > Fair enough. Here's the patch. (Anyone,) please create a bug report, so it could b

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 10:31 AM, Bart wrote: > > So, yes, IMVPAPO, it should be removed. > > Swastika glyph is in Unicode standard. That actually an excuses for having the function available. (i.e. if a font doesn't support swastika, it could be drawn manually). thanks, Dmitry -- ___

Re: [Lazarus] Do we really need a PaintSwastika procedure?

2016-01-06 Thread Dmitry Boyarintsev
On Wed, Jan 6, 2016 at 9:54 AM, Marc Santhoff wrote: > One could demand to remove any religious reference, then the name would > have to be changed. > IIRC even "Lazarus" name was discussed at some point as having religious reference. Which is kind-of is... but to avoid another Phoenix bird named

[Lazarus] IDE extension and Debug Output window

2015-12-27 Thread Dmitry Boyarintsev
Hello, What's the correct IDEIntf APIs to show "Debug Output" window as well as populate with some debugging output? thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/laz

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 4:14 PM, Ondrej Pokorny wrote: > Thanks Dmitry! It works for this issue but opened a regression: Lazarus > IDE is moved to the very last place in Alt+Tab history. > It's a little bit different regression, the fsStayOnTop window is moved to the bottom. Which also not good,

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
end; Dispose(StayOnTopWindowsInfo); end; inc(InRemoveStayOnTopFlags); thanks, Dmitry On Wed, Dec 23, 2015 at 12:43 PM, Ondrej Pokorny wrote: > On 23.12.2015 18:25, Dmitry Boyarintsev wrote: > > On Wed, Dec 23, 2015 at 11:26 AM, Dmitry Boyarintsev < > skalogryz.li...@gmail.com>

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 1:46 PM, Ondrej Pokorny wrote: > Not for me :( > > > https://drive.google.com/file/d/0Bx-flYubOTroY3BCaFlScVl2NzA/view?usp=sharing > What happens if you enable Windows thumbnails (shown on alt-tab by default) back? thanks, Dmitry -- __

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 1:23 PM, Ondrej Pokorny wrote: > No, I have no local changes. I always commit them to trunk :) > > Steps to reproduce: use Alt+Tab when switching to Thunderbird. > I can only reproduce it by opening Lazarus in the front and then trying to resize (by dragging) the underlyi

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 12:11 PM, Ondrej Pokorny wrote: > No, this is not true. It does bother my email client such as any other > fsStayOnTop window, see attachment - from the Win10 theme you can recognize > that the email client window is focused and active and is still covered by > "Leaks and

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 12:04 PM, Ondrej Pokorny wrote: > So it means that Lazarus' LCL and Delphi's VCL fsStayOnTop are not > compatible, which I don't really understand why this decision was made. > (Maybe some historic reason I am not aware of [?]) > > From my point-of-view, it would be a bett

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 11:26 AM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > StayOnTop - stay on top of all windows within the application > fsSystemStayOnTop - stay on top of all windows within system. > Yes, it is in Lazarus documentation as well.

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 11:42 AM, Ondrej Pokorny wrote: > > For the sake of backwards&Delphi compatibility the other way round would > be more appropriate, IMO: > fsAppStayOnTop - stay on top of all windows within the application > fsStayOnTop - stay on top of all windows within system. (current

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 11:26 AM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > fsStayOnTop - stay on top of all windows within the application > fsSystemStayOnTop - stay on top of all windows within system. > As an example. LeakView allows a user to switch between &q

Re: [Lazarus] New menu designer

2015-12-23 Thread Dmitry Boyarintsev
On Wed, Dec 23, 2015 at 2:26 AM, Ondrej Pokorny wrote: > What I don't like on fsStayOnTop is the fact that fsStayOnTop-Window wants > to stay on top of all windows - also those from other applications. This is > IMO a seriously bad UI design. I know that Delphi behaves the same but then > we need

Re: [Lazarus] LGPL versions between RTL and LCL

2015-11-23 Thread Dmitry Boyarintsev
On Mon, Nov 23, 2015 at 7:40 AM, Mattias Gaertner wrote: > > For simplicity the LCL should use the same license as FCL/RTL. > > Can you extract the differences, so we can ask for permission from > contributors? > I took a lazy path and let a tool do the comparison. The resulting PDF could be do

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Dmitry Boyarintsev
On Fri, Nov 6, 2015 at 1:25 PM, Mattias Gaertner wrote: > > Does Delphi alter some other records too, e.g. TPoint and TSize? > > It does http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Types.TPoint http://docwiki.embarcadero.com/Libraries/Seattle/en/System.Types.TSize so it's just a m

Re: [Lazarus] Extending TRect breaks Lazarus

2015-11-06 Thread Dmitry Boyarintsev
On Fri, Nov 6, 2015 at 10:45 AM, Marco van de Voort wrote: > I haven't investigated deeper yet, but I suspect the heavy use of WITH in > interfaces etc is the cause. (if you assign width and height of a > component in a component method in a WITH with a TRECT as argument, then > now > width and

Re: [Lazarus] annoying *SPAM* (attn: Michael Schnell)

2015-10-23 Thread Dmitry Boyarintsev
On Fri, Oct 23, 2015 at 9:38 AM, Henry Vermaak wrote: > > If your mail client is threading based on the subject, it's broken or > misconfigured. My client has no issues with the subject changing. > I totally agree that gmail.com is totally broken and misconfigured. (no irony, but sorrow) That'

Re: [Lazarus] annoying *SPAM* (attn: Michael Schnell)

2015-10-23 Thread Dmitry Boyarintsev
Hello Michael It seems like your email client is adding "*SPAM*" to the subject of emails coming from lazarus mailing list. Could you please add Lazarus@lists.lazarus.freepascal.org to the white list? Otherwise getting an email with *SPAM* prefix in the subject ruins the whole thread. I apologiz

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Dmitry Boyarintsev
On Sun, Oct 18, 2015 at 11:06 AM, Sven Barth wrote: > > Currently there is this restriction, yes, but I do plan to add a > modeswitch that will rectify that, I just need to plan how overload > resolution should work. > I'm sure it has been discussed already in other threads, but are you going to a

Re: [Lazarus] Type helper now work with CodeTools?

2015-10-18 Thread Dmitry Boyarintsev
On Sun, Oct 18, 2015 at 10:11 AM, Anthony Walter wrote: > A question, are type helpers limited to one per type? That is to say, if I > write a "type MyStringHelper = record helper for string" and Michael adds a > "type LazStringHelper = record helper for string" in SysUtils, will only > one of th

[Lazarus] LGPL versions between RTL and LCL

2015-09-25 Thread Dmitry Boyarintsev
Hello, I know lots of developers don't like licensing questions, but I'll ask anyway. Is it intended that RTL is using LGPL v2.1 as its base, while LCL is using an earlier verions LGPL v2? Yes, both RTL and LCL are using the same "exception" to the license, but I'm just curious. One (not-so) imp

Re: [Lazarus] Embedded Firebird bundled with OSX application

2015-06-22 Thread Dmitry Boyarintsev
On Mon, Jun 22, 2015 at 7:54 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > That was my initial thought too... should be similar to Linux. But it > ended up not being the case (at least for me). > For example: > * Libraries need to be included inside the application bundle. I'm

Re: [Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-17 Thread Dmitry Boyarintsev
On Tue, Jun 16, 2015 at 9:48 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > See screenshot... > > http://geldenhuys.co.uk/~graemeg/laz_osx_corrupt_text_rendering.png > Could you please copy-paste (cmd+c , cmd+v) the contents to a text file? thanks, Dmitry -- ___

Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:52 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > On 2015-06-15 14:15, Dmitry Boyarintsev wrote: > > Carbon is deprecated, no actual interest in fixing the issue. > > Is the issue with Carbon or with LCL-Carbon? > It's LCL-

Re: [Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:35 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Ah. Thank you very much for that info. It is working now. I'll try and > close/cancel the bug report. I'm very new to development under OSX - I > guess it shows. ;-) > > The next big thing for a new OSX de

Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:56 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Or is LCL-Qt a better option under OSX? > > You can (should) definitely try LCL-Qt. LCL-Cocoa is the best option, but it will require lots of patience and bug reporting. thanks, Dmitry --

Re: [Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:17 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Thanks for trying. Here is my video showing the problem. > > No, sir, this is not an issue! Please don't bug report. That's OSX feature. You're trying to launch GUI application "not from a bundle". OSX co

Re: [Lazarus] QuestionDlg block mouse and keyboard input under OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 8:25 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > > Is this a know issue under OSX? Anybody have a work-around? > > Please bug report. I'll take a look tonight. thanks, Dmitry -- ___ Lazarus mailing list Lazaru

Re: [Lazarus] Font errors in console output on OSX

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 6:55 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > > Is this normal (something that can be ignored), or is there something > wrong in the application, or in LCL-Carbon? > > Ignore it. Though you can create a bug report about it. Carbon is deprecated, no a

Re: [Lazarus] Conflicting IDE keyboard shortcuts with OSX out-of-the-box

2015-06-15 Thread Dmitry Boyarintsev
On Mon, Jun 15, 2015 at 9:01 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Are these considered bugs - if so I'll report them in Mantis. Or is it > expected from the developer to find there own workable shortcuts on each > platform, or disable standard shortcuts from the OS's des

Re: [Lazarus] Mac retina pain

2015-05-29 Thread Dmitry Boyarintsev
On Fri, May 29, 2015 at 11:17 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > eg: in Lazarus on OSX I > pressed F12 to see the form designer, but OSX grabbed the shortcut and > rather showed be the useless desktop widgets (clock, calendar etc) > screen. > That's "defaults hate". (a

Re: [Lazarus] IDE under OSX causes TDefaultComponentEditor error

2015-05-29 Thread Dmitry Boyarintsev
You probably need to "Tools->Rescan FPC Source Directory"? thanks, Dmitry On Fri, May 29, 2015 at 7:50 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Hi, > > New Lazarus v1.4 install from the files on SourceForge, using OSX > 10.9.5. If I create a new application and drop a butt

Re: [Lazarus] New coding process - TDD is now old school

2015-05-12 Thread Dmitry Boyarintsev
On Tue, May 12, 2015 at 10:56 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > > ... and porting to Lazarus > > and done! https://havefunsoft.com/share/fpccodemonkey.zip (win32 tested) Sadly enough, the GUI version is using Application.ProcessMessages! You might

Re: [Lazarus] New coding process - TDD is now old school

2015-05-12 Thread Dmitry Boyarintsev
And yes.. the video explains the purpose (and critical need) of '&' identifiers http://freepascal.org/docs-html/ref/refse4.html#x16-150001.4 On Tue, May 12, 2015 at 10:56 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Tue, May 12, 2015 at 6:4

Re: [Lazarus] New coding process - TDD is now old school

2015-05-12 Thread Dmitry Boyarintsev
On Tue, May 12, 2015 at 6:47 PM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > :-) > > Despite of the video could be funny and quite smart (though not original, since matching code to human language has been out for years) I foresee the video back-firing at pascal developers: "Are y

Re: [Lazarus] How to display html contents?

2015-05-10 Thread Dmitry Boyarintsev
On Sun, May 10, 2015 at 6:21 AM, Giuliano Colla < giuliano.co...@fastwebnet.it> wrote:. > > Actually I'm porting to Lazarus a collection of Kylix applications, which > where using a TTextViewer component, which is nothing but a wrapper for > QTextViewer. Kylix used Qt3, but I see that the same comp

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 8:58 PM, luiz americo pereira camara < luiz...@oi.com.br> wrote: > > Only TextHint support would be merged to TEdit. > True. TextHint is required for Delphi compatibility in the first place. But to go a bit better than Delphi, IconHint method could be introduced as well...

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 3:17 PM, silvioprog wrote: > > I implemented this feature in an old project that I maintain, > LazSolutions, and it was cross-platform. > > Nice! EM_SETCUEBANNER doesn't have Ansi version, it only accepts WideChars (even for Ansi windows) But, why was cross-platform? Is i

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 1:35 PM, luiz americo pereira camara < luiz...@oi.com.br> wrote: > > I implemented here long time ago: > https://code.google.com/p/luipack/source/browse/trunk/luicontrols/searchedit.pas > > If agreed i can add to LCL as TEdit.TextHint > Two notes here: #1 for the case of

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread Dmitry Boyarintsev
On Sun, Apr 26, 2015 at 8:13 AM, Michael Van Canneyt wrote: > > At first I thought it would operate directly on the list items itself, but > it seems it has it's private copy of the data and rebuilds the listview > using that. For some strange reason the author decided it was enough to use > an a

Re: [Lazarus] Version 1.4

2015-04-16 Thread Dmitry Boyarintsev
On Tue, Apr 14, 2015 at 3:26 PM, Bob B. wrote: > Unlike RichMemo, with lzRichEdit you don't have to wrestle with svn, just > download the zip file from > Well, not anymore. I've added a link to a downloadable .zip package for richmemo. http://wiki.freepascal.org/RichMemo#Download It's nightly bu

Re: [Lazarus] OSX Dynamically-linked Libraries Need cdecl Exports

2015-04-14 Thread Dmitry Boyarintsev
On Tue, Apr 14, 2015 at 11:02 AM, ADTEC (Pty) Ltd wrote: > Anyone else had this problem? > It's not a problem it's rather a common convention. Windows platform is using stdcall for dynamic libraries. Unix platforms (OSX included) is using cdecl. An example OpenGL binding in FPC are working fine

Re: [Lazarus] Z-order not working

2015-04-01 Thread Dmitry Boyarintsev
On Wed, Apr 1, 2015 at 9:45 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Why can I place a TEdit above a StatusBar, but a TImage I can't? See > attached screenshot. > Follow up on the forum. http://forum.lazarus.freepascal.org/index.php/topic,27932.0.html thanks, Dmitry --

Re: [Lazarus] Z-order not working

2015-04-01 Thread Dmitry Boyarintsev
On Wed, Apr 1, 2015 at 10:23 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > And that's where my second (actually I lost count today) problem lies. > How do I add a TPanel inside a TStatusBar for example. The TStatusbar > doesn't seem to accept child widgets. > I'd think that's an

Re: [Lazarus] Z-order not working

2015-04-01 Thread Dmitry Boyarintsev
TImage is a graphic control (it doesn't have its own handle), thus cannot be put "above" any other control than it's parent. It should be a place into another control (i.e. TPanel) that is TWinControl (and does have a handle) thanks, Dmitry On Wed, Apr 1, 2015 at 9:45 AM, Graeme Geldenhuys < mai

Re: [Lazarus] Can the Lazarus IDE itself be compiled for a different OS and architecture?

2015-03-31 Thread Dmitry Boyarintsev
On Tue, Mar 31, 2015 at 11:25 AM, vfclists . wrote: > > Is it possible to compile the Lazarus version of Windows 32bit or 64bit on > a Linux system, including the components, zip it up and transfer it to a > Windows system for installation? > It is possible, as long as FPC cross-compilers are se

Re: [Lazarus] Lazbuild command options.

2015-03-26 Thread Dmitry Boyarintsev
On Thu, Mar 26, 2015 at 9:47 AM, vfclists . wrote: > Is there a document with more detail on the syntax of lazbuild's options? > lazarus --help doesn't offer much. > > Web version of lazbuild --help http://wiki.freepascal.org/lazbuild Are you looking for something specific? thanks, Dmitry -- __

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 4:36 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > hmm... or is DrawEdge declaration wrong having ARect be passed as "const" > rather than "var"? > > it's var! function DrawEdge(hdc: HDC; var qrc: TRect; edge: UI

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 4:36 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > of is DrawEdge > or is DrawEdge -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 2:06 PM, Juha Manninen wrote: > // ToDo: Fix Result and the loop. "I" is not used for anything. > for I := 0 to FrameWidth - 1 do > Result := Boolean(DrawEdge(DC, ARect, Edge[Style], BF_RECT or > BF_ADJUST)); > false positive. https://msdn.microsoft.com/en-us/lib

Re: [Lazarus] Errors in win32winapi.inc and elsewhere spotted by compiler

2015-03-24 Thread Dmitry Boyarintsev
On Tue, Mar 24, 2015 at 2:06 PM, Juha Manninen wrote: > I also added some ToDo items for things I could not fix. > I would need help for the ToDo items especially in LCL-Win32 code. I > know there are people here who know that code. > // ToDo: WinBmp is not initialized at all. Should it be init

Re: [Lazarus] Ways of making new style design

2015-03-23 Thread Dmitry Boyarintsev
On Mon, Mar 23, 2015 at 4:53 PM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > Yes, our mailling list has had almost no moderation since 10 years. > > That's why I prefer the forum. The topic is (was?) ignored on the forum: http://forum.lazarus.freepascal.org/index.ph

Re: [Lazarus] Ways of making new style design

2015-03-23 Thread Dmitry Boyarintsev
On Mon, Mar 23, 2015 at 4:47 PM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > Please don't use our mailling list for propaganda of unrelated > software, fpgui has its own communication channels, use them to talk > about fpgui. > Didn't Greame do that for the past 10 y

Re: [Lazarus] How to cast a Interface to a Object in Lazaeus

2015-03-13 Thread Dmitry Boyarintsev
On Fri, Mar 13, 2015 at 10:21 AM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Sorry, but that is a false statement. It works for both COM and CORBA > interfaces. Simply don't use the 'as' syntax - just cast it. > Wait, how can a syntax "work", if not used? :) Don't forget that Pa

Re: [Lazarus] How to cast a Interface to a Object in Lazaeus

2015-03-13 Thread Dmitry Boyarintsev
On Fri, Mar 13, 2015 at 5:49 AM, aradeonas wrote: > OK,So in the end how can I cast a Interface to a Object in Lazarus? > The syntax show here: http://docwiki.embarcadero.com/RADStudio/XE7/en/Interface_References#Casting_Interface_References_to_Objects works in FPC as well. var LIntfRef: II

Re: [Lazarus] QT5 progress?

2015-03-04 Thread Dmitry Boyarintsev
Hello Den, Do you've to make libraries manually or is there an automated process to generate them? thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Game development walkthrough: A simple example using Bare Game

2015-02-09 Thread Dmitry Boyarintsev
The GL wrapper (bare.games in this case ) depends on the GL settings not to be modified outside of it. The example does the exact hack. The functionality can be achieved should be implemented using Cameras, then the example should show it. Camer should be in "minimal" set for APIs thanks, Dmitry -

Re: [Lazarus] Game development walkthrough: A simple example using Bare Game

2015-02-09 Thread Dmitry Boyarintsev
Criticism: mixing low-level opengl functions with higher-level APIs is a bad design. Either higher-level apis needs to be updated to allow the desired functionality(which is achieved by direct calling gl functions) or not used at all. thanks, Dmitry On Mon, Feb 9, 2015 at 5:58 AM, Anthony Walter

Re: [Lazarus] Mac retina pain

2015-02-05 Thread Dmitry Boyarintsev
On Thu, Feb 5, 2015 at 4:33 PM, Mattias Gaertner wrote: > On Thu, 5 Feb 2015 21:53:31 +0100 > Felipe Monteiro de Carvalho wrote: > Or maybe just give up debugging in Mac OS X ... long > > live WriteLn!!! > > Go writeln, go! > The most annoying part is that Lazarus keeps bugging me on Start about

  1   2   3   4   >