2010-09-29 Kouhei Sutou * Rakefile: fix dependencies. * Rakefile: add missing libjpeg dependency. Reported by U.Nakamura. Thanks!!! 2010-09-28 Kouhei Sutou * test/run-test.rb: fix path. * Rakefile: add missing dependencies. 2010-09-23 Kouhei Sutou * Rakefile: don't add .zip into gem. * lib/poppler.rb: support bundled Windows DLL. * test/run-test.rb: fix extension library path. * ext/poppler/rbpoppler.h: don't use rbpopplerverseion.h when Poppler provides version macros. * ./: make buildable with rake-compiler. 2010-09-22 Kouhei Sutou * src/: -> ext/poppler/. * src/lib/: -> lib/. 2010-02-10 Kouhei Sutou * sample/pdfdiv.rb: add. 2009-04-01 Kouhei Sutou * src/lib/poppler.rb: ignore Gtk::InitError. 2008-11-03 Kouhei Sutou * extconf.rb: remove needless checks. * extconf.rb, README, src/: remove 0.6.x support. require 0.8.0 or later. 2008-10-25 Kouhei Sutou * test/test_constants.rb: use assert_{,not_}const_defined in Test::Unit. 2008-09-13 Kouhei Sutou * extconf.rb: use check_cairo. 2008-06-29 Kouhei Sutou * test/test_document.rb (TestDocument#test_save): omit if poppler < 0.8.2. 2008-06-14 Kouhei Sutou * test/run-test.rb: use glib/test/glib-test-init.rb. 2008-06-11 Kouhei Sutou * src/rbpoppler-action.c: fix an index bug. * extconf.rb: include poppler.h in have_func test. 2008-05-23 Kouhei Sutou * test/run-test.rb: use which not --version to detect make. 2008-05-13 Kouhei Sutou * test/: use omit. * test/test_document.rb, test/test_constants.rb: fix version check. * test/test_constants.rb: followed the below changes. * src/rbpoppler-annotation.c: support master at 2008-05-13. * src/rbpoppler-page.c: add cairo availability check. 2008-04-22 Kouhei Sutou * sample/number-pdf.rb: add. 2008-04-13 Kouhei Sutou * extconf.rb: fix rcairo's source path. 2008-03-27 Kouhei Sutou * README: added Ruby/GTK+ to Requirements. 2008-03-23 Kouhei Sutou * src/rbpoppler.[ch], src/rbpoppler-private.h, src/rbpoppler-page.c, src/rbpoppler-form-field.c: split form field related codes. * src/rbpoppler.h, src/rbpoppler-page.c, src/rbpoppler-action.c, src/rbpoppler-document.c: added POPPLER_ prefix. * src/rbpoppler.h, src/rbpoppler-page.c, src/rbpoppler-action.c: hide conversion macros. * src/rbpoppler.h, src/rbpoppler-page.c: COLOR -> POPPLER_COLOR. * src/rbpoppler.h, src/rbpoppler-page.c: hid GDK related macros. * src/rbpoppler.h, src/rbpoppler-page.c: RECT -> POPPLER_RECT. * README: marked poppler-glib 0.8.0 is supported. * src/rbpoppler-page.c: used DEF_* macro. * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented methods for Poppler::AnnotationCalloutLine. * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented methods for Poppler::AnnotationFreeText. * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented methods for Poppler::AnnotationText. * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented methods for Poppler::AnnotationMarkup. * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented methods for Poppler::Annotation. * src/rbpoppler-page.c, src/rbpoppler.h: added POPPLER_COLOR2RVAL and POPPLER_COLOR2RVAL_FREE. * src/rbpoppler.[ch], src/rbpoppler-private.h: called Init_annotation(). * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented Poppler::Annotation#type. * src/rbpoppler-page.c: - defined missing methods: Poppler::ButtonField#type and Poppler::ChoiceField#toggle. - defined Poppler::Rectangle#inspect. * src/rbpoppler-page.c, test/test_page.rb: defined Poppler::AnnotationMapping methods. * src/rbpoppler-page.c: added missing static. * src/rbpoppler-page.c, test/test_page.rb: implemented Poppler::Page#annotation_mapping for 0.7.2. 2008-03-22 Kouhei Sutou * src/rbpoppler-page.c (page_get_selection_region), test/test_page.rb (TestPage#test_selection_region): implemented Poppler::Page#get_selection_region for 0.7.2. * src/rbpoppler-page.c, test/test_page.rb (TestPage#test_thumbnail_pixbuf): implemented Poppler::Page#thumbnail_pixbuf. * src/rbpoppler-page.c (page_render_for_printing_generic), test/test_page.rb (TestPage#test_render_to_pixbuf_for_printing): implemented Poppler::Page#render_for_printing. 2008-03-21 Kouhei Sutou * test/test_page.rb (TestPage#test_render_to_pixbuf): added. 2008-03-20 Kouhei Sutou * src/rbpoppler-page.c: implemented Poppler::Page#image. * test/poppler-test-utils.rb, test/test_page.rb: added a PDF that contains images. * test/test_page.rb: added. * src/rbpoppler-document.c: implemented Poppler::Document#save_a_copy. * test/test_document.rb: added. * test/poppler-test-utils.rb: added. * test/: used poppler-test-utils.rb. * src/rbpoppler.[ch], src/rbpoppler-page.c: just buildable with poppler-glib 0.7.3. * test/: added. * extconf.rb: fixed build error on Win32. [Patch #1843689] Reported by Yaakov Selkowitz with a patch. Thanks!!! 2007-11-11 Kouhei Sutou * README: updated supported poppler-glib version: 0.5.2 - 0.6.2. 2007-10-20 Kouhei Sutou * sample/pdf2.rb: removed needless filename -> URI conversion. * sample/pdf2svg.rb: added a new example that convert PDF to SVG. 2007-10-13 Kouhei Sutou * src/: used POPPLER_CHECK_VERSION(0, 6, 0) not POPPLER_CHECK_VERSION(0, 5, 9). * README: updated supported poppler-glib version: 0.5.2 - 0.6.1. * src/rbpoppler-document.c: - used RVAL2DOC() not RVAL2GOBJ(). - supported 0.6.0. * src/rbpoppler-attachment.c: supported 0.6.0. 2007-09-09 Kouhei Sutou * src/rbpoppler-page.c: supported 0.6.0. Bug 1790607. 2007-07-27 Kouhei Sutou * src/rbpoppler.h, src/rbpoppler-page.c: worked with poppler < 0.5.9 again. * src/rbpoppler-document.c: used POPPLER_CHECK_VERSION(0, 5, 9) instead of HAVE_POPPLER_FONT_INFO because my patch is accepted by upstream. * src/rbpoppler.c, src/rbpoppler-page.c: don't show poppler_form_field_get_field_type(). * src/lib/poppler.rb, src/rbpoppler.h, src/rbpoppler-page.c: followed the recent poppler form API changes but not tested because I don't have a PDF with form... 2007-07-13 Guillaume Cottenceau * src/rbpoppler-document.c, src/rbpoppler-page.c: replace RTEST uses by RVAL2CBOOL 2007-07-13 Guillaume Cottenceau * src/rbpoppler-document.c: "? Qtrue : QFalse" => CBOOL2RVAL cleanup 2007-06-23 Kouhei Sutou * src/rbpoppler.h, src/rbpoppler-page.c: followed new functions and types in poppler-page.h. But this is not enough. We need more works. * src/rbpoppler-document.c, src/lib/poppler.rb: supported Poppler::Document.new(pdf_data). * src/rbpoppler.h (SELSTYLE2RVAL, RVAL2SELSTYLE): added. * src/rbpoppler-page.c: followed API changes of poppler_page_render_selection() family at 0.5.9. * src/rbpoppler.c: added enum types appeared at 0.5.9. * src/rbpoppler-action.c, src/rbpoppler-document.c: removed needless variables. 2007-04-07 Kouhei Sutou * src/rbpoppler-document.c (Poppler::Document#size): added a convenient alias of Poppler::Document#n_pages. * src/rbpoppler-document.c (doc_initialize): accepted not only URI but also file name. * src/lib/poppler.rb (Poppler::Document#ensure_uri): added. 2007-03-29 Kouhei Sutou * src/rbpoppler-document.c: added a convenient alias: Poppler::Document#pages. * sample/pdf2text.rb: used default value. * src/rbpoppler-page.c (page_get_text): used page size rectangle as default value. 2006-09-06 Kouhei Sutou * src/rbpoppler-action.c: - made Poppler::Action read only. - used macros for defining methods of Poppler::Dest. * ./: don't require a patch of Bug 6912 for Poppler. https://bugs.freedesktop.org/show_bug.cgi?id=6912 * extconf.rb: don't check whether PopplerActionAny is exist or not. * src/rbpoppler-action.c, src/rbpoppler.h: Poppler::Action is always available. * src/rbpoppler-page.c: Poppler::LinkMapping#action is always available. 2006-07-10 Kouhei Sutou * src/rbpoppler-page.c: - can compile without rcairo. - don't use PopplerAction when PopplerActionAny is exist. 2006-06-27 Kouhei Sutou * README: required 0.5.2 or later poppler-glib. * extconf.rb: ditto. 2006-06-17 Kouhei Sutou * src/rbpoppler-document.c: use GLIST2ARYF. * src/rbpoppler-page.c: use GLIST2ARY2F. * src/: worked without any patches for poppler-glib. * extconf.rb: check whether poppler_page_render_selection_to_pixbuf() and PopplerActionAny are available or not. * src/rbpoppler-page.c: check whether poppler_render_selection_to_pixbuf() is available or not. * src/rbpoppler-document.c: disable Poppler::FontInfo and related methods when POPPLER_TYPE_FONT_INFO is not available. (POPPLER_TYPE_FONT_INFO is not available means PopplerFontInfo is not GObjectize.) * src/rbpoppler-action.c: disable Poppler::Action* and related stuffs when PopplerActionAny is available. (PopplerActionAry is available means PopplerAction* are not GObjectize.) * src/rbpoppler-document.c: ditto. * src/rbpoppler.h.c: ditto. 2006-05-30 Kouhei Sutou * src/rbpoppler-document.c: fixed memory leaks. * src/rbpoppler-page.c: ditto. 2006-05-27 Kouhei Sutou * src/rbpoppler-page.c: - made Poppler::Page#render generic method. - removed Poppler::Page#render_to_pixbuf. - removed Poppler::Page#render_to_ps. - made Poppler::Page#render_selection generic method. * src/lib/poppler.rb: added convenience method Cairo::Context#render_poppler_page_selection. * sample/pdf2.rb: use Poppler::Page#render instead of Poppler::Page#render_to_pixbuf. 2006-05-26 Kouhei Sutou * src/rbpoppler.h: added extern modifier. 2006-05-23 Kouhei Sutou * src/rbpoppler-document.c: fixed some memory leaks. 2006-05-19 Kouhei Sutou * sample/pdf2text.rb: added a sample which extract text from PDF. * src/rbpoppler-document.c (index_iter_initialize): added NULL check. (Poppler::Layout): fixed type. 2006-05-18 Kouhei Sutou * extconf.rb: make src/rbpopplerversion.h. * src/rbpoppler.h: include src/rbpopplerversion.h. * src/rbpoppler.c (Poppler::BUILD_VERSION): added. * src/lib/poppler.rb (Poppler::VERSION): added. 2006-05-14 Kouhei Sutou * .: imported.