summaryrefslogtreecommitdiff
path: root/plugin
AgeCommit message (Collapse)AuthorFilesLines
2010-03-23Implement the "NonVisibleData" parameterSamuel Lidén Borell3-3/+7
This parameter works like TextToBeSigned, except that the text is not shown to the user. It's used by Skatteverket (the Swedish Tax Office) to sign XML documents, for instance.
2010-03-23Allow signing without a subject filterSamuel Lidén Borell1-2/+1
2010-02-20Call pkg-config to get the X11 includes on OpenBSDSamuel Lidén Borell1-1/+1
The include files for X11 are located in the /usr/X11R6/include/ directory on OpenBSD. Thanks to Markus Bergkvist for discovering this problem.
2010-02-20Fixed a few more window id problems on 64-bit platformsSamuel Lidén Borell2-13/+9
This commit fixes the code outside of the plugin to work properly with 64-bit windows ids. I also simplified the plugin code a bit by using the None value instead of having a separate parameter and a boolean return value.
2010-02-20Fixed crash on 64 bit platforms.Hakan Kvist3-10/+22
The npn_getvalue on NPNVnetscapeWindow returns a Window on X11. A X11 Window is defined as an unsigned long. This happends to be 8 bytes on amd64 and 4 bytes on i386 (int is 4 bytes on both amd64 and i386). So prevously the code worked on i386, but not on amd64 where you instead got a SIGSEV. Signed-off-by: Hakan Kvist <fribid@svenskascenarbetaremotkonfetti.se>
2010-02-18Made the plugin windowless (for compatibility with Chrome)Samuel Lidén Borell1-0/+3
2010-02-18Removed WNOHANG from waitpid call because it left zombie processesSamuel Lidén Borell1-1/+1
2010-01-29Moved the test page into a new "tests" directorySamuel Lidén Borell1-97/+0
2010-01-29Fixed invalid HTML in the test pageSamuel Lidén Borell1-8/+10
2010-01-27Made the subject filter optional and a common parameterSamuel Lidén Borell3-7/+7
Now it can be used in authentication objects too.
2010-01-27Added a missing dependency in the makefileSamuel Lidén Borell1-2/+2
2010-01-26Removed some stupid codeSamuel Lidén Borell1-3/+1
2010-01-02Added a comment about Opera compatibilitySamuel Lidén Borell1-4/+7
2010-01-02Prevent multiple windows from getting opened from the same web siteSamuel Lidén Borell1-2/+42
2010-01-02Handle memory allocation errorsSamuel Lidén Borell2-16/+45
Also fixes a couple of very unlikely integer overflows.
2010-01-02Increase use of const and static in the codeSamuel Lidén Borell3-11/+10
...and use char arrays instead of char pointers for string constants to avoid unnecessary indirection.
2010-01-02Error codes for invalid actions and missing parametersSamuel Lidén Borell2-4/+5
2010-01-02Changed the plugin filename to libfribidplugin.soSamuel Lidén Borell1-8/+8
This makes it possible to install Nexus Personal and FriBID side-by-side. The only problem is that the plugin filename is exposed to the web sites, which could "sniff" for certain filenames. However, the plugin description is also exposed (and it's of course different from the one in Nexus Personal). Furthermore, I haven't seen any sites that sniffs for anything else than the MIME type, so I think this change is motivated.
2010-01-02Better plugin info in about:pluginsSamuel Lidén Borell1-2/+3
2010-01-02Respect CFLAGS and LDFLAGS in the makefilesSamuel Lidén Borell1-2/+3
2010-01-02Added license headers to files that lacked themSamuel Lidén Borell4-519/+54
2010-01-02Made the plugin re-entrantSamuel Lidén Borell1-55/+54
2010-01-02Keep debug information on installationSamuel Lidén Borell1-1/+1
2010-01-02Let the browser process it's messages while the plugin waits for inputSamuel Lidén Borell2-2/+6
2010-01-02Made the window modal instead of "stay on top"Samuel Lidén Borell4-8/+43
2010-01-02Allow the "Policys" parameter to be unsetSamuel Lidén Borell2-2/+3
2010-01-02Fixed a compiler warning on FreeBSDSamuel Lidén Borell1-1/+1
2010-01-02Fixed a compile warningSamuel Lidén Borell1-1/+1
2010-01-02Don't (indirectly) double-free a string in GetParamSamuel Lidén Borell1-2/+6
2010-01-02Fixed the return values of GetParam and PerformActionSamuel Lidén Borell4-10/+11
2010-01-02Renamed the software to FriBIDSamuel Lidén Borell1-2/+2
2010-01-02Don't accept parameters larger than 10 MiBSamuel Lidén Borell1-0/+5
2010-01-02Code cleanup & fixed memory errorsSamuel Lidén Borell4-98/+100
2010-01-02Fixed a NULL dereference in GetParamSamuel Lidén Borell1-1/+1
2010-01-02Fixed a NULL dereference bugSamuel Lidén Borell1-2/+16
2010-01-02Included NPAPI in the source treeSamuel Lidén Borell1-1/+1
2010-01-02Removed some unnecessary includesSamuel Lidén Borell1-1/+0
2010-01-02Made the makefiles respect the DESTDIR variableSamuel Lidén Borell1-8/+8
2010-01-02Made the plugin path configurableSamuel1-9/+9
The default path is /usr/lib/mozilla/plugins
2010-01-02Allocate strings that are freed by the browser with NPN_MemAllocSamuel Lidén Borell3-4/+14
2010-01-02Fixed a bug in the strndup codeSamuel Lidén Borell1-2/+1
2010-01-02Don't assume that NPStrings are null terminatedSamuel Lidén Borell1-8/+32
2010-01-02Added a dummy NPP_SetWindow functionSamuel Lidén Borell1-2/+11
The Opera browser calls this function even for hidden plugins
2010-01-02Made the Makefile work on FreeBSD (almost)Samuel Lidén Borell1-1/+2
The plugin path is still wrong but that problem affects any OS/distribution that doesn't install mozilla/xulrunner in /usr/lib/mozilla and /usr/lib/xulrunner.
2010-01-02Licensed most files under the MIT/Expat licenseSamuel Lidén Borell6-0/+144
Exceptions: The files np_entry.c and npn_gate.c were licensed under the NPL (the Netscape Public License) by their authors. A few files do not have any license information. This is because I consider them to be to short/simple to be copyrightable works.
2010-01-02Cleaned up the MakefilesSamuel Lidén Borell1-4/+4
2010-01-02Made the install target support xulrunner tooSamuel Lidén Borell1-4/+8
2010-01-02Added install/uninstall targets to the makefilesSamuel Lidén Borell1-1/+17
2010-01-02Added a "configure" scriptSamuel Lidén Borell1-2/+6
2010-01-02Fixed Makefile problemsSamuel Lidén Borell1-0/+1