1. 24 Feb, 2021 1 commit
  2. 15 Feb, 2021 1 commit
  3. 17 Dec, 2020 2 commits
    • Brad Westhafer's avatar
      [#5] Fix rare bug where CMake attempts to build _ydbposix.so in UTF-8 mode... · 16725078
      Brad Westhafer authored
      [#5] Fix rare bug where CMake attempts to build _ydbposix.so in UTF-8 mode before the M mode build has finished
      
      This commit fixes a rare bug where CMake attempts to build both versions of _ydbposix.so at the same time without waiting for the other one to finish. We discovered this bug in an internal build where the YDBPosix plugin did not work at all. The fix is to make the M mode version of _ydbposix.so a dependency for the UTF-8 version which ensures that CMake cannot start building the UTF-8 version of _ydbposix.so until after the M mode version has already been built.
      16725078
    • Jaahanavee Sikri's avatar
      [DOC][#6] Updating documentation · 4fc04896
      Jaahanavee Sikri authored
      Changes made:
        - Edited conf.py to fix error (#6) and remove version value (r3)
        - Edited ydbposix.rst to comply with style guidelines
        - Edited Makefile to add clean target and htmlpatch.csh command
        - Edited htmlpatch.csh
      4fc04896
  4. 15 Dec, 2020 1 commit
    • Brad Westhafer's avatar
      [#5] If YottaDB was installed with UTF-8, always build both M and UTF-8 mode versions · c877baeb
      Brad Westhafer authored
      This commit modifies CMakeLists to detect if YottaDB is installed with support for UTF-8. If UTF-8 mode support is installed, then the plugin is also built with UTF-8 support without having to run the installer twice. This is done by adding a file called ydbposixso.cmake which now handles the building of _ydbposix.so files. This file is based on sr_unix/mumps.cmake from the YDB repo and is used in a similar manner by CMakeLists.txt to ensure that the shared library is built for both M and UTF-8 modes.
      c877baeb
  5. 28 Oct, 2020 1 commit
    • Jaahanavee Sikri's avatar
      [DOC] Report Sphinx warnings as errors · dfe1fd35
      Jaahanavee Sikri authored
        Changes made:
      
          - Added SPHINXOPTS to Makefile so that Sphinx reports warnings as errors
          - Updated the Copyright year
          - Changed parsed-literal to code-block to make it consistent with other documentation
      dfe1fd35
  6. 14 Oct, 2020 2 commits
    • Joshua Nelson's avatar
      [YottaDB/DB/YDB!869] Stop using `rules` in gitlab pipelines · a8198849
      Joshua Nelson authored
      See YDB!869 for what's going on here.
      a8198849
    • Joshua Nelson's avatar
      [YottaDB/DB/YDB!863] Update YDBPosix for new version of `verify_commit.sh` in YDB · 2ff6168e
      Joshua Nelson authored
      - Add `needs_copyright.sh`
      - Change `pre-commit` to use `needs_copyright.sh`
      - Change `.gitlab-ci.yml` to use the new name `verify_commit.sh` instead of `verify_gpg_commit.sh`
      - Only run the `commit_verify` pipeline for MRs, not for individual
      commits
      
        If this is not done, the environment variables for `TARGET_BRANCH`
        will not be set and there will be nothing to compare the HEAD commit
        to: the script will not know how much of the history is pre-existing and
        how much was added for the current MR.
      
      This should not be merged until after YDB!863 lands, or it will not be
      able to find the new copyright script.
      2ff6168e
  7. 12 Oct, 2020 1 commit
  8. 02 Oct, 2020 1 commit
    • Ganesh Mahesh's avatar
      Adding gpgkey-verify job to pipeline · 3be32e52
      Ganesh Mahesh authored
      `commit_gpgkey_verify.sh` invocation is moved to separate job `gpgkey-verify`
      
      Upstream URL is added as argument to commit_gpgkey_verify script invocation
      
      before_script is used in gpgkey-verify job so that it is overridden at job level
      3be32e52
  9. 25 Sep, 2020 1 commit
  10. 11 Aug, 2020 1 commit
  11. 05 Aug, 2020 3 commits
  12. 04 Aug, 2020 1 commit
  13. 03 Aug, 2020 1 commit
    • Joshua Nelson's avatar
      [YottaDB/DBMS/YDBOcto#567] Rename MUMPS -> M · 58358fd7
      Joshua Nelson authored
      This changes build output of the form
      ```
      [  0%] Building MUMPS object src/CMakeFiles/_ydbocto.dir/aux/_ydboctoAdmin.m.o
      ```
      to
      ```
      [  0%] Building M object src/CMakeFiles/_ydbocto.dir/aux/_ydboctoAdmin.m.o
      ```
      58358fd7
  14. 07 Jun, 2020 2 commits
  15. 18 Mar, 2020 1 commit
    • Narayanan Iyer's avatar
      Fix failure in regmatch^%ydbposixtest due to extraneous match results (regression in 9007dec8) · cbeff76f
      Narayanan Iyer authored
      The `v60001/gtm_posix` subtest in the YDBTest repo failed after commit 9007dec8 with the following diff.
      
      > FAIL regmatch^%ydbposix 4
      > FAIL REGMATCH^%ydbposix 4
      
      This is because that commit erroneously assumed that `matchresults(i,"start")` might not be set in the
      for loop in case `$&ydbposix.regofft2offsets` returned a non-zero value. And because of this, it added
      a `$data(matchresults(i,"start"))` check instead of the pre-existing `'matchresults(i,"start"))` check.
      
      Turns out `$&ydbposix.regofft2offsets` always returns a 0. Therefore, the `$data` check is not
      necessary and in fact incorrect since we need to actually check for 0 value of `matchresults(i,"start")`
      to terminate the for loop. This is now done. And comments added in the code to help a future reader.
      cbeff76f
  16. 16 Mar, 2020 1 commit
    • Narayanan Iyer's avatar
      Fix regression in $$regmatch^%ydbposix introduced in 3b8abd6d · 9007dec8
      Narayanan Iyer authored
      * The primary issue was a `if $increment(i,-1)` that was unconditionally done before the `quit:$quit`
        in `$$regmatch^%ydbposix`. I suspect the author of 3b8abd6d intended to do this in case
        the `$&ydbposix.regofft2offsets()` call returned a non-zero value (i.e. an error scenario)
        since that resulted in `matchresults(i,"start")` and `matchresults(i,"end")` not getting set.
        Therefore, this decrement is now moved to where it should have been by a `set i=i-1` just before
        we `quit` out of the for loop.
      
      * A secondary issue in my opinion is that `if 'matchresults(i,"start")` done after the `do` call
        would result in an LVUNDEF error in case `matchresults(i,"start")` did not get set in the
        `do` body. This is now fixed by instead doing a `$data()` on it.
      9007dec8
  17. 08 Mar, 2020 3 commits
    • Tomas Morstein's avatar
      fix test output formatting · a1c3257a
      Tomas Morstein authored
      a1c3257a
    • Tomas Morstein's avatar
      explicitly test for systemd presence · 402b5093
      Tomas Morstein authored
      Journalctl won't work properly on systems not being initialized
      using systemd init system. It can be tricked to work by starting
      systemd logger service explicitly but the test does not assume that.
      
      Containers with systemd entrypoint needs to be running in privileged
      mode (as of today) which implies that most of the GitLab CI runners
      won't be able to run systemd-enabled containers.
      
      This commit is therefore properly detecting systemd rather than
      just assuming that it is not available in the CI pipelines only.
      402b5093
    • Tomas Morstein's avatar
      fix code according to coding standards · 3e683e4a
      Tomas Morstein authored
      3e683e4a
  18. 14 Jan, 2020 2 commits
  19. 17 Jul, 2019 1 commit
  20. 07 Jun, 2019 3 commits
  21. 23 May, 2019 1 commit
  22. 22 May, 2019 1 commit
  23. 20 May, 2019 1 commit
    • Christopher Edwards's avatar
      Add MacOS support · feebc2ae
      Christopher Edwards authored
      MacOS uses .dylib as the shared library name instead of .so. Add this
      to the list of library suffixes so that YottaDB can be found automatically.
      feebc2ae
  24. 16 May, 2019 2 commits
  25. 15 May, 2019 1 commit
    • Narayanan Iyer's avatar
      Fix Clang/LLVM compiler warning · 085c6d84
      Narayanan Iyer authored
      Below is the warning we got from clang.
      
      ydbposix.c:337:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      
      This is now fixed by moving the assignment to a separate line.
      085c6d84
  26. 03 May, 2019 1 commit
  27. 23 Apr, 2019 1 commit
  28. 19 Mar, 2019 2 commits