Permalink
Commits on Jul 2, 2017
  1. Merge branch mvn into master

    aclemons committed Jul 2, 2017
    Closes #2
  2. Fixup pom.xml

    aclemons committed Jul 2, 2017
    * Add enforcer plugin and plugin versions
    * Set correct licence
    * Add developers
    * Change minimal java version to 1.5
    * Configure animal-sniffer plugin
    * Run maven build on travis
  3. Some cleanup.

    bengtmartensson authored and aclemons committed Jun 30, 2017
  4. Maven-ized.

    bengtmartensson authored and aclemons committed Aug 8, 2015
Commits on Jun 28, 2017
  1. Prepare release 0.8.2

    aclemons committed Jun 28, 2017
  2. Prepare release 0.8.2

    aclemons committed Jun 28, 2017
  3. Return a newly allocated string from java_completer

    aclemons committed Jun 28, 2017
    This is required since java will manage that string's lifecycle. Not
    doing this will end up with a double free.
Commits on Jun 24, 2017
  1. Prepare release 0.8.1

    aclemons committed Jun 24, 2017
Commits on Jun 23, 2017
Commits on Jun 22, 2017
  1. Correctly handle string encodings in java-readline

    aclemons committed May 18, 2017
    Previously java-readline always assumed either a C or latin1 locale.
    Using java-readline with a UTF-8 locale with non-ascii characters would
    result in mangled input and output for characters outside the ascii
    range.
    
    This commit reworks the string handling to respect the current locale
    and to also work with characters outside the BMP when in a UTF-8 locale.
    
    This might be possible to fix by using native C-code, but it seemed
    simpler to just use JNI to have java use the default encoding for
    converting the bytes between C and JNI.
    
    Calling a readline function will return an array of bytes in the default
    platform encoding, which I now convert to a jstring by calling:
    
    new String(byte[])
    
    from JNI, which will use the default platform encoding. The opposite is
    also true. Given a jstring, I convert to a char* by calling:
    
    string.getBytes()
    
    from JNI, which will also use the default platform encoding.
    
    The bats test suite for this is now passing for all cases.
  2. Remove oraclejdk7 from travis config

    aclemons committed Jun 22, 2017
    The ubuntu oracle-java7-installer can no longer download the tarball for
    this version from oracle.
  3. Update TODO list

    aclemons committed Jun 22, 2017
  4. Prepare release 0.8.1

    aclemons committed Jun 22, 2017
  5. Switch off doclint with JDK > 8

    aclemons committed Jun 22, 2017
    We will sort out the invalid javadocs in a later release.
Commits on Jun 10, 2017
  1. Add bats test case and run with travis

    aclemons committed Jun 10, 2017
    java-readline currently mangles UTF-8 input. It is tentatively planned
    to fix this in 0.9.0 so all test cases for UTF-8 input/output are
    currently disabled.
    
    Additionally, Getline is currently completely broken so these test cases
    are also currently disabled.
  2. Fix compilation with clang

    aclemons committed Jun 10, 2017
  3. Use ANSI C comments in org_gnu_readline_Readline.c

    aclemons committed Jun 10, 2017
    All other code uses ANSI C style. For consistency, use ANSI C comments
    here too.
  4. Add .gitignore

    aclemons committed May 18, 2017
Commits on May 29, 2017
Commits on Feb 4, 2016
  1. initial entry

    bablokb committed Feb 4, 2016
Commits on Jan 7, 2004
Commits on Jan 6, 2004
  1. updated todo-list

    bablokb committed Jan 6, 2004