1. 09 Agu, 2011 3 kayıt (commit)
    • Caolán McNamara's avatar
      The idl encoding table stuff appears to be a no-op, converts x to x · bca5c1a4
      Caolán McNamara yazdı
      1.a) There is only one call to SvTokenStream::SetCharSet
      2.b) That call is from SvTokenStream::InitCtor and the argument is
         gsl_getSystemTextEncoding()
      
      2.a) SvTokenStream::SetCharSet is the sole caller of SvChar::GetTable
         i.e.
         pCharTab = SvChar::GetTable( nSet, gsl_getSystemTextEncoding() );
      2.b) so this is in practive only ever...
         pCharTab = SvChar::GetTable( gsl_getSystemTextEncoding(),
              gsl_getSystemTextEncoding() );
      
      3) SvChar::GetTable returns a table for converting from one encoding to
         another.
      
      4) so the whole thing is a no-op, i.e.
         pCharTab can be dropped
         SvChar::GetTable is then unused and can be dropped
         SetCharSet and GetCharSet are then also unused
      bca5c1a4
    • Caolán McNamara's avatar
      Convert directly from RTL_TEXTENCODING_IBM_437 to unicode · fa419956
      Caolán McNamara yazdı
      When we draw this text we assume it's in RTL_TEXTENCODING_IBM_437 and convert
      from RTL_TEXTENCODING_IBM_437 to unicode.
      
      So why when we determine the width to use convert from RTL_TEXTENCODING_IBM_437
      to the system encoding, which could be anything, and get the width of that ?
      fa419956
    • Tor Lillqvist's avatar
      Fix compilation errors with dbglevel>1 · d7e16fdb
      Tor Lillqvist yazdı
      d7e16fdb
  2. 08 Agu, 2011 37 kayıt (commit)