CVS commit: src/external/public-domain/sqlite

2024-03-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Mar  1 15:48:03 UTC 2024

Modified Files:
src/external/public-domain/sqlite: README
src/external/public-domain/sqlite/dist: shell.c sqlite3.c
src/external/public-domain/sqlite/man: Makefile SQLITE_ACCESS_EXISTS.3
SQLITE_CHANGESETAPPLY_NOSAVEPOINT.3 SQLITE_CHANGESETSTART_INVERT.3
SQLITE_CHANGESET_DATA.3 SQLITE_CHANGESET_OMIT.3
SQLITE_CHECKPOINT_PASSIVE.3 SQLITE_CONFIG_SINGLETHREAD.3
SQLITE_CREATE_INDEX.3 SQLITE_DBCONFIG_MAINDBNAME.3
SQLITE_DBSTATUS_LOOKASIDE_USED.3 SQLITE_DENY.3
SQLITE_DESERIALIZE_FREEONCLOSE.3 SQLITE_DETERMINISTIC.3
SQLITE_ERROR_MISSING_COLLSEQ.3 SQLITE_FCNTL_LOCKSTATE.3
SQLITE_INDEX_CONSTRAINT_EQ.3 SQLITE_INDEX_SCAN_UNIQUE.3
SQLITE_INTEGER.3 SQLITE_IOCAP_ATOMIC.3 SQLITE_LIMIT_LENGTH.3
SQLITE_LOCK_NONE.3 SQLITE_MUTEX_FAST.3 SQLITE_OK.3
SQLITE_OPEN_READONLY.3 SQLITE_PREPARE_PERSISTENT.3
SQLITE_ROLLBACK.3 SQLITE_SCANSTAT_COMPLEX.3 SQLITE_SCANSTAT_NLOOP.3
SQLITE_SERIALIZE_NOCOPY.3 SQLITE_SESSION_CONFIG_STRMSIZE.3
SQLITE_SESSION_OBJCONFIG_SIZE.3 SQLITE_SHM_NLOCK.3
SQLITE_SHM_UNLOCK.3 SQLITE_STATUS_MEMORY_USED.3
SQLITE_STMTSTATUS_FULLSCAN_STEP.3 SQLITE_SYNC_NORMAL.3
SQLITE_TESTCTRL_FIRST.3 SQLITE_TRACE_STMT.3 SQLITE_TXN_NONE.3
SQLITE_UTF8.3 SQLITE_VERSION.3 SQLITE_VTAB_CONSTRAINT_SUPPORT.3
SQLITE_WIN32_DATA_DIRECTORY_TYPE.3 sqlite3.3
sqlite3_aggregate_context.3 sqlite3_aggregate_count.3
sqlite3_api_routines.3 sqlite3_auto_extension.3
sqlite3_autovacuum_pages.3 sqlite3_backup.3 sqlite3_backup_init.3
sqlite3_bind_blob.3 sqlite3_bind_parameter_count.3
sqlite3_bind_parameter_index.3 sqlite3_bind_parameter_name.3
sqlite3_blob.3 sqlite3_blob_bytes.3 sqlite3_blob_close.3
sqlite3_blob_open.3 sqlite3_blob_read.3 sqlite3_blob_reopen.3
sqlite3_blob_write.3 sqlite3_busy_handler.3 sqlite3_busy_timeout.3
sqlite3_cancel_auto_extension.3 sqlite3_changegroup.3
sqlite3_changes.3 sqlite3_changeset_iter.3 sqlite3_clear_bindings.3
sqlite3_close.3 sqlite3_collation_needed.3 sqlite3_column_blob.3
sqlite3_column_count.3 sqlite3_column_database_name.3
sqlite3_column_decltype.3 sqlite3_column_name.3
sqlite3_commit_hook.3 sqlite3_compileoption_used.3
sqlite3_complete.3 sqlite3_config.3 sqlite3_context.3
sqlite3_context_db_handle.3 sqlite3_create_collation.3
sqlite3_create_filename.3 sqlite3_create_function.3
sqlite3_create_module.3 sqlite3_data_count.3
sqlite3_data_directory.3 sqlite3_database_file_object.3
sqlite3_db_cacheflush.3 sqlite3_db_config.3 sqlite3_db_filename.3
sqlite3_db_handle.3 sqlite3_db_mutex.3 sqlite3_db_name.3
sqlite3_db_readonly.3 sqlite3_db_release_memory.3
sqlite3_db_status.3 sqlite3_declare_vtab.3 sqlite3_deserialize.3
sqlite3_destructor_type.3 sqlite3_drop_modules.3
sqlite3_enable_load_extension.3 sqlite3_enable_shared_cache.3
sqlite3_errcode.3 sqlite3_exec.3 sqlite3_extended_result_codes.3
sqlite3_file.3 sqlite3_file_control.3 sqlite3_filename.3
sqlite3_filename_database.3 sqlite3_finalize.3
sqlite3_get_autocommit.3 sqlite3_get_auxdata.3 sqlite3_get_table.3
sqlite3_index_info.3 sqlite3_initialize.3 sqlite3_interrupt.3
sqlite3_io_methods.3 sqlite3_keyword_count.3
sqlite3_last_insert_rowid.3 sqlite3_limit.3
sqlite3_load_extension.3 sqlite3_log.3 sqlite3_malloc.3
sqlite3_mem_methods.3 sqlite3_memory_used.3 sqlite3_module.3
sqlite3_mprintf.3 sqlite3_mutex.3 sqlite3_mutex_alloc.3
sqlite3_mutex_held.3 sqlite3_mutex_methods.3 sqlite3_next_stmt.3
sqlite3_open.3 sqlite3_overload_function.3 sqlite3_pcache.3
sqlite3_pcache_methods2.3 sqlite3_pcache_page.3 sqlite3_prepare.3
sqlite3_preupdate_hook.3 sqlite3_progress_handler.3
sqlite3_randomness.3 sqlite3_rebaser.3 sqlite3_release_memory.3
sqlite3_reset.3 sqlite3_reset_auto_extension.3
sqlite3_result_blob.3 sqlite3_result_subtype.3 sqlite3_serialize.3
sqlite3_session.3 sqlite3_set_authorizer.3
sqlite3_set_last_insert_rowid.3 sqlite3_sleep.3 sqlite3_snapshot.3
sqlite3_snapshot_cmp.3 sqlite3_snapshot_free.3
sqlite3_snapshot_get.3 sqlite3_snapshot_open.3
sqlite3_snapshot_recover.3 sqlite3_soft_heap_limit.3
sqlite3_soft_heap_limit64.3 sqlite3_sql.3 sqlite3_status.3
sqlite3_step.3 sqlite3_stmt.3 sqlite3_stmt_busy.3
sqlite3_stmt_explain.3 sqlite3_stmt_isexplain.3

CVS commit: src/external/public-domain/sqlite

2024-03-01 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Mar  1 15:48:03 UTC 2024

Modified Files:
src/external/public-domain/sqlite: README
src/external/public-domain/sqlite/dist: shell.c sqlite3.c
src/external/public-domain/sqlite/man: Makefile SQLITE_ACCESS_EXISTS.3
SQLITE_CHANGESETAPPLY_NOSAVEPOINT.3 SQLITE_CHANGESETSTART_INVERT.3
SQLITE_CHANGESET_DATA.3 SQLITE_CHANGESET_OMIT.3
SQLITE_CHECKPOINT_PASSIVE.3 SQLITE_CONFIG_SINGLETHREAD.3
SQLITE_CREATE_INDEX.3 SQLITE_DBCONFIG_MAINDBNAME.3
SQLITE_DBSTATUS_LOOKASIDE_USED.3 SQLITE_DENY.3
SQLITE_DESERIALIZE_FREEONCLOSE.3 SQLITE_DETERMINISTIC.3
SQLITE_ERROR_MISSING_COLLSEQ.3 SQLITE_FCNTL_LOCKSTATE.3
SQLITE_INDEX_CONSTRAINT_EQ.3 SQLITE_INDEX_SCAN_UNIQUE.3
SQLITE_INTEGER.3 SQLITE_IOCAP_ATOMIC.3 SQLITE_LIMIT_LENGTH.3
SQLITE_LOCK_NONE.3 SQLITE_MUTEX_FAST.3 SQLITE_OK.3
SQLITE_OPEN_READONLY.3 SQLITE_PREPARE_PERSISTENT.3
SQLITE_ROLLBACK.3 SQLITE_SCANSTAT_COMPLEX.3 SQLITE_SCANSTAT_NLOOP.3
SQLITE_SERIALIZE_NOCOPY.3 SQLITE_SESSION_CONFIG_STRMSIZE.3
SQLITE_SESSION_OBJCONFIG_SIZE.3 SQLITE_SHM_NLOCK.3
SQLITE_SHM_UNLOCK.3 SQLITE_STATUS_MEMORY_USED.3
SQLITE_STMTSTATUS_FULLSCAN_STEP.3 SQLITE_SYNC_NORMAL.3
SQLITE_TESTCTRL_FIRST.3 SQLITE_TRACE_STMT.3 SQLITE_TXN_NONE.3
SQLITE_UTF8.3 SQLITE_VERSION.3 SQLITE_VTAB_CONSTRAINT_SUPPORT.3
SQLITE_WIN32_DATA_DIRECTORY_TYPE.3 sqlite3.3
sqlite3_aggregate_context.3 sqlite3_aggregate_count.3
sqlite3_api_routines.3 sqlite3_auto_extension.3
sqlite3_autovacuum_pages.3 sqlite3_backup.3 sqlite3_backup_init.3
sqlite3_bind_blob.3 sqlite3_bind_parameter_count.3
sqlite3_bind_parameter_index.3 sqlite3_bind_parameter_name.3
sqlite3_blob.3 sqlite3_blob_bytes.3 sqlite3_blob_close.3
sqlite3_blob_open.3 sqlite3_blob_read.3 sqlite3_blob_reopen.3
sqlite3_blob_write.3 sqlite3_busy_handler.3 sqlite3_busy_timeout.3
sqlite3_cancel_auto_extension.3 sqlite3_changegroup.3
sqlite3_changes.3 sqlite3_changeset_iter.3 sqlite3_clear_bindings.3
sqlite3_close.3 sqlite3_collation_needed.3 sqlite3_column_blob.3
sqlite3_column_count.3 sqlite3_column_database_name.3
sqlite3_column_decltype.3 sqlite3_column_name.3
sqlite3_commit_hook.3 sqlite3_compileoption_used.3
sqlite3_complete.3 sqlite3_config.3 sqlite3_context.3
sqlite3_context_db_handle.3 sqlite3_create_collation.3
sqlite3_create_filename.3 sqlite3_create_function.3
sqlite3_create_module.3 sqlite3_data_count.3
sqlite3_data_directory.3 sqlite3_database_file_object.3
sqlite3_db_cacheflush.3 sqlite3_db_config.3 sqlite3_db_filename.3
sqlite3_db_handle.3 sqlite3_db_mutex.3 sqlite3_db_name.3
sqlite3_db_readonly.3 sqlite3_db_release_memory.3
sqlite3_db_status.3 sqlite3_declare_vtab.3 sqlite3_deserialize.3
sqlite3_destructor_type.3 sqlite3_drop_modules.3
sqlite3_enable_load_extension.3 sqlite3_enable_shared_cache.3
sqlite3_errcode.3 sqlite3_exec.3 sqlite3_extended_result_codes.3
sqlite3_file.3 sqlite3_file_control.3 sqlite3_filename.3
sqlite3_filename_database.3 sqlite3_finalize.3
sqlite3_get_autocommit.3 sqlite3_get_auxdata.3 sqlite3_get_table.3
sqlite3_index_info.3 sqlite3_initialize.3 sqlite3_interrupt.3
sqlite3_io_methods.3 sqlite3_keyword_count.3
sqlite3_last_insert_rowid.3 sqlite3_limit.3
sqlite3_load_extension.3 sqlite3_log.3 sqlite3_malloc.3
sqlite3_mem_methods.3 sqlite3_memory_used.3 sqlite3_module.3
sqlite3_mprintf.3 sqlite3_mutex.3 sqlite3_mutex_alloc.3
sqlite3_mutex_held.3 sqlite3_mutex_methods.3 sqlite3_next_stmt.3
sqlite3_open.3 sqlite3_overload_function.3 sqlite3_pcache.3
sqlite3_pcache_methods2.3 sqlite3_pcache_page.3 sqlite3_prepare.3
sqlite3_preupdate_hook.3 sqlite3_progress_handler.3
sqlite3_randomness.3 sqlite3_rebaser.3 sqlite3_release_memory.3
sqlite3_reset.3 sqlite3_reset_auto_extension.3
sqlite3_result_blob.3 sqlite3_result_subtype.3 sqlite3_serialize.3
sqlite3_session.3 sqlite3_set_authorizer.3
sqlite3_set_last_insert_rowid.3 sqlite3_sleep.3 sqlite3_snapshot.3
sqlite3_snapshot_cmp.3 sqlite3_snapshot_free.3
sqlite3_snapshot_get.3 sqlite3_snapshot_open.3
sqlite3_snapshot_recover.3 sqlite3_soft_heap_limit.3
sqlite3_soft_heap_limit64.3 sqlite3_sql.3 sqlite3_status.3
sqlite3_step.3 sqlite3_stmt.3 sqlite3_stmt_busy.3
sqlite3_stmt_explain.3 sqlite3_stmt_isexplain.3

CVS commit: src/external/public-domain/sqlite/lib

2023-09-12 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep 12 22:11:08 UTC 2023

Modified Files:
src/external/public-domain/sqlite/lib: Makefile

Log Message:
sqlite: re-enable lint

Since  1.26, the 'assert' macro expands to the same text,
whether in lint mode or not.

Defining the NDEBUG macro was redundant, as it is conditionally defined
depending on SQLITE_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/lib/Makefile
diff -u src/external/public-domain/sqlite/lib/Makefile:1.18 src/external/public-domain/sqlite/lib/Makefile:1.19
--- src/external/public-domain/sqlite/lib/Makefile:1.18	Mon Sep  4 17:05:25 2023
+++ src/external/public-domain/sqlite/lib/Makefile	Tue Sep 12 22:11:08 2023
@@ -1,14 +1,11 @@
-# $NetBSD: Makefile,v 1.18 2023/09/04 17:05:25 christos Exp $
+# $NetBSD: Makefile,v 1.19 2023/09/12 22:11:08 rillig Exp $
 
-NOLINT=yes	# XXX: broken
 LIB=		sqlite3
 INCS=		sqlite3.h sqlite3ext.h
 INCSDIR=	/usr/include
 
 SRCS=		sqlite3.c
 
-CFLAGS+=	-DNDEBUG
-
 LDADD+=		-lm
 DPADD+=		${LIBM}
 



CVS commit: src/external/public-domain/sqlite/lib

2023-09-12 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Sep 12 22:11:08 UTC 2023

Modified Files:
src/external/public-domain/sqlite/lib: Makefile

Log Message:
sqlite: re-enable lint

Since  1.26, the 'assert' macro expands to the same text,
whether in lint mode or not.

Defining the NDEBUG macro was redundant, as it is conditionally defined
depending on SQLITE_DEBUG.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/public-domain/sqlite/dist

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 23:55:54 UTC 2023

Modified Files:
src/external/public-domain/sqlite/dist: sqlite3.c

Log Message:
fix the vax build. we could do better by choosing larger exponents.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/public-domain/sqlite/dist/sqlite3.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/dist/sqlite3.c
diff -u src/external/public-domain/sqlite/dist/sqlite3.c:1.21 src/external/public-domain/sqlite/dist/sqlite3.c:1.22
--- src/external/public-domain/sqlite/dist/sqlite3.c:1.21	Mon Sep  4 13:05:24 2023
+++ src/external/public-domain/sqlite/dist/sqlite3.c	Mon Sep  4 19:55:53 2023
@@ -34785,7 +34785,7 @@ do_atof_calc:
 
   if( e==0 ){
 *pResult = s;
-  }else
+  }else 
 #ifndef __vax__
   if( sqlite3Config.bUseLongDouble ){
 LONGDOUBLE_TYPE r = (LONGDOUBLE_TYPE)s;
@@ -34844,6 +34844,7 @@ do_atof_calc:
 *pResult = rr[0]+rr[1];
 if( sqlite3IsNaN(*pResult) ) *pResult = 1e300*1e300;
 #else
+  {
 LONGDOUBLE_TYPE scale = 1;
 /* 1.0e+22 is the largest power of 10 than can be 
 ** represented exactly. */
@@ -35205,11 +35206,15 @@ SQLITE_PRIVATE void sqlite3FpDecode(FpDe
   if( sqlite3Config.bUseLongDouble ){
 LONGDOUBLE_TYPE rr = r;
 if( rr>=1.0e+19 ){
+#ifndef __vax__
   while( rr>=1.0e+119L ){ exp+=100; rr *= 1.0e-100L; }
+#endif
   while( rr>=1.0e+29L  ){ exp+=10;  rr *= 1.0e-10L;  }
   while( rr>=1.0e+19L  ){ exp++;rr *= 1.0e-1L;   }
 }else{
+#ifndef __vax__
   while( rr<1.0e-97L   ){ exp-=100; rr *= 1.0e+100L; }
+#endif
   while( rr<1.0e+07L   ){ exp-=10;  rr *= 1.0e+10L;  }
   while( rr<1.0e+17L   ){ exp--;rr *= 1.0e+1L;   }
 }
@@ -35228,10 +35233,12 @@ SQLITE_PRIVATE void sqlite3FpDecode(FpDe
 rr[0] = r;
 rr[1] = 0.0;
 if( rr[0]>1.84e+19 ){
+#ifndef __vax__
   while( rr[0]>1.84e+119 ){
 exp += 100;
 dekkerMul2(rr, 1.0e-100, -1.99918998026028836196e-117);
   }
+#endif
   while( rr[0]>1.84e+29 ){
 exp += 10;
 dekkerMul2(rr, 1.0e-10, -3.6432197315497741579e-27);
@@ -35241,10 +35248,12 @@ SQLITE_PRIVATE void sqlite3FpDecode(FpDe
 dekkerMul2(rr, 1.0e-01, -5.5511151231257827021e-18);
   }
 }else{
+#ifndef __vax__
   while( rr[0]<1.84e-82  ){
 exp -= 100;
 dekkerMul2(rr, 1.0e+100, -1.5902891109759918046e+83);
   }
+#endif
   while( rr[0]<1.84e+08  ){
 exp -= 10;
 dekkerMul2(rr, 1.0e+10, 0.0);



CVS commit: src/external/public-domain/sqlite/dist

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 23:55:54 UTC 2023

Modified Files:
src/external/public-domain/sqlite/dist: sqlite3.c

Log Message:
fix the vax build. we could do better by choosing larger exponents.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/external/public-domain/sqlite/dist/sqlite3.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/public-domain/sqlite/man

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 23:17:24 UTC 2023

Modified Files:
src/external/public-domain/sqlite/man: Makefile

Log Message:
more new man pages


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/public-domain/sqlite/man/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/public-domain/sqlite/man

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 23:17:24 UTC 2023

Modified Files:
src/external/public-domain/sqlite/man: Makefile

Log Message:
more new man pages


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/public-domain/sqlite/man/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/man/Makefile
diff -u src/external/public-domain/sqlite/man/Makefile:1.5 src/external/public-domain/sqlite/man/Makefile:1.6
--- src/external/public-domain/sqlite/man/Makefile:1.5	Mon Sep  4 16:52:44 2023
+++ src/external/public-domain/sqlite/man/Makefile	Mon Sep  4 19:17:24 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.5 2023/09/04 20:52:44 christos Exp $
+#	$NetBSD: Makefile,v 1.6 2023/09/04 23:17:24 christos Exp $
 
 .include 
 
@@ -31,9 +31,11 @@ SQLITE_OK.3 \
 SQLITE_OPEN_READONLY.3 \
 SQLITE_PREPARE_PERSISTENT.3 \
 SQLITE_ROLLBACK.3 \
+SQLITE_SCANSTAT_COMPLEX.3 \
 SQLITE_SCANSTAT_NLOOP.3 \
 SQLITE_SERIALIZE_NOCOPY.3 \
 SQLITE_SESSION_CONFIG_STRMSIZE.3 \
+SQLITE_SESSION_OBJCONFIG_SIZE.3 \
 SQLITE_SHM_NLOCK.3 \
 SQLITE_SHM_UNLOCK.3 \
 SQLITE_STATUS_MEMORY_USED.3 \
@@ -41,6 +43,7 @@ SQLITE_STMTSTATUS_FULLSCAN_STEP.3 \
 SQLITE_SYNC_NORMAL.3 \
 SQLITE_TESTCTRL_FIRST.3 \
 SQLITE_TRACE_STMT.3 \
+SQLITE_TXN_NONE.3 \
 SQLITE_UTF8.3 \
 SQLITE_VERSION.3 \
 SQLITE_VTAB_CONSTRAINT_SUPPORT.3 \
@@ -50,6 +53,7 @@ sqlite3_aggregate_context.3 \
 sqlite3_aggregate_count.3 \
 sqlite3_api_routines.3 \
 sqlite3_auto_extension.3 \
+sqlite3_autovacuum_pages.3 \
 sqlite3_backup.3 \
 sqlite3_backup_init.3 \
 sqlite3_bind_blob.3 \
@@ -84,21 +88,25 @@ sqlite3_config.3 \
 sqlite3_context.3 \
 sqlite3_context_db_handle.3 \
 sqlite3_create_collation.3 \
+sqlite3_create_filename.3 \
 sqlite3_create_function.3 \
 sqlite3_create_module.3 \
 sqlite3_data_count.3 \
 sqlite3_data_directory.3 \
+sqlite3_database_file_object.3 \
 sqlite3_db_cacheflush.3 \
 sqlite3_db_config.3 \
 sqlite3_db_filename.3 \
 sqlite3_db_handle.3 \
 sqlite3_db_mutex.3 \
+sqlite3_db_name.3 \
 sqlite3_db_readonly.3 \
 sqlite3_db_release_memory.3 \
 sqlite3_db_status.3 \
 sqlite3_declare_vtab.3 \
 sqlite3_deserialize.3 \
 sqlite3_destructor_type.3 \
+sqlite3_drop_modules.3 \
 sqlite3_enable_load_extension.3 \
 sqlite3_enable_shared_cache.3 \
 sqlite3_errcode.3 \
@@ -106,6 +114,8 @@ sqlite3_exec.3 \
 sqlite3_extended_result_codes.3 \
 sqlite3_file.3 \
 sqlite3_file_control.3 \
+sqlite3_filename.3 \
+sqlite3_filename_database.3 \
 sqlite3_finalize.3 \
 sqlite3_get_autocommit.3 \
 sqlite3_get_auxdata.3 \
@@ -162,6 +172,8 @@ sqlite3_status.3 \
 sqlite3_step.3 \
 sqlite3_stmt.3 \
 sqlite3_stmt_busy.3 \
+sqlite3_stmt_explain.3 \
+sqlite3_stmt_isexplain.3 \
 sqlite3_stmt_readonly.3 \
 sqlite3_stmt_scanstatus.3 \
 sqlite3_stmt_scanstatus_reset.3 \
@@ -182,6 +194,7 @@ sqlite3_threadsafe.3 \
 sqlite3_total_changes.3 \
 sqlite3_trace.3 \
 sqlite3_trace_v2.3 \
+sqlite3_txn_state.3 \
 sqlite3_unlock_notify.3 \
 sqlite3_update_hook.3 \
 sqlite3_uri_parameter.3 \
@@ -189,6 +202,7 @@ sqlite3_user_data.3 \
 sqlite3_value.3 \
 sqlite3_value_blob.3 \
 sqlite3_value_dup.3 \
+sqlite3_value_encoding.3 \
 sqlite3_value_subtype.3 \
 sqlite3_version.3 \
 sqlite3_vfs.3 \
@@ -197,8 +211,12 @@ sqlite3_vtab.3 \
 sqlite3_vtab_collation.3 \
 sqlite3_vtab_config.3 \
 sqlite3_vtab_cursor.3 \
+sqlite3_vtab_distinct.3 \
+sqlite3_vtab_in.3 \
+sqlite3_vtab_in_first.3 \
 sqlite3_vtab_nochange.3 \
 sqlite3_vtab_on_conflict.3 \
+sqlite3_vtab_rhs_value.3 \
 sqlite3_wal_autocheckpoint.3 \
 sqlite3_wal_checkpoint.3 \
 sqlite3_wal_checkpoint_v2.3 \
@@ -227,6 +245,7 @@ sqlite3rebaser_delete.3 \
 sqlite3rebaser_rebase.3 \
 sqlite3session_attach.3 \
 sqlite3session_changeset.3 \
+sqlite3session_changeset_size.3 \
 sqlite3session_config.3 \
 sqlite3session_create.3 \
 sqlite3session_delete.3 \



CVS commit: src/external/public-domain/sqlite/man

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 20:52:44 UTC 2023

Modified Files:
src/external/public-domain/sqlite/man: Makefile

Log Message:
2 more pages


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/public-domain/sqlite/man/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/man/Makefile
diff -u src/external/public-domain/sqlite/man/Makefile:1.4 src/external/public-domain/sqlite/man/Makefile:1.5
--- src/external/public-domain/sqlite/man/Makefile:1.4	Wed Dec 19 17:21:13 2018
+++ src/external/public-domain/sqlite/man/Makefile	Mon Sep  4 16:52:44 2023
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.4 2018/12/19 22:21:13 christos Exp $
+#	$NetBSD: Makefile,v 1.5 2023/09/04 20:52:44 christos Exp $
 
 .include 
 
@@ -234,6 +234,8 @@ sqlite3session_diff.3 \
 sqlite3session_enable.3 \
 sqlite3session_indirect.3 \
 sqlite3session_isempty.3 \
+sqlite3session_memory_used.3 \
+sqlite3session_object_config.3 \
 sqlite3session_patchset.3 \
 sqlite3session_table_filter.3 \
 sqlite_int64.3



CVS commit: src/external/public-domain/sqlite/man

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 20:52:44 UTC 2023

Modified Files:
src/external/public-domain/sqlite/man: Makefile

Log Message:
2 more pages


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/public-domain/sqlite/man/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/public-domain/sqlite

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 17:05:26 UTC 2023

Modified Files:
src/external/public-domain/sqlite/dist: shell.c sqlite3.c
src/external/public-domain/sqlite/lib: Makefile shlib_version
src/external/public-domain/sqlite/man: SQLITE_ACCESS_EXISTS.3
SQLITE_CHANGESETAPPLY_NOSAVEPOINT.3 SQLITE_CHANGESETSTART_INVERT.3
SQLITE_CHANGESET_DATA.3 SQLITE_CHANGESET_OMIT.3
SQLITE_CHECKPOINT_PASSIVE.3 SQLITE_CONFIG_SINGLETHREAD.3
SQLITE_CREATE_INDEX.3 SQLITE_DBCONFIG_MAINDBNAME.3
SQLITE_DBSTATUS_LOOKASIDE_USED.3 SQLITE_DENY.3
SQLITE_DESERIALIZE_FREEONCLOSE.3 SQLITE_DETERMINISTIC.3
SQLITE_ERROR_MISSING_COLLSEQ.3 SQLITE_FCNTL_LOCKSTATE.3
SQLITE_INDEX_CONSTRAINT_EQ.3 SQLITE_INDEX_SCAN_UNIQUE.3
SQLITE_INTEGER.3 SQLITE_IOCAP_ATOMIC.3 SQLITE_LIMIT_LENGTH.3
SQLITE_LOCK_NONE.3 SQLITE_MUTEX_FAST.3 SQLITE_OK.3
SQLITE_OPEN_READONLY.3 SQLITE_PREPARE_PERSISTENT.3
SQLITE_ROLLBACK.3 SQLITE_SCANSTAT_NLOOP.3 SQLITE_SERIALIZE_NOCOPY.3
SQLITE_SESSION_CONFIG_STRMSIZE.3 SQLITE_SHM_NLOCK.3
SQLITE_SHM_UNLOCK.3 SQLITE_STATUS_MEMORY_USED.3
SQLITE_STMTSTATUS_FULLSCAN_STEP.3 SQLITE_SYNC_NORMAL.3
SQLITE_TESTCTRL_FIRST.3 SQLITE_TRACE_STMT.3 SQLITE_UTF8.3
SQLITE_VERSION.3 SQLITE_VTAB_CONSTRAINT_SUPPORT.3
SQLITE_WIN32_DATA_DIRECTORY_TYPE.3 sqlite3.3
sqlite3_aggregate_context.3 sqlite3_aggregate_count.3
sqlite3_api_routines.3 sqlite3_auto_extension.3 sqlite3_backup.3
sqlite3_backup_init.3 sqlite3_bind_blob.3
sqlite3_bind_parameter_count.3 sqlite3_bind_parameter_index.3
sqlite3_bind_parameter_name.3 sqlite3_blob.3 sqlite3_blob_bytes.3
sqlite3_blob_close.3 sqlite3_blob_open.3 sqlite3_blob_read.3
sqlite3_blob_reopen.3 sqlite3_blob_write.3 sqlite3_busy_handler.3
sqlite3_busy_timeout.3 sqlite3_cancel_auto_extension.3
sqlite3_changegroup.3 sqlite3_changes.3 sqlite3_changeset_iter.3
sqlite3_clear_bindings.3 sqlite3_close.3 sqlite3_collation_needed.3
sqlite3_column_blob.3 sqlite3_column_count.3
sqlite3_column_database_name.3 sqlite3_column_decltype.3
sqlite3_column_name.3 sqlite3_commit_hook.3
sqlite3_compileoption_used.3 sqlite3_complete.3 sqlite3_config.3
sqlite3_context.3 sqlite3_context_db_handle.3
sqlite3_create_collation.3 sqlite3_create_function.3
sqlite3_create_module.3 sqlite3_data_count.3
sqlite3_data_directory.3 sqlite3_db_cacheflush.3
sqlite3_db_config.3 sqlite3_db_filename.3 sqlite3_db_handle.3
sqlite3_db_mutex.3 sqlite3_db_readonly.3
sqlite3_db_release_memory.3 sqlite3_db_status.3
sqlite3_declare_vtab.3 sqlite3_deserialize.3
sqlite3_destructor_type.3 sqlite3_enable_load_extension.3
sqlite3_enable_shared_cache.3 sqlite3_errcode.3 sqlite3_exec.3
sqlite3_extended_result_codes.3 sqlite3_file.3
sqlite3_file_control.3 sqlite3_finalize.3 sqlite3_get_autocommit.3
sqlite3_get_auxdata.3 sqlite3_get_table.3 sqlite3_index_info.3
sqlite3_initialize.3 sqlite3_interrupt.3 sqlite3_io_methods.3
sqlite3_keyword_count.3 sqlite3_last_insert_rowid.3 sqlite3_limit.3
sqlite3_load_extension.3 sqlite3_log.3 sqlite3_malloc.3
sqlite3_mem_methods.3 sqlite3_memory_used.3 sqlite3_module.3
sqlite3_mprintf.3 sqlite3_mutex.3 sqlite3_mutex_alloc.3
sqlite3_mutex_held.3 sqlite3_mutex_methods.3 sqlite3_next_stmt.3
sqlite3_open.3 sqlite3_overload_function.3 sqlite3_pcache.3
sqlite3_pcache_methods2.3 sqlite3_pcache_page.3 sqlite3_prepare.3
sqlite3_preupdate_hook.3 sqlite3_progress_handler.3
sqlite3_randomness.3 sqlite3_rebaser.3 sqlite3_release_memory.3
sqlite3_reset.3 sqlite3_reset_auto_extension.3
sqlite3_result_blob.3 sqlite3_result_subtype.3 sqlite3_serialize.3
sqlite3_session.3 sqlite3_set_authorizer.3
sqlite3_set_last_insert_rowid.3 sqlite3_sleep.3 sqlite3_snapshot.3
sqlite3_snapshot_cmp.3 sqlite3_snapshot_free.3
sqlite3_snapshot_get.3 sqlite3_snapshot_open.3
sqlite3_snapshot_recover.3 sqlite3_soft_heap_limit.3
sqlite3_soft_heap_limit64.3 sqlite3_sql.3 sqlite3_status.3
sqlite3_step.3 sqlite3_stmt.3 sqlite3_stmt_busy.3
sqlite3_stmt_readonly.3 sqlite3_stmt_scanstatus.3
sqlite3_stmt_scanstatus_reset.3 sqlite3_stmt_status.3 sqlite3_str.3
sqlite3_str_appendf.3 sqlite3_str_errcode.3 sqlite3_str_finish.3
sqlite3_str_new.3 sqlite3_strglob.3 sqlite3_stricmp.3
sqlite3_strlike.3 sqlite3_system_errno.3
   

CVS commit: src/external/public-domain/sqlite

2023-09-04 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Mon Sep  4 17:05:26 UTC 2023

Modified Files:
src/external/public-domain/sqlite/dist: shell.c sqlite3.c
src/external/public-domain/sqlite/lib: Makefile shlib_version
src/external/public-domain/sqlite/man: SQLITE_ACCESS_EXISTS.3
SQLITE_CHANGESETAPPLY_NOSAVEPOINT.3 SQLITE_CHANGESETSTART_INVERT.3
SQLITE_CHANGESET_DATA.3 SQLITE_CHANGESET_OMIT.3
SQLITE_CHECKPOINT_PASSIVE.3 SQLITE_CONFIG_SINGLETHREAD.3
SQLITE_CREATE_INDEX.3 SQLITE_DBCONFIG_MAINDBNAME.3
SQLITE_DBSTATUS_LOOKASIDE_USED.3 SQLITE_DENY.3
SQLITE_DESERIALIZE_FREEONCLOSE.3 SQLITE_DETERMINISTIC.3
SQLITE_ERROR_MISSING_COLLSEQ.3 SQLITE_FCNTL_LOCKSTATE.3
SQLITE_INDEX_CONSTRAINT_EQ.3 SQLITE_INDEX_SCAN_UNIQUE.3
SQLITE_INTEGER.3 SQLITE_IOCAP_ATOMIC.3 SQLITE_LIMIT_LENGTH.3
SQLITE_LOCK_NONE.3 SQLITE_MUTEX_FAST.3 SQLITE_OK.3
SQLITE_OPEN_READONLY.3 SQLITE_PREPARE_PERSISTENT.3
SQLITE_ROLLBACK.3 SQLITE_SCANSTAT_NLOOP.3 SQLITE_SERIALIZE_NOCOPY.3
SQLITE_SESSION_CONFIG_STRMSIZE.3 SQLITE_SHM_NLOCK.3
SQLITE_SHM_UNLOCK.3 SQLITE_STATUS_MEMORY_USED.3
SQLITE_STMTSTATUS_FULLSCAN_STEP.3 SQLITE_SYNC_NORMAL.3
SQLITE_TESTCTRL_FIRST.3 SQLITE_TRACE_STMT.3 SQLITE_UTF8.3
SQLITE_VERSION.3 SQLITE_VTAB_CONSTRAINT_SUPPORT.3
SQLITE_WIN32_DATA_DIRECTORY_TYPE.3 sqlite3.3
sqlite3_aggregate_context.3 sqlite3_aggregate_count.3
sqlite3_api_routines.3 sqlite3_auto_extension.3 sqlite3_backup.3
sqlite3_backup_init.3 sqlite3_bind_blob.3
sqlite3_bind_parameter_count.3 sqlite3_bind_parameter_index.3
sqlite3_bind_parameter_name.3 sqlite3_blob.3 sqlite3_blob_bytes.3
sqlite3_blob_close.3 sqlite3_blob_open.3 sqlite3_blob_read.3
sqlite3_blob_reopen.3 sqlite3_blob_write.3 sqlite3_busy_handler.3
sqlite3_busy_timeout.3 sqlite3_cancel_auto_extension.3
sqlite3_changegroup.3 sqlite3_changes.3 sqlite3_changeset_iter.3
sqlite3_clear_bindings.3 sqlite3_close.3 sqlite3_collation_needed.3
sqlite3_column_blob.3 sqlite3_column_count.3
sqlite3_column_database_name.3 sqlite3_column_decltype.3
sqlite3_column_name.3 sqlite3_commit_hook.3
sqlite3_compileoption_used.3 sqlite3_complete.3 sqlite3_config.3
sqlite3_context.3 sqlite3_context_db_handle.3
sqlite3_create_collation.3 sqlite3_create_function.3
sqlite3_create_module.3 sqlite3_data_count.3
sqlite3_data_directory.3 sqlite3_db_cacheflush.3
sqlite3_db_config.3 sqlite3_db_filename.3 sqlite3_db_handle.3
sqlite3_db_mutex.3 sqlite3_db_readonly.3
sqlite3_db_release_memory.3 sqlite3_db_status.3
sqlite3_declare_vtab.3 sqlite3_deserialize.3
sqlite3_destructor_type.3 sqlite3_enable_load_extension.3
sqlite3_enable_shared_cache.3 sqlite3_errcode.3 sqlite3_exec.3
sqlite3_extended_result_codes.3 sqlite3_file.3
sqlite3_file_control.3 sqlite3_finalize.3 sqlite3_get_autocommit.3
sqlite3_get_auxdata.3 sqlite3_get_table.3 sqlite3_index_info.3
sqlite3_initialize.3 sqlite3_interrupt.3 sqlite3_io_methods.3
sqlite3_keyword_count.3 sqlite3_last_insert_rowid.3 sqlite3_limit.3
sqlite3_load_extension.3 sqlite3_log.3 sqlite3_malloc.3
sqlite3_mem_methods.3 sqlite3_memory_used.3 sqlite3_module.3
sqlite3_mprintf.3 sqlite3_mutex.3 sqlite3_mutex_alloc.3
sqlite3_mutex_held.3 sqlite3_mutex_methods.3 sqlite3_next_stmt.3
sqlite3_open.3 sqlite3_overload_function.3 sqlite3_pcache.3
sqlite3_pcache_methods2.3 sqlite3_pcache_page.3 sqlite3_prepare.3
sqlite3_preupdate_hook.3 sqlite3_progress_handler.3
sqlite3_randomness.3 sqlite3_rebaser.3 sqlite3_release_memory.3
sqlite3_reset.3 sqlite3_reset_auto_extension.3
sqlite3_result_blob.3 sqlite3_result_subtype.3 sqlite3_serialize.3
sqlite3_session.3 sqlite3_set_authorizer.3
sqlite3_set_last_insert_rowid.3 sqlite3_sleep.3 sqlite3_snapshot.3
sqlite3_snapshot_cmp.3 sqlite3_snapshot_free.3
sqlite3_snapshot_get.3 sqlite3_snapshot_open.3
sqlite3_snapshot_recover.3 sqlite3_soft_heap_limit.3
sqlite3_soft_heap_limit64.3 sqlite3_sql.3 sqlite3_status.3
sqlite3_step.3 sqlite3_stmt.3 sqlite3_stmt_busy.3
sqlite3_stmt_readonly.3 sqlite3_stmt_scanstatus.3
sqlite3_stmt_scanstatus_reset.3 sqlite3_stmt_status.3 sqlite3_str.3
sqlite3_str_appendf.3 sqlite3_str_errcode.3 sqlite3_str_finish.3
sqlite3_str_new.3 sqlite3_strglob.3 sqlite3_stricmp.3
sqlite3_strlike.3 sqlite3_system_errno.3
   

CVS commit: src/external/public-domain/sqlite/lib

2023-08-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Aug  9 07:37:24 UTC 2023

Modified Files:
src/external/public-domain/sqlite/lib: Makefile

Log Message:
sqlite3/lib/Makefile: -Wno-error=restrict is a gccism.

Let's try to get at least one working clang autobuild this summer,
shall we?


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/lib/Makefile
diff -u src/external/public-domain/sqlite/lib/Makefile:1.16 src/external/public-domain/sqlite/lib/Makefile:1.17
--- src/external/public-domain/sqlite/lib/Makefile:1.16	Tue Aug  8 06:27:32 2023
+++ src/external/public-domain/sqlite/lib/Makefile	Wed Aug  9 07:37:23 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2023/08/08 06:27:32 mrg Exp $
+# $NetBSD: Makefile,v 1.17 2023/08/09 07:37:23 riastradh Exp $
 
 LIB=		sqlite3
 INCS=		sqlite3.h sqlite3ext.h
@@ -24,7 +24,7 @@ CWARNFLAGS.clang+=	-Wno-error=implicit-i
 COPTS.sqlite3.c+=	${CC_WNO_RETURN_LOCAL_ADDR} ${CC_WNO_STRINGOP_OVERFLOW}
 COPTS.sqlite3.c+=	${CC_WNO_ARRAY_BOUNDS}
 COPTS.sqlite3.c+=	-Wno-error=misleading-indentation
-COPTS.sqlite3.c+=	-Wno-error=restrict
+COPTS.sqlite3.c+=	${${ACTIVE_CC} == "gcc":? -Wno-error=restrict :}
 
 .include 
 



CVS commit: src/external/public-domain/sqlite/lib

2023-08-09 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Wed Aug  9 07:37:24 UTC 2023

Modified Files:
src/external/public-domain/sqlite/lib: Makefile

Log Message:
sqlite3/lib/Makefile: -Wno-error=restrict is a gccism.

Let's try to get at least one working clang autobuild this summer,
shall we?


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/public-domain/sqlite

2022-04-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Apr 19 22:40:45 UTC 2022

Modified Files:
src/external/public-domain/sqlite: Makefile.inc

Log Message:
sqlite: suppress a few lint warnings


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/public-domain/sqlite/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/Makefile.inc
diff -u src/external/public-domain/sqlite/Makefile.inc:1.11 src/external/public-domain/sqlite/Makefile.inc:1.12
--- src/external/public-domain/sqlite/Makefile.inc:1.11	Fri Feb  5 21:48:52 2021
+++ src/external/public-domain/sqlite/Makefile.inc	Tue Apr 19 22:40:45 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.11 2021/02/05 21:48:52 joerg Exp $
+# $NetBSD: Makefile.inc,v 1.12 2022/04/19 22:40:45 rillig Exp $
 
 WARNS=		2
 
@@ -29,3 +29,9 @@ CPPFLAGS+=	\
 		-DSQLITE_HAVE_ISNAN
 
 CWARNFLAGS+=	-Wno-shadow -Wno-unused
+
+LINTFLAGS+=	-X 117	# bitwise '>>' on signed value possibly nonportable
+LINTFLAGS+=	-X 161	# constant in conditional context
+LINTFLAGS+=	-X 220	# fallthrough on case statement
+LINTFLAGS+=	-X 247	# pointer cast from '%s' to '%s' may be troublesome
+LINTFLAGS+=	-X 275	# cast discards 'const' from type '%s'



CVS commit: src/external/public-domain/sqlite

2022-04-19 Thread Roland Illig
Module Name:src
Committed By:   rillig
Date:   Tue Apr 19 22:40:45 UTC 2022

Modified Files:
src/external/public-domain/sqlite: Makefile.inc

Log Message:
sqlite: suppress a few lint warnings


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/external/public-domain/sqlite/Makefile.inc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/public-domain/sqlite/lib

2019-06-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jun  1 10:58:12 UTC 2019

Modified Files:
src/external/public-domain/sqlite/lib: Makefile

Log Message:
remove no longer required ppc64 hack.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/external/public-domain/sqlite/lib

2019-06-01 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Sat Jun  1 10:58:12 UTC 2019

Modified Files:
src/external/public-domain/sqlite/lib: Makefile

Log Message:
remove no longer required ppc64 hack.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/public-domain/sqlite/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/public-domain/sqlite/lib/Makefile
diff -u src/external/public-domain/sqlite/lib/Makefile:1.8 src/external/public-domain/sqlite/lib/Makefile:1.9
--- src/external/public-domain/sqlite/lib/Makefile:1.8	Tue Oct  4 14:25:02 2016
+++ src/external/public-domain/sqlite/lib/Makefile	Sat Jun  1 10:58:12 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2016/10/04 14:25:02 christos Exp $
+# $NetBSD: Makefile,v 1.9 2019/06/01 10:58:12 mrg Exp $
 
 LIB=		sqlite3
 INCS=		sqlite3.h sqlite3ext.h
@@ -22,11 +22,6 @@ CLEANFILES+=sqlite3.pc
 CWARNFLAGS+=	-Wa,--warn
 .endif
 
-.if ${MACHINE_ARCH} == "powerpc64"
-# call to `' lacks nop, can't restore toc; recompile with -fPIC
-COPTS.sqlite3.c += -O0
-.endif
-
 .include 
 
 all: sqlite3.pc



re: CVS commit: src/external/public-domain/sqlite/lib

2014-03-07 Thread matthew green

Christos Zoulas writes:
 Module Name:  src
 Committed By: christos
 Date: Fri Mar  7 18:37:48 UTC 2014
 
 Modified Files:
   src/external/public-domain/sqlite/lib: Makefile
 
 Log Message:
 change CC to HOST_CC to avoid trying to find stdarg.h in an unpopulated
 DSTDIR.

won't this find the version of sqlite3.h on the host?
it seems saner to elide this rule in the case that say
!exists(${DESTDIR}/usr/include/stdarg.h) or something else
ugly, until you figure out why it is being executed in the
build too early.


.mrg.


Re: CVS commit: src/external/public-domain/sqlite/lib

2014-03-07 Thread David Laight
On Fri, Mar 07, 2014 at 07:28:09PM +, Christos Zoulas wrote:
 In article 12922.1394219...@splode.eterna.com.au,
 matthew green  m...@eterna.com.au wrote:
 
 Christos Zoulas writes:
  Module Name:   src
  Committed By:  christos
  Date:  Fri Mar  7 18:37:48 UTC 2014
  
  Modified Files:
 src/external/public-domain/sqlite/lib: Makefile
  
  Log Message:
  change CC to HOST_CC to avoid trying to find stdarg.h in an unpopulated
  DSTDIR.
 
 won't this find the version of sqlite3.h on the host?
 it seems saner to elide this rule in the case that say
 !exists(${DESTDIR}/usr/include/stdarg.h) or something else
 ugly, until you figure out why it is being executed in the
 build too early.
 
 No, because there is a -I pointing to the directory that contains it.

Think I'd do
sqlite3.pc: ${SRCDIR}/sqlite3.h sqlite3.pc.in
@(V=$$( (echo '#include sqlite3.h'; echo @@@ SQLITE_VERSION @@@) | \
   ${CC} -E -I${SRCDIR} - | tail -1 | tr -d '')  \
   ${HOST_CC} -E -I${SRCDIR} - | grep '@@@' | tr -d ' @')  \
   ${TOOL_SED} -e s/@VERSION@/$$V/  ${.CURDIR}/sqlite3.pc.in \
${.TARGET})

That would be safer.
Although you might want to remove the target file on failure.
Or maybe change the last line to:
${.TARGET}.tmp  mv ${.TARGET}.tmp ${.TARGET}

David

-- 
David Laight: da...@l8s.co.uk


Re: CVS commit: src/external/public-domain/sqlite/lib

2014-03-07 Thread Christos Zoulas
On Mar 7,  8:11pm, da...@l8s.co.uk (David Laight) wrote:
-- Subject: Re: CVS commit: src/external/public-domain/sqlite/lib

| Think I'd do
| sqlite3.pc: ${SRCDIR}/sqlite3.h sqlite3.pc.in
|   @(V=$$( (echo '#include sqlite3.h'; echo @@@ SQLITE_VERSION @@@) | \
|  ${CC} -E -I${SRCDIR} - | tail -1 | tr -d '')  \
|  ${HOST_CC} -E -I${SRCDIR} - | grep '@@@' | tr -d ' @')  \
|  ${TOOL_SED} -e s/@VERSION@/$$V/  ${.CURDIR}/sqlite3.pc.in \
|   ${.TARGET})
| 
| That would be safer.
| Although you might want to remove the target file on failure.
| Or maybe change the last line to:
|   ${.TARGET}.tmp  mv ${.TARGET}.tmp ${.TARGET}

Try it... I don't mind.

christos


Re: CVS commit: src/external/public-domain/sqlite/lib

2014-02-17 Thread Christos Zoulas
On Feb 17,  9:08pm, tsut...@ceres.dti.ne.jp (Izumi Tsutsui) wrote:
-- Subject: Re: CVS commit: src/external/public-domain/sqlite/lib

|  Module Name:src
|  Committed By:   christos
|  Date:   Sun Feb 16 18:16:35 UTC 2014
|  
|  Modified Files:
|  src/external/public-domain/sqlite/lib: shlib_version
|  
|  Log Message:
|  bump
| 
| src/external/public-domain/sqlite/lib/sqlite3.pc should also be bumped?

I'll check and fix it. Thanks!

christos


Re: CVS commit: src/external/public-domain/sqlite/dist

2012-12-16 Thread Joerg Sonnenberger
On Sun, Dec 16, 2012 at 03:04:19PM -0500, Christos Zoulas wrote:
 Module Name:  src
 Committed By: christos
 Date: Sun Dec 16 20:04:19 UTC 2012
 
 Update of /cvsroot/src/external/public-domain/sqlite/dist
 In directory ivanova.netbsd.org:/tmp/cvs-serv25378
 
 Log Message:
 from ubuntu-9.10
 
 Status:
 
 Vendor Tag:   SQLITE
 Release Tags: ubuntu-9-10
   
 N src/external/public-domain/sqlite/dist/sqlite3.1
 
 No conflicts created by this import

Can you please not add random crappy files with unclear license?

Joerg


Re: CVS commit: src/external/public-domain/sqlite/dist

2012-12-16 Thread Christos Zoulas
In article 20121216202507.ga21...@britannica.bec.de,
Joerg Sonnenberger  jo...@britannica.bec.de wrote:

Can you please not add random crappy files with unclear license?

Every other distribution that contains sqlite3 (including commercial ones
like MacOS/X), distributes this exact manpage, and we are going to be
different? What is unclear about:

  This manual page was originally written by Andreas Rottmann
  ro...@debian.org, for the Debian GNU/Linux system (but may be used by
  others). It was subsequently revised by Bill Bumgarner b...@mac.com.

If the license changes, we can always use this free copy or decide to remove
it.

christos



Re: CVS commit: src/external/public-domain/sqlite/dist

2012-12-16 Thread Joerg Sonnenberger
On Sun, Dec 16, 2012 at 08:42:41PM +, Christos Zoulas wrote:
 In article 20121216202507.ga21...@britannica.bec.de,
 Joerg Sonnenberger  jo...@britannica.bec.de wrote:
 
 Can you please not add random crappy files with unclear license?
 
 Every other distribution that contains sqlite3 (including commercial ones
 like MacOS/X), distributes this exact manpage, and we are going to be
 different? What is unclear about:
 
   This manual page was originally written by Andreas Rottmann
   ro...@debian.org, for the Debian GNU/Linux system (but may be used by
   others). It was subsequently revised by Bill Bumgarner b...@mac.com.

I would be surprised if any lawyer accepts that as a license...

The man page is next to useless. The only content that is not pretty
much CP from sqlite3 -help and .help is the part about the init file.
Seriously, in this form it is just a waste of space.

The other issue is that imports of the next version of sqlite3 are going
to drop it again as this is the same directory...

Joerg


Re: CVS commit: src/external/public-domain/sqlite/dist

2012-12-16 Thread Marc Balmer

Am 16.12.2012 um 21:44 schrieb Joerg Sonnenberger jo...@britannica.bec.de:

 On Sun, Dec 16, 2012 at 08:42:41PM +, Christos Zoulas wrote:
 In article 20121216202507.ga21...@britannica.bec.de,
 Joerg Sonnenberger  jo...@britannica.bec.de wrote:
 
 Can you please not add random crappy files with unclear license?
 
 Every other distribution that contains sqlite3 (including commercial ones
 like MacOS/X), distributes this exact manpage, and we are going to be
 different? What is unclear about:
 
  This manual page was originally written by Andreas Rottmann
  ro...@debian.org, for the Debian GNU/Linux system (but may be used by
  others). It was subsequently revised by Bill Bumgarner b...@mac.com.
 
 I would be surprised if any lawyer accepts that as a license...

Wo kein Kläger ist, braucht es auch keinen Richter.

I would be surprised if anyone sues anyone for using this man page.  I am not 
even sure if a descriptive text like this one falls under copyright law.  And 
even less sure if anyone would enforce it.
 
 
 The man page is next to useless. The only content that is not pretty
 much CP from sqlite3 -help and .help is the part about the init file.
 Seriously, in this form it is just a waste of space.
 
 The other issue is that imports of the next version of sqlite3 are going
 to drop it again as this is the same directory...
 
 Joerg


Freundliche Grüsse,
micro systems

Marc Balmer

--
Marc Balmer
micro systems, Wiesendamm 2a, Postfach, 4019 Basel
fon +41 61 383 05 10, fax +41 61 383 05 12, http://www.msys.ch/



Re: CVS commit: src/external/public-domain/sqlite/dist

2012-12-16 Thread Greg Troxel

chris...@astron.com (Christos Zoulas) writes:

 In article 20121216202507.ga21...@britannica.bec.de,
 Joerg Sonnenberger  jo...@britannica.bec.de wrote:

Can you please not add random crappy files with unclear license?

 Every other distribution that contains sqlite3 (including commercial ones
 like MacOS/X), distributes this exact manpage, and we are going to be
 different? What is unclear about:

   This manual page was originally written by Andreas Rottmann
   ro...@debian.org, for the Debian GNU/Linux system (but may be used by
   others). It was subsequently revised by Bill Bumgarner b...@mac.com.

 If the license changes, we can always use this free copy or decide to remove
 it.

That is indeed unclear.  No permission is given to copy, distribute or
create derivative works.  One can imply that it's intended to be a free
license because it was for Debian, and because Andreas is known to be an
entirely reasonable member of the free software community.  But that's
implication, not reading the text of a license that has been blessed by
OSI or FSF.

However, it is easy enough to write to the authors and ask for
permission under CC0 (as would be appropriate for sqlite) or some other
non-copyleft free license.


pgpuJib3ABv57.pgp
Description: PGP signature


Re: CVS commit: src/external/public-domain/sqlite/dist

2012-02-06 Thread Joerg Sonnenberger
On Sun, Feb 05, 2012 at 05:55:13PM +, Matt Thomas wrote:
 Module Name:  src
 Committed By: matt
 Date: Sun Feb  5 17:55:13 UTC 2012
 
 Modified Files:
   src/external/public-domain/sqlite/dist: sqlite3.c
 
 Log Message:
 Make this compilable by VAX GCC 4.5

The first chunk seems to be completely redundant, so please revert that
part.

Joerg


Re: CVS commit: src/external/public-domain/sqlite

2011-10-16 Thread Alistair Crooks
On Sun, Oct 16, 2011 at 05:24:50PM +, Joerg Sonnenberger wrote:
 Module Name:  src
 Committed By: joerg
 Date: Sun Oct 16 17:24:50 UTC 2011
 
 Modified Files:
   src/external/public-domain/sqlite: Makefile.inc
 
 Log Message:
 Build with -DSQLITE_ENABLE_FTS3_PARENTHESIS

pkgsrc sqlite3 also has an option for rtree - it would be nice to
build that into the version in src by default.  I'm not sure about the
pkgsrc icu option, but that would arguably be neat as well.

Best,
Alistair


Re: CVS commit: src/external/public-domain/sqlite

2011-10-16 Thread David Holland
On Sun, Oct 16, 2011 at 07:31:51PM +0200, Alistair Crooks wrote:
   Log Message:
   Build with -DSQLITE_ENABLE_FTS3_PARENTHESIS
  
  pkgsrc sqlite3 also has an option for rtree - it would be nice to
  build that into the version in src by default.  I'm not sure about the
  pkgsrc icu option, but that would arguably be neat as well.

icu is big. I don't think we want it in base unless we're really sure...

-- 
David A. Holland
dholl...@netbsd.org


Re: CVS commit: src/external/public-domain/sqlite

2011-10-16 Thread Alistair Crooks
On Sun, Oct 16, 2011 at 11:57:28PM +, David Holland wrote:
 On Sun, Oct 16, 2011 at 07:31:51PM +0200, Alistair Crooks wrote:
Log Message:
Build with -DSQLITE_ENABLE_FTS3_PARENTHESIS
   
   pkgsrc sqlite3 also has an option for rtree - it would be nice to
   build that into the version in src by default.  I'm not sure about the
   pkgsrc icu option, but that would arguably be neat as well.
 
 icu is big. I don't think we want it in base unless we're really sure...

Yup, hence the arguably.  But rtrees are much lighterweight, involve
no external libraries, and would be nice to have.

Regards,
Alistair


Re: CVS commit: src/external/public-domain/sqlite

2011-10-16 Thread Joerg Sonnenberger
On Sun, Oct 16, 2011 at 07:31:51PM +0200, Alistair Crooks wrote:
 On Sun, Oct 16, 2011 at 05:24:50PM +, Joerg Sonnenberger wrote:
  Module Name:src
  Committed By:   joerg
  Date:   Sun Oct 16 17:24:50 UTC 2011
  
  Modified Files:
  src/external/public-domain/sqlite: Makefile.inc
  
  Log Message:
  Build with -DSQLITE_ENABLE_FTS3_PARENTHESIS
 
 pkgsrc sqlite3 also has an option for rtree - it would be nice to
 build that into the version in src by default.  I'm not sure about the
 pkgsrc icu option, but that would arguably be neat as well.

Feel free to add the option. ICU has external dependencies, but the
default build does include support for loadable extensions, so it could
still be provided via pkgsrc...

Joerg


Re: CVS commit: src/external/public-domain/sqlite

2011-10-16 Thread Alistair Crooks
On Mon, Oct 17, 2011 at 04:19:00AM +0200, Joerg Sonnenberger wrote:
 On Sun, Oct 16, 2011 at 07:31:51PM +0200, Alistair Crooks wrote:
  On Sun, Oct 16, 2011 at 05:24:50PM +, Joerg Sonnenberger wrote:
   Module Name:  src
   Committed By: joerg
   Date: Sun Oct 16 17:24:50 UTC 2011
   
   Modified Files:
 src/external/public-domain/sqlite: Makefile.inc
   
   Log Message:
   Build with -DSQLITE_ENABLE_FTS3_PARENTHESIS
  
  pkgsrc sqlite3 also has an option for rtree - it would be nice to
  build that into the version in src by default.  I'm not sure about the
  pkgsrc icu option, but that would arguably be neat as well.
 
 Feel free to add the option. ICU has external dependencies, but the
 default build does include support for loadable extensions, so it could
 still be provided via pkgsrc...

Well, if there's no cogent disagreement, I will, thanks.

And if you could make a builtin.mk for pkgsrc's sqlite3 entry, that
would also be great.

Thanks,
Alistair