1 2002-09-14 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3 * gpdf-embeddable-view.cc (gpdf_embeddable_view_new):
5 (view_create_menus, view_remove_menus): rename to
6 (gev_set_ui_container, gev_unset_ui_container): and rewrite in EOG
9 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
11 * gpdf-embeddable-view.cc (gev_activate): chain up to parent's
12 activate handler, not to grand parent's
14 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
16 * bonobo-application-x-pdf.cc (embeddable_factory): don't
17 initialize embeddable (where did that come from?)
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
25 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
27 * Makefile.am: add pdf-view.cc, pdf-view.h
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)
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
49 (gpdf_embeddable_view_construct): mainbox = pdf_view_new,
50 remove mainbox construction code
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
75 * gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
76 GPdfEmbeddableView. Remove PdfView related members from
79 * pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
80 GPdfEmbeddableView still typedef'd view_data_t. Super class
83 Split bonobo / non-bonobo parts of GPdfEmbeddableView:
85 * pdf-view.h: new file (cvs copy of gpdf-embeddable.h)
87 * pdf-view.c: ditto. These will contain non-bonobo parts
89 2002-09-08 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
91 * GOutputDev.h: add missing gdk include
93 * GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
95 (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
96 broken image handling code from gpdf 0.90.1 instead of my even
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
111 * gpdf-embeddable.cc (class_init): add "pdf_changed" signal
112 (load_pdf_from_stream): emit it, don't redraw_view explicitly
114 * gpdf-embeddable.h: add signal to class struct
116 2002-09-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
118 * gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
119 from bonobo-application-x-pdf.cc
121 * GOutputDev.cc (GOutputDev::drawLink): comment out for
122 now. Segfaults. I don't understand this.
124 * bonobo-application-x-pdf.cc: move view_data_t related code
125 ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
128 * gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
131 * gpdf-embeddable-view.cc:
133 * gtkgesture.h: double include protection
135 * XOutputDev.h: add missing include "Object.h"
137 * GOutputDev.h: add missing include "Object.h"
139 2002-08-31 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
141 * gpdf-embeddable.cc:
143 * gpdf-embeddable.h: bed_t: Replace Data Value with Object
144 [Fowler] i.e. turn it into the GPdf::Embeddable class.
146 * bonobo-application-x-pdf.cc: temporarily make some functions
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.
155 * gpdf-util.h: new file
156 (E_MAKE_TYPE): copied from gal
158 2002-08-29 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
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)
164 * gpdf-embeddable.cc: New files to contain the embeddable class
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.
172 * Link.h: declare some methods as const.
175 2002-08-12 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
177 * GOutputDev.cc: make it compile (without Type 3 support for now)
179 * bonobo-application-x-pdf.cc: Derek has removed the global xref
180 variable. Remove the ``Ugly global xref fix''
182 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
184 * BonoboStream.h: ditto.
186 * BonoboStream.cc: sync with FileStream.
188 Merge in Xpdf 1.01 files
190 * GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
193 2002-08-05 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
195 * GOutputDev.h: ditto.
197 * GOutputDev.cc: sync with XOutputDev.cc.
199 * bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
201 2002-08-04 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
203 * BonoboStream.cc: merge in decryption code from FileStream 0.92
204 (close): new method, from FileStream,
205 (~bonoboStream): use close
207 * BonoboStream.h: #define bonoboStreamBufSize as in FileStream
209 (bonoboStream): use it.
211 2001-01-11 Michael Meeks <michael@helixcode.com>
213 * gpdf.cc (container_launch_component): don't add the client
214 site to the item container.
216 2000-12-21 Michael Meeks <michael@helixcode.com>
218 * bonobo-application-x-pdf.cc: Kill mutex / thread init code,
221 * gpdf.cc: update the IID naming scheme.
223 * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
224 ditto. (init_server_factory): setup ORB properly.
226 * Makefile.am: De-goadize; update oafinfo fnames.
228 2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
230 * bonobo-application-x-pdf.cc:
231 Make the signatures of callbacks match the declaraed types to
232 avoid compiler warnings.
234 2000-11-07 Fatih Demir <kabalak@gmx.net>
236 * .cvsignore: Added bonobo-application-x-pdf-ui.h and
237 gpdf-ui.h to the ignores.
239 2000-10-19 Michael Meeks <michael@helixcode.com>
241 * gpdf.cc: update for Dietmer internal changes.
243 2000-10-17 Michael Meeks <michael@helixcode.com>
247 * Makefile.am: sort out xml files.
249 * gpdf.cc: Re-engineer to the new UI handler.
251 * bonobo-application-x-pdf.cc: update to new UI handler
253 * bonobo-appliation-x-pdf-ui.xml: create.
255 * gpdf-ui.xml: create.
257 2000-10-07 Michael Meeks <michael@helixcode.com>
259 * gpdf.cc (main): cut out stale gnorba fat.
261 * bonobo-application-x-pdf.cc (init_server_factory),
262 (init_bonobo_application_x_pdf_factory): ditto.
264 * bonobo-application-x-pdf.cc (embeddable_factory): remove the
267 2000-10-04 Michael Meeks <michael@helixcode.com>
269 * bonobo-application-x-pdf.cc (view_create_menus): upd.
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.
275 2000-08-13 Arik Devens <arik@helixcode.com>
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.
281 2000-08-02 Michael Meeks <michael@helixcode.com>
283 * Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
284 (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
286 2000-07-25 Michael Meeks <michael@helixcode.com>
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.
293 2000-07-04 Michael Meeks <michael@helixcode.com>
295 * GOutputDev.cc (drawImage): kill double free.
297 * BonoboStream.cc (bfread): update for new API.
299 2000-03-10 Michael Meeks <michael@helixcode.com>
301 * gpdf.cc: s/GNOME/Bonobo/
303 * application-x-pdf.gnorba: s/GNOME/Bonobo/
305 2000-02-28 Michael Meeks <michael@helixcode.com>
307 * bonobo-application-x-pdf.cc (view_factory): kill spurious UI
310 * gpdf.cc (container_set_view): update to new bonobo api.
312 2000-02-25 NotZed <NotZed@HelixCode.com>
314 * Makefile.am: Fixed up lists of sources so that distcheck works.
315 Also, only build gpdf if with gnome (otherwise distcheck fails).
317 * gpdf.cc (container_about_cmd): Define i if we are going
320 2000-02-09 Michael Meeks <michael@helixcode.com>
322 * Clean unused & lack of casting all round the place.
324 2000-02-07 Michael Meeks <michael@helixcode.com>
326 * bonobo-application-x-pdf.cc: fix typo.
328 1999-12-17 Michael Meeks <mmeeks@gnu.org>
330 * gpdf.cc (container_set_view): make wrapper invisible.
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.
336 1999-11-06 Michael Meeks <mmeeks@gnu.org>
338 * gtkgesture.c (gesture_data_append_point): fix leak.
340 * bonobo-application-x-pdf.c (setup_pixmap): Fix leak + flicker.
342 * GOutputDev.cc (~GOutputDev): Add clear of state stack + clear
343 text page + delete font. (startPage): fic gdkGC leaks.
346 1999-10-11 Michael Meeks <mmeeks@gnu.org>
348 * GOutputDev.cc: Re-enable stroke color setting.
350 1999-10-08 Michael Meeks <mmeeks@gnu.org>
352 * gpdf.cc (container_new): add to list before possibly removing.
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.
360 1999-10-06 Peter Teichman <pat4@acpub.duke.edu>
362 * GOutputDev.cc: add return type for GOutputServerFont::isOk()
364 * bonobo-application-x-pdf.cc: casting fixes, for compiling with
367 * PSOutputDev.cc: same, more casting fixes
369 1999-10-06 Michael Meeks <mmeeks@gnu.org>
371 * BonoboStream.cc (bfseek): Add debug case.
372 (bfread): nail immense leak.
374 * gpdf.cc (container_set_view): Activate the component to
375 allow gestures to work.
377 1999-10-05 Michael Meeks <mmeeks@gnu.org>
379 * bonobo-application-x-pdf.cc (setup_pixmap): Connect gestures + add
382 * gpdf.cc (container_close): Created. (container_close_cmd): Use it.
385 * gtkgesture.[ch]: Create.
387 1999-09-11 Michael Meeks <michael@nuclecu.unam.mx>
389 * bonobo-application-x-pdf.cc (destroy_view): destroy don't unref,
390 make more paranoid add debug. (destroy_embed): Clean.
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.
396 1999-09-07 Michael Meeks <michael@imaginator.com>
398 * gpdf.cc (container_new): Fiddled with scrollpane
400 1999-09-01 Michael Meeks <michael@imaginator.com>
402 * bonobo-application-x-pdf.cc: Fix a massive leak :-).
403 Considerably simplified with GtkPixmap. Fixed location problems.
405 1999-08-27 Michael Meeks <michael@imaginator.com>
407 * bonobo-application-x-pdf.cc: Remove count of embeddable
408 servers: seems to be handled inside Bonobo now.
410 1999-08-26 Michael Meeks <michael@imaginator.com>
412 * gpdf.cc (component_destroy): Improved clean up.
414 * bonobo-application-x-pdf.cc (bed_free_data): Expand, and
415 clean; remove redundant pdf_stream delete.
417 1999-08-24 Michael Meeks <michael@imaginator.com>
419 * application-x-pdf.gnorba: Update to new mime type.
421 * Makefile.am (gnorba_DATA): Rename mime type.
424 * gpdf.cc (main): File up a container if we fail to load
425 any of the command line files.
427 1999-08-24 Michael Meeks <michael@imaginator.com>
429 * Makefile.am: Cleaned + added thread bits.
431 * bonobo-image-x-pdf.cc: Add locking round 'xref' global.
432 Remove CORBA_Environment global.
434 1999-08-24 Michael Meeks <michael@imaginator.com>
436 * bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
437 duplicate / release, and scoped BonoboFile correctly.
439 * BonoboStream.cc (bfseek): Add init / free to all corba
440 exceptions, ( stupidly lost this code somehow ).
442 * bonobo-image-x-pdf.cc (render_page): Add startDoc.
443 (main): Add freeParams.
445 1999-08-23 Michael Meeks <michael@imaginator.com>
447 * gpdf.cc (container_launch_component): Fix flags.
448 (container_create_toolbar): Fix for new Bonobo.
450 1999-08-23 Michael Meeks <michael@imaginator.com>
452 * Makefile.am: Added helper programs back in.
454 * bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
456 1999-08-23 Miguel de Icaza <miguel@gnu.org>
458 * bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
460 1999-08-22 Miguel de Icaza <miguel@gnu.org>
462 * bonobo-image-x-pdf.cc (main): Add error checking for factory
465 1999-08-22 Michael Meeks <michael@imaginator.com>
467 * bonobo-image-x-pdf.cc: Add zoom.
469 1999-08-19 Michael Meeks <michael@imaginator.com>
471 * PDFDoc.cc: Altered to read / write lines.
473 * PDFDoc.cc: Move FileStream::checkHeader so its called
474 in FileStream constructor.
476 1999-08-18 Michael Meeks <michael@imaginator.com>
478 * gpdf.cc: cloned from test-container.
479 (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
481 1999-08-16 Michael Meeks <michael@imaginator.com>
483 * Makefile.am (bin_PROGRAMS): Hack to only make bonobo component.
485 * bonobo-image-x-pdf.cc (view_factory): Init all members.
487 1999-08-15 Michael Meeks <michael@imaginator.com>
489 * Now bonobo-image-x-pdf works, but everything else
492 make bonobo-image-xpdf to compile...
494 1999-08-11 Michael Meeks <michael@imaginator.com>
496 * bonobo-image-x-pdf.cc: Fixed innumerable bugs,
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.
503 1999-08-11 Michael Meeks <michael@imaginator.com>
505 * bonobo-image-x-pdf.cc: Added.
507 * Makefile.am: added bonobo-image-x-pdf.c
509 1999-08-03 Michael Meeks <michael@imaginator.com>
511 * gpdf.cc: Lots of updates, gives up on logging changes
514 1999-08-02 Michael Meeks <michael@edenproject.org>
516 * GOutputDev.cc: Fix more silly region merging bugs.
518 1999-08-01 Michael Meeks <michael@edenproject.org>
520 * Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
524 * gpdf.cc (loadFile): Add typecast.
525 Remove all DOC_ROOT's magic numbers.
527 Lots of other bits ...
529 1999-07-29 Michael Meeks <michael@edenproject.org>
531 * GOutputDev.cc: Hahaaa... the bug ! :-)
532 A difference in how GDK / X deal with merging rectangles
535 * gpdf.cc (doc_redraw_event): Messing around.
537 * GOutputDev.cc (drawChar): Fix char printed as string.
539 1999-06-09 Michael Meeks <michael@edenproject.org>
541 * gpdf.cc (main): Add error init.
543 1999-06-03 Michael Meeks <michael@edenproject.org>
545 * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
546 (GOutputDev): Setup 'depth' correctly.
548 * gpdf.cc (main): Moved freeParams() to after the main
551 * Params.cc (initParams): Added assert on fontPathLen.
552 (freeParams): Clean global pointers on free.
554 * Makefile.in (CXXFLAGS): Added LTKSRCDIR and
555 Xpm_CFLAGS to CXXFLAGS.
557 1999-05-29 Michael Meeks <michael@edenproject.org>
559 * Makefile.in (GPDF_OBJS): Remove XOutputDev
560 (all): Remove all but gpdf.
562 * gpdf.cc: Add define GString / undef.
563 (main): Argc not Argv :)
565 * GOutputDev.cc (findColor): Made pigs ear of colour
568 1999-05-28 Michael Meeks <michael@imaginator.com>
570 * GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
572 1999-05-27 Michael Meeks <michael@imaginator.com>
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.
584 * GOutputDev.h: Comments 'G'd and GOutputDev updated.
587 * Makefile.in (CXXFLAGS): Add GOOSRCDIR.