)]}'
{
  "commit": "b2bf660abc4611677670b01fcbb0dc94ce2c35f7",
  "tree": "f09254bb6eb45e670eb5756b4f0d1741fd5ed59c",
  "parents": [
    "04f4c2b8d95e895270b612b5ea3841ee4d3dcc26"
  ],
  "author": {
    "name": "Costas Argyris",
    "email": "costas.argyris@gmail.com",
    "time": "Mon Jun 19 09:51:13 2023 -0400"
  },
  "committer": {
    "name": "Paul Smith",
    "email": "psmith@gnu.org",
    "time": "Mon Jun 19 13:29:52 2023 -0400"
  },
  "message": "Add a UTF-8 resource when building for Windows\n\nIf a resource compiler is available, use it to add a UTF-8 resource\nto the GNU Make executable on Windows.  As a result, GNU Make will\nuse UTF-8 as its ANSI code page, enabling it to work with UTF-8\nencoded Makefiles, understand UTF-8 paths passed to it, etc.\n\nThese build process changes apply to all 3 ways that GNU Make can\nbe built for Windows:\n\n1) configure\n2) Basic.mk\n3) build_w32.bat\n\nWhen building with Visual Studio the resource compiler should always\nbe available.\n\nWhen building with GCC or TCC, it depends on the availability of\n\u0027windres\u0027.\n\nIf a resource compiler is not available, don\u0027t fail the build but\njust proceed without the UTF-8 resource, effectively ignoring this\nfeature.\n\nThe UTF-8 resource only has an effect when GNU Make is running on a\nminimum target version of Windows Version 1903 (May 2019 Update).\nWhen the built GNU Make is running on an earlier version of Windows,\nthe embedded UTF-8 resource has no effect.\n\nCode page information is added to --version output to tell users what\ncode pages are being used by any combination of GNU Make build (with\nor without the UTF-8 resource) and Windows version that GNU Make is\nrunning on (earlier than 1903 or not).\n\n* README.git: Fix a typo.\n* configure.ac: Search for windres and set WINDRES / HAVE_WINDRES.\n* Makefile.am: Add manifest and resource files to EXTRA_DIST and\nadd a windres invocation to build them.\n* build_w32.bat: Add support to build resource files.\n* src/main.c (print_version): Add codepage info to Windows output.\n* src/w32/utf8.manifest: Add a windres manifest file.\n* src/w32/utf8.rc: Add a windres resource file.\n* Basic.mk.template: Add support for building resource files.\n* mk/Windows32.mk: Support windres resource files.\n* .gitignore: Ignore TCC output directories.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1ea8c55cd22dc5c02b745e4aa534e70047076d9b",
      "old_mode": 33188,
      "old_path": ".gitignore",
      "new_id": "cf4109d501f1297d47896afc9344fb36425c44c9",
      "new_mode": 33188,
      "new_path": ".gitignore"
    },
    {
      "type": "modify",
      "old_id": "e3a83a205ceeaa703d28bfdd931b32cdaf29ae80",
      "old_mode": 33188,
      "old_path": "Basic.mk.template",
      "new_id": "ce273a1f326497f56e8ae402604ba3914e61bfdc",
      "new_mode": 33188,
      "new_path": "Basic.mk.template"
    },
    {
      "type": "modify",
      "old_id": "23a48e4729039fd5f57edb731a72367d5b68b2f0",
      "old_mode": 33188,
      "old_path": "Makefile.am",
      "new_id": "5b4686b29ad8985b03c4ef55a2b00186ca5fc07a",
      "new_mode": 33188,
      "new_path": "Makefile.am"
    },
    {
      "type": "modify",
      "old_id": "03125fa98fa78d11f08980773384dc0a42e8ef11",
      "old_mode": 33188,
      "old_path": "README.git",
      "new_id": "0e0c327ea40b76cca648fd0c61c4face57a4960f",
      "new_mode": 33188,
      "new_path": "README.git"
    },
    {
      "type": "modify",
      "old_id": "3abc43ed21f813bb611e290f344f56ec9d2bd9c0",
      "old_mode": 33188,
      "old_path": "build_w32.bat",
      "new_id": "ce7dcab582aca23e481f24d6f22c766e71cbac72",
      "new_mode": 33188,
      "new_path": "build_w32.bat"
    },
    {
      "type": "modify",
      "old_id": "645b4466da7bf036cee667a386a6bf855301e9ac",
      "old_mode": 33188,
      "old_path": "configure.ac",
      "new_id": "c67410030679bf2c1fadd22f9e2948212f228866",
      "new_mode": 33188,
      "new_path": "configure.ac"
    },
    {
      "type": "modify",
      "old_id": "57226eb184b889fa30847a883e3a7fb8b5f01121",
      "old_mode": 33188,
      "old_path": "mk/Windows32.mk",
      "new_id": "6e357ea7e28c865c8c0fdca10f5ed9ec0ebea8e2",
      "new_mode": 33188,
      "new_path": "mk/Windows32.mk"
    },
    {
      "type": "modify",
      "old_id": "1fba1c2108d578915b24ab6e426e231b6ee19cb3",
      "old_mode": 33188,
      "old_path": "src/main.c",
      "new_id": "9ec8f20a0030e5653abac80b4d94a1067c6d3e7c",
      "new_mode": 33188,
      "new_path": "src/main.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "dab929e1515a2bdf20e2e89afe9cc3985ca95da2",
      "new_mode": 33188,
      "new_path": "src/w32/utf8.manifest"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "62bdbdc36221c139bca90764454e9b62eb0fe70a",
      "new_mode": 33188,
      "new_path": "src/w32/utf8.rc"
    }
  ]
}
