[mapserver-commits] [MapServer/MapServer] 248dc6: msIsValidRegex()/msEvalRegex(): use ms_regerror() ...

Even Rouault noreply at github.com
Wed Jun 26 05:55:50 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 248dc63209b9144fc34efac7995d372615552895
      https://github.com/MapServer/MapServer/commit/248dc63209b9144fc34efac7995d372615552895
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M src/mapfile.c

  Log Message:
  -----------
  msIsValidRegex()/msEvalRegex(): use ms_regerror() to get more descriptive error message


  Commit: 97fe80bbb8fe1f89945bf057c3b2a47144dc6253
      https://github.com/MapServer/MapServer/commit/97fe80bbb8fe1f89945bf057c3b2a47144dc6253
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M msautotest/config/expected/ms_map_pattern_conf_bad_regex.txt
    A msautotest/config/expected/ms_map_pattern_conf_bad_regex.txt.alternative
    M src/mapservutil.c

  Log Message:
  -----------
  Modify ms_map_bad_pattern_default in a way that both please GNU regex and PCRE2


  Commit: d67a94f78db54851e129df27505c220b675b3a5a
      https://github.com/MapServer/MapServer/commit/d67a94f78db54851e129df27505c220b675b3a5a
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M CMakeLists.txt
    M ci/build.sh
    M ci/setup.sh
    A cmake/FindPCRE2.cmake
    M fuzzers/CMakeLists.txt
    M src/mapregex.c
    M src/mapserver-config.h.in

  Log Message:
  -----------
  Add optional support for using PCRE2 regular expression library instead of POSIX regex

This requires the pcre2-posix compatibility library.

PCRE2 is only used if explicitly enabled with -DWITH_PCRE2=ON, except on
Windows if PCRE2 is found and REGEX_DIR is not defined.


  Commit: 6a89a377bb486131b0e6f8f425bd33b340f30256
      https://github.com/MapServer/MapServer/commit/6a89a377bb486131b0e6f8f425bd33b340f30256
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M CMakeLists.txt
    M ci/build.sh
    M ci/setup.sh
    A cmake/FindPCRE2.cmake
    M fuzzers/CMakeLists.txt
    M msautotest/config/expected/ms_map_pattern_conf_bad_regex.txt
    A msautotest/config/expected/ms_map_pattern_conf_bad_regex.txt.alternative
    M src/mapfile.c
    M src/mapregex.c
    M src/mapserver-config.h.in
    M src/mapservutil.c

  Log Message:
  -----------
  Merge pull request #7073 from rouault/pcre2

Add support for using PCRE2 instead of POSIX regex


Compare: https://github.com/MapServer/MapServer/compare/0c8435cbc612...6a89a377bb48

To unsubscribe from these emails, change your notification settings at https://github.com/MapServer/MapServer/settings/notifications


More information about the MapServer-commits mailing list