Skip to content
Snippets Groups Projects
  1. Dec 01, 2017
  2. Jul 12, 2017
    • George Nachman's avatar
      Disable ligatures by default. Performance sucks using core text and I don't... · b2166822
      George Nachman authored
      Disable ligatures by default. Performance sucks using core text and I don't see a way to improve it without using all kinds of private APIs. The only difference I can find between us and Terminal is that they have a very flat view hierarchy. They don't use NSScrollView. I can't ditch NSScrollView because I can't cobble together a frankenstein from its parts the way Apple can.
      b2166822
  3. Mar 24, 2017
  4. Jan 29, 2017
  5. Jan 22, 2017
  6. Dec 21, 2016
  7. Nov 26, 2016
  8. Nov 10, 2016
  9. 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
  10. Jul 16, 2016
  11. Apr 22, 2016
  12. Jan 21, 2016
  13. Jan 07, 2016
  14. Jan 04, 2016
  15. Jan 03, 2016
  16. Jan 02, 2016
  17. 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
  18. Dec 10, 2015
  19. Nov 14, 2015
  20. Oct 12, 2015
  21. Oct 04, 2015
  22. Aug 03, 2015
  23. Jul 07, 2015
  24. Apr 21, 2015
  25. Feb 02, 2015
  26. Sep 21, 2014
  27. Sep 15, 2014
  28. Jul 10, 2014
  29. Jul 08, 2014
  30. Jun 25, 2014
  31. Jun 24, 2014
  32. Jun 16, 2014
  33. Jun 06, 2014
  34. May 13, 2014
  35. May 09, 2014
  36. Apr 29, 2014
  37. Apr 19, 2014
Loading