summaryrefslogtreecommitdiff
path: root/test/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2013-01-19test: Allow previewer to run with plug in same or separate processDan Nicholson1-3/+2
GtkSocket/GtkPlug behave differently when the plug is embedded in the same process rather than running in a separate process. It seems that epiphany does the former while firefox does the latter and that might be causing some of the behavioral differences. When the previewer is run without options, the plug is embedded in the same proceess. When executed with the -f/--fork option, the plug is run from a separate process.
2012-08-08Allow building both gtk2 and gtk3 versions of pluginDan Nicholson1-3/+11
To make things more useful for GNOME/epiphany, which is squarely in gtk3 land, allow building both the gtk2 and gtk3 versions of the plugin. I'm not sure what will happen when both plugin's are in the browser's path. A subsequent patch will allow finer grained control of the installation directory.
2012-08-08test: Convert previewer to socket/plugDan Nicholson1-2/+3
This plugs a big hole in the previewer test app where the widget was used differently than in the browser. Now they both get instantiated through GtkSocket/GtkPlug.
2012-05-27Add EvbpViewer convenience library to use in testsDan Nicholson1-10/+1
Rather than build all the EvbpViewer sources twice, make a convience library for the tests to link to. This does add the unfortunate effect of relinking libevbp-viewer.la and libevbp.la every time there's a change in the source, though.
2012-05-27Add suffix to default save filename from mime rulesDan Nicholson1-1/+2
When we try to construct the filename from the document title, use the mime type mappings to get a suffix.
2012-03-20viewer: Add page selector to toolbarDan Nicholson1-2/+5
This adds the page selector widget to the toolbar with actions. The code is copied directly from evince's libmisc.
2012-03-11Begin EvbpViewer widgetDan Nicholson1-1/+4
Start building up a widget object, EvbpViewer, again. Once we're doing anything more complicated than just putting an EvView in a scrolled window, it'll help to keep most of it in it's own widget. The widget subclasses GtkBox so we can just put a toolbar and scrolled window in.
2012-03-06config: Rework Mozilla dependencies so we don't link in librariesDan Nicholson1-2/+2
We really only need the headers for xulrunner and nspr and don't want to link anything since the symbols will all resolve at runtime when the plugin is loaded.
2012-03-05test: Revamp previewer and enable it in the buildDan Nicholson1-1/+1
The code is very similar to the plugin and gives an opportunity to make sure the way we use evince still works correctly.
2012-03-03plugin: Greatly simplify pluginDan Nicholson1-4/+3
And it works! Instead of using the EvPreviewer object, just create the documents and widgets straight in the plugin. This removes the toolbar for now and just leaves a scrolled window for the view. We'll get that back later.
2012-03-03Move plugin sources to src directoryDan Nicholson1-1/+1
2011-02-18plugin: Generate Mozilla MIME string from evince backend infoDan Nicholson1-1/+3
We could hardcode a list of likely MIME types that the plugin will support, but we can get the information directly from evince's backends manager. A mapping from mime type to file extension (which Mozilla wants) is used and contains all the MIME types supported by evince as of gnome-2-30. A small test program has been added to show the constructed MIME description as used by Mozilla.
2011-02-15Enable compiler warning flags and use them by defaultDan Nicholson1-1/+1
For GCC, allow the warning flags to enabled. Turn them on by default so we see things ahead of time.
2011-02-15Add test app and test pdf fileDan Nicholson1-0/+5
The test program is a just a simple exerciser for the EvPreviewer widget, and the pdf is borrowed from evince.