This is an automated email from the ASF dual-hosted git repository. mxmanghi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
The following commit(s) were added to refs/heads/master by this push: new cdcb4d1 align to version 1.2 for new DIO interface, update ASF copyright statements cdcb4d1 is described below commit cdcb4d16031d5d9074594dc0dee59b6ebcd5b314 Author: Massimo Manghi <mxman...@apache.org> AuthorDate: Tue Sep 10 14:16:10 2024 +0200 align to version 1.2 for new DIO interface, update ASF copyright statements --- rivet/packages/dio/dio_Mysql.tcl | 4 ++-- rivet/packages/dio/dio_Oracle.tcl | 41 ++++++++++++++++++++--------------- rivet/packages/dio/dio_Postgresql.tcl | 37 +++++++++++++++++-------------- rivet/packages/dio/dio_Sqlite.tcl | 37 +++++++++++++++++-------------- rivet/packages/dio/dio_Tdbc.tcl | 28 ++++++++++++++---------- rivet/packages/dio/formatters.tcl | 26 ++++++++++++---------- rivet/packages/dio/pkgIndex.tcl | 9 ++++---- 7 files changed, 103 insertions(+), 79 deletions(-) diff --git a/rivet/packages/dio/dio_Mysql.tcl b/rivet/packages/dio/dio_Mysql.tcl index 3805036..294bd49 100644 --- a/rivet/packages/dio/dio_Mysql.tcl +++ b/rivet/packages/dio/dio_Mysql.tcl @@ -17,8 +17,8 @@ # specific language governing permissions and limitations # under the License. -package require DIO 1.2 -package provide dio_Mysql 0.5 +package require DIO 1.2 +package provide dio_Mysql 1.2 namespace eval DIO { ::itcl::class Mysql { diff --git a/rivet/packages/dio/dio_Oracle.tcl b/rivet/packages/dio/dio_Oracle.tcl index 0f36419..5e9c59b 100644 --- a/rivet/packages/dio/dio_Oracle.tcl +++ b/rivet/packages/dio/dio_Oracle.tcl @@ -1,21 +1,26 @@ -# dio_Mysql.tcl -- Mysql backend. - -# Copyright 2006 The Apache Software Foundation - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# http://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package require DIO 1.2 -package provide dio_Oracle 0.3 +# dio_Oracle.tcl -- Oracle (odbc) backend. + +# Copyright 2006-2024 The Apache Software Foundation + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package require DIO 1.2 +package provide dio_Oracle 1.2 namespace eval DIO { ::itcl::class Oracle { diff --git a/rivet/packages/dio/dio_Postgresql.tcl b/rivet/packages/dio/dio_Postgresql.tcl index 1c71bb7..4ac91ed 100644 --- a/rivet/packages/dio/dio_Postgresql.tcl +++ b/rivet/packages/dio/dio_Postgresql.tcl @@ -1,21 +1,26 @@ # dio_Postgresql.tcl -- Postgres backend. -# Copyright 2002-2004 The Apache Software Foundation - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# http://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package require DIO 1.2 -package provide dio_Postgresql 0.2 +# Copyright 2002-2024 The Apache Software Foundation + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package require DIO 1.2 +package provide dio_Postgresql 1.2 namespace eval DIO { ::itcl::class Postgresql { diff --git a/rivet/packages/dio/dio_Sqlite.tcl b/rivet/packages/dio/dio_Sqlite.tcl index e90b4ec..0b1f6e8 100644 --- a/rivet/packages/dio/dio_Sqlite.tcl +++ b/rivet/packages/dio/dio_Sqlite.tcl @@ -1,21 +1,26 @@ # dio_Sqlite.tcl -- DIO interface for sqlite -# Copyright 2004 The Apache Software Foundation - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# http://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -package require DIO 1.2 -package provide dio_Sqlite 0.2 +# Copyright 2002-2024 The Apache Software Foundation + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +package require DIO 1.2 +package provide dio_Sqlite 1.2 namespace eval DIO { variable sqlite_seq -1 diff --git a/rivet/packages/dio/dio_Tdbc.tcl b/rivet/packages/dio/dio_Tdbc.tcl index dd082bf..73944c8 100644 --- a/rivet/packages/dio/dio_Tdbc.tcl +++ b/rivet/packages/dio/dio_Tdbc.tcl @@ -2,22 +2,26 @@ # # Copyright 2024 The Apache Software Foundation # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# http://www.apache.org/licenses/LICENSE-2.0 # +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. package require tdbc -package require DIO 1.2 -package provide dio_Tdbc 0.2 +package require DIO 1.2 +package provide dio_Tdbc 1.2 namespace eval DIO { ::itcl::class Tdbc { diff --git a/rivet/packages/dio/formatters.tcl b/rivet/packages/dio/formatters.tcl index 67fc55b..7bc16bf 100644 --- a/rivet/packages/dio/formatters.tcl +++ b/rivet/packages/dio/formatters.tcl @@ -2,18 +2,22 @@ # # Copyright 2024 The Apache Software Foundation # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 # +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. namespace eval ::DIO::formatters { diff --git a/rivet/packages/dio/pkgIndex.tcl b/rivet/packages/dio/pkgIndex.tcl index 283131c..19c1c64 100644 --- a/rivet/packages/dio/pkgIndex.tcl +++ b/rivet/packages/dio/pkgIndex.tcl @@ -12,11 +12,12 @@ package ifneeded DIO 1.1 [list source [file join $dir dio11.tcl]] package ifneeded DIO 1.2 [list source [file join $dir dio.tcl]] package ifneeded DIODisplay 1.0 [list source [file join $dir diodisplay.tcl]] package ifneeded dio::formatters 1.0 [list source [file join $dir formatters.tcl]] -package ifneeded dio_Mysql 0.4 [list source [file join $dir dio_Mysql.tcl]]\n[list source [file join $dir dio_Mysql04.tcl]] +package ifneeded dio_Mysql 0.4 [list source [file join $dir dio_Mysql04.tcl]] +package ifneeded dio_Mysql 1.2 [list source [file join $dir dio_Mysql.tcl]] package ifneeded dio_Oracle 0.1 [list source [file join $dir dio_Oracle01.tcl]] -package ifneeded dio_Oracle 0.3 [list source [file join $dir dio_Oracle.tcl]] +package ifneeded dio_Oracle 1.2 [list source [file join $dir dio_Oracle.tcl]] package ifneeded dio_Postgresql 0.1 [list source [file join $dir dio_Postgresql01.tcl]] -package ifneeded dio_Postgresql 0.2 [list source [file join $dir dio_Postgresql.tcl]] +package ifneeded dio_Postgresql 1.2 [list source [file join $dir dio_Postgresql.tcl]] package ifneeded dio_Sqlite 0.1 [list source [file join $dir dio_Sqlite01.tcl]] -package ifneeded dio_Sqlite 0.2 [list source [file join $dir dio_Sqlite.tcl]] +package ifneeded dio_Sqlite 1.2 [list source [file join $dir dio_Sqlite.tcl]] package ifneeded dio_Tdbc 0.2 [list source [file join $dir dio_Tdbc.tcl]] --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@tcl.apache.org For additional commands, e-mail: commits-h...@tcl.apache.org