1 2002-09-13 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3 * Makefile.am: add pdf-view.cc, pdf-view.h
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)
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
25 (gpdf_embeddable_view_construct): mainbox = pdf_view_new,
26 remove mainbox construction code
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
51 * gpdf-embeddable-view.h: view_data_t is no longer a typedef'd
52 GPdfEmbeddableView. Remove PdfView related members from
55 * pdf-view.h: s/GPdfEmbeddableView/PdfView/ with some AI ;)
56 GPdfEmbeddableView still typedef'd view_data_t. Super class
59 Split bonobo / non-bonobo parts of GPdfEmbeddableView:
61 * pdf-view.h: new file (cvs copy of gpdf-embeddable.h)
63 * pdf-view.c: ditto. These will contain non-bonobo parts
65 2002-09-08 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
67 * GOutputDev.h: add missing gdk include
69 * GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
71 (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
72 broken image handling code from gpdf 0.90.1 instead of my even
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
87 * gpdf-embeddable.cc (class_init): add "pdf_changed" signal
88 (load_pdf_from_stream): emit it, don't redraw_view explicitly
90 * gpdf-embeddable.h: add signal to class struct
92 2002-09-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
94 * gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
95 from bonobo-application-x-pdf.cc
97 * GOutputDev.cc (GOutputDev::drawLink): comment out for
98 now. Segfaults. I don't understand this.
100 * bonobo-application-x-pdf.cc: move view_data_t related code
101 ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
104 * gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
107 * gpdf-embeddable-view.cc:
109 * gtkgesture.h: double include protection
111 * XOutputDev.h: add missing include "Object.h"
113 * GOutputDev.h: add missing include "Object.h"
115 2002-08-31 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
117 * gpdf-embeddable.cc:
119 * gpdf-embeddable.h: bed_t: Replace Data Value with Object
120 [Fowler] i.e. turn it into the GPdf::Embeddable class.
122 * bonobo-application-x-pdf.cc: temporarily make some functions
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.
131 * gpdf-util.h: new file
132 (E_MAKE_TYPE): copied from gal
134 2002-08-29 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
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)
140 * gpdf-embeddable.cc: New files to contain the embeddable class
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.
148 * Link.h: declare some methods as const.
151 2002-08-12 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
153 * GOutputDev.cc: make it compile (without Type 3 support for now)
155 * bonobo-application-x-pdf.cc: Derek has removed the global xref
156 variable. Remove the ``Ugly global xref fix''
158 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
160 * BonoboStream.h: ditto.
162 * BonoboStream.cc: sync with FileStream.
164 Merge in Xpdf 1.01 files
166 * GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
169 2002-08-05 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
171 * GOutputDev.h: ditto.
173 * GOutputDev.cc: sync with XOutputDev.cc.
175 * bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
177 2002-08-04 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
179 * BonoboStream.cc: merge in decryption code from FileStream 0.92
180 (close): new method, from FileStream,
181 (~bonoboStream): use close
183 * BonoboStream.h: #define bonoboStreamBufSize as in FileStream
185 (bonoboStream): use it.
187 2001-01-11 Michael Meeks <michael@helixcode.com>
189 * gpdf.cc (container_launch_component): don't add the client
190 site to the item container.
192 2000-12-21 Michael Meeks <michael@helixcode.com>
194 * bonobo-application-x-pdf.cc: Kill mutex / thread init code,
197 * gpdf.cc: update the IID naming scheme.
199 * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
200 ditto. (init_server_factory): setup ORB properly.
202 * Makefile.am: De-goadize; update oafinfo fnames.
204 2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
206 * bonobo-application-x-pdf.cc:
207 Make the signatures of callbacks match the declaraed types to
208 avoid compiler warnings.
210 2000-11-07 Fatih Demir <kabalak@gmx.net>
212 * .cvsignore: Added bonobo-application-x-pdf-ui.h and
213 gpdf-ui.h to the ignores.
215 2000-10-19 Michael Meeks <michael@helixcode.com>
217 * gpdf.cc: update for Dietmer internal changes.
219 2000-10-17 Michael Meeks <michael@helixcode.com>
223 * Makefile.am: sort out xml files.
225 * gpdf.cc: Re-engineer to the new UI handler.
227 * bonobo-application-x-pdf.cc: update to new UI handler
229 * bonobo-appliation-x-pdf-ui.xml: create.
231 * gpdf-ui.xml: create.
233 2000-10-07 Michael Meeks <michael@helixcode.com>
235 * gpdf.cc (main): cut out stale gnorba fat.
237 * bonobo-application-x-pdf.cc (init_server_factory),
238 (init_bonobo_application_x_pdf_factory): ditto.
240 * bonobo-application-x-pdf.cc (embeddable_factory): remove the
243 2000-10-04 Michael Meeks <michael@helixcode.com>
245 * bonobo-application-x-pdf.cc (view_create_menus): upd.
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.
251 2000-08-13 Arik Devens <arik@helixcode.com>
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.
257 2000-08-02 Michael Meeks <michael@helixcode.com>
259 * Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
260 (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
262 2000-07-25 Michael Meeks <michael@helixcode.com>
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.
269 2000-07-04 Michael Meeks <michael@helixcode.com>
271 * GOutputDev.cc (drawImage): kill double free.
273 * BonoboStream.cc (bfread): update for new API.
275 2000-03-10 Michael Meeks <michael@helixcode.com>
277 * gpdf.cc: s/GNOME/Bonobo/
279 * application-x-pdf.gnorba: s/GNOME/Bonobo/
281 2000-02-28 Michael Meeks <michael@helixcode.com>
283 * bonobo-application-x-pdf.cc (view_factory): kill spurious UI
286 * gpdf.cc (container_set_view): update to new bonobo api.
288 2000-02-25 NotZed <NotZed@HelixCode.com>
290 * Makefile.am: Fixed up lists of sources so that distcheck works.
291 Also, only build gpdf if with gnome (otherwise distcheck fails).
293 * gpdf.cc (container_about_cmd): Define i if we are going
296 2000-02-09 Michael Meeks <michael@helixcode.com>
298 * Clean unused & lack of casting all round the place.
300 2000-02-07 Michael Meeks <michael@helixcode.com>
302 * bonobo-application-x-pdf.cc: fix typo.
304 1999-12-17 Michael Meeks <mmeeks@gnu.org>
306 * gpdf.cc (container_set_view): make wrapper invisible.
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.
312 1999-11-06 Michael Meeks <mmeeks@gnu.org>
314 * gtkgesture.c (gesture_data_append_point): fix leak.
316 * bonobo-application-x-pdf.c (setup_pixmap): Fix leak + flicker.
318 * GOutputDev.cc (~GOutputDev): Add clear of state stack + clear
319 text page + delete font. (startPage): fic gdkGC leaks.
322 1999-10-11 Michael Meeks <mmeeks@gnu.org>
324 * GOutputDev.cc: Re-enable stroke color setting.
326 1999-10-08 Michael Meeks <mmeeks@gnu.org>
328 * gpdf.cc (container_new): add to list before possibly removing.
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.
336 1999-10-06 Peter Teichman <pat4@acpub.duke.edu>
338 * GOutputDev.cc: add return type for GOutputServerFont::isOk()
340 * bonobo-application-x-pdf.cc: casting fixes, for compiling with
343 * PSOutputDev.cc: same, more casting fixes
345 1999-10-06 Michael Meeks <mmeeks@gnu.org>
347 * BonoboStream.cc (bfseek): Add debug case.
348 (bfread): nail immense leak.
350 * gpdf.cc (container_set_view): Activate the component to
351 allow gestures to work.
353 1999-10-05 Michael Meeks <mmeeks@gnu.org>
355 * bonobo-application-x-pdf.cc (setup_pixmap): Connect gestures + add
358 * gpdf.cc (container_close): Created. (container_close_cmd): Use it.
361 * gtkgesture.[ch]: Create.
363 1999-09-11 Michael Meeks <michael@nuclecu.unam.mx>
365 * bonobo-application-x-pdf.cc (destroy_view): destroy don't unref,
366 make more paranoid add debug. (destroy_embed): Clean.
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.
372 1999-09-07 Michael Meeks <michael@imaginator.com>
374 * gpdf.cc (container_new): Fiddled with scrollpane
376 1999-09-01 Michael Meeks <michael@imaginator.com>
378 * bonobo-application-x-pdf.cc: Fix a massive leak :-).
379 Considerably simplified with GtkPixmap. Fixed location problems.
381 1999-08-27 Michael Meeks <michael@imaginator.com>
383 * bonobo-application-x-pdf.cc: Remove count of embeddable
384 servers: seems to be handled inside Bonobo now.
386 1999-08-26 Michael Meeks <michael@imaginator.com>
388 * gpdf.cc (component_destroy): Improved clean up.
390 * bonobo-application-x-pdf.cc (bed_free_data): Expand, and
391 clean; remove redundant pdf_stream delete.
393 1999-08-24 Michael Meeks <michael@imaginator.com>
395 * application-x-pdf.gnorba: Update to new mime type.
397 * Makefile.am (gnorba_DATA): Rename mime type.
400 * gpdf.cc (main): File up a container if we fail to load
401 any of the command line files.
403 1999-08-24 Michael Meeks <michael@imaginator.com>
405 * Makefile.am: Cleaned + added thread bits.
407 * bonobo-image-x-pdf.cc: Add locking round 'xref' global.
408 Remove CORBA_Environment global.
410 1999-08-24 Michael Meeks <michael@imaginator.com>
412 * bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
413 duplicate / release, and scoped BonoboFile correctly.
415 * BonoboStream.cc (bfseek): Add init / free to all corba
416 exceptions, ( stupidly lost this code somehow ).
418 * bonobo-image-x-pdf.cc (render_page): Add startDoc.
419 (main): Add freeParams.
421 1999-08-23 Michael Meeks <michael@imaginator.com>
423 * gpdf.cc (container_launch_component): Fix flags.
424 (container_create_toolbar): Fix for new Bonobo.
426 1999-08-23 Michael Meeks <michael@imaginator.com>
428 * Makefile.am: Added helper programs back in.
430 * bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
432 1999-08-23 Miguel de Icaza <miguel@gnu.org>
434 * bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
436 1999-08-22 Miguel de Icaza <miguel@gnu.org>
438 * bonobo-image-x-pdf.cc (main): Add error checking for factory
441 1999-08-22 Michael Meeks <michael@imaginator.com>
443 * bonobo-image-x-pdf.cc: Add zoom.
445 1999-08-19 Michael Meeks <michael@imaginator.com>
447 * PDFDoc.cc: Altered to read / write lines.
449 * PDFDoc.cc: Move FileStream::checkHeader so its called
450 in FileStream constructor.
452 1999-08-18 Michael Meeks <michael@imaginator.com>
454 * gpdf.cc: cloned from test-container.
455 (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
457 1999-08-16 Michael Meeks <michael@imaginator.com>
459 * Makefile.am (bin_PROGRAMS): Hack to only make bonobo component.
461 * bonobo-image-x-pdf.cc (view_factory): Init all members.
463 1999-08-15 Michael Meeks <michael@imaginator.com>
465 * Now bonobo-image-x-pdf works, but everything else
468 make bonobo-image-xpdf to compile...
470 1999-08-11 Michael Meeks <michael@imaginator.com>
472 * bonobo-image-x-pdf.cc: Fixed innumerable bugs,
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.
479 1999-08-11 Michael Meeks <michael@imaginator.com>
481 * bonobo-image-x-pdf.cc: Added.
483 * Makefile.am: added bonobo-image-x-pdf.c
485 1999-08-03 Michael Meeks <michael@imaginator.com>
487 * gpdf.cc: Lots of updates, gives up on logging changes
490 1999-08-02 Michael Meeks <michael@edenproject.org>
492 * GOutputDev.cc: Fix more silly region merging bugs.
494 1999-08-01 Michael Meeks <michael@edenproject.org>
496 * Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
500 * gpdf.cc (loadFile): Add typecast.
501 Remove all DOC_ROOT's magic numbers.
503 Lots of other bits ...
505 1999-07-29 Michael Meeks <michael@edenproject.org>
507 * GOutputDev.cc: Hahaaa... the bug ! :-)
508 A difference in how GDK / X deal with merging rectangles
511 * gpdf.cc (doc_redraw_event): Messing around.
513 * GOutputDev.cc (drawChar): Fix char printed as string.
515 1999-06-09 Michael Meeks <michael@edenproject.org>
517 * gpdf.cc (main): Add error init.
519 1999-06-03 Michael Meeks <michael@edenproject.org>
521 * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
522 (GOutputDev): Setup 'depth' correctly.
524 * gpdf.cc (main): Moved freeParams() to after the main
527 * Params.cc (initParams): Added assert on fontPathLen.
528 (freeParams): Clean global pointers on free.
530 * Makefile.in (CXXFLAGS): Added LTKSRCDIR and
531 Xpm_CFLAGS to CXXFLAGS.
533 1999-05-29 Michael Meeks <michael@edenproject.org>
535 * Makefile.in (GPDF_OBJS): Remove XOutputDev
536 (all): Remove all but gpdf.
538 * gpdf.cc: Add define GString / undef.
539 (main): Argc not Argv :)
541 * GOutputDev.cc (findColor): Made pigs ear of colour
544 1999-05-28 Michael Meeks <michael@imaginator.com>
546 * GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
548 1999-05-27 Michael Meeks <michael@imaginator.com>
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.
560 * GOutputDev.h: Comments 'G'd and GOutputDev updated.
563 * Makefile.in (CXXFLAGS): Add GOOSRCDIR.