<commit_before>FakeInput library
=================

FakeInput is user input simulation library. It provides API to programaticaly
generate input events from input devices such as keyboard and mouse. 
Also you can use it to execute any external programs.

It is written in C++ and ported to Unix-like and Windows platforms.

Author
------

<NAME> (<EMAIL>)

Requirements
------------

To succesfully build this library you need this:

- [CMake](http://www.cmake.org/) build system

Unix-like platform only:

- [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
- [Xlib](http://en.wikipedia.org/wiki/Xlib) library
- XTest extension of Xlib

If you want to build also test applications, you need this:

- [Qt 4](http://qt.nokia.com/) framework

If you want to generate API documentation, you need this:

- [Doxygen](http://www.stack.nl/~dimitri/doxygen/) documentation system

Build & Installation
--------------------

1. First you have to download the source code:

    - using [Git](http://git-scm.com):

        `git clone https://uiii@github.com/uiii/FakeInput.git`

    - or download the archive

        [.tar.gz](https://github.com/uiii/FakeInput/tarball/master)

        [.zip](https://github.com/uiii/FakeInput/zipball/master)

2. Build the library:

    on Unix open your console, on Windows open Visual Studio command prompt

    - prepare the build:

        go to FakeInput's root and make build directory:

            cd FakeInput && mkdir build && cd build

        now generate files needed to build:

            cmake ../

        * `cmake ../` command has some options and properties you can set.

            if you want to build test application set `-DTEST_APP=ON`

            if you want to generate API documentation set `-DDOC=ON`

            to specify installation location set `-DINSTALL_PREFIX=path/where/to/install`
            
    - compile & install:

        - on Unix-like platform run:

                make
                make install

        - on Windows:

            it depends on the generator you set to CMake (see [this][generator]),
            by default it is Visual Studio project file:

                msbuild FakeInput.sln /p:Configuration=Release
                msbuild INSTALL.vcxproj /p:Configuration=Release

            or you can do it in Visual Studio (open FakeInput.sln project file)

[generator]: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#opt:-Ggenerator-name<commit_msg>README update<commit_after>FakeInput library
=================

FakeInput is user input simulation library. It provides API to programaticaly
generate input events from input devices such as keyboard and mouse. 
Also you can use it to execute any external programs.

It is written in C++ and ported to Unix-like and Windows platforms.

Author
------

<NAME> (<EMAIL>)

Requirements
------------

To succesfully build this library you need this:

- [CMake](http://www.cmake.org/) build system

Unix-like platform only:

- [pkg-config](http://www.freedesktop.org/wiki/Software/pkg-config)
- [Xlib](http://en.wikipedia.org/wiki/Xlib) library
- XTest extension of Xlib

If you want to build also test applications, you need this:

- [Qt 4](http://qt.nokia.com/) framework

If you want to generate API documentation, you need this:

- [Doxygen](http://www.stack.nl/~dimitri/doxygen/) documentation system

Build & Installation
--------------------

1. **First you have to download the source code**:

    - using [Git](http://git-scm.com):

        `git clone https://uiii@github.com/uiii/FakeInput.git`

    - or download the archive

        [.tar.gz](https://github.com/uiii/FakeInput/tarball/master)

        [.zip](https://github.com/uiii/FakeInput/zipball/master)

2. **Build the library**:

    - prepare the build:

        on _Unix-like platform_ open your console

        on _Windows_ open Visual Studio command prompt

        go to _FakeInput_'s root and make build directory:

            cd FakeInput && mkdir build && cd build

        now generate files needed to build:

            cmake ../

        * `cmake ../` command has some options and properties you can set.

            if you want to build test application set `-DTEST_APP=ON`

            if you want to generate API documentation set `-DDOC=ON`

            to specify installation location set `-DINSTALL_PREFIX=path/where/to/install`
            
    - compile & install:

        - on _Unix-like platform_ run:

                make
                make install

        - on _Windows_:

            it depends on the generator you set to CMake (see [this][generator]),
            by default it is Visual Studio project file:

                msbuild FakeInput.sln /p:Configuration=Release
                msbuild INSTALL.vcxproj /p:Configuration=Release

            or you can do it in Visual Studio (open FakeInput.sln project file)

        - The path where the library will be installed can be set during previous phase (*prepare the build*),
        default paths are:

            `/usr/local` on _Unix-like platform_

            `C:\Program Files\FakeInput` on _Windows_

[generator]: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#opt:-Ggenerator-name
{'fraction_non_alphanumeric': 0.11117511520737328, 'fraction_numerical': 0.0019201228878648233, 'mean_word_length': 2.4337508239947265, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7332934', 'n_tokens_mistral': 1521, 'n_tokens_neox': 1424, 'n_words': 517}