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