Commit graph

24 commits

Author SHA1 Message Date
Maks Orlovich
12bbb3bf76 Update to latest gecko plugin sdk headers. 2011-05-17 08:48:53 -04:00
Maks Orlovich
a5c38428e3 As an intermediate stage, let's implement one direction of scripting using
current LC API first. No idea if it's workable w/o doing the other direction 
the way Koos did, but I figure it's better than trying to get a few thousand 
of untested LoC with completely new APIs working (and may be perhaps backportable), 
especially since I did a lot of the work before and can adapt it.

This commit does:
- Update the SDK headers for some of the new functions/enums
- Handle the LC requests in the part, and forward them via DBus to the viewer
- Similarly, have the viewer properly unpack and pass to the scripting engine
- The scripting code for now merely does some API initialization, no actual work.

svn path=/trunk/KDE/kdebase/apps/; revision=1116993
2010-04-20 20:08:43 +00:00
Maks Orlovich
f440aeb6b7 Merge in latest version from mozilla.org, and fix a signedness bug with types I introduced.
svn path=/trunk/KDE/kdebase/apps/; revision=1116074
2010-04-18 15:30:55 +00:00
Pino Toscano
7cae9bfc48 Add support for the Renesas SH(sh4) CPU.
Patch kindly provided by Nobuhiro Iwamatsu, thanks!
CCMAIL: iwamatsu@nigauri.org

svn path=/trunk/KDE/kdebase/apps/; revision=1098589
2010-03-03 23:34:18 +00:00
Benjamin Reed
c451252600 forward-port info_osx compile fix
svn path=/trunk/KDE/kdebase/apps/; revision=944111
2009-03-25 04:07:46 +00:00
Maks Orlovich
be7ba55889 Here too:
Workaround a certain popular plugin's version 10 beta's inability 
to figure out that 13 < 16. 
   
(AKA, stub out some ABI r16 methods that get called despite us claiming only ABI r13 support. 
 I could perhaps do more than stubs, but I can't find any docs!) 

BUG:164706

svn path=/trunk/KDE/kdebase/apps/; revision=825888
2008-06-29 15:42:03 +00:00
Adriaan de Groot
b3a7063244 Add a deliciously arbitrary mask for Studio12. This is needed because there
are two enum values of 13:
  NPPVpluginKeepLibraryInMemory = 13,   /* available in Mozilla 1.0 */
  NPNVToolkit        = (13 | NP_ABI_MASK),
and they are both used in certain switch statements; that's fine
as long as NP_ABI_MASK is non-zero, but for non-gcc compilers
it was, leading to compile errors in nsplugin.cpp (where it's weird
to have a switch on NPP* in a function that takes an NPN).

svn path=/trunk/KDE/kdebase/apps/; revision=790775
2008-03-27 12:50:44 +00:00
Claudio Bantaloukas
f30e5d88b5 fix EBN errors: disable copyright checks for mozilla sdk headers
svn path=/trunk/KDE/kdebase/apps/; revision=783222
2008-03-07 14:03:05 +00:00
Claudio Bantaloukas
d0fe5b73c3 fix EBN errors: spelling checks, skip license check, TRUE-FALSE check
svn path=/trunk/KDE/kdebase/apps/; revision=783215
2008-03-07 13:03:08 +00:00
Bernhard Rosenkraenzer
ba37e5cbcc Don't redefine BITS_PER_LONG if a system header has already defined it
svn path=/trunk/KDE/kdebase/apps/; revision=762460
2008-01-17 06:32:11 +00:00
Luboš Luňák
ee562286ef One more file from Firefox that is more license-friendly.
svn path=/trunk/KDE/kdebase/apps/; revision=751318
2007-12-21 17:05:34 +00:00
Maks Orlovich
d9d3bba4de Commiting my current nspluginviewer work tree. This
has the viewer <-> part interface mostly fixed, and 
has beginnings of an XEmbed host for the plugin.
Unfortunately, that works part of the time at best 
with r115, (probably none of the time on sites other than 
youtube), and is quite  crashy, partly because XEmbed flash
uses Xt anyway(!). I may have to go back to Xt only, not sure. 
(Of course, Xt plugins don't work at all ATM). I need to consult
with some people on the best course of action, since this is getting very tricky, 
and somewhat outside my area of expertise.
======================================================
Update headers some more; this will make compat with things like swfdec a tiny bit easier;
though we'll likely have to work with them to get things working anyway

svn path=/trunk/KDE/kdebase/apps/; revision=748159
2007-12-13 19:09:39 +00:00
Maks Orlovich
339ad70609 Commiting my current nspluginviewer work tree. This
has the viewer <-> part interface mostly fixed, and 
has beginnings of an XEmbed host for the plugin.
Unfortunately, that works part of the time at best 
with r115, (probably none of the time on sites other than 
youtube), and is quite  crashy, partly because XEmbed flash
uses Xt anyway(!). I may have to go back to Xt only, not sure. 
(Of course, Xt plugins don't work at all ATM). I need to consult
with some people on the best course of action, since this is getting very tricky, 
and somewhat outside my area of expertise.
======================================================
Update API header to provide the XEmbed variable names

svn path=/trunk/KDE/kdebase/apps/; revision=748155
2007-12-13 19:08:49 +00:00
Adriaan de Groot
97e4b0d4f0 Play nice with non-gcc on SPARC
svn path=/trunk/KDE/kdebase/apps/; revision=747252
2007-12-11 13:23:09 +00:00
Adriaan de Groot
4e035deab1 SS12 uses __i386 (and __amd64, but haven't hit that case yet)
svn path=/trunk/KDE/kdebase/apps/; revision=746920
2007-12-10 16:24:33 +00:00
Luboš Luňák
37f9ffda00 Put back r655588 (proper bit width for 32bit types).
BUG: 150241


svn path=/trunk/KDE/kdebase/apps/; revision=719540
2007-10-01 09:51:56 +00:00
Max Blazejak
a30ce8ff31 EBN fixes (includes, typos etc.
svn path=/trunk/KDE/kdebase/apps/; revision=669964
2007-05-30 22:06:49 +00:00
Luboš Luňák
1388970ff2 Go back to NP_VERSION_MINOR being 11, just in case. To quote Maksim:
I know that having a lower one is fine --- it implies potentially
smaller function structures, and higher version may require implementing
more stuff. The reason I asked is that I did something similar internally
when working on npruntime support, and I know flash 7 would crash with
some value of NP_VERSION_MINOR, but I am not sure whether it was 13 or 14.


svn path=/trunk/KDE/kdebase/apps/; revision=665308
2007-05-16 14:36:15 +00:00
Luboš Luňák
fc98815265 Replace the Netscape plugins SDK files with ones from Mozilla
with a more friendly license.


svn path=/trunk/KDE/kdebase/apps/; revision=665084
2007-05-15 19:49:09 +00:00
André Wöbbeking
f85b3cc93b Forwardport of rev. 651938:
Don't use long for 32 bit types on LP64 platforms.

Now Konqueror can use e.g. flashplugin on x86_64 with nspluginwrapper :-)

svn path=/trunk/KDE/kdebase/nsplugins/; revision=655588
2007-04-18 20:27:43 +00:00
Jaison Lee
ac792d6585 EBN spelling corrections.
svn path=/trunk/KDE/kdebase/apps/; revision=552770
2006-06-19 01:43:22 +00:00
Michael Matz
5e8672bca1 Some instance of "#if Bla" where Bla is undefined.
svn path=/trunk/kdebase/nsplugins/; revision=90719
2001-04-06 04:06:05 +00:00
Waldo Bastian
d21db8991b -#if defined(__alpha)
+#if defined(__alpha) || defined(_AIX)
 typedef int int32;
-#else /* __alpha */
+#else /* __alpha || _AIX */
 typedef long int32;
-#endif /* __alpha */
+#endif /* __alpha || _AIX */

svn path=/trunk/kdebase/nsplugins/; revision=67527
2000-10-13 20:07:09 +00:00
Matthias Hoelzer-Kluepfel
2063c819e5 Imported header files from Netscapes Plugin SDK to make
building easier.

svn path=/trunk/kdebase/nsplugins/; revision=46100
2000-04-09 15:21:02 +00:00