poppler 1.0.3-x86-mingw32 → 1.1.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,23 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2006-2011 Ruby-GNOME2 Project Team
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
+ * MA 02110-1301 USA
19
+ */
20
+
1
21
  #ifndef __RBPOPPLER_H__
2
22
  #define __RBPOPPLER_H__
3
23
 
@@ -12,6 +32,8 @@
12
32
  # include "rbpopplerversion.h"
13
33
  #endif
14
34
 
35
+ #include "rbpopplerconversions.h"
36
+
15
37
  #ifndef POPPLER_TYPE_INDEX_ITER
16
38
  # define POPPLER_TYPE_INDEX_ITER (poppler_index_iter_get_type ())
17
39
  #endif
@@ -30,26 +52,11 @@ extern GType poppler_dest_get_type (void) G_GNUC_CONST;
30
52
  # include <rb_cairo.h>
31
53
  #endif
32
54
 
33
- #define POPPLER_RECT2RVAL(obj) (BOXED2RVAL(obj, POPPLER_TYPE_RECTANGLE))
34
- #define RVAL2POPPLER_RECT(obj) ((PopplerRectangle *)RVAL2BOXED(obj, POPPLER_TYPE_RECTANGLE))
35
-
36
55
  #ifdef POPPLER_TYPE_COLOR
37
56
  extern PopplerColor *rb_poppler_ruby_object_to_color(VALUE color);
38
57
  extern VALUE rb_poppler_ruby_object_from_color_with_free(PopplerColor *color);
39
- # define RVAL2POPPLER_COLOR(obj) (rb_poppler_ruby_object_to_color(obj))
40
- # define POPPLER_COLOR2RVAL(obj) (BOXED2RVAL(obj, POPPLER_TYPE_COLOR))
41
- # define POPPLER_COLOR2RVAL_FREE(obj) (rb_poppler_ruby_object_from_color_with_free(obj))
42
58
  #endif
43
59
 
44
-
45
- #define POPPLER_ANNOT2RVAL(obj) (GOBJ2RVAL(obj))
46
- #define RVAL2POPPLER_ANNOT(obj) (POPPLER_ANNOT(RVAL2GOBJ(obj)))
47
-
48
- #define POPPLER_ACTION2RVAL(obj) (rb_poppler_ruby_object_from_action(obj))
49
- #define RVAL2POPPLER_ACTION(obj) (rb_poppler_action_from_ruby_object(obj))
50
- #define POPPLER_FORM_FIELD2RVAL(obj) (rb_poppler_ruby_object_from_form_field(obj))
51
- #define RVAL2POPPLER_FORM_FIELD(obj) (POPPLER_FORM_FIELD(RVAL2GOBJ(obj)))
52
-
53
60
  extern VALUE rb_poppler_ruby_object_from_action(PopplerAction *action);
54
61
  extern PopplerAction *rb_poppler_action_from_ruby_object(VALUE action);
55
62
  extern VALUE rb_poppler_ruby_object_from_form_field(PopplerFormField *field);
@@ -0,0 +1,105 @@
1
+ /* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */
2
+ /*
3
+ * Copyright (C) 2006-2011 Ruby-GNOME2 Project Team
4
+ *
5
+ * This library is free software; you can redistribute it and/or
6
+ * modify it under the terms of the GNU Lesser General Public
7
+ * License as published by the Free Software Foundation; either
8
+ * version 2.1 of the License, or (at your option) any later version.
9
+ *
10
+ * This library is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ * Lesser General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU Lesser General Public
16
+ * License along with this library; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
+ * MA 02110-1301 USA
19
+ */
20
+
21
+ #ifndef __RBPOPPLERCONVERSIONS_H__
22
+ #define __RBPOPPLERCONVERSIONS_H__
23
+
24
+ #define POPPLERANNOT2RVAL(o) (GOBJ2RVAL(o))
25
+ #define POPPLERFORMFIELD2RVAL(o) (rb_poppler_ruby_object_from_form_field(o))
26
+ #define RVAL2POPPLERACTION(o) (rb_poppler_action_from_ruby_object(o))
27
+ #define POPPLERACTION2RVAL(o) (rb_poppler_ruby_object_from_action(o))
28
+ #define RVAL2POPPLERCOLOR(o) (rb_poppler_ruby_object_to_color(o))
29
+ #define POPPLERCOLOR2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_COLOR))
30
+ #define POPPLERCOLOR2RVAL_FREE(o) (rb_poppler_ruby_object_from_color_with_free(o))
31
+
32
+ #define RVAL2POPPLERANNOT(o) (POPPLER_ANNOT(RVAL2GOBJ(o)))
33
+ #define RVAL2POPPLERANNOTFREETEXT(o) (POPPLER_ANNOT_FREE_TEXT(RVAL2GOBJ(o)))
34
+ #define RVAL2POPPLERANNOTMARKUP(o) (POPPLER_ANNOT_MARKUP(RVAL2GOBJ(o)))
35
+ #define RVAL2POPPLERANNOTTEXT(o) (POPPLER_ANNOT_TEXT(RVAL2GOBJ(o)))
36
+ #define RVAL2POPPLERATTACHMENT(o) (POPPLER_ATTACHMENT(RVAL2GOBJ(o)))
37
+ #define RVAL2POPPLERDOCUMENT(o) (POPPLER_DOCUMENT(RVAL2GOBJ(o)))
38
+ #define RVAL2POPPLERFORMFIELD(o) (POPPLER_FORM_FIELD(RVAL2GOBJ(o)))
39
+ #define RVAL2POPPLERPAGE(o) (POPPLER_PAGE(RVAL2GOBJ(o)))
40
+
41
+ #define RVAL2POPPLERANNOTCALLOUTLINE(o) ((PopplerAnnotCalloutLine*)RVAL2BOXED(o, POPPLER_TYPE_ANNOT_CALLOUT_LINE))
42
+ #define POPPLERANNOTCALLOUTLINE2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_ANNOT_CALLOUT_LINE))
43
+ #define RVAL2POPPLERANNOTMAPPING(o) ((PopplerAnnotMapping*)RVAL2BOXED(o, POPPLER_TYPE_ANNOT_MAPPING))
44
+ #define POPPLERANNOTMAPPING2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_ANNOT_MAPPING))
45
+ #define RVAL2POPPLERDEST(o) ((PopplerDest*)RVAL2BOXED(o, POPPLER_TYPE_DEST))
46
+ #define POPPLERDEST2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_DEST))
47
+ #define RVAL2FONTINFO(o) ((PopplerFontInfo*)RVAL2BOXED(o, POPPLER_TYPE_FONT_INFO))
48
+ #define FONTINFO2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_FONT_INFO))
49
+ #define RVAL2POPPLERFONTSITER(o) ((PopplerFontsIter*)RVAL2BOXED(o, POPPLER_TYPE_FONTS_ITER))
50
+ #define POPPLERFONTSITER2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_FONTS_ITER))
51
+ #define RVAL2POPPLERFORMFIELDMAPPING(o) ((PopplerFormFieldMapping*)RVAL2BOXED(o, POPPLER_TYPE_FORM_FIELD_MAPPING))
52
+ #define POPPLERFORMFIELDMAPPING2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_FORM_FIELD_MAPPING))
53
+ #define RVAL2POPPLERIMAGEMAPPING(o) ((PopplerImageMapping*)RVAL2BOXED(o, POPPLER_TYPE_IMAGE_MAPPING))
54
+ #define POPPLERIMAGEMAPPING2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_IMAGE_MAPPING))
55
+ #define RVAL2POPPLERINDEXITER(o) ((PopplerIndexIter*)RVAL2BOXED(o, POPPLER_TYPE_INDEX_ITER))
56
+ #define POPPLERINDEXITER2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_INDEX_ITER))
57
+ #define RVAL2POPPLERLINKMAPPING(o) ((PopplerLinkMapping*)RVAL2BOXED(o, POPPLER_TYPE_LINK_MAPPING))
58
+ #define POPPLERLINKMAPPING2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_LINK_MAPPING))
59
+ #define RVAL2POPPLERPAGETRANSITION(o) ((PopplerPageTransition*)RVAL2BOXED(o, POPPLER_TYPE_PAGE_TRANSITION))
60
+ #define POPPLERPAGETRANSITION2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_PAGE_TRANSITION))
61
+ #define RVAL2POPPLERPSFILE(o) ((PopplerPSFile*)RVAL2BOXED(o, POPPLER_TYPE_PS_FILE))
62
+ #define POPPLERPSFILE2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_PS_FILE))
63
+ #define RVAL2POPPLERRECTANGLE(o) ((PopplerRectangle*)RVAL2BOXED(o, POPPLER_TYPE_RECTANGLE))
64
+ #define POPPLERRECTANGLE2RVAL(o) (BOXED2RVAL(o, POPPLER_TYPE_RECTANGLE))
65
+
66
+ #define RVAL2POPPLERACTIONTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_ACTION_TYPE))
67
+ #define POPPLERACTIONTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ACTION_TYPE))
68
+ #define RVAL2POPPLERANNOTEXTERNALDATATYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_ANNOT_EXTERNAL_DATA_TYPE))
69
+ #define POPPLERANNOTEXTERNALDATATYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ANNOT_EXTERNAL_DATA_TYPE))
70
+ #define RVAL2POPPLERANNOTFLAG(o) (RVAL2GENUM(o, POPPLER_TYPE_ANNOT_FLAG))
71
+ #define POPPLERANNOTFLAG2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ANNOT_FLAG))
72
+ #define RVAL2POPPLERANNOTFREETEXTQUADDING(o) (RVAL2GENUM(o, POPPLER_TYPE_ANNOT_FREE_TEXT_QUADDING))
73
+ #define POPPLERANNOTFREETEXTQUADDING2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ANNOT_FREE_TEXT_QUADDING))
74
+ #define RVAL2POPPLERANNOTMARKUPREPLYTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_ANNOT_MARKUP_REPLY_TYPE))
75
+ #define POPPLERANNOTMARKUPREPLYTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ANNOT_MARKUP_REPLY_TYPE))
76
+ #define RVAL2POPPLERANNOTTEXTICON(o) (RVAL2GENUM(o, POPPLER_TYPE_ANNOT_TEXT_ICON))
77
+ #define POPPLERANNOTTEXTICON2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ANNOT_TEXT_ICON))
78
+ #define RVAL2POPPLERANNOTTEXTSTATE(o) (RVAL2GENUM(o, POPPLER_TYPE_ANNOT_TEXT_STATE))
79
+ #define POPPLERANNOTTEXTSTATE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ANNOT_TEXT_STATE))
80
+ #define RVAL2POPPLERANNOTTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_ANNOT_TYPE))
81
+ #define POPPLERANNOTTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_ANNOT_TYPE))
82
+ #define RVAL2POPPLERBACKEND(o) (RVAL2GENUM(o, POPPLER_TYPE_BACKEND))
83
+ #define POPPLERBACKEND2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_BACKEND))
84
+ #define RVAL2POPPLERDESTTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_DEST_TYPE))
85
+ #define POPPLERDESTTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_DEST_TYPE))
86
+ #define RVAL2POPPLERFONTTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_FONT_TYPE))
87
+ #define POPPLERFONTTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_FONT_TYPE))
88
+ #define RVAL2POPPLERFORMBUTTONTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_FORM_BUTTON_TYPE))
89
+ #define POPPLERFORMBUTTONTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_FORM_BUTTON_TYPE))
90
+ #define RVAL2POPPLERFORMCHOICETYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_FORM_CHOICE_TYPE))
91
+ #define POPPLERFORMCHOICETYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_FORM_CHOICE_TYPE))
92
+ #define RVAL2POPPLERFORMFIELDTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_FORM_FIELD_TYPE))
93
+ #define POPPLERFORMFIELDTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_FORM_FIELD_TYPE))
94
+ #define RVAL2POPPLERFORMTEXTTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_FORM_TEXT_TYPE))
95
+ #define POPPLERFORMTEXTTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_FORM_TEXT_TYPE))
96
+ #define RVAL2POPPLERPAGETRANSITIONALIGNMENT(o) (RVAL2GENUM(o, POPPLER_TYPE_PAGE_TRANSITION_ALIGNMENT))
97
+ #define POPPLERPAGETRANSITIONALIGNMENT2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_PAGE_TRANSITION_ALIGNMENT))
98
+ #define RVAL2POPPLERPAGETRANSITIONDIRECTION(o) (RVAL2GENUM(o, POPPLER_TYPE_PAGE_TRANSITION_DIRECTION))
99
+ #define POPPLERPAGETRANSITIONDIRECTION2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_PAGE_TRANSITION_DIRECTION))
100
+ #define RVAL2POPPLERPAGETRANSITIONTYPE(o) (RVAL2GENUM(o, POPPLER_TYPE_PAGE_TRANSITION_TYPE))
101
+ #define POPPLERPAGETRANSITIONTYPE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_PAGE_TRANSITION_TYPE))
102
+ #define RVAL2POPPLERSELECTIONSTYLE(o) (RVAL2GENUM(o, POPPLER_TYPE_SELECTION_STYLE))
103
+ #define POPPLERSELECTIONSTYLE2RVAL(o) (GENUM2RVAL(o, POPPLER_TYPE_SELECTION_STYLE))
104
+
105
+ #endif /* __RBPOPPLERCONVERSIONS_H__ */
data/lib/1.8/poppler.so CHANGED
Binary file
data/lib/1.9/poppler.so CHANGED
Binary file
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poppler
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
+ - 1
8
9
  - 0
9
- - 3
10
- version: 1.0.3
10
+ version: 1.1.0
11
11
  platform: x86-mingw32
12
12
  authors:
13
- - The Ruby-GNOME2 Proejct Team
13
+ - The Ruby-GNOME2 Project Team
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-18 00:00:00 Z
18
+ date: 2012-01-05 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: gtk2
@@ -25,12 +25,12 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: 17
28
+ hash: 19
29
29
  segments:
30
30
  - 1
31
+ - 1
31
32
  - 0
32
- - 3
33
- version: 1.0.3
33
+ version: 1.1.0
34
34
  type: :runtime
35
35
  version_requirements: *id001
36
36
  description: Ruby/Poppler is a Ruby binding of poppler-glib.
@@ -42,23 +42,41 @@ extensions: []
42
42
  extra_rdoc_files: []
43
43
 
44
44
  files:
45
- - ChangeLog
46
45
  - README
47
46
  - Rakefile
48
47
  - extconf.rb
49
48
  - lib/poppler.rb
49
+ - ext/poppler/rbpoppler-annotationmarkup.c
50
50
  - ext/poppler/rbpoppler-attachment.c
51
+ - ext/poppler/rbpoppler-annotationcalloutline.c
52
+ - ext/poppler/rbpoppler-annotationtext.c
53
+ - ext/poppler/rbpoppler-linkmapping.c
54
+ - ext/poppler/rbpoppler-fontinfo.c
51
55
  - ext/poppler/rbpoppler.h
52
56
  - ext/poppler/rbpoppler.c
57
+ - ext/poppler/rbpoppler-psfile.c
58
+ - ext/poppler/rbpoppler-choicefield.c
59
+ - ext/poppler/rbpoppler-fontsiter.c
60
+ - ext/poppler/rbpoppler-pagetransition.c
53
61
  - ext/poppler/rbpoppler-page.c
54
62
  - ext/poppler/extconf.rb
63
+ - ext/poppler/rbpoppler-rectangle.c
55
64
  - ext/poppler/rbpoppler-form-field.c
65
+ - ext/poppler/rbpoppler-annotationmapping.c
56
66
  - ext/poppler/rbpoppler-action.c
67
+ - ext/poppler/rbpoppler-imagemapping.c
68
+ - ext/poppler/rbpoppler-formfieldmapping.c
57
69
  - ext/poppler/rbpoppler-annotation.c
58
70
  - ext/poppler/rbpoppler-private.h
71
+ - ext/poppler/rbpoppler-textfield.c
72
+ - ext/poppler/rbpoppler-annotationfreetext.c
59
73
  - ext/poppler/poppler.def
74
+ - ext/poppler/rbpopplerconversions.h
75
+ - ext/poppler/rbpoppler-buttonfield.c
60
76
  - ext/poppler/depend
61
77
  - ext/poppler/rbpoppler-document.c
78
+ - ext/poppler/rbpoppler-color.c
79
+ - ext/poppler/rbpoppler-indexiter.c
62
80
  - sample/pdf2svg.rb
63
81
  - sample/pdf2text.rb
64
82
  - sample/pdf2.rb
@@ -196,7 +214,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
214
  requirements: []
197
215
 
198
216
  rubyforge_project:
199
- rubygems_version: 1.7.2
217
+ rubygems_version: 1.8.12
200
218
  signing_key:
201
219
  specification_version: 3
202
220
  summary: Ruby/Poppler is a Ruby binding of poppler-glib.
data/ChangeLog DELETED
@@ -1,424 +0,0 @@
1
- 2011-05-06 Kouhei Sutou <kou@cozmixng.org>
2
-
3
- * test/poppler-test-utils.rb: ignore tests for GdkPixbuf
4
- integration on Poppler >= 0.17.0 because Poppler >= 0.17.0 drops
5
- GdkPixbuf support. #3292118
6
- Reported by Mamoru Tasaka. Thanks!!!
7
-
8
- 2011-01-30 Kouhei Sutou <kou@cozmixng.org>
9
-
10
- * Rakefile, ext/poppler/extconf.rb: share depended packages
11
- vendor/local/.
12
-
13
- 2011-01-22 Masaaki Aoyagi
14
-
15
- * Rakefile: change to use gnome2-raketask.rb.
16
-
17
- 2010-11-14 Kouhei Sutou <kou@cozmixng.org>
18
-
19
- * sample/pdfcrop.rb: add a sample to crop PDF.
20
-
21
- 2010-10-08 Guillaume Cottenceau
22
-
23
- * RVAL2CSTR2 is deprecated, replace with RVAL2CSTR_ACCEPT_NIL
24
-
25
- * CSTR2RVAL2 is deprecated, replace with CSTR2RVAL_FREE
26
-
27
- 2010-10-03 Kouhei Sutou <kou@cozmixng.org>
28
-
29
- * ext/poppler/rbpoppler-page.c: support Poppler 0.15.0. [#3079667]
30
- Reported by Mamoru Tasaka. Thanks!!!
31
-
32
- 2010-09-29 Kouhei Sutou <kou@cozmixng.org>
33
-
34
- * Rakefile: fix dependencies.
35
-
36
- * Rakefile: add missing libjpeg dependency.
37
- Reported by U.Nakamura. Thanks!!!
38
-
39
- 2010-09-28 Kouhei Sutou <kou@cozmixng.org>
40
-
41
- * test/run-test.rb: fix path.
42
-
43
- * Rakefile: add missing dependencies.
44
-
45
- 2010-09-23 Kouhei Sutou <kou@cozmixng.org>
46
-
47
- * Rakefile: don't add .zip into gem.
48
-
49
- * lib/poppler.rb: support bundled Windows DLL.
50
-
51
- * test/run-test.rb: fix extension library path.
52
-
53
- * ext/poppler/rbpoppler.h: don't use rbpopplerverseion.h when
54
- Poppler provides version macros.
55
-
56
- * ./: make buildable with rake-compiler.
57
-
58
- 2010-09-22 Kouhei Sutou <kou@cozmixng.org>
59
-
60
- * src/: -> ext/poppler/.
61
-
62
- * src/lib/: -> lib/.
63
-
64
- 2010-02-10 Kouhei Sutou <kou@cozmixng.org>
65
-
66
- * sample/pdfdiv.rb: add.
67
-
68
- 2009-04-01 Kouhei Sutou <kou@cozmixng.org>
69
-
70
- * src/lib/poppler.rb: ignore Gtk::InitError.
71
-
72
- 2008-11-03 Kouhei Sutou <kou@cozmixng.org>
73
-
74
- * extconf.rb: remove needless checks.
75
-
76
- * extconf.rb, README, src/: remove 0.6.x support. require 0.8.0 or
77
- later.
78
-
79
- 2008-10-25 Kouhei Sutou <kou@cozmixng.org>
80
-
81
- * test/test_constants.rb: use assert_{,not_}const_defined in
82
- Test::Unit.
83
-
84
- 2008-09-13 Kouhei Sutou <kou@cozmixng.org>
85
-
86
- * extconf.rb: use check_cairo.
87
-
88
- 2008-06-29 Kouhei Sutou <kou@cozmixng.org>
89
-
90
- * test/test_document.rb (TestDocument#test_save):
91
- omit if poppler < 0.8.2.
92
-
93
- 2008-06-14 Kouhei Sutou <kou@cozmixng.org>
94
-
95
- * test/run-test.rb: use glib/test/glib-test-init.rb.
96
-
97
- 2008-06-11 Kouhei Sutou <kou@cozmixng.org>
98
-
99
- * src/rbpoppler-action.c: fix an index bug.
100
-
101
- * extconf.rb: include poppler.h in have_func test.
102
-
103
- 2008-05-23 Kouhei Sutou <kou@cozmixng.org>
104
-
105
- * test/run-test.rb: use which not --version to detect make.
106
-
107
- 2008-05-13 Kouhei Sutou <kou@cozmixng.org>
108
-
109
- * test/: use omit.
110
-
111
- * test/test_document.rb, test/test_constants.rb: fix version check.
112
-
113
- * test/test_constants.rb: followed the below changes.
114
-
115
- * src/rbpoppler-annotation.c: support master at 2008-05-13.
116
-
117
- * src/rbpoppler-page.c: add cairo availability check.
118
-
119
- 2008-04-22 Kouhei Sutou <kou@cozmixng.org>
120
-
121
- * sample/number-pdf.rb: add.
122
-
123
- 2008-04-13 Kouhei Sutou <kou@cozmixng.org>
124
-
125
- * extconf.rb: fix rcairo's source path.
126
-
127
- 2008-03-27 Kouhei Sutou <kou@cozmixng.org>
128
-
129
- * README: added Ruby/GTK+ to Requirements.
130
-
131
- 2008-03-23 Kouhei Sutou <kou@cozmixng.org>
132
-
133
- * src/rbpoppler.[ch], src/rbpoppler-private.h,
134
- src/rbpoppler-page.c, src/rbpoppler-form-field.c: split form
135
- field related codes.
136
-
137
- * src/rbpoppler.h, src/rbpoppler-page.c, src/rbpoppler-action.c,
138
- src/rbpoppler-document.c: added POPPLER_ prefix.
139
-
140
- * src/rbpoppler.h, src/rbpoppler-page.c, src/rbpoppler-action.c:
141
- hide conversion macros.
142
-
143
- * src/rbpoppler.h, src/rbpoppler-page.c: COLOR -> POPPLER_COLOR.
144
-
145
- * src/rbpoppler.h, src/rbpoppler-page.c: hid GDK related macros.
146
-
147
- * src/rbpoppler.h, src/rbpoppler-page.c: RECT -> POPPLER_RECT.
148
-
149
- * README: marked poppler-glib 0.8.0 is supported.
150
-
151
- * src/rbpoppler-page.c: used DEF_* macro.
152
-
153
- * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented
154
- methods for Poppler::AnnotationCalloutLine.
155
-
156
- * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented
157
- methods for Poppler::AnnotationFreeText.
158
-
159
- * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented
160
- methods for Poppler::AnnotationText.
161
-
162
- * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented
163
- methods for Poppler::AnnotationMarkup.
164
-
165
- * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented
166
- methods for Poppler::Annotation.
167
-
168
- * src/rbpoppler-page.c, src/rbpoppler.h: added POPPLER_COLOR2RVAL
169
- and POPPLER_COLOR2RVAL_FREE.
170
-
171
- * src/rbpoppler.[ch], src/rbpoppler-private.h: called
172
- Init_annotation().
173
-
174
- * src/rbpoppler-annotation.c, test/test_annotation.rb: implemented
175
- Poppler::Annotation#type.
176
-
177
- * src/rbpoppler-page.c:
178
- - defined missing methods: Poppler::ButtonField#type and
179
- Poppler::ChoiceField#toggle.
180
- - defined Poppler::Rectangle#inspect.
181
-
182
- * src/rbpoppler-page.c, test/test_page.rb: defined
183
- Poppler::AnnotationMapping methods.
184
-
185
- * src/rbpoppler-page.c: added missing static.
186
-
187
- * src/rbpoppler-page.c, test/test_page.rb: implemented
188
- Poppler::Page#annotation_mapping for 0.7.2.
189
-
190
- 2008-03-22 Kouhei Sutou <kou@cozmixng.org>
191
-
192
- * src/rbpoppler-page.c (page_get_selection_region),
193
- test/test_page.rb (TestPage#test_selection_region): implemented
194
- Poppler::Page#get_selection_region for 0.7.2.
195
-
196
- * src/rbpoppler-page.c, test/test_page.rb
197
- (TestPage#test_thumbnail_pixbuf): implemented
198
- Poppler::Page#thumbnail_pixbuf.
199
-
200
- * src/rbpoppler-page.c (page_render_for_printing_generic),
201
- test/test_page.rb (TestPage#test_render_to_pixbuf_for_printing):
202
- implemented Poppler::Page#render_for_printing.
203
-
204
- 2008-03-21 Kouhei Sutou <kou@cozmixng.org>
205
-
206
- * test/test_page.rb (TestPage#test_render_to_pixbuf): added.
207
-
208
- 2008-03-20 Kouhei Sutou <kou@cozmixng.org>
209
-
210
- * src/rbpoppler-page.c: implemented Poppler::Page#image.
211
-
212
- * test/poppler-test-utils.rb, test/test_page.rb: added a PDF that
213
- contains images.
214
-
215
- * test/test_page.rb: added.
216
-
217
- * src/rbpoppler-document.c: implemented Poppler::Document#save_a_copy.
218
-
219
- * test/test_document.rb: added.
220
-
221
- * test/poppler-test-utils.rb: added.
222
- * test/: used poppler-test-utils.rb.
223
-
224
- * src/rbpoppler.[ch], src/rbpoppler-page.c: just buildable with
225
- poppler-glib 0.7.3.
226
-
227
- * test/: added.
228
-
229
- * extconf.rb: fixed build error on Win32. [Patch #1843689]
230
- Reported by Yaakov Selkowitz with a patch. Thanks!!!
231
-
232
- 2007-11-11 Kouhei Sutou <kou@cozmixng.org>
233
-
234
- * README: updated supported poppler-glib version: 0.5.2 - 0.6.2.
235
-
236
- 2007-10-20 Kouhei Sutou <kou@cozmixng.org>
237
-
238
- * sample/pdf2.rb: removed needless filename -> URI conversion.
239
-
240
- * sample/pdf2svg.rb: added a new example that convert PDF to SVG.
241
-
242
- 2007-10-13 Kouhei Sutou <kou@cozmixng.org>
243
-
244
- * src/: used POPPLER_CHECK_VERSION(0, 6, 0) not
245
- POPPLER_CHECK_VERSION(0, 5, 9).
246
-
247
- * README: updated supported poppler-glib version: 0.5.2 - 0.6.1.
248
-
249
- * src/rbpoppler-document.c:
250
- - used RVAL2DOC() not RVAL2GOBJ().
251
- - supported 0.6.0.
252
-
253
- * src/rbpoppler-attachment.c: supported 0.6.0.
254
-
255
- 2007-09-09 Kouhei Sutou <kou@cozmixng.org>
256
-
257
- * src/rbpoppler-page.c: supported 0.6.0. Bug 1790607.
258
-
259
- 2007-07-27 Kouhei Sutou <kou@cozmixng.org>
260
-
261
- * src/rbpoppler.h, src/rbpoppler-page.c: worked with poppler <
262
- 0.5.9 again.
263
-
264
- * src/rbpoppler-document.c: used POPPLER_CHECK_VERSION(0, 5, 9)
265
- instead of HAVE_POPPLER_FONT_INFO because my patch is accepted by
266
- upstream.
267
-
268
- * src/rbpoppler.c, src/rbpoppler-page.c: don't show
269
- poppler_form_field_get_field_type().
270
-
271
- * src/lib/poppler.rb, src/rbpoppler.h, src/rbpoppler-page.c:
272
- followed the recent poppler form API changes but not tested
273
- because I don't have a PDF with form...
274
-
275
- 2007-07-13 Guillaume Cottenceau
276
-
277
- * src/rbpoppler-document.c, src/rbpoppler-page.c: replace RTEST
278
- uses by RVAL2CBOOL
279
-
280
- 2007-07-13 Guillaume Cottenceau
281
-
282
- * src/rbpoppler-document.c: "? Qtrue : QFalse" => CBOOL2RVAL
283
- cleanup
284
-
285
- 2007-06-23 Kouhei Sutou <kou@cozmixng.org>
286
-
287
- * src/rbpoppler.h, src/rbpoppler-page.c: followed new functions
288
- and types in poppler-page.h. But this is not enough. We need more
289
- works.
290
-
291
- * src/rbpoppler-document.c, src/lib/poppler.rb: supported
292
- Poppler::Document.new(pdf_data).
293
-
294
- * src/rbpoppler.h (SELSTYLE2RVAL, RVAL2SELSTYLE): added.
295
-
296
- * src/rbpoppler-page.c: followed API changes of
297
- poppler_page_render_selection() family at 0.5.9.
298
-
299
- * src/rbpoppler.c: added enum types appeared at 0.5.9.
300
-
301
- * src/rbpoppler-action.c, src/rbpoppler-document.c: removed
302
- needless variables.
303
-
304
- 2007-04-07 Kouhei Sutou <kou@cozmixng.org>
305
-
306
- * src/rbpoppler-document.c (Poppler::Document#size): added a
307
- convenient alias of Poppler::Document#n_pages.
308
-
309
- * src/rbpoppler-document.c (doc_initialize): accepted not only URI
310
- but also file name.
311
-
312
- * src/lib/poppler.rb (Poppler::Document#ensure_uri): added.
313
-
314
- 2007-03-29 Kouhei Sutou <kou@cozmixng.org>
315
-
316
- * src/rbpoppler-document.c: added a convenient alias:
317
- Poppler::Document#pages.
318
-
319
- * sample/pdf2text.rb: used default value.
320
-
321
- * src/rbpoppler-page.c (page_get_text): used page size rectangle
322
- as default value.
323
-
324
- 2006-09-06 Kouhei Sutou <kou@cozmixng.org>
325
-
326
- * src/rbpoppler-action.c:
327
- - made Poppler::Action read only.
328
- - used macros for defining methods of Poppler::Dest.
329
-
330
- * ./: don't require a patch of Bug 6912 for Poppler.
331
- https://bugs.freedesktop.org/show_bug.cgi?id=6912
332
-
333
- * extconf.rb: don't check whether PopplerActionAny is exist or
334
- not.
335
-
336
- * src/rbpoppler-action.c, src/rbpoppler.h: Poppler::Action is
337
- always available.
338
- * src/rbpoppler-page.c: Poppler::LinkMapping#action is always
339
- available.
340
-
341
- 2006-07-10 Kouhei Sutou <kou@cozmixng.org>
342
-
343
- * src/rbpoppler-page.c:
344
- - can compile without rcairo.
345
- - don't use PopplerAction when PopplerActionAny is exist.
346
-
347
- 2006-06-27 Kouhei Sutou <kou@cozmixng.org>
348
-
349
- * README: required 0.5.2 or later poppler-glib.
350
- * extconf.rb: ditto.
351
-
352
- 2006-06-17 Kouhei Sutou <kou@cozmixng.org>
353
-
354
- * src/rbpoppler-document.c: use GLIST2ARYF.
355
- * src/rbpoppler-page.c: use GLIST2ARY2F.
356
-
357
- * src/: worked without any patches for poppler-glib.
358
-
359
- * extconf.rb: check whether
360
- poppler_page_render_selection_to_pixbuf() and
361
- PopplerActionAny are available or not.
362
-
363
- * src/rbpoppler-page.c: check whether
364
- poppler_render_selection_to_pixbuf() is available or not.
365
-
366
- * src/rbpoppler-document.c: disable Poppler::FontInfo and related
367
- methods when POPPLER_TYPE_FONT_INFO is not
368
- available. (POPPLER_TYPE_FONT_INFO is not available means
369
- PopplerFontInfo is not GObjectize.)
370
-
371
- * src/rbpoppler-action.c: disable Poppler::Action* and related
372
- stuffs when PopplerActionAny is available. (PopplerActionAry is
373
- available means PopplerAction* are not GObjectize.)
374
- * src/rbpoppler-document.c: ditto.
375
- * src/rbpoppler.h.c: ditto.
376
-
377
- 2006-05-30 Kouhei Sutou <kou@cozmixng.org>
378
-
379
- * src/rbpoppler-document.c: fixed memory leaks.
380
- * src/rbpoppler-page.c: ditto.
381
-
382
- 2006-05-27 Kouhei Sutou <kou@cozmixng.org>
383
-
384
- * src/rbpoppler-page.c:
385
- - made Poppler::Page#render generic method.
386
- - removed Poppler::Page#render_to_pixbuf.
387
- - removed Poppler::Page#render_to_ps.
388
- - made Poppler::Page#render_selection generic method.
389
-
390
- * src/lib/poppler.rb: added convenience method
391
- Cairo::Context#render_poppler_page_selection.
392
-
393
- * sample/pdf2.rb: use Poppler::Page#render instead of
394
- Poppler::Page#render_to_pixbuf.
395
-
396
- 2006-05-26 Kouhei Sutou <kou@cozmixng.org>
397
-
398
- * src/rbpoppler.h: added extern modifier.
399
-
400
- 2006-05-23 Kouhei Sutou <kou@cozmixng.org>
401
-
402
- * src/rbpoppler-document.c: fixed some memory leaks.
403
-
404
- 2006-05-19 Kouhei Sutou <kou@cozmixng.org>
405
-
406
- * sample/pdf2text.rb: added a sample which extract text from PDF.
407
-
408
- * src/rbpoppler-document.c (index_iter_initialize): added NULL
409
- check.
410
- (Poppler::Layout): fixed type.
411
-
412
- 2006-05-18 Kouhei Sutou <kou@cozmixng.org>
413
-
414
- * extconf.rb: make src/rbpopplerversion.h.
415
-
416
- * src/rbpoppler.h: include src/rbpopplerversion.h.
417
-
418
- * src/rbpoppler.c (Poppler::BUILD_VERSION): added.
419
-
420
- * src/lib/poppler.rb (Poppler::VERSION): added.
421
-
422
- 2006-05-14 Kouhei Sutou <kou@cozmixng.org>
423
-
424
- * .: imported.