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

fix a crash hapenning since updating Ubuntu 18.04 #10

Open
wants to merge 22 commits into
base: master
Choose a base branch
from

Commits on Jan 17, 2014

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

Commits on Jul 7, 2015

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

Commits on Jan 24, 2016

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

Commits on Oct 1, 2016

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

Commits on Jan 28, 2017

  1. Remove abs(float) function that clashes with std::abs(float)

    Depending on which C++ standard library headers have been included there
    might an abs(float) function already declared in the global namespace,
    so the definition in this file conflicts with it. This cause a build
    failure with GCC 7, which conforms more closely to the C++ standard with
    respect to overloads of abs.
    
    Including <cmath> and adding a using-declaration for std::abs ensures
    that the standard std::abs(float) function is available. This solution
    should be portable to all compilers.
    jwakely committed Jan 28, 2017
    Configuration menu
    Copy the full SHA
    9e2c323 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2017

  1. Remove requirement for current device to be in absolute mode, this wi…

    …ll allow mtrack to be used with easystroke
    p2rkw committed Feb 1, 2017
    Configuration menu
    Copy the full SHA
    5f6885c View commit details
    Browse the repository at this point in the history
  2. Increase required scores

    p2rkw committed Feb 1, 2017
    Configuration menu
    Copy the full SHA
    c328ef3 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2018

  1. Configuration menu
    Copy the full SHA
    77921c8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    140b9ca View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2018

  1. Merge pull request #1 from RaphaelRochet/master

    French translation update
    markdstjohn authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    1b14b00 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #2 from trengrj/master

    switch from fork to g_spawn_async
    markdstjohn authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    63a1ab6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request thjaeger#3 from jwakely/abs

    Remove abs(float) function that clashes with std::abs(float)
    markdstjohn authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    5ce8518 View commit details
    Browse the repository at this point in the history
  4. Merge pull request thjaeger#4 from p2rkw/master

    Remove unnecessary requirement for device to be absolute
    markdstjohn authored Sep 25, 2018
    Configuration menu
    Copy the full SHA
    70a7b4f View commit details
    Browse the repository at this point in the history
  5. Merging in pull request

    Mark St. John committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    ddc8859 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'dkondor-master'

    Mark St. John committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    32bfe86 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2020

  1. Move Stroke::save() and load() into header

    The template member functions Stroke::save and Stroke::load get called
    via the serialize() function generated by boost's macro
    BOOST_SERIALIZATION_SPLIT_MEMBER() in gesture.h.  Since the definitions
    of save()/load() are only available in gesture.cc, the compiler may
    produce two versions of Stroke::serialize() -- one with save()/load()
    inlined in gesture.o and one with calls to save()/load() in all other
    referencing translation units. Since the compiler inlined Stroke::save()
    and Stroke::load(), it will not export them in gesture.o (which is
    legitimate, since the code only requests an export of
    Stroke::serialize). As a result, some orders of object files can fail to
    link, when the linker picks the version of Stroke::serialize() that
    would call save()/load() (which are not available separately) instead of
    the version with these functions inlined.
    
    Avoid relying on this compiler- and optimization-level dependent
    behavior by moving the definition of template member functions
    Stroke::save() and Stroke::load() into gesture.h. As a side-effect, that
    change unifies code style, since all other classes have their ::save()
    and ::load() definitions in header files, too.
    
    These link failures surfaced when building on s390x with -march=zEC12 or
    later, and can be reproduced on x86_64 with gcc parameters
        --param max-inline-insns-auto=80 --param inline-min-speedup=2
    
    Signed-off-by: Marius Hillenbrand <[email protected]>
    mhillenbrand committed May 6, 2020
    Configuration menu
    Copy the full SHA
    686b777 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2020

  1. Merge pull request thjaeger#6 from mhillenibm/fix_stroke_template

    Fix a linking problem by moving Stroke::save() and load() into header
    markdstjohn authored May 12, 2020
    Configuration menu
    Copy the full SHA
    217673f View commit details
    Browse the repository at this point in the history
  2. Merge pull request thjaeger#5 from dkondor/master

    fix a crash hapenning since updating Ubuntu 18.04
    markdstjohn authored May 12, 2020
    Configuration menu
    Copy the full SHA
    f93455b View commit details
    Browse the repository at this point in the history

Commits on May 14, 2020

  1. Merge pull request #1 from markdstjohn/master

    merge new patches
    dkondor authored May 14, 2020
    Configuration menu
    Copy the full SHA
    5b5ebeb View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

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

Commits on Aug 29, 2020

  1. decrease scores for stroke comparison

    Revert back commit c328ef3 -- it makes things
    worse for me
    dkondor committed Aug 29, 2020
    Configuration menu
    Copy the full SHA
    2e67925 View commit details
    Browse the repository at this point in the history