From: Martin Kretzschmar Date: Sun, 25 May 2003 13:34:01 +0000 (+0000) Subject: new test. X-Git-Tag: GPDF_0_103~3 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=ef52d26f0772fa913097371f9f9896cd9f19593e;p=evince.git new test. * xpdf/tests/test-pdf-loading.cc: new test. * xpdf/tests/Makefile.am (TESTS_NEEDING_PDFTEX): add test-pdf-loading. * xpdf/Makefile.am (libgpdf_a_SOURCES): move more files to the lib. * xpdf/gpdf-persist-stream.cc (gpdf_persist_stream_get_length): kill. (gpdf_persist_stream_delete_doc_and_stream): rename from delete_pdf_doc_full, simplify. (load_pdf_from_stream): make priv->pdf_stream local to this method, kill redundant test for catalog. * xpdf/gpdf-persist-stream.h (gpdf_persist_stream_get_length): kill. * xpdf/gpdf-control.cc (verb_FileProperties_cb): remove file size argument. * xpdf/nautilus-pdf-property-page.cc (gpdf_nautilus_property_page_set_uri): ditto. * xpdf/pdf-info-dict-util.cc (pdf_doc_process_properties): kill file size parameter. * xpdf/pdf-info-dict-util.h: ditto. * xpdf/pdf-properties-display.c: kill traces of the file size label. --- diff --git a/pdf/xpdf/Makefile.am b/pdf/xpdf/Makefile.am index 66f4e6fb..bf21a2b1 100644 --- a/pdf/xpdf/Makefile.am +++ b/pdf/xpdf/Makefile.am @@ -117,25 +117,25 @@ common_sources = \ UTF8.h libgpdf_a_SOURCES = \ + BonoboStream.cc \ + BonoboStream.h \ + GnomeVFSStream.cc \ + GnomeVFSStream.h \ gpdf-link-canvas-item.cc \ gpdf-link-canvas-item.h \ gpdf-links-canvas-layer.cc \ - gpdf-links-canvas-layer.h + gpdf-links-canvas-layer.h \ + gpdf-persist-stream.cc \ + gpdf-persist-stream.h gnome_pdf_viewer_SOURCES = \ $(common_sources) \ - BonoboStream.cc \ - BonoboStream.h \ - GnomeVFSStream.cc \ - GnomeVFSStream.h \ GPOutputDev.cc \ GPOutputDev.h \ bonobo-application-x-pdf.cc \ gpdf-control.cc \ gpdf-control.h \ gpdf-g-switch.h \ - gpdf-persist-stream.cc \ - gpdf-persist-stream.h \ gpdf-stock-icons.c \ gpdf-stock-icons.h \ gpdf-util.h \