Skip to content

Commit

Permalink
Merge pull request #86 from hboutemy/javadoc
Browse files Browse the repository at this point in the history
Javadoc
  • Loading branch information
gnodet committed Sep 20, 2017
2 parents 3ce6987 + f33497c commit 769ebe0
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
32 changes: 16 additions & 16 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ![Jansi](http://fusesource.github.io/jansi/images/project-logo.png)

## [Jansi 1.16][1_16], released 2017-05-xx
[1_16]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.16
## [Jansi 1.16][1_16], released 2017-05-04
[1_16]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.16

* [`90fb161`](https://github.com/fusesource/jansi/commit/90fb1619323ae32f9ff5b982fdcbb8939d1970b2) Update changelog
* [`18368e3`](https://github.com/fusesource/jansi/commit/18368e3adfe77574e7201693df7c557f6a6ec717) Support insert / delete lines ansi sequences
Expand All @@ -28,7 +28,7 @@
* [`4702c58`](https://github.com/fusesource/jansi/commit/4702c58cfa41b544f8df85f505f4134f278f71b3) site enhancements for 1.15 release

## [Jansi 1.15][1_15], released 2017-03-17
[1_15]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.15
[1_15]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.15

* [`1e70152`](https://github.com/fusesource/jansi/commit/1e701521ac6a4dec202a3dcf608744724dbb3e06) Merge remote-tracking branch 'dblock/readme-colors'
* [`a8cda38`](https://github.com/fusesource/jansi/commit/a8cda38de363ac11d6a422a1838a5c372e1e0e21) Code cleanup
Expand All @@ -44,7 +44,7 @@
* [`38a24fa`](https://github.com/fusesource/jansi/commit/38a24fa29fa774719ea4a9a7a80797ec49a92aba) Avoid `processCursorDown` overflow on Y axis

## [Jansi 1.14][1_14], released 2016-10-04
[1_14]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.14
[1_14]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.14

* [`eeda18c`](https://github.com/fusesource/jansi/commit/eeda18cb05122abe48b284dca969e2c060a0c009) Merge pull request [#59](http://github.com/fusesource/jansi/issues/59) from sschuberth/master
* [`b84df55`](https://github.com/fusesource/jansi/commit/b84df55b6c6a0688cf8ad790d4a3ac952ea6b9d0) Merge pull request [#65](http://github.com/fusesource/jansi/issues/65) from jbonofre/NATIVE_FIX
Expand All @@ -53,7 +53,7 @@
* [`fad337e`](https://github.com/fusesource/jansi/commit/fad337edcf1a58e2f9a0c0f329e74f9b608419c2) Improve fix for issue [#55](http://github.com/fusesource/jansi/issues/55). If we can't load that natives for any reason, fallback to better defaults.

## [Jansi 1.13][1_13], released 2016-06-15
[1_13]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.13
[1_13]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.13

* [`a7ec77c`](https://github.com/fusesource/jansi/commit/a7ec77c0ad5cb05f8becdb035fd7fbac9992ae3e) Updating website bits.
* [`55c3817`](https://github.com/fusesource/jansi/commit/55c381767a2bd6f744f796c7b435afbf02c74a99) Merge pull request [#50](http://github.com/fusesource/jansi/issues/50) from sschuberth/master
Expand All @@ -70,7 +70,7 @@
* [`b9f61a2`](https://github.com/fusesource/jansi/commit/b9f61a235471253bdefabe7f8167d5271f247f39) Update readme.md

## [Jansi 1.12][1_12], released 2016-04-27
[1_12]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.12
[1_12]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.12

* [`5d4eb66`](https://github.com/fusesource/jansi/commit/5d4eb665e428a63851ab2b51bad7c3487803e841) Fixing dep id.
* [`3949775`](https://github.com/fusesource/jansi/commit/3949775bb2df312d720fa22439efbea2b14e6ef4) Update parent pom.
Expand Down Expand Up @@ -103,63 +103,63 @@
* [`9bab505`](https://github.com/fusesource/jansi/commit/9bab505bfbd57c8511ef3641c6d0fe41c92302dd) Merge pull request [#19](http://github.com/fusesource/jansi/issues/19) from xuwei-k/patch-1

## [Jansi 1.11][1_11], released 2013-05-13
[1_11]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.11
[1_11]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.11

* Upgraded to the latest hawtjni version.

## [Jansi 1.10][1_10], released 2013-03-25
[1_10]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.10
[1_10]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.10

* Upgraded to the latest jansi native release (1.5).

## [Jansi 1.9][1_9], released 2012-06-04
[1_9]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.9
[1_9]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.9

* Added HtmlAnsiOutputStream that converts ANSI output to HTML.
* Fixed handling of default text and background color.

## [Jansi 1.8][1_8], released 2012-02-15
[1_8]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.8
[1_8]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.8

* Updated bundled native libraries:
* Windows: Added support for isatty and link against the system msvcrt.dll (so no need for VC redistributables).
* Add some helper methods to turn bold on and off.
* If the jansi.passthrough system property is set, then Jansi will not interpret any of the ANSI sequences.

## [Jansi 1.7][1_7], released 2011-09-21
[1_7]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.7
[1_7]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.7

* Updated bundled native libraries:
* Windows: Adding support for PeekConsoleInputW, FlushConsoleInputBuffer so that CTRL-C can be handled by jline. Discarding mouse events on readConsoleInput.
* Linux: Built against glib 2.0 to be compatible with more versions of Linux.

## [Jansi 1.6][1_6], released 2011-06-19
[1_6]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.6
[1_6]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.6

* Upgrade to HawtJNI 1.2 to pick up a fix to support 32 and 64 bit JVMs on a single machine.
* Add copy constructor for Ansi class.
* Port website doco to use Scalate instead of webgen.

## [Jansi 1.5][1_5], released 2010-11-04
[1_5]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.5
[1_5]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.5

* Support for parsing Operating System Command (OSC) control sequences.
* Windows: added support for setting the console title through an OSC command, like on xterm.
* Added option to strip ANSI escapes if the 'jansi.strip' system property is set to true.

## [Jansi 1.4][1_4], released 2010-07-15
[1_4]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.4
[1_4]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.4

* JNI libs are now bundled in the Jansi jar.
* Windows: added support for save and restore of cursor position, fixed bug in processCursorTo.

## [Jansi 1.3][1_3], released 2010-03-08
[1_3]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.3
[1_3]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.3

* Switched to a HawtJNI generated native library instead of using JNA to access native functions.

## [Jansi 1.2.1][1_2_1], released 2010-03-08
[1_2_1]: http://repo.fusesource.com/nexus/content/groups/public/org/fusesource/jansi/jansi/1.2.1
[1_2_1]: https://repo.maven.apache.org/maven2/org/fusesource/jansi/jansi/1.2.1

* Released to Maven Central.

Expand Down
12 changes: 7 additions & 5 deletions jansi/src/main/java/org/fusesource/jansi/AnsiOutputStream.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
* A ANSI output stream extracts ANSI escape codes written to
* an output stream and calls corresponding <code>process*</code> methods.
*
* For more information about ANSI escape codes, see:
* http://en.wikipedia.org/wiki/ANSI_escape_code
* <p>For more information about ANSI escape codes, see
* <a href="http://en.wikipedia.org/wiki/ANSI_escape_code">Wikipedia article</a>
*
* This class just filters out the escape codes so that they are not
* <p>This class just filters out the escape codes so that they are not
* sent out to the underlying OutputStream: <code>process*</code> methods
* are empty. Subclasses should actually perform the ANSI escape behaviors
* by implementing active code in <code>process*</code> methods.
Expand Down Expand Up @@ -443,15 +443,17 @@ protected void processSaveCursorPosition() throws IOException {
}

/**
* Process <code>CSI s</code> ANSI code, corresponding to <code>IL – Insert Line</code>
* Process <code>CSI L</code> ANSI code, corresponding to <code>IL – Insert Line</code>
* @throws IOException
* @since 1.16
*/
protected void processInsertLine(int optionInt) throws IOException {
}

/**
* Process <code>CSI s</code> ANSI code, corresponding to <code>DL – Delete Line</code>
* Process <code>CSI M</code> ANSI code, corresponding to <code>DL – Delete Line</code>
* @throws IOException
* @since 1.16
*/
protected void processDeleteLine(int optionInt) throws IOException {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import java.io.IOException;
import java.io.OutputStream;

import org.fusesource.jansi.internal.Kernel32;
import org.fusesource.jansi.internal.WindowsSupport;
import org.fusesource.jansi.internal.Kernel32.CONSOLE_SCREEN_BUFFER_INFO;
import org.fusesource.jansi.internal.Kernel32.COORD;
Expand Down

0 comments on commit 769ebe0

Please sign in to comment.