Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Q: Do you know what the death rate around here is? A: One per person.


comp / comp.lang.tcl / Re: ANNOUNCE: tclcsv 2.4.2 released

SubjectAuthor
* ANNOUNCE: tclcsv 2.4.2 releasedAshok
+* Re: ANNOUNCE: tclcsv 2.4.2 releasedted@loft.tnolan.com (Ted Nolan
|`* Re: ANNOUNCE: tclcsv 2.4.2 releasedAshok
| `- Re: ANNOUNCE: tclcsv 2.4.2 releasedted@loft.tnolan.com (Ted Nolan
`* Re: ANNOUNCE: tclcsv 2.4.2 releasedPaul Obermeier
 `- Re: ANNOUNCE: tclcsv 2.4.2 releasedAshok

1
Subject: ANNOUNCE: tclcsv 2.4.2 released
From: Ashok
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Mon, 30 Sep 2024 16:37 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: apnmbx-public@yahoo.com (Ashok)
Newsgroups: comp.lang.tcl
Subject: ANNOUNCE: tclcsv 2.4.2 released
Date: Mon, 30 Sep 2024 22:07:37 +0530
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <vdek4i$2a8ek$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 30 Sep 2024 18:37:39 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="03d5e2828911bde06ad6befca2c7cff0";
logging-data="2433492"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OzzQCLy9QCg8ORWHT9IxA"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tS7t+Z3sekfO6nYEF2Rx3xwhKxw=
Content-Language: en-US
View all headers

tclcsv 2.4.2 released - update for Tcl 9.

The tclcsv extension for Tcl provides a fast and flexible means of
reading and writing text files in Comma Separated Value (CSV) format.
Includes a UI widget for sniffing CSV dialects.

Docs: https://tclcsv.magicsplat.com
Download: https://sourceforge.net/projects/tclcsv/files/
Repository:https://github.com/apnadkarni/tcl-csv

Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
From: ted@loft.tnolan.com
Newsgroups: comp.lang.tcl
Organization: loft
Date: Mon, 30 Sep 2024 17:59 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: @ednolan (ted@loft.tnolan.com (Ted Nolan)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
Date: 30 Sep 2024 17:59:42 GMT
Organization: loft
Lines: 17
Message-ID: <lm078eFfjcbU1@mid.individual.net>
References: <vdek4i$2a8ek$2@dont-email.me>
X-Trace: individual.net ZtDcz7I7zDD8nOiUyvPqEw4SKoGAQCemaQ9+WM0l0Uj/YJK93H
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:BkS+nOyckN2H2ycNeisYlGYvL0Q= sha256:vsmG5Il3L/vW0uz/HKpXhrwaJUx/eAt5nJ3WdwHS5HQ=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
View all headers

In article <vdek4i$2a8ek$2@dont-email.me>,
Ashok <apnmbx-public@yahoo.com> wrote:
>tclcsv 2.4.2 released - update for Tcl 9.
>
>The tclcsv extension for Tcl provides a fast and flexible means of
>reading and writing text files in Comma Separated Value (CSV) format.
>Includes a UI widget for sniffing CSV dialects.
>
>Docs: https://tclcsv.magicsplat.com
>Download: https://sourceforge.net/projects/tclcsv/files/
>Repository:https://github.com/apnadkarni/tcl-csv

I was unaware of this. When would I use this rather than the CSV package
in tcllib? Is it a case of more efficient, or are there other differences?
--
columbiaclosings.com
What's not in Columbia anymore..

Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
From: Paul Obermeier
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Mon, 30 Sep 2024 18:16 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: obermeier@poSoft.de (Paul Obermeier)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
Date: Mon, 30 Sep 2024 20:16:16 +0200
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <vdepu5$2b4od$1@dont-email.me>
References: <vdek4i$2a8ek$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 30 Sep 2024 20:16:37 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="3230ce6bfecd65c4050d2765591991c3";
logging-data="2462477"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181yuc7BosePezYZyE9fo1J5MnvPaJr8v0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:aTcrGMIIMqQBtURubiCsN+XQnIc=
In-Reply-To: <vdek4i$2a8ek$2@dont-email.me>
View all headers

Am 30.09.2024 um 18:37 schrieb Ashok:
> tclcsv 2.4.2 released - update for Tcl 9.
>
> The tclcsv extension for Tcl provides a fast and flexible means of reading and writing text files in Comma Separated Value (CSV) format.
> Includes a UI widget for sniffing CSV dialects.
>
> Docs: https://tclcsv.magicsplat.com
> Download: https://sourceforge.net/projects/tclcsv/files/
> Repository:https://github.com/apnadkarni/tcl-csv

I get the following errors when trying to compile on Windows with gcc:

generic/csv.c: In function 'csv_format_cell':
generic/csv.c:1877:49: error: invalid operands to binary - (have 'long long int' and 'char *')
Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);
~~~~~~~~~~~~~~ ^
generic/csv.c:1928:45: error: invalid operands to binary - (have 'long long int' and 'char *')
Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);

I assume, the Tcl_DStringSetLength lines should be:
Tcl_DStringSetLength(ds, (Tcl_Size) (dst - p));

Paul

Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
From: Ashok
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Tue, 1 Oct 2024 03:03 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: apnmbx-public@yahoo.com (Ashok)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
Date: Tue, 1 Oct 2024 08:33:14 +0530
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <vdfopi$2j5rv$1@dont-email.me>
References: <vdek4i$2a8ek$2@dont-email.me> <vdepu5$2b4od$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 01 Oct 2024 05:03:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="108396557692bdb714488a2b49293f0c";
logging-data="2725759"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195fuv6kkkymzQbuCYRL6Hv"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:pjkiTx16vJ+s4DOlhuZ7b5K3HR4=
In-Reply-To: <vdepu5$2b4od$1@dont-email.me>
Content-Language: en-US
View all headers

Oops. Built the binaries from my work area so those should be ok. Forgot
to commit the final source :-( so the source distribution generated from
git is broken.

Fixed and released now as 2.4.3.

Sorry about that.

/Ashok

On 9/30/2024 11:46 PM, Paul Obermeier wrote:
> Am 30.09.2024 um 18:37 schrieb Ashok:
>> tclcsv 2.4.2 released - update for Tcl 9.
>>
>> The tclcsv extension for Tcl provides a fast and flexible means of
>> reading and writing text files in Comma Separated Value (CSV) format.
>> Includes a UI widget for sniffing CSV dialects.
>>
>> Docs: https://tclcsv.magicsplat.com
>> Download: https://sourceforge.net/projects/tclcsv/files/
>> Repository:https://github.com/apnadkarni/tcl-csv
>
> I get the following errors when trying to compile on Windows with gcc:
>
> generic/csv.c: In function 'csv_format_cell':
> generic/csv.c:1877:49: error: invalid operands to binary - (have 'long
> long int' and 'char *')
>          Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);
>                                   ~~~~~~~~~~~~~~ ^
> generic/csv.c:1928:45: error: invalid operands to binary - (have 'long
> long int' and 'char *')
>      Tcl_DStringSetLength(ds, (Tcl_Size) dst - p);
>
>
> I assume, the Tcl_DStringSetLength lines should be:
>      Tcl_DStringSetLength(ds, (Tcl_Size) (dst - p));
>
> Paul

Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
From: Ashok
Newsgroups: comp.lang.tcl
Organization: A noiseless patient Spider
Date: Tue, 1 Oct 2024 03:09 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: apnmbx-public@yahoo.com (Ashok)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
Date: Tue, 1 Oct 2024 08:39:00 +0530
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <vdfp4c$2j5rv$2@dont-email.me>
References: <vdek4i$2a8ek$2@dont-email.me> <lm078eFfjcbU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 01 Oct 2024 05:09:01 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="108396557692bdb714488a2b49293f0c";
logging-data="2725759"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+48jh62UL/MjfofCkPwazc"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:oedQvBU4ZOYdKoNPbkzM+D4/A9Y=
In-Reply-To: <lm078eFfjcbU1@mid.individual.net>
Content-Language: en-US
View all headers

If you are happy with tcllib's csv, I would suggest keep using it.
Always easier to distribute Tcl than a binary.

What tclcsv gives you other than speed, is more options for configuring
the CSV dialect (delimiters, quoting method, headers etc.), a feature to
guess ("sniff") the dialect, and a Tk preview widget (a la Excel CSV
import) - see https://tclcsv.magicsplat.com/#tclcsv_dialectpicker

/Ashok

On 9/30/2024 11:29 PM, Ted Nolan <tednolan> wrote:
> In article <vdek4i$2a8ek$2@dont-email.me>,
> Ashok <apnmbx-public@yahoo.com> wrote:
>> tclcsv 2.4.2 released - update for Tcl 9.
>>
>> The tclcsv extension for Tcl provides a fast and flexible means of
>> reading and writing text files in Comma Separated Value (CSV) format.
>> Includes a UI widget for sniffing CSV dialects.
>>
>> Docs: https://tclcsv.magicsplat.com
>> Download: https://sourceforge.net/projects/tclcsv/files/
>> Repository:https://github.com/apnadkarni/tcl-csv
>
> I was unaware of this. When would I use this rather than the CSV package
> in tcllib? Is it a case of more efficient, or are there other differences?

Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
From: ted@loft.tnolan.com
Newsgroups: comp.lang.tcl
Organization: loft
Date: Tue, 1 Oct 2024 04:43 UTC
References: 1 2 3
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: @ednolan (ted@loft.tnolan.com (Ted Nolan)
Newsgroups: comp.lang.tcl
Subject: Re: ANNOUNCE: tclcsv 2.4.2 released
Date: 1 Oct 2024 04:43:52 GMT
Organization: loft
Lines: 19
Message-ID: <lm1d08Fl6u5U1@mid.individual.net>
References: <vdek4i$2a8ek$2@dont-email.me> <lm078eFfjcbU1@mid.individual.net> <vdfp4c$2j5rv$2@dont-email.me>
X-Trace: individual.net abS14ic0DCyJL3M02Xa2ZwNVo+qajE7AOfIO7DmY+s/KVBnfrl
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:KHXYqiFzjFVf1qnusORZQk3DccM= sha256:WxHomuYuoJmDtXZgFsVcq3OTsrxNJymcaAsEVNUNQdc=
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
View all headers

In article <vdfp4c$2j5rv$2@dont-email.me>,
Ashok <apnmbx-public@yahoo.com> wrote:
>If you are happy with tcllib's csv, I would suggest keep using it.
>Always easier to distribute Tcl than a binary.
>
>What tclcsv gives you other than speed, is more options for configuring
>the CSV dialect (delimiters, quoting method, headers etc.), a feature to
>guess ("sniff") the dialect, and a Tk preview widget (a la Excel CSV
>import) - see https://tclcsv.magicsplat.com/#tclcsv_dialectpicker
>
>/Ashok
>

Thanks!

--
columbiaclosings.com
What's not in Columbia anymore..

1

rocksolid light 0.9.8
clearnet tor