Commits on Dec 6, 2012
  1. Merge pull request #37 from rschroll/multimediamovie

    davvil committed Dec 6, 2012
    Support movie annotations in PDF files
  2. Merge pull request #38 from rschroll/parse_options

    davvil committed Dec 6, 2012
    Make argument of parse_command_line_options unowned
Commits on Dec 1, 2012
  1. Make argument of parse_command_line_options unowned

    rschroll committed Dec 1, 2012
    This avoids a segmentation fault when parsing command line options.
Commits on Nov 28, 2012
  1. Merge pull request #36 from AndreasBilke/issue-32

    davvil committed Nov 28, 2012
    fixed davvil/pdfpc issue 32
  2. Changed order of command line parsing and gst initialization

    David Vilar
    David Vilar committed Nov 28, 2012
    In this way we can show our help message instead of gstreamer's default
  3. extended man page by the notes option

    Andreas Bilke
    Andreas Bilke committed Nov 28, 2012
  4. fixed davvil/pdfpc issue 32

    Andreas Bilke
    Andreas Bilke committed Nov 28, 2012
Commits on Nov 27, 2012
  1. fixed overlay view

    AndreasBilke committed Nov 27, 2012
Commits on Oct 24, 2012
  1. Support movie annotations in PDF files

    rschroll committed Oct 24, 2012
    These are created in LaTeX with the multimedia package.  This just
    provides basic support; the various options are not yet supported.
Commits on Oct 23, 2012
Commits on Aug 10, 2012
  1. Merge pull request #30 from rschroll/annotversion

    davvil committed Aug 10, 2012
    Make notes_from_document() work with Vala >= 0.16
  2. Require Vala >= 0.16

    rschroll committed Aug 6, 2012
  3. movie: Tell XOverlay to not handle events

    rschroll committed Aug 6, 2012
    This may keep movies from trapping keyboard shortcuts.
  4. movie: Handle Screen annotations instead of File Attachments

    rschroll committed Jul 24, 2012
    I believe this is more correct.  It handles the url and attach=false
    options of movie15, and doesn't handle the externalviewer option.  Does
    not work with vala 0.14, since the Poppler bindings don't have all the
    things we need.
  5. movie: Use annot.get_contents instead of annot.get_attachment().descr…

    rschroll committed Jul 23, 2012
    I think this is due to a change in the Poppler bindings.  Hopefully it's
  6. Call Gst.init() at beginning

    rschroll committed Jun 19, 2012
  7. Movie: Combine new_from... and parse... methods

    rschroll committed Jun 5, 2012
    They had been separated when Movie and ControlledMovie needed different
    new_from... methods, but that's no longer the case.  Combining them gets
    rid of a bunch of compiler warnings about un-initialized vars.
  8. Actions: Separate constructors and initializers

    rschroll committed Jun 5, 2012
    This allows us to create actions with and still
    initialize them separately.  Since we generally create actions with the
    new_from... methods, this doesn't make life more difficult.  It also
    lets us get rid of the blank constructors which were sort of silly.
    In the movie classes, there are init_other methods that allow one object
    to initialize another.  These are needed because I couldn't figure out
    how to cast the newly created object to the existing object's type so
    that the correct initializer would be called.
  9. Movie: Add playback of attached movies

    rschroll committed Jun 4, 2012
    Such movies may be added in LaTeX with the movie15 package.
    This requires Poppler.AnnotFileAttachment.  Vala 0.14 (and earlier,
    presumably) don't have this in the .vapi files, so we add it by hand.
    Vala 0.16 should be converted to .gir files and won't need this.
  10. Always exit through PresentationController.quit()

    rschroll committed Jun 4, 2012
    This ensures that the metadata will always be saved.
  11. Go though both the link mapping and the annotation mapping to get act…

    rschroll committed Jun 3, 2012
    I can't figure out how to treat classes as object, so I make a "blank"
    object of each class I need and use that for pseudo-static methods.
  12. Movie: Add auto-start and looping options

    rschroll committed Jun 3, 2012
    These are implemented as query strings following the file name.
  13. Movie: Be more intelligent when deciding if link is a movie

    rschroll committed Jun 3, 2012
    Also, distinguish between URIs, relative, and absolute paths in links.
  14. Movie: Construct pipeline in an Idle.add

    rschroll committed Jun 3, 2012
    This avoids problems with movies on the first page, where the movie was
    created before all of the views had been realized.
    Also rename PresentationController.video_pos to overlay_pos.
  15. Reconfiguration of link handling from signal-based to actions

    rschroll committed Jun 2, 2012
    What started as an effort to get the movies created earlier turned into
    a rather massive rewrite.  Now, when a page is loaded, an action is
    created for each link (and soon other things) found.  This action is
    responsible for handling mouse-in, mouse-out, and button-click events on
    itself.  Something like this will be needed for auto-play movies, for
    example, and it seemed better to keep the links and movies using the
    same mechanism.
  16. ControlledMovie: Add capability filter

    rschroll committed May 22, 2012
    Place a capsfilter upstream of the overlay element.  Here, we set the
    final size of the movie, so that the cairo drawing comes out nice and
    crisp.  Also, we require a frame rate of at least 25 fps to keep the
    controls reasonably snappy.
    Note that the videorate element causes a hitch in the playback of one
    test file.  This is likely a problem with the file, but we may want to
    insert the videorate only when necessary.
  17. ControlledMovie: Simplify controls

    rschroll committed May 17, 2012
    There was no need for a play button, since clicking anywhere starts and
    stops playback.  Instead, we make the seek bar extend all the way across
    the movie, changing its height when hovering over it.
  18. ControlledMovie: Improve handling of seeking

    rschroll committed May 16, 2012
    Playback pauses during seeking, but without refreshes.  The view is
    redrawn on motion events instead.  Adding a sync to the
    button_press_event means that a simple click now works for seeking.
    However, a press-and-hold without dragging still doesn't, since we don't
    have direct access to those events.