Skip to content
Snippets Groups Projects
  1. Jun 06, 2012
  2. May 11, 2012
    • Kevin Murphy's avatar
      drm: for minimum buffer size to be greater than 0 · cdbfba53
      Kevin Murphy authored
      The drm driver tells us the minimum dimensions it supports
      for buffer objects.  We use this minimum for creating a
      small temporary 32-bit buffer to test if 32-bit buffers
      are supported.
      
      Unfortunately, some drivers neglect to fill in
      min_width/min_height and then we try to allocate a buffer
      with 0 sized dimensions.
      
      This commit checks for min_width/min_height being 0, and then
      bumps them to 1.
      
      Minor changes to initial patch by Ray Strode.
      cdbfba53
    • Steve Langasek's avatar
      client: add new flush api · e274cda1
      Steve Langasek authored
      In some cases, clients may need a way to ensure that all queued
      messages have been flushed and are sent to the daemon
      (before, for instance, exiting).
      
      This commit adds an API to block until the outgoing request queue is
      empty.
      e274cda1
  3. May 10, 2012
    • Tilmann Bubeck's avatar
      docs: Add keyboard shortcuts · 23fa0e8e
      Tilmann Bubeck authored
      This commit adds four keyboard shortcuts to the developer
      documentation that were found from reading the source:
      
      Esc: Toggle between system console and plymouth boot animation.
      
      Ctrl-V: Toogle verbose mode on and off.
      
      Ctrl-U or Ctrl-W: erase a line
      23fa0e8e
  4. May 08, 2012
    • Ray Strode's avatar
      docs: do a pass over new development.txt · bb8e3afe
      Ray Strode authored
      I just did a quick read through and made various changes here and
      there.
      bb8e3afe
    • Ray Strode's avatar
      docs: specify where to send contributions · 19f237b7
      Ray Strode authored
      19f237b7
    • Tilmann Bubeck's avatar
      docs: Start document for developers · 987672f2
      Tilmann Bubeck authored
      This commit starts to document plymouth to help
      new contributors get into the code.
      
      The aim of the document is to provide useful information,
      such as the overall architecture, the most
      important data structures, and howto recipes for
      typical user cases, like debugging.
      
      The document is explicitly not meant to be detailed API documentation.
      In the future, that type of documentation may be provided with gtk-doc
      style annotations.
      
      The documentation is written in asciidoc
      (http://www.methods.co.nz/asciidoc/) and is therefore easily readable as
      its ascii text and can also be translated into more rich formats
      (like HTML).
      
      For example, to get an HTML version of the document:
      
      yum install asciidoc (or equivalent for your distribution)
      cd docs
      make development.html
      987672f2
    • Tilmann Bubeck's avatar
      two-step: quit properly when boot finishes while waiting for password · ecd2721f
      Tilmann Bubeck authored
      When the computer is progressing through its boot up process, plymouth
      calls into the splash plugin's on_boot_progress function at regular
      intervals with increasing values for "percent_done".  At some point, it
      gets to 90% done, and that's when two-step begins its finishing
      animation sequence.  As soon as this sequence finishes, two-step pulls
      its stop trigger, which
      
      1) sets its "is_idle" flag to true and
      2) pulls the core plymouthd code's idle trigger, to notify that
         code that it's at a good animation frame to quit (if the core
         plymouthd code has an idle trigger set up)
      
      During the boot process, the user may need to enter a password
      (the "plymouth ask-for-password" command).  When that happens,
      the splash waits for the user to enter a password, but boot progresses
      in the background.
      
      If the user then enters a password, the boot animation restarts again
      (from the display_normal function).  This restarting of the boot
      animation will cause the "is_idle" flag of the splash to get set back
      to false.
      
      Later when plymouthd wants to quit, it calls the become_idle function
      of the splash plugin. That function notices "is_idle" is false, and
      the stop_trigger is not NULL.  The function isn't suited to work
      with this combination, and so at this point the splash never
      tells the code daemon code it's idle.
      
      This commit changes on_boot_progress to return before looking at
      percent_done, if the user is getting asked a question.  This way
      the stop_trigger won't get created prematurely, and is_idle won't
      get out of sync.
      
      https://bugs.freedesktop.org/show_bug.cgi?id=49355
      ecd2721f
  5. May 03, 2012
    • Ray Strode's avatar
      drm: rename ENABLE_GDM_TRANSITION to ENABLE_GDM_DEPRECATED_TRANSITION · 1a19b457
      Ray Strode authored
      Most distributions no longer use this transition, which relies
      on plymouth quitting before X starts.
      
      For clarity, rename the #define to include the word DEPRECATED
      1a19b457
    • Dave Airlie's avatar
      drm: add generic driver to drm renderer plugin · 527400dc
      Dave Airlie authored
      Since around 2.6.39, the kernel has offered a generic ioctl interface
      for modesetting (the KMS 'dumb' interface).  This interface is now
      provided by most all of the modesetting drivers.
      
      Adding support for this interface means that plymouth will automatically
      gain support for new modesetting drivers going forward.
      
      This commit adds that support. Some changes made by Ray Strode.
      527400dc
  6. May 01, 2012
    • Tilmann Bubeck's avatar
      label: add alignment and width for labels. · 55939ac3
      Tilmann Bubeck authored
      A ply_label can now be alignment with ply_label_set_alignment()
      taking one of PLY_LABEL_ALIGN_LEFT, PLY_LABEL_ALIGN_CENTER, or
      PLY_LABEL_ALIGN_RIGHT.
      
      This alignment is made within a horizontal box which width can be set with
      ply_label_set_width().
      
      Both functions are now used by the plugin "two-step" to make sure, that
      the prompt for "ask-for-password" gets centered on the screen. Previously
      the prompt started in the middle of the screen and was cropped at the right
      border of the screen (fixes bz #681513). This lead to unreadable prompts
      for disk encryption.
      55939ac3
    • Ray Strode's avatar
      drm: use queried minimum size, not 1x1 for dummy buffer · 0400dfeb
      Ray Strode authored
      The previous commit tries to create a 32bpp 1x1 dummy buffer
      to know whether or not the modesetting driver can handle
      our needs.  It's concievable (though not realized in practice) that
      the driver could support our needs fine, but not support buffers
      as small as 1x1.
      
      This commit uses the queried minimum buffer dimensions for the dummy
      buffer instead of assuming 1x1.
      0400dfeb
    • Ray Strode's avatar
      drm: ensure modesetting driver supports 32bpp fb · 9f526a0a
      Ray Strode authored
      Now that more and more hardware is getting kms support,
      we need to be more careful about what hardware we try to
      run on.  Cirrus cards can't make 32bpp framebuffers, which
      is all we support in the drm renderer.
      
      This commit tries to create a small buffer up front, just
      to see if the driver will allow it.  If the driver chokes,
      then we bail and fall back to the /dev/fb renderer, which
      is more tolerant of aging hardware.
      9f526a0a
  7. Apr 27, 2012
  8. Apr 26, 2012
    • Kevin Murphy's avatar
      main: fix bug in add_consoles_from_file · 87b27bd1
      Kevin Murphy authored
      commit 6baab7a8 was the
      result of Ray Strode splitting part of a larger patch
      out. The splitting and subsequent modifications weren't
      completely right.
      
      This commit contains some fixes to address the problems
      with those changes.
      87b27bd1
  9. Apr 25, 2012
    • Ray Strode's avatar
      main: add plymouth.ignore-serial-consoles · 6e50233b
      Ray Strode authored
      This commit adds plymouth.ignore-serial-consoles kernel command
      line for OLPC to use.
      
      Eventually, we'll support multiple plugins at once, and we can
      run details on the serial console and e.g. two-step on the main
      console and then this argument won't be needed.
      6e50233b
    • Ray Strode's avatar
      Revert "main: add way to ignore /sys/class/tty/console/active" · e1e47796
      Ray Strode authored
      This reverts commit 9e307152.
      
      This command line option is sort of awkward. It would be better
      to provide a kernel command line escape hatch.
      e1e47796
    • Ray Strode's avatar
      main: add default console for default scenarios · ae29ca2d
      Ray Strode authored
      commit e810532e contained
      a function called add_consoles_from_file that was a badly
      modified version of add_consoles_from_kernel_command_line
      changed to read from /sys/class/tty/console/active instead
      of /proc/cmdline.
      
      Previously, if we had console=SOMETHING on the kernel command
      line, then we would assume the user is using serial consoles
      and force details.  This translated to if add_consoles_from_file
      finds any devices in /sys/class/tty/console/active force details.
      
      Of course, /sys/class/tty/console/active contains tty0 even when
      the user doesn't specify console=tty0 on the kernel command line,
      so this broke show-splash calls.
      
      This commit changes the logic bit.  We now only force details if
      there is some console in the list that isn't tty0.
      
      This restores show-splash functionality.
      ae29ca2d
    • Kevin Murphy's avatar
      main: make add_consoles_from_file more robust · 6baab7a8
      Kevin Murphy authored
      add_consoles_from_file was a little fast and loose in its parsing.
      
      This commit makes it a little more fault tolerant.
      
      Patch split from larger patch, and modified by Ray Strode.
      6baab7a8
  10. Apr 24, 2012
  11. Apr 10, 2012
    • Ray Strode's avatar
      main: add way to ignore /sys/class/tty/console/active · 9e307152
      Ray Strode authored
      Previously OLPC used --kernel-command-line to make plymouth
      ignore specific consoles.  That no longer works, now that we
      read from /sys/class/tty/console/active
      
      This commit adds an escape hatch, a way to get back to the old
      behavior.
      9e307152
  12. Apr 09, 2012
  13. Apr 04, 2012
  14. Mar 21, 2012
Loading