Skip to content
Snippets Groups Projects
  1. Jun 07, 2010
  2. Jun 10, 2010
  3. Jun 06, 2010
    • Katsunori FUJIWARA's avatar
      help: show value requirement and multiple occurrence of options · 40c06bbf
      Katsunori FUJIWARA authored
      this helps users to know what kind of option is:
      
        - no value is required(flag option)
        - value is required
        - value is required, and multiple occurrences are allowed
      
      each kinds are shown as below:
      
       -f --force              force push
       -e --ssh CMD            specify ssh command to use
       -b --branch BRANCH [+]  a specific branch you would like to push
      
      if one or more 3rd type options are shown, explanation for '[+]' mark
      is also shown as footnote.
      40c06bbf
  4. Jun 09, 2010
    • Christian Ebert's avatar
      keyword: pass context to kwtemplater.overwrite · e4274f9f
      Christian Ebert authored
      Now that we have retrieved the context in every calling function
      except commit, pass it as argument to kwtemplater.overwrite to
      avoid looking it up twice.
      
      Reorder arguments to kwtemplater.overwrite to reflect their
      importance.
      
      Turn node argument into a simple boolean and rename it to iswctx.
      e4274f9f
  5. Jun 08, 2010
  6. Jun 09, 2010
  7. Jun 08, 2010
  8. Jun 07, 2010
  9. Jun 04, 2010
    • Steve Borho's avatar
      color: labeled text should be passed to ui.write() as ui.labeled · e1dde736
      Steve Borho authored
      Some implementations of ui.label() (HTML versions in particular) must escape
      the provided text and then markup the text with their tags.  When this marked
      up text is then passed to ui.write(), we must label the text as 'ui.labeled'
      so the implementation knows not to escape it a second time (exposing the initial
      markup).
      
      This required the addition of a 'ui.plain' label for text that is purposefully
      not marked up.
      
      I was a little pedantic here, passing even ' ' strings to ui.label() when it
      would be included with other labeled text in a ui.write() call.   But it seemed
      appropriate to lean to the side of caution.
      e1dde736
  10. Jun 07, 2010
  11. Jun 06, 2010
    • Pradeepkumar Gayam's avatar
      shrink-repo: wrong variable name · 3e46d76e
      Pradeepkumar Gayam authored
      3e46d76e
    • Katsunori FUJIWARA's avatar
      replace Python standard textwrap by MBCS sensitive one for i18n text · d320e704
      Katsunori FUJIWARA authored
      Mercurial has problem around text wrapping/filling in MBCS encoding
      environment, because standard 'textwrap' module of Python can not
      treat it correctly. It splits byte sequence for one character into two
      lines.
      
      According to unicode specification, "east asian width" classifies
      characters into:
      
         W(ide), N(arrow), F(ull-width), H(alf-width), A(mbiguous)
      
      
      W/N/F/H can be always recognized as 2/1/2/1 bytes in byte sequence,
      but 'A' can not. Size of 'A' depends on language in which it is used.
      
      Unicode specification says:
      
         If the context(= language) cannot be established reliably they
         should be treated as narrow characters by default
      
      but many of class 'A' characters are full-width, at least, in Japanese
      environment.
      
      So, this patch treats class 'A' characters as full-width always for
      safety wrapping.
      
      This patch focuses only on MBCS safe-ness, not on writing/printing
      rule strict wrapping for each languages
      
      MBCS sensitive textwrap class is originally implemented
      by ITO Nobuaki <daydream.trippers@gmail.com>.
      d320e704
  12. Jun 03, 2010
  13. Jun 05, 2010
Loading