From 72557af2b55b34f1ed7ed0a9cf84827558f1ad25 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Sun, 4 Feb 2018 13:09:18 +0300 Subject: [PATCH] mdbx: HNY! Change-Id: I2a91b986964d96bb3e5f848e3c17408bd7745866 --- COPYRIGHT | 2 +- mdbx.h | 13 +++++-------- src/bits.h | 2 +- src/defs.h | 2 +- src/lck-posix.c | 2 +- src/lck-windows.c | 2 +- src/mdbx.c | 2 +- src/osal.c | 2 +- src/osal.h | 2 +- src/tools/mdbx_chk.c | 2 +- src/tools/mdbx_copy.1 | 2 +- src/tools/mdbx_copy.c | 2 +- src/tools/mdbx_dump.1 | 2 +- src/tools/mdbx_dump.c | 2 +- src/tools/mdbx_load.1 | 2 +- src/tools/mdbx_load.c | 2 +- src/tools/mdbx_stat.1 | 2 +- src/tools/mdbx_stat.c | 2 +- src/version.c | 2 +- test/base.h | 2 +- test/cases.cc | 2 +- test/chrono.cc | 2 +- test/chrono.h | 2 +- test/config.cc | 2 +- test/config.h | 2 +- test/dead.cc | 2 +- test/hill.cc | 2 +- test/jitter.cc | 2 +- test/keygen.cc | 2 +- test/keygen.h | 2 +- test/log.cc | 2 +- test/log.h | 2 +- test/main.cc | 2 +- test/osal-unix.cc | 2 +- test/osal-windows.cc | 2 +- test/osal.h | 2 +- test/test.cc | 2 +- test/test.h | 2 +- test/utils.cc | 2 +- test/utils.h | 2 +- tutorial/sample-bdb.txt | 2 +- tutorial/sample-mdbx.c | 2 +- 42 files changed, 46 insertions(+), 49 deletions(-) diff --git a/COPYRIGHT b/COPYRIGHT index 4c586215..7c2fd24c 100644 --- a/COPYRIGHT +++ b/COPYRIGHT @@ -1,4 +1,4 @@ -Copyright 2015-2017 Leonid Yuriev . +Copyright 2015-2018 Leonid Yuriev . Copyright 2011-2015 Howard Chu, Symas Corp. Copyright 2015,2016 Peter-Service R&D LLC. All rights reserved. diff --git a/mdbx.h b/mdbx.h index 2292062f..7218a792 100644 --- a/mdbx.h +++ b/mdbx.h @@ -1,6 +1,6 @@ /* LICENSE AND COPYRUSTING ***************************************************** * - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * @@ -60,14 +60,11 @@ /* IMPENDING CHANGES WARNING *************************************************** * - * Now MDBX is under active development and until November 2017 is expected a - * big change both of API and database format. Unfortunately those update will - * lead to loss of compatibility with previous versions. + * MDBX is under active development, database format and API aren't stable + * at least until 2018Q2. New version won't be backwards compatible. Main focus + * of the rework is to provide clear and robust API and new features. * - * The aim of this revolution in providing a clearer robust API and adding new - * features, including the database properties. */ - -/*--------------------------------------------------------------------------*/ + ******************************************************************************/ #ifdef _MSC_VER #pragma warning(push, 1) diff --git a/src/bits.h b/src/bits.h index ffb5a2fc..94125196 100644 --- a/src/bits.h +++ b/src/bits.h @@ -1,5 +1,5 @@ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/defs.h b/src/defs.h index c7fc7bf2..5e6110f8 100644 --- a/src/defs.h +++ b/src/defs.h @@ -1,5 +1,5 @@ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/lck-posix.c b/src/lck-posix.c index 14ce3d50..5916c40e 100644 --- a/src/lck-posix.c +++ b/src/lck-posix.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/lck-windows.c b/src/lck-windows.c index 02dc9b46..854202f2 100644 --- a/src/lck-windows.c +++ b/src/lck-windows.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/mdbx.c b/src/mdbx.c index 890ed544..0da973ea 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/osal.c b/src/osal.c index f9580408..f232e807 100644 --- a/src/osal.c +++ b/src/osal.c @@ -1,7 +1,7 @@ /* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/osal.h b/src/osal.h index e84d18ca..bd1b9407 100644 --- a/src/osal.h +++ b/src/osal.h @@ -1,7 +1,7 @@ /* https://en.wikipedia.org/wiki/Operating_system_abstraction_layer */ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_chk.c b/src/tools/mdbx_chk.c index ef2184ff..6abdf97d 100644 --- a/src/tools/mdbx_chk.c +++ b/src/tools/mdbx_chk.c @@ -1,7 +1,7 @@ /* mdbx_chk.c - memory-mapped database check tool */ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_copy.1 b/src/tools/mdbx_copy.1 index 825fb269..db6c453a 100644 --- a/src/tools/mdbx_copy.1 +++ b/src/tools/mdbx_copy.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2017 Leonid Yuriev . +.\" Copyright 2015-2018 Leonid Yuriev . .\" Copyright 2012-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_copy.c b/src/tools/mdbx_copy.c index 6d571134..ee3f739d 100644 --- a/src/tools/mdbx_copy.c +++ b/src/tools/mdbx_copy.c @@ -1,7 +1,7 @@ /* mdbx_copy.c - memory-mapped database backup tool */ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_dump.1 b/src/tools/mdbx_dump.1 index f8dd62a1..ccfcc0c9 100644 --- a/src/tools/mdbx_dump.1 +++ b/src/tools/mdbx_dump.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2017 Leonid Yuriev . +.\" Copyright 2015-2018 Leonid Yuriev . .\" Copyright 2014-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_dump.c b/src/tools/mdbx_dump.c index d0f9a911..c854e0ad 100644 --- a/src/tools/mdbx_dump.c +++ b/src/tools/mdbx_dump.c @@ -1,7 +1,7 @@ /* mdbx_dump.c - memory-mapped database dump tool */ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_load.1 b/src/tools/mdbx_load.1 index ac04101c..7a18a6c0 100644 --- a/src/tools/mdbx_load.1 +++ b/src/tools/mdbx_load.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2017 Leonid Yuriev . +.\" Copyright 2015-2018 Leonid Yuriev . .\" Copyright 2014-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_load.c b/src/tools/mdbx_load.c index 19a0a3df..51f2993b 100644 --- a/src/tools/mdbx_load.c +++ b/src/tools/mdbx_load.c @@ -1,7 +1,7 @@ /* mdbx_load.c - memory-mapped database load tool */ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/tools/mdbx_stat.1 b/src/tools/mdbx_stat.1 index 2056decb..ca427f7a 100644 --- a/src/tools/mdbx_stat.1 +++ b/src/tools/mdbx_stat.1 @@ -1,4 +1,4 @@ -.\" Copyright 2015-2017 Leonid Yuriev . +.\" Copyright 2015-2018 Leonid Yuriev . .\" Copyright 2012-2015 Howard Chu, Symas Corp. All Rights Reserved. .\" Copyright 2015,2016 Peter-Service R&D LLC . .\" Copying restrictions apply. See COPYRIGHT/LICENSE. diff --git a/src/tools/mdbx_stat.c b/src/tools/mdbx_stat.c index 249837c6..a730d932 100644 --- a/src/tools/mdbx_stat.c +++ b/src/tools/mdbx_stat.c @@ -1,7 +1,7 @@ /* mdbx_stat.c - memory-mapped database status tool */ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/src/version.c b/src/version.c index ef4f9908..aed4fab5 100644 --- a/src/version.c +++ b/src/version.c @@ -1,5 +1,5 @@ /* - * Copyright 2015-2017 Leonid Yuriev + * Copyright 2015-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/base.h b/test/base.h index ffcf61ad..2d48fe38 100644 --- a/test/base.h +++ b/test/base.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/cases.cc b/test/cases.cc index a1953f53..4f4306d5 100644 --- a/test/cases.cc +++ b/test/cases.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/chrono.cc b/test/chrono.cc index b6245295..f7346686 100644 --- a/test/chrono.cc +++ b/test/chrono.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/chrono.h b/test/chrono.h index d5e9f658..c2bd5627 100644 --- a/test/chrono.h +++ b/test/chrono.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/config.cc b/test/config.cc index 81b26b83..2b9c6e5a 100644 --- a/test/config.cc +++ b/test/config.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/config.h b/test/config.h index 4c9aa214..5efd3110 100644 --- a/test/config.h +++ b/test/config.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/dead.cc b/test/dead.cc index c7b338ff..e6106fbb 100644 --- a/test/dead.cc +++ b/test/dead.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/hill.cc b/test/hill.cc index 72a6e95b..b741f9a9 100644 --- a/test/hill.cc +++ b/test/hill.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/jitter.cc b/test/jitter.cc index 92d272e1..e7faf2a3 100644 --- a/test/jitter.cc +++ b/test/jitter.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/keygen.cc b/test/keygen.cc index 806d4ba8..99b46f29 100644 --- a/test/keygen.cc +++ b/test/keygen.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/keygen.h b/test/keygen.h index 911ea6d8..c1e907bc 100644 --- a/test/keygen.h +++ b/test/keygen.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/log.cc b/test/log.cc index 5ab99513..8697effd 100644 --- a/test/log.cc +++ b/test/log.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/log.h b/test/log.h index 3ffc21d2..c321f3ce 100644 --- a/test/log.h +++ b/test/log.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/main.cc b/test/main.cc index 2c4f9b09..adf60aae 100644 --- a/test/main.cc +++ b/test/main.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/osal-unix.cc b/test/osal-unix.cc index 88a10f11..7625e0f4 100644 --- a/test/osal-unix.cc +++ b/test/osal-unix.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/osal-windows.cc b/test/osal-windows.cc index 57f7f547..b1a8928c 100644 --- a/test/osal-windows.cc +++ b/test/osal-windows.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/osal.h b/test/osal.h index 8f162635..f75aae38 100644 --- a/test/osal.h +++ b/test/osal.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/test.cc b/test/test.cc index f1dc2264..3b53f35e 100644 --- a/test/test.cc +++ b/test/test.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/test.h b/test/test.h index 67fadebf..ea90e966 100644 --- a/test/test.h +++ b/test/test.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/utils.cc b/test/utils.cc index 9a6338cc..03cf2f91 100644 --- a/test/utils.cc +++ b/test/utils.cc @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/test/utils.h b/test/utils.h index b7fd62eb..176823c6 100644 --- a/test/utils.h +++ b/test/utils.h @@ -1,5 +1,5 @@ /* - * Copyright 2017 Leonid Yuriev + * Copyright 2017-2018 Leonid Yuriev * and other libmdbx authors: please see AUTHORS file. * All rights reserved. * diff --git a/tutorial/sample-bdb.txt b/tutorial/sample-bdb.txt index 6e3a739d..1015d064 100644 --- a/tutorial/sample-bdb.txt +++ b/tutorial/sample-bdb.txt @@ -4,7 +4,7 @@ */ /* - * Copyright 2015-2017 Leonid Yuriev . + * Copyright 2015-2018 Leonid Yuriev . * Copyright 2012-2015 Howard Chu, Symas Corp. * Copyright 2015,2016 Peter-Service R&D LLC. * All rights reserved. diff --git a/tutorial/sample-mdbx.c b/tutorial/sample-mdbx.c index f5188cf4..fa2a9493 100644 --- a/tutorial/sample-mdbx.c +++ b/tutorial/sample-mdbx.c @@ -5,7 +5,7 @@ /* * Copyright 2017 Ilya Shipitsin . - * Copyright 2015-2017 Leonid Yuriev . + * Copyright 2015-2018 Leonid Yuriev . * Copyright 2012-2015 Howard Chu, Symas Corp. * All rights reserved. *