Permalink
Commits on Aug 22, 2012
  1. Move JRuby initialization into system_extension's initialize method.

    mnzaki committed Aug 22, 2012
    The instance variables where not being set before this change, and were actually
    being set by old code in highline.rb that has now been removed.
Commits on Jul 18, 2012
  1. Give JLine higher priority over ncurses which is slightly broken on J…

    mnzaki committed Jul 18, 2012
    …Ruby.
    
    Also remove the comment about ffi-ncurses being required for proper
    functionality on JRuby.
  2. Factor out the terminal state setting code.

    mnzaki committed Jul 18, 2012
    It does not look like we need to set and reset state on every character, so
    allow the higher level code to handle when to do that.
    
    The JRuby special casing has been removed and has been integrated into the
    system_extensions.rb file, adding a new CHARACTER_MODE = "jline"
    
    jline, stty and ncurses modes have been tested, but termios needs testing.
    
    Windows code was not touched.
    
    The Question::character = :getc option does not make sense anymore.
  3. Remove the get_single_character method.

    mnzaki committed Jul 18, 2012
    Rely on get_character as defined per system/platform.
Commits on Jul 17, 2012
  1. Update JRuby code to work with JRuby-1.7, which uses jline-2.7

    mnzaki committed Jul 17, 2012
    This is an initial update. A bit of refactoring is needed. A lot of code can
    move into system_extensions.rb so we can have highline.rb clean of any special
    casing.
Commits on Jun 26, 2012
  1. Merge pull request #40 from mjtko/master

    JEG2 committed Jun 26, 2012
    Take into account color escape sequences when wrapping
Commits on Jun 15, 2012
  1. Version bump.

    JEG2 committed Jun 15, 2012
  2. Merge pull request #38 from sgonyea/master

    JEG2 committed Jun 15, 2012
    Remove shebangs
  3. Retain the shebangs on the examples.

    Scott Gonyea committed Jun 15, 2012
Commits on Jun 12, 2012
  1. Remove shebangs. Fix shebang-spec.

    Scott Gonyea committed Jun 12, 2012
  2. Change shebangs to use /usr/bin/env to find the ruby.

    Scott Gonyea committed Jun 12, 2012
Commits on May 14, 2012
  1. Merge pull request #37 from iconoclast/master

    JEG2 committed May 14, 2012
    Feature: Typing verification using multiple matching entries
Commits on May 13, 2012
  1. Add typing verification through multiple matching entries

    iconoclast committed May 13, 2012
    Setting verify_match on a question will allow for
    "please type it in again for verification" style entries,
    such as commonly seen when setting/changing passwords, etc.
    
    This leverages the existing gather mechanism to control asking
    for multiple entries, but returns a single answer once all
    gathered entries match.
  2. Duplicate the string passed in to Question.new

    iconoclast committed May 8, 2012
    The question string is modified by some of the methods in Question,
    so use a copy of the original string.
Commits on May 9, 2012
  1. Fixing packaging task.

    JEG2 committed May 9, 2012
  2. Silencing more warnings.

    JEG2 committed May 9, 2012
  3. Silencing warnings.

    JEG2 committed May 9, 2012
Commits on May 7, 2012
  1. Merge pull request #36 from iconoclast/master

    JEG2 committed May 7, 2012
    Fix terminal_size to work under JRuby by using Jline
  2. Use Jline to report terminal_size when using JRuby on Unix without ff…

    iconoclast committed May 7, 2012
    …i-ncurses.
    
    This avoids errors from trying to use stty in JRuby if ffi-ncurses
    isn't available.
Commits on Apr 30, 2012
  1. Merge pull request #35 from rossmeissl/simulator

    JEG2 committed Apr 30, 2012
    Add Highline::Simulator for use in tests
  2. Correct case

    rossmeissl committed Apr 30, 2012
Commits on Apr 28, 2012
  1. Merge pull request #34 from cgorshing/master

    JEG2 committed Apr 28, 2012
    Moved README to README.md
Commits on Apr 27, 2012
Commits on Apr 26, 2012
  1. Moved README to markdown

    cgorshing committed Apr 26, 2012
Commits on Apr 9, 2012
  1. Merge pull request #33 from jc00ke/patch-1

    JEG2 committed Apr 9, 2012
    Fixing typos
Commits on Apr 8, 2012
  1. Fixing typos

    jc00ke committed Apr 8, 2012
Commits on Jan 24, 2012
  1. Bumping the version.

    JEG2 committed Jan 24, 2012
  2. Merge pull request #32 from Flameeyes/master

    JEG2 committed Jan 24, 2012
    Just a little fix :)