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