1. 02 4月, 2014 2 次提交
  2. 01 4月, 2014 10 次提交
  3. 31 3月, 2014 16 次提交
  4. 30 3月, 2014 1 次提交
  5. 28 3月, 2014 6 次提交
  6. 27 3月, 2014 5 次提交
    • Travis Cross's avatar
      Reenable the new EL_REFRESH mechanism · 11f4628c
      Travis Cross 提交于
      11f4628c
    • Travis Cross's avatar
      Handle bodies not ending in newlines w/EL_REFRESH · 59f80c9e
      Travis Cross 提交于
      The issue is that sofia siptrace output doesn't end each line with a
      newline.  Instead it sends a separate newline afterward, which comes
      in as a separate event body.  With the new EL_REFRESH code in effect
      the line is being cleared after the siptrace output has been written
      but before that next newline comes in.
      
      With our own refresh code this doesn't happen because of slight
      differences in where the stdio buffers get flushed compared to where
      the output of clear_line() ends up.
      
      This is a bit of a clumsy workaround.  But we'll fix it first, then
      refactor.
      59f80c9e
    • Travis Cross's avatar
      Turn on the fancy fs_cli with a modern libedit · 3bc51dff
      Travis Cross 提交于
      We turn ON the features with a newer libedit.
      
      This fixes commit 4f54f912.
      3bc51dff
    • Travis Cross's avatar
      Add back terminal detection for old libedits · 4f54f912
      Travis Cross 提交于
      Using the system libedit means that libedit will again make absolute
      movements on certain kinds of terminals.  Older versions of libedit
      without EL_PROMPT_ESC miscalculate the length of the prompt.
      Combined, this results in the cursor ending up in the wrong place.
      
      We knew this was a possibility when we moved to system libedit, and
      we're OK with it.  We certainly lived without this fancy prompt
      feature for a long time.
      
      This change puts back in place detection of the terminal type when
      EL_PROMPT_ESC isn't available.  On these older versions of libedit,
      we'll only enable the fancy features when we know that libedit will
      only make relative movements and not tickle the bug.
      
      This partially reverts commit:
      b9b77bd6
      4f54f912
    • Travis Cross's avatar
      Drop use of libedit EL_REFRESH in fs_cli for now · dc093d17
      Travis Cross 提交于
      Newer versions of libedit provide an EL_REFRESH mechanism for
      redrawing the prompt.  We had previously written our own code to
      handle this.  In theory handing this over to libedit should be better.
      
      Unfortunately when using EL_REFRESH the output of sofia siptrace isn't
      showing up.  We're working on that, but for now we're just force own
      our redrawing code to be used instead.
      dc093d17