head 1.18; access; symbols pkgsrc-2023Q4:1.18.0.18 pkgsrc-2023Q4-base:1.18 pkgsrc-2023Q3:1.18.0.16 pkgsrc-2023Q3-base:1.18 pkgsrc-2023Q2:1.18.0.14 pkgsrc-2023Q2-base:1.18 pkgsrc-2023Q1:1.18.0.12 pkgsrc-2023Q1-base:1.18 pkgsrc-2022Q4:1.18.0.10 pkgsrc-2022Q4-base:1.18 pkgsrc-2022Q3:1.18.0.8 pkgsrc-2022Q3-base:1.18 pkgsrc-2022Q2:1.18.0.6 pkgsrc-2022Q2-base:1.18 pkgsrc-2022Q1:1.18.0.4 pkgsrc-2022Q1-base:1.18 pkgsrc-2021Q4:1.18.0.2 pkgsrc-2021Q4-base:1.18 pkgsrc-2021Q3:1.16.0.18 pkgsrc-2021Q3-base:1.16 pkgsrc-2021Q2:1.16.0.16 pkgsrc-2021Q2-base:1.16 pkgsrc-2021Q1:1.16.0.14 pkgsrc-2021Q1-base:1.16 pkgsrc-2020Q4:1.16.0.12 pkgsrc-2020Q4-base:1.16 pkgsrc-2020Q3:1.16.0.10 pkgsrc-2020Q3-base:1.16 pkgsrc-2020Q2:1.16.0.8 pkgsrc-2020Q2-base:1.16 pkgsrc-2020Q1:1.16.0.4 pkgsrc-2020Q1-base:1.16 pkgsrc-2019Q4:1.16.0.6 pkgsrc-2019Q4-base:1.16 pkgsrc-2019Q3:1.16.0.2 pkgsrc-2019Q3-base:1.16 pkgsrc-2019Q2:1.15.0.24 pkgsrc-2019Q2-base:1.15 pkgsrc-2019Q1:1.15.0.22 pkgsrc-2019Q1-base:1.15 pkgsrc-2018Q4:1.15.0.20 pkgsrc-2018Q4-base:1.15 pkgsrc-2018Q3:1.15.0.18 pkgsrc-2018Q3-base:1.15 pkgsrc-2018Q2:1.15.0.16 pkgsrc-2018Q2-base:1.15 pkgsrc-2018Q1:1.15.0.14 pkgsrc-2018Q1-base:1.15 pkgsrc-2017Q4:1.15.0.12 pkgsrc-2017Q4-base:1.15 pkgsrc-2017Q3:1.15.0.10 pkgsrc-2017Q3-base:1.15 pkgsrc-2017Q2:1.15.0.6 pkgsrc-2017Q2-base:1.15 pkgsrc-2017Q1:1.15.0.4 pkgsrc-2017Q1-base:1.15 pkgsrc-2016Q4:1.15.0.2 pkgsrc-2016Q4-base:1.15 pkgsrc-2016Q3:1.14.0.2 pkgsrc-2016Q3-base:1.14 pkgsrc-2016Q2:1.13.0.2 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.12.0.4 pkgsrc-2016Q1-base:1.12 pkgsrc-2015Q4:1.12.0.2 pkgsrc-2015Q4-base:1.12 pkgsrc-2015Q3:1.11.0.16 pkgsrc-2015Q3-base:1.11 pkgsrc-2015Q2:1.11.0.14 pkgsrc-2015Q2-base:1.11 pkgsrc-2015Q1:1.11.0.12 pkgsrc-2015Q1-base:1.11 pkgsrc-2014Q4:1.11.0.10 pkgsrc-2014Q4-base:1.11 pkgsrc-2014Q3:1.11.0.8 pkgsrc-2014Q3-base:1.11 pkgsrc-2014Q2:1.11.0.6 pkgsrc-2014Q2-base:1.11 pkgsrc-2014Q1:1.11.0.4 pkgsrc-2014Q1-base:1.11 pkgsrc-2013Q4:1.11.0.2 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.10.0.12 pkgsrc-2013Q3-base:1.10 pkgsrc-2013Q2:1.10.0.10 pkgsrc-2013Q2-base:1.10 pkgsrc-2013Q1:1.10.0.8 pkgsrc-2013Q1-base:1.10 pkgsrc-2012Q4:1.10.0.6 pkgsrc-2012Q4-base:1.10 pkgsrc-2012Q3:1.10.0.4 pkgsrc-2012Q3-base:1.10 pkgsrc-2012Q2:1.10.0.2 pkgsrc-2012Q2-base:1.10 pkgsrc-2012Q1:1.9.0.10 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.8 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.6 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.4 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.2 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.8.0.12 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.10 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.8 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.6 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.4 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.2 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.7.0.4 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.6.0.2 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.4.0.8 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.6 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.4 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.2 pkgsrc-2008Q1:1.3.0.6 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.4 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.2 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.2.0.4 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.2 pkgsrc-2007Q1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.18 date 2021.10.26.11.29.41; author nia; state Exp; branches; next 1.17; commitid Gv0TNLbuylhFsjeD; 1.17 date 2021.10.07.15.07.25; author nia; state Exp; branches; next 1.16; commitid kEwAbZZbki9jhTbD; 1.16 date 2019.09.24.17.33.50; author kamil; state Exp; branches; next 1.15; commitid BBuurFs9MVup0iEB; 1.15 date 2016.10.15.15.18.01; author tsutsui; state Exp; branches; next 1.14; commitid O0UH3cdGaaZxHfqz; 1.14 date 2016.09.17.19.02.52; author tsutsui; state Exp; branches; next 1.13; commitid vlQCxYs9fIasUFmz; 1.13 date 2016.06.27.11.03.29; author tnn; state Exp; branches; next 1.12; commitid RKb5mHKgN4k8U5cz; 1.12 date 2015.10.24.06.30.40; author tsutsui; state Exp; branches; next 1.11; commitid YYk0Ymprb0iPkkGy; 1.11 date 2013.10.12.12.39.15; author wiz; state Exp; branches; next 1.10; commitid AUBETSxhJnXYd09x; 1.10 date 2012.05.03.06.09.55; author wiz; state Exp; branches; next 1.9; 1.9 date 2011.01.20.13.06.15; author pooka; state Exp; branches; next 1.8; 1.8 date 2009.09.16.10.16.58; author abs; state Exp; branches; next 1.7; 1.7 date 2009.01.05.19.11.24; author jmcneill; state Exp; branches; next 1.6; 1.6 date 2008.12.18.19.59.31; author jmcneill; state Exp; branches; next 1.5; 1.5 date 2008.11.18.08.33.51; author abs; state Exp; branches; next 1.4; 1.4 date 2008.07.05.22.27.52; author abs; state Exp; branches; next 1.3; 1.3 date 2007.09.09.17.06.03; author xtraeme; state Exp; branches; next 1.2; 1.2 date 2007.04.02.22.38.44; author abs; state Exp; branches; next 1.1; 1.1 date 2007.03.22.22.33.45; author abs; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2007.03.22.22.33.45; author abs; state Exp; branches; next ; desc @@ 1.18 log @www: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Not committed (merge conflicts): www/nghttp2/distinfo Unfetchable distfiles (almost certainly fetched conditionally...): ./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx-devel/distinfo naxsi-1.3.tar.gz ./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx-devel/distinfo njs-0.5.0.tar.gz ./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz ./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz ./www/nginx/distinfo echo-nginx-module-0.62.tar.gz ./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz ./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz ./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz ./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz ./www/nginx/distinfo naxsi-1.3.tar.gz ./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz ./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz ./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz ./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz ./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz ./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz ./www/nginx/distinfo njs-0.5.0.tar.gz ./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz @ text @$NetBSD: distinfo,v 1.17 2021/10/07 15:07:25 nia Exp $ BLAKE2s (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = 0b13574f16805a58cc2fde39ef1bfd355b70d09fb55cec3f0c6620f1bbd021a2 SHA512 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = 5b514f3a8dd2aad5f395181984995bdaa2cbe9f357d2767c88f2ac5f4c28f513b3023144ea9135ad2e7d0f854efa209dafe3fe00314bb7f0742174d7fc3769c1 Size (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = 179439 bytes BLAKE2s (nspluginwrapper-1.4.4-suse121-generic.x86_64.tar.gz) = 927dd35ab3d9c433fd66c9ae8c948a40edecca795cbb8539fe080ee8e6fb1031 SHA512 (nspluginwrapper-1.4.4-suse121-generic.x86_64.tar.gz) = a95295cf3a63cf982e8b04794c5010554d5ea1ab741ae5b3e89acc7c014d3deafe152ffca1abed966052b1c424a94e8440c9371529dd870a9efb1fd1caad9735 Size (nspluginwrapper-1.4.4-suse121-generic.x86_64.tar.gz) = 161846 bytes BLAKE2s (nspluginwrapper-1.4.4.tar.gz) = d512457a56bd3f8555dc19070a145150f55718d8f7ee52a087679c2e70518b6e SHA512 (nspluginwrapper-1.4.4.tar.gz) = 41126d98284cae6d25d23233b08ccca0dea841d457d4e41210282c6ab4c0fbf020f2ab4173ce39db8a47a1db20840bcc856f9c7309aa2e6ef2a777e3f2ebf503 Size (nspluginwrapper-1.4.4.tar.gz) = 412513 bytes SHA1 (patch-aa) = b39ff156d0a769e44140a713b8ffc2b50a8022d4 SHA1 (patch-ab) = 20dc1b6ff4036a0946dd469860eb9b6c129fdb7a SHA1 (patch-ac) = 87cb838f6b203947d9efc4350313e410d06d486e SHA1 (patch-configure) = 136057f414322b59fd0230fa84c3339226a91c89 SHA1 (patch-src_npw-config-template.h) = 01af56f639ce88f7896fb733107bb4436cd299a5 SHA1 (patch-src_npw-player.c) = c054f19e7067aafee347e0398673345fe56ae12e SHA1 (patch-src_npw-viewer.c) = eb8855ae6d1015eb7627ada5c39af5e0d80f0e75 @ 1.17 log @www: Remove SHA1 hashes for distfiles @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.16 2019/09/24 17:33:50 kamil Exp $ d3 1 a3 1 RMD160 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = a9d79dcd31efc4b1a9b71e29694eff9c8555b10d d6 1 a6 1 RMD160 (nspluginwrapper-1.4.4-suse121-generic.x86_64.tar.gz) = a5fc4473a462f91f838f8b34faa2bb7bdcab9494 d9 1 a9 1 RMD160 (nspluginwrapper-1.4.4.tar.gz) = 6acd93653aa8466e1e3703c2b794f32691c10d12 @ 1.16 log @nspluginwrapper: Link with -lgthread-2.0 Otherwise there is a missing symbol with at least g_thread_init. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.15 2016/10/15 15:18:01 tsutsui Exp $ a2 1 SHA1 (nspluginwrapper-1.4.4-suse121-generic.i386.tar.gz) = cc093d1c6d6729434ec90e216afeae1601e0b3b4 a5 1 SHA1 (nspluginwrapper-1.4.4-suse121-generic.x86_64.tar.gz) = a8286f351979746b8887421ad04e32759c60331a a8 1 SHA1 (nspluginwrapper-1.4.4.tar.gz) = ffb271a741215874808d4a77d0a0dd65588a8440 @ 1.15 log @Make npplayer search default pkgsrc dirs. Now npplayer works without MOZ_PLUGIN_PATH env as /usr/pkg/lib/nspluginwrapper/i386/netbsd/npplayer \ src=https://helpx.adobe.com/content/dam/help/en/flash-player/assets/flash_tree.swf etc. Bump PKGREVISION. XXX: probably we should move the default dir for adobe-flash-plugins11 from historical ${PREFIX}/lib/netscape to ${PREFIX}/lib/mozilla @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.14 2016/09/17 19:02:52 tsutsui Exp $ d18 1 @ 1.14 log @Remove duplicated entry in plugin dirs. Fixes duplicated output of nspluginwrapper -l. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.13 2016/06/27 11:03:29 tnn Exp $ d19 1 @ 1.13 log @Fix build on -current @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.12 2015/10/24 06:30:40 tsutsui Exp $ d15 1 a15 1 SHA1 (patch-aa) = 28f9e18e519337852cb47d04ed0c1cea76b3416d @ 1.12 log @Update nspluginwrapper-1.4.4. pkgsrc changes: - use private Linux npviewer.bin binaries built by me (tsutsui@@) on openSUSE 12.1 on 32 bit (i386) and 64 bit (x86_64) on VirtualBox - enable EMUL_PLATFORMS=linux-x86_64 using the native 64 bit Linux npviewer.bin binary, which allows using 64 bit native adobe-flash-plugin on NetBSD/amd64 hosts - also explicitly set EMUL_REQD= suse>=12.1 (NetBSD 6.x can use it anyway) - tweak some pkgsrc ${PREFIX} - update HOMEPAGE - take maintainership Note: - major Linux distributions provided nspluginwrapper binaries to use the 32 bit plugin binaries without sources on their 64 bit systems, so there is no 64 bit wrapper binary (npviewer.bin) to use native 64 bit plugin binaries on other systems (like NetBSD) via binary emulation - nowadays adobe provides 64 bit native adobe-flash-plugin11 binaries and NPAPI plugins are being deprecated by vendors, so I guess there is very few motivation to update nspluginwrapper project for Linux people http://nspluginwrapper.org/why.html - Linux binaries in distfiles are built with following changes to make npviewer.bin works on non-Linux hosts: - configure with the following options, to enable "generic" RPC calls (The default Linux native binaries use their specific "anonymous socket") - for i386: % ./configure --enable-generic - for x86_64: % ./configure --target-cpu=x86_64 --disable-biarch --enable-generic --enable-viewer --enable-player - disable USE_NPIDENTIFIER_CACHE in npviewer (as patch-src_npw-viewer.c), which doesn't seems tested with the "generic" RPC interfaces OK from abs@@, and no particular objection to PR pkg/49705 and pkgsrc-users@@. Also thanks to Onno van der Linden for his first analysis about newer nspluginwrapper APIs in PR pkg/47208. Upstream changes (in NEWS file): Version 1.4.4 - 30.Jun.2011 * Fix crash in some cases when the number of watched file descriptors decreases Version 1.4.2 - 04.Jun.2011 * Fix crash in WebKit/GTK when npwrapper.so is incorrectly treated as a plugin * Fix symbol versioning issues with _Unwind_GetIPInfo on some systems * Fix install process with parallel make Version 1.4.0 - 15.May.2011 * Report capabilities over RPC to fix logic based on NULL plugin/browser hooks * Fix initialization bug that causes Flash 10.3 to report a version of 0 * Implement ClearSiteData NPAPI extension for managing Flash LSOs * Work around bug in Konqueror that prevents plug-ins from functioning properly Version 1.3.2 (BETA) - 23.Apr.2011 * Work around lack of client-side windows in Flash * Fix race condition when NPP_Destroy was called while viewer is busy * Fix build on modern Linux platforms * Support NPAPI 0.24, in particular, Flash can now query for private browsing * Don't export any symbols but those necessary * Support XEmbeding npplayer into another application * Remove NPClass::HasMethod cache; it was incorrect * Fix initializing two wrapped plugins with the same name in the same process * Work around Qt bug that breaks npplayer when Kopete is installed * Release implicit grabs before forwarding events to fix Flash context menu hang * Work around Firefox quirk that broke windowless Flash in Firefox 4 * Bind wrapper and viewer event loops together to avoid many many race conditions * Redesign NPRuntime bridge to avoid leaking proxy objects * Incorportate release number into ident string so update works on distro patches Version 1.3.0 (BETA) - 02.Jan.2009 * Don't poll for Xt events in Gtk (XEMBED) plug-ins * Use 40 Hz timer for Xt events only when necessary (Xt input sources) * Add NPIdentifier and NPClass::HasMethod caches, i.e. lower RPC traffic * Add support for multiple viewer paths, see --viewer-paths=PATH-EXPR * Add basic checks for malloc()'ed buffer underflow/overflow * Add checks for single-threaded calls into the browser (NPN_*() functions) @ text @d1 1 a1 1 $NetBSD$ d18 1 @ 1.11 log @Link against libraries whose functions are used, don't depend on them being pulled in by the linker. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.10 2012/05/03 06:09:55 wiz Exp $ d3 12 a14 7 SHA1 (nspluginwrapper-1.2.2.tar.bz2) = be581c39dcc1a8d9a5b3f81e4650f553a30cf249 RMD160 (nspluginwrapper-1.2.2.tar.bz2) = d5aa265966f87c51bb9ea4f2a079a87b74fdcbf3 Size (nspluginwrapper-1.2.2.tar.bz2) = 327947 bytes SHA1 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 0d49757623c62da52292e48a0173024c14aa12cd RMD160 (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 9cf3e6ac3e5171c2bbda71c082b6b9fc30d69a84 Size (nspluginwrapper-i386-1.2.2-1.x86_64.rpm) = 69425 bytes SHA1 (patch-Makefile) = 1bdcc3e90713b5aa08eda0efca4929a5903f1fbb d17 2 a18 2 SHA1 (patch-ac) = b42a1241abcbfc9344c810797785222cd79681ac SHA1 (patch-src_npw-player.c) = 14828d0644ce3823b89b373b36afdf29f9a563a1 @ 1.10 log @Fix build with glib-2.32. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.9 2011/01/20 13:06:15 pooka Exp $ d9 1 @ 1.9 log @Unset any predefined LD_PRELOAD before executing npviewer.bin (emul conflict). This makes flash work in firefox run with a rumphijack tcp/ip stack. ok abs (maintainer) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.8 2009/09/16 10:16:58 abs Exp $ d12 1 @ 1.8 log @LOCALBASE/lib/netscape/plugins is the default plugin dir in pkgsrc, adjust so we can automatically find plugins. Bump pkgrevision @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.7 2009/01/05 19:11:24 jmcneill Exp $ d11 1 @ 1.7 log @Update nspluginwrapper to version 1.2.2. [2009/01/02] nspluginwrapper 1.2.2 Fix support for the VLC plug-in Fix memory deallocation in NPN_GetStringIdentifiers() Fix return value if stream creation failed in standalone player [2008/12/26] nspluginwrapper 1.2.0 Drop obsolete mkruntime scripts Use valgrind if NPW_USE_VALGRIND=yes Add support for SunStudio compilers Add support for Flash Player 10 on OpenSolaris 2008.11 Fix build on non-Linux platforms Fix NPP_Destroy() to keep NPP instances longer Fix NPP_Destroy() to destroy the plugin windows @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 SHA1 (patch-aa) = 5310798b88142b00141e7bef9978a1b29a7b965d @ 1.6 log @Update nspluginwrapper to 1.1.10, ok abs@@. Changes: 2008-12-07 22:35 Gwenole Beauchesne * src/npw-viewer.c: Destroy plugin window only if PluginInstance is finalize'd. This is because an NPPVpluginScriptableNPObject can still hold a reference to it (and a call to NPClass::Invalidate() would fail in that case). 2008-12-07 22:30 Gwenole Beauchesne * src/npruntime-impl.h, src/npruntime.c: Use NPW memory allocator for NPObjectInfo objects. Reference count PluginInstance bound to an NPObject if it is known at NPClass::allocate() time. 2008-12-07 22:02 Gwenole Beauchesne * src/npw-viewer.c, src/npw-wrapper.c: Re-add refcount debugging info for NPN_{Create,Retain,Release}Object(). 2008-12-07 21:48 Gwenole Beauchesne * src/npw-viewer.c: Remove delayed NPN_InvalidateRect() code as it's no longer necessary with RPC synchronous messaging. 2008-12-07 19:25 Gwenole Beauchesne * src/npw-viewer.c: Make NPN_ReleaseObject() use rpc_method_invoke_possible() to check whether we can send it immediately. This detects the case where a call is made after rpc_method_send_reply() but before we return from the rpc_dispatch() handler. 2008-12-07 19:22 Gwenole Beauchesne * src/rpc.c, src/rpc.h: Implement synchronous messaging. aka turns an async call (i.e. an rpc_method_invoke() with a connection in server mode) into a synchronous one. That way, the browser is notified that the plugin wants to make a call and then puts self into condition to receive the message (normal rpc_dispatch() or at the end of a toplevel NPP_*() function). This makes it RPC protocol v2.6. 2008-12-07 15:30 Gwenole Beauchesne * tests/test-rpc-concurrent.c: Improve concurrent test to check we get the right answers (in case nested handling got wrong). Besides, make sure the client waits for all server's incoming calls prior to rpc_test_exit()'ing. 2008-12-07 15:24 Gwenole Beauchesne * tests/test-rpc-common.c: Make sure to handle RPC on both ends, including the client's side. 2008-12-07 08:12 Gwenole Beauchesne * src/npw-wrapper.c: Fix NPP_HandleEvent() return value on error. 2008-12-07 08:10 Gwenole Beauchesne * src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c: Add checks for all rpc_method_invoke() functions. 2008-12-07 08:06 Gwenole Beauchesne * src/debug.h: Add npw_return_if_fail() and npw_return_val_if_fail() helpers. 2008-12-07 07:16 Gwenole Beauchesne * src/rpc.c, src/rpc.h, tests/test-rpc-nested-2.c: Add rpc_method_invoke_possible() interface to check whether we are ready to call rpc_method_invoke() or not. i.e. in particular, if we are not trying to invoke functions after rpc_method_send_reply() and before we return from an RPC method handler. 2008-12-06 18:21 Gwenole Beauchesne * tests/test-rpc-common.c, tests/test-rpc-concurrent.c, tests/test-rpc-nested-1.c, tests/test-rpc-types.c: Use helpers. In particular, don't use g_assert() but rather RPC_TEST_ENSURE() or RPC_TEST_ENSURE_NO_ERROR() which always evaluate. 2008-12-06 18:13 Gwenole Beauchesne * Makefile, tests/test-rpc-nested-2.c: Add another testcase for nested rpc_method_invoke(). This time, we are also emitting a call just after an rpc_method_send_reply(). Note: this is not fixed yet. 2008-12-06 18:11 Gwenole Beauchesne * tests/test-rpc-common.h: Add helpers. 2008-12-06 18:10 Gwenole Beauchesne * Makefile, tests/test-rpc-nested-1.c, tests/test-rpc-nested.c: Rename. 2008-12-06 09:08 Gwenole Beauchesne * src/npw-viewer.c: Rework the XEMBED hack. Don't let the browser cause Gtk to kill our window. i.e. don't process WM_DELETE_EVENT sent by the browser GtkSocket. That way, we will kill the window ourselves in NPP_Destroy(). 2008-12-04 21:31 Gwenole Beauchesne * src/npw-viewer.c: Process delayed calls in NPP_Destroy() only if PluginInstances match. Besides, don't care about pending NPN_InvalidateRect() requests if we already know the instance will pass away soon (i.e. we are in NPP_Destroy()). 2008-12-03 22:56 Gwenole Beauchesne * src/npw-viewer.c: Delay all NPN_InvalidateRect() messages. An intermediate solution may be to delay the messages only if there is actually incoming RPC. Postpone this optimization for a future version (and smarter strategy to "compress" the region/requests). 2008-12-03 20:51 Gwenole Beauchesne * src/npruntime-impl.h, src/npruntime.c: Add debug messages for NPClass::invoke_*() functions. 2008-12-02 21:49 Gwenole Beauchesne * src/npw-viewer.c, src/npw-wrapper.c: Fix invalid RPC beyond NPP_Destroy(). This fixes the following scenario: Browser: NPP_Destroy() -> rpc_method_invoke() Viewer: NPN_InvalidateRect() -> rpc_method_invoke() -> rpc_dispatch() pending messages -> handle_NPP_Destroy() -> PluginInstance is killed -> send PluginInstance but it was killed... Now, with the help of reference counting, we can hold the PluginInstance. Besides, NPP_Destroy() will reset instance_id, thus RPC won't be sending a "valid" PluginInstance to the other side, thus reducing the other side call to a no-op. i.e. don't try to do anything with the browser NPP instance that was killed previously (the NPP_Destroy() call would have completed by the time the browser-side needs to handle incoming RPC). 2008-12-02 21:00 Gwenole Beauchesne * src/npw-viewer.c: Preserve PluginInstance objects during invoke_NPN_*() function calls. This is because rpc_method_invoke() can handle pending messages, among which an NPP_Destroy() is possible. Since the latter unref the PluginInstance, we could arrive in a situation where we are dereferencing deallocated data. 2008-12-02 20:44 Gwenole Beauchesne * src/npw-common.h, src/npw-viewer.c, src/npw-wrapper.c: Replace all RPC_TYPE_NPP with RPC_TYPE_NPW_PLUGIN_INSTANCE. 2008-12-02 20:15 Gwenole Beauchesne * src/npw-rpc.c, src/npw-rpc.h: Add RPC_TYPE_NPW_PLUGIN_INSTANCE to marshal PluginInstance objects. 2008-12-01 23:01 Gwenole Beauchesne * src/npw-viewer.c: Pass PluginInstance to invoke_NP*() functions. The next step is to replace RPC_TYPE_NPP with RPC_TYPE_NPW_PLUGIN_INSTANCE. 2008-12-01 21:55 Gwenole Beauchesne * src/npw-viewer.c, src/npw-wrapper.c: Minor cleanups. Make sure plugin->instance is NULL on exit from NPP_Destroy(). 2008-12-01 21:47 Gwenole Beauchesne * src/npw-common.h: Remove extraneous "extern" linkage keyword, this is default behaviour. 2008-12-01 21:46 Gwenole Beauchesne * src/npw-common.c, src/npw-common.h, src/npw-viewer.c, src/npw-wrapper.c: Add infrastructure to refcount PlugInstances. 2008-12-01 20:28 Gwenole Beauchesne * configure, src/npruntime.c, src/npw-viewer.c: Disable PID check, this is not really useful unless a plugin does fork() without exec(). This could be reactivated with --enable-pid-check though. 2008-12-01 20:06 Gwenole Beauchesne * src/npw-viewer.c: Fix pid_check() for USE_PID_CHECK == 0 (thanks Martin Stransky). 2008-12-01 20:03 Gwenole Beauchesne * nspluginwrapper.spec: Bump release for development. 2008-11-30 23:03 Gwenole Beauchesne * ChangeLog: Generated by svn2cl. 2008-11-30 23:00 Gwenole Beauchesne * src/npw-viewer.c: Drop use of "extern inline" as some (older) compilers don't support ISO C semantics. 2008-11-30 22:54 Gwenole Beauchesne * NEWS, nspluginwrapper.spec: Updates for 1.1.8. 2008-11-30 22:39 Gwenole Beauchesne * src/npw-viewer.c: Process all pending calls in NPP_Destroy() as the data could become junk afterwards. 2008-11-30 22:34 Gwenole Beauchesne * src/npw-viewer.c: Don't delay call to NPN_ReleaseObject() if we can handle it now. 2008-11-30 21:52 Gwenole Beauchesne * src/rpc.c: Add rpc_method_*_valist() variants, internal only for now. 2008-11-30 21:24 Gwenole Beauchesne * src/npw-viewer.c: Slightly improved delayed call mechanism. This is not fully satisfying yet as I believe a pipe should be better (glib GSource creation is slow). Fortunately, there doesn't seem to be that many calls to NPN_ReleaseObject(). 2008-11-30 21:07 Gwenole Beauchesne * src/npw-malloc.h: Fix typo. 2008-11-30 20:47 Gwenole Beauchesne * src/npruntime.c, src/npw-viewer.c: Delay calls to NPN_ReleaseObject. Revert: 2008-11-22 10:43 Gwenole Beauchesne * src/npw-wrapper.c: Fix NPN_ReleaseObject() reply, i.e. don't dereference npobj after the real call to NPN handler as it could be deallocated. 2008-11-30 17:38 Gwenole Beauchesne * src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c: Add missing debugging messages. 2008-11-30 17:21 Gwenole Beauchesne * src/npruntime.c: Fix pid_check() for the browser-side implementation. 2008-11-30 17:14 Gwenole Beauchesne * src/npruntime.c, src/npw-viewer.c: Extend PID check to npruntime bridge. 2008-11-30 15:52 Gwenole Beauchesne * lsb-build/stub_libs/libc_main.c: Add dirfd() for npw_close_all_open_files(). 2008-11-30 15:47 Gwenole Beauchesne * src/npw-viewer.c: Check that processes fork()'ed off npviewer.bin don't issue RPC calls. Initial patch by Martin Stransky. 2008-11-30 14:56 Gwenole Beauchesne * src/npruntime.c: Rename is_npclass_valid() to is_valid_npobject_class(). 2008-11-30 14:50 Gwenole Beauchesne * src/npruntime.c, src/npw-wrapper.c: Remove wrong comment. The errors previously noticed were due to the fact that NPObjects were looked up in the wrong (previously deallocated) hash table. We now preserve that hash table. 2008-11-30 14:33 Gwenole Beauchesne * src/npw-wrapper.c: Likewise for npobject_bridge_destroy(). 2008-11-30 14:18 Gwenole Beauchesne * src/npw-wrapper.c: Move id_init() into NP_Initialize(), likewise for id_kill() into NP_Shutdown(). Those functions are guaranteed to be called only once. g_NP_Initialize() and g_NP_Shutdown() could be called several times for the restart machinery but we don't want to clobber with IDs generated previously. 2008-11-30 13:17 Gwenole Beauchesne * src/npw-viewer.c: Kill viewer if the parent browser died (Martin Stransky). 2008-11-30 13:08 Gwenole Beauchesne * src/npruntime.c, src/npw-wrapper.c: Use rpc_connection_set_error_callback() to detect and handle an RPC connection loss (Martin Stransky). In that case, all NPObjects are invalidated. XXX: this is too global. 2008-11-30 12:10 Gwenole Beauchesne * src/npruntime-impl.h, src/npruntime.c: Add a mechanism to stop calls to NPClass functions if the other end died. We get notified of this situation through npruntime_deactivate(). Initial patch by Martin Stransky. 2008-11-30 11:09 Gwenole Beauchesne * src/rpc.c, src/rpc.h: Introduce rpc_connection_set_error_callback() to register a callback for RPC errors (Martin Stransky). 2008-11-30 10:41 Gwenole Beauchesne * src/npw-viewer.c: Warn out when we explicitly don't support specific variables for XPCOM in NPN_GetValue() (Martin Stransky). 2008-11-30 09:18 Gwenole Beauchesne * src/rpc.c: Add SOCK_CLOEXEC to socket() flags. This is a Linux >= 2.6.27 extension. 2008-11-30 09:01 Gwenole Beauchesne * src/npw-wrapper.c, src/utils.c, src/utils.h: Close all open files on fork(). Initial patch by Dan Walsh. 2008-11-29 14:49 Gwenole Beauchesne * utils/npw-shadow.c: Nuke dead file. 2008-11-29 14:47 Gwenole Beauchesne * src/npw-wrapper.c: Make it possible to execute native plugins directly (i.e. without npviewer.bin) if either "NPW_DIRECT_EXEC" or "NPW_DIRECT_EXECUTION" environment variable is set. 2008-11-29 14:03 Gwenole Beauchesne * src/utils.c: Fix id_init() to create a new hash if it does not exist already. 2008-11-25 22:11 Gwenole Beauchesne * src/npw-viewer.sh: Make `which' failures silent for soudwrappers. It's also correct to work without a soundwrapper if the audio device is correctly multiplexed (Stanislav Brabec). 2008-11-25 21:20 Gwenole Beauchesne * nspluginwrapper.spec: Bump release for development. 2008-11-24 18:35 Gwenole Beauchesne * NEWS: Fix typo. 2008-11-23 21:57 Gwenole Beauchesne * ChangeLog: Generated by svn2cl. 2008-11-23 06:43 Gwenole Beauchesne * src/npw-viewer.c: Fix a warning (enumeration value not handled in switch). 2008-11-23 06:39 Gwenole Beauchesne * NEWS, nspluginwrapper.spec: Updates for 1.1.6. * README: Fix typos and mention trademark as there are commercial interests (and be on the safe side). 2008-11-22 15:33 Gwenole Beauchesne * ChangeLog: Generated by svn2cl. 2008-11-22 15:20 Gwenole Beauchesne * src/npruntime.c: Fix string_of_NPVariant() for NULL arguments. 2008-11-22 15:04 Gwenole Beauchesne * src/npruntime.c: Release args variants prior to calling rpc_method_send_reply(). 2008-11-22 13:49 Gwenole Beauchesne * src/npw-viewer.c, src/npw-wrapper.c, src/utils.c, src/utils.h: Improve debug info for NP[PN]_[SG]etValue(). 2008-11-22 13:23 Gwenole Beauchesne * src/npw-wrapper.c: Fix debug message in NPN_Write(). 2008-11-22 10:52 Gwenole Beauchesne * src/npw-wrapper.c: Fix memory leak in NPN_GetStringIdentifiers() RPC handler. 2008-11-22 10:50 Gwenole Beauchesne * src/npw-malloc.h: Add NPW_MemNew() and NPW_MemNew0() helpers. 2008-11-22 10:43 Gwenole Beauchesne * src/npw-wrapper.c: Fix NPN_ReleaseObject() reply, i.e. don't dereference npobj after the real call to NPN handler as it could be deallocated. 2008-11-22 10:01 Gwenole Beauchesne * src/debug.c, src/debug.h, src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c: Indent debugging messages. 2008-11-22 08:54 Gwenole Beauchesne * src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c: Improve debugging messages. Nested invocations could confuse what the return value actually refers to. 2008-11-22 07:54 Gwenole Beauchesne * src/npw-rpc.c: Don't make the sync message a WARNING. 2008-11-22 07:52 Gwenole Beauchesne * src/npw-rpc.c: Always synchronize NPObject::referenceCount in case the plugin wants to inspect that. Synchronization through NPN_RetainObject()/NPN_ReleaseObject() should be enough though. 2008-11-22 07:37 Gwenole Beauchesne * src/npw-viewer.c: Fix plugin window resize in XEMBED hack mode. 2008-11-17 21:55 Gwenole Beauchesne * tests/test-plugins.html: Newer demo for the SqueakVM plugin. 2008-11-17 21:40 Gwenole Beauchesne * src/npw-viewer.c, src/npw-wrapper.c: Lower priority of RPC handlers. 2008-11-15 21:50 Gwenole Beauchesne * src/npw-player.c: Fix for "javascript:" requests. Don't make them fail because we are starting those streams manually. 2008-11-15 21:45 Gwenole Beauchesne * src/npw-common.h: Fix npw_get_stream_instance(). 2008-11-09 17:02 Gwenole Beauchesne * src/npw-wrapper.c: Update NPP_Write() comment for negative array lengths. 2008-11-09 16:56 Gwenole Beauchesne * src/npw-wrapper.c: Propagate NPP_Write() with negative lengths since the plugin may want to handle that case (e.g. close a stream?). In practise, this doesn't make much sense either. NPAPI specs need to be updated to mean "close the stream" if NPP_WriteReady() returns a negative value. 2008-11-09 16:46 Gwenole Beauchesne * src/rpc.c, tests/test-rpc-types.c: Actually, since an array of negative size doesn't make sense, let it be the responsibility of the caller to check for bounds. 2008-11-09 16:38 Gwenole Beauchesne * src/rpc.c, tests/test-rpc-types.c: Size of the array to RPC_TYPE_ARRAY argument is now an int32. Allow for NULL arrays or arrays of negative length. In that case, the returned array pointer in the other size is NULL. 2008-11-09 15:26 Gwenole Beauchesne * tests/test-rpc-types.c: Add tests for arrays. Fix rpc_test_signature() for arrays. 2008-11-09 15:24 Gwenole Beauchesne * src/rpc.c: Allow arrays of uint64 or double. 2008-11-09 14:29 Gwenole Beauchesne * tests/test-rpc-common.c, tests/test-rpc-common.h, tests/test-rpc-concurrent.c, tests/test-rpc-nested.c, tests/test-rpc-types.c: Fix indentation (8-char tabs, not 4). 2008-11-09 14:18 Gwenole Beauchesne * configure: Enable glib memory hooks by default if not configuring with --enable-generic. 2008-11-09 14:13 Gwenole Beauchesne * nspluginwrapper.spec: Bump version for development. 2008-11-06 22:36 Gwenole Beauchesne * ChangeLog: Generated by svn2cl. 2008-11-06 22:28 Gwenole Beauchesne * NEWS, README, nspluginwrapper.spec: Updates for 1.1.4. 2008-11-06 22:06 Gwenole Beauchesne * configure: Build glib memory hooks only if system glib supports g_slice_alloc(). 2008-11-04 23:16 Gwenole Beauchesne * src/npruntime.c, src/npw-common.c, src/npw-rpc.c, src/npw-wrapper.c: Fix remaining memory leaks in npruntime bridge. The strategy with NPVariants assumes that NPObject methods will preserve the NPVariant value by copying it (e.g. a string) or increasing the refcount of the underlying NPObject. IOW, they don't assume the value is live beyond the call to that method without preserving it. Based on this assumption, we can write the following rules: - Any NPVariant value shall be released if it comes from an rpc_method_get_args(). That's an nspluginwrapper requirement - Any NPVariant result value shall be released when the plugin no longer needs it. That's an NPAPI requirement, implemented by the plugin. Thus, we deal with NPObjects as follows: - Prior to sending an NPObject (in an NPVariant), the browser ref()'s it - After having received an NPObject, the browser ref()'s it i.e. since this is a browser-side object, it's browser side responsibility to ref()' the object. The plugin will unref() the NPObject "naturally" when (i) the NPVariant got from rpc_method_get_args() is released, or (ii) the NPVariant is explicitly unref()'ed per NPAPI specs for NPVariant result values. 2008-11-04 21:21 Gwenole Beauchesne * src/npw-malloc.c: Fix copy-paste error. 2008-11-03 23:04 Gwenole Beauchesne * src/npw-wrapper.c: Don't try to NPP_Write() erroneous buffers of supposedly negative length. Actually, we can get to that case if NPP_WriteReady() returned -1 or another negative value, in general. Some browsers (Konqueror, Google Chrome) send data through NPP_Write() anyway. Others (Firefox, WebKit) actually suspend the stream temporarily. Note that returning -1 here will destroy the stream. This is compatible with the expected behaviour. e.g. the DiamondX test plugin wants that. Is there any other "real" plugin in that case too? 2008-11-03 22:29 Gwenole Beauchesne * src/npw-viewer.c: Use the XEMBED hack (GTK_WINDOW_POPUP toplevel widget instead of GtkPlug) only with Gtk2-based browsers. IOW, this restores the older behaviour for Konqueror as this causes problems there. 2008-11-03 22:20 Gwenole Beauchesne * src/npw-rpc.c: Fix NPN_GetValue() with NPNVToolkit. Actually, it was not a problem before because we used to always return NPNVGtk2. However, we now want to detect what toolkit the parent browser is using. 2008-11-02 15:42 Gwenole Beauchesne * src/npw-viewer.c: Fix XEMBED support. Actually, workaround Gtk and Firefox bugs. i.e. don't let them kill the plugin window by killing the old page window without calling either NPP_Destroy() or SetWindow(instance, NULL) first. 2008-11-02 15:04 Gwenole Beauchesne * src/npw-common.h: Fix npw_get_plugin_instance() for CrossOver Plugin. They make a local copy of the original instance in stack while preserving the same plugin private data (our PluginInstance, fortunately!). 2008-10-29 05:40 Gwenole Beauchesne * src/npruntime.c, src/npw-common.h, src/npw-wrapper.c: Don't claim we support interfaces we currently don't, i.e. NPAPI >= 0.18 is not fully implemented yet. 2008-10-29 05:26 Gwenole Beauchesne * src/npw-viewer.c: Fix NPP_URLNotify() (thanks to Bennet Yee). 2008-10-29 05:18 Gwenole Beauchesne * src/npw-common.c, src/npw-common.h: Add an NPW_Identifier type useful for implementing local NPIdentifier cache. It's silly to do an RPC round trip simply to retrieve an integer or string value. The NPRuntime caching strategy is not fully settled yet though. 2008-10-29 05:14 Gwenole Beauchesne * src/npw-rpc.c, src/npw-rpc.h, src/npw-viewer.c, src/npw-wrapper.c: Create a specific NPUTF8 string marshaler. The difference with normal RPC_TYPE_STRING is the recv() allocates the string with NPN memory allocators. Besides, it's technically possible to pass a NULL argument to the recv() handler and means "I don't care of the data you received. Drop it, thanks". In practise, this is not useful but all marshalers should be safe to NULL arguments and still work afterwards (i.e. do receive data) in that case. 2008-10-29 04:05 Gwenole Beauchesne * src/npw-malloc.c: Revert to libc free() if we don't have the 'Glib' magic in memblock. 2008-10-27 23:22 Gwenole Beauchesne * src/npw-viewer.c: Use new memory allocators. 2008-10-27 23:14 Gwenole Beauchesne * Makefile, configure, src/npw-common.c, src/npw-malloc.c, src/npw-malloc.h: Add memory allocation wrappers over standard libc or glib. 2008-10-27 21:50 Gwenole Beauchesne * src/npw-common.c: Remove checks, those functions shall be used only if they are known to be usable in the first place. 2008-10-26 23:07 Gwenole Beauchesne * TODO: Updates. 2008-10-26 23:01 Gwenole Beauchesne * src/npruntime.c, src/npw-rpc.c: Use NPN memory allocation routines for NPVariant (NPString). 2008-10-26 22:31 Gwenole Beauchesne * src/npw-rpc.c: Use common instance stuff. 2008-10-26 22:26 Gwenole Beauchesne * src/npw-common.h, src/npw-viewer.c, src/npw-wrapper.c: Add common PluginInstance|StreamInstance code. 2008-10-26 22:23 Gwenole Beauchesne * src/npw-common.c: Add memory allocation wrappers. 2008-10-26 21:36 Gwenole Beauchesne * Makefile, src/npruntime.c, src/npw-common.c, src/npw-common.h, src/npw-viewer.c, src/npw-wrapper.c, src/sysdeps.h: Clean up common code. 2008-10-26 20:51 Gwenole Beauchesne * src/debug.h: Add very verbose debug mode with filename:line additional specification. Disabled by default, for developers that want to debug things. Note this uses a GNU C extension. 2008-10-26 17:01 Gwenole Beauchesne * src/npruntime.c: Cosmetics. Also fix some memory leaks. 2008-10-26 16:26 Gwenole Beauchesne * src/npw-viewer.c: Print returned pointer in NPN_MemAlloc() for debugging. 2008-10-26 16:23 Gwenole Beauchesne * src/npruntime-impl.h, src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c: Move NPVariant helpers to npruntime.c. Fix string_of_NPVariant() for NPString. Define NPN_ReleaseVariantValue() and NPN_ReleaseObject() appropriately in both the wrapper and the viewer. 2008-10-26 15:38 Gwenole Beauchesne * src/npw-rpc.c: Allocate an empty string ('') for NPString::utf8length == 0. This is what Firefox does. 2008-10-26 07:55 Gwenole Beauchesne * src/npw-viewer.c: Avoid double object destruction with the Flash Player plugin. 2008-10-25 17:42 Gwenole Beauchesne * src/npw-viewer.c, src/utils.c, src/utils.h: Add string_of_NPEvent_type() for debug. 2008-10-25 17:36 Gwenole Beauchesne * src/npw-wrapper.c: Fix typo for debug. 2008-10-25 17:31 Gwenole Beauchesne * src/gtk2xtbin.c, src/gtk2xtbin.h: Sync with firefox3 sources. 2008-10-21 21:45 Gwenole Beauchesne * configure: Check for the X Toolkit correctly (fully). 2008-10-13 19:56 Gwenole Beauchesne * nspluginwrapper.spec: Bump version for development. 2008-10-12 16:10 Gwenole Beauchesne * Makefile: Fix make tarball. 2008-10-12 16:07 Gwenole Beauchesne * ChangeLog: Generated by svn2cl. 2008-10-12 16:01 Gwenole Beauchesne * README: Mention the standalone plugins player. 2008-10-12 15:59 Gwenole Beauchesne * README, src/npw-config.c: Update doc for nspluginwrapper -n|--native flag. 2008-10-12 15:21 Gwenole Beauchesne * NEWS, nspluginwrapper.spec: Updates for 1.1.2 release. 2008-10-12 15:19 Gwenole Beauchesne * README: Flash Player 10 release candidate also works. 2008-10-12 15:05 Gwenole Beauchesne * Makefile, configure, src/npw-config.c: Add support for Open Solaris (2008.05). 2008-10-12 15:04 Gwenole Beauchesne * src/npw-viewer.sh: Fix architecture detection on Solaris/i386. 2008-10-12 15:03 Gwenole Beauchesne * src/npw-config.c: Allow wrapping of native plugins through the -n|--native option. 2008-10-12 15:00 Gwenole Beauchesne * src/npw-config-template.h: Try to guess Solaris binaries with .SUNW_version sections. 2008-10-12 13:55 Gwenole Beauchesne * Makefile, utils/install.sh: Add install program. 2008-10-12 08:31 Gwenole Beauchesne * configure: Fix build on NetBSD 3.1. 2008-10-12 08:22 Gwenole Beauchesne * configure, src/rpc.c: Fix calculation of sockaddr_un length. 2008-10-06 21:55 Gwenole Beauchesne * configure, src/rpc.c: Make it possible to define the maximum of time (in seconds) to wait for the plugin to connect. This can be set both at configure-time (--rpc-init-timeout) or at run-time (NPW_INIT_TIMEOUT) (Initial patch by Geraint North). 2008-10-06 21:25 Gwenole Beauchesne * configure: Detect ARM (Geraint North). 2008-10-05 21:45 Gwenole Beauchesne * src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c: Revert rev 647 (renaming of g_rpc_connection to g_npn_connection). 2008-10-05 21:43 Gwenole Beauchesne * src/rpc.c: Handle possible _rpc_dispatch_until() errors in rpc_method_invoke(). 2008-10-05 21:39 Gwenole Beauchesne * TODO, src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c, src/rpc.c, tests/test-rpc-concurrent.c, tests/test-rpc-nested.c, tests/test-rpc-types.c: Rework RPC code to cope with concurrent rpc_method_invoke(). This function is now atomic. That is, method id and its arguments are marshalled in one shot, there is no intermediate wait for MSG_ACK. Notable change also includes the fact that optimization for no-argument or no-return value cases is now gone. i.e. each rpc_method_invoke() shall have an rpc_method_get_args() on the other side, even if there is no arg passed. Besides, each rpc_method_wait_for_reply() shall have an rpc_method_send_reply() on the other side, even if the function normally doesn't return anything. This optimization could be brought back into V3 protocol specification. Current revision is now V2.5. 2008-10-05 21:03 Gwenole Beauchesne * tests/test-rpc-common.c: Cleaner exit code path. 2008-10-05 16:32 Gwenole Beauchesne * tests/test-rpc-concurrent.c: Error out early for invalid message types. 2008-10-05 16:27 Gwenole Beauchesne * tests/test-rpc-concurrent.c: Default to silent mode and 5000 messages. 2008-10-05 16:08 Gwenole Beauchesne * Makefile, tests/test-rpc-common.c, tests/test-rpc-common.h, tests/test-rpc-concurrent.c, tests/test-rpc-nested.c, tests/test-rpc-types.c: Add tests for new RPC implementation. 2008-10-04 13:31 Gwenole Beauchesne * lsb-build/headers/glib-2.0/glib.h, lsb-build/stub_libs/libglib-2.0.c: Add basic GSlice support thunks. 2008-10-04 13:30 Gwenole Beauchesne * src/utils.c, src/utils.h: Add npw_asprintf(). 2008-10-04 08:02 Gwenole Beauchesne * src/npruntime.c, src/npw-viewer.c, src/npw-wrapper.c: Rename g_rpc_connection to g_npn_connection. 2008-09-29 22:03 Gwenole Beauchesne * src/npw-rpc.c, src/npw-viewer.c: Fix X visual marshaling (Flash 10, initial patch by Martin Stransky). 2008-07-07 19:37 Gwenole Beauchesne * nspluginwrapper.spec: Bump version for development. 2008-07-06 20:59 Gwenole Beauchesne * ChangeLog: Generated by svn2cl. 2008-07-06 20:55 Gwenole Beauchesne * nspluginwrapper.spec: Add libnoxshm.so to filelist. 2008-07-06 20:53 Gwenole Beauchesne * NEWS, README, TODO, nspluginwrapper.spec: Updates for 1.1.0 release. 2008-07-06 20:38 Gwenole Beauchesne * src/npw-viewer.c: Add ALLOW_WINDOWLESS_PLUGINS compile-time macro to allow/forbid windowless plugins. 2008-07-06 20:14 Gwenole Beauchesne * Makefile: Add LN_S definition for ln -sf command. 2008-07-06 20:09 Gwenole Beauchesne * src/npw-viewer.c, src/npw-wrapper.c: Implement NPN_InvalidateRect() for Flash Player 10 beta 2. 2008-07-06 19:52 Gwenole Beauchesne * src/npw-wrapper.c: Flush the X output buffer so that the call to gdk_pixmap_foreign_new() (and thus XGetGeometry()) can work in the viewer. Otherwise, we sometimes get a BadDrawable. 2008-07-06 19:47 Gwenole Beauchesne * src/npw-viewer.c: Fix NPNVnetscapeWindow wrapper to create a GdkWindow from it as windowless plugins expect to find a toplevel gdk window (and gtk window TBD). 2008-07-06 19:16 Gwenole Beauchesne * src/npw-viewer.c: Synchronize more NPWindow items in successive NPP_SetWindow() calls, i.e. updates case. create_window_attributes() and destroy_window_attributes() now operate on an NPSetWindowCallbackStruct directly. 2008-07-06 17:05 Gwenole Beauchesne * src/npw-viewer.c: Make sure to commit the pixmap in NPN_HandleEvent() for GraphicsExpose events. 2008-07-06 17:02 Gwenole Beauchesne * src/npw-viewer.c: Add support for windowless plugins. 2008-07-06 14:55 Gwenole Beauchesne * src/npw-rpc.c, src/npw-viewer.c, src/npw-wrapper.c: Implement NPP_HandleEvent(). 2008-07-06 14:28 Gwenole Beauchesne * src/npw-rpc.h: Add missing method and type ids for windowless plugins. 2008-07-06 14:23 Gwenole Beauchesne * src/npw-rpc.c, src/npw-viewer.c: Marshal NPSetWindowCallbackStruct: only reconstruct XVisual based on the visualID we pass-through RPC. This will be useful for windowless plugins support. 2008-07-06 13:14 Gwenole Beauchesne * src/npw-rpc.c, src/npw-viewer.c, src/npw-wrapper.c: Propagate NPNVnetscapeWindow. 2008-07-04 20:57 Gwenole Beauchesne * src/npw-rpc.c, src/npw-viewer.c: Propagate NPNVSupportsWindowless. 2008-07-04 20:52 Gwenole Beauchesne * src/npw-rpc.c, src/npw-viewer.c, src/npw-wrapper.c: Implement NPN_SetValue() for boolean variables only. 2008-07-04 20:31 Gwenole Beauchesne * src/npw-rpc.c: Add fix for Mozilla bug #406251: NPVariant.intValue is now a signed int. 2008-07-04 20:26 Gwenole Beauchesne * src/npw-rpc.h: Add missing methods for NPN_SetValue(), NPN_Enumerate() and NPN_Construct(). 2008-07-04 20:20 Gwenole Beauchesne * npapi/npapi.h, npapi/npruntime.h, npapi/npupp.h: Update NPAPI headers to 0.19. 2008-07-01 20:38 Gwenole Beauchesne * Makefile: Fix build on platforms that are not biarch devel capable. 2008-06-29 21:17 Gwenole Beauchesne * configure: Document --enable-strip. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.5 2008/11/18 08:33:51 abs Exp $ d3 6 a8 6 SHA1 (nspluginwrapper-1.1.10.tar.bz2) = e4cb6780c85626813a76d7e06f3493245f0310c8 RMD160 (nspluginwrapper-1.1.10.tar.bz2) = dd399cb82301dffec9c289183fc51610514fda13 Size (nspluginwrapper-1.1.10.tar.bz2) = 330810 bytes SHA1 (nspluginwrapper-i386-1.1.10-1.x86_64.rpm) = 2b79e9646a6afe2ea97a5aa7262574b3766e165b RMD160 (nspluginwrapper-i386-1.1.10-1.x86_64.rpm) = e2b1ac8da1b1e352882064e8ddc32eaef6b74f56 Size (nspluginwrapper-i386-1.1.10-1.x86_64.rpm) = 68516 bytes @ 1.5 log @Update plugin path to check for seamonkey and to respect PREFIX. Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.4 2008/07/05 22:27:52 abs Exp $ d3 8 a10 7 SHA1 (nspluginwrapper-1.0.0.tar.bz2) = ef551fb508835b3358355477be794a34e9f64135 RMD160 (nspluginwrapper-1.0.0.tar.bz2) = d3b5a5d1dd314e5331ffc877fb9621d6566087c6 Size (nspluginwrapper-1.0.0.tar.bz2) = 271028 bytes SHA1 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 9980fd73369996b8b1ee31b5550be838e407a8d5 RMD160 (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 850d025d3e53f69c559170b747b4a820b508eb96 Size (nspluginwrapper-i386-1.0.0-1.x86_64.rpm) = 53496 bytes SHA1 (patch-aa) = 01116b045d6da50551d44246a56024c71b6a5444 @ 1.4 log @Update nspluginwrapper to 1.0.0 - may help PR pkg/37857 * Don't wrap root plugins to system locations, keep them private * Fix support for Acrobat Reader 8 (focus problems) * Fix support for mozplugger (in full-debug mode) * Fix support for WebKit * Fix crashes with Flash Player 9 Update 3 (9.0.115) * Fix build with Intel compiler * Add support for IBM XLC compiler * Improve error handling during RPC initialization (possible memory leak on error) * Improve error handling in NPP_WriteReady() and NPP_Write() @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.3 2007/09/09 17:06:03 xtraeme Exp $ d9 1 @ 1.3 log @Update to 0.9.91.5: [2007/08/26] nspluginwrapper 0.9.91.5 Fix a memory leak in NPP_Destroy() Fix DiamondX XEmbed example plugin Fix focus problems (Debian bug #435912) Add support for 64-bit plugins (Martin Stransky) Add support for newer NPAPI 0.17 functions and variables Add support for broken 64-bit Konqueror versions (run-time detect) [2007/04/03] nspluginwrapper 0.9.91.4 Dont try to wrap native plugins Fix build on NetBSD (David Brownlee) Fix build on DragonFlyBSD (Steve OHara-Smith) Fix build on Linux systems with SSP enabled by default (Kristian Hermansen) @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.2 2007/04/02 22:38:44 abs Exp $ d3 6 a8 6 SHA1 (nspluginwrapper-0.9.91.5.tar.bz2) = f5f0126741fec8db2340e6f58d7390cd8c9ca862 RMD160 (nspluginwrapper-0.9.91.5.tar.bz2) = 8f88f3f3e5703f02130c1c3bb3627e07eb7eb7ca Size (nspluginwrapper-0.9.91.5.tar.bz2) = 273331 bytes SHA1 (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = 079e7399517a1a6c8434106c68b37d65b818f2f9 RMD160 (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = df86533ccda904c7c1f59172a3619d683ca6976b Size (nspluginwrapper-i386-0.9.91.5-1.x86_64.rpm) = 52386 bytes @ 1.2 log @Add patches from Steve O'Hara-Smith to enable build on DragonFlyBSD No change on other platforms, so skipped PKGREVISION bump. Steve has already fed the patches back to the author. Currently the package hardcodes some search paths from /usr/pkg - I have an sent a question to the author as to how he would best like to handle those in his framework. @ text @d1 1 a1 1 $NetBSD: distinfo,v 1.1.1.1 2007/03/22 22:33:45 abs Exp $ d3 6 a8 10 SHA1 (nspluginwrapper-0.9.91.3.tar.bz2) = bcd1e1a2260de022c6d5bc2bff802c8d381805d2 RMD160 (nspluginwrapper-0.9.91.3.tar.bz2) = 660d928b508c342003f9ff3483ce8b8d25919e90 Size (nspluginwrapper-0.9.91.3.tar.bz2) = 257648 bytes SHA1 (nspluginwrapper-i386-0.9.91.3-1.x86_64.rpm) = 7e242b356f417d6e60cb00eaec1b214010737c11 RMD160 (nspluginwrapper-i386-0.9.91.3-1.x86_64.rpm) = 62835a2d318363fe97ca79842f2caebbd0f9b94a Size (nspluginwrapper-i386-0.9.91.3-1.x86_64.rpm) = 50757 bytes SHA1 (patch-aa) = 188cc6c7c4c60196db7634daa1fe5dd1fe2eb87f SHA1 (patch-ab) = 84082438c3cdac30de337137e06a707223ef85ce SHA1 (patch-ac) = d3960bc25f49db5d36f7781e0dfbe8b795744ae9 SHA1 (patch-ad) = 806cc69b99b1f087724469693f0a853f8f479184 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d9 1 a9 1 SHA1 (patch-aa) = 85b18c77b333eb41a2ce40a178f7edf31b6803da d11 2 @ 1.1.1.1 log @Import www/nspluginwrapper-0.9.91.3 into pkgsrc: nspluginwrapper is an Open Source compatibility plugin for Netscape 4 (NPAPI) plugins. It separates the execution environment of the plugin from the browser, allowing a plugin compiled for one ABI to be used in a browser compiled for another. For example the linux 32bit Adobe Flash plugin can be used in a native Firefox under Linux/x86_64, NetBSD and FreeBSD platforms. To install the Linux flash player into a native Firefox browser: - Also install multimedia/ns-flash and multimedia/libflashsupport - Run "nspluginwrapper -i /usr/pkg/lib/netscape/plugins/libflashplayer.so" - Run Firefox This is working at least under NetBSD/i386 4.0_BETA with native and modular x11. @ text @@