]> www.fi.muni.cz Git - evince.git/blob - pdf/xpdf/ChangeLog
f9ad606c0b23b0f4ed377d5b9919e46d48d2ddd3
[evince.git] / pdf / xpdf / ChangeLog
1 2002-09-08  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
2
3         * GOutputDev.h: add missing gdk include
4
5         * GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
6         use it
7         (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
8         broken image handling code from gpdf 0.90.1 instead of my even
9         more broken code
10
11         * gpdf-embeddable-view.cc (render_page): disable links here.
12         (realize_mainbox): view == view_data now. Don't have to
13         gtk_object_get_data anymore
14         (real_redraw_view): ditto
15         (redraw_view): ditto, make it static again
16         (gpdf_embeddable_view_construct): connect redraw_view to
17         pdf_changed signal, don't gtk_object_set_data "view_data"
18         (view_switch_page, view_zoom_verb, view_activate)
19         (button_press_event_cb, gesture_page_event_cb)
20         (gesture_zoom_event_cb, key_press_event_cb, mainbox_realize): make
21         them static again
22
23         * gpdf-embeddable.cc (class_init): add "pdf_changed" signal
24         (load_pdf_from_stream): emit it, don't redraw_view explicitly
25
26         * gpdf-embeddable.h: add signal to class struct
27
28 2002-09-01  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
29
30         * gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
31         from bonobo-application-x-pdf.cc
32
33         * GOutputDev.cc (GOutputDev::drawLink): comment out for
34         now. Segfaults. I don't understand this.
35
36         * bonobo-application-x-pdf.cc: move view_data_t related code
37         ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
38         includes
39
40         * gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
41         class
42
43         * gpdf-embeddable-view.cc: 
44
45         * gtkgesture.h: double include protection
46
47         * XOutputDev.h: add missing include "Object.h"
48
49         * GOutputDev.h: add missing include "Object.h"
50
51 2002-08-31  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
52
53         * gpdf-embeddable.cc: 
54
55         * gpdf-embeddable.h: bed_t: Replace Data Value with Object
56         [Fowler] i.e.  turn it into the GPdf::Embeddable class.
57
58         * bonobo-application-x-pdf.cc: temporarily make some functions
59         non-static
60         (view_is_good): move up in file, use it in more places.
61         (setup_pixmap): remove window parameter, get it from view_data
62         (destroy_embed): move to GPdfEmbeddable::destroy
63         (embeddable_factory): drastically simplify, work is done in
64         GPdfEmbeddable::new and friends
65         remove count of running_objects.
66         
67         * gpdf-util.h: new file
68         (E_MAKE_TYPE): copied from gal
69
70 2002-08-29  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
71
72         * bonobo-application-x-pdf.cc: move struct bed_t to
73         gpdf-embeddable.{cc,h}
74         (setup_pixmap) remove doc parameter. (Get it from view_data param)
75         
76         * gpdf-embeddable.cc: New files to contain the embeddable class
77
78         * gpdf-embeddable.h:  
79
80         * gpdf.cc (main): remove call to setlocale (done in
81         gnome_init...), ignore return value of oaf_init, let bonobo_init
82         figure out which orb to use.
83         
84         * Link.h: declare some methods as const.
85         * Link.cc:
86
87 2002-08-12  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
88
89         * GOutputDev.cc: make it compile (without Type 3 support for now)
90
91         * bonobo-application-x-pdf.cc: Derek has removed the global xref
92         variable. Remove the ``Ugly global xref fix''
93
94 2002-08-09  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
95
96         * BonoboStream.h: ditto.
97
98         * BonoboStream.cc: sync with FileStream.
99
100         Merge in Xpdf 1.01 files
101
102         * GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
103         as XGetSubImage 
104
105 2002-08-05  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
106
107         * GOutputDev.h: ditto. 
108
109         * GOutputDev.cc: sync with XOutputDev.cc.
110
111         * bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
112
113 2002-08-04  Martin Kretzschmar  <Martin.Kretzschmar@inf.tu-dresden.de>
114
115         * BonoboStream.cc: merge in decryption code from FileStream 0.92
116         (close): new method, from FileStream,
117         (~bonoboStream): use close
118
119         * BonoboStream.h: #define bonoboStreamBufSize as in FileStream
120         0.92, 
121         (bonoboStream): use it.
122
123 2001-01-11  Michael Meeks  <michael@helixcode.com>
124
125         * gpdf.cc (container_launch_component): don't add the client
126         site to the item container.
127
128 2000-12-21  Michael Meeks  <michael@helixcode.com>
129
130         * bonobo-application-x-pdf.cc: Kill mutex / thread init code,
131         it screws gtk.
132
133         * gpdf.cc: update the IID naming scheme.
134
135         * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
136         ditto. (init_server_factory): setup ORB properly.
137
138         * Makefile.am: De-goadize; update oafinfo fnames.
139
140 2000-11-16  Ramiro Estrugo  <ramiro@eazel.com>
141
142         * bonobo-application-x-pdf.cc:
143         Make the signatures of callbacks match the declaraed types to
144         avoid compiler warnings.
145         
146 2000-11-07  Fatih Demir <kabalak@gmx.net>
147
148         * .cvsignore: Added bonobo-application-x-pdf-ui.h and
149                 gpdf-ui.h to the ignores.
150
151 2000-10-19  Michael Meeks  <michael@helixcode.com>
152
153         * gpdf.cc: update for Dietmer internal changes.
154
155 2000-10-17  Michael Meeks  <michael@helixcode.com>
156
157         * gpdf.xml: add.
158
159         * Makefile.am: sort out xml files.
160
161         * gpdf.cc: Re-engineer to the new UI handler.
162
163         * bonobo-application-x-pdf.cc: update to new UI handler
164
165         * bonobo-appliation-x-pdf-ui.xml: create.
166
167         * gpdf-ui.xml: create.
168
169 2000-10-07  Michael Meeks  <michael@helixcode.com>
170
171         * gpdf.cc (main): cut out stale gnorba fat.
172
173         * bonobo-application-x-pdf.cc (init_server_factory),
174         (init_bonobo_application_x_pdf_factory): ditto.
175
176         * bonobo-application-x-pdf.cc (embeddable_factory): remove the
177         sizeable interface.
178
179 2000-10-04  Michael Meeks  <michael@helixcode.com>
180
181         * bonobo-application-x-pdf.cc (view_create_menus): upd.
182
183         * gpdf.cc (container_launch_component): update for ItemContainer
184         rename. (container_new): update to bonobo-win stuff.
185         (container_set_view): use compat_get_container.
186
187 2000-08-13  Arik Devens  <arik@helixcode.com>
188
189         * bonobo-application-x-pdf.cc (view_create_menus): Switched
190         page_enlarge_cb and page_shrink_cb to get zooming in and out
191         workin correctly in the menu.
192
193 2000-08-02  Michael Meeks  <michael@helixcode.com>
194
195         * Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
196         (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
197
198 2000-07-25  Michael Meeks  <michael@helixcode.com>
199
200         * bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
201         on unref. Junk 2 stop tabs throught, Derek can have my kittens.
202         (view_create_menus): create the pdf toolbar before using it.
203         (button_press_event_cb): return a value.
204
205 2000-07-04  Michael Meeks  <michael@helixcode.com>
206
207         * GOutputDev.cc (drawImage): kill double free.
208
209         * BonoboStream.cc (bfread): update for new API.
210
211 2000-03-10  Michael Meeks  <michael@helixcode.com>
212
213         * gpdf.cc: s/GNOME/Bonobo/
214
215         * application-x-pdf.gnorba: s/GNOME/Bonobo/
216
217 2000-02-28  Michael Meeks  <michael@helixcode.com>
218
219         * bonobo-application-x-pdf.cc (view_factory): kill spurious UI
220         handler creation.
221
222         * gpdf.cc (container_set_view): update to new bonobo api.
223
224 2000-02-25  NotZed  <NotZed@HelixCode.com>
225
226         * Makefile.am: Fixed up lists of sources so that distcheck works.
227         Also, only build gpdf if with gnome (otherwise distcheck fails).
228
229         * gpdf.cc (container_about_cmd): Define i if we are going
230         to be using it.
231
232 2000-02-09  Michael Meeks  <michael@helixcode.com>
233
234         * Clean unused & lack of casting all round the place.
235         
236 2000-02-07  Michael Meeks  <michael@helixcode.com>
237
238         * bonobo-application-x-pdf.cc: fix typo.
239
240 1999-12-17  Michael Meeks  <mmeeks@gnu.org>
241
242         * gpdf.cc (container_set_view): make wrapper invisible.
243
244         * bonobo-application-x-pdf.cc (embeddable_factory): kill
245         diff id string. + constify lots of paths.
246         (view_factory): kill size query. (view_size_query): kill.
247
248 1999-11-06  Michael Meeks  <mmeeks@gnu.org>
249
250         * gtkgesture.c (gesture_data_append_point): fix leak.
251
252         * bonobo-application-x-pdf.c (setup_pixmap): Fix leak + flicker.
253
254         * GOutputDev.cc (~GOutputDev): Add clear of state stack + clear
255         text page + delete font. (startPage): fic gdkGC leaks.
256         (findColor): clean.
257
258 1999-10-11  Michael Meeks  <mmeeks@gnu.org>
259
260         * GOutputDev.cc: Re-enable stroke color setting.
261
262 1999-10-08  Michael Meeks  <mmeeks@gnu.org>
263
264         * gpdf.cc (container_new): add to list before possibly removing.
265
266         * bonobo-application-x-pdf.cc (destroy_embed): Quit on last component
267         close. (load_pdf_from_stream): inline redraw-all with new API.
268         (redraw_view): implement (redraw_all): remove. (realize_mainbox): remould.
269         (destroy_view): Fix serious memory corruption freeing pixmap twice.
270         (view_activate): kill debug.
271
272 1999-10-06  Peter Teichman  <pat4@acpub.duke.edu>
273
274         * GOutputDev.cc: add return type for GOutputServerFont::isOk()
275
276         * bonobo-application-x-pdf.cc: casting fixes, for compiling with
277         recent gcc
278
279         * PSOutputDev.cc: same, more casting fixes
280         
281 1999-10-06  Michael Meeks  <mmeeks@gnu.org>
282
283         * BonoboStream.cc (bfseek): Add debug case.
284         (bfread): nail immense leak.
285
286         * gpdf.cc (container_set_view): Activate the component to
287         allow gestures to work.
288
289 1999-10-05  Michael Meeks  <mmeeks@gnu.org>
290
291         * bonobo-application-x-pdf.cc (setup_pixmap): Connect gestures + add
292         event mask.
293
294         * gpdf.cc (container_close): Created. (container_close_cmd): Use it.
295         Huge header clean.
296
297         * gtkgesture.[ch]: Create.
298
299 1999-09-11  Michael Meeks  <michael@nuclecu.unam.mx>
300
301         * bonobo-application-x-pdf.cc (destroy_view): destroy don't unref,
302         make more paranoid add debug. (destroy_embed): Clean. 
303
304         * gpdf.cc (key_press_event_cb): Added all manner of shortcuts.
305         (container_new): Add key stuff (container_destroy_cb): Implement.
306         (container_destroy): Add paranoid check.
307
308 1999-09-07  Michael Meeks  <michael@imaginator.com>
309
310         * gpdf.cc (container_new): Fiddled with scrollpane
311
312 1999-09-01  Michael Meeks  <michael@imaginator.com>
313
314         * bonobo-application-x-pdf.cc: Fix a massive leak :-).
315         Considerably simplified with GtkPixmap. Fixed location problems.
316
317 1999-08-27  Michael Meeks  <michael@imaginator.com>
318
319         * bonobo-application-x-pdf.cc: Remove count of embeddable
320         servers: seems to be handled inside Bonobo now.
321
322 1999-08-26  Michael Meeks  <michael@imaginator.com>
323
324         * gpdf.cc (component_destroy): Improved clean up.
325
326         * bonobo-application-x-pdf.cc (bed_free_data): Expand, and
327         clean; remove redundant pdf_stream delete.
328
329 1999-08-24  Michael Meeks  <michael@imaginator.com>
330
331         * application-x-pdf.gnorba: Update to new mime type.
332
333         * Makefile.am (gnorba_DATA): Rename mime type.
334         Remove glade.
335
336         * gpdf.cc (main): File up a container if we fail to load
337         any of the command line files.
338
339 1999-08-24  Michael Meeks  <michael@imaginator.com>
340
341         * Makefile.am: Cleaned + added thread bits.
342
343         * bonobo-image-x-pdf.cc: Add locking round 'xref' global.
344         Remove CORBA_Environment global.
345
346 1999-08-24  Michael Meeks  <michael@imaginator.com>
347
348         * bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
349         duplicate / release, and scoped BonoboFile correctly.
350
351         * BonoboStream.cc (bfseek): Add init / free to all corba
352         exceptions, ( stupidly lost this code somehow ).
353
354         * bonobo-image-x-pdf.cc (render_page): Add startDoc.
355         (main): Add freeParams.
356
357 1999-08-23  Michael Meeks  <michael@imaginator.com>
358
359         * gpdf.cc (container_launch_component): Fix flags.
360         (container_create_toolbar): Fix for new Bonobo.
361
362 1999-08-23  Michael Meeks  <michael@imaginator.com>
363
364         * Makefile.am: Added helper programs back in.
365
366         * bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
367
368 1999-08-23  Miguel de Icaza  <miguel@gnu.org>
369
370         * bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
371
372 1999-08-22  Miguel de Icaza  <miguel@gnu.org>
373
374         * bonobo-image-x-pdf.cc (main): Add error checking for factory
375         registration. 
376
377 1999-08-22  Michael Meeks  <michael@imaginator.com>
378
379         * bonobo-image-x-pdf.cc: Add zoom.
380
381 1999-08-19  Michael Meeks  <michael@imaginator.com>
382
383         * PDFDoc.cc: Altered to read / write lines.
384
385         * PDFDoc.cc: Move FileStream::checkHeader so its called
386         in FileStream constructor.
387
388 1999-08-18  Michael Meeks  <michael@imaginator.com>
389
390         * gpdf.cc: cloned from test-container.
391         (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
392
393 1999-08-16  Michael Meeks  <michael@imaginator.com>
394
395         * Makefile.am (bin_PROGRAMS): Hack to only make bonobo component.
396
397         * bonobo-image-x-pdf.cc (view_factory): Init all members.
398
399 1999-08-15  Michael Meeks  <michael@imaginator.com>
400
401         * Now bonobo-image-x-pdf works, but everything else
402         is broken: use
403
404                 make bonobo-image-xpdf to compile...
405
406 1999-08-11  Michael Meeks  <michael@imaginator.com>
407
408         * bonobo-image-x-pdf.cc: Fixed innumerable bugs,
409         some in bonobo :-)
410         (load_image_from_stream): Try closing the file to let its
411         contents hit disk before reading from it :-)
412         (configure_size): Don't get scared by configure_size.
413         (redraw_view): Get the parameters in some sort of order.
414
415 1999-08-11  Michael Meeks  <michael@imaginator.com>
416
417         * bonobo-image-x-pdf.cc: Added.
418
419         * Makefile.am: added bonobo-image-x-pdf.c
420
421 1999-08-03  Michael Meeks  <michael@imaginator.com>
422
423         * gpdf.cc: Lots of updates, gives up on logging changes
424         ( for a bit. )
425
426 1999-08-02  Michael Meeks  <michael@edenproject.org>
427
428         * GOutputDev.cc: Fix more silly region merging bugs.
429
430 1999-08-01  Michael Meeks  <michael@edenproject.org>
431
432         * Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
433         
434         * gpdf.glade: Added.
435         
436         * gpdf.cc (loadFile): Add typecast.
437         Remove all DOC_ROOT's magic numbers.
438         Add glade GUI,
439         Lots of other bits ...
440         
441 1999-07-29  Michael Meeks  <michael@edenproject.org>
442
443         * GOutputDev.cc: Hahaaa... the bug ! :-)
444         A difference in how GDK / X deal with merging rectangles
445         and regions. Good.
446
447         * gpdf.cc (doc_redraw_event): Messing around.
448
449         * GOutputDev.cc (drawChar): Fix char printed as string.
450
451 1999-06-09  Michael Meeks  <michael@edenproject.org>
452
453         * gpdf.cc (main): Add error init.
454
455 1999-06-03  Michael Meeks  <michael@edenproject.org>
456
457         * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
458         (GOutputDev): Setup 'depth' correctly.
459
460         * gpdf.cc (main): Moved freeParams() to after the main
461         loop !
462
463         * Params.cc (initParams): Added assert on fontPathLen.
464         (freeParams): Clean global pointers on free.
465
466         * Makefile.in (CXXFLAGS): Added LTKSRCDIR and
467         Xpm_CFLAGS to CXXFLAGS.
468
469 1999-05-29  Michael Meeks  <michael@edenproject.org>
470
471         * Makefile.in (GPDF_OBJS): Remove XOutputDev
472         (all): Remove all but gpdf.
473
474         * gpdf.cc: Add define GString / undef.
475         (main): Argc not Argv :)
476
477         * GOutputDev.cc (findColor): Made pigs ear of colour
478         mappings.
479
480 1999-05-28  Michael Meeks  <michael@imaginator.com>
481
482         * GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
483
484 1999-05-27  Michael Meeks  <michael@imaginator.com>
485
486         * GOutputDev.cc (GOutputFont): Hacks.
487         (GOutputFont): Renamed.
488         (getFont): killed redundant 'display'
489         getGdkFont not getXFont.
490         (GOutputDev): NB. colormap -> gtk_widget_get_default_colormap ()
491         which returns GdkColormap *, killed colormap & depth1 in prototype.
492         Removed redundant assigns.
493         NB. Miguel says 'miguel> michael: a GdkPixmap is a GdkWindow'
494         Many misc. fixes upto convertSubPath.
495
496         * GOutputDev.h: Comments 'G'd and GOutputDev updated.
497         XPoint -> GdkPoint
498
499         * Makefile.in (CXXFLAGS): Add GOOSRCDIR.
500