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