Skip to content
Commits on Dec 29, 2011
  1. Link to gthread-2.0

    We call g_thread_init and whatnot. Fixes bug #44.
    Reported-by: Micah Gersten <>
  2. Don't include gthread.h directly

    Only glib.h (and glib/gstdio.h) are supposed to be included directly.
    Fixes bug #43.
    Reported-by: Anssi Hannula <>
Commits on Oct 29, 2011
  1. @proski

    Use libdl when linking npplayer

    proski committed with
    Without it, following error occurs on Fedora 15 when compiling for
    /usr/bin/ld: npplayer-npw-player.o: undefined reference to symbol
    /usr/bin/ld: note: 'dlsym@@GLIBC_2.2.5' is defined in DSO
    /lib64/ so try adding it to the linker command line
    /lib64/ could not read symbols: Invalid operation
    collect2: ld returned 1 exit status
    Fedora already has a patch that adds -ldl to LDFLAGS
    Signed-off-by: Pavel Roskin <>
Commits on Oct 19, 2011
  1. Update to npapi-sdk r14

    Just uninteresting thing about undefined variables.
Commits on Sep 14, 2011
  1. Hard-code NPNVsupportsAdvancedKeyHandling to FALSE

    In case a plugin attempts to check this (unlikely as no browser
    implements it yet) and avoid NULL checks on all the entry points, we
    shouldn't crash. Also, for correctness, even if the browser supports it,
    a browser + nspluginwrapper combination doesn't.
  2. Implement NPNVdocumentOrigin

    No one implements it yet, but it's a very simple variable, and very very
    important to support when it does get used.
  3. Add missing NULL check

  4. Update NPAPI headers to r13

    There's now a NPNVdocumentOrigin.
Commits on Sep 6, 2011
  1. Leak library handles in is_wrapper_plugin

    Many libraries crash on unload. Better to just keep them all loaded in
    the process like everything else does.
Commits on Aug 16, 2011
  1. Replace the plugin atomically instead of writing in-place

    To say nothing of atomicity, lots of Bad Things happen when you replace
    libraries in-place. gdb apparently gets upset at you, and you get random
    crashes in programs which have the library loaded. Evidently
    can't even handle it. It's unspecified whether changes to a file mmapped
    as MAP_PRIVATE are visible to the process.
    Fixes #35.
Commits on Aug 15, 2011
  1. Update to latest NPAPI SDK

    Added a new variable. OS X only, so uninteresting.
Commits on Aug 13, 2011
  1. Drop some more archive-related rules

    The archive-making ones were removed earlier, so these don't work
    anymore. No one complained, so let's drop the rest too.
  2. Fix another parallel build issue

    Adapted from a Gentoo patch.
    Reported-By: Martin von Gagern <>
  3. Set GDK_NATIVE_WINDOWS unconditionally

    Browsers are supposed to set it all the time, if we take what Firefox
    and Chrome do as the spec (which is as reasonable as anything). May as
    well apply the workaround everywhere instead of assuming only Flash
    needs it.
    Reported-By: Stanislav Brabec <>
Commits on Jul 23, 2011
  1. Update to latest npapi-sdk headers

    Just some whitespace changes. Nothing interesting.
Commits on Jul 14, 2011
  1. @stanislav-brabec

    Tell curl that we are a multi-threaded program - i. e. it can not use…

    stanislav-brabec committed with
    … signals.
    Signed-off-by: Stanislav Brabec <>
Commits on Jul 1, 2011
  1. New hostname

    Thanks to the Fedora project for letting me use it.
  2. nspluginwrapper 1.4.4

Commits on Jun 29, 2011
  1. Use g_main_context_add_poll for the RPC source

    There is not much point in playing silly games with the FD list when we
    could just as well add a FD and check it out-of-band.
  2. Fix crash when the number of file descriptors grows and then shrinks

    This is a bit of an embarrassing bug. The allocated size of the array
    and the number of elements are not always the same.
    Reported by Fridtjof Busse.
Commits on Jun 4, 2011
  1. nspluginwrapper 1.4.2

Commits on Jun 2, 2011
  1. Fix install with parallel make

    Patch by Shannon of Gentoo bugzilla. Fixes #30.
Commits on May 30, 2011
  1. Use the correct symbol version for _Unwind_GetIPInfo

    See bug #29. Reported by Matthias Dahl.
Commits on May 26, 2011
Commits on May 20, 2011
  1. Pull in latest npapi-sdk headers

    Just a boring whitespace change.
Commits on May 18, 2011
  1. Move variable declaration down a bit

    Just to refactor a little.
Commits on May 17, 2011
  1. Refactor the GDK_NATIVE_WINDOWS patch

    Follow the Fedora patch and put it into It's a little
    cleaner than in the Makefile.
  2. Half-initialize the plug-in in NP_Initialize

    Otherwise the check for attempting to load the wrapper template plug-in
    fails in GTK WebKit (which tries to call NP_Initialize on every
    Reported by Arch Linux users.
Commits on May 15, 2011
  1. Send a version in npw-player

    Likely doesn't matter, but probably worth initializing the plug-in
  2. nspluginwrapper 1.4.0

  3. Detect Konqueror and use glib event loop instead of Xt one

    Unfortunately, while Konqueror pretends to have an Xt event loop, it is
    completely non-functional. Block hooks will not run, because it is a Qt
    event loop polling Xt. Work procs also do not work because Xt does not
    report them in XtAppPending. A timeout should, in theory, work, but
    Konqueror doesn't even enable its Xt bridge most of the time! If the
    plug-in requests XEmbed (as Flash does), a PluginHostXt is never created
    and XtEvents::enable is never called. Instead of fighting all this, just
    use the glib event loop. They have a bridge and Qt uses the glib event
    loop these days anyway.
    The only reason it used to work is because, not supporting windowless
    plug-ins, most of communication was from browser to plug-in. Requests
    would just get queued up and (with luck) not time out. With the new
    delayed sync mechanism, we are unable to register the delayed sync and
    instead the plug-in hangs.
Something went wrong with that request. Please try again.