Skip to content
Snippets Groups Projects
  1. Sep 24, 2017
  2. Sep 20, 2017
  3. Jan 20, 2017
  4. Oct 02, 2016
  5. Sep 10, 2016
  6. Sep 05, 2016
  7. Aug 08, 2016
    • George Nachman's avatar
      Add support for Unicode 9 as an option, but it's off by default. This is based... · 330fcf81
      George Nachman authored
      Add support for Unicode 9 as an option, but it's off by default. This is based on Keno Fischer's work in pull request 294. It adds a new escape sequence: "OSC 1337 ; UnicodeVersion= Ps ST" where Ps is a number (8 or 9, presently) to switch to; 0 for the terminal's default (currently 8; I'm not sure this is very useful, though, since it loses the profile's preferred version--better to use the stack or DECSC/DECRC described later); push to save the current value onto a stack; pop to pull the last value off the stack. The unicode version is also saved and restored with the cursor (affected by DECSC, DECRC, and DECSET 1049). The unicode version and stack are saved and restored along with the rest of the terminal's state using window state restoration. Additionally, a new setting was added under Prefs/Profiles/Text to set the initial unicode version for the profile.
      330fcf81
  8. Jul 21, 2016
  9. Jul 16, 2016
  10. Jun 06, 2016
  11. May 16, 2016
  12. Apr 19, 2016
  13. Apr 17, 2016
  14. Jan 21, 2016
  15. Jan 04, 2016
  16. Jan 03, 2016
  17. Jan 02, 2016
  18. Dec 30, 2015
    • aljex's avatar
      Store Character Encoding pref as NSUInteger instead of int. · 7f981832
      aljex authored
      Fixes: https://gitlab.com/gnachman/iterm2/issues/4105
      
      PTYSession.m (before):
      // Unfortunately, this preference has been saved as a 32-bit int for a while, although it should
      // be an unsigned 64 bit. Luckily, 32 bits happens to be enough so far, since enabling 64-bit
      // storage is in the profile prefs system is somewhat involved. For now, hack off the sign
      // extension.
      [self setEncodingFromSInt32:[iTermProfilePreferences intForKey:KEY_CHARACTER_ENCODING inProfile:aDict]];
      [...]
      // See note at call site about why this exists.
      - (void)setEncodingFromSInt32:(int)intEncoding {
          NSStringEncoding encoding = intEncoding;
          encoding &= 0xffffffff;
          [self setEncoding:encoding];
      }
      
      ProfilesTerminalPreferencesViewController.m (before):
      // Unfortunately, character encoding should have been stored as a NSUInteger all along :(
      // See notes in PTYSession for more details.
      NSInteger tag = [self intForKey:info.key];
      tag &= 0xffffffff;
      [_characterEncoding selectItemWithTag:tag];
      7f981832
  19. Nov 14, 2015
  20. Oct 06, 2015
  21. Jun 01, 2015
  22. May 30, 2015
  23. Apr 20, 2015
  24. Apr 12, 2015
  25. Feb 02, 2015
  26. Dec 18, 2014
  27. Dec 10, 2014
  28. Dec 09, 2014
  29. Dec 04, 2014
  30. Dec 01, 2014
  31. Nov 30, 2014
  32. Nov 14, 2014
  33. Nov 12, 2014
  34. Sep 21, 2014
  35. Jul 29, 2014
  36. Jul 25, 2014
Loading