Permalink
Commits on Jul 25, 2017
  1. Many changes, bad programmer!

    adoxa committed Jul 25, 2017
    Just copying the history from the source:
    
    recognize the standard handle defines in WriteFile;
    minor speed improvement by caching GetConsoleMode;
    keep track of three handles (ostensibly stdout, stderr and a file);
    test a DOS header exists before writing to e_oemid;
    more flexible/robust handling of data directories;
    files writing to the console will always succeed;
    log: use API file functions and a custom printf;
         add a blank line between processes;
         set function name for MyWriteConsoleA;
    scan imports from "kernel32" (without extension);
    added dynamic environment variable CLICOLOR;
    removed _hwrite (it's the same address as _lwrite);
    join multibyte characters split across separate writes;
    remove wcstok, avoiding potential interference with the host;
    similarly, use a private heap instead of malloc.
Commits on Jul 7, 2017
  1. Support cross-compiling (#104)

    darealshinji committed with adoxa Jul 7, 2017
    * Support cross-compiling
    
    * Don't fail to detect i686-w64-mingw32 targets
Commits on Oct 23, 2015
  1. Merge pull request #86 from amullins83/vs2015_crt_non

    adoxa committed Oct 23, 2015
    Add _CRT_NON_CONFORMING_WCSTOK define
Commits on Jul 4, 2014
  1. Merge branch 'sun-readme'

    adoxa committed Jul 4, 2014
  2. Merge branch 'readme' of https://github.com/sun/ansicon into sun-readme

    adoxa committed Jul 4, 2014
    Add readme.md, but still keep readme.txt.
Commits on Jul 1, 2014
Commits on Feb 26, 2014
  1. Recognise more sequences; ignore newline immediately after wrap.

    adoxa committed Feb 26, 2014
    Added support for CHT & CBT (move forward/backward by tabs), DECAWM (don't
    wrap at EOL), CRM (display control characters, but still perform newline)
    and REP (repeat last character, including BEL, BS, TAB, LF and CR).
    
    It always bugged me that newline would add an unneeded blank line due to
    wrap, but not enough to do anything about it.  For some reason, adding CRM
    got me to thinking about it, so I finally did it.
    
    Stopped \e[K from erasing the first character of the next line.
    Restore cursor visibility on unload.
Commits on Feb 20, 2014
  1. Use window height, not buffer.

    adoxa committed Feb 20, 2014
    Clear screen (\e[2J) will scroll in a new window the first time it's used,
    or the window has scrolled, or the cursor is on the last line of the buffer.
    
    Restore Cursor Position (\e[u) will recognise screen size changes and limit
    itself to the new boundaries.
Commits on Feb 18, 2014
  1. Better parsing of escape & CSI sequences.

    adoxa committed Feb 18, 2014
    Recognise general Parameter & Intermediate Bytes, rather than testing
    specific characters.  Explicitly ignore xterm 38 & 48 SGR values.
Commits on Feb 10, 2014
  1. Exclude entire programs; better hooking of dynamically-loaded libraries.

    adoxa committed Feb 10, 2014
    ANSICON_EXC can now be used to exclude an entire program (including children).
    This is achieved by simply not specifying an extension: ANSICON_EXC=program.exe
    will just ignore program.exe (its DLLs will still be hooked, as will its child-
    ren), but ANSICON_EXC=program will not hook program at all (which also means
    its children will not be hooked).
    
    The various LoadLibrary hooks would only hook the DLL that was specified - any
    DLLs it loaded would be missed.  That has now been rectified.  Similarly, a DLL
    that is injected via CreateRemoteThread, using LoadLibraryA or LoadLibraryW as
    its ThreadProc, will now be hooked.
Commits on Feb 8, 2014
Commits on Feb 7, 2014
Commits on Feb 4, 2014
  1. Inject by adding to the Import Directory Table.

    adoxa committed Feb 4, 2014
    -p uses CreateRemoteThread, determining kernel32.dll & LLW dynamically.
    Loading via LoadLibrary will remember the current attributes, restoring them on
    unload.
    Tweaked log output (remove quotes around CreateProcess command line; add an
    underscore to 64-bit addresses).
    ansicon.exe will really output (to the console) strings as Unicode.
    Fixed ansicon.exe, if installed, restoring the default attributes, not current.
    ansicon.exe will start with ANSICON_DEF (if defined and -m not used).
Commits on Jan 27, 2014
Commits on Jan 25, 2014
  1. LoadLibrary hooking improvements.

    adoxa committed Jan 25, 2014
    Don't hook ourself from LoadLibrary or LoadLibraryEx.
    Test additional LoadLibraryEx flags before deciding to hook.
Commits on Nov 13, 2013
Commits on Sep 20, 2013
Commits on Sep 19, 2013
Commits on Sep 4, 2013
Commits on Aug 2, 2013
Commits on Jul 25, 2013
Commits on Jul 18, 2013
Commits on Feb 20, 2013
  1. Minor change to the readme.

    adoxa committed Feb 20, 2013
Commits on Feb 14, 2013
  1. Commit the updated readme...

    adoxa committed Feb 14, 2013
  2. Go back to using ANSI-LLW.exe.

    adoxa committed Feb 14, 2013
Commits on Nov 24, 2012
  1. New method to obtain 32-bit LoadLibraryW from 64-bit code, eliminatin…

    adoxa committed Nov 24, 2012
    …g the need
    
    for ANSI-LLW.exe.
    Set the code page so ansicon.exe can display some strings properly.
    Expand wildcards for -t.
    VC6 can now compile the 32-bit version; use it for the release binaries.
    Improvements to the VC makefile.
    Describe the sequences in a bit more detail.
Commits on Jun 12, 2012
Commits on Jun 2, 2012
Commits on Jun 1, 2012
  1. Implemented \e[39m & \e[49m.

    adoxa committed Jun 1, 2012
Commits on Apr 10, 2012
Commits on Feb 24, 2012