Changeset: 8adb17348f8f for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/8adb17348f8f Modified Files: clients/mapiclient/ReadlineTools.c clients/mapiclient/mclient.c clients/mapilib/mapi.c Branch: client_interrupts Log Message:
Merge with default branch. diffs (truncated from 870927 to 300 lines): diff --git a/.bumpversion.cfg b/.bumpversion.cfg --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 11.46.0 +current_version = 11.50.0 commit = False tag = False @@ -30,4 +30,3 @@ serialize = {major},{minor},{patch} [bumpversion:file:monetdb5/tools/libmonetdb5.rc] parse = (?P<major>\d+),(?P<minor>\d+),(?P<patch>\d+) serialize = {major},{minor},{patch} - diff --git a/.editorconfig b/.editorconfig --- a/.editorconfig +++ b/.editorconfig @@ -23,3 +23,7 @@ charset = utf-8 indent_style = space indent_size = 2 trim_trailing_whitespace = true + +[{clients/{mapilib,odbc},gdk}/**.{c,h}{,.in}] +tab_width = 8 +max_line_length = 72 diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,135 @@ +name: MonetDB build and test + +on: + push: + branches: + - 'branches/*' + pull_request: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + + schedule: + - cron: '15 1 * * *' + +jobs: + test: + strategy: + fail-fast: false # don't stop other jobs + matrix: + os: [ ubuntu-latest, macos-latest, windows-latest ] + c_compiler: [ gcc, clang, cl ] + include: + - os: windows-latest + c_compiler: cl + - os: macos-latest + c_compiler: clang + - os: macos-latest + c_compiler: gcc-12 + - os: ubuntu-latest + c_compiler: gcc + - os: ubuntu-latest + c_compiler: clang + exclude: + - os: windows-latest + c_compiler: gcc + - os: windows-latest + c_compiler: clang + - os: macos-latest + c_compiler: cl + - os: macos-latest + c_compiler: gcc + - os: ubuntu-latest + c_compiler: cl + runs-on: ${{ matrix.os }} + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.ref }} + + - name: install pymonetdb cryptography + run: pip3 install pymonetdb cryptography + + - name: make MonetDB on linux + run: | + mkdir build + cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=$HOME/MDB \ + -DPY3INTEGRATION=OFF \ + -DRINTEGRATION=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DASSERT=OFF \ + -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \ + -DCMAKE_SUMMARY=ON + make install -j3 + if: runner.os == 'Linux' + + - name: brew packages + run: brew install bison + if: runner.os == 'macOS' + + - name: make MonetDB on macos + run: | + mkdir build + cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=$HOME/MDB \ + -DPY3INTEGRATION=OFF \ + -DRINTEGRATION=OFF \ + -DCMAKE_BUILD_TYPE=Release \ + -DASSERT=OFF \ + -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} \ + -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison \ + -DCMAKE_SUMMARY=ON + make install -j3 + if: runner.os == 'macOS' + + - name: choco packages + run: | + choco install winflexbison3 + vcpkg install libiconv bzip2 libxml2 pcre zlib getopt + if: runner.os == 'Windows' + + - name: make MonetDB on Windows + shell: pwsh + run: | + mkdir build + cd build + cmake .. -DCMAKE_INSTALL_PREFIX=C:\MDB -DCMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake -DPY3INTEGRATION=OFF -DRINTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} -DCMAKE_SUMMARY=ON + cmake --build . --target install + if: runner.os == 'Windows' + + - name: ctest + run: | + cd build + cmake --build . --target ${{ runner.os == 'Windows' && 'RUN_TESTS' || 'test' }} + if: runner.os != 'Windows' + + - name: mtest + run: | + PATH=$HOME/MDB/bin:$PATH $HOME/MDB/bin/Mtest.py -r --debug=0 --ci --no-html --TSTTRGBASE=. + if: runner.os != 'Windows' + + - name: ctest + shell: pwsh + run: | + $env:PATH = 'C:\MDB\lib;C:\MDB\lib\monetdb5;C:\MDB\bin;C:\vcpkg\installed\x64-windows\bin;C:\vcpkg\installed\x64-windows\debug\bin;' + $env:PATH + cd build + cmake --build . --target ${{ runner.os == 'Windows' && 'RUN_TESTS' || 'test' }} + if: runner.os == 'Windows' + + - name: mtest + shell: pwsh + run: | + $env:PATH = 'C:\MDB\lib;C:\MDB\lib\monetdb5;C:\MDB\bin;C:\vcpkg\installed\x64-windows\bin;C:\vcpkg\installed\x64-windows\debug\bin;' + $env:PATH + python C:\MDB\bin\Mtest.py -r --debug=0 --ci --no-html --TSTTRGBASE=. + if: runner.os == 'Windows' + + - name: Tar files + run: tar -cvf mtests.tar mTests + - name: Publish mtest results + uses: actions/upload-artifact@v3 + with: + name: mtest-${{ github.sha }}-${{ matrix.os }}-${{ matrix.c_compiler }} + path: mtests.tar diff --git a/.hgtags b/.hgtags --- a/.hgtags +++ b/.hgtags @@ -778,3 +778,45 @@ 3191fee438036ac0da1e6f31481b9681399123b5 3191fee438036ac0da1e6f31481b9681399123b5 Jan2022_SP4_release bdd04053973daa8a786a30e07b2bf1bd8aa6ebf1 Jul2021_27 bdd04053973daa8a786a30e07b2bf1bd8aa6ebf1 Jul2021_SP8_release +688ff09b2edc3d637f658f3e7ef3d5f07e3e8f9c Sep2022_1 +ea797696d5e8d8d550f21f09b98d3bcade1d001d Sep2022_3 +68c0e35095ad6a58766c6c1e77229d73148433e2 Sep2022_5 +47675351fec22d5d5dc81eec03dfa08f505afc99 Sep2022_7 +47675351fec22d5d5dc81eec03dfa08f505afc99 Sep2022_release +44e45c9a451f6afd933773094ec25723f713d3be Jan2022_23 +44e45c9a451f6afd933773094ec25723f713d3be Jan2022_SP5_release +43d4a717410d6f6692a16a878640fc7e0f248725 Jan2022_25 +43d4a717410d6f6692a16a878640fc7e0f248725 Jan2022_SP6_release +700e099bfee85318da09aabcd78ec7ea6e8fb6ef Jul2021_29 +5c50a4071c86d1621e20a885a51cc36f2f23eec4 Sep2022_9 +41ca60d96bd0198ca5d74937630a442a5fbaf1cd Sep2022_11 +41ca60d96bd0198ca5d74937630a442a5fbaf1cd Sep2022_SP1_release +e8b0e5558313f4d98bc48316368299decc55ed4e Sep2022_13 +e8b0e5558313f4d98bc48316368299decc55ed4e Sep2022_SP2_release +8a95168e853382b9b89ac7b67e343788ea837f3a Jul2021_31 +8a95168e853382b9b89ac7b67e343788ea837f3a Jul2021_SP9_release +bb95192134c0d8ef8fea525204eefcd0de099a54 Jun2023_root +24385ee6130494440e09d31ec73f4aa2e2893e98 Jul2021_33 +05b3d9ea9165baf1d2956d5b06ad85f817ecc6d2 Jul2021_33 +05b3d9ea9165baf1d2956d5b06ad85f817ecc6d2 Jul2021_SP10_release +ed34ab4283cbfcc57fb9d7387bc9d781c91902b1 Jan2022_27 +ed34ab4283cbfcc57fb9d7387bc9d781c91902b1 Jan2022_SP7_release +d11af9398029c117b92a9be9efa971ac0299ffc4 Sep2022_15 +8b736d6dcfd63d0560c99fc5427b504c116b74b0 Sep2022_17 +8b736d6dcfd63d0560c99fc5427b504c116b74b0 Sep2022_SP3_release +aba8c31c60480148cd388a09ac99b42679406258 Jun2023_1 +79dbf838f04483a2d9ccce8332090ff91b18caec Jun2023_3 +79dbf838f04483a2d9ccce8332090ff91b18caec Jun2023_release +573511e0e7bf2f7ab11f00b45711aab5f1aff6f2 Jun2023_5 +573511e0e7bf2f7ab11f00b45711aab5f1aff6f2 Jun2023_SP1_release +ce63ebe9a78c52ef0cbe8fd6f2159d2637f0387c Jun2023_7 +1efa83c6409769d13b2ee30e497d5f7ab42fa955 Jun2023_9 +6f88424ebfd9d82c072cf21d89070e04321983da Jun2023_11 +6f88424ebfd9d82c072cf21d89070e04321983da Jun2023_SP2_release +e6eb06773c17035954ac5d001cfe1f09ff3425cc Jun2023_13 +5683fd900f28d65ad7c98d1ed1efd992023a7fa4 Jun2023_15 +c5b17681b55e6ca155db28be59913699e561502a Dec2023_root +c9e6096e7519636a4e840c7a0c2e27cccb7dc0fe Jun2023_17 +c9e6096e7519636a4e840c7a0c2e27cccb7dc0fe Jun2023_SP3_release +1230526af30f40eeea30fb87c47c3e414920561f Dec2023_1 +1230526af30f40eeea30fb87c47c3e414920561f Dec2023_release diff --git a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,9 +1,13 @@ #[[ +# SPDX-License-Identifier: MPL-2.0 +# # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # -# Copyright 1997 - July 2008 CWI, August 2008 - 2022 MonetDB B.V. +# Copyright 2024 MonetDB Foundation; +# Copyright August 2008 - 2023 MonetDB B.V.; +# Copyright 1997 - July 2008 CWI. #]] cmake_minimum_required(VERSION 3.12) @@ -52,7 +56,6 @@ include(monetdb-toolchain) monetdb_default_compiler_options() include(monetdb-defines) -monetdb_hg_revision() # required for symbol existance tests if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") diff --git a/ChangeLog-Archive b/ChangeLog-Archive --- a/ChangeLog-Archive +++ b/ChangeLog-Archive @@ -1,6 +1,41 @@ # DO NOT EDIT THIS FILE -- MAINTAINED AUTOMATICALLY # This file contains past ChangeLog entries +* Fri Dec 1 2023 Sjoerd Mullender <sjo...@acm.org> - 11.49.1-20231221 +- All binary packages are now signed with a new key with key fingerprint + DBCE 5625 94D7 1959 7B54 CE85 3F1A D47F 5521 A603. + +* Mon Oct 30 2023 Sjoerd Mullender <sjo...@acm.org> - 11.49.1-20231221 +- The ranges of merge partitions are now pushed down into the low + level GDK operations, giving them a handle to sometimes execute more + efficiently. + +* Thu Jul 27 2023 Niels Nes <ni...@cwi.nl> - 11.49.1-20231221 +- Removed the PYTHON MAP external language option, as after a fork the + synchronization primitives could be in any state, leading to deadlocks. + During the upgrade function definitions will fallback to the normal + PYTHON language option. + +* Mon Jul 17 2023 Panagiotis Koutsourakis <kutsu...@monetdbsolutions.com> - 11.49.1-20231221 +- Implemented direct masking for strimp construction. The strimps + datastructure now keeps an array of 65K 64-bit integers that is zero + everywhere except at the indexes that correspond to header pairs. The + entry for the nth pair in order has the nth bit of the bitstring + on. These can be used to quickly construct bitstrings. + +* Fri Sep 29 2023 Sjoerd Mullender <sjo...@acm.org> - 11.47.11-20230929 +- Fixed an installation issue on Debian and Ubuntu introduced in the + last build. + +* Wed Aug 30 2023 Sjoerd Mullender <sjo...@acm.org> - 11.47.7-20230925 +- Do a lot more error checking, mostly for allocation failures. More is + still needed, though. + +* Thu Aug 10 2023 Panagiotis Koutsourakis <kutsu...@monetdbsolutions.com> - 11.47.7-20230925 +- Improve performance of the ILIKE operator when the pattern contains only + ASCII characters. In this case we do not need to treat any characters as + UTF-8 and we can use much faster routines that perform byte comparisons. + * Wed Jan 12 2022 Sjoerd Mullender <sjo...@acm.org> - 11.43.5-20220118 - A couple of concurrency issues have been fixed. diff --git a/ChangeLog b/ChangeLog.Dec2023 copy from ChangeLog copy to ChangeLog.Dec2023 diff --git a/ChangeLog.Jan2022 b/ChangeLog.Jan2022 deleted file mode 100644 --- a/ChangeLog.Jan2022 +++ /dev/null @@ -1,3 +0,0 @@ -# ChangeLog file for devel -# This file is updated with Maddlog - diff --git a/ChangeLog.Sep2022 b/ChangeLog.Sep2022 deleted file mode 100644 --- a/ChangeLog.Sep2022 _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org