Re: [Lazarus] Base64 broken in json?

2015-06-02 Thread Michael Van Canneyt
On Mon, 1 Jun 2015, Leonardo M. Ramé wrote: El 30/05/15 a las 13:29, silvioprog escibió: On Sat, May 30, 2015 at 12:14 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: [Window Title] project1 [Content] { var1 : bGVvbmFyZG8= } - leonardo [OK] But after take a look

Re: [Lazarus] StringGrid.loadFromCSVFile question

2015-06-02 Thread Koenraad Lelong
Op 01-06-15 om 15:30 schreef Bart: On 6/1/15, Koenraad Lelong lazar...@de-brouwerij.be wrote: A few months ago I made an application that uses StringGrid.LoadFromCSVFile. This worked. Now, on a PC with a newer linux-OS, and a newer Lazarus/FPC, I try to work further on that application but now

Re: [Lazarus] Base64 broken in json?

2015-06-02 Thread Leonardo M. Ramé
El 02/06/15 a las 09:21, Michael Van Canneyt escibió: On Tue, 2 Jun 2015, Leonardo M. Ramé wrote: You cannot copypaste that, because there may be escaped characters in it. If you are doing that, you are doing it wrong. Hmm. That's the problem, then. --

Re: [Lazarus] Dropdown in stringgrid ?

2015-06-02 Thread Jesus Reyes A.
En Tue, 02 Jun 2015 06:01:05 -0500, Koenraad Lelong lazar...@de-brouwerij.be escribió: Hi, I'm trying to make a universal importer. I have a database I want to populate/modify with data from a csv-file. The column order of the csv-file cannot be imposed. So I have to have a way to say

Re: [Lazarus] Base64 broken in json?

2015-06-02 Thread Michael Van Canneyt
On Tue, 2 Jun 2015, Leonardo M. Ramé wrote: El 02/06/15 a las 04:20, Michael Van Canneyt escibió: On Mon, 1 Jun 2015, Leonardo M. Ramé wrote: El 30/05/15 a las 13:29, silvioprog escibió: On Sat, May 30, 2015 at 12:14 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com

Re: [Lazarus] StringGrid.loadFromCSVFile question

2015-06-02 Thread Bart
On 6/2/15, Koenraad Lelong lazar...@de-brouwerij.be wrote: I think I better open a bug-report. I found what's the problem : I use two fixed rows. When I tried to make that sample program I was surprised the minimal version worked, but then I added a second fixed row, and then it crashed

Re: [Lazarus] StringGrid.loadFromCSVFile question

2015-06-02 Thread Koenraad Lelong
Op 02-06-15 om 12:30 schreef Bart: On 6/2/15, Koenraad Lelong lazar...@de-brouwerij.be wrote: I think I better open a bug-report. I found what's the problem : I use two fixed rows. When I tried to make that sample program I was surprised the minimal version worked, but then I added a second

[Lazarus] Dropdown in stringgrid ?

2015-06-02 Thread Koenraad Lelong
Hi, I'm trying to make a universal importer. I have a database I want to populate/modify with data from a csv-file. The column order of the csv-file cannot be imposed. So I have to have a way to say which column of the csv-file is which field in the database. I have a commercial application

Re: [Lazarus] Base64 broken in json?

2015-06-02 Thread Leonardo M. Ramé
El 02/06/15 a las 04:20, Michael Van Canneyt escibió: On Mon, 1 Jun 2015, Leonardo M. Ramé wrote: El 30/05/15 a las 13:29, silvioprog escibió: On Sat, May 30, 2015 at 12:14 PM, Leonardo M. Ramé l.r...@griensu.com mailto:l.r...@griensu.com wrote: [Window Title] project1 [Content] { var1

[Lazarus] TProcess not mirroring terminal

2015-06-02 Thread JuuS
Hi All, I'm using Lazarus 1.4 with Kubuntu 14.04 I've written a small GUI frontend for the rsync command. I assemble rsync command line switches and source and destination thru the TProcess paramlist and everything has been exactly mirrored by my program and when the exact same command is run

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread JuuS
On 06/02/2015 03:42 PM, Marc Santhoff wrote: On Di, 2015-06-02 at 14:21 +0200, JuuS wrote: Anyone have an idea why this is so??? Maybe the difference is that your TProcess is reading only stdout, not stderr. Dunno if there is a switch in TProcess, if not you'd need to redirect stderr to

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread JuuS
On 06/02/2015 04:20 PM, Mark Morgan Lloyd wrote: JuuS wrote: Thanks for the answer. wildcards do work fine when I make exclude and include params, but then those are interpreted by rsync as simple patterns to match. So you are saying that in the case of the actual source folder param the

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread Mark Morgan Lloyd
JuuS wrote: Thanks for the answer. wildcards do work fine when I make exclude and include params, but then those are interpreted by rsync as simple patterns to match. So you are saying that in the case of the actual source folder param the shell must be involved and passing it through TProcess

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread Michael Van Canneyt
On Tue, 2 Jun 2015, JuuS wrote: Hi All, I'm using Lazarus 1.4 with Kubuntu 14.04 I've written a small GUI frontend for the rsync command. I assemble rsync command line switches and source and destination thru the TProcess paramlist and everything has been exactly mirrored by my program and

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread Marc Santhoff
On Di, 2015-06-02 at 14:21 +0200, JuuS wrote: Anyone have an idea why this is so??? TERMINAL OUTPUT: juus@JuuSKub:~$ rsync -n -vshtplgiE --stats --modify-window=1 --progress /home/juus/Documents/** /media/juus/Lin1TB/BKactive skipping directory CodeBlocks skipping directory IntelliJ

Re: [Lazarus] StringGrid.loadFromCSVFile question

2015-06-02 Thread Bart
On 6/2/15, Koenraad Lelong lazar...@de-brouwerij.be wrote: Bug ID = 0028230 OK. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread JuuS
You can simply execute the shell and use its -c option to pass the rsync command with all options. Ok, thanks Michael. I will look into it. Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread Michael Van Canneyt
On Tue, 2 Jun 2015, JuuS wrote: On 06/02/2015 02:31 PM, Michael Van Canneyt wrote: On Tue, 2 Jun 2015, JuuS wrote: Hi All, I'm using Lazarus 1.4 with Kubuntu 14.04 I've written a small GUI frontend for the rsync command. I assemble rsync command line switches and source and

Re: [Lazarus] TProcess not mirroring terminal

2015-06-02 Thread JuuS
On 06/02/2015 02:31 PM, Michael Van Canneyt wrote: On Tue, 2 Jun 2015, JuuS wrote: Hi All, I'm using Lazarus 1.4 with Kubuntu 14.04 I've written a small GUI frontend for the rsync command. I assemble rsync command line switches and source and destination thru the TProcess paramlist