ChangeLog 115 KB
Newer Older
Albert Astals Cid's avatar
Albert Astals Cid committed
1
2
3
4
5
6
7
8
9
2007-05-27  Albert Astals Cid <aacid@kde.org>

	* poppler-qt.pc.in:
	* poppler-qt4.pc.in:
	* qt/Makefile.am:
	* qt4/src/Makefile.am: Install qt3 and qt4 headers in separate dirs.
	That way be can reuse poppler-page-transition.h and distros don't get
	conflicts when making separate qt3 and qt4 packages

10
11
12
13
2007-05-26  Albert Astals Cid <aacid@kde.org>
	
	* qt4/src/poppler-link-extractor.cc: Use correct page box to extract
	link clickable area
14
15
16
17
18
19
	* qt4/src/poppler-link-extractor-private.cc:
	* qt4/src/poppler-link-extractor-private.h:
	* qt4/src/poppler-link.cc:
	* qt4/src/poppler-link.h: Return link coordinates in 0..1 range
	instead of 0..size, much more easier to do user<->dev transformations
	* qt4/src/poppler-private.h: Fix indentation
20

21
22
23
24
25
26
27
28
2007-05-25  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/GfxFont.cc:
	* poppler/GfxFont.h:
	* poppler/GlobalParams.cc:
	Don't cache DisplayFontParams by font name, instead cache them
	in GfxFont. Fixes #8140.

29
30
31
32
33
34
35
36
2007-05-25  Carlos Garcia Campos <carlosgc@gnome.org>

	* glib/poppler-page.cc:
	* glib/poppler-page.h:
	* glib/poppler.h:
	Add selection style parameter to render_selection in order to allow
	requesting selections of words and paragraphs. 

37
38
39
40
41
42
43
44
45
46
2007-05-23  Pino Toscano <pino@kde.org>

	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-private.h:
	Better handle the setting of the vector antialiasing for Splash.
	* qt4/src/Mainpage.dox:
	* qt4/src/poppler-link.h:
	* qt4/src/poppler-qt4.h:
	A few of API documentation fixes and improvements.

Albert Astals Cid's avatar
Albert Astals Cid committed
47
48
49
50
2007-05-21   Carlos Garcia Campos <carlosgc@gnome.org>

	* glib/poppler-action.cc: Fix assert in bug 11023

Albert Astals Cid's avatar
Albert Astals Cid committed
51
52
53
54
55
56
2007-05-21   Kouhei Sutou <kou@cozmixng.org>

	* glib/poppler-page.cc:
	* glib/poppler-page.h:
	poppler_page_render_section() for cairo. Bug 7023

Albert Astals Cid's avatar
Albert Astals Cid committed
57
58
59
60
61
62
63
64
65
66
67
2007-05-21   Carlos Garcia Campos <carlosgc@gnome.org>

	* glib/poppler-page.cc:
	* glib/poppler-page.h:
	* glib/poppler-private.h:
	* glib/poppler.h:
	* glib/test-poppler-glib.c:
	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h: Extend CairoOutputdev to do
	image caching when rendering

68
69
70
71
72
73
74
75
76
77
78
2007-05-21  Pino Toscano <pino@kde.org>
	reviewed by: Albert Astals Cid <aacid@kde.org>

	* poppler/Annot.cc: avoid crashing if the font for the drawing methods
	can not be found
	* poppler/Form.cc: fix memory leak
	* qt4/src/poppler-private.h: fix the UnicodeParsedString function to
	really work and not crash
	* splash/SplashTypes.h: RGB8X mode makes max number of components in
	any SplashColor always be 4

79
80
81
82
83
84
85
2007-05-17  Pino Toscano <pino@kde.org>

	* qt4/src/poppler-link.cc:
	Give some default values to LinkDestination
	* qt4/src/poppler-private.h:
	Fix memory leak when converting QString -> GooString

86
87
88
89
90
2007-05-12  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/Annot.cc: Only do appearance generation for text, choice or
	other fields that contain text. Patch by Julien Rebetez.

Albert Astals Cid's avatar
Albert Astals Cid committed
91
92
93
94
95
96
97
2007-05-07  Albert Astals Cid <aacid@kde.org>

	* Catalog.cc: Fix leak
	* Form.cc: Fix leak, provide empty FormPageWidgets::~FormPageWidgets
	implementation
	* Page.cc: Fix leak

98
99
100
101
102
103
2007-05-01  Albert Astals Cid <aacid@kde.org>

	* poppler/Makefile.am: Don't link cairo to all poppler, just to
	poppler_cairo so when compiling the qt frontend and the glib frontend
	the qt one does not end up depending on cairo

104
105
106
107
108
109
110
111
112
2007-04-29  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/UnicodeTypeTable.cc: Make some of the unicode tables const
	which gets rid of about 20k of data.

		   text	   data	    bss	    dec	    hex	filename
	before: 1415838	 128864	      8	1544710	 179206	libpoppler.so
	after:	1404574	 140128	      8	1544710	 179206	libpoppler.so

113
114
115
116
117
118
119
120
121
122
2007-04-29  Albert Astals Cid <aacid@kde.org>

	* poppler/SplashOutputDev.cc:
	* qt/poppler-private.h:
	* qt4/src/poppler-private.h:
	* splash/Splash.cc:
	* splash/SplashBitmap.cc:
	* splash/SplashTypes.h: Rename splashModeRGBX8 to splashModeXBGR8 and
	hopefully fix qt frontends image generation

Albert Astals Cid's avatar
Albert Astals Cid committed
123
124
125
126
127
128
129
130
131
132
2007-04-28  Albert Astals Cid <aacid@kde.org>

	* qt4/src/Makefile.am:
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-ps-converter.cc:
	* qt4/src/poppler-qt4.h: Replace Document::print function with lots of
	arguments with a helper class with lots of functions. Will help
	mantaining BC in case we decide to add more functionality to the
	printing process.

133
134
135
136
137
138
139
140
2007-04-28  Albert Astals Cid <aacid@kde.org>

	* glib/poppler-document.h:
	* poppler/FontInfo.h:
	* qt/poppler-qt.h:
	* qt4/src/poppler-qt4.h: GfxFontType changed, adapt enums of the
	frontends and helper classes.

141
142
143
144
145
2007-04-28  Pino Toscano <pino@kde.org>

	* qt4/src/poppler-annotation.h:
	Make the header clean.

Albert Astals Cid's avatar
Albert Astals Cid committed
146
147
148
149
150
151
2007-04-28  Pino Toscano <pino@kde.org>

	* qt4/src/poppler-page.cc:
	Hopefully fix the calculation of the image size when rendering using
	ArthurOutputDev.

Albert Astals Cid's avatar
Albert Astals Cid committed
152
153
154
155
156
157
158
159
160
161
162
163
164
2007-04-28  Pino Toscano <pino@kde.org>

	* qt4/src/Makefile.am:
	* qt4/src/poppler-link-extractor-private.h:
	* qt4/src/poppler-link-extractor.cc:
	* qt4/src/poppler-page-private.h:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h:
	Getting the links of a page now is not more dependant on the current
	output device, and can be done anytime; thus, the doLinks parameter
	of the Page::render() can be dropped.

165
166
167
168
2007-04-28  Albert Astals Cid <aacid@kde.org>

	* qt4/*: Stop requyring users to declare UNSTABLE_POPPLER_QT4

169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
2007-04-28  Carlos Garcia Campos <carlosgc@gnome.org>
	reviewed and some code by: Albert Astals Cid <aacid@kde.org>

	* glib/poppler-page.cc:
	* glib/poppler-page.h:
	* glib/poppler.h:
	* glib/test-poppler-glib.c:
	* poppler/Makefile.am:
	* poppler/PageTransition.cc:
	* poppler/PageTransition.h:
	* qt/poppler-page-transition.cc:
	* qt/poppler-page-transition.h: Move Page Transition parsing from qt
	frontends to poppler core. Expose Page transitions on the glib
	frontend.

Albert Astals Cid's avatar
Albert Astals Cid committed
184
185
186
187
188
189
190
191
192
193
194
195
196
197
2007-04-27  Albert Astals Cid <aacid@kde.org>

	* glib/poppler-page.cc:
	* poppler/PSOutputDev.cc:
	* poppler/PSOutputDev.h:
	* qt/poppler-document.cc:
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-qt4.h:
	* utils/pdftohtml.cc:
	* utils/pdftops.cc:
	Add option to force rasterizing the pages when printing them
	Add functionality to output the title field on the PS file
	Only Qt4 frontend exposes the functionality

198
199
200
201
2007-04-26  Albert Astals Cid <aacid@kde.org>

	* goo/Makefile.am: Remove duplicate gmem.h

202
203
204
205
206
2007-04-25  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-document.cc: remove a delete[] no longer needed
	* qt4/src/poppler-private: initilize m_hints

207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
2007-04-25  Albert Astals Cid <aacid@kde.org>

	* ChangeLog:
	* configure.ac:
	* fofi/FoFiTrueType.cc:
	* fofi/FoFiTrueType.h:
	* fofi/FoFiType1.cc:
	* fofi/FoFiType1C.cc:
	* fofi/FoFiType1C.h:
	* glib/poppler-action.cc:
	* glib/poppler-document.cc:
	* glib/poppler-page.cc:
	* goo/FixedPoint.cc:
	* goo/FixedPoint.h:
	* goo/GooString.cc:
	* goo/GooString.h:
	* goo/Makefile.am:
	* goo/gfile.cc:
	* goo/gmem.cc:
	* goo/gmem.h:
	* poppler/ABWOutputDev.cc:
	* poppler/ABWOutputDev.h:
	* poppler/Annot.cc:
	* poppler/Annot.h:
	* poppler/ArthurOutputDev.cc:
	* poppler/Catalog.cc:
	* poppler/Catalog.h:
	* poppler/CharCodeToUnicode.cc:
	* poppler/DCTStream.cc:
	* poppler/DCTStream.h:
	* poppler/Decrypt.cc:
	* poppler/Decrypt.h:
	* poppler/Dict.cc:
	* poppler/Dict.h:
	* poppler/FontInfo.cc:
	* poppler/Form.cc:
	* poppler/Form.h:
	* poppler/Function.cc:
	* poppler/Function.h:
	* poppler/Gfx.cc:
	* poppler/Gfx.h:
	* poppler/GfxFont.cc:
	* poppler/GfxFont.h:
	* poppler/GfxState.cc:
	* poppler/GfxState.h:
	* poppler/GlobalParams.cc:
	* poppler/GlobalParams.h:
	* poppler/JBIG2Stream.cc:
	* poppler/JBIG2Stream.h:
	* poppler/JPXStream.cc:
	* poppler/JPXStream.h:
	* poppler/Lexer.cc:
	* poppler/Link.cc:
	* poppler/Link.h:
	* poppler/Makefile.am:
	* poppler/Object.cc:
	* poppler/Object.h:
	* poppler/Outline.cc:
	* poppler/OutputDev.cc:
	* poppler/OutputDev.h:
	* poppler/PDFDoc.cc:
	* poppler/PDFDoc.h:
	* poppler/PSOutputDev.cc:
	* poppler/PSOutputDev.h:
	* poppler/PSTokenizer.cc:
	* poppler/Page.cc:
	* poppler/Page.h:
	* poppler/PageLabelInfo.cc:
	* poppler/Parser.cc:
	* poppler/Parser.h:
	* poppler/PreScanOutputDev.cc:
	* poppler/PreScanOutputDev.h:
	* poppler/SecurityHandler.cc:
	* poppler/SecurityHandler.h:
	* poppler/SplashOutputDev.cc:
	* poppler/SplashOutputDev.h:
	* poppler/Stream.cc:
	* poppler/Stream.h:
	* poppler/TextOutputDev.cc:
	* poppler/TextOutputDev.h:
	* poppler/XRef.cc:
	* poppler/XRef.h:
	* qt/poppler-document.cc:
	* qt/poppler-page-transition.cc:
	* qt/poppler-page.cc:
	* qt/poppler-private.h:
	* qt4/src/poppler-annotation-helper.h:
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-embeddedfile.cc:
	* qt4/src/poppler-form.cc:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-private.h:
	* splash/Splash.cc:
	* splash/Splash.h:
	* splash/SplashBitmap.cc:
	* splash/SplashBitmap.h:
	* splash/SplashClip.cc:
	* splash/SplashClip.h:
	* splash/SplashFTFont.cc:
	* splash/SplashFTFont.h:
	* splash/SplashFTFontEngine.cc:
	* splash/SplashFTFontEngine.h:
	* splash/SplashFTFontFile.cc:
	* splash/SplashFTFontFile.h:
	* splash/SplashFont.cc:
	* splash/SplashFont.h:
	* splash/SplashFontEngine.cc:
	* splash/SplashFontEngine.h:
	* splash/SplashFontFile.cc:
	* splash/SplashFontFile.h:
	* splash/SplashMath.h:
	* splash/SplashPath.cc:
	* splash/SplashPath.h:
	* splash/SplashPattern.cc:
	* splash/SplashPattern.h:
	* splash/SplashScreen.cc:
	* splash/SplashScreen.h:
	* splash/SplashState.cc:
	* splash/SplashState.h:
	* splash/SplashT1Font.cc:
	* splash/SplashT1Font.h:
	* splash/SplashT1FontEngine.cc:
	* splash/SplashT1FontFile.cc:
	* splash/SplashT1FontFile.h:
	* splash/SplashTypes.h:
	* splash/SplashXPath.cc:
	* splash/SplashXPath.h:
	* splash/SplashXPathScanner.cc:
	* splash/SplashXPathScanner.h:
	* utils/HtmlOutputDev.cc:
	* utils/HtmlOutputDev.h:
	* utils/pdffonts.cc:
	* utils/pdfinfo.cc:
	* utils/pdftoabw.cc:
	* utils/pdftohtml.cc:
	* utils/pdftoppm.cc:
	* utils/pdftops.cc:
	* utils/pdftotext.cc:
	Merge xpdf 3.02 changes

347
348
349
350
351
352
353
2007-04-15  Pino Toscano <pino@kde.org>
	reviewed by: Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-private.h:
	Add the information about the open/close item in the DOM tree
	of the TOC.

354
355
356
357
358
2007-04-15  Albert Astals Cid <aacid@kde.org>

	* utils/HtmlFonts.cc: Fix rendering of text colors on complex mode.
	* utils/pdftohtml.cc: Fix rendering of links.

359
360
361
362
363
2007-04-07  Jeff Muizelaar  <jeff@infidigm.net>

	* utils/pdftoabw.cc: Fixing passing the wrong type
	to fprintf. Patch by Kouhei Sutou. Fixes #10554.

364
365
366
367
368
369
370
371
372
373
374
375
2007-04-06  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/ABWOutputDev.cc:
	* utils/pdftoabw.cc: Fix a number of issues with the new AbiWord code:
		*) Allows you to save to a file other than stdout
		*) Checks for error conditions when reading the PDF doc and
		   writing the ABW doc
		*) Removes dead code in pdftoabw.cc
		*) Fixes a SEGV I encountered when converting my new home's floor plan
		*) Returns proper error conditions should the conversion fail for any reason
	Patch by Dominic Lachowicz

376
377
378
379
380
2007-04-05  Albert Astals Cid <aacid@kde.org>

	* poppler/PSOutputDev.cc: Readd code wrongly removed when doing the
	GlobalParams cleaning

381
382
383
384
385
386
387
388
389
390
2007-04-03  Jeff Muizelaar  <jeff@infidigm.net>

	* configure.ac:
	* poppler/ABWOutputDev.cc:
	* poppler/ABWOutputDev.h:
	* poppler/Makefile.am:
	* utils/Makefile.am:
	* utils/pdftoabw.cc: Add AbiWord output device and pdftoabw program.
	Patch by Jauco Noordzij. Autotools stuff by Dominic Lachowicz.

391
392
393
394
395
2007-03-22  Albert Astals Cid <aacid@kde.org>

	* poppler/Gfx.cc: Accept reals for width and height of images. Fixes
	KDE bug 143322

396
397
398
399
400
2007-03-15  Albert Astals Cid <aacid@kde.org>

	* glib/Makefile.am: Make it build with BSD/Make. Patch by
	Henry Precheur <henry@precheur.org>

401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
2007-03-07  Carlos Garcia Campos <carlosgc@gnome.org>
	reviewed by: Albert Astals Cid <aacid@kde.org>

        * poppler/Page.cc: Consider 0x0 boxes as invalid. Fixes
	http://bugzilla.gnome.org/show_bug.cgi?id=408682

2007-03-06  Pino Toscano <pino@kde.org>
	reviewed by: Albert Astals Cid <aacid@kde.org>

       * configure.ac:
       * qt/Makefile.am:
       * qt/poppler-link.cc:
       * qt/poppler-page.cc:
       * qt/poppler-private.h:
       * qt4/poppler-link.cc:
       Make the Qt4 frontend compilable again with no Splash.
       Make the Qt3 frontend compilable with no Splash.

Albert Astals Cid's avatar
Albert Astals Cid committed
419
420
421
422
423
424
425
426
2007-03-06  Julien Rebetez  <julien@fhtagn.net>
	reviewed by: <aacid@kde.org>

	* poppler/Annot.cc:
	* poppler/Form.cc:
	Fix uninitialized variables.
	Properly escape parenthesis and slash in text field.

427
428
429
430
431
432
433
434
435
2007-03-06  Brad Hards  <bradh@kde.org>

	* configure.ac
	* m4/qt.m4
	* poppler/Makefile.am
	* qt4/src/Makefile.am
	* qt4/tests/Makefile.am
	Switch to using pkg-config to find Qt4.

436
437
438
439
440
441
442
443
444
2007-02-25  Julien Rebetez  <julienr@svn.gnome.org>
	reviewed by: Albert Astals Cid <aacid@kde.org>

	* poppler/Annot.cc:
	* poppler/Annot.h:
	* poppler/Form.cc:
	* poppler/Form.h:
	Fix compilation warnings.

445
446
447
448
449
450
451
452
453
454
455
456
457
458
2007-02-25  Pino Toscano <pino@kde.org>
            reviewed by: Albert Astals Cid <aacid@kde.org>

	* qt4/src/Doxyfile:
	* qt4/src/Makefile.am:
	* qt4/src/poppler-annotation-helper.h:
	* qt4/src/poppler-form.cc:
	* qt4/src/poppler-form.h:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h:
		Beginning of interactive forms support, first implementation in the
		Qt4 frontend. It supports text and choice fields in a basic way.

459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
2007-02-25  Albert Astals Cid <aacid@kde.org>

	* configure.ac:
	* glib/poppler-document.cc:
	* poppler/GlobalParams.cc:
	* poppler/GlobalParams.h:
	* poppler/PSOutputDev.cc:
	* qt/poppler-document.cc:
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h:
	* test/gtk-splash-test.cc:
	* test/pdf-inspector.cc:
	* utils/pdffonts.cc:
	* utils/pdfimages.cc:
	* utils/pdfinfo.cc:
	* utils/pdftohtml.cc:
	* utils/pdftoppm.cc:
	* utils/pdftops.cc:
	* utils/pdftotext.cc: Remove dependency on xpdfrc file and cleanup
	                      GlobalParams accordingly

481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
2007-02-25  Julien Rebetez  <julienr@svn.gnome.org>
            reviewed by: <aacid@kde.org>

	* glib/poppler-document.cc:
	* glib/poppler-document.h:
	* glib/poppler-page.cc:
	* glib/poppler-page.h:
	* glib/poppler-private.h:
	* glib/poppler.h:
	* poppler/Annot.cc:
	* poppler/Annot.h:
	* poppler/Catalog.cc:
	* poppler/Catalog.h:
	* poppler/CharCodeToUnicode.cc:
	* poppler/CharCodeToUnicode.h:
	* poppler/Dict.cc:
	* poppler/Dict.h:
	* poppler/Form.cc:
	* poppler/Form.h:
	* poppler/GfxFont.cc:
	* poppler/GfxFont.h:
	* poppler/Makefile.am:
	* poppler/Object.h:
	* poppler/Page.cc:
	* poppler/Page.h:
	* poppler/XRef.cc:
	* poppler/XRef.h:
		Beginning of Interactive Form support:
		Add a bunch of new classes (FormWidget / FormField) to deal with form
		fields.
		Add support for object modification through XRef::setModifiedObject, as
		well as a function to write the Xref to a file, which will be used
		to implement PDF writing.
		Add some functions to glib wrapper to expose the new form features.

516
517
518
519
520
521
2007-02-18  Albert Astals Cid <aacid@kde.org>

	* configure.ac: Change {datadir}/poppler to {datarootdir}/poppler so
	that i get /usr/local/share/poppler in config.h instead of
	${prefix}/poppler Better fixes are welcome.

Albert Astals Cid's avatar
Albert Astals Cid committed
522
2007-02-04  Albert Astals Cid <aacid@kde.org>
Albert Astals Cid's avatar
Albert Astals Cid committed
523
524
525
526
527

	* poppler/Lexer.cc:
	* poppler/Lexer.h: Patch to fix regression introduced by optimizations
	in bugzilla issue 7808

Albert Astals Cid's avatar
Albert Astals Cid committed
528
529
530
531
532
533
534
535
2007-01-31  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-page.cc:
	Patch by Pino Toscano <pino@kde.org> to remove a nonsense done by him.

	* qt4/tests/test-poppler-qt4.cpp:
	Simply a bit. Patch by Pino Toscano <pino@kde.org>.

536
537
538
539
540
2007-01-31  Albert Astals Cid <aacid@kde.org>

	* m4/qt.m4: Fix Qt4 detection on Mac. Patch by Benjamin Reed 
	<ranger@befunk.com>

541
542
543
544
2007-01-28  Albert Astals Cid <aacid@kde.org>

	* glib/poppler-document.cc: Plug memory leak in poppler-document.
	Patch by Carlos Garcia Campos <carlosgc@gnome.org>
545
546
547
548
	* glib/poppler-page.cc: Make link mapping coordinates follow page
	rotation. Patch by Carlos Garcia Campos <carlosgc@gnome.org>
	* glib/poppler-action.cc: Fix link destination coordinates. Patch by
	Carlos Garcia Campos <carlosgc@gnome.org>
549

Albert Astals Cid's avatar
Albert Astals Cid committed
550
551
552
553
554
555
556
557
558
559
560
561
2007-01-21  Albert Astals Cid <aacid@kde.org>

	* poppler-document.cc:
	* poppler-page.cc:
	* poppler-private.h:
	* poppler-qt4.h:
	No need to destroy the Splash output device to change its paper color.
	Add the possibility to set flags that affect the rendering (some
	backends supports only some of them, though).
	Add a Page::label to get the label associated with a page.
	Patches by Pino Toscano <pino@kde.org>.

Albert Astals Cid's avatar
Albert Astals Cid committed
562
563
564
565
566
567
568
569
2007-01-17  Albert Astals Cid <aacid@kde.org>

	* poppler/Sound.h:
	* poppler/Sound.cc:
	* qt4/src/poppler-sound.cc: Move most of the sound reading code
	into the Sound class, so frontends can use it easily.
	Patch by Pino Toscano <pino@kde.org>.

Albert Astals Cid's avatar
Albert Astals Cid committed
570
571
572
573
574
575
576
577
578
579
580
2007-01-13  Albert Astals Cid <aacid@kde.org>

	* poppler/Stream.h:
	* poppler/Stream.cc: Remove MemStream::setNeedFree method i really did
	not need it
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-link.cc:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-private.h: Make Document::loadFromData work on
	documents with a password and don't need to do a malloc and a memcpy.

Albert Astals Cid's avatar
Albert Astals Cid committed
581
582
583
584
585
586
587
588
589
2007-01-13  Albert Astals Cid <aacid@kde.org>

	* configure.ac
	* poppler/Makefile.am
	* qt4/src/Makefile.am
	* qt4/src/poppler-document.cc
	* qt4/src/poppler-link.cc
	* qt4/src/poppler-page.cc
	* qt4/src/poppler-private.h
Albert Astals Cid's avatar
Albert Astals Cid committed
590
	* qt4/src/poppler-qt4.h: Make the Qt4 frontend compilable even with
Albert Astals Cid's avatar
Albert Astals Cid committed
591
592
	no Splash backend. Patch by Pino Toscano <pino@kde.org>.

Albert Astals Cid's avatar
Albert Astals Cid committed
593
594
595
596
597
598
599
600
2007-01-13  Albert Astals Cid <aacid@kde.org>

	* poppler/Stream.h:
	* poppler/Stream.cc: Add MemStream::setNeedFree method
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h: Add Document::loadFromData method

601
602
603
604
2007-01-11  Albert Astals Cid <aacid@kde.org>

	* goo/gmem.c: Merge change from xpdf-3.01pl2

Albert Astals Cid's avatar
Albert Astals Cid committed
605
606
607
608
609
610
2007-01-11  Albert Astals Cid <aacid@kde.org>

	* poppler/Catalog.h:
	* poppler/Catalog.cc: Limit max depth of recursive calls on
	readPageTree to fix MOAB-06-01-2007

611
612
613
614
615
616
617
618
619
2007-01-06  Albert Astals Cid <aacid@kde.org>

	* poppler/Sound.cc
	* qt4/src/poppler-link.cc
	* qt4/src/poppler-link.h
	* qt4/src/poppler-page.cc
	* qt4/src/poppler-sound.cc: Patch by Pino Toscano
	<pino@kde.org> to fix some memory leaks when dealing with sounds.

620
621
622
623
2007-01-04  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-private.h: gmallocn -> new[]

624
625
626
627
628
2007-01-04  Albert Astals Cid <aacid@kde.org>

	* qt/poppler-page-transition.cc: Fix memory leak. Patch by 
	Tobias Koenig <tokoe@kde.org>

Albert Astals Cid's avatar
Albert Astals Cid committed
629
630
631
632
633
634
2006-12-30  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-document.cc: Add const & to some parameters. Patch
	by Pino Toscano <pino@kde.org>

635
636
637
638
639
2006-12-29  Albert Astals Cid <aacid@kde.org>

	* poppler/UGooString.cc: Patch by Pino Toscano
	<pino@kde.org> so that QStringToUGooString does not crash.

640
641
642
643
644
645
2006-12-28  Brad Taylor  <brad@getcoded.net>
	
	* poppler/glib/poppler-document.h:
	* poppler/glib/poppler-document.cc: Add poppler_document_new_from_data
	  to allow loading PDFs out of memory.

646
647
648
649
650
651
2006-12-28  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-embeddedfile.cc:
	* qt4/src/poppler-document.cc:
	* qt/poppler-document.cc: Fix memory leaks.

Albert Astals Cid's avatar
Albert Astals Cid committed
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
2006-12-28  Albert Astals Cid <aacid@kde.org>

	* goo/GooString.cc
	* goo/GooString.h
	* goo/gmem.c
	* goo/gmem.h
	* poppler/Lexer.cc
	* poppler/Lexer.h
	* poppler/PageLabelInfo.cc
	* poppler/Parser.cc
	* poppler/UGooString.cc
	* poppler/UGooString.h: Patch by Krzysztof Kowalczyk
	<kkowalczyk@gmail.com> to improve performance.
	See bug 7808 for details.

Albert Astals Cid's avatar
Albert Astals Cid committed
667
668
669
670
671
672
2006-12-28  Albert Astals Cid <aacid@kde.org>

	* poppler/Annot.cc:
	* poppler/Annot.h: Add type checking to processing of "Rect". Patch by
	Scott Turner <scotty1024@mac.com>

673
674
2006-12-27  Albert Astals Cid <aacid@kde.org>

675
	* poppler/Catalog.h:
676
677
678
	* qt4/src/poppler-qt4.h: Remove , after last value of enum. Thanks to
	André Wöbbeking

Albert Astals Cid's avatar
Albert Astals Cid committed
679
680
681
682
683
684
2006-12-26  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-page.cc: Add Page::duration() function to the qt4
	frontend.

685
686
687
688
689
690
691
692
693
2006-12-26  Albert Astals Cid <aacid@kde.org>

	* glib/test-poppler-glib.c:
	* glib/poppler-page.cc:
	* glib/poppler-page.h:
	* poppler/Page.cc:
	* poppler/Page.h: Implement /Dur entry in page object. Patch by Carlos
	Garcia Campos <carlosgc@gnome.org>

694
695
696
697
698
699
2006-12-23  Albert Astals Cid <aacid@kde.org>

	* poppler/PSTokenizer.cc: Enhance PSTokenizer::getToken performance.
	Patch by Scott Turner <scotty1024@mac.com>. In a random pdf i tested
	the patchs improves PSTokenizer::getToken performance by 15%

700
701
702
703
704
2006-12-23  Albert Astals Cid <aacid@kde.org>

	* qt/poppler-page.cc: Fix memory leak in Page::textList. Patch by
	Jerry Epplin <jepplin@globalvelocity.com>

705
706
707
	* poppler/Page.cc: Fix memory leak when reading a wrong color map in a
	thumbnail. Patch by Scott Turner <scotty1024@mac.com>

708
709
710
711
712
713
2006-12-20  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Fix scaling of maskedImage masks. They
	should be scaled to the size of the image not the size of the mask.
	Fixes #9403.

714
715
716
717
718
2006-12-20  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/GlobalParams.cc: Try to make zero-width lines as close to
	one pixel wide as we can. Fixes #9393.

719
720
721
722
723
2006-12-19  Albert Astals Cid <aacid@kde.org>

	* poppler/SplashOutputDev.cc: Fix gray calculation. Patch by Scott
	Turner <scotty1024@mac.com>

724
725
726
727
728
729
730
2006-12-12  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Change a cairo_set_matrix to 
	cairo_transform so that we don't blindly clobber the existing matrix.
	Patch by Daniel Colascione.
	Fixes #9190.

731
732
733
734
735
736
2006-12-09  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/Function.cc: Initialize PostScriptFunction::codeString to
	NULL so that it can safely deleted if initialization fails.
	Fixes #9263.

737
738
739
740
741
2006-11-23  Albert Astals Cid <aacid@kde.org>

	* m4/libjpeg.m4: Make JPEG library header search work under MSYS.
	Patch by Alexis	Wilke

742
743
744
745
746
747
748
749
2006-11-19  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-link.cc:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-textbox.cc: Fix memory leaks
	* splash/Splash.cc: Initialize the values of nClipRes

750
751
752
753
754
755
2006-11-18  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-document.cc
	* qt4/src/poppler-qt4.h: Add int marginRight, int marginBottom, int
	marginLeft, int marginTop, bool strictMargins to Document::print()

Albert Astals Cid's avatar
Albert Astals Cid committed
756
757
758
759
760
761
762
763
764
2006-11-15  Albert Astals Cid <aacid@kde.org>

	* qt4/src/Mainpage.dox:
	* qt4/src/Doxyfile:
	* qt4/src/poppler-annotation.h:
	* qt4/src/poppler-link.h:
	* qt4/src/poppler-qt4.h: Improve API documentation. Patch by
	Pino Toscano.

765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
2006-11-15  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-link.cc:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-private.h: Generalize the way we render the pages:
	merge all the Page::renderTo* functions in only one that renders on
	a QImage, taking into account the currently chosen backend.
	It is possible to switch rendering backend using the Document.
	Patch by Pino Toscano.

	* qt4/tests/stress-poppler-qt4.cpp:
	* qt4/tests/test-password-qt4.cpp:
	* qt4/tests/test-poppler-qt4.cpp: Adapt the tests to the changes in
	the rendering API of Page. Patch by Pino Toscano.

782
783
784
785
2006-11-13  Albert Astals Cid <aacid@kde.org>

	* poppler/ArthurOutputDev.cc: Small fix to get colors right

786
787
788
789
2006-11-11  Albert Astals Cid <aacid@kde.org>

	* poppler/PSOutputDev.cc: Fix typo when outputing PS scale

790
791
792
793
794
2006-11-07  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: take horizontal scaling into account
	when updating the font. Also, cleanup some unused code. Fixes #8924.

795
796
797
798
799
800
801
2006-10-18  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-private.h: Do not crash when opening a
	encrypted document. Do not crash when unlocking a locked
	document.

Albert Astals Cid's avatar
Albert Astals Cid committed
802
803
804
805
806
807
808
2006-10-12  Albert Astals Cid <aacid@kde.org>

	* splash/Splash.cc:
	* splash/SplashErrorCodes.h: Do not crash on documents that report a
	0x0 mask for an image, like
	http://bugs.kde.org/attachment.cgi?id=18083&action=view

Albert Astals Cid's avatar
Albert Astals Cid committed
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
2006-10-08  Albert Astals Cid <aacid@kde.org>

	* poppler/Link.cc:
	* poppler/Link.h:
	* poppler/Makefile.am:
	* poppler/Page.cc:
	* poppler/Page.h:
	* poppler/Sound.cc:
	* poppler/Sound.h: Make poppler able to read Sound objects, Sound
	actions and Opening/Closing page actions. Patch by Pino Toscano.

	* qt4/src/Makefile.am:
	* qt4/src/poppler-link.cc:
	* qt4/src/poppler-link.h:
	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-sound.cc: Support for sounds, sound links and page
	actions in the Qt4 backend. Patch by Pino Toscano.

828
829
830
831
2006-09-30  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-page.cc: PA is optional, H is a name not a string

Albert Astals Cid's avatar
   
Albert Astals Cid committed
832
833
834
835
836
837
838
839
840
841
2006-09-25  Albert Astals Cid <aacid@kde.org>

	* glib/Makefile.am
	* qt/Makefile.am
	* qt4/src/Makefile.am
	* qt4/tests/Makefile.am
	* test/Makefile.am
	* utils/Makefile.am: Add FONTCONFIG_CFLAGS FONTCONFIG_LIBS for people
	that need them. Patch by morfoh@opensde.org. Fixes bug #8415

842
843
2006-09-21  Kristian Høgsberg  <krh@redhat.com>

844
845
	* NEWS: Update list of bugs fixes, release 0.5.4.

846
847
848
	* configure.ac: Check for gtk+ 2.8 for the gtk+ test case, invert
	help text for zlib option (#7788, #7661).

849
850
	* utils/pdftops.cc: Get duplex setting from GlobalParams.

851
852
853
	* glib/poppler-page.cc (_poppler_page_new): Make PopplerPage
	reference its document throughout the lifetime of the page (#7005).

854
855
	* poppler/Gfx.cc: Remove the right out->updateAll() call.

856
857
2006-09-20  Kristian Høgsberg  <krh@redhat.com>

858
859
860
861
	* NEWS: Sum up changes.

	* configure.ac: Bump release to 0.5.4.

862
863
864
	* poppler/Gfx.cc: Remove last remnant of erroneous type3 commit a
	while back, fixing #8182.

865
866
867
868
869
870
2006-09-20  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/TextOutputDev.cc: TextFontInfo stores a copy of a pointer
	to a GfxFont but does not increment the reference count. Fix the
	problem by calling incRefCnt and decRefCnt appropriately. Fixes #4649

871
872
873
874
875
876
877
2006-09-19  Kristian Høgsberg  <krh@redhat.com>

	* poppler/GlobalParams.cc: Add scanEncodingDirs() to automatically
	scan in any encodings found under ${datadir}/poppler.

	* m4/define-dir.m4: New file, adds AC_DEFINE_DIR macro.

878
879
2006-09-13  Kristian Høgsberg  <krh@redhat.com>

880
881
882
	* poppler/Makefile.am (libpoppler_la_LIBADD): Add cairo libs to
	link if configured.

883
884
885
	* configure.ac: Tighten glib check (#7906), add check for C++
	compiler (#8048).

886
2006-09-11  Albert Astals Cid <aacid@kde.org>
887

888
889
890
891
	* qt4/src/poppler-annotation.cc:
	* qt4/src/poppler-annotation.h:
	* qt4/src/poppler-page.cc: Add support for LinkAnnotation. Patch by
	Pino Toscano
892

Albert Astals Cid's avatar
Albert Astals Cid committed
893
894
895
896
897
898
899
2006-09-08  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: The work-around for 1x1 imagemasks was
	not calling cairo_set_source causing the rectangles to be drawn
	the wrong colour occasionally. Fix by moving the existing call to
	cairo_set_source above the work-around. Fixes #7113.

900
901
902
903
904
2006-09-06  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Avoid crashing in CairoOutputDev if
	endString is called without a corresponding beginString. Fixes #4515.

905
906
907
908
909
910
911
912
913
2006-09-06  Jeff Muizelaar  <jeff@infidigm.net>

	* configure.ac:
	* poppler/FlateStream.cc:
	* poppler/FlateStream.h: Fix FlateStream to not read more than it
	needs. This has a performance impact because our input buffer is now
	only 1 byte large, however correctness is better than performance.
	This should fix #3948.

914
915
916
917
918
2006-09-04  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Initialize currentFont to NULL before
	use. Found by Pascal Terjan. Fixes #7924.

Albert Astals Cid's avatar
Albert Astals Cid committed
919
920
921
922
923
924
925
926
927
2006-09-03  Albert Astals Cid  <aacid@kde.org>

	* poppler/Dict.cc:
	* poppler/Dict.h:
	* poppler/Object.h:
	* poppler/Parser.cc: Patch by Krzysztof Kowalczyk to increase speed by
	means of doing less copies between objects. See bug 8112 for more
	information.

928
929
930
931
932
2006-08-25  Albert Astals Cid  <aacid@kde.org>

	* qt4/src/poppler-private.h: Init m_fontInfoScanner to NULL. Discovered by
	Rafael Rodríguez <rafael.rodriguez.tf@gmail.com>

933
934
935
936
937
2006-08-16  Albert Astals Cid  <aacid@kde.org>

	* qt/poppler-page.cc: Report correct page size. Backport from Qt4
	frontend. Patch by Wilfried Huss

938
939
940
941
2006-08-16  Albert Astals Cid  <aacid@kde.org>

	* configure.ac: Add a warning saying zlib code is not perfect.

942
943
944
945
2006-08-11  Albert Astals Cid  <aacid@kde.org>

	* poppler/Catalog.cc: Fix leak

946
947
948
949
2006-08-10  Albert Astals Cid  <aacid@kde.org>

	* poppler/SplashOutputDev.cc: Try to fix refs to fonts yet again.

950
951
952
953
954
955
956
957
2006-08-05  Albert Astals Cid  <aacid@kde.org>

	* poppler/Catalog.cc: The name array can contain references to strings
	instead of stings themselves, or at least PDF of
	https://bugs.freedesktop.org/show_bug.cgi?id=7780 does. This makes it
	work with that file
	* qt4/src/poppler-embeddedfile.cc: Use UGooString for description

958
959
960
961
962
963
964
2006-08-05  Albert Astals Cid  <aacid@kde.org>

	* utils/pdftotext.cc:
	* utils/pdfinfo.cc:
	* utils/pdffonts.cc: Add the posibility of reading a file from stdin.
	Patch by Dom Lachowicz

Albert Astals Cid's avatar
   
Albert Astals Cid committed
965
966
967
968
969
2006-08-03  Albert Astals Cid  <aacid@kde.org>

	* configure.ac: Use the correct variable to output the utils status.
	Patch by Dom Lachowicz

970
971
972
973
974
975
976
2006-07-30  Albert Astals Cid  <aacid@kde.org>

	* poppler/GfxState.cc: make nGfxBlendModeNames define return the
	correct size of the gfxBlendModeNames array so it does not access
	invalid memory areas when the blend mode is not found. Discovered by
	Krzysztof Kowalczyk

977
978
979
980
981
982
2006-07-29  Albert Astals Cid  <aacid@kde.org>

	* splash/SplashFontEngine.cc:
	* poppler/SplashOutputDev.cc: Fix memory leak when using embedded
	fonts in the pdf file. Patch by Krzysztof Kowalczyk

983
984
985
986
987
2006-07-29  Albert Astals Cid  <aacid@kde.org>

	* configure.ac: Disable qt and qt4 frontends if splash backend is
	disabled

988
989
990
991
992
2006-07-28  Kristian Høgsberg  <krh@redhat.com>

	* poppler/CairoOutputDev.cc: Don't set font matrix translation
	(fix from Behdad Esfahbod).

993
2006-07-27  Albert Astals Cid  <aacid@kde.org>
994
995
996
997

	* poppler/Stream.cc: If you are going to test a variable, better
	initialize it first ;-) Fixes bug 7646

998
999
1000
1001
1002
1003
1004
2006-07-26  Albert Astals Cid  <aacid@kde.org>

	* qt/poppler-document.cc:
	* qt/poppler-private.h:
	* qt/poppler-qt.h: Port the QDomDocument *Document::toc() const method
	from the qt4 frontend to the qt frontend. Patch by Wilfried Huss

1005
1006
1007
1008
1009
1010
2006-07-25  Albert Astals Cid  <aacid@kde.org>

	* qt4/src/poppler-document.cc: Obey kdeprint masters in that a library
	should output as much device independent PS as posible, so disabling
	duplex printing for default is a good idea.

1011
1012
1013
1014
1015
2006-07-24  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac:
	* poppler/Makefile.am: Move fontconfig dependency to libpoppler.

1016
1017
1018
1019
1020
1021
2006-07-18  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/Gfx.cc: fix opCloseStroke to match the behaviour of
	a separate opClose and opStroke. Previously, opCloseStroke only
	closes if there is a path however opClose closes unconditionally.

1022
1023
1024
1025
1026
2006-07-18  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/TextOutputDev.cc: call setDefaultCTM() after start page
	like in Gfx.cc. This fixes a regression caused by the fix to #6948.

1027
1028
1029
1030
1031
1032
1033
2006-07-16  Albert Astals Cid  <aacid@kde.org>

	* poppler/GfxState.cc: Do not crash when we can not
	parse a GfxImageColorMap
	Fixes crash on pdf that can be found at
	http://bugs.kde.org/show_bug.cgi?id=130846

Albert Astals Cid's avatar
Albert Astals Cid committed
1034
1035
1036
1037
1038
1039
1040
2006-06-28  Albert Astals Cid  <aacid@kde.org>

	* poppler/DCTStream.cc:
	* poppler/DCTStream.h: Reset jpeg structures on reset.
	Fixes crash while printing pdf at
	http://bugs.kde.org/attachment.cgi?id=16818&action=view

1041
1042
1043
1044
1045
1046
1047
1048
2006-06-25  Albert Astals Cid  <aacid@kde.org>

	* qt/poppler-document.cc
	* qt/poppler-qt.h
	* qt4/src/poppler-document.cc
	* qt4/src/poppler-qt4.h: Ask for paper size width and height to pass
	it to PSOutputDev

1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
2006-06-25  Albert Astals Cid  <aacid@kde.org>

	* qt/Makefile.am
	* qt/poppler-document.cc
	* qt/poppler-page.cc
	* qt/poppler-private.h
	* qt/poppler-qt.h
	* qt/poppler-link.cc
	* qt/poppler-link.h: Adding link support to Qt3 frontend, patch by  
	Wilfried Huss based on Qt4 code

1060
1061
1062
1063
1064
1065
1066
1067
1068
2006-06-11  Albert Astals Cid  <aacid@kde.org>

	* poppler/UGooString.cc: When any of the chars that we
	are passing to the UGooString is not pdfencodable, do not
	encode the string, because we loose information if we do,
	this fixes rendering of 
	http://publikationen.ub.uni-frankfurt.de/volltexte/2005/890/pdf/TR_abs_g.pdf
	and other docs with type3 fonts and ligatures

1069
1070
1071
1072
1073
1074
2006-06-01  Albert Astals Cid  <aacid@kde.org>

	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-page.cc: Add Rotation parameter that is  passed
	to the respective output devs

1075
1076
1077
1078
1079
1080
2006-06-01  Albert Astals Cid  <aacid@kde.org>

	* qt/poppler-document.cc:
	* qt/poppler-qt.h: Add printing support, patch by  
	Stefan Kebekus <stefan.kebekus@math.uni-koeln.de>

1081
1082
1083
1084
1085
1086
2006-06-01  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/PSOutputDev.cc:
	* poppler/PSOutputDev.h: Change filename parameter to PSOutputDev
	constructor from char * to const char *.

1087
1088
1089
1090
1091
1092
2006-05-31  Albert Astals Cid  <aacid@kde.org>

	* poppler/SplashOutputDev.cc:
	* splash/Splash.cc: Fix splashModeRGB8Qt mode, that is, make it
	show images

1093
1094
1095
1096
2006-05-31  Jeff Muizelaar  <jeff@infidigm.net>

	* TODO: Remove items's from my list that are done.

1097
1098
1099
1100
1101
1102
1103
2006-05-31  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h: Change the cairo backend to use the
	transformation in cairo instead of doing all of the transformations in
	the OutputDevice. Fixes #6948.

1104
1105
1106
1107
1108
1109
2006-05-31  Kristian Høgsberg  <krh@redhat.com>

	* NEWS: Sum up changes.

	* configure.ac: Bump release to 0.5.3.

1110
1111
1112
1113
1114
1115
2006-05-30  Kristian Høgsberg  <krh@redhat.com>

	* poppler-glib.pc.in: 
	* configure.ac: Add poppler as a private requires if pkg-config
	supports it.

1116
1117
1118
1119
2006-05-30  Kristian Høgsberg  <krh@redhat.com>

	* test/gtk-cairo-test.cc: Add --page option to gtk-cairo-test.

1120
1121
1122
1123
1124
1125
1126
2006-05-29  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoFontEngine.cc:
	* poppler/CairoFontEngine.h:
	* poppler/CairoOutputDev.cc: Allow CairoFont creation to fail more
	gracefully. Fixes #4030.

1127
1128
1129
1130
1131
1132
2006-05-27  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h: Back out the rest of krh's type3
	font work. This fixes type3 fonts in CairoOutputDevice.

1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
2006-05-21  Albert Astals Cid <aacid@kde.org>

	* poppler/SplashOutputDev.cc:
	* qt4/src/poppler-private.h:
	* splash/Splash.cc:
	* splash/SplashBitmap.cc:
	* splash/SplashTypes.h: bring splashModeRGB8 back to the old code
	(before Frank's patch), create splashModeRGB8Qt that has Frank's 
	codepath and is used by Qt frontends. Fixes corruption on
	other programs expecting the old behaviour.

1144
1145
1146
1147
1148
2006-05-23  Kristian Høgsberg  <krh@redhat.com>

	* qt4/src/Makefile.am (libpoppler_qt4_la_SOURCES): Add missing
	poppler-annotation-helper.h.

1149
1150
1151
1152
1153
2006-05-22  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac: Bump release.
	* NEWS: Sum up changes.

1154
1155
1156
1157
1158
1159
1160
1161
1162
2006-05-22  Kristian Høgsberg  <krh@redhat.com>

	Patch from Rainer Keller to fix the ImageOutputDev (#6984).
	
	* utils/ImageOutputDev.cc (drawImage): Upate to work with new
	16-bit color representation.

	* utils/ImageOutputDev.h: Return gTrue for needNonText().

1163
1164
1165
1166
1167
1168
2006-05-21  Kristian Høgsberg  <krh@redhat.com>

	* poppler/CairoFontEngine.cc:
	* poppler/CairoFontEngine.h: Back out type3 font work committed by
	accident.

1169
1170
1171
1172
1173
1174
1175
2006-05-21  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-page.cc:
	* qt/src/poppler-page.cc: Swap byte order on bigendian machines.
	Thanks a lot to Jonathan Riddell <jr@jriddell.org> for letting me use
	his minimac for	testing

1176
1177
2006-05-19  Kristian Høgsberg  <krh@redhat.com>

1178
1179
	* glib/poppler-action.h: 
	* glib/poppler-action.cc: Add poppler_dest_get_type(), patch from
1180
	Kouhei Sutou (#6907).
1181

1182
	* poppler-glib.pc.in (Requires): Add gdk-2.0 dependency, from
1183
	Kouhei Sutou (#6896).
1184

1185
1186
	* glib/poppler-document.h (POPPLER_TYPE_INDEX_ITER)
	(POPPLER_TYPE_FONTS_ITER): Add these macros, patch from Kouhei
1187
	Sutou (#6897).
1188

1189
	* glib/Makefile.am (INCLUDES): Add define for G_LOG_DOMAIN, from
1190
	Kouhei Sutou (#6899).
1191

1192
1193
1194
1195
1196
	* glib/poppler-document.cc (poppler_document_save): Memleak patch
	from Paolo Borelli (#6908).

2006-05-19  Kristian Høgsberg  <krh@redhat.com>
	
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
	* TextOutputDev.h:
	* TextOutputDev.cc:
	* UnicodeTypeTable.h:
	* UnicodeTypeTable.cc:
	* UnicodeCClassTables.h:
	* UnicodeCompTables.h:
	* UnicodeDecompTables.h:
	* gen-unicode-tables.py: Patch from Ed Catmur (#2929) to convert
	search string and document text to unicode NFKC (compatibility
	composition) before matching so ligatures match correctly.

1208
1209
1210
1211
1212
2006-05-19  Kristian Høgsberg  <krh@redhat.com>

	* glib/poppler-page.cc (poppler_page_prepare_output_dev): Fix the
	rotation bug for real.

1213
1214
2006-05-19  Kristian Høgsberg  <krh@redhat.com>

1215
	Patch from Kouhei Sutou (#6905).
1216
1217
1218
1219
1220
1221
1222
1223
	
	* glib/poppler-document.cc:
	* glib/poppler-document.h:
	* glib/poppler-private.h:
	* glib/reference/tmpl/poppler-private.sgml:
	* glib/reference/tmpl/poppler.sgml: Make PopplerPSOutput a proper
	glib object.

1224
1225
2006-05-19  Kristian Høgsberg  <krh@redhat.com>

1226
1227
1228
	* glib/poppler-page.cc (poppler_page_prepare_output_dev): Fix
	rotation bug (#6913, #6926).

1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
	Memory leak patch from Carlos Garcia Campos (#6947).

	* glib/poppler-action.cc:
	* glib/poppler-document.cc:
	* glib/poppler-page.cc:
	* poppler/CairoFontEngine.cc:
	* poppler/CairoFontEngine.h:
	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h:
	* poppler/Gfx.cc:
	* poppler/TextOutputDev.cc:  Fix various memory leaks.

1241
1242
1243
1244
1245
2006-05-19  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-link.cc: Patch by Pino Toscano, ensure the
	splashoutput is created when parsing the TOC.

Albert Astals Cid's avatar
   
Albert Astals Cid committed
1246
1247
1248
1249
1250
2006-05-14  Albert Astals Cid <aacid@kde.org>

	* poppler/FontInfo.cc: Fix possible crash, half patch 
	by Kouhei Sutou <kou@cozmixng.org>

Albert Astals Cid's avatar
Albert Astals Cid committed
1251
1252
1253
1254
1255
1256
2006-05-13  Albert Astals Cid <aacid@kde.org>

	* poppler/GfxState.cc:
	* poppler/GfxState.h: Fix memleak, patch by
	        Carlos Garcia Campos <carlosgc@gnome.org>

1257
1258
1259
1260
1261
1262
2006-05-13  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-document.cc: leak--
	* qt4/src/poppler-private.h: Refcount globalparams
	* qt4/tests/test-poppler-qt4.cpp: Some leaks less

Albert Astals Cid's avatar
Albert Astals Cid committed
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
2006-05-12  Albert Astals Cid <aacid@kde.org>

	* qt4/src/Makefile.am
	* qt4/src/poppler-annotation-helper.h
	* qt4/src/poppler-annotation.cc
	* qt4/src/poppler-annotation.h
	* qt4/src/poppler-link.cc
	* qt4/src/poppler-link.h
	* qt4/src/poppler-page.cc
	* qt4/src/poppler-qt4.h: Code for annotations stripped from oKular,
	it's all based on Enrico's work, so ask him for details, the problem
	is that he left KDE development a while ago.
	

Albert Astals Cid's avatar
Albert Astals Cid committed
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
2006-05-09  Albert Astals Cid <aacid@kde.org>

	* qt4/src/Makefile.am:
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-link.cc:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h: Adding links extraction code, should work as
	  it is basically stripped out from kpdf

Albert Astals Cid's avatar
Albert Astals Cid committed
1287
1288
1289
1290
1291
2006-05-05  Albert Astals Cid <aacid@kde.org>

	* poppler/Catalog.cc: Fix memleak, patch by  
	Carlos Garcia Campos <carlosgc@gnome.org>

1292
1293
1294
1295
2006-05-05  Albert Astals Cid <aacid@kde.org>

	* poppler/Function.cc: quick fix for KDE bug #126760

Albert Astals Cid's avatar
   
Albert Astals Cid committed
1296
1297
1298
1299
1300
2006-05-04  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-page.cc: Implement search functionality 

1301
1302
1303
1304
1305
1306
1307
1308
2006-05-02  Kristian Høgsberg  <krh@redhat.com>

	* glib/poppler-page.cc:
	* poppler/Gfx.cc:
	* poppler/GfxFont.cc:
	* poppler/GfxFont.h:
	* poppler/GfxState.cc:
	* poppler/TextOutputDev.cc: Patch from Gary Coady to add reference
1309
	counting to GfxFont so we don't crash on text selection (#4481).
1310

1311
1312
1313
1314
1315
1316
1317
1318
2006-05-01  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-textbox.cc: Add nextWord(), hasSpaceAfter() and
	edge() to TextBox

1319
1320
1321
1322
1323
1324
1325
2006-05-01  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h: Add the possibility of setting the paper
	color

Albert Astals Cid's avatar
Albert Astals Cid committed
1326
1327
1328
1329
1330
2006-04-29  Albert Astals Cid <aacid@kde.org>

	* poppler/JBIG2Stream.cc: fix memory leak. Bug 6765, reported by
	Kjartan Maraas.

1331
1332
1333
1334
1335
1336
2006-04-27  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: delete imgStr if some of the cairo
	functions fail. Fixes coverty reports #2106, #2107, #2077 and 
	bug #6764. Patch by Kjartan Maraas.

1337
1338
1339
1340
1341
2006-04-23  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-private.h: Protect us against a link not having
	a destination or a namedDestination

1342
1343
1344
1345
1346
2006-04-18  Albert Astals Cid <aacid@kde.org>

	* goo/GooVector.h: Fix typo that was preventing build with MSVC8
	Discovered by Reece Dunn <msclrhd@hotmail.com>

1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
2006-04-16  Carlos Garcia Campos  <carlosgc@gnome.org>

	* glib/poppler-action.cc:
	* glib/poppler-action.h:
	* glib/poppler-private.h:
	* glib/poppler.h:
	Add support for named destinations and named actions.
	
	* glib/poppler-document.cc:
	* glib/poppler-document.h:
	Allow to find named destinations in document.
	
1359
1360
1361
1362
1363
1364
1365
1366
2006-04-12  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h: Add support for masked images to the cairo
	backend. CairoOutputDevice really should have been refactored before
	committing this, but the results were so pretty I couldn't resist.
	Fixes #6174.

1367
1368
1369
1370
1371
2006-04-12  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Fix breakage by krh by only calling
	cairo_destroy on non-null.

1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
2006-04-11  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac:
	* poppler-glib.pc.in:
	* glib/Makefile.am:
	* glib/poppler-page.cc:
	* glib/poppler-page.h:
	* glib/poppler.h:
	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h:
	* glib/poppler-features.h.in:
	Make the CairoOutputDev render to a cairo_t instead of a
	cairo_surface_t and expose that functionality in the glib wrapper
	(poppler_page_render).

	* test/Makefile.am:
	* test/gtk-cairo-test.cc:
	Update gtk-cairo-test to use this new interface and add a spin
	button for changing page (#5951).

	* utils/Makefile.am (EXTRA_DIST): Fix warning where this was
	assigned twice.
	
1395
1396
1397
1398
1399
2006-04-10  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: take originX and originY into account in
	drawChar() to draw vertical text properly. Fixes #6551.

1400
1401
1402
1403
1404
2006-04-09  Albert Astals Cid <aacid@kde.org>

	* m4/qt.m4: Improve for systems that need -pthread to be linked when
	linking Qt. Patch by Diego Pettenò

Albert Astals Cid's avatar
Albert Astals Cid committed
1405
1406
1407
1408
1409
1410
2006-04-08  Albert Astals Cid <aacid@kde.org>

	* poppler/Makefile.am:
	* qt4/src/Makefile.am: Don't link Qt4 in libpoppler when using Qt4 frontend
	Patch by Stefan Schweizer

1411
1412
1413
1414
1415
2006-04-05  Albert Astals Cid <aacid@kde.org>

	* poppler/JBIG2Stream.cc: Fix for some buggy JBIG2 documents, patch by
	Raj Kumar and Paul Walmsley. Fixes bug 6500

1416
1417
1418
1419
1420
2006-04-05  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: use a separate matrix for the softmask.
	fixes #6492.

Albert Astals Cid's avatar
Albert Astals Cid committed
1421
1422
1423
1424
1425
1426
1427
1428
1429
2006-04-04  Albert Astals Cid <aacid@kde.org>

	* splash/Splash.cc:
	* splash/SplashBitmap.cc: Make Splashbitmap RGB8 use 32bits internally
	* qt/poppler-page.cc:
	* qt4/src/poppler-page.cc: Adapt to splashbitmap change so copying to
	QImage is faster.
	Patch by Frank Meerkötter slightly modified by Albert Astals Cid

1430
1431
1432
1433
1434
2006-04-04  Albert Astals Cid <aacid@kde.org>

	* splash/SplashFTFont.cc: Fix crash when using fixedpoint math. Patch
	by Frank Meerkoetter

1435
1436
1437
1438
1439
1440
1441
2006-04-02  Albert Astals Cid <aacid@kde.org>

	* m4/qt.m4: Add QtXml lib to Qt4 binding as now it's needed
	* qt4/src/poppler-document.cc: Add the possibility to get the toc of
	a file, print it to PS and get a LinkDestination from a "symbolic" name
	* qt4/src/poppler-page.cc: Add the possibility of getting the defaultCTM

Albert Astals Cid's avatar
Albert Astals Cid committed
1442
1443
1444
1445
1446
2006-04-01  Albert Astals Cid <aacid@kde.org>

	* poppler/XRef.cc: Fix parsing of some TOCs, bug was due a int to uint
	comparison, sorry for introducing that bug. Fixes bug 6454

1447
1448
1449
1450
1451
1452
2006-03-20  Jeff Muizelaar  <jeff@infidigm.net>

	* glib/poppler-page.cc: Avoid strdup in poppler_page_get_property and
	make code cleaner. Combined with the memleak fix closes #6187.
	Patch by chpe.

1453
1454
1455
1456
1457
2006-03-20  Jeff Muizelaar  <jeff@infidigm.net>

	* glib/poppler-page.cc: Fix memory leak in poppler_page_get_text
	Patch by chpe.

1458
1459
1460
1461
1462
1463
2006-03-20  Albert Astals Cid <aacid@kde.org>

	* qt/poppler-document.cc:
	* qt4/src/poppler-document.cc: Use UGooString for dates, fixes KDE
	bug 123938

1464
1465
1466
1467
1468
1469
2006-03-20  Carlos Garcia Campos  <calosgc@gnome.org>

	reviewed by: Jeff Muizelaar <jeff@infidigm.net>

	* glib/poppler-document.cc: Fix memory leak in poppler_font_info_free

1470
1471
1472
1473
2006-03-20  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoFontEngine.h: remove unused variables

Albert Astals Cid's avatar
Albert Astals Cid committed
1474
2006-03-19  Albert Astals Cid <aacid@kde.org>
Albert Astals Cid's avatar
Albert Astals Cid committed
1475
1476
1477

	* utils/HtmlOutputDev.[cc|h]: Fix broken code

1478
1479
1480
1481
1482
1483
1484
2006-03-16  Albert Astals Cid <aacid@kde.org>

	* poppler/Page.cc: Remove a #ifdef that was never defined (nice to
	have so sucky W args), probably came from gpdf (it's not on xpdf
	sources) and was causing bugs 6079 and 6167

2006-03-16  Albert Astals Cid <aacid@kde.org>
1485
1486
1487

	* poppler/FontInfo.cc: Embedded fonts don't have a font file

1488
1489
1490
1491
1492
2006-03-14  Albert Astals Cid <aacid@kde.org>

	* qt4/src/poppler-qt4.h: Fix compilation with gcc4.1, patch by  
	Michael Olbrich

Albert Astals Cid's avatar
Albert Astals Cid committed
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
2006-03-11  Albert Astals Cid <aacid@kde.org>

	* poppler/FontInfo.cc:
	* poppler/FontInfo.h: Add getFile() function that returns
	the path of the font that is beign used in the system to
	represent that font
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-fontinfo.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h: Add the file() function
	* qt4/tests/poppler-fonts.cpp: Show the path of the font
	used to represent each font

1506
1507
1508
1509
1510
2006-03-09  Albert Astals Cid <aacid@kde.org>

	* glib/Makefile.am: Build with cairo disabled, patch by Eduardo de
	Barros Lima

1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
2006-02-28  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac: Bump release to 0.5.1.

	* NEWS: Sum up 0.5.1 changes so far.

	* TextOutputDev.h: add getters for a couple of attributes.
	
	* glib/Makefile.am: 
	* poppler/Makefile.am: Move cairo link dependency to glib bindings.

1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
2006-02-28  Kristian Høgsberg  <krh@redhat.com>

	* goo/gmem.c: (gmalloc), (grealloc):
	* poppler/JBIG2Stream.cc:
	* poppler/Stream.cc:
	* poppler/Stream.h:
	* splash/SplashXPathScanner.cc:

	More integer overflow fixes from Derek Noonburg (#5922).

1532
1533
1534
1535
1536
2006-02-28  Kristian Høgsberg  <krh@redhat.com>

	* poppler/PSOutputDev.cc: Make PSOutputDev constructor respect
	passed in paper size (#5946, #5749).

1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
2006-02-28  Kristian Høgsberg  <krh@redhat.com>

	* glib/poppler-document.cc (info_dict_get_string): Refactor
	_popper_goo_string_to_utf8() out into it's own function.

	* glib/poppler-page.cc (poppler_page_get_property): Use
	_popper_goo_string_to_utf8() here to convert ucs2 page labels.

	* glib/poppler-page.cc (poppler_page_get_selection_region): Add
	braces to fix warning.

	* poppler/PageLabelInfo.cc: If the label prefix string has a ucs2
	marker, append the number part of the label as ucs2 (#5952).

Albert Astals Cid's avatar
Albert Astals Cid committed
1551
1552
1553
1554
2006-02-25  Albert Astals Cid  <aacid@kde.org>

	* poppler/Object.cc: Fix warning

1555
1556
1557
1558
1559
2006-02-23  Albert Astals Cid  <aacid@kde.org>

	* utils/Makefile.am: Do not build pdftoppm when SplashOutputDev is
	disabled as that does not work

1560
1561
1562
1563
1564
1565
1566
1567
2006-02-18  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h:
	* poppler/GfxState.cc:
	* poppler/GfxState.h: Add support for drawSoftMaskedImage to
	CairoOutputDev. Ugly but works.

1568
1569
1570
1571
1572
2006-02-16  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Work around cairo bug when scaling
	1x1 bitmaps. Fixes #3387. Also gives a performance improvement.

Albert Astals Cid's avatar
Albert Astals Cid committed
1573
1574
1575
1576
1577
1578
1579
1580
2006-02-16  Albert Astals Cid  <aacid@kde.org>

	* qt4/src/Makefile.am:
	* qt/Makefile.am:
	* poppler/Makefile.am:
	* glib/Makefile.am: Update soname as we are not really compatible
	anymore with previous releases that had soname 0.0.0

1581
1582
1583
1584
1585
2006-02-13  Albert Astals Cid  <aacid@kde.org>

	* poppler/ArthurOutputDev.cc: Make it compile after changing code so
	we did not pass files to freetype but buffers

1586
1587
1588
1589
1590
2006-02-13  Albert Astals Cid  <aacid@kde.org>

	* poppler/PSOutputDev.cc: Commit setupExternalCIDTrueTypeFont patch
	kpdf got from Takashi Iwai (SuSe) a long time ago

1591
1592
1593
1594
1595
1596
1597
1598
2006-02-06  Albert Astals Cid  <aacid@kde.org>

	* configure.ac:
	* goo/FixedPoint.h:
	* splash/Splash.cc:
	* splash/SplashTypes.h: Various fixes from Frank Meerkötter to enable
	fixedpoint arithmetic

1599
1600
1601
1602
1603
1604
2006-02-06  Albert Astals Cid  <aacid@kde.org>
	
	* poppler/Annot.cc: Fix small leaks
	* poppler/JBIG2Stream.cc: Remove check improving as really did not
	improve anything
	
Albert Astals Cid's avatar
Albert Astals Cid committed
1605
1606
1607
1608
1609
1610
1611
1612
2006-02-05  Albert Astals Cid  <aacid@kde.org>

	* poppler/Gfx.cc: Fix small leak
	* poppler/GfxFont.cc: I needed that guard in kpdf to fix a crash and
	it surely does not hurt
	* poppler/JBIG2Stream.cc: Improve check (comes from kpdf)
	* poppler/SplashOutputDev.cc: Unneeded var--

1613
1614
1615
1616
1617
1618
1619
1620
2006-02-04  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/Gfx.cc:
	* poppler/OutputDev.cc:
	* poppler/OutputDev.h: Let output devices know about pdf grouping
	operators.
	Patch by Thorkild Stray.

1621
1622
1623
1624
1625
1626
2006-02-04  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/GlobalParams.cc: Check all fonts returned by fontconfig.
	Discard the ones that are not truetype or type1. Fixes #5758.
	Patch by Ed Catmur.

1627
1628
1629
1630
1631
2006-02-04  Albert Astals Cid  <aacid@kde.org>

	* utils/Makefile.am:
	* utils/pdftoppm.cc: Actually create pdftoppm patch by Stefan
	Schweizer
1632
1633
	* utils/pdf2xml.dtd: Added a DTD of the xml pdftohtml creates patch by
	Stefan Schweizer
1634
1635
1636
	* poppler/SplashOutputDev.cc: Remove bug from "do not use an external
	file to pass fonts to Freetype" patch, patch by Stefan Schweizer
		
1637

1638
1639
1640
1641
1642
2006-02-02  Albert Astals Cid  <aacid@kde.org>

	* splash/SplashXPathScanner.cc: CVE-2006-0301 fix by Derek (xpdf man
	itslef) got though Dirk Mueller of KDE security team

1643
2006-02-02  Albert Astals Cid  <aacid@kde.org>
1644

1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
	* fofi/FoFiTrueType.cc:
	* fofi/FoFiTrueType.h:
	* fofi/FoFiType1C.h:
	* goo/gfile.cc:
	* poppler/GfxFont.cc:
	* poppler/GfxFont.h:
	* poppler/GlobalParams.cc:
	* poppler/GlobalParams.h:
	* poppler/SplashOutputDev.cc:
	* splash/SplashFTFontEngine.cc:
	* splash/SplashFTFontEngine.h:
	* splash/SplashFTFontFile.cc:
	* splash/SplashFTFontFile.h:
	* splash/SplashFontEngine.cc:
	* splash/SplashFontEngine.h:
	* splash/SplashFontFile.cc:
	* splash/SplashFontFile.h:
	* splash/SplashT1FontEngine.cc:
	* splash/SplashT1FontFile.cc:
1664
1665
1666
1667
1668
	* splash/SplashT1FontFile.h: Merge patch to not use external file
	  when passing the font to Freetype, original patch by Takashi Iwai
	  adapted by me to kpdf rediffed by Stefan Schweizer against poppler
	  cvs

1669
1670
1671
1672
1673
2006-01-31  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/GlobalParams.cc (GlobalParams::getDisplayFont):
	Allow ttc fonts to be used.

1674
1675
1676
1677
1678
2006-01-28  Jeff Muizelaar  <jeff@infidigm.net>

	* glib/poppler-attachment.h: fix compile by adding <time.h> include.
	Acked-by: Jonathan Blanford <jrb@redhat.com>

1679
1680
1681
1682
1683
2006-01-26  Kristian Høgsberg  <krh@redhat.com>

	* poppler/CairoOutputDev.cc: Patch from Christian Krause; handle
	0-width lines (#5545).

1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
Tue Jan 24 01:19:40 2006  Jonathan Blandford  <jrb@redhat.com>

	* glib/Makefile.am:
	* glib/poppler-attachment.cc:
	* glib/poppler-attachment.h:
	* glib/poppler-document.cc:
	* glib/poppler-document.h:
	* glib/poppler-page.cc:
	* glib/poppler-private.h:
	* glib/poppler.h:
	* glib/test-poppler-glib.c:
	* glib/reference/tmpl/poppler-enums.sgml:
	* glib/reference/tmpl/poppler-unused.sgml: glib bindings for the
	embedded file support.  It doesn't support mtime and ctime yet,
	but the rest works.

1700
1701
1702
1703
1704
1705
1706
1707
1708
2006-01-23  Kristian Høgsberg  <krh@redhat.com>

	* configure.ac:
	* poppler/GlobalParams.cc:
	* poppler/poppler-config.h.in:
	* utils/pdftohtml.cc:
	* utils/pdftops.cc: Respect command line paper size settings (#5641).
	Drop the built-in paper sizes.

1709
1710
2006-01-23  Kristian Høgsberg  <krh@redhat.com>

1711
1712
1713
1714
1715
	* glib/test-poppler-glib.c (print_document_info, print_index):
	Move variable declarations to top (#5692).

	* utils/*.cc: Move config.h #include to top of #include's (#5693).

1716
1717
1718
	* splash/SplashFTFont.cc: Don't use deprecated freetype include
	files.

1719
1720
1721
1722
2006-01-21  Jeff Muizelaar  <jeff@infidigm.net>

	* TODO: Add my todo list.

1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
2006-01-18  Albert Astals Cid  <aacid@kde.org>

	* glib/poppler-action.cc:
	* glib/poppler-document.cc:
	* poppler/Annot.cc:
	* poppler/Catalog.cc:
	* poppler/Catalog.h:
	* poppler/Dict.cc:
	* poppler/Dict.h:
	* poppler/FontInfo.cc:
	* poppler/Function.cc:
	* poppler/Gfx.cc:
	* poppler/GfxFont.cc:
	* poppler/GfxState.cc:
	* poppler/Link.cc:
	* poppler/Link.h:
	* poppler/Makefile.am:
	* poppler/Object.h:
	* poppler/Outline.cc:
	* poppler/PDFDoc.cc:
	* poppler/PDFDoc.h:
	* poppler/PSOutputDev.cc:
	* poppler/Page.cc:
	* poppler/PageLabelInfo.cc:
	* poppler/Parser.cc:
	* poppler/SecurityHandler.cc:
	* poppler/Stream.cc:
	* poppler/XRef.cc:
	* qt/poppler-document.cc:
	* qt/poppler-page-transition.cc:
	* qt4/src/Makefile.am:
	* qt4/src/poppler-document.cc:
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-qt4.h:
	* qt4/tests/Makefile.am:
	* utils/HtmlOutputDev.cc:
	* utils/pdffonts.cc:
	* utils/pdfinfo.cc:
	* utils/pdftohtml.cc:
	* utils/pdftotext.cc: Brad patch for embedded document extraction,
	only has Qt4 bindings for now, needs Qt3 and glib work

1765
1766
1767
1768
1769
1770
2006-01-18  Albert Astals Cid  <aacid@kde.org>

	* qt/poppler-page-transition.h:
	* qt4/src/Doxyfile: Add some more documentation to PageTransition,
	patch by Stefan Kebekus

1771
1772
1773
1774
1775
1776
1777
1778
2006-01-18  Albert Astals Cid  <aacid@kde.org>

	* poppler/CharCodeToUnicode.cc: Fix check for length that was not
	having into account that there could be \n or \r in tokens an that
	those do not have to be took into account. Fixes
	http://bugs.kde.org/show_bug.cgi?id=120310

2006-01-17  Albert Astals Cid  <aacid@kde.org>
1779
1780
1781
1782
1783
1784
1785
1786
1787

	* poppler/Lexer.cc:
	* poppler/Lexer.h:
	* poppler/Parser.cc:
	* poppler/Parser.h:
	* poppler/XRef.cc:
	* poppler/XRef.h: When doing the parsing check with XREF we did not
	grow too much. Fixes serialata10a.pdf

1788
1789
1790
1791
2006-01-12  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/GlobalParams.cc: Make buildFcPattern() static.

1792
1793
1794
1795
1796
1797
2006-01-11  Kristian Høgsberg  <krh@redhat.com>

	* poppler/JBIG2Stream.cc:
	* poppler/Stream.cc: Merge patch to fix CVE-2005-3624,
	CVE-2005-3625 and CVE-2005-3627 issues.

Albert Astals Cid's avatar
Albert Astals Cid committed
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
2006-01-10  Albert Astals Cid  <aacid@kde.org>

	* configure.ac:
	* m4/qt.m4: Fix bugs created when splitting the code from
	configure.ac, take QTDIR into account when looking for QtTestLib and
	do not die if it is not found as it is not mandatory
	* qt/poppler-page-transition.cc:
	* qt/poppler-page.cc:
	* qt/poppler-private.h:
	* qt4/tests/Makefile.am:
	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-page.cc:
	* qt4/src/Makefile.am: Fix mess created my the moving and renaming of
	PageTransition.cc

1813
1814
1815
1816
1817
1818
1819
2006-01-10  Kristian Høgsberg  <krh@redhat.com>

	* splash/Makefile.am: Only install splash headers if
	--enable-xpdf-headers is given.

	* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Set this here.

1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
2006-01-10  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc:
	* poppler/CairoOutputDev.h:
	Fix the following fixme in CairoOutputDevice.

	// FIXME: This is quite right yet, we need to accumulate all
	// glyphs within one text object before we clip.  Right now this
	// just add this one string.

	The fix uses a strategy similar to the one the Splash backend.
	textClipPath is used to store the appended path from each call to
	endString(). The accumulated path is clipped in endTextObject.

1834
1835
1836
1837
2006-01-08  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Don't try and load type3 fonts (#4030).

1838
1839
1840
1841
1842
1843
2006-01-08  Jeff Muizelaar  <jeff@infidigm.net>

	* poppler/Page.cc: use colToByte for reading thumbnails (#5420).
	
	Patch by Nickolay V. Shmyrev.

1844
1845
1846
1847
2006-01-07  Jeff Muizelaar <jeff@infidigm.net>

	* poppler/CairoOutputDev.cc: Initialize (fill|stroke)_opacity.

1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
2006-01-06  Kristian Høgsberg  <krh@redhat.com>

	* qt/poppler-page.cc:
	* qt/poppler-private.h:
	* qt/poppler-qt.h:
	* qt4/src/Makefile.am: 
	* qt/Makefile.am: 
	* poppler/Makefile.am: Move PageTransition to qt bindings, move
	contents from Private.h to qt/poppler-private.h.

	* poppler/TextOutputDev.cc (visitWord): Remove #warning.

	* utils/Makefile.am (pdfimages_SOURCES): Add ImageOutputDev.h, use
	dist_man1_MANS so we actually dist the man pages.

	* goo/Makefile.am (poppler_goo_include_HEADERS): Add GooVector.h.

	* glib/reference/Makefile.am: DOC_SOURCE_DIR must be relative to
	$(srcdir), fix this to make distchek run.

	* m4/qt.m4:
	* m4/libjpeg.m4: 
	* acinclude.m4:
	* configure.ac: Split out Qt and libjpeg checks from configure.ac
	and acinclude.m4 to m4/qt.m4 and m4/libjpeg.m4.
1873

1874
1875
1876
1877
1878
2006-01-06  Albert Astals Cid  <aacid@kde.org>
	
	* poppler/DCTStream.cc: Fix handling of malformed jpeg streams like
	the one at http://bugs.kde.org/show_bug.cgi?id=119569 

1879
1880
1881
1882
1883
1884
1885
1886
2006-01-02  Albert Astals Cid  <aacid@kde.org>

	* qt/poppler-page.cc:
	* qt/poppler-qt.h:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-qt4.h: Introduce variants of renderTo that return a
	QImage and do not use a QPixmap so threading is possible.
	
1887
1888
1889
1890
2006-01-02  Albert Astals Cid  <aacid@kde.org>

	* poppler/PageTransition.cc: Use error() insted of std::cerr

1891
1892
1893
1894
1895
1896
1897
1898
Sun Jan  1 18:50:51 2006  Jonathan Blandford  <jrb@redhat.com>

	* Makefile.am:
	* autogen.sh:
	* configure.ac:
	* gtk-doc.make:
	* glib/Makefile.am: enable gtk-doc support.

Albert Astals Cid's avatar
Albert Astals Cid committed
1899
1900
2006-01-01  Albert Astals Cid  <aacid@kde.org>

1901
1902
1903
1904
	* qt4/src/poppler-private.h:
	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-document.cc: Don't create a SplashOutputDev for
	every splashRenderToPixmap
Albert Astals Cid's avatar
Albert Astals Cid committed
1905
1906
1907
1908
	* qt/poppler-page.cc:
	* qt/poppler-private.h: Don't create a SplashOutputDev for every
	renderToPixmap.

1909
1910
1911
1912
1913
Sun Jan  1 15:32:08 2006  Jonathan Blandford  <jrb@redhat.com>

	* glib/reference/*: More gtk-doc work.  Not enabled for building
	by default, but filled in.

1914
1915
1916
1917
1918
Fri Dec 30 21:08:33 2005  Jonathan Blandford  <jrb@redhat.com>

	* glib/*{cc,h}: Update inline doc comments.  This is in
	preparation for gtk-doc support.

1919
1920
1921
1922
1923
2005-12-30  Albert Astals Cid  <aacid@kde.org>

	* utils/HtmlOutputDev.cc:
	* utils/ImageOutputDev.cc: Fix build when using --disable-libjpeg

1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
2005-12-28  Brad Hards  <bradh@frogmouth.net>

	* qt4/src/poppler-private.h (Poppler): delete passwords after we've
	initialised the PDFDoc

	* qt4/src/poppler-qt4.h: Add warning about deleting the Document
	when done.

	* qt4/tests/check_*.cpp: Delete the Poppler::Document
	and Poppler::Page objects to avoid leaks 

	* qt4/tests/check_version.cpp: removed, there is a replacement
	automated test.

	* qt4/tests/poppler-fonts.cpp (main): Delete Poppler::Document on exit
	to avoid a memory leak.

	* qt4/tests/stress-poppler-qt4.cpp: Delete Poppler::Document and
	Poppler::Page objects to avoid leaks.

	* qt4/src/poppler-document.cc (Poppler): Delete *doc in 
	Document::load(), to avoid a memory leak on failure.
	Delete font results list, avoid a memory leak
	Delete font scanner object, avoid a memory leak

1949
1950
2005-12-27  Brad Hards  <bradh@frogmouth.net>

1951
1952
1953
1954
1955
1956
1957
1958
1959
	* qt4/src/poppler-qt4.h: 
	* qt4/src/poppler-document.cc: add convertDate() function that
	turns char* PDF date strings into QDateTime. This version handles
	the timezone conversions. Refactored the existing date() method
	to use it.
	* qt4/tests/check_dateConversion.cpp: unit tests for convertDate()
	* qt4/tests/check_metadata.cpp: update to reflect UTC.
	* qt4/tests/.cvsignore: suppress check_dateConversion
	
1960
1961
1962
1963
1964
1965
	* qt4/src/Doxyfile (JAVADOC_AUTOBRIEF): Turned on automatic
	\brief mode.

	* qt4/src/poppler-qt4.h: Update API documentation. Patch from
	Stefan Kebekus, with some changes. Removed \brief entries.

1966
1967
1968
1969
1970
1971
1972
1973
2005-12-21  Kristian Høgsberg  <krh@redhat.com>

	* NEWS: Sum up 0.5 changes so far.

	* acinclude.m4: Split jpeg macros out into this file.

	* poppler/Stream.cc: Apply latest CVE-2005-3191 updates.

1974
1975
1976
1977
1978
1979
1980
1981
2005-12-21  Kristian Høgsberg  <krh@redhat.com>

	* utils/Makefile.am: Add parseargs.h to sources and add
	-I$(top_srcdir)/poppler to INCLUDES.

	* poppler/CairoFontEngine.cc: Apply patch from Hiroyuki Ikezoe to
	man non-embedded CJK fonts work.

1982
1983
1984
2005-12-18  Albert Astals Cid  <aacid@kde.org>

	* configure.ac: Better jpeg detection, refer to ml PCbsd problem
1985
1986
	* utils/Makefile.am: Add fontconfig cflags to utils as not always is
	on /usr/include Fixes build problems on Slackware. Patch adapted from
1987
	a Giovanni Venturi patch.
1988
	* poppler/Page.cc: Only discard cropbox sizes one by one and not
1989
	completely. Jeff and Martin were right.
1990
	
1991
1992
2005-12-12  Albert Astals Cid  <aacid@kde.org>

1993
	* poppler/Page.cc: Ignore cropBox if it seems incorrect.
1994

1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2005-12-12  Kristian Høgsberg  <krh@redhat.com>

	* Makefile.am:
	* configure.ac:
	* goo/GooVector.h:
	* utils/HtmlFonts.cc:
	* utils/HtmlFonts.h:
	* utils/HtmlLinks.cc:
	* utils/HtmlLinks.h:
	* utils/HtmlOutputDev.cc:
	* utils/HtmlOutputDev.h:
	* utils/ImageOutputDev.cc:
	* utils/ImageOutputDev.h:
	* utils/Makefile.am:
	* utils/parseargs.c:
	* utils/parseargs.h:
	* utils/pdffonts.1:
	* utils/pdffonts.cc:
	* utils/pdfimages.1:
	* utils/pdfimages.cc:
	* utils/pdfinfo.1:
	* utils/pdfinfo.cc:
	* utils/pdftohtml.1:
	* utils/pdftohtml.cc:
	* utils/pdftoppm.1:
	* utils/pdftoppm.cc:
	* utils/pdftops.1:
	* utils/pdftops.cc:
	* utils/pdftotext.1:
	* utils/pdftotext.cc: Add command line utilities from xpdf.

Albert Astals Cid's avatar
Albert Astals Cid committed
2026
2027
2028
2029
2030
2031
2032
2033
2034
2005-12-10  Albert Astals Cid  <aacid@kde.org>

	* qt4/src/poppler-page.cc:
	* qt4/src/poppler-qt4.h:
	* qt4/src/tests/test-poppler-qt4.cpp: The parameters x,y,w,h to the
	method splashRenderToPixmap are now used. Convenient
	defaults are provided. The test has been changed accordingly. Some
	added documentation. Patch by Stefan Kebekus
	
2035
2036
2005-12-09  Kristian Høgsberg  <krh@redhat.com>

2037
2038
2039
2040
2041
	* poppler/GfxState.cc: Use colToByte() for converting GxfColorComp
	to bytes (really fix #5117).

	* poppler/Stream.cc: Remove duplicated check (#5243).

2042
2043
2044
2045
2046
	* configure.ac: 
	* poppler/Makefile.am (poppler_includedir): 
	* goo/Makefile.am (poppler_goo_include_HEADERS): Make installation
	of xpdf header files optional.

2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2005-12-08  Albert Astals Cid  <aacid@kde.org>

	* configure.ac: Detect if gettimeofday is available, fixes for correct
	linking to Qt4 on windows
	* goo/GooTimer.[cc|h]: Only build if gettimeofday is available
	* poppler/Gfx.cc: Only use the timer for profiling if gettimeofday is
	available
	* poppler/GlobalParams.cc: Remove extra unlockGlobalParams that was
	making windows hang
	* splash/SplashFTFontEngine.cc: i need unistd.h on windows also
	* splash/SplashFontFile.cc: i need unistd.h on windows also

2059
2060
2061
2062
2063
2064
2065
2066
2005-12-08  Albert Astals Cid  <aacid@kde.org>

	* glib/Makefile.am:
	* poppler/Makefile.am:
	* qt/Makefile.am:
	* test/Makefile.am: Remove -DDATADIR we are not using if for anything
	and it shadows a windows typedef

2067
2068
2005-12-07  Brad Hards  <bradh@frogmouth.net>

2069
2070
	* poppler/PDFDoc.cc: Remove the version check.

2071
	* qt4/src/poppler-document.cc:
2072
2073
	* qt4/src/poppler-qt4.h: add in a new method infoKeys() - to get
	  metadata keys
2074
2075
2076

	* qt4/tests/check_metadata.cpp: add unit test for infoKeys().

2077
2078
2079
2080
2081
2005-12-06  Brad Hards  <bradh@frogmouth.net>

	* qt4/tests/check_metadata.cpp : add unit tests
	for date, more linearization, page sizes, number of pages

2082
2083
2084
2085
2005-12-05  Brad Hards  <bradh@frogmouth.net>

	* qt4/tests/check_fonts.cpp (checkType3): Add another case to fonts
	unit test
2086
	(checkTrueType): Add test for TrueType as well.
2087

2088
2089
2090
2091
2092
2005-12-04  Albert Astals Cid  <aacid@kde.org>

	* poppler/CairoFontEngine.cc: Correct fix for #5149, i broke it when
	merging xpdf 3.01 patches

2093
2094
2095
2096
2097
2005-12-04  Albert Astals Cid  <aacid@kde.org>

	* poppler/JPXStream.cc: Fix error in merging CAN-2005-3193 fix. Thanks  
	Daniel Gryniewicz for notifying

Albert Astals Cid's avatar
Albert Astals Cid committed
2098
2099
2100
2101
2102
2103
2104
2105
2005-12-04  Albert Astals Cid  <aacid@kde.org>

	* qt/poppler-qt.h:
	* qt/poppler-fontinfo.h:
	* qt4/src/poppler-qt4.h:
	* qt4/src/poppler-fontinfo.cc: Implement copy constructor of FontInfo needed
	as Q[Value]List<FontInfo> uses it when appending

Brad Hards's avatar
Brad Hards committed
2106
2107
2005-12-04  Brad Hards  <bradh@frogmouth.net>

2108
2109
	* qt4/tests/.cvsignore: Add unit test to cvs suppressions

Brad Hards's avatar
Brad Hards committed
2110
2111
2112
2113
2114
2115
2116
2117
2118
	* qt4/src/poppler-qt4.h:
	  qt4/src/fontinfo.cc: add implementation for
	FontInfo::typeName()

	* qt4/tests/check_fonts.cpp:
	* qt4/tests/Makefile.am: add unit test for fonts

	* qt4/src/Mainpage.dox: Minor typo fixes.