1. 17 May, 2019 1 commit
    • spiiroin's avatar
      [mce] Unify license blurbs. JB#33684 · 091d6e7e
      spiiroin authored
      MCE uses LGPL v2.1 (without "or later") license, but due to missing / use
      of different license blurbs this is not always clear enough.
      
      Replace blurbs referring to "LGPLv2" short form which could be either
      LGPL v2.0 or v2.1 without "or later" with the same blurb that is used
      in mce.c file.
      
      Similarly add blurb to source files that are missing one altogether.
      
      Add all authors that can be derived from git logs.
      
      Update Jolla Ltd. copyright statements to match git activity.
      Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
      091d6e7e
  2. 28 Sep, 2018 1 commit
  3. 14 Oct, 2015 1 commit
    • spiiroin's avatar
      [suspend] Add support for enabling autosleep. Contributes to JB#32356 · ff31cda9
      spiiroin authored
      MCE assumes presence of wakelock control files implies kernel supports
      early suspend. Which makes things not work on kernels that use autosleep
      instead of early suspend.
      
      Improve probing and differentiate behavior depending on whether kernel
      supports autosleep or early suspend.
      ff31cda9
  4. 27 May, 2014 1 commit
  5. 13 May, 2014 1 commit
    • spiiroin's avatar
      Fix white space issues in mce code base · 9cc0f544
      spiiroin authored
      No functional changes.
      
      Files where majority of lines are indented with tabulators are changed
      so that every beginning of line uses tabulators for 8 character skips.
      The rest of the files use only space characters for indentation.
      
      Remove excess empty lines from all source files.
      
      Make indentation levels uniform within each source file.
      
      [mce] Fix white space issues in mce code base. Fixes JB#18915
      9cc0f544
  6. 14 Jan, 2014 1 commit
  7. 11 Jan, 2013 1 commit
  8. 03 Jan, 2013 1 commit
    • spiiroin's avatar
      Async signal handling fixes · 8f5ebe22
      spiiroin authored
      Do not try to pass non-recoverable signal handling to
      happen in the mainloop context.
      
      Unblock signals that need to be raised again to invoke
      default behavior.
      
      Substitute snprintf() and friends with async signal safe
      helpers.
      8f5ebe22
  9. 21 Dec, 2012 2 commits
  10. 11 Dec, 2012 1 commit
    • spiiroin's avatar
      Added functions allowing/blocking automatic suspend · ecf2a962
      spiiroin authored
      When android kernels are used, MCE needs to control whether early suspend
      should be used or not. The sysfs interface is used via the new functions:
      wakelock_allow_suspend() and wakelock_block_suspend().
      ecf2a962
  11. 01 Nov, 2012 1 commit