Re: [Lazarus] Lazarus and MySQL 5.7

2016-11-21 Thread LacaK via Lazarus

Hi,
Please create bug report on http://bugs.freepascal.org and attach your 
modified files (at least ;-))

-Laco.


Sorry, the link below is broken.

This is the good one:

http://www.bononiadocta.it/Lazarus/Sqldb.tar.bz2


Il 22/11/2016 01:37, Giuliano Colla ha scritto:
I cannot contribute the patch right now because I didn't make it on 
an SVN version, but whoever is interested can get a patched version 
of SqlDBLaz for Lazarus 1.6 supporting MySql 5.7 from this link:


/www.bononiadocta.it/Lazarus/Sqldb.tar.bz2

Just use it to replace the sqldb folder in the 
$PATH$TO$LAZARUS/components folder and rebuild the IDE.




-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus and MySQL 5.7

2016-11-21 Thread Giuliano Colla via Lazarus

Sorry, the link below is broken.

This is the good one:

http://www.bononiadocta.it/Lazarus/Sqldb.tar.bz2


Il 22/11/2016 01:37, Giuliano Colla ha scritto:
I cannot contribute the patch right now because I didn't make it on an 
SVN version, but whoever is interested can get a patched version of 
SqlDBLaz for Lazarus 1.6 supporting MySql 5.7 from this link:


/www.bononiadocta.it/Lazarus/Sqldb.tar.bz2

Just use it to replace the sqldb folder in the 
$PATH$TO$LAZARUS/components folder and rebuild the IDE.


-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus and MySQL 5.7

2016-11-21 Thread Giuliano Colla via Lazarus

Il 21/11/2016 10:33, Graeme Geldenhuys via Lazarus ha scritto:


It is pretty straight forward to create a new "registered component"
line in the Lazarus packages [SqlDBLaz], which in turn will register a
icon/component in Lazarus's component palette.
Actually it took me almost a full quarter of an hour to do it. The most 
of the time was spent to draw the proper Icon, not too much different 
from the others, and to detect a typo.
I'm lazy and I like RAD tools, because finding all the published 
properties neatly listed in the OI saves me time and mistakes.
I cannot contribute the patch right now because I didn't make it on an 
SVN version, but whoever is interested can get a patched version of 
SqlDBLaz for Lazarus 1.6 supporting MySql 5.7 from this link:


/www.bononiadocta.it/Lazarus/Sqldb.tar.bz2

Just use it to replace the sqldb folder in the 
$PATH$TO$LAZARUS/components folder and rebuild the IDE.


Giuliano

-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Is the TODO list working?

2016-11-21 Thread silvioprog via Lazarus
Oops,

On Mon, Nov 21, 2016 at 3:14 PM, silvioprog  wrote:
[...]
>
> ... it seems the TODO list windows isn't working, however I don't know ...
>

I meant: "... it seems the TODO list window isn't working, it always return
an empty list, however I don't know ..."

-- 
Silvio Clécio
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Is the TODO list working?

2016-11-21 Thread silvioprog via Lazarus
Hello,

I've tried to see some TODOs in my code, but it seems the TODO list windows
isn't working, however I don't know if it is happening only with my Lazarus
copy.

Could anybody confirm if it is working properly?

Thank you!

Environment: Lazarus 1.7 r53323 FPC 3.1.1 x86_64-linux-gtk 2

-- 
Silvio Clécio
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Quad precision library for Free Pascal

2016-11-21 Thread denisgolovan via Lazarus
http://www.jhauser.us/arithmetic/SoftFloat.html

Looks pretty easy to make .obj/.o wrappers for FPC. See f128* files.
Also it's quite portable and lacks excessive abstraction layers.
Just basic arithmetics though.

19.11.2016, 02:02, "Ken Kashmarek via Lazarus" :
> Does anyone know of or have implemented a quad precision (128-bit) library
> for Free Pascal. I see there are some available for C or GCC but not Free
> Pascal directly.
>
> Your feedback is appreciated
>
> Ken
>
> --
> View this message in context: 
> http://free-pascal-lazarus.989080.n3.nabble.com/Quad-precision-library-for-Free-Pascal-tp4050382.html
> Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com.
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus-ide.org
> http://lists.lazarus-ide.org/listinfo/lazarus

-- 
Regards,
Denis Golovan
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Quad precision library for Free Pascal

2016-11-21 Thread Josh via Lazarus

Would this thread be of any use ?

http://forum.lazarus.freepascal.org/index.php?topic=27021.0


--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Quad precision library for Free Pascal

2016-11-21 Thread Michael Schnell via Lazarus

On 19.11.2016 00:01, Ken Kashmarek via Lazarus wrote:

Does anyone know of or have implemented a quad precision (128-bit) library
for Free Pascal.  I see there are some available for C or GCC but not Free
Pascal directly.

Your feedback is appreciated
I read many threads about arbitrary precision fixed point and floating 
point libraries or FPC, especially in the German Lazarus Forum.


Supposedly a rather "official" one is part of the Delphi Jedi project.

But I would rather use a proven C library rapped in a DLL/so.

-Michael
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Lazarus and MySQL 5.7

2016-11-21 Thread Graeme Geldenhuys via Lazarus
On 2016-11-21 00:30, Giuliano Colla via Lazarus wrote:
> Lazarus 1.6 includes the package SQLDBLaz which provides support for MySQL 
> from 
> versions 4.0 to 5.6.

Yes, and that "Lazarus Packages" is simply a IDE wrapper around the
components included by FPC's fcl-db code. You don't need Lazarus to use
any components or classes introduced by FPC.


> Looking into the sources, version 5.7 is already there, but the package 
> doesn't 
> support it

It is pretty straight forward to create a new "registered component"
line in the Lazarus packages [SqlDBLaz], which in turn will register a
icon/component in Lazarus's component palette.

Too many developers don't seem to understand the underlying workings of
components or classes. If they don't see it in the component palette
they don't know how to use it. It is just sad how "RAD development" has
dumbed down so many developers.


> SQLConnector1.ConnectorType := 'MYSQL 5.7'; // programmatically because the 
> OI doesn't have it
> MySQL57Connection1 := TMySQL57Connection.Create(Self); // programmatically 
> because you can't drop it into the form

Glad to see you figured it out (RAD didn't get the better of you). Now
lets hope others can learn from that. :)


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp
-- 
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
http://lists.lazarus-ide.org/listinfo/lazarus