Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#5062 closed enhancement (fixed)

ninja-1.11.0

Reported by: Xi Ruoyao Owned by: Xi Ruoyao
Priority: normal Milestone: 11.2
Component: Book Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (4)

comment:1 by Xi Ruoyao, 2 years ago

Owner: changed from lfs-book to Xi Ruoyao
Status: newassigned

comment:2 by Xi Ruoyao, 2 years ago

This release adds Validation Nodes which are a new way to add jobs like linters or static analyzers to the build graph. They are added using |@ and don't produce any outputs. You can read more about the motivation and the syntax here: https://github.com/ninja-build/ninja/pull/1800

Another big change is that Ninja now uses UTF-8 on Windows. This means that while previous versions of Ninja used the local ANSI encoding it will now always use UTF-8 allowing filenames and output with special characters. For this to work you'll need Windows 10 Version 1903 or newer. And for the console output to show Unicode characters you'll need to set the codepage to 65001. More information at: https://github.com/ninja-build/ninja/pull/1915

Note that this is a breaking change if you relied on non-ASCII characters of the local codepage! If you want to query Ninja what codepage it uses in your generator, call ninja -t wincodepage and act accordingly.

There are also two new tools:

And as it was often requested, ninja now has a --quiet flag :)

For a complete list of changes see https://github.com/ninja-build/ninja/milestone/3?closed=1

comment:3 by Xi Ruoyao, 2 years ago

Resolution: fixed
Status: assignedclosed

comment:4 by Xi Ruoyao, 2 years ago

Fixed at r11.1-129-ge6e8f0047. Vim left assigned for SA.

Note: See TracTickets for help on using tickets.