MozillaBuild 4.0.2 
<http://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-4.0.2.exe>
 
is a bugfix patch that allows us to enable a long overdue feature: colors! 
🎉 <https://emojipedia.org/party-popper/>

This release enables colored console output from Mach within our Windows 
development environment, bringing it into alignment with Linux and macOS.

*A few notes:*

   - 
   
   On Windows the Footer may flicker slightly, depending on your setup. If 
   this bothers you, you can disable it by setting MACH_NO_TERMINAL_FOOTER=1 
   in your environment.
   
   The Footer is a line of text describing the current stage of the build 
   pinned to the bottom of the console.
   
   Eg: “TIER: configure pre-export export compile misc libs tools”
   - 
   
   If you were perfectly happy without colors and don’t want anything to 
   change you can disable all colors by setting NO_ANSI=1 in your 
   environment (this also disables the Footer).
   - 
   
   The MozillaBuild installer now sets a single registry value: 
   HKCU\Console\VirtualTerminalLevel=1. This enables ANSI Escape Sequences 
   <https://en.wikipedia.org/wiki/ANSI_escape_code> (colors and more) 
   interpretation in all Windows terminals. It is not enabled by default on 
   Windows for legacy backwards compatibility reasons. If you work on legacy 
   stuff outside of MozillaBuild there’s a small chance you might encounter 
   some weird issue with this value set. If you do encounter this problem, you 
   can delete the registry value, but you will also have to set NO_ANSI=1 
   to avoid seeing tons of unescaped ANSI Escape Sequences from the Mach 
   output.
   - 
   
   If you encounter any unescaped ANSI Escape Sequences, please let us know by 
   filing a bug 
   
<https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox+Build+System&component=Mach+Core>.
 
   Here’s a few examples of what they can look like:
   - 
      
      ←[34m
      - 
      
      ←[0;1;30
      - 
      
      ←[0;1;32m  
      - 
      
      ←(B←[m
      - 
      
      ←(G←[m
      

Essentially, if you ever see “←[“ or “←(“ something is probably not quite 
right.

Links:

   - 
   
   MozillaBuild 4.0.2 Download 
   
<http://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-4.0.2.exe>
   - 
   
   Upgrade instructions 
   <https://wiki.mozilla.org/MozillaBuild#To_Upgrade_From_A_Previous_Version>
   - 
   
   Full changelog 
   
<https://hg.mozilla.org/mozilla-build/pushloghtml?fromchange=MOZILLABUILD_4_0_1_RELEASE&tochange=MOZILLABUILD_4_0_2_RELEASE>
   
_
Alex Hochheiden
Engineering Workflow
Mozilla

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/c4205241-d333-4e94-a40c-6d0dd5bf6877n%40mozilla.org.

Reply via email to