[Lazarus] JSON coders beware...

2013-02-07 Thread waldo kitty
i just saw this in my latest copy of @RISK and thought i'd share it since there seem to be quite a few coders using JSON... http://www.reddit.com/r/netsec/comments/17xzlw/why_does_google_prepend_while1_to_their_json/ not knowing others' level of security awarness or what data they are transf

Re: [Lazarus] Extract the color data and alpha from a PNG image

2013-02-07 Thread José Mejuto
El 05/02/2013 23:49, silvioprog escribió: You have puted a PNG image into a PDF? That's what I'm trying to do, and it needs of the uncompressed data too (or compressed as gzip). Hello, The attached code do more or less the same as the fpdf.php one. It can be written in a very different way b

Re: [Lazarus] Lazarus 1.0.6 Release

2013-02-07 Thread Martin
On 07/02/2013 12:37, leledumbo wrote: Probably the one after this, note that Lazarus and FPC have separate release cycle, and Lazarus default distribution will always depend on the latest stable release of FPC (2.6.2 isn't out yet, right?). Yep. Currently the newest (released) fpc is 2.6.0 AF

Re: [Lazarus] Communication with PostgreSQL

2013-02-07 Thread Chavoux Luyt
Hi Johann I wasn't going to comment since this is for a command-line program. But what version of Lazarus do you have (and on which version of Debian)? I ask because the Debian Lazarus packages are notoriously out of date. (E.g. Lazarus 1.0+ has been out for a while, but not available from the mai

Re: [Lazarus] Communication with PostgreSQL

2013-02-07 Thread Johann Spies
@Reinier: Thanks for the advice. I will try sqldb/Tpqconnection. @leledumbo_coo l: I have done that previously. After I sent my first message I also found that neither fpc nor lazarus could work with the postgres library reporting that it could not find the unit 'system'. So I rebuild all the

Re: [Lazarus] Communication with PostgreSQL

2013-02-07 Thread leledumbo
Looks like your fpc.cfg isn't setup well, could you post the content here? It should be located in /etc, if none exists, then you definitely miss one. Create the default file with fpcmkcfg program (comes with fpc, so you probably already have it) then move to /etc. Edit (or add) -Fu lines to point

Re: [Lazarus] Lazarus 1.0.6 Release

2013-02-07 Thread leledumbo
Probably the one after this, note that Lazarus and FPC have separate release cycle, and Lazarus default distribution will always depend on the latest stable release of FPC (2.6.2 isn't out yet, right?). -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Laz

Re: [Lazarus] Communication with PostgreSQL

2013-02-07 Thread Reinier Olislagers
On 7-2-2013 12:13, Johann Spies wrote: > Long ago I have worked with Turbo Pascal 7 in a DOS environment. > > Now after many years I want to use Pascal again. I have installed > Lazarus on my Debian system and had some success with initial short > routines trying to refresh my old skills and tryi

[Lazarus] Communication with PostgreSQL

2013-02-07 Thread Johann Spies
Long ago I have worked with Turbo Pascal 7 in a DOS environment. Now after many years I want to use Pascal again. I have installed Lazarus on my Debian system and had some success with initial short routines trying to refresh my old skills and trying to cope with all the changes. I want to devel

Re: [Lazarus] Buttons in frames

2013-02-07 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Thu, 07 Feb 2013 08:36:48 + Mark Morgan Lloyd wrote: [...] Is this correct: Project directory is /usr/local/src/heavywethers/trunk Unitpath is "../inifiles/trunk" Correct. So these files belong to the project: /usr/local/src/heavywethers/inifiles/trunk/*.pas

Re: [Lazarus] Buttons in frames

2013-02-07 Thread Mattias Gaertner
On Thu, 07 Feb 2013 08:36:48 + Mark Morgan Lloyd wrote: >[...] > >>> Is this correct: > >>> Project directory is > >>> /usr/local/src/heavywethers/trunk > >>> Unitpath is "../inifiles/trunk" > >> Correct. > >> > >>> So these files belong to the project: > >>> /usr/local/src/heavywethers/inifi

Re: [Lazarus] Lazarus 1.0.6 Release

2013-02-07 Thread William Oliveira Ferreira
Which version will comes with a newer FPC version? 2013/2/6 Giuliano Colla > On 02/04/2013 03:36 PM, Mattias Gaertner wrote: > >> The Lazarus team is glad to announce the release of Lazarus 1.0.6. >> > > Whoever is interested may download a more broadly compatible version of > the rpm's from: >

Re: [Lazarus] Buttons in frames

2013-02-07 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: On Wed, 06 Feb 2013 20:29:17 + Mark Morgan Lloyd wrote: Mattias Gaertner wrote: On Wed, 06 Feb 2013 19:06:55 + Mark Morgan Lloyd wrote: [...] Going back to this, r40191 shows me that event handlers were not being saved in the frame (OnClick event etc.) but