1 2002-09-01 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
3 * gpdf-embeddable.cc (gpdf_embeddable_view_factory): move here
4 from bonobo-application-x-pdf.cc
6 * GOutputDev.cc (GOutputDev::drawLink): comment out for
7 now. Segfaults. I don't understand this.
9 * bonobo-application-x-pdf.cc: move view_data_t related code
10 ( except view_factory) to gpdf-embeddable-view.cc, remove lots of
13 * gpdf-embeddable-view.h: new files with new GPdfEmbeddableView
16 * gpdf-embeddable-view.cc:
18 * gtkgesture.h: double include protection
20 * XOutputDev.h: add missing include "Object.h"
22 * GOutputDev.h: add missing include "Object.h"
24 2002-08-31 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
28 * gpdf-embeddable.h: bed_t: Replace Data Value with Object
29 [Fowler] i.e. turn it into the GPdf::Embeddable class.
31 * bonobo-application-x-pdf.cc: temporarily make some functions
33 (view_is_good): move up in file, use it in more places.
34 (setup_pixmap): remove window parameter, get it from view_data
35 (destroy_embed): move to GPdfEmbeddable::destroy
36 (embeddable_factory): drastically simplify, work is done in
37 GPdfEmbeddable::new and friends
38 remove count of running_objects.
40 * gpdf-util.h: new file
41 (E_MAKE_TYPE): copied from gal
43 2002-08-29 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
45 * bonobo-application-x-pdf.cc: move struct bed_t to
46 gpdf-embeddable.{cc,h}
47 (setup_pixmap) remove doc parameter. (Get it from view_data param)
49 * gpdf-embeddable.cc: New files to contain the embeddable class
53 * gpdf.cc (main): remove call to setlocale (done in
54 gnome_init...), ignore return value of oaf_init, let bonobo_init
55 figure out which orb to use.
57 * Link.h: declare some methods as const.
60 2002-08-12 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
62 * GOutputDev.cc: make it compile (without Type 3 support for now)
64 * bonobo-application-x-pdf.cc: Derek has removed the global xref
65 variable. Remove the ``Ugly global xref fix''
67 2002-08-09 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
69 * BonoboStream.h: ditto.
71 * BonoboStream.cc: sync with FileStream.
73 Merge in Xpdf 1.01 files
75 * GOutputDev.cc (drawImage), (drawImageMask): use gdk_image_get
78 2002-08-05 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
80 * GOutputDev.h: ditto.
82 * GOutputDev.cc: sync with XOutputDev.cc.
84 * bonobo-application-x-pdf.cc (printCommands): is in Gfx.cc now
86 2002-08-04 Martin Kretzschmar <Martin.Kretzschmar@inf.tu-dresden.de>
88 * BonoboStream.cc: merge in decryption code from FileStream 0.92
89 (close): new method, from FileStream,
90 (~bonoboStream): use close
92 * BonoboStream.h: #define bonoboStreamBufSize as in FileStream
94 (bonoboStream): use it.
96 2001-01-11 Michael Meeks <michael@helixcode.com>
98 * gpdf.cc (container_launch_component): don't add the client
99 site to the item container.
101 2000-12-21 Michael Meeks <michael@helixcode.com>
103 * bonobo-application-x-pdf.cc: Kill mutex / thread init code,
106 * gpdf.cc: update the IID naming scheme.
108 * bonobo-application-x-pdf.cc (init_bonobo_application_x_pdf_factory):
109 ditto. (init_server_factory): setup ORB properly.
111 * Makefile.am: De-goadize; update oafinfo fnames.
113 2000-11-16 Ramiro Estrugo <ramiro@eazel.com>
115 * bonobo-application-x-pdf.cc:
116 Make the signatures of callbacks match the declaraed types to
117 avoid compiler warnings.
119 2000-11-07 Fatih Demir <kabalak@gmx.net>
121 * .cvsignore: Added bonobo-application-x-pdf-ui.h and
122 gpdf-ui.h to the ignores.
124 2000-10-19 Michael Meeks <michael@helixcode.com>
126 * gpdf.cc: update for Dietmer internal changes.
128 2000-10-17 Michael Meeks <michael@helixcode.com>
132 * Makefile.am: sort out xml files.
134 * gpdf.cc: Re-engineer to the new UI handler.
136 * bonobo-application-x-pdf.cc: update to new UI handler
138 * bonobo-appliation-x-pdf-ui.xml: create.
140 * gpdf-ui.xml: create.
142 2000-10-07 Michael Meeks <michael@helixcode.com>
144 * gpdf.cc (main): cut out stale gnorba fat.
146 * bonobo-application-x-pdf.cc (init_server_factory),
147 (init_bonobo_application_x_pdf_factory): ditto.
149 * bonobo-application-x-pdf.cc (embeddable_factory): remove the
152 2000-10-04 Michael Meeks <michael@helixcode.com>
154 * bonobo-application-x-pdf.cc (view_create_menus): upd.
156 * gpdf.cc (container_launch_component): update for ItemContainer
157 rename. (container_new): update to bonobo-win stuff.
158 (container_set_view): use compat_get_container.
160 2000-08-13 Arik Devens <arik@helixcode.com>
162 * bonobo-application-x-pdf.cc (view_create_menus): Switched
163 page_enlarge_cb and page_shrink_cb to get zooming in and out
164 workin correctly in the menu.
166 2000-08-02 Michael Meeks <michael@helixcode.com>
168 * Makefile.am (gpdf_LDADD): kill ghastly hack adding -lbonobo.
169 (bonobo_application_x_pdf_LDADD): add EXTRA_GNOME_LIBS
171 2000-07-25 Michael Meeks <michael@helixcode.com>
173 * bonobo-application-x-pdf.cc (embeddable_factory): s/gtk/bonobo/
174 on unref. Junk 2 stop tabs throught, Derek can have my kittens.
175 (view_create_menus): create the pdf toolbar before using it.
176 (button_press_event_cb): return a value.
178 2000-07-04 Michael Meeks <michael@helixcode.com>
180 * GOutputDev.cc (drawImage): kill double free.
182 * BonoboStream.cc (bfread): update for new API.
184 2000-03-10 Michael Meeks <michael@helixcode.com>
186 * gpdf.cc: s/GNOME/Bonobo/
188 * application-x-pdf.gnorba: s/GNOME/Bonobo/
190 2000-02-28 Michael Meeks <michael@helixcode.com>
192 * bonobo-application-x-pdf.cc (view_factory): kill spurious UI
195 * gpdf.cc (container_set_view): update to new bonobo api.
197 2000-02-25 NotZed <NotZed@HelixCode.com>
199 * Makefile.am: Fixed up lists of sources so that distcheck works.
200 Also, only build gpdf if with gnome (otherwise distcheck fails).
202 * gpdf.cc (container_about_cmd): Define i if we are going
205 2000-02-09 Michael Meeks <michael@helixcode.com>
207 * Clean unused & lack of casting all round the place.
209 2000-02-07 Michael Meeks <michael@helixcode.com>
211 * bonobo-application-x-pdf.cc: fix typo.
213 1999-12-17 Michael Meeks <mmeeks@gnu.org>
215 * gpdf.cc (container_set_view): make wrapper invisible.
217 * bonobo-application-x-pdf.cc (embeddable_factory): kill
218 diff id string. + constify lots of paths.
219 (view_factory): kill size query. (view_size_query): kill.
221 1999-11-06 Michael Meeks <mmeeks@gnu.org>
223 * gtkgesture.c (gesture_data_append_point): fix leak.
225 * bonobo-application-x-pdf.c (setup_pixmap): Fix leak + flicker.
227 * GOutputDev.cc (~GOutputDev): Add clear of state stack + clear
228 text page + delete font. (startPage): fic gdkGC leaks.
231 1999-10-11 Michael Meeks <mmeeks@gnu.org>
233 * GOutputDev.cc: Re-enable stroke color setting.
235 1999-10-08 Michael Meeks <mmeeks@gnu.org>
237 * gpdf.cc (container_new): add to list before possibly removing.
239 * bonobo-application-x-pdf.cc (destroy_embed): Quit on last component
240 close. (load_pdf_from_stream): inline redraw-all with new API.
241 (redraw_view): implement (redraw_all): remove. (realize_mainbox): remould.
242 (destroy_view): Fix serious memory corruption freeing pixmap twice.
243 (view_activate): kill debug.
245 1999-10-06 Peter Teichman <pat4@acpub.duke.edu>
247 * GOutputDev.cc: add return type for GOutputServerFont::isOk()
249 * bonobo-application-x-pdf.cc: casting fixes, for compiling with
252 * PSOutputDev.cc: same, more casting fixes
254 1999-10-06 Michael Meeks <mmeeks@gnu.org>
256 * BonoboStream.cc (bfseek): Add debug case.
257 (bfread): nail immense leak.
259 * gpdf.cc (container_set_view): Activate the component to
260 allow gestures to work.
262 1999-10-05 Michael Meeks <mmeeks@gnu.org>
264 * bonobo-application-x-pdf.cc (setup_pixmap): Connect gestures + add
267 * gpdf.cc (container_close): Created. (container_close_cmd): Use it.
270 * gtkgesture.[ch]: Create.
272 1999-09-11 Michael Meeks <michael@nuclecu.unam.mx>
274 * bonobo-application-x-pdf.cc (destroy_view): destroy don't unref,
275 make more paranoid add debug. (destroy_embed): Clean.
277 * gpdf.cc (key_press_event_cb): Added all manner of shortcuts.
278 (container_new): Add key stuff (container_destroy_cb): Implement.
279 (container_destroy): Add paranoid check.
281 1999-09-07 Michael Meeks <michael@imaginator.com>
283 * gpdf.cc (container_new): Fiddled with scrollpane
285 1999-09-01 Michael Meeks <michael@imaginator.com>
287 * bonobo-application-x-pdf.cc: Fix a massive leak :-).
288 Considerably simplified with GtkPixmap. Fixed location problems.
290 1999-08-27 Michael Meeks <michael@imaginator.com>
292 * bonobo-application-x-pdf.cc: Remove count of embeddable
293 servers: seems to be handled inside Bonobo now.
295 1999-08-26 Michael Meeks <michael@imaginator.com>
297 * gpdf.cc (component_destroy): Improved clean up.
299 * bonobo-application-x-pdf.cc (bed_free_data): Expand, and
300 clean; remove redundant pdf_stream delete.
302 1999-08-24 Michael Meeks <michael@imaginator.com>
304 * application-x-pdf.gnorba: Update to new mime type.
306 * Makefile.am (gnorba_DATA): Rename mime type.
309 * gpdf.cc (main): File up a container if we fail to load
310 any of the command line files.
312 1999-08-24 Michael Meeks <michael@imaginator.com>
314 * Makefile.am: Cleaned + added thread bits.
316 * bonobo-image-x-pdf.cc: Add locking round 'xref' global.
317 Remove CORBA_Environment global.
319 1999-08-24 Michael Meeks <michael@imaginator.com>
321 * bonobo-image-x-pdf.cc (bed_free_data): Rationalised Stream
322 duplicate / release, and scoped BonoboFile correctly.
324 * BonoboStream.cc (bfseek): Add init / free to all corba
325 exceptions, ( stupidly lost this code somehow ).
327 * bonobo-image-x-pdf.cc (render_page): Add startDoc.
328 (main): Add freeParams.
330 1999-08-23 Michael Meeks <michael@imaginator.com>
332 * gpdf.cc (container_launch_component): Fix flags.
333 (container_create_toolbar): Fix for new Bonobo.
335 1999-08-23 Michael Meeks <michael@imaginator.com>
337 * Makefile.am: Added helper programs back in.
339 * bonobo-image-x-pdf.cc (view_create_menus): Toolbars.
341 1999-08-23 Miguel de Icaza <miguel@gnu.org>
343 * bonobo-image-x-pdf.cc: Replace exit() with gtk_main_quit()
345 1999-08-22 Miguel de Icaza <miguel@gnu.org>
347 * bonobo-image-x-pdf.cc (main): Add error checking for factory
350 1999-08-22 Michael Meeks <michael@imaginator.com>
352 * bonobo-image-x-pdf.cc: Add zoom.
354 1999-08-19 Michael Meeks <michael@imaginator.com>
356 * PDFDoc.cc: Altered to read / write lines.
358 * PDFDoc.cc: Move FileStream::checkHeader so its called
359 in FileStream constructor.
361 1999-08-18 Michael Meeks <michael@imaginator.com>
363 * gpdf.cc: cloned from test-container.
364 (launch_server): use GOAD_ACTIVATE_SHLIB not '0'
366 1999-08-16 Michael Meeks <michael@imaginator.com>
368 * Makefile.am (bin_PROGRAMS): Hack to only make bonobo component.
370 * bonobo-image-x-pdf.cc (view_factory): Init all members.
372 1999-08-15 Michael Meeks <michael@imaginator.com>
374 * Now bonobo-image-x-pdf works, but everything else
377 make bonobo-image-xpdf to compile...
379 1999-08-11 Michael Meeks <michael@imaginator.com>
381 * bonobo-image-x-pdf.cc: Fixed innumerable bugs,
383 (load_image_from_stream): Try closing the file to let its
384 contents hit disk before reading from it :-)
385 (configure_size): Don't get scared by configure_size.
386 (redraw_view): Get the parameters in some sort of order.
388 1999-08-11 Michael Meeks <michael@imaginator.com>
390 * bonobo-image-x-pdf.cc: Added.
392 * Makefile.am: added bonobo-image-x-pdf.c
394 1999-08-03 Michael Meeks <michael@imaginator.com>
396 * gpdf.cc: Lots of updates, gives up on logging changes
399 1999-08-02 Michael Meeks <michael@edenproject.org>
401 * GOutputDev.cc: Fix more silly region merging bugs.
403 1999-08-01 Michael Meeks <michael@edenproject.org>
405 * Makefile.in: Added -lglade, -lglade-gnome & Added -Wall
409 * gpdf.cc (loadFile): Add typecast.
410 Remove all DOC_ROOT's magic numbers.
412 Lots of other bits ...
414 1999-07-29 Michael Meeks <michael@edenproject.org>
416 * GOutputDev.cc: Hahaaa... the bug ! :-)
417 A difference in how GDK / X deal with merging rectangles
420 * gpdf.cc (doc_redraw_event): Messing around.
422 * GOutputDev.cc (drawChar): Fix char printed as string.
424 1999-06-09 Michael Meeks <michael@edenproject.org>
426 * gpdf.cc (main): Add error init.
428 1999-06-03 Michael Meeks <michael@edenproject.org>
430 * GOutputDev.cc (GOutputDev): Actually set up pixmapW & H
431 (GOutputDev): Setup 'depth' correctly.
433 * gpdf.cc (main): Moved freeParams() to after the main
436 * Params.cc (initParams): Added assert on fontPathLen.
437 (freeParams): Clean global pointers on free.
439 * Makefile.in (CXXFLAGS): Added LTKSRCDIR and
440 Xpm_CFLAGS to CXXFLAGS.
442 1999-05-29 Michael Meeks <michael@edenproject.org>
444 * Makefile.in (GPDF_OBJS): Remove XOutputDev
445 (all): Remove all but gpdf.
447 * gpdf.cc: Add define GString / undef.
448 (main): Argc not Argv :)
450 * GOutputDev.cc (findColor): Made pigs ear of colour
453 1999-05-28 Michael Meeks <michael@imaginator.com>
455 * GOutputDev.cc (drawChar16): XChar2b -> GdkWChar
457 1999-05-27 Michael Meeks <michael@imaginator.com>
459 * GOutputDev.cc (GOutputFont): Hacks.
460 (GOutputFont): Renamed.
461 (getFont): killed redundant 'display'
462 getGdkFont not getXFont.
463 (GOutputDev): NB. colormap -> gtk_widget_get_default_colormap ()
464 which returns GdkColormap *, killed colormap & depth1 in prototype.
465 Removed redundant assigns.
466 NB. Miguel says 'miguel> michael: a GdkPixmap is a GdkWindow'
467 Many misc. fixes upto convertSubPath.
469 * GOutputDev.h: Comments 'G'd and GOutputDev updated.
472 * Makefile.in (CXXFLAGS): Add GOOSRCDIR.