1 2002-09-08 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3 * GOutputDev.h: add missing gdk include
5 * GOutputDev.cc (GOutputDev::drawLink): don't #if 0, just don't
7 (GOutputDev::drawImage, GOutputDev::drawImageMask): use Michael's
8 broken image handling code from gpdf 0.90.1 instead of my even
11 * gpdf-embeddable-view.cc (render_page): disable links here.
12 (realize_mainbox): view == view_data now. Don't have to
13 gtk_object_get_data anymore
14 (real_redraw_view): ditto
15 (redraw_view): ditto, make it static again
16 (gpdf_embeddable_view_construct): connect redraw_view to
17 pdf_changed signal, don't gtk_object_set_data "view_data"
18 (view_switch_page, view_zoom_verb, view_activate)
19 (button_press_event_cb, gesture_page_event_cb)
20 (gesture_zoom_event_cb, key_press_event_cb, mainbox_realize): make
23 * gpdf-embeddable.cc (class_init): add "pdf_changed" signal
24 (load_pdf_from_stream): emit it, don't redraw_view explicitly
26 * gpdf-embeddable.h: add signal to class struct
28 2002-09-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
30 * gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
31 from bonobo-application-x-pdf.cc
33 * GOutputDev.cc (GOutputDev::drawLink): comment out for
34 now. Segfaults. I don't understand this.
36 * bonobo-application-x-pdf.cc: move view_data_t related code
37 ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
40 * gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
43 * gpdf-embeddable-view.cc:
45 * gtkgesture.h: double include protection
47 * XOutputDev.h: add missing include "Object.h"
49 * GOutputDev.h: add missing include "Object.h"
51 2002-08-31 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
55 * gpdf-embeddable.h: bed_t: Replace Data Value with Object
56 [Fowler] i.e. turn it into the GPdf::Embeddable class.
58 * bonobo-application-x-pdf.cc: temporarily make some functions
60 (view_is_good): move up in file, use it in more places.
61 (setup_pixmap): remove window parameter, get it from view_data
62 (destroy_embed): move to GPdfEmbeddable::destroy
63 (embeddable_factory): drastically simplify, work is done in
64 GPdfEmbeddable::new and friends
65 remove count of running_objects.
67 * gpdf-util.h: new file
68 (E_MAKE_TYPE): copied from gal
70 2002-08-29 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
72 * bonobo-application-x-pdf.cc: move struct bed_t to
73 gpdf-embeddable.{cc,h}
74 (setup_pixmap) remove doc parameter. (Get it from view_data param)
76 * gpdf-embeddable.cc: New files to contain the embeddable class
80 * gpdf.cc (main): remove call to setlocale (done in
81 gnome_init...), ignore return value of oaf_init, let bonobo_init
82 figure out which orb to use.
84 * Link.h: declare some methods as const.
87 2002-08-12 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
89 * GOutputDev.cc: make it compile (without Type 3 support for now)
91 * bonobo-application-x-pdf.cc: Derek has removed the global xref
92 variable. Remove the ``Ugly global xref fix''
94 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
96 * BonoboStream.h: ditto.
98 * BonoboStream.cc: sync with FileStream.
100 Merge in Xpdf 1.01 files
102 * GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
105 2002-08-05 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
107 * GOutputDev.h: ditto.
109 * GOutputDev.cc: sync with XOutputDev.cc.
111 * bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
113 2002-08-04 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
115 * BonoboStream.cc: merge in decryption code from FileStream 0.92
116 (close): new method, from FileStream,
117 (~bonoboStream): use close
119 * BonoboStream.h: #define bonoboStreamBufSize as in FileStream
121 (bonoboStream): use it.
123 2001-01-11 Michael Meeks <michael@helixcode.com>
125 * gpdf.cc (container_launch_component): don't add the client
126 site to the item container.
128 2000-12-21 Michael Meeks <michael@helixcode.com>
130 * bonobo-application-x-pdf.cc: Kill mutex / thread init code,
133 * gpdf.cc: update the IID naming scheme.
135 * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
136 ditto. (init_server_factory): setup ORB properly.
138 * Makefile.am: De-goadize; update oafinfo fnames.
140 2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
142 * bonobo-application-x-pdf.cc:
143 Make the signatures of callbacks match the declaraed types to
144 avoid compiler warnings.
146 2000-11-07 Fatih Demir <kabalak@gmx.net>
148 * .cvsignore: Added bonobo-application-x-pdf-ui.h and
149 gpdf-ui.h to the ignores.
151 2000-10-19 Michael Meeks <michael@helixcode.com>
153 * gpdf.cc: update for Dietmer internal changes.
155 2000-10-17 Michael Meeks <michael@helixcode.com>
159 * Makefile.am: sort out xml files.
161 * gpdf.cc: Re-engineer to the new UI handler.
163 * bonobo-application-x-pdf.cc: update to new UI handler
165 * bonobo-appliation-x-pdf-ui.xml: create.
167 * gpdf-ui.xml: create.
169 2000-10-07 Michael Meeks <michael@helixcode.com>
171 * gpdf.cc (main): cut out stale gnorba fat.
173 * bonobo-application-x-pdf.cc (init_server_factory),
174 (init_bonobo_application_x_pdf_factory): ditto.
176 * bonobo-application-x-pdf.cc (embeddable_factory): remove the
179 2000-10-04 Michael Meeks <michael@helixcode.com>
181 * bonobo-application-x-pdf.cc (view_create_menus): upd.
183 * gpdf.cc (container_launch_component): update for ItemContainer
184 rename. (container_new): update to bonobo-win stuff.
185 (container_set_view): use compat_get_container.
187 2000-08-13 Arik Devens <arik@helixcode.com>
189 * bonobo-application-x-pdf.cc (view_create_menus): Switched
190 page_enlarge_cb and page_shrink_cb to get zooming in and out
191 workin correctly in the menu.
193 2000-08-02 Michael Meeks <michael@helixcode.com>
195 * Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
196 (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
198 2000-07-25 Michael Meeks <michael@helixcode.com>
200 * bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
201 on unref. Junk 2 stop tabs throught, Derek can have my kittens.
202 (view_create_menus): create the pdf toolbar before using it.
203 (button_press_event_cb): return a value.
205 2000-07-04 Michael Meeks <michael@helixcode.com>
207 * GOutputDev.cc (drawImage): kill double free.
209 * BonoboStream.cc (bfread): update for new API.
211 2000-03-10 Michael Meeks <michael@helixcode.com>
213 * gpdf.cc: s/GNOME/Bonobo/
215 * application-x-pdf.gnorba: s/GNOME/Bonobo/
217 2000-02-28 Michael Meeks <michael@helixcode.com>
219 * bonobo-application-x-pdf.cc (view_factory): kill spurious UI
222 * gpdf.cc (container_set_view): update to new bonobo api.
224 2000-02-25 NotZed <NotZed@HelixCode.com>
226 * Makefile.am: Fixed up lists of sources so that distcheck works.
227 Also, only build gpdf if with gnome (otherwise distcheck fails).
229 * gpdf.cc (container_about_cmd): Define i if we are going
232 2000-02-09 Michael Meeks <michael@helixcode.com>
234 * Clean unused & lack of casting all round the place.
236 2000-02-07 Michael Meeks <michael@helixcode.com>
238 * bonobo-application-x-pdf.cc: fix typo.
240 1999-12-17 Michael Meeks <mmeeks@gnu.org>
242 * gpdf.cc (container_set_view): make wrapper invisible.
244 * bonobo-application-x-pdf.cc (embeddable_factory): kill
245 diff id string. + constify lots of paths.
246 (view_factory): kill size query. (view_size_query): kill.
248 1999-11-06 Michael Meeks <mmeeks@gnu.org>
250 * gtkgesture.c (gesture_data_append_point): fix leak.
252 * bonobo-application-x-pdf.c (setup_pixmap): Fix leak + flicker.
254 * GOutputDev.cc (~GOutputDev): Add clear of state stack + clear
255 text page + delete font. (startPage): fic gdkGC leaks.
258 1999-10-11 Michael Meeks <mmeeks@gnu.org>
260 * GOutputDev.cc: Re-enable stroke color setting.
262 1999-10-08 Michael Meeks <mmeeks@gnu.org>
264 * gpdf.cc (container_new): add to list before possibly removing.
266 * bonobo-application-x-pdf.cc (destroy_embed): Quit on last component
267 close. (load_pdf_from_stream): inline redraw-all with new API.
268 (redraw_view): implement (redraw_all): remove. (realize_mainbox): remould.
269 (destroy_view): Fix serious memory corruption freeing pixmap twice.
270 (view_activate): kill debug.
272 1999-10-06 Peter Teichman <pat4@acpub.duke.edu>
274 * GOutputDev.cc: add return type for GOutputServerFont::isOk()
276 * bonobo-application-x-pdf.cc: casting fixes, for compiling with
279 * PSOutputDev.cc: same, more casting fixes
281 1999-10-06 Michael Meeks <mmeeks@gnu.org>
283 * BonoboStream.cc (bfseek): Add debug case.
284 (bfread): nail immense leak.
286 * gpdf.cc (container_set_view): Activate the component to
287 allow gestures to work.
289 1999-10-05 Michael Meeks <mmeeks@gnu.org>
291 * bonobo-application-x-pdf.cc (setup_pixmap): Connect gestures + add
294 * gpdf.cc (container_close): Created. (container_close_cmd): Use it.
297 * gtkgesture.[ch]: Create.
299 1999-09-11 Michael Meeks <michael@nuclecu.unam.mx>
301 * bonobo-application-x-pdf.cc (destroy_view): destroy don't unref,
302 make more paranoid add debug. (destroy_embed): Clean.
304 * gpdf.cc (key_press_event_cb): Added all manner of shortcuts.
305 (container_new): Add key stuff (container_destroy_cb): Implement.
306 (container_destroy): Add paranoid check.
308 1999-09-07 Michael Meeks <michael@imaginator.com>
310 * gpdf.cc (container_new): Fiddled with scrollpane
312 1999-09-01 Michael Meeks <michael@imaginator.com>
314 * bonobo-application-x-pdf.cc: Fix a massive leak :-).
315 Considerably simplified with GtkPixmap. Fixed location problems.
317 1999-08-27 Michael Meeks <michael@imaginator.com>
319 * bonobo-application-x-pdf.cc: Remove count of embeddable
320 servers: seems to be handled inside Bonobo now.
322 1999-08-26 Michael Meeks <michael@imaginator.com>
324 * gpdf.cc (component_destroy): Improved clean up.
326 * bonobo-application-x-pdf.cc (bed_free_data): Expand, and
327 clean; remove redundant pdf_stream delete.
329 1999-08-24 Michael Meeks <michael@imaginator.com>
331 * application-x-pdf.gnorba: Update to new mime type.
333 * Makefile.am (gnorba_DATA): Rename mime type.
336 * gpdf.cc (main): File up a container if we fail to load
337 any of the command line files.
339 1999-08-24 Michael Meeks <michael@imaginator.com>
341 * Makefile.am: Cleaned + added thread bits.
343 * bonobo-image-x-pdf.cc: Add locking round 'xref' global.
344 Remove CORBA_Environment global.
346 1999-08-24 Michael Meeks <michael@imaginator.com>
348 * bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
349 duplicate / release, and scoped BonoboFile correctly.
351 * BonoboStream.cc (bfseek): Add init / free to all corba
352 exceptions, ( stupidly lost this code somehow ).
354 * bonobo-image-x-pdf.cc (render_page): Add startDoc.
355 (main): Add freeParams.
357 1999-08-23 Michael Meeks <michael@imaginator.com>
359 * gpdf.cc (container_launch_component): Fix flags.
360 (container_create_toolbar): Fix for new Bonobo.
362 1999-08-23 Michael Meeks <michael@imaginator.com>
364 * Makefile.am: Added helper programs back in.
366 * bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
368 1999-08-23 Miguel de Icaza <miguel@gnu.org>
370 * bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
372 1999-08-22 Miguel de Icaza <miguel@gnu.org>
374 * bonobo-image-x-pdf.cc (main): Add error checking for factory
377 1999-08-22 Michael Meeks <michael@imaginator.com>
379 * bonobo-image-x-pdf.cc: Add zoom.
381 1999-08-19 Michael Meeks <michael@imaginator.com>
383 * PDFDoc.cc: Altered to read / write lines.
385 * PDFDoc.cc: Move FileStream::checkHeader so its called
386 in FileStream constructor.
388 1999-08-18 Michael Meeks <michael@imaginator.com>
390 * gpdf.cc: cloned from test-container.
391 (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
393 1999-08-16 Michael Meeks <michael@imaginator.com>
395 * Makefile.am (bin_PROGRAMS): Hack to only make bonobo component.
397 * bonobo-image-x-pdf.cc (view_factory): Init all members.
399 1999-08-15 Michael Meeks <michael@imaginator.com>
401 * Now bonobo-image-x-pdf works, but everything else
404 make bonobo-image-xpdf to compile...
406 1999-08-11 Michael Meeks <michael@imaginator.com>
408 * bonobo-image-x-pdf.cc: Fixed innumerable bugs,
410 (load_image_from_stream): Try closing the file to let its
411 contents hit disk before reading from it :-)
412 (configure_size): Don't get scared by configure_size.
413 (redraw_view): Get the parameters in some sort of order.
415 1999-08-11 Michael Meeks <michael@imaginator.com>
417 * bonobo-image-x-pdf.cc: Added.
419 * Makefile.am: added bonobo-image-x-pdf.c
421 1999-08-03 Michael Meeks <michael@imaginator.com>
423 * gpdf.cc: Lots of updates, gives up on logging changes
426 1999-08-02 Michael Meeks <michael@edenproject.org>
428 * GOutputDev.cc: Fix more silly region merging bugs.
430 1999-08-01 Michael Meeks <michael@edenproject.org>
432 * Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
436 * gpdf.cc (loadFile): Add typecast.
437 Remove all DOC_ROOT's magic numbers.
439 Lots of other bits ...
441 1999-07-29 Michael Meeks <michael@edenproject.org>
443 * GOutputDev.cc: Hahaaa... the bug ! :-)
444 A difference in how GDK / X deal with merging rectangles
447 * gpdf.cc (doc_redraw_event): Messing around.
449 * GOutputDev.cc (drawChar): Fix char printed as string.
451 1999-06-09 Michael Meeks <michael@edenproject.org>
453 * gpdf.cc (main): Add error init.
455 1999-06-03 Michael Meeks <michael@edenproject.org>
457 * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
458 (GOutputDev): Setup 'depth' correctly.
460 * gpdf.cc (main): Moved freeParams() to after the main
463 * Params.cc (initParams): Added assert on fontPathLen.
464 (freeParams): Clean global pointers on free.
466 * Makefile.in (CXXFLAGS): Added LTKSRCDIR and
467 Xpm_CFLAGS to CXXFLAGS.
469 1999-05-29 Michael Meeks <michael@edenproject.org>
471 * Makefile.in (GPDF_OBJS): Remove XOutputDev
472 (all): Remove all but gpdf.
474 * gpdf.cc: Add define GString / undef.
475 (main): Argc not Argv :)
477 * GOutputDev.cc (findColor): Made pigs ear of colour
480 1999-05-28 Michael Meeks <michael@imaginator.com>
482 * GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
484 1999-05-27 Michael Meeks <michael@imaginator.com>
486 * GOutputDev.cc (GOutputFont): Hacks.
487 (GOutputFont): Renamed.
488 (getFont): killed redundant 'display'
489 getGdkFont not getXFont.
490 (GOutputDev): NB. colormap -> gtk_widget_get_default_colormap ()
491 which returns GdkColormap *, killed colormap & depth1 in prototype.
492 Removed redundant assigns.
493 NB. Miguel says 'miguel> michael: a GdkPixmap is a GdkWindow'
494 Many misc. fixes upto convertSubPath.
496 * GOutputDev.h: Comments 'G'd and GOutputDev updated.
499 * Makefile.in (CXXFLAGS): Add GOOSRCDIR.