Re: [Lazarus] fcl-web or BrookFramework queryfields array

2016-04-15 Thread silvioprog
On Fri, Apr 15, 2016 at 4:37 PM, Leonardo M. Ramé wrote: [...] > Sorry, nevermind. I've found a way to configure KendoUi Grid to send > queries as POST using JSON, so, problem solved. Awesome. :-) tip: you can use jQuery $.param before sent the JSON filter to

Re: [Lazarus] fcl-web or BrookFramework queryfields array

2016-04-15 Thread silvioprog
On Fri, Apr 15, 2016 at 4:33 PM, silvioprog <silviop...@gmail.com> wrote: [...] > This filter can be easily parser ... > I meant: "This filter can be easily parsed ... ". -- Silvio Clécio -- ___ Lazaru

Re: [Lazarus] fcl-web or BrookFramework queryfields array

2016-04-15 Thread silvioprog
On Fri, Apr 15, 2016 at 4:25 PM, Leonardo M. Ramé wrote: [...] > It works pefectly por param=value&..., but I don't know how to parse array > type values. > > example: ?filters[0]['filter']=name[0]['value']=john This filter can be easily parser if you send it as:

Re: [Lazarus] fcl-web or BrookFramework queryfields array

2016-04-15 Thread silvioprog
On Fri, Apr 15, 2016 at 2:47 PM, Leonardo M. Ramé wrote: > Hi, I need to extract the field values of a GET query of type: > > http://127.0.0.1/cgi-bin/test.cgi?fields[1]=f1value[2]=f2value > > Is there a way to handle this apart from HttpRequest.QueryFields? > Yes.

Re: [Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread silvioprog
On Thu, Apr 14, 2016 at 12:27 PM, Ondrej Pokorny <laza...@kluug.net> wrote: > On 14.04.2016 17:22, silvioprog wrote: > >> The new Source Editor shows small marks as illustrated in the attached >> picture. These marks are put in the exactly source line when it has >>

[Lazarus] [FEATURE REQUEST] Source Editor: jump to the marked line by clicking on it

2016-04-14 Thread silvioprog
Hello, The new Source Editor shows small marks as illustrated in the attached picture. These marks are put in the exactly source line when it has warning, hints, errors, notes etc. However, in the current trunk version, you need to roll the scrollbar to go to the marked line. It would be nice if

Re: [Lazarus] [fpc-pascal] PDF generator: please test

2016-04-09 Thread silvioprog
On Fri, Apr 8, 2016 at 3:22 PM, Michael Van Canneyt wrote: [...] > Graeme has fixed a number of errors that should hopefully solve the > problems with > codepages; Changes have been tested on windows/linux/bsd but on Windows > only > with a system that has an english

Re: [Lazarus] PDF generator, try 2

2016-04-06 Thread silvioprog
On Wed, Apr 6, 2016 at 2:14 PM, Michael Van Canneyt wrote: [...] > Why is this patch needed ? It should not be needed at all ? > Sorry, I sent a wrong patch, please consider this new one in attachment. My patch just fix wrong chars in the generated PDF, eg, before the

Re: [Lazarus] PDF generator, try 2

2016-04-06 Thread silvioprog
On Wed, Apr 6, 2016 at 1:57 PM, silvioprog <silviop...@gmail.com> wrote: > On Thu, Mar 31, 2016 at 1:13 PM, Michael Van Canneyt < > mich...@freepascal.org> wrote: >> >> On Thu, Mar 31, 2016 at 11:18 AM, silvioprog <silviop...@gmail.com> >>> wrote: &g

Re: [Lazarus] PDF generator, try 2

2016-04-06 Thread silvioprog
On Thu, Mar 31, 2016 at 1:13 PM, Michael Van Canneyt <mich...@freepascal.org > wrote: > > On Thu, Mar 31, 2016 at 11:18 AM, silvioprog <silviop...@gmail.com> wrote: > > [...] > Greek: Ge?? s?? ??s >> Polish: Witaj swiecie >> Portuguese: Ol? mundo >> Ru

Re: [Lazarus] PDF generator, try 2

2016-04-06 Thread silvioprog
On Thu, Mar 31, 2016 at 1:17 PM, Michael Van Canneyt wrote: [...] > Please, don't do {%H-} etc: > > procedure CreateTTFCIDSystemInfo(const {%H-}EmbeddedFontNum: > integer;{%H-}FontDef: TFontDef);virtual; > {$HINTS OFF} instead of it? > Typecasts like this should also

Re: [Lazarus] PDF generator, try 2

2016-04-06 Thread silvioprog
On Thu, Mar 31, 2016 at 1:26 PM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: [...] > On 2016-03-31 17:13, Michael Van Canneyt wrote: > > I had a look at your PDF. I did not extract the embedded FreeSans font > you have embedded, so don't know the font file version, but based on its

Re: [Lazarus] PDF generator, try 2

2016-04-06 Thread silvioprog
On Thu, Mar 31, 2016 at 1:13 PM, Michael Van Canneyt wrote: [...] > No, I have one of ~1Mb. But probably logical if the file is not there ? > > It's not quite clear what to think of your report ? > > For me > > "PDF was succefully generated" > > does not compute with > >

Re: [Lazarus] PDF generator, try 2

2016-03-31 Thread silvioprog
On Thu, Mar 31, 2016 at 12:45 PM, silvioprog <silviop...@gmail.com> wrote: > On Thu, Mar 31, 2016 at 11:18 AM, silvioprog <silviop...@gmail.com> wrote: > >> On Thu, Mar 31, 2016 at 11:02 AM, Michael Van Canneyt < >> mich...@freepascal.org> wrote: >>&g

Re: [Lazarus] PDF generator, try 2

2016-03-31 Thread silvioprog
On Thu, Mar 31, 2016 at 11:18 AM, silvioprog <silviop...@gmail.com> wrote: > On Thu, Mar 31, 2016 at 11:02 AM, Michael Van Canneyt < > mich...@freepascal.org> wrote: >> >> Hello >> >> In revision 33401 of FPC subversion, a lot of fixes have been co

Re: [Lazarus] PDF generator, try 2

2016-03-31 Thread silvioprog
On Thu, Mar 31, 2016 at 11:02 AM, Michael Van Canneyt < mich...@freepascal.org> wrote: > > Hello > > In revision 33401 of FPC subversion, a lot of fixes have been committed > for Font > handling in the PDF generator: e.g. Unicode fonts should now render > correctly. [...] Great news! :-) I'm

Re: [Lazarus] PDF generator

2016-03-05 Thread silvioprog
On Sat, Mar 5, 2016 at 3:19 PM, Michael Van Canneyt <mich...@freepascal.org> wrote: > On Sat, 5 Mar 2016, silvioprog wrote: > >> On Sat, Mar 5, 2016 at 2:27 PM, Michael Van Canneyt < >> mich...@freepascal.org> >> wrote: >> [...] >> >>&g

[Lazarus] Terminal Output window: problem with Crt unit on Linux

2016-03-05 Thread silvioprog
Hello, Open your (useful) "Terminal Output" window (Ctrl+Alt+O), now compile and run the example below: === code === program project1; {$mode objfpc}{$H+} //uses Crt; begin WriteLn('Hello world'); end. === /code === OK, it will print: Hello world However, uncomment the line "//uses

Re: [Lazarus] PDF generator

2016-03-05 Thread silvioprog
On Sat, Mar 5, 2016 at 2:27 PM, Michael Van Canneyt wrote: [...] > > Optionally: > - PDF Forms ? > - Archive format ? > - Signatures ? - File attachments? [1] [1] https://github.com/libharu/libharu/blob/master/demo/attach.c -- Silvio Clécio --

Re: [Lazarus] PDF generator

2016-03-05 Thread silvioprog
On Sat, Mar 5, 2016 at 2:27 PM, Michael Van Canneyt wrote: > Hi, > > I have committed a PDF generator to FPC Subversion: fcl-pdf. Great news of this weekend. I'm going to test that ... Congrats for your job! -- Silvio Clécio --

Re: [Lazarus] Is there any alternative to PPL (Parallel Programming Library) on FPC?

2016-02-26 Thread silvioprog
On Thu, Feb 25, 2016 at 9:55 PM, Kostas Michalopoulos < badsectorac...@gmail.com> wrote: > Check the MTProcs unit in the multithreadprocs package (part of Lazarus, > but you need to manually install it from the Install/Uninstall Packages > box). This wiki page describes how to use it: > >

[Lazarus] Is there any alternative to PPL (Parallel Programming Library) on FPC?

2016-02-25 Thread silvioprog
Hello, Just a quote from Embarcadero doc : The RTL provides the Parallel Programming Library (PPL), giving your > applications the ability to have tasks running in parallel taking advantage > of working

Re: [Lazarus] Lazarus Release 1.6

2016-02-18 Thread silvioprog
On Thu, Feb 18, 2016 at 12:16 PM, Mattias Gaertner < nc-gaert...@netcologne.de> wrote: > The Lazarus team is glad to announce the release of Lazarus 1.6. [...] Great job! \o/ (SF still "Looking for the latest version? Download lazarus-1.4.4-fpc-2.6.4-win32.exe") -- Silvio Clécio --

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-14 Thread silvioprog
On Sun, Feb 14, 2016 at 4:10 PM, silvioprog <silviop...@gmail.com> wrote: [...] > [2] https://img42.com/B9Y5b > [3] https://img42.com/U3hnt > Oops, it seems that img42 is offline now. I meant: [2] http://i.imgur.com/Ifd4vft.png [3] http://i.imgur.com/SDYg6Pi.png --

Re: [Lazarus] Lazarus on my ancient computer?

2016-02-14 Thread silvioprog
On Sun, Feb 14, 2016 at 12:14 PM, leledumbo wrote: > > So, do you have tips on which Linux flavour to install on this machine? > [...] > Anything with a WM instead of DE. I suggest Manjaro as it's Arch rolling > release philosophy managed under Debian style package

[Lazarus] [ISSUE] Lazaus doesn't work on Windows with the latest FPC version from trunk

2016-01-30 Thread silvioprog
Hello, Issued as #29545 . That problem... -.-' -- Silvio Clécio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Is the TTabControl.OnDrawTab working on Windows?

2016-01-30 Thread silvioprog
On Sat, Jan 30, 2016 at 10:55 AM, silvioprog <silviop...@gmail.com> wrote: > On Sat, Jan 30, 2016 at 10:34 AM, Bart <bartjun...@gmail.com> wrote: > >> On 1/29/16, silvioprog <silviop...@gmail.com> wrote: >> >> > Now set True in the TabControl1.Owne

Re: [Lazarus] Is the TTabControl.OnDrawTab working on Windows?

2016-01-30 Thread silvioprog
On Sat, Jan 30, 2016 at 10:34 AM, Bart <bartjun...@gmail.com> wrote: > On 1/29/16, silvioprog <silviop...@gmail.com> wrote: > > > Now set True in the TabControl1.OwnerDraw and try the tests above again, > > you can't see any message btw. > > > > So,

[Lazarus] Is the TTabControl.OnDrawTab working on Windows?

2016-01-29 Thread silvioprog
Hello, Just try the following steps: . Open Lazarus IDE with its empty Form1; . Put a TabControl1 in the Form1 and add one or more tabs; . Implement the OnDrawTab event with this code: procedure TForm1.TabControl1DrawTab(Control: TCustomTabControl; TabIndex: Integer; const Rect: TRect;

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

2016-01-27 Thread silvioprog
On Wed, Jan 27, 2016 at 9:30 AM, Fabrício Srdic <fabricio.sr...@gmail.com> wrote: > 2016-01-27 0:19 GMT-02:00 silvioprog <silviop...@gmail.com> > >> To summarize my opinion: if I am java programmer, would be better if I >>> can solve my problem via Java classes th

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

2016-01-27 Thread silvioprog
On Wed, Jan 27, 2016 at 2:47 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Wed, Jan 27, 2016 at 12:43 PM, silvioprog <silviop...@gmail.com> wrote: > >> I can't receive any Mantis notification, even using this configuration: >> > > Mayb

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

2016-01-27 Thread silvioprog
On Wed, Jan 27, 2016 at 2:50 PM, Juha Manninen <juha.mannine...@gmail.com> wrote: > On Wed, Jan 27, 2016 at 7:43 PM, silvioprog <silviop...@gmail.com> wrote: > > For example, I can't receive any notification related to this issue: > > http://bugs.freepascal.org/view.p

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

2016-01-27 Thread silvioprog
On Wed, Jan 27, 2016 at 4:57 PM, Bart wrote: > On 1/27/16, Juha Manninen wrote: > > > In fact I did not receive notifications about that issue. I receive > > them about many other issues though. I don't know what is the logic > > here. > > I get

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

2016-01-27 Thread silvioprog
Hello, I can't receive any Mantis notification, even using this configuration: https://img42.com/l8Nog For example, I can't receive any notification related to this issue: http://bugs.freepascal.org/view.php?id=29483 And I think that Juha can't receive any notification too. :-/ So, is Mantis

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

2016-01-26 Thread silvioprog
On Tue, Jan 26, 2016 at 9:17 AM, Fabrício Srdic <fabricio.sr...@gmail.com> wrote: > 2016-01-25 23:09 GMT-02:00 silvioprog <silviop...@gmail.com>: > >> But, unfortunatelly, even with this pros, Pascal programmers avoid to use >> external libraries, that's a rea

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

2016-01-26 Thread silvioprog
On Tue, Jan 26, 2016 at 1:01 PM, Fabrício Srdic <fabricio.sr...@gmail.com> wrote: > Em 26/01/2016 11:30, "silvioprog" <silviop...@gmail.com> escreveu: > > > > As I said: "... But the one of the basic steps before chosing a library > (from any

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

2016-01-26 Thread silvioprog
On Tue, Jan 26, 2016 at 9:54 PM, Marc Santhoff <m.santh...@web.de> wrote: > On Mo, 2016-01-25 at 22:09 -0300, silvioprog wrote: > > > But, unfortunatelly, even with this pros, Pascal programmers avoid to use > > external libraries, that's a real fact. :-/ > > Spea

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

2016-01-26 Thread silvioprog
On Tue, Jan 26, 2016 at 10:51 PM, Fabrício Srdic <fabricio.sr...@gmail.com> wrote: > Em 26/01/2016 23:23, "silvioprog" <silviop...@gmail.com> escreveu: > > > > On Tue, Jan 26, 2016 at 1:01 PM, Fabrício Srdic < > fabricio.sr...@gmail.com> wrote: > &

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

2016-01-25 Thread silvioprog
On Mon, Jan 25, 2016 at 8:54 AM, Jy V <jyv...@gmail.com> wrote: > On Mon, Jan 25, 2016 at 4:59 AM, silvioprog <silviop...@gmail.com> wrote: > >> >> Yes, it can be easily implemented in TP comps. ASA nghttp2 get a pascal >> header, BTW with a ng header in

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

2016-01-25 Thread silvioprog
Oops, On Mon, Jan 25, 2016 at 11:56 AM, silvioprog <silviop...@gmail.com> wrote: [...] > Just an example, the Embarcadero Delphi provides support for BJSON > I meant: "... provides support for BSON ..." .. so I don't see a problem > "... I don't have proble

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

2016-01-25 Thread silvioprog
On Mon, Jan 25, 2016 at 5:08 PM, Michael Van Canneyt <mich...@freepascal.org > 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 librar

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

2016-01-25 Thread silvioprog
On Mon, Jan 25, 2016 at 7:02 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Mon, Jan 25, 2016 at 3:08 PM, Michael Van Canneyt < > mich...@freepascal.org> wrote: > >> On Mon, 25 Jan 2016, silvioprog wrote: >> >>> >>> Many units

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

2016-01-24 Thread silvioprog
On Sat, Jan 23, 2016 at 8:37 AM, Jy V wrote: > Hello Silvio, > > Are you considering to use TurboPower HTTP components to implements HPACK > and HTTP/2 ? > Hello Jy, Yes, it can be easily implemented in TP comps. ASA nghttp2 get a pascal header, BTW with a ng header in hands,

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

2016-01-22 Thread silvioprog
Hello, Issue ID: #29483. [1] This patch implements the HTTP support in the TurboPower IPro component. Thank you! [1] http://bugs.freepascal.org/view.php?id=29483 -- Silvio Clécio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] MouseAndKeyInput package and scroll up/down with whell button

2016-01-17 Thread silvioprog
On Sun, Jan 17, 2016 at 12:37 AM, silvioprog <silviop...@gmail.com> wrote: [...] > So, I think that MouseAndKeyInput package should implement the scroll > support (triggered via up/down whell button). > Patch sent to: http://bugs.freepascal.org/view.php?id=29437. --

[Lazarus] MouseAndKeyInput package and scroll up/down with whell button

2016-01-16 Thread silvioprog
Hello, First, thanks to Tom Gregorovic for sharing this awesome package! :-) So, I think that MouseAndKeyInput package should implement the scroll support (triggered via up/down whell button). I took a look at its code, and it seems implemented to compile on Linux, Mac OS and Windows. Nice! :-)

Re: [Lazarus] How to find out the public IP in code?

2015-11-07 Thread silvioprog
On Sat, Nov 7, 2015 at 12:13 PM, fecske fecske wrote: > or see this > > http://forum.lazarus.freepascal.org/index.php/topic,17506.msg110917.html#msg110917 If you just want to get your external IP using some service like dyndns, you should use pure FCL: === begin code ===

Re: [Lazarus] An online package manager

2015-08-10 Thread silvioprog
On Sat, Aug 8, 2015 at 10:27 AM, Aradeonas aradeo...@operamail.com wrote: [Cross posted on forum so if you want answer there :http://forum.lazarus.freepascal.org/index.php/topic,29284.0.html http://forum.lazarus.freepascal.org/index.php/topic,29007.0.html] Hi, I saw Embarcadero's Getit

Re: [Lazarus] Compiler Options - Conditionally add a package dependency?

2015-07-09 Thread silvioprog
- github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Compiler Options - Conditionally add a package dependency?

2015-07-09 Thread silvioprog
On Thu, Jul 9, 2015 at 4:05 PM, silvioprog silviop...@gmail.com wrote: [...] This option also enables the 'UseUnitScopeNames' directive, so you can use a unit declaration like 'uses {$IFNDEF UseUnitScopeNames}MyCompany.{$ENDIF}SysUtils'. Oops, ... so you can use an unit declaration like

Re: [Lazarus] LazReport - Feature questions

2015-07-09 Thread silvioprog
... =) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] [TIP] LazSqlX!

2015-06-03 Thread silvioprog
On Wed, Jun 3, 2015 at 12:22 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Wed, 3 Jun 2015, silvioprog wrote: Hello, Do you know LazSqlX?: https://lazsqlx.wordpress.com/ I found it yesterday on Google, and now it will be one of my working tools, because its quality is very

[Lazarus] [TIP] LazSqlX!

2015-06-03 Thread silvioprog
- github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Base64 broken in json?

2015-05-30 Thread silvioprog
will encode string in a JSON-escape string. -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Getting common documents folders

2015-05-27 Thread silvioprog
. Michael. Here in Brazil, on Lazarus-BR group, an member (Joao Marcelo Vaz) sent an very nice tip: uses windirs; ... ShowMessage(GetWindowsSpecialDir(CSIDL_COMMON_DOCUMENTS)); =) -- Silvio Clécio My public projects - github.com/silvioprog

Re: [Lazarus] New preprocessor directive

2015-05-24 Thread silvioprog
feature! =) I'll use it in a new logger class that I'm implementing. (y) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo

Re: [Lazarus] Feature request/inquiry

2015-04-30 Thread silvioprog
On Sun, Apr 26, 2015 at 5:07 PM, Dmitry Boyarintsev skalogryz.li...@gmail.com wrote: On Sun, Apr 26, 2015 at 3:17 PM, silvioprog silviop...@gmail.com wrote: I implemented this feature in an old project that I maintain, LazSolutions, and it was cross-platform. Nice! EM_SETCUEBANNER

Re: [Lazarus] Feature request/inquiry

2015-04-26 Thread silvioprog
.Handle, EM_SETCUEBANNER, 0, LParam(PWideChar(WideString('My placeholder on Windows'; end; I implemented this feature in an old project that I maintain, LazSolutions, and it was cross-platform. -- Silvio Clécio My public projects - github.com/silvioprog

Re: [Lazarus] [Release 1.4.0]: is the Identifier Completation compatible with generic?

2015-04-22 Thread silvioprog
Oops... On Wed, Apr 22, 2015 at 2:49 AM, silvioprog silviop...@gmail.com wrote: [...] In Lazarus 1.2.4 it works fine. ... In Lazarus 1.2.6 ... I'd downgrade while I not get why it does not work. XD -- Silvio Clécio My public projects - github.com/silvioprog

[Lazarus] [Release 1.4.0]: is the Identifier Completation compatible with generic?

2015-04-21 Thread silvioprog
: identifier not found: specialize In Lazarus 1.2.4 it works fine. Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] How to write an eficient lexical scanner/parser?

2015-03-13 Thread silvioprog
for that information. I'll take a look at this! =) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to write an eficient lexical scanner/parser?

2015-03-10 Thread silvioprog
to implement and AFAIK most compilers use them, either to build the token list or directly). I downloaded the PDF with all articles. Thank you very much! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] How to write an eficient lexical scanner/parser?

2015-03-10 Thread silvioprog
after seeing your code. Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How to write an eficient lexical scanner/parser?

2015-03-10 Thread silvioprog
://videlibri.sourceforge.net/xidel.html http://www.benibela.de/sources_en.html#internettools Ara I think that it uses regex as parser. I'll check when I have a free time. Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list

Re: [Lazarus] Play video from memory

2015-03-08 Thread silvioprog
/downloads/ -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] bittorrent

2015-03-06 Thread silvioprog
-remote-gui/ -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] How to write an eficient lexical scanner/parser?

2015-03-06 Thread silvioprog
article about 'how to write lexical parsers' using Object Pascal? I need any material about this subject, and I'm very grateful for any tip. Thanks in advance! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list

Re: [Lazarus] Play video from memory

2015-03-06 Thread silvioprog
On Fri, Mar 6, 2015 at 2:02 PM, aradeonas aradeo...@operamail.com wrote: Anyway if anyone know a way or library please tell me. Ara You can get some video libraries here: http://wiki.freepascal.org/Video_Playback_Libraries -- Silvio Clécio My public projects - github.com/silvioprog

[Lazarus] How can I configure unit scope names in Lazarus?

2015-02-26 Thread silvioprog
! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] How can I configure unit scope names in Lazarus?

2015-02-26 Thread silvioprog
On Thu, Feb 26, 2015 at 5:57 PM, Sven Barth pascaldra...@googlemail.com wrote: On 26.02.2015 21:50, silvioprog wrote: Is this feature - unit scope names - implemented in FPC? If so, the Lazarus IDE has a window to configure that in my project? FPC does not support that yet. Regards

[Lazarus] [OT] HTTP/2 is Done!

2015-02-19 Thread silvioprog
Just sharing: https://www.mnot.net/blog/2015/02/18/http2 Enjoy reading! =) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Inversion of control (IoC) and Dependency injection (DI)

2015-01-11 Thread silvioprog
On Mon, Jan 5, 2015 at 5:07 PM, luiz americo pereira camara luiz...@oi.com.br wrote: Starting a new thread. 2015-01-05 15:16 GMT-03:00 silvioprog silviop...@gmail.com: On Mon, Jan 5, 2015 at 12:54 PM, Marco van de Voort mar...@stack.nl wrote: As a first step in the 3.0.0 release process

Re: [Lazarus] HEADS UP: FPC 3.0.1 stable branched off.

2015-01-05 Thread silvioprog
-- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Is FPDoc Editor working?

2014-12-22 Thread silvioprog
the cursor on FooBar and click the 'Create Help Item' button in FPDoc Editor. Yes! Following this steps it worked fine here. Thanks alot! (y) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Is FPDoc Editor working?

2014-12-21 Thread silvioprog
Lazarus list rejected my e-mail because my attachments 100 KB. ¬¬' Attachment 1: http://tinypic.com/r/zko60n/8 ; Attachment 2: http://tinypic.com/r/2yo77v6/8 Please see my message below: On Sat, Dec 20, 2014 at 6:33 PM, silvioprog silviop...@gmail.com wrote: On Sat, Dec 20, 2014 at 5:38 AM

Re: [Lazarus] FPDoc Editor vs Lazarus Documentation Tool

2014-12-20 Thread silvioprog
On Sat, Dec 20, 2014 at 8:18 AM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: On 2014-12-19 21:58, silvioprog wrote: What is the most recomended tool to make documentation?: I simply use my favourite text editor (EditPad Pro) and code templates. I don't use indentation in the XML

Re: [Lazarus] FPDoc Editor vs Lazarus Documentation Tool

2014-12-20 Thread silvioprog
in the built-in editor? It seems a nice alternative to who want work using only Lazarus IDE. =) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org

Re: [Lazarus] FPDoc Editor vs Lazarus Documentation Tool

2014-12-20 Thread silvioprog
have a better appearance and be compatible with any device that can render HTML. =) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] FPDoc Editor vs Lazarus Documentation Tool

2014-12-20 Thread silvioprog
On Sat, Dec 20, 2014 at 7:21 PM, Graeme Geldenhuys mailingli...@geldenhuys.co.uk wrote: On 2014-12-20 22:06, silvioprog wrote: The documentation generated by the FPDoc is not responsive (e.g: http://goo.gl/bCJoPM), i.e., it does not open well on a mobile device. That's down to your choice

[Lazarus] [ISSUE] Complete Code does not work with dotted unit

2014-12-20 Thread silvioprog
Hello, Please see in: http://bugs.freepascal.org/view.php?id=27193 Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] Is FPDoc Editor working?

2014-12-19 Thread silvioprog
) step by step in this link: http://wiki.lazarus.freepascal.org/LazDoc. Thank you! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

[Lazarus] FPDoc Editor vs Lazarus Documentation Tool

2014-12-19 Thread silvioprog
Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Thanks to FPC team: Record helper for primitive types!

2014-11-29 Thread silvioprog
Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Thanks to FPC team: Record helper for primitive types!

2014-11-29 Thread silvioprog
On Sat, Nov 29, 2014 at 4:54 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 29 Nov 2014, silvioprog wrote: On Sat, Nov 29, 2014 at 2:04 PM, Sven Barth pascaldra...@googlemail.com wrote: On 29.11.2014 16:54, silvioprog wrote: Hello, Today I

Re: [Lazarus] Thanks to FPC team: Record helper for primitive types!

2014-11-29 Thread silvioprog
On Sat, Nov 29, 2014 at 5:55 PM, silvioprog silviop...@gmail.com wrote: On Sat, Nov 29, 2014 at 4:54 PM, Michael Van Canneyt mich...@freepascal.org wrote: On Sat, 29 Nov 2014, silvioprog wrote: On Sat, Nov 29, 2014 at 2:04 PM, Sven Barth pascaldra...@googlemail.com wrote

Re: [Lazarus] UTF8 RTL for Windows

2014-11-20 Thread silvioprog
thanks Lazarus/FPC team! (y) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
On Fri, Nov 14, 2014 at 9:53 AM, Reimar Grabowski reimg...@web.de wrote: On Thu, 13 Nov 2014 11:33:58 -0300 silvioprog silviop...@gmail.com wrote: I use an own TPreparedStatement (equivalent to TSQLQuery prepared + Params, but my structure does not uses TDataset) that I get the last

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
, but it is not implemented yet. Awesome news! =) Some branch to follow this new implementations? (trunk?) Thanks! -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
! =) Currently I use it via cursor from the database driver. It is very very fast and is transaction independent. =) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
On Fri, Nov 14, 2014 at 10:40 AM, Michael Van Canneyt mich...@freepascal.org wrote: On Fri, 14 Nov 2014, silvioprog wrote: On Fri, Nov 14, 2014 at 10:15 AM, Michael Van Canneyt mich...@freepascal.org wrote: [...] Connections for databases that have lastinsertID you can call

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
TXSequence = class(..., ISQLSequence) .. function GetLastId: int64; So: PQConnector1.SetSequencer(TPGSequence.Create); or: XYZConnector1.SetSequencer(TXSequence.Create); -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
-the-new-record-primary-key-id-from-mysql-insert-query === -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
of TDBCapability; and Class function DatabaseCapabilities : TDBCapabilities; I don't really like using interfaces when things can be done more simple. Good too dude. =) Protected virtual methods would be welcome too. =) -- Silvio Clécio My public projects - github.com/silvioprog

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
On Fri, Nov 14, 2014 at 12:49 PM, silvioprog silviop...@gmail.com wrote: On Fri, Nov 14, 2014 at 11:43 AM, Michael Van Canneyt mich...@freepascal.org wrote: [...] AFAIK Only sqlite does not (maybe it does today). But that is not a DBMS :-) Yes. It would be nice execute

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
AUTO_INCREMENT,AUTO_INCREMENT=5; -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-14 Thread silvioprog
lastval if nextval has not yet been called in the current session. And PostgreSQL provides the RETURNING feature too. =) -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] TSQLQuery: Getting autoincremented ID value after insert (MySQL)

2014-11-13 Thread silvioprog
] TConnectionFactory.GetInstance(Context).UpdateWithOnConflict(MyObject, TConnection.CONFLICT_REPLACE); WriteLn('The generated or existing ID is: ', MyObject.Id); [/code] I'll send it soon to the Github. =) -- Silvio Clécio My public projects - github.com/silvioprog

Re: [Lazarus] Detecting if a remote web server is running

2014-10-30 Thread silvioprog
'); finally VHeaders.Free; VHttp.Free; end; end; -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Detecting if a remote web server is running

2014-10-30 Thread silvioprog
the headers (only) from the root... +1 Like this: http://lists.lazarus.freepascal.org/pipermail/lazarus/2014-October/089112.html -- Silvio Clécio My public projects - github.com/silvioprog -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] TPQConnection.CreateDB: ENCODING, OWNER, TEMPLATE, LC_CTYPE, TABLESPACE

2014-10-29 Thread silvioprog
On Tue, Oct 28, 2014 at 8:19 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 28/10/2014 02:03, silvioprog wrote: Today I fixed that using a mix of codes: creating the database using the original postgre driver for Java, and calling java -jar create_mydb params via TProcess

  1   2   3   4   5   6   7   8   >