1 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3 * bonobo-application-x-pdf.cc (embeddable_factory): don't
4 initialize embeddable (where did that come from?)
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
12 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
14 * Makefile.am: add pdf-view.cc, pdf-view.h
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)
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
36 (gpdf_embeddable_view_construct): mainbox = pdf_view_new,
37 remove mainbox construction code
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
62 * gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
63 GPdfEmbeddableView. Remove PdfView related members from
66 * pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
67 GPdfEmbeddableView still typedef'd view_data_t. Super class
70 Split bonobo / non-bonobo parts of GPdfEmbeddableView:
72 * pdf-view.h: new file (cvs copy of gpdf-embeddable.h)
74 * pdf-view.c: ditto. These will contain non-bonobo parts
76 2002-09-08 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
78 * GOutputDev.h: add missing gdk include
80 * GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
82 (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
83 broken image handling code from gpdf 0.90.1 instead of my even
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
98 * gpdf-embeddable.cc (class_init): add "pdf_changed" signal
99 (load_pdf_from_stream): emit it, don't redraw_view explicitly
101 * gpdf-embeddable.h: add signal to class struct
103 2002-09-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
105 * gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
106 from bonobo-application-x-pdf.cc
108 * GOutputDev.cc (GOutputDev::drawLink): comment out for
109 now. Segfaults. I don't understand this.
111 * bonobo-application-x-pdf.cc: move view_data_t related code
112 ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
115 * gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
118 * gpdf-embeddable-view.cc:
120 * gtkgesture.h: double include protection
122 * XOutputDev.h: add missing include "Object.h"
124 * GOutputDev.h: add missing include "Object.h"
126 2002-08-31 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
128 * gpdf-embeddable.cc:
130 * gpdf-embeddable.h: bed_t: Replace Data Value with Object
131 [Fowler] i.e. turn it into the GPdf::Embeddable class.
133 * bonobo-application-x-pdf.cc: temporarily make some functions
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.
142 * gpdf-util.h: new file
143 (E_MAKE_TYPE): copied from gal
145 2002-08-29 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
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)
151 * gpdf-embeddable.cc: New files to contain the embeddable class
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.
159 * Link.h: declare some methods as const.
162 2002-08-12 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
164 * GOutputDev.cc: make it compile (without Type 3 support for now)
166 * bonobo-application-x-pdf.cc: Derek has removed the global xref
167 variable. Remove the ``Ugly global xref fix''
169 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
171 * BonoboStream.h: ditto.
173 * BonoboStream.cc: sync with FileStream.
175 Merge in Xpdf 1.01 files
177 * GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
180 2002-08-05 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
182 * GOutputDev.h: ditto.
184 * GOutputDev.cc: sync with XOutputDev.cc.
186 * bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
188 2002-08-04 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
190 * BonoboStream.cc: merge in decryption code from FileStream 0.92
191 (close): new method, from FileStream,
192 (~bonoboStream): use close
194 * BonoboStream.h: #define bonoboStreamBufSize as in FileStream
196 (bonoboStream): use it.
198 2001-01-11 Michael Meeks <michael@helixcode.com>
200 * gpdf.cc (container_launch_component): don't add the client
201 site to the item container.
203 2000-12-21 Michael Meeks <michael@helixcode.com>
205 * bonobo-application-x-pdf.cc: Kill mutex / thread init code,
208 * gpdf.cc: update the IID naming scheme.
210 * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
211 ditto. (init_server_factory): setup ORB properly.
213 * Makefile.am: De-goadize; update oafinfo fnames.
215 2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
217 * bonobo-application-x-pdf.cc:
218 Make the signatures of callbacks match the declaraed types to
219 avoid compiler warnings.
221 2000-11-07 Fatih Demir <kabalak@gmx.net>
223 * .cvsignore: Added bonobo-application-x-pdf-ui.h and
224 gpdf-ui.h to the ignores.
226 2000-10-19 Michael Meeks <michael@helixcode.com>
228 * gpdf.cc: update for Dietmer internal changes.
230 2000-10-17 Michael Meeks <michael@helixcode.com>
234 * Makefile.am: sort out xml files.
236 * gpdf.cc: Re-engineer to the new UI handler.
238 * bonobo-application-x-pdf.cc: update to new UI handler
240 * bonobo-appliation-x-pdf-ui.xml: create.
242 * gpdf-ui.xml: create.
244 2000-10-07 Michael Meeks <michael@helixcode.com>
246 * gpdf.cc (main): cut out stale gnorba fat.
248 * bonobo-application-x-pdf.cc (init_server_factory),
249 (init_bonobo_application_x_pdf_factory): ditto.
251 * bonobo-application-x-pdf.cc (embeddable_factory): remove the
254 2000-10-04 Michael Meeks <michael@helixcode.com>
256 * bonobo-application-x-pdf.cc (view_create_menus): upd.
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.
262 2000-08-13 Arik Devens <arik@helixcode.com>
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.
268 2000-08-02 Michael Meeks <michael@helixcode.com>
270 * Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
271 (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
273 2000-07-25 Michael Meeks <michael@helixcode.com>
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.
280 2000-07-04 Michael Meeks <michael@helixcode.com>
282 * GOutputDev.cc (drawImage): kill double free.
284 * BonoboStream.cc (bfread): update for new API.
286 2000-03-10 Michael Meeks <michael@helixcode.com>
288 * gpdf.cc: s/GNOME/Bonobo/
290 * application-x-pdf.gnorba: s/GNOME/Bonobo/
292 2000-02-28 Michael Meeks <michael@helixcode.com>
294 * bonobo-application-x-pdf.cc (view_factory): kill spurious UI
297 * gpdf.cc (container_set_view): update to new bonobo api.
299 2000-02-25 NotZed <NotZed@HelixCode.com>
301 * Makefile.am: Fixed up lists of sources so that distcheck works.
302 Also, only build gpdf if with gnome (otherwise distcheck fails).
304 * gpdf.cc (container_about_cmd): Define i if we are going
307 2000-02-09 Michael Meeks <michael@helixcode.com>
309 * Clean unused & lack of casting all round the place.
311 2000-02-07 Michael Meeks <michael@helixcode.com>
313 * bonobo-application-x-pdf.cc: fix typo.
315 1999-12-17 Michael Meeks <mmeeks@gnu.org>
317 * gpdf.cc (container_set_view): make wrapper invisible.
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.
323 1999-11-06 Michael Meeks <mmeeks@gnu.org>
325 * gtkgesture.c (gesture_data_append_point): fix leak.
327 * bonobo-application-x-pdf.c (setup_pixmap): Fix leak + flicker.
329 * GOutputDev.cc (~GOutputDev): Add clear of state stack + clear
330 text page + delete font. (startPage): fic gdkGC leaks.
333 1999-10-11 Michael Meeks <mmeeks@gnu.org>
335 * GOutputDev.cc: Re-enable stroke color setting.
337 1999-10-08 Michael Meeks <mmeeks@gnu.org>
339 * gpdf.cc (container_new): add to list before possibly removing.
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.
347 1999-10-06 Peter Teichman <pat4@acpub.duke.edu>
349 * GOutputDev.cc: add return type for GOutputServerFont::isOk()
351 * bonobo-application-x-pdf.cc: casting fixes, for compiling with
354 * PSOutputDev.cc: same, more casting fixes
356 1999-10-06 Michael Meeks <mmeeks@gnu.org>
358 * BonoboStream.cc (bfseek): Add debug case.
359 (bfread): nail immense leak.
361 * gpdf.cc (container_set_view): Activate the component to
362 allow gestures to work.
364 1999-10-05 Michael Meeks <mmeeks@gnu.org>
366 * bonobo-application-x-pdf.cc (setup_pixmap): Connect gestures + add
369 * gpdf.cc (container_close): Created. (container_close_cmd): Use it.
372 * gtkgesture.[ch]: Create.
374 1999-09-11 Michael Meeks <michael@nuclecu.unam.mx>
376 * bonobo-application-x-pdf.cc (destroy_view): destroy don't unref,
377 make more paranoid add debug. (destroy_embed): Clean.
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.
383 1999-09-07 Michael Meeks <michael@imaginator.com>
385 * gpdf.cc (container_new): Fiddled with scrollpane
387 1999-09-01 Michael Meeks <michael@imaginator.com>
389 * bonobo-application-x-pdf.cc: Fix a massive leak :-).
390 Considerably simplified with GtkPixmap. Fixed location problems.
392 1999-08-27 Michael Meeks <michael@imaginator.com>
394 * bonobo-application-x-pdf.cc: Remove count of embeddable
395 servers: seems to be handled inside Bonobo now.
397 1999-08-26 Michael Meeks <michael@imaginator.com>
399 * gpdf.cc (component_destroy): Improved clean up.
401 * bonobo-application-x-pdf.cc (bed_free_data): Expand, and
402 clean; remove redundant pdf_stream delete.
404 1999-08-24 Michael Meeks <michael@imaginator.com>
406 * application-x-pdf.gnorba: Update to new mime type.
408 * Makefile.am (gnorba_DATA): Rename mime type.
411 * gpdf.cc (main): File up a container if we fail to load
412 any of the command line files.
414 1999-08-24 Michael Meeks <michael@imaginator.com>
416 * Makefile.am: Cleaned + added thread bits.
418 * bonobo-image-x-pdf.cc: Add locking round 'xref' global.
419 Remove CORBA_Environment global.
421 1999-08-24 Michael Meeks <michael@imaginator.com>
423 * bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
424 duplicate / release, and scoped BonoboFile correctly.
426 * BonoboStream.cc (bfseek): Add init / free to all corba
427 exceptions, ( stupidly lost this code somehow ).
429 * bonobo-image-x-pdf.cc (render_page): Add startDoc.
430 (main): Add freeParams.
432 1999-08-23 Michael Meeks <michael@imaginator.com>
434 * gpdf.cc (container_launch_component): Fix flags.
435 (container_create_toolbar): Fix for new Bonobo.
437 1999-08-23 Michael Meeks <michael@imaginator.com>
439 * Makefile.am: Added helper programs back in.
441 * bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
443 1999-08-23 Miguel de Icaza <miguel@gnu.org>
445 * bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
447 1999-08-22 Miguel de Icaza <miguel@gnu.org>
449 * bonobo-image-x-pdf.cc (main): Add error checking for factory
452 1999-08-22 Michael Meeks <michael@imaginator.com>
454 * bonobo-image-x-pdf.cc: Add zoom.
456 1999-08-19 Michael Meeks <michael@imaginator.com>
458 * PDFDoc.cc: Altered to read / write lines.
460 * PDFDoc.cc: Move FileStream::checkHeader so its called
461 in FileStream constructor.
463 1999-08-18 Michael Meeks <michael@imaginator.com>
465 * gpdf.cc: cloned from test-container.
466 (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
468 1999-08-16 Michael Meeks <michael@imaginator.com>
470 * Makefile.am (bin_PROGRAMS): Hack to only make bonobo component.
472 * bonobo-image-x-pdf.cc (view_factory): Init all members.
474 1999-08-15 Michael Meeks <michael@imaginator.com>
476 * Now bonobo-image-x-pdf works, but everything else
479 make bonobo-image-xpdf to compile...
481 1999-08-11 Michael Meeks <michael@imaginator.com>
483 * bonobo-image-x-pdf.cc: Fixed innumerable bugs,
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.
490 1999-08-11 Michael Meeks <michael@imaginator.com>
492 * bonobo-image-x-pdf.cc: Added.
494 * Makefile.am: added bonobo-image-x-pdf.c
496 1999-08-03 Michael Meeks <michael@imaginator.com>
498 * gpdf.cc: Lots of updates, gives up on logging changes
501 1999-08-02 Michael Meeks <michael@edenproject.org>
503 * GOutputDev.cc: Fix more silly region merging bugs.
505 1999-08-01 Michael Meeks <michael@edenproject.org>
507 * Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
511 * gpdf.cc (loadFile): Add typecast.
512 Remove all DOC_ROOT's magic numbers.
514 Lots of other bits ...
516 1999-07-29 Michael Meeks <michael@edenproject.org>
518 * GOutputDev.cc: Hahaaa... the bug ! :-)
519 A difference in how GDK / X deal with merging rectangles
522 * gpdf.cc (doc_redraw_event): Messing around.
524 * GOutputDev.cc (drawChar): Fix char printed as string.
526 1999-06-09 Michael Meeks <michael@edenproject.org>
528 * gpdf.cc (main): Add error init.
530 1999-06-03 Michael Meeks <michael@edenproject.org>
532 * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
533 (GOutputDev): Setup 'depth' correctly.
535 * gpdf.cc (main): Moved freeParams() to after the main
538 * Params.cc (initParams): Added assert on fontPathLen.
539 (freeParams): Clean global pointers on free.
541 * Makefile.in (CXXFLAGS): Added LTKSRCDIR and
542 Xpm_CFLAGS to CXXFLAGS.
544 1999-05-29 Michael Meeks <michael@edenproject.org>
546 * Makefile.in (GPDF_OBJS): Remove XOutputDev
547 (all): Remove all but gpdf.
549 * gpdf.cc: Add define GString / undef.
550 (main): Argc not Argv :)
552 * GOutputDev.cc (findColor): Made pigs ear of colour
555 1999-05-28 Michael Meeks <michael@imaginator.com>
557 * GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
559 1999-05-27 Michael Meeks <michael@imaginator.com>
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.
571 * GOutputDev.h: Comments 'G'd and GOutputDev updated.
574 * Makefile.in (CXXFLAGS): Add GOOSRCDIR.