Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge stable with changes from master #74

Merged
merged 60 commits into from
Mar 27, 2019
Merged

Merge stable with changes from master #74

merged 60 commits into from
Mar 27, 2019

Commits on Jul 22, 2017

  1. Adds option to disable installing cmatrix font

    cmatrix fonts doesnot work inside terminals, the configure.ac file has
    been modified to include a change which will inturn add an optional
    parameter for configure to disable installing the fonts.
    
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok committed Jul 22, 2017
    Configuration menu
    Copy the full SHA
    6525abe View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2017

  1. Adds rainbow mode and fixes screen resize bug

    Fixes window resize problem, earlier when the terminal window was
    resized to a size lesser than 3, a null pointer exception was invoked.
    
    Rainbow mode support gives users the choice of displaying the
    matrix in different colors using the -r option.
    
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    Onur Berk Töre authored and abishekvashok committed Aug 5, 2017
    Configuration menu
    Copy the full SHA
    6ce59e9 View commit details
    Browse the repository at this point in the history
  2. Adds code of conduct

    Code of conduct will help to facilitate healthy and constructive community
    behavior. It will also protect the developers and users of this project.
    
    This doc is recommended by Github.
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok committed Aug 5, 2017
    Configuration menu
    Copy the full SHA
    f0e4e99 View commit details
    Browse the repository at this point in the history
  3. Adds CONTRIBUTING.md

    abishekvashok committed Aug 5, 2017
    Configuration menu
    Copy the full SHA
    33cae7f View commit details
    Browse the repository at this point in the history
  4. Enables building without matrix fonts

    Fixes bugs caused due to the disabling of matrix fonts option provided
    by commit:2869565.
    
    Adds a conditional variable (MATRIX_FONTS) whose value becomes true or
    false depending on whether enable_fonts variable has true as it's
    value which in turn depends whether the user has passed the
    --without-fonts flag. (enable_font is true if --without-fonts flag is
    not passed along with configure). The value of MATRIX_FONTS is checked
    in Makefile.am and another variable BUILD_FONTS to 0 or 1.
    install-data-local in Makefile.am checks for BUILD_FONTS and installs
    fonts if BUILD_FONTS is set to 1.
    abishekvashok committed Aug 5, 2017
    Configuration menu
    Copy the full SHA
    c85f375 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2017

  1. Fixes if condition in Makefile

    The outermost if condition in the Makefile
    requires to be prefixed with a @ symbol.
    make simply prints out the entire function
    even though it executes the function fine.
    shinenelson authored and abishekvashok committed Aug 9, 2017
    Configuration menu
    Copy the full SHA
    704df61 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2017

  1. README.md: fixes typo

    Readme.md file contained a typo, removes it.
    
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok authored Aug 12, 2017
    Configuration menu
    Copy the full SHA
    0096580 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2017

  1. Configuration menu
    Copy the full SHA
    aab39a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb6fe7c View commit details
    Browse the repository at this point in the history
  3. README.md: use more standard conform syntax [minor]

    This allows for easy copy&paste of build instructions,
    and also generates nice output with pandoc now.
    You may test that with:
    
        pandoc -f markdown -t HTML README.md > README.html
    hoijui committed Oct 19, 2017
    Configuration menu
    Copy the full SHA
    38647dd View commit details
    Browse the repository at this point in the history
  4. add support to build with CMake (a meta build system)

    use like this:
    
    	mkdir -p build
    	cd build
    	cmake ..
    	# or
        	#cmake -DCMAKE_INSTALL_PREFIX=/usr ..
    	make
    hoijui committed Oct 19, 2017
    Configuration menu
    Copy the full SHA
    9fffb25 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a8cb0fd View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2017

  1. Configuration menu
    Copy the full SHA
    21ffe61 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2017

  1. README.md: Minor improvements

    Removes outdated information from Readme.md.
    Add code syntax markers and fixes minor typos
    hoijui authored and abishekvashok committed Oct 28, 2017
    Configuration menu
    Copy the full SHA
    be5567e View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2017

  1. Adds screenshot generator script and screenshots

    Adds a script to generate screenshots and screencasts.
    Integrated two of such screenshots into the readme.
    hoijui authored and abishekvashok committed Nov 4, 2017
    Configuration menu
    Copy the full SHA
    0cc3b18 View commit details
    Browse the repository at this point in the history
  2. .Travis.yml: test-compile with CLang aswell

    Adds compiler information to .Travis.yml so
    that Travis compiles files with Clang as well.
    abishekvashok authored Nov 4, 2017
    Configuration menu
    Copy the full SHA
    dfae49d View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2017

  1. Removes "./" from the commands

    If a user tries to run the commands as it is given it throws an error. 
    bash: ./make: No such file or directory
    shameempk authored Nov 16, 2017
    Configuration menu
    Copy the full SHA
    eb62a12 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2017

  1. Merge pull request #24 from shameempk/master

    Removes "./" from the commands in readme.md
    abishekvashok authored Nov 18, 2017
    Configuration menu
    Copy the full SHA
    0ca86d1 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2017

  1. Fix signal handlers and memory related bugs (#26)

    Fixes the wrong sizeof in matrix allocation.
    Also improves the allocation strategy for the matrix,
    it allocates one contiguous array instead of allocating row by row.
    
    Properly free the matrix on reallocation.
    Fixes the memory leak on screen size change.
    
    Fixes uninitialized use of the bold attribute in the matrix
    by setting a default value of 0 in var_init().
    
    The signal handlers were not safe.
    This commit moves the handling logic outside the handler functions and
    makes the handler set a global variable to indicate caught signals.
    tansly authored and abishekvashok committed Dec 1, 2017
    Configuration menu
    Copy the full SHA
    f52a93e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c306e95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6fc9d2f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    737d167 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2017

  1. Merge pull request #17 from hoijui/cmake

    Adds CMake build system support
    abishekvashok authored Dec 4, 2017
    Configuration menu
    Copy the full SHA
    d4d8079 View commit details
    Browse the repository at this point in the history

Commits on Dec 24, 2017

  1. Fixed Travis CI build

    sachincool committed Dec 24, 2017
    Configuration menu
    Copy the full SHA
    f4f5690 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2017

  1. Merge pull request #29 from sachincool/master

    Fixed Travis CI build by touching the aclocal file so that the timestamp gets updated.
    abishekvashok authored Dec 25, 2017
    Configuration menu
    Copy the full SHA
    9046f1c View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2018

  1. remove unused assignment

    hoijui authored and abishekvashok committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    b5c2543 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    66a0be3 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2018

  1. Configuration menu
    Copy the full SHA
    bef9cad View commit details
    Browse the repository at this point in the history
  2. remove autotools generated files

    Remove autotools generated files
    
    match installation instruction described in README
    
    That is running configure in repo root, which is also convention.
    
    Also reshaping the script for a bit of readability.
    livibetter authored and abishekvashok committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    5cfe816 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2018

  1. Merge acconfig.h into configure.ac per autoheader's warning (#35)

    * remove autoheader generated config.h.in and ignore cmatrix.spec
    
    They are missed in 5cfe816.
    
    * merge acconfig.h into configure.ac
    
    Per the following warning:
    
        autoheader-2.69: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
        autoheader-2.69: WARNING: and `config.h.top', to define templates for `config.h.in'
        autoheader-2.69: WARNING: is deprecated and discouraged.
    
    There is a difference in using `AH_TEMPLATE` inside `configure.ac` than
    an `acconfig.h`, the generated `config.h.in` won't have the five keys in
    beginning of the file, they are sorted and listed among all the keys,
    instead.
    livibetter authored and abishekvashok committed Jan 31, 2018
    Configuration menu
    Copy the full SHA
    c594b6a View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. remove the "132x300" screen limit statement (#37)

    See also GH #18.
    livibetter authored and abishekvashok committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    de94079 View commit details
    Browse the repository at this point in the history
  2. only restore TERM when needed, and use putenv (#36)

    Only when `-f` force `TERM=linux` is used and there was a change of
    `$TERM`.
    
    Since, the forcing the TERM uses `putenv(3)`, replaced `system(3)` call
    to be consistent and to get rid of compilation warning of ignoring the
    return value.
    
    Note: using `setenv(3)` is cleaner, as we only needs to keep preserved
    TERM value, no need to format a `"TERM=foobar"` string.  However, as the
    comment L388 stated that `putenv` is more common on non-Linux, so
    keeping this way.
    livibetter authored and abishekvashok committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    93fd357 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2018

  1. add osx build on Travis CI (#39)

    * add osx builds on Travis CI
    
    * check headers in CMake and only include either of termios.h or termio.h
    
    CMake builds failed on basically 93fd357 [1] on OS X since termio.h
    isn't present.
    
    [1]: https://travis-ci.org/livibetter/cmatrix/builds/337114240
    
    cmatrix.c do not need to include both termios.h and termio.h, the latter
    is a wrapper on Linux, on POSIX, the former would do.
    
    CMake should check the header files, not defining blindly, although it's
    not needed as now cmatrix.c only includes one of the headers, however,
    it's a good practice, but it should also halt the build process if
    neither is found.
    livibetter authored and abishekvashok committed Feb 4, 2018
    Configuration menu
    Copy the full SHA
    d4d9881 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2018

  1. Configuration menu
    Copy the full SHA
    a785ff0 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2018

  1. Simplify buffer size handling in va_system: use sizeof(buf)

    This partially undoes commit 66a0be3 ("`va_system()`: rename buffer
    variable and make buffer size a variable"). The size of the buffer can
    be determined using the sizeof keyword.
    
    Furthermore, it is not necessary to subtract 1 from the size. From the
    manual page: "The functions snprintf() and vsnprintf() write at most
    size bytes (including the terminating null byte ('\0')) to str."
    neuschaefer authored and abishekvashok committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    9e97178 View commit details
    Browse the repository at this point in the history
  2. Don't restore the TERM variable before exiting

    On UNIXoids, environment variables are process-local and destroyed when
    a process exits. Thus the code at the end of main that tries to restore
    TERM to its previous value can never have had the desired effect.
    
    Even after this change, running cmatrix -f does not set TERM=linux for
    the calling shell.
    neuschaefer authored and abishekvashok committed Mar 6, 2018
    Configuration menu
    Copy the full SHA
    b5759ff View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2018

  1. Migrate putenv to setenv

    putenv was the old standard. Now setenv has also made it's way to the
    set of UNIX standards. Considering the current buggy nature of putenv
    doing a migration to setenv.
    
    Fixes #38
    
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok committed Mar 27, 2018
    Configuration menu
    Copy the full SHA
    b0f3b89 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2018

  1. Adds .rultor.yml

    Adds .R to facilitate integration of rultor.
    abishekvashok authored Mar 31, 2018
    Configuration menu
    Copy the full SHA
    2ccf323 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. Configuration menu
    Copy the full SHA
    94e63cd View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2018

  1. obvious fix for issue #48

    fogti authored and abishekvashok committed Jun 24, 2018
    Configuration menu
    Copy the full SHA
    afcc803 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2018

  1. .gitignore: Add cmake generated files and cache

    Adds cmake generated build files and local cache to .gitignore so that
    it would not be tracked by git.
    
    Fixes #52
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok committed Jul 15, 2018
    Configuration menu
    Copy the full SHA
    ac498eb View commit details
    Browse the repository at this point in the history
  2. cmatrix.c: Simplify the bold attribute

    Simplifies and beautifies the process which implements multiple levels
    of boldness to the text in cmatrix.
    
    Fixes #53
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok committed Jul 15, 2018
    Configuration menu
    Copy the full SHA
    89a5c05 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2018

  1. Add an option to lock computer (#61)

    Added an option to lock computer
    pierre42100 authored and abishekvashok committed Nov 22, 2018
    Configuration menu
    Copy the full SHA
    0884f67 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2018

  1. Add lambda mode

    io12 committed Dec 11, 2018
    Configuration menu
    Copy the full SHA
    00ff332 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2018

  1. Merge pull request #62 from io12/master

    New feature: Lambda mode
    abishekvashok authored Dec 12, 2018
    Configuration menu
    Copy the full SHA
    70be5c3 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2019

  1. Small cmatrix.c fixes

    Fix c_die function, now it prints msg.
    Remove spaces at the end of lines.
    Remove redundant srand(...) usage.
    
    Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
    Andrey Abramov committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    1e53d6f View commit details
    Browse the repository at this point in the history
  2. Reolve issue #25

    This should resolve issue #25 (exit on first keystroke should print the keystroke on the terminal).
    
    Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
    Andrey Abramov committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    173d8ec View commit details
    Browse the repository at this point in the history
  3. Moved for initial declarations out of loop

    Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
    Andrey Abramov committed Mar 24, 2019
    Configuration menu
    Copy the full SHA
    b5b2478 View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2019

  1. Merge pull request #66 from FrozenAndrey/small-fixes

    Small cmatrix.c fixes
    abishekvashok authored Mar 26, 2019
    Configuration menu
    Copy the full SHA
    7d1af24 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #67 from FrozenAndrey/resolve#25

    Resolve issue #25
    abishekvashok authored Mar 26, 2019
    Configuration menu
    Copy the full SHA
    0f820eb View commit details
    Browse the repository at this point in the history
  3. Fix #70 (-B (all bold) option does not work.)

    Fixes #70 (-B (all bold) option does not work.)
    
    Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
    Andrey Abramov committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    72460ba View commit details
    Browse the repository at this point in the history
  4. Small fixes about -l option

    Fix typo.
    The case when we don't have both "setfont" and "consolechars" is considered.
    
    Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
    Andrey Abramov committed Mar 26, 2019
    Configuration menu
    Copy the full SHA
    2f936b3 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2019

  1. Merge pull request #72 from FrozenAndrey/small-fixes-about-l-option

    Small fixes about -l option
    abishekvashok authored Mar 27, 2019
    Configuration menu
    Copy the full SHA
    71f8240 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #71 from FrozenAndrey/fix#70

    Fix #70 (-B (all bold) option does not work.)
    abishekvashok authored Mar 27, 2019
    Configuration menu
    Copy the full SHA
    67cf6ee View commit details
    Browse the repository at this point in the history
  3. Fix #68

    Fixes #68 (First symbol in a drawing line is green like others)
    
    Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
    Andrey Abramov committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    3d76461 View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary loop

    Signed-off-by: Andrey Abramov <st5pub@yandex.ru>
    Andrey Abramov committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    7ad0c61 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #69 from FrozenAndrey/fix#68

    Fixes #68 (First symbol in a drawing line is green like others)
    abishekvashok authored Mar 27, 2019
    Configuration menu
    Copy the full SHA
    8b716ff View commit details
    Browse the repository at this point in the history
  6. cmatrix.c: Adds Japanese characters support

    Adds classic mode which can be invoked with "c", which uses Japanese
    characters instead of the regular English characters that cmatrix
    outputed earlier. Done to match up with the original matrix.
    
    The starting, ending, and range for randum number (corresponding to the
    unicode character) is modified to suite the Japanese character range.
    Requires appropriate Japanese fonts to make it work.
    
    Fixes #57
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    80e1c4a View commit details
    Browse the repository at this point in the history
  7. cmatrix.c: Calculate randnum against hardcoding it

    Modifies code to calculate randnum from values of highnum and randmin
    which are used for matrix randum unicode generation. The last
    implementation contained hardcoded values.
    
    Signed-off-by: Abishek V Ashok <abishekvashok@gmail.com>
    abishekvashok committed Mar 27, 2019
    Configuration menu
    Copy the full SHA
    66ab05c View commit details
    Browse the repository at this point in the history
  8. Merge pull request #73 from abishekvashok/pull1

    Adds support for japanese characters
    abishekvashok authored Mar 27, 2019
    Configuration menu
    Copy the full SHA
    ad212c8 View commit details
    Browse the repository at this point in the history