From aaa5500 at ya.ru Fri Jan 3 20:14:11 2020 From: aaa5500 at ya.ru (AlexeyT) Date: Fri, 3 Jan 2020 22:14:11 +0300 Subject: [Lazarus] Gtk2 compilation error on SPARC Message-ID: <0764a43b-0b8d-ebde-1d54-f77a0a17a2cb@ya.ru> When I compile CudaText for Solaris SPARC (32bit CPU as IDE GoTo shows me blocks with "ifdef cpu32") I get compile error, gtk2widgetset.inc   // clipboard   ClipboardTypeAtoms[ctPrimarySelection]:=GDK_SELECTION_PRIMARY; ClipboardTypeAtoms[ctSecondarySelection]:=GDK_SELECTION_SECONDARY; ClipboardTypeAtoms[ctClipboard]:=gdk_atom_intern('CLIPBOARD',GdkFalse); ///==> gtk2widgetset.inc(1473,36) Error: Incompatible types: got "PGdkAtom" expected "LongWord" IDE shows that both sides (array and gdk_atom_intern) are TGdkAtom - hmm. Lazarus trunk from today. user at PC:~/fpcupdeluxe/fpc/bin/x86_64-linux$ ./fpc Free Pascal Compiler version 3.3.1-r43462 [2019/11/14] for x86_64 -- Regards, Alexey From mlnglsts at bgss.hu Sun Jan 12 10:53:39 2020 From: mlnglsts at bgss.hu (Gabor Boros) Date: Sun, 12 Jan 2020 10:53:39 +0100 Subject: [Lazarus] Install LazDebuggerFp with trunk Message-ID: Hi All, If I try to install LazDebuggerFp package with trunk(62522) got the attached error. Any idea why? (I can install other packages e.g. Printer4Lazarus.) Gabor -------------- next part -------------- A non-text attachment was scrubbed... Name: Lazarus_trunk_LazDebuggerFp.png Type: image/png Size: 2727 bytes Desc: not available URL: From aaa5500 at ya.ru Sun Jan 12 11:03:33 2020 From: aaa5500 at ya.ru (AlexeyT) Date: Sun, 12 Jan 2020 13:03:33 +0300 Subject: [Lazarus] Unneeded Paint calls from LCL Message-ID: ATSynEdit has such debug define //{$define debug_show_fps} I enabled it to see why editor shows 20-30ms (Form1.OnShow with editor). a) editor shows 5 (repaint counter) on show. i put breakpoint in TATSynEdit.DoPaintEx and saw that unneeded paints were from DoOnResize() before calling Paint(). ok, i added flag FPaintStarted and filtered them. b) editor still shows 3 (repaint counter) on show. breakpoint shows that Paint is called 3 times by LCL. I cannot filter these calls at all. Can you reduce these calls? -- Regards, Alexey From aaa5500 at ya.ru Sun Jan 12 12:05:37 2020 From: aaa5500 at ya.ru (AlexeyT) Date: Sun, 12 Jan 2020 14:05:37 +0300 Subject: [Lazarus] Unneeded Paint calls from LCL In-Reply-To: References: Message-ID: <4ca54502-773d-ce95-3efc-b515ba83e916@ya.ru> Linux gtk2. > reduce these calls? -- Regards, Alexey From aaa5500 at ya.ru Sun Jan 12 13:29:54 2020 From: aaa5500 at ya.ru (AlexeyT) Date: Sun, 12 Jan 2020 15:29:54 +0300 Subject: [Lazarus] Unneeded Paint calls from LCL In-Reply-To: References: Message-ID: <8b875fda-578f-b05c-0a96-f372186c2770@ya.ru> Details: Linux gtk2: LCL calls Paint 5 times for ATSynEdit on FormCreate/FormShow: 1- DoOnResize - i filtered it out 2- DoOnResize - i filtered it out 3- Paint - it's ok 4- Paint again - i cannot filter it out 5- Paint again Win32: LCL calls Paint 3 times: 1- Paint - it's ok 2- DoOnResize - i cannot filter it out 3- DoOnResize again Can you optimize it to call Paint once, and DoOnResize BEFORE Paint? Alexey T. From marc at dommelstein.nl Mon Jan 13 09:51:42 2020 From: marc at dommelstein.nl (Marc Weustink) Date: Mon, 13 Jan 2020 09:51:42 +0100 Subject: [Lazarus] Unneeded Paint calls from LCL In-Reply-To: <8b875fda-578f-b05c-0a96-f372186c2770@ya.ru> References: <8b875fda-578f-b05c-0a96-f372186c2770@ya.ru> Message-ID: AlexeyT via lazarus wrote: > Details: > Linux gtk2: LCL calls Paint 5 times for ATSynEdit on FormCreate/FormShow: > > 1- DoOnResize - i filtered it out > 2- DoOnResize - i filtered it out > 3- Paint - it's ok > 4- Paint again - i cannot filter it out > 5- Paint again > > Win32: LCL calls Paint 3 times: > > 1- Paint - it's ok > 2- DoOnResize - i cannot filter it out > 3- DoOnResize again > > Can you optimize it to call Paint once, and DoOnResize BEFORE Paint? IMO paint should be never called directly. When resizing, invalidate should be called (so one pain message is issued after the resize) Marc From francesco.sammarco at gmail.com Mon Jan 13 12:27:52 2020 From: francesco.sammarco at gmail.com (Francesco Sammarco) Date: Mon, 13 Jan 2020 12:27:52 +0100 Subject: [Lazarus] Google API Ubuntu exception Message-ID: Hi, I have a problem. I tried to compile the example for google calendar access and it works correctly on mac os and windows, but when I try to use it on ubuntu I get the following error. TCalendarList: unsupported array element type How do I solve? Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Mon Jan 13 22:57:08 2020 From: michael at freepascal.org (Michael Van Canneyt) Date: Mon, 13 Jan 2020 22:57:08 +0100 (CET) Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > Hi, I have a problem. I tried to compile the example for google calendar > access and it works correctly on mac os and windows, but when I try to use > it on ubuntu I get the following error. > > TCalendarList: unsupported array element type > > How do I solve? > > > Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is that version ? Michael. From francesco.sammarco at gmail.com Mon Jan 13 23:57:15 2020 From: francesco.sammarco at gmail.com (Francesco Sammarco) Date: Mon, 13 Jan 2020 23:57:15 +0100 Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: I installed it thanks to fpcupdeluxe Il lun 13 gen 2020, 22:57 Michael Van Canneyt ha scritto: > > > On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > > > Hi, I have a problem. I tried to compile the example for google calendar > > access and it works correctly on mac os and windows, but when I try to > use > > it on ubuntu I get the following error. > > > > TCalendarList: unsupported array element type > > > > How do I solve? > > > > > > Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) > > Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is > that > version ? > > > Michael. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Tue Jan 14 00:09:28 2020 From: michael at freepascal.org (Michael Van Canneyt) Date: Tue, 14 Jan 2020 00:09:28 +0100 (CET) Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: Hi, The serializing code is totally independent of the platform. So somehow there must be a difference in version. Michael. On Mon, 13 Jan 2020, Francesco Sammarco wrote: > I installed it thanks to fpcupdeluxe > > Il lun 13 gen 2020, 22:57 Michael Van Canneyt ha > scritto: > >> >> >> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >> >>> Hi, I have a problem. I tried to compile the example for google calendar >>> access and it works correctly on mac os and windows, but when I try to >> use >>> it on ubuntu I get the following error. >>> >>> TCalendarList: unsupported array element type >>> >>> How do I solve? >>> >>> >>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >> >> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is >> that >> version ? >> >> >> Michael. >> > From francesco.sammarco at gmail.com Tue Jan 14 07:27:36 2020 From: francesco.sammarco at gmail.com (Francesco Sammarco) Date: Tue, 14 Jan 2020 07:27:36 +0100 Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: sorry but I don't understand what you mean. did you manage to replicate the problem ?! Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < lazarus at lists.lazarus-ide.org> ha scritto: > > Hi, > > The serializing code is totally independent of the platform. > So somehow there must be a difference in version. > > Michael. > > On Mon, 13 Jan 2020, Francesco Sammarco wrote: > > > I installed it thanks to fpcupdeluxe > > > > Il lun 13 gen 2020, 22:57 Michael Van Canneyt > ha > > scritto: > > > >> > >> > >> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > >> > >>> Hi, I have a problem. I tried to compile the example for google > calendar > >>> access and it works correctly on mac os and windows, but when I try to > >> use > >>> it on ubuntu I get the following error. > >>> > >>> TCalendarList: unsupported array element type > >>> > >>> How do I solve? > >>> > >>> > >>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) > >> > >> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is > >> that > >> version ? > >> > >> > >> Michael. > >> > > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -------------- next part -------------- An HTML attachment was scrubbed... URL: From badsectoracula at gmail.com Tue Jan 14 21:21:23 2020 From: badsectoracula at gmail.com (Kostas Michalopoulos) Date: Tue, 14 Jan 2020 22:21:23 +0200 Subject: [Lazarus] MDI implementation for Win32 Message-ID: Hi all, Recently i wanted to use MDI in some of my Windows tools and since Lazarus seems to not support it with the Win32 widgetset, i decided to try and make an attempt at implementing it. You can find a patch at https://bugs.freepascal.org/view.php?id=36582 I have only implemented whatever i could find in Delphi 2 (the only Delphi i have available). I wrote a small demo "MDI doodle" application that uses all of the available APIs and tries to trigger various behaviors (e.g. showing/hiding a toolbar/status bar to update the client area, creating MDI children forms while existing ones are maximized, vetoing modifications via MDI childrens' CloseQuery, merging menus using GroupIndex, etc). The demo can be compiled in both Delphi 2 and Lazarus to compare the behavior of the two and is attached in the bug report above too. You can also see it in action here: https://i.imgur.com/GznF35A.png (at the left side is the Delphi 2 version, at the right side is the Lazarus version). The patch is written against SVN trunk at revision 62555. There might be some unnecessary tests in the code, but since i am not very familiar with it i decided to be a more cautious. Also since there is already an MDI implementation (AFAIK, didn't try it) for Qt, i decided to stick as much as i can on the widgetset side (the two main changes i made on the LCL side was to add an ArrangeIcons method in TCustomForm to mimic the Delphi one and add Merge/Unmerge methods in TMainMenu, again to mimic the Delphi methods and hopefully the functionality too :-P). Feel free to remove any tests you think aren't necessary and make any other changes you think are worth it. Kostas Michalopoulos -------------- next part -------------- An HTML attachment was scrubbed... URL: From juha.manninen62 at gmail.com Wed Jan 15 12:02:29 2020 From: juha.manninen62 at gmail.com (Juha Manninen) Date: Wed, 15 Jan 2020 13:02:29 +0200 Subject: [Lazarus] Unneeded Paint calls from LCL In-Reply-To: References: <8b875fda-578f-b05c-0a96-f372186c2770@ya.ru> Message-ID: On Mon, Jan 13, 2020 at 10:51 AM Marc Weustink via lazarus wrote: > IMO paint should be never called directly. When resizing, invalidate > should be called (so one pain message is issued after the resize) I understood that Paint gets called by LCL excessively when a form is created or shown. Yes, I guess it should be optimized. Debugging the events flowing back and forth is challenging. Placing DebugLn() lines into relevant event handlers is the best way. And yes, it partly happens in widgetset code. Juha From lazarus at mfriebe.de Wed Jan 15 14:02:35 2020 From: lazarus at mfriebe.de (Martin Frb) Date: Wed, 15 Jan 2020 14:02:35 +0100 Subject: [Lazarus] Unneeded Paint calls from LCL In-Reply-To: References: <8b875fda-578f-b05c-0a96-f372186c2770@ya.ru> Message-ID: On 15/01/2020 12:02, Juha Manninen via lazarus wrote: > I understood that Paint gets called by LCL excessively when a form is > created or shown. Yes, I guess it should be optimized. > Debugging the events flowing back and forth is challenging. Placing > DebugLn() lines into relevant event handlers is the best way. And yes, > it partly happens in widgetset code. > It should be possible to use "none breaking" breakpoints (without causing extra paint or focus events) and then go through the debug history to see stackframes. From aaa5500 at ya.ru Wed Jan 15 14:08:43 2020 From: aaa5500 at ya.ru (Alexey) Date: Wed, 15 Jan 2020 16:08:43 +0300 Subject: [Lazarus] Unneeded Paint calls from LCL In-Reply-To: References: Message-ID: Seems I posted too pessimistic analysis. Too many repaints are caused by atsynedit, and with an empty control (which only has overridden Paint to show counter) it’s not so bad— counter is 1, only on few WS it’s 2. Sorry Alexey From francesco.sammarco at gmail.com Thu Jan 16 12:10:15 2020 From: francesco.sammarco at gmail.com (Francesco Sammarco) Date: Thu, 16 Jan 2020 12:10:15 +0100 Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: No solution? Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < francesco.sammarco at gmail.com> ha scritto: > sorry but I don't understand what you mean. did you manage to replicate > the problem ?! > > Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < > lazarus at lists.lazarus-ide.org> ha scritto: > >> >> Hi, >> >> The serializing code is totally independent of the platform. >> So somehow there must be a difference in version. >> >> Michael. >> >> On Mon, 13 Jan 2020, Francesco Sammarco wrote: >> >> > I installed it thanks to fpcupdeluxe >> > >> > Il lun 13 gen 2020, 22:57 Michael Van Canneyt >> ha >> > scritto: >> > >> >> >> >> >> >> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >> >> >> >>> Hi, I have a problem. I tried to compile the example for google >> calendar >> >>> access and it works correctly on mac os and windows, but when I try to >> >> use >> >>> it on ubuntu I get the following error. >> >>> >> >>> TCalendarList: unsupported array element type >> >>> >> >>> How do I solve? >> >>> >> >>> >> >>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >> >> >> >> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is >> >> that >> >> version ? >> >> >> >> >> >> Michael. >> >> >> > >> -- >> _______________________________________________ >> lazarus mailing list >> lazarus at lists.lazarus-ide.org >> https://lists.lazarus-ide.org/listinfo/lazarus >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Thu Jan 16 12:38:03 2020 From: michael at freepascal.org (Michael Van Canneyt) Date: Thu, 16 Jan 2020 12:38:03 +0100 (CET) Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: Hello, I had no time to look at this yet. This is not something tested quickly in 10 minutes. Maybe I will have time in the weekend. I repeat: the streaming code is independent of the platform. So if a version of FPC works on windows and mac, it should work on Linux as well. I do all my development on Linux, so that platform is actually best tested. That is why I suspect your FPC version on linux differs from the one on Windows/Mac. Without logs or something of the kind, it is hard to tell why it fails on your machine. Michael. On Thu, 16 Jan 2020, Francesco Sammarco wrote: > No solution? > > Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < > francesco.sammarco at gmail.com> ha scritto: > >> sorry but I don't understand what you mean. did you manage to replicate >> the problem ?! >> >> Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < >> lazarus at lists.lazarus-ide.org> ha scritto: >> >>> >>> Hi, >>> >>> The serializing code is totally independent of the platform. >>> So somehow there must be a difference in version. >>> >>> Michael. >>> >>> On Mon, 13 Jan 2020, Francesco Sammarco wrote: >>> >>>> I installed it thanks to fpcupdeluxe >>>> >>>> Il lun 13 gen 2020, 22:57 Michael Van Canneyt >>> ha >>>> scritto: >>>> >>>>> >>>>> >>>>> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >>>>> >>>>>> Hi, I have a problem. I tried to compile the example for google >>> calendar >>>>>> access and it works correctly on mac os and windows, but when I try to >>>>> use >>>>>> it on ubuntu I get the following error. >>>>>> >>>>>> TCalendarList: unsupported array element type >>>>>> >>>>>> How do I solve? >>>>>> >>>>>> >>>>>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >>>>> >>>>> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it is >>>>> that >>>>> version ? >>>>> >>>>> >>>>> Michael. >>>>> >>>> >>> -- >>> _______________________________________________ >>> lazarus mailing list >>> lazarus at lists.lazarus-ide.org >>> https://lists.lazarus-ide.org/listinfo/lazarus >>> >> > From francesco.sammarco at gmail.com Thu Jan 16 16:44:11 2020 From: francesco.sammarco at gmail.com (Francesco Sammarco) Date: Thu, 16 Jan 2020 16:44:11 +0100 Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: No problem. I can wait a few days. Can you help me if I send you an email with the screenshot at the time of the exception? Il giorno gio 16 gen 2020 alle ore 12:38 Michael Van Canneyt via lazarus < lazarus at lists.lazarus-ide.org> ha scritto: > > Hello, > > I had no time to look at this yet. > > This is not something tested quickly in 10 minutes. > Maybe I will have time in the weekend. > > I repeat: the streaming code is independent of the platform. > So if a version of FPC works on windows and mac, it should work on Linux as > well. I do all my development on Linux, so that platform is actually best > tested. > > That is why I suspect your FPC version on linux differs from the one on > Windows/Mac. Without logs or something of the kind, it is hard to tell why > it fails on your machine. > > Michael. > > On Thu, 16 Jan 2020, Francesco Sammarco wrote: > > > No solution? > > > > Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < > > francesco.sammarco at gmail.com> ha scritto: > > > >> sorry but I don't understand what you mean. did you manage to replicate > >> the problem ?! > >> > >> Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < > >> lazarus at lists.lazarus-ide.org> ha scritto: > >> > >>> > >>> Hi, > >>> > >>> The serializing code is totally independent of the platform. > >>> So somehow there must be a difference in version. > >>> > >>> Michael. > >>> > >>> On Mon, 13 Jan 2020, Francesco Sammarco wrote: > >>> > >>>> I installed it thanks to fpcupdeluxe > >>>> > >>>> Il lun 13 gen 2020, 22:57 Michael Van Canneyt > > >>> ha > >>>> scritto: > >>>> > >>>>> > >>>>> > >>>>> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: > >>>>> > >>>>>> Hi, I have a problem. I tried to compile the example for google > >>> calendar > >>>>>> access and it works correctly on mac os and windows, but when I try > to > >>>>> use > >>>>>> it on ubuntu I get the following error. > >>>>>> > >>>>>> TCalendarList: unsupported array element type > >>>>>> > >>>>>> How do I solve? > >>>>>> > >>>>>> > >>>>>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) > >>>>> > >>>>> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it > is > >>>>> that > >>>>> version ? > >>>>> > >>>>> > >>>>> Michael. > >>>>> > >>>> > >>> -- > >>> _______________________________________________ > >>> lazarus mailing list > >>> lazarus at lists.lazarus-ide.org > >>> https://lists.lazarus-ide.org/listinfo/lazarus > >>> > >> > > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at freepascal.org Thu Jan 16 22:09:48 2020 From: michael at freepascal.org (Michael Van Canneyt) Date: Thu, 16 Jan 2020 22:09:48 +0100 (CET) Subject: [Lazarus] Google API Ubuntu exception In-Reply-To: References: Message-ID: Yes please, any information can help. The complete compile log would also be useful. If you compile in Lazarus, in the messages window popup menu, select "Copy - Copy all/original messages to clipboard" and send me the resulting log. Thanks ! Michael. On Thu, 16 Jan 2020, Francesco Sammarco wrote: > No problem. I can wait a few days. Can you help me if I send you an email > with the screenshot at the time of the exception? > > Il giorno gio 16 gen 2020 alle ore 12:38 Michael Van Canneyt via lazarus < > lazarus at lists.lazarus-ide.org> ha scritto: > >> >> Hello, >> >> I had no time to look at this yet. >> >> This is not something tested quickly in 10 minutes. >> Maybe I will have time in the weekend. >> >> I repeat: the streaming code is independent of the platform. >> So if a version of FPC works on windows and mac, it should work on Linux as >> well. I do all my development on Linux, so that platform is actually best >> tested. >> >> That is why I suspect your FPC version on linux differs from the one on >> Windows/Mac. Without logs or something of the kind, it is hard to tell why >> it fails on your machine. >> >> Michael. >> >> On Thu, 16 Jan 2020, Francesco Sammarco wrote: >> >>> No solution? >>> >>> Il giorno mar 14 gen 2020 alle ore 07:27 Francesco Sammarco < >>> francesco.sammarco at gmail.com> ha scritto: >>> >>>> sorry but I don't understand what you mean. did you manage to replicate >>>> the problem ?! >>>> >>>> Il mar 14 gen 2020, 00:09 Michael Van Canneyt via lazarus < >>>> lazarus at lists.lazarus-ide.org> ha scritto: >>>> >>>>> >>>>> Hi, >>>>> >>>>> The serializing code is totally independent of the platform. >>>>> So somehow there must be a difference in version. >>>>> >>>>> Michael. >>>>> >>>>> On Mon, 13 Jan 2020, Francesco Sammarco wrote: >>>>> >>>>>> I installed it thanks to fpcupdeluxe >>>>>> >>>>>> Il lun 13 gen 2020, 22:57 Michael Van Canneyt >> >>>>> ha >>>>>> scritto: >>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, 13 Jan 2020, Francesco Sammarco via lazarus wrote: >>>>>>> >>>>>>>> Hi, I have a problem. I tried to compile the example for google >>>>> calendar >>>>>>>> access and it works correctly on mac os and windows, but when I try >> to >>>>>>> use >>>>>>>> it on ubuntu I get the following error. >>>>>>>> >>>>>>>> TCalendarList: unsupported array element type >>>>>>>> >>>>>>>> How do I solve? >>>>>>>> >>>>>>>> >>>>>>>> Lazarus 2.1.0 r62324M FPC 3.2.0 x86_64-linux-gtk2 (Ubuntu 19.10) >>>>>>> >>>>>>> Hm. FPC 3.2.0 is not yet out, how did you get that ? Are you sure it >> is >>>>>>> that >>>>>>> version ? >>>>>>> >>>>>>> >>>>>>> Michael. >>>>>>> >>>>>> >>>>> -- >>>>> _______________________________________________ >>>>> lazarus mailing list >>>>> lazarus at lists.lazarus-ide.org >>>>> https://lists.lazarus-ide.org/listinfo/lazarus >>>>> >>>> >>> >> -- >> _______________________________________________ >> lazarus mailing list >> lazarus at lists.lazarus-ide.org >> https://lists.lazarus-ide.org/listinfo/lazarus >> > From florian at freepascal.org Sat Jan 18 18:49:30 2020 From: florian at freepascal.org (=?UTF-8?Q?Florian_Kl=c3=a4mpfl?=) Date: Sat, 18 Jan 2020 18:49:30 +0100 Subject: [Lazarus] Find in files crashes Cinnamon In-Reply-To: <2a94eb9c-3df4-28cf-36b3-0158f3025a8f@freepascal.org> References: <2a94eb9c-3df4-28cf-36b3-0158f3025a8f@freepascal.org> Message-ID: <7c059466-b940-46a2-dac1-b71406c39926@freepascal.org> Am 13.11.19 um 22:00 schrieb Florian Klämpfl via lazarus: > Recently, I tried again to work with Linux Mint when developing FPC. For > FPC development I use normally lazarus from trunk, typical updated very > few weeks. For navigation in the code I use "Find in files" from time to > time, e.g. when looking where a certain internal error is thrown. I call > the Find in files dialog by Ctrl-Shift-F. Sometimes, this action crashes > Cinnamon completely: mouse still works but nothing is clickable anymore > (Ctrl-Alt-Fx still works so the kernel is apparently still fine). Often, > Ctrl-Alt-Esc can be used to restart Cinnamon after some time, sometimes > Cinnamon de-freezes after some second and shows a dialog box that it > crashed, restarted and is now in safe mode (or how it is called). The > most annoying part of these crashes is that all windows are moved to the > first virtual desktop besides that the fact that sometimes only a reboot > helps to recover. > For the record: an update in the last weeks seems to have resolved the issue. I have no idea if the update was related to lazarus though or to cinnamon. From larrydalton71 at gmail.com Tue Jan 21 19:39:37 2020 From: larrydalton71 at gmail.com (Larry Dalton) Date: Tue, 21 Jan 2020 13:39:37 -0500 Subject: [Lazarus] error Message-ID: Installing Lazarus 2.0.6 on Windows 7. When trying to run Install Pacages I get the following error: "C:\lazarus\ide\graphtype.pp" not found. How do I cure? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lazarus at mfriebe.de Tue Jan 21 21:21:14 2020 From: lazarus at mfriebe.de (Martin Frb) Date: Tue, 21 Jan 2020 21:21:14 +0100 Subject: [Lazarus] error In-Reply-To: References: Message-ID: On 21/01/2020 19:39, Larry Dalton via lazarus wrote: > Installing Lazarus 2.0.6 on Windows 7. > When trying to run Install Pacages I get the following error: > "C:\lazarus\ide\graphtype.pp" not found. > How do I cure? > Did you update from a previous version? Anyway, go to the menu "Tools" -> "Configure build Lazarus" Find the radio-box "Clean all" and select it. Then press the button "build". From lazarus at mfriebe.de Tue Jan 21 21:21:14 2020 From: lazarus at mfriebe.de (Martin Frb) Date: Tue, 21 Jan 2020 21:21:14 +0100 Subject: [Lazarus] error In-Reply-To: References: Message-ID: On 21/01/2020 19:39, Larry Dalton via lazarus wrote: > Installing Lazarus 2.0.6 on Windows 7. > When trying to run Install Pacages I get the following error: > "C:\lazarus\ide\graphtype.pp" not found. > How do I cure? > Did you update from a previous version? Anyway, go to the menu "Tools" -> "Configure build Lazarus" Find the radio-box "Clean all" and select it. Then press the button "build". From larrydalton71 at gmail.com Tue Jan 21 22:00:32 2020 From: larrydalton71 at gmail.com (larrydalton71) Date: Tue, 21 Jan 2020 16:00:32 -0500 Subject: [Lazarus] error In-Reply-To: Message-ID: <5e276673.1c69fb81.e2900.5cee@mx.google.com> yes, I had upgraded from 1.8.2Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Martin Frb via lazarus Date: 1/21/20 15:21 (GMT-05:00) To: NORMAL Lazarus mailing Cc: Martin Frb , Larry Dalton via lazarus Subject: Re: [Lazarus] error On 21/01/2020 19:39, Larry Dalton via lazarus wrote:> Installing Lazarus 2.0.6 on Windows 7.> When trying to run Install Pacages I get the following error: > "C:\lazarus\ide\graphtype.pp" not found.> How do I cure?>Did you update from a previous version?Anyway, go to the menu "Tools" -> "Configure build Lazarus"Find the radio-box "Clean all" and select it.Then press the button "build".-- _______________________________________________lazarus mailing listlazarus at lists.lazarus-ide.orghttps://lists.lazarus-ide.org/listinfo/lazarus -------------- next part -------------- An HTML attachment was scrubbed... URL: From larrydalton71 at gmail.com Tue Jan 21 22:06:41 2020 From: larrydalton71 at gmail.com (larrydalton71) Date: Tue, 21 Jan 2020 16:06:41 -0500 Subject: [Lazarus] error In-Reply-To: Message-ID: <5e2767e3.1c69fb81.e2900.5dc7@mx.google.com> Did that, now getting "C:\lazarus\lcl\interfaces\lmessages.pp" not foundSent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Martin Frb via lazarus Date: 1/21/20 15:21 (GMT-05:00) To: NORMAL Lazarus mailing Cc: Martin Frb , Larry Dalton via lazarus Subject: Re: [Lazarus] error On 21/01/2020 19:39, Larry Dalton via lazarus wrote:> Installing Lazarus 2.0.6 on Windows 7.> When trying to run Install Pacages I get the following error: > "C:\lazarus\ide\graphtype.pp" not found.> How do I cure?>Did you update from a previous version?Anyway, go to the menu "Tools" -> "Configure build Lazarus"Find the radio-box "Clean all" and select it.Then press the button "build".-- _______________________________________________lazarus mailing listlazarus at lists.lazarus-ide.orghttps://lists.lazarus-ide.org/listinfo/lazarus -------------- next part -------------- An HTML attachment was scrubbed... URL: From larrydalton71 at gmail.com Tue Jan 21 22:36:38 2020 From: larrydalton71 at gmail.com (larrydalton71) Date: Tue, 21 Jan 2020 16:36:38 -0500 Subject: [Lazarus] error In-Reply-To: Message-ID: <5e276ee9.1c69fb81.b5f29.c823@mx.google.com> kept getting missing file messages so I completely removed both installations and reinstalled 2.0.6 and it is now working correctlySent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: Martin Frb via lazarus Date: 1/21/20 15:21 (GMT-05:00) To: NORMAL Lazarus mailing Cc: Martin Frb , Larry Dalton via lazarus Subject: Re: [Lazarus] error On 21/01/2020 19:39, Larry Dalton via lazarus wrote:> Installing Lazarus 2.0.6 on Windows 7.> When trying to run Install Pacages I get the following error: > "C:\lazarus\ide\graphtype.pp" not found.> How do I cure?>Did you update from a previous version?Anyway, go to the menu "Tools" -> "Configure build Lazarus"Find the radio-box "Clean all" and select it.Then press the button "build".-- _______________________________________________lazarus mailing listlazarus at lists.lazarus-ide.orghttps://lists.lazarus-ide.org/listinfo/lazarus -------------- next part -------------- An HTML attachment was scrubbed... URL: From lazarus at mfriebe.de Tue Jan 21 22:37:01 2020 From: lazarus at mfriebe.de (Martin Frb) Date: Tue, 21 Jan 2020 22:37:01 +0100 Subject: [Lazarus] error In-Reply-To: <5e2767e3.1c69fb81.e2900.5dc7@mx.google.com> References: <5e2767e3.1c69fb81.e2900.5dc7@mx.google.com> Message-ID: <8e3e5ef6-93f6-30b6-4ff2-1ee8d1e91b39@mfriebe.de> On 21/01/2020 22:06, larrydalton71 via lazarus wrote: > Did that, now getting "C:\lazarus\lcl\interfaces\lmessages.pp" not found > > yes, I had upgraded from 1.8.2 Try to re-install: 1) Delete the entire folder C:\Lazarus 2) Install again, and see if it works better. By default your config is stored under C:\Users\  USERNAME  \AppData\Local\lazarus So that will be kept when you delete C:\lazarus. If you have no important config, then you can choose in the installer to clean the existing config. (checkbox) Otherwise you may want to backup and remove the following files from your config: idemake.cfg packagefiles.xml includelinks.xml staticpackages.inc You may also want to remove environmentoptions.xml from your config dir, as it contains compiler settings, and that could cause the problem. But environmentoptions.xml also has some of your personal settings, if you have any. From sysrpl at gmail.com Sun Jan 26 08:13:28 2020 From: sysrpl at gmail.com (Anthony Walter) Date: Sun, 26 Jan 2020 02:13:28 -0500 Subject: [Lazarus] NanoVG Graphics Message-ID: I am starting a rewrite of my 2D hardware accelerated Pascal graphics library based on an OpenGL 3D backend, and I stumbled across an open source project called NanoVG. I am impressed with how small and self contained NanoVG is, and although I will recreated my 2D graphics library upon OpenGL without using NanoVG, I though some of you on the mailing list might have some interest. Here is some reference material on NanoVG: Original github page, but there might be an improved fork I can't find at the moment How to build User Interfaces and 2D Shapes with NanoVG What's important is that several people have ported the projects to other languages and backends (DX11 for example). Looking at how small and self contain it is, it would seem like a task that would not that difficult to port to Pascal. I believe it would be an interesting project that would benefit us Pascal users greater if it were ported and was wondering if anyone of you might pick up the torch so to speak. Normally I wouldn't have too much of an issue with porting a project like this, but my graphics backend has already been written once and I will be adding a few features beyond NanoVG, and also using a different design. I would rather compare the two, NanoVG written in Pascal, and my library rather than merge them or at the least be though of as having copying ideas from NanoVG, so I want to keep these worlds separate. If anyone has thoughts about a Pascal version of NanoVG, possibly even from a more updated git repo, please send you feedback to others in this thread. Thank you, Anthony. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fluisgirardi at gmail.com Mon Jan 27 20:00:54 2020 From: fluisgirardi at gmail.com (Fabio Luis Girardi) Date: Mon, 27 Jan 2020 16:00:54 -0300 Subject: [Lazarus] NanoVG Graphics In-Reply-To: References: Message-ID: What thinks about Anthony? Translate NanoVG sources from C to Pascal or made a library bindings for that? Em dom., 26 de jan. de 2020 às 04:14, Anthony Walter via lazarus < lazarus at lists.lazarus-ide.org> escreveu: > I am starting a rewrite of my 2D hardware accelerated Pascal graphics > library based on an OpenGL 3D backend, and I stumbled across an open source > project called NanoVG. I am impressed with how small and self contained > NanoVG is, and although I will recreated my 2D graphics library upon OpenGL > without using NanoVG, I though some of you on the mailing list might have > some interest. > > Here is some reference material on NanoVG: > > Original github page, but there might be an improved fork I can't find at > the moment > How to build User Interfaces and 2D Shapes with NanoVG > > > What's important is that several people have ported the projects to other > languages and backends (DX11 for example). Looking at how small and self > contain it is, it would seem like a task that would not that difficult to > port to Pascal. > > I believe it would be an interesting project that would benefit us Pascal > users greater if it were ported and was wondering if anyone of you might > pick up the torch so to speak. Normally I wouldn't have too much of an > issue with porting a project like this, but my graphics backend has already > been written once and I will be adding a few features beyond NanoVG, and > also using a different design. I would rather compare the two, NanoVG > written in Pascal, and my library rather than merge them or at the least be > though of as having copying ideas from NanoVG, so I want to keep these > worlds separate. > > If anyone has thoughts about a Pascal version of NanoVG, possibly even > from a more updated git repo, please send you feedback to others in this > thread. > > Thank you, Anthony. > > > -- > _______________________________________________ > lazarus mailing list > lazarus at lists.lazarus-ide.org > https://lists.lazarus-ide.org/listinfo/lazarus > -- The best regards, Fabio Luis Girardi PascalSCADA Project http://sourceforge.net/projects/pascalscada http://www.pascalscada.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From genericptr at gmail.com Tue Jan 28 02:33:57 2020 From: genericptr at gmail.com (Ryan Joseph) Date: Tue, 28 Jan 2020 08:33:57 +0700 Subject: [Lazarus] NanoVG Graphics In-Reply-To: References: Message-ID: <28539FB0-161E-4D73-8966-0237AD5AF430@gmail.com> > On Jan 26, 2020, at 2:13 PM, Anthony Walter via lazarus wrote: > > What's important is that several people have ported the projects to other languages and backends (DX11 for example). Looking at how small and self contain it is, it would seem like a task that would not that difficult to port to Pascal. > It looks like a great library but glancing over the project tells me that porting all of that to Pascal would take many days. Probably best to just make a binding. Regards, Ryan Joseph From marc at dommelstein.nl Tue Jan 28 15:09:34 2020 From: marc at dommelstein.nl (Marc Weustink) Date: Tue, 28 Jan 2020 15:09:34 +0100 Subject: [Lazarus] NanoVG Graphics In-Reply-To: References: Message-ID: Anthony Walter via lazarus wrote: > I am starting a rewrite of my 2D hardware accelerated Pascal graphics > library based on an OpenGL 3D backend, and I stumbled across an open > source project called NanoVG. I am impressed with how small and self > contained NanoVG is, and although I will recreated my 2D graphics > library upon OpenGL without using NanoVG, I though some of you on the > mailing list might have some interest. I've been playing with the demos on VC2017, it requires 2 other external libraries to run. Marc From marc at dommelstein.nl Tue Jan 28 15:11:17 2020 From: marc at dommelstein.nl (Marc Weustink) Date: Tue, 28 Jan 2020 15:11:17 +0100 Subject: [Lazarus] NanoVG Graphics In-Reply-To: References: Message-ID: Anthony Walter via lazarus wrote: > I am starting a rewrite of my 2D hardware accelerated Pascal graphics > library based on an OpenGL 3D backend, and I stumbled across an open > source project called NanoVG. I am impressed with how small and self > contained NanoVG is, and although I will recreated my 2D graphics > library upon OpenGL without using NanoVG, I though some of you on the > mailing list might have some interest. > I've been playing with the demos on VC2017, it requires 2 other external libraries to run. Marc From sysrpl at gmail.com Tue Jan 28 19:32:57 2020 From: sysrpl at gmail.com (Anthony Walter) Date: Tue, 28 Jan 2020 13:32:57 -0500 Subject: [Lazarus] NanoVG Graphics In-Reply-To: References: Message-ID: Marc, The library does not have any code to manage creating a window, creating a valid opengl context, or handle event processing. These are things which are not exactly trivial in nature, especially in a cross platform manner. Typically for simplicity makers of OpenGL demos rely upon things like GLFW (Graphics Library FrameWork) to get a demo working. Other libraries to do the same thing are SDL, GLUT, SFML, or other similar libraries. The good news is that NanoVG is designed to work independently of those things. The original C implementation has a callback stub to load the appropriate OpenGL functions based on which back end you choose. Fortunately this tool named Glad makes it very simple to create a correct Pascal (or other language) file for the various OpenGL versions. This is probably something we ought to consider using in the FCL, so that for example people would know what functions to load for OpenGL ES versus the full version of OpenGL. And finally the LCL and TOpenGLControl provided in the components folder handle all the requirements already, so if you wanted to use a NanoVG port with Lazarus it ought to be as simple as including some NanoVG.pas in your project and putting a few NanoVG drawing function calls into your TForm1.OpenGLControl1Paint method. In this way using hardware accelerated animated vector text and graphics in any desktop project would be very easy. NanoVG even includes functions to draw vector controls such as sliders, check boxes, buttons, and combo boxes. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dhkblaszyk at gmail.com Tue Jan 28 20:34:10 2020 From: dhkblaszyk at gmail.com (Darius Blaszyk) Date: Tue, 28 Jan 2020 20:34:10 +0100 Subject: [Lazarus] NanoVG Graphics In-Reply-To: References: Message-ID: Hi Anthony, Have you considered GPLT for OpenGL context creation? https://github.com/daar/GLPT Rgds, Darius Verstuurd vanaf mijn iPhone > The library does not have any code to manage creating a window, creating a valid opengl context, or handle event processing. These are things which are not exactly trivial in nature, especially in a cross platform manner. Typically for simplicity makers of OpenGL demos rely upon things like GLFW (Graphics Library FrameWork) to get a demo working. Other libraries to do the same thing are SDL, GLUT, SFML, or other similar libraries. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sysrpl at gmail.com Tue Jan 28 21:07:45 2020 From: sysrpl at gmail.com (Anthony Walter) Date: Tue, 28 Jan 2020 15:07:45 -0500 Subject: [Lazarus] NanoVG Graphics In-Reply-To: References: Message-ID: Darius, No I hadn't heard of GLPT before you posted the link. It looks interesting, but I was just reading up on SFML and had a few thought which are pertinent. I've been using SDL, and although it's a fairly good library, there are other libraries which offer a few more features that I'd had to implement in my toolkit, and now in retrospect I believe ought to be included in libraries of the same vein, including the GLPT library you mentioned. Here are some of the things both GLPT and SDL do not handle, but I believe ought to be included in a game/multimedia framework as they sometimes require a bit of work and are things everyone will eventually need is they write enough of these types of programs: A stereo audio mixer that can handle mp3, ogg, and direct wav samples without the need to include 3rd party additional modules Text rendering with the ability to load local ttf files, get metrics, draw to a texture, and possibly generate vector shapes A unified TCP and UDP network stack A unified image load, saving, and capture system Audio input or recording function optionally with VOIP support A tessellator to turn a complex shape into triangles with indexes, supporting winding modes The ability to ask for a graphics API type and version (eg, OpenGLES 2.0 or Vulkan 1.1) receive a callback to load said API functions A video decoder to take a video stream and convert frames to textures or render buffers Having listed those items, SFML handles a lot of those things. SDL can handle most of them as well with their SDL modules, but I always avoid SDL modules. GLPT doesn't handle much beyond window creating, events, some image loading, and maybe a few basic text features. Personally, I have gone the tough route and written Pascal units to interface with several 3rd party libraries to add text and font features (FreeType), audio decoders (mpg123), and video steam processing to render buffers (libmpv). Now maybe it is convenient to use my library, but it's Pascal and rider on top of all these things, which I am sure how SFML works, but I am also fairly confident that a single well maintained cross platform library with many more users, such as SFML or SDL with modules, might be more attractive to people wanting to get started with everything packed more neatly than the way my requirements are gathered. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pak.lebah at yahoo.com Thu Jan 30 07:33:00 2020 From: pak.lebah at yahoo.com (Mr Bee) Date: Thu, 30 Jan 2020 06:33:00 +0000 (UTC) Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? References: <1745250484.85157.1580365980945.ref@mail.yahoo.com> Message-ID: <1745250484.85157.1580365980945@mail.yahoo.com> Hi all, Which Lazarus version that uses FPC v3.2? Lazarus trunk? fixes? fixes2.0? I’m using FPCUpDeluxe installer for Mac Mojave. Thank you. Regards, –Mr Bee -------------- next part -------------- An HTML attachment was scrubbed... URL: From pak.lebah at yahoo.com Thu Jan 30 07:33:00 2020 From: pak.lebah at yahoo.com (Mr Bee) Date: Thu, 30 Jan 2020 06:33:00 +0000 (UTC) Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? References: <1745250484.85157.1580365980945.ref@mail.yahoo.com> Message-ID: <1745250484.85157.1580365980945@mail.yahoo.com> Hi all, Which Lazarus version that uses FPC v3.2? Lazarus trunk? fixes? fixes2.0? I’m using FPCUpDeluxe installer for Mac Mojave. Thank you. Regards, –Mr Bee -------------- next part -------------- An HTML attachment was scrubbed... URL: From pch at ap-i.net Thu Jan 30 09:24:47 2020 From: pch at ap-i.net (Patrick Chevalley) Date: Thu, 30 Jan 2020 08:24:47 +0000 Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? In-Reply-To: <1745250484.85157.1580365980945@mail.yahoo.com> References: <1745250484.85157.1580365980945@mail.yahoo.com> <1745250484.85157.1580365980945.ref@mail.yahoo.com> Message-ID: <549a04c850fb6e0a80706fe72da7f5f4@ap-i.net> Hi, I use fpc 3.2 from branches/fixes_3_2 because it is mandatory for aarch64. No problem with Lazarus 2.0.6 Just beware that at the moment fixes are merged into this branch almost daily. Any reason you want it for Mojave? for me fpc 3.0.4 work fine on this platform. Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From juha.manninen62 at gmail.com Thu Jan 30 09:36:05 2020 From: juha.manninen62 at gmail.com (Juha Manninen) Date: Thu, 30 Jan 2020 10:36:05 +0200 Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? In-Reply-To: <1745250484.85157.1580365980945@mail.yahoo.com> References: <1745250484.85157.1580365980945.ref@mail.yahoo.com> <1745250484.85157.1580365980945@mail.yahoo.com> Message-ID: On Thu, Jan 30, 2020 at 8:33 AM Mr Bee via lazarus wrote: > Which Lazarus version that uses FPC v3.2? Lazarus trunk? fixes? fixes2.0? "Trunk" and "fixes_2_0" are branches in Lazarus revision control system. You must download them and build yourself. You can use FPC which you build from their 3.2 branch. None of those are released versions but FPCUpDeluxe should build them easily for you. Juha From juha.manninen62 at gmail.com Thu Jan 30 10:27:30 2020 From: juha.manninen62 at gmail.com (Juha Manninen) Date: Thu, 30 Jan 2020 11:27:30 +0200 Subject: [Lazarus] Oracle support in FPC Message-ID: Hello DB experts. Regarding issue https://bugs.freepascal.org/view.php?id=36635 What is the right compiler version test for Oracle support? FPC 3.0.2 maybe? Thus: {$IF FPC_FULLVERSION>=30002} Regards, Juha From michael at freepascal.org Thu Jan 30 11:07:17 2020 From: michael at freepascal.org (Michael Van Canneyt) Date: Thu, 30 Jan 2020 11:07:17 +0100 (CET) Subject: [Lazarus] Oracle support in FPC In-Reply-To: References: Message-ID: On Thu, 30 Jan 2020, Juha Manninen via lazarus wrote: > Hello DB experts. > Regarding issue > https://bugs.freepascal.org/view.php?id=36635 > What is the right compiler version test for Oracle support? > FPC 3.0.2 maybe? Thus: > {$IF FPC_FULLVERSION>=30002} That is indeed correct. Oracle support for Win64 appeared later than for other platforms. I suspect a typo was made. Michael. From juha.manninen62 at gmail.com Thu Jan 30 11:55:05 2020 From: juha.manninen62 at gmail.com (Juha Manninen) Date: Thu, 30 Jan 2020 12:55:05 +0200 Subject: [Lazarus] Oracle support in FPC In-Reply-To: References: Message-ID: On Thu, Jan 30, 2020 at 12:07 PM Michael Van Canneyt via lazarus wrote: > That is indeed correct. Oracle support for Win64 appeared later than for > other platforms. I suspect a typo was made. Thanks! I fixed it. The same test was in 3 places. Juha From pak.lebah at yahoo.com Thu Jan 30 12:44:48 2020 From: pak.lebah at yahoo.com (Mr Bee) Date: Thu, 30 Jan 2020 11:44:48 +0000 (UTC) Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? In-Reply-To: <549a04c850fb6e0a80706fe72da7f5f4@ap-i.net> References: <1745250484.85157.1580365980945@mail.yahoo.com> <1745250484.85157.1580365980945.ref@mail.yahoo.com> <1745250484.85157.1580365980945@mail.yahoo.com> <549a04c850fb6e0a80706fe72da7f5f4@ap-i.net> Message-ID: <998598030.149719.1580384688401@mail.yahoo.com> I’ve been using FPC 3.2 from fixes3.2 in fpcUpDeluxe for about a week and I think it’s pretty reliable so far. I've been waiting for official FPC 3.2 (stable) that was scheduled to be released at the end of 2019. There are no problems with neither Mojave or FPC 3.0.4. But FPC 3.2 is too long overdue. FPC 3.0.4 was released in late 2017, more than 2 years ago. I need to use some new FPC 3.2 features. So, I just took FPC 3.2 from the repo myself. Regards, –Mr Bee Pada Kamis, 30 Januari 2020 15.24.57 WIB, Patrick Chevalley menulis: Hi, I use fpc 3.2 from branches/fixes_3_2 because it is mandatory for aarch64. No problem with Lazarus 2.0.6 Just beware that at the moment fixes are merged into this branch almost daily. Any reason you want it for Mojave? for me fpc 3.0.4 work fine on this platform. Patrick -------------- next part -------------- An HTML attachment was scrubbed... URL: From pak.lebah at yahoo.com Thu Jan 30 12:46:16 2020 From: pak.lebah at yahoo.com (Mr Bee) Date: Thu, 30 Jan 2020 11:46:16 +0000 (UTC) Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? In-Reply-To: References: <1745250484.85157.1580365980945.ref@mail.yahoo.com> <1745250484.85157.1580365980945@mail.yahoo.com> Message-ID: <1996232715.162256.1580384776815@mail.yahoo.com> In fpcUpDeluxe I chose FPC fixes3.2 and Lazarus fixes2.0 then clicked the Install/Update FPC+Laz button. It built FPC successfully but failed to build Lazarus. Hence this question. Here’s some error messages from fpcUpDeluxe before it failed: fpcupdeluxe: info: FPC native builder: Detected source version FPC: 3.2.0fpcupdeluxe: info: FPC native builder: Using FPC bootstrap compiler with version: 3.0.4fpcupdeluxe: info: Lazarus: WARNING: found modified files.fpcupdeluxe: info: LazarusNativeInstaller (GetModule: Lazarus): Lazarus is at revision: 62558fpcupdeluxe: WARNING: LazarusNativeInstaller (GetModule: Lazarus): Going to patch Lazarus sources !!fpcupdeluxe: info: Lazarus native builder: Detected source version Lazarus: 2.0.7fpcupdeluxe: info: Lazarus native builder: Using FPC compiler with version: 3.2.0fpcupdeluxe: Start of compile error summary./freepascal/lazarus/components/lazutils/dynhasharray.pp(173,5) Error: (4032) Can't assign values to const variablefpcupdeluxe: Start of compile error summary./freepascal/lazarus/components/lazutils/dynhasharray.pp(945,28) Error: (4032) Can't assign values to const variablefpcupdeluxe: Start of compile error summary.dynhasharray.pp(948) Fatal: (10026) There were 2 errors compiling module, stopping/freepascal/lazarus/components/lazutils/dynhasharray.pp(945,28) Error: (4032) Can't assign values to const variablefpcupdeluxe: Start of compile error summary.Fatal: (1018) Compilation aborteddynhasharray.pp(948) Fatal: (10026) There were 2 errors compiling module, stoppingfpcupdeluxe: Start of compile error summary.Error: /freepascal/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcodefpcupdeluxe: Start of compile error summary.fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: Lazbuild): make returned error code #512fpcupdeluxe: Done !! “” is the folder of installation. I also have tried FPC fixes3.2 with Lazarus trunk and Lazarus fixes (in fpcUpDeluxe), it also failed with similar error message. Any hints please? Thank you. Regards, –Mr Bee Pada Kamis, 30 Januari 2020 15.36.18 WIB, Juha Manninen menulis: On Thu, Jan 30, 2020 at 8:33 AM Mr Bee via lazarus wrote: > Which Lazarus version that uses FPC v3.2? Lazarus trunk? fixes? fixes2.0? "Trunk" and "fixes_2_0" are branches in Lazarus revision control system. You must download them and build yourself. You can use FPC which you build from their 3.2 branch. None of those are released versions but FPCUpDeluxe should build them easily for you. Juha -------------- next part -------------- An HTML attachment was scrubbed... URL: From zeljko at holobit.net Thu Jan 30 12:53:52 2020 From: zeljko at holobit.net (zeljko) Date: Thu, 30 Jan 2020 12:53:52 +0100 Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? In-Reply-To: <1996232715.162256.1580384776815@mail.yahoo.com> References: <1745250484.85157.1580365980945.ref@mail.yahoo.com> <1745250484.85157.1580365980945@mail.yahoo.com> <1996232715.162256.1580384776815@mail.yahoo.com> Message-ID: <4696509a-b1e3-5df6-b23a-f1457a2e04fd@holobit.net> On 1/30/20 12:46 PM, Mr Bee via lazarus wrote: > Error: /freepascal/fpc/bin/x86_64-darwin/ppcx64 returned an error > exitcode > fpcupdeluxe: Start of compile error summary. > fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: > Lazbuild): make returned error code #512 > fpcupdeluxe: Done !! > > “” is the folder of installation. > > I also have tried FPC fixes3.2 with Lazarus trunk and Lazarus fixes (in > fpcUpDeluxe), it also failed with similar error message. > > Any hints please? Thank you. Lazarus trunk can be compiled and used with fpc 3.2 fixes without problem. zeljko From pak.lebah at yahoo.com Thu Jan 30 13:45:04 2020 From: pak.lebah at yahoo.com (Mr Bee) Date: Thu, 30 Jan 2020 12:45:04 +0000 (UTC) Subject: [Lazarus] Which Lazarus version that uses FPC v3.2? In-Reply-To: <4696509a-b1e3-5df6-b23a-f1457a2e04fd@holobit.net> References: <1745250484.85157.1580365980945.ref@mail.yahoo.com> <1745250484.85157.1580365980945@mail.yahoo.com> <1996232715.162256.1580384776815@mail.yahoo.com> <4696509a-b1e3-5df6-b23a-f1457a2e04fd@holobit.net> Message-ID: <1499550632.177931.1580388304825@mail.yahoo.com> Yes, I believe it should work. But as you can see, FPCUpDeluxe failed to build it. It should make such build task easier. If I have to build it myself manually (as I used to do) then there’s no point of using FPCUpDeluxe in the first place.  I hope the author of FPCUpDeluxe is in this mailing list so he can show me some hints because it could have been me doing some mistakes or set some wrong configs. I’ve reported this problem to FPCUpDeluxe’s github repo (as an issue) as well. Regards, –Mr Bee Pada Kamis, 30 Januari 2020 18.53.56 WIB, zeljko menulis: On 1/30/20 12:46 PM, Mr Bee via lazarus wrote: > Error: /freepascal/fpc/bin/x86_64-darwin/ppcx64 returned an error > exitcode > fpcupdeluxe: Start of compile error summary. > fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: > Lazbuild): make returned error code #512 > fpcupdeluxe: Done !! > > “” is the folder of installation. > > I also have tried FPC fixes3.2 with Lazarus trunk and Lazarus fixes (in > fpcUpDeluxe), it also failed with similar error message. > > Any hints please? Thank you. Lazarus trunk can be compiled and used with fpc 3.2 fixes without problem. zeljko -------------- next part -------------- An HTML attachment was scrubbed... URL: