Commit graph

647 commits

Author SHA1 Message Date
Yuri Syrota d887f33a59 Updated Ukrainian translation 2000-04-27 07:16:20 +00:00
Federico Mena Quintero 2279d9d23d New files for the full screen view mode.
2000-04-26  Federico Mena Quintero  <federico@helixcode.com>

	* full-screen.[ch]: New files for the full screen view mode.

	* window.c (view_menu): Added a Full Screen item.

	* commands.c (cmd_cb_full_screen): New command callback.

	* window.c (window_full_screen): New function to launch a full
	screen view.

	* ui-image.c (ui_image_get_image): New function to query the image
	that an image view scroller is displaying.

	* image-view.c (paint_rectangle): Take in the interpolation type.
	(pack_pixbuf): New function to pack an RGBA pixbuf into RGB
	scanlines, while preserving the rowstride.  This is to compensate
	for the lack of gdk_draw_rgb_image_32_dithalign().
	(paint_rectangle): Generate a 32-bit pixbuf to use the fast
	scaling code and then use pack_pixbuf() before rendering use
	GdkRGB.  Sigh.  For now this functionality is #ifdefed out so that
	I can do proper benchmarks.

	* Makefile.am (eog_SOURCES): Added full-screen.[ch] to the list of
	sources.
2000-04-27 04:47:35 +00:00
Maciej Stachowiak e24b322120 Optionally use OAF:
* configure.in, acconfig.h: Add --enable-oaf configure option to
	allow building the bonobo control OAF-enabled instead of
	GOAD-enabled.

	* bonobo/Makefile.am: Link against OAf and install .oafinfo file when
	configured with --enable-oaf

	* bonobo/bonobo-image-generic.c: Use OAF calls and IIDs when
	configured with --enable-oaf.

	* bonobo/image-generic.oafinfo: New OAF activation record.
2000-04-25 02:48:38 +00:00
Federico Mena Quintero c9fa3bdeae Thanks.
2000-04-23  Federico Mena Quintero  <federico@helixcode.com>

	* THANKS: Thanks.
2000-04-23 19:11:59 +00:00
Federico Mena Quintero a869592df3 Pass in a zoom value instead of using the view's.
2000-04-23  Federico Mena Quintero  <federico@helixcode.com>

	* image-view.c (compute_scaled_size): Pass in a zoom value instead
	of using the view's.
	(compute_center_zoom_offsets): New function to compute the offsets
	for the new zoom value so that they keep the image centered on the
	view.
	(scroll_to): Only update the offsets and do not paint if the
	widget is not drawable.
	(image_view_size_allocate): Re-center the offsets if the zoom
	changed.
2000-04-23 18:59:37 +00:00
Fatih Demir 1dd9bdf88a Updated the tr.po for the real version 2000-04-22 14:17:46 +00:00
Fatih Demir 1d0e6f6882 Added the Turkish desktop entry 2000-04-22 14:16:23 +00:00
Federico Mena Quintero 5585c9d681 New function to do proper scrolling of the image view. (drag_to): Use
2000-04-21  Federico Mena Quintero  <federico@helixcode.com>

	* image-view.c (scroll_to): New function to do proper scrolling of
	the image view.
	(drag_to): Use scroll_to().
	(adjustment_changed_cb): Use scroll_to().

	* uta.c (uta_copy_area): New function to do the equivalent of a
	BitBlt on a microtile array.  It is not perfect; see the FIXME for
	details.
	(copy_tile): Helper function for uta_copy_area().
	(uta_ensure_size): Create a new uta with the proper size if the
	specified uta is NULL.
	(uta_add_rect): Special-case source tiles that are empty so as not
	to add a bigger region than needed.
2000-04-22 05:44:01 +00:00
Federico Mena Quintero 59fbfdcf67 0.3 - Federico 2000-04-20 18:43:15 +00:00
Federico Mena Quintero cfb9617b76 Add the image size to the window title.
2000-04-20  Federico Mena Quintero  <federico@helixcode.com>

	* window.c (window_open_image): Add the image size to the window
	title.

	* image-view.c (drag_to): New function to drag the image to a
	specified mouse position.
	(image_view_button_press): Handle button presses by initiating the
	drag.
	(image_view_button_release): Handler button releases by
	terminating the drag.
	(image_view_motion): Handle motion events by dragging the image.
2000-04-20 18:07:52 +00:00
Ville Hautamaki 960f82b0b9 Finnish update and also Finnish added to configure.in
(forgot, that from the last cvs commit).

Ville
2000-04-19 11:25:51 +00:00
Pablo Saratxaga 78d3805249 Added Catalan file 2000-04-18 19:10:53 +00:00
Fatih Demir 0b531d7cd4 Updated the Turkish translation 2000-04-18 11:34:53 +00:00
Michael Meeks 117d348036 RGBA bonobo print support. 2000-04-17 14:08:27 +00:00
Ville Hautamaki 259b8b622a First finnish translation by Jarkko Ranta
Ville
2000-04-17 10:39:48 +00:00
Federico Mena Quintero 3b87c96d2d Doh, call the parent class unrealize handler, not the unmap handler!
2000-04-14  Federico Mena Quintero  <federico@helixcode.com>

	* image-view.c (image_view_unrealize): Doh, call the parent class
	unrealize handler, not the unmap handler!  Another cut&paste bug.
2000-04-14 11:30:47 +00:00
Federico Mena Quintero 07cbb415f6 Some real work and some quick hacks to test the new scrolling/zooming
Some real work and some quick hacks to test the new scrolling/zooming
code.

2000-04-13  Federico Mena Quintero  <federico@helixcode.com>

	* image-view.c (image_view_size_allocate): Set the correct size
	for the window and recompute the adjustments.
	(paint_rectangle): The offset of the image with respect to the
	window is the negative of the adjustment offset.
	(image_view_destroy): Disconnect from the adjustments.
	(image_view_finalize): Unref the adjustments.  Free the private
	part of the ImageView structure here.
	(image_view_set_image): Queue a resize.  We still need to adjust
	or reset the scroll offsets.
	(image_view_set_zoom): Queue a resize.  We still need to re-center
	the zoom offsets.
	(adjustment_changed_cb): As a temporary solution, repaint the
	whole thing.  I need to finish uta_copy_area() for uta.c to be
	able to use gdk_window_copy_area() on the image window.

	* uta.c (uta_add_rect): Fixed computation of microtile
	coordinates.  Fixed a bunch of stupid off-by-one errors.
	(uta_remove_rect): Fixed computation of microtile coordinates and
	clipping coordinates.
	(uta_find_first_glom_rect): As a quick hack, use a bastardized
	version of art_rect_list_from_uta() to find the first glommed
	rectangle.  This will be replaced with a more efficient function
	in the future.
2000-04-13 19:22:05 +00:00
Michael Meeks f09c63c6ae Update for new bonobo-print API. 2000-04-13 18:37:38 +00:00
Dennis Smit 59fa974388 New Dutch translation.
2000-04-12  Dennis Smit <synap@area101.penguin.nl>

	* nl.po: New Dutch translation.
2000-04-12 18:47:49 +00:00
Darin Adler fa302def9e Update for new GdkPixbuf. 2000-04-11 14:51:54 +00:00
Fatih Demir 5fa1c11d10 Updated the Turkish translation 2000-04-10 15:33:33 +00:00
Michael Meeks 059c68013c Printing support; NB. This _requires_ a HEAD bonobo, with HEAD gnome-print
Printing support;
NB. This _requires_ a HEAD bonobo, with HEAD gnome-print support.
2000-04-09 17:06:43 +00:00
Pablo Saratxaga 7e76d7ddbe added Lithuanian strings to desktop file 2000-04-08 01:53:04 +00:00
Pablo Saratxaga 0efa3a0f3d added Lithuanian file 2000-04-07 09:48:22 +00:00
Dan Damian 677d83773e *** empty log message *** 2000-04-05 19:06:47 +00:00
Dan Damian c34b19b5a5 Added Romanian translation. 2000-04-05 19:05:05 +00:00
Darin Adler 3460538452 Fixed typos that prevent it from compiling. I guess this was a little
* uta.c (uta_remove_rect): Fixed typos that prevent it from
	compiling. I guess this was a little unintentional April Fool's
	joke from Federico :-)
2000-04-03 16:25:19 +00:00
Federico Mena Quintero 893200e78e This may not build. It will not work yet. I just want some safety for if
This may not build.  It will not work yet.  I just want some safety
for if my laptop's HD dies.

2000-04-01  Federico Mena Quintero  <federico@helixcode.com>

	* uta.[ch]: New files with utilities for manipulating microtile
	arrays.

	* image-view.[ch]: New files with the new image view widget.  We
	don't use the canvas anymore due to GtkLayout's lack of diagonal
	scrolling.  This widget uses a fancy method to pull out dirty
	rectangles from a microtile array, one by one, in the idle loop.
	This lets the user preempt the drawing process, say, when
	scrolling or zooming quickly.

	* ui-image.c (UIImagePrivate): Removed the canvas-related fields.
	Now we use an ImageView widget instead.  Modified all the
	functions to use this, and removed some old canvas-specific
	functions.

	* Makefile.am (eog_SOURCES): Added image-view.[ch] to the list of
	sources.  Removed image-item.[ch] and render.[ch]; we now use the
	GdkPixbuf scaling functions instead of our own.

	* Makefile.am (eog_SOURCES): Added uta.[ch] to the list of
	sources.

	* gnome-icon-item-factory.c (ii_factory_configure_item): Removed
	obsolete x_set and y_set arguments from the pixbuf canvas item.

	* *.[ch]: Use the gdk_pixbuf_get_*() accessor functions instead of
	accessing the GdkPixbuf's fields directly.
2000-04-01 22:15:53 +00:00
Michael Meeks 47709a2a61 Bump bonobo depend ver + add new properties stuff. 2000-04-01 20:42:54 +00:00
Michael Meeks c7ebc073ea Clean debug & spurious cast. 2000-04-01 19:02:13 +00:00
Christopher R. Gabriel 328b9a8200 fixed some stupid strings 2000-03-31 23:12:44 +00:00
Michael Meeks b3a7e6314c Make my bonobo component work. 2000-03-27 21:13:28 +00:00
ÉRDI Gergo c112b4585c Added Hungarian (hu) translation
* configure.in (ALL_LINGUAS): Added Hungarian (hu) translation
2000-03-26 15:12:07 +00:00
Michael Meeks 5bd4c3ec3a Hack for GUADEC, in fact this improves the range of images we can render. 2000-03-23 15:05:30 +00:00
Alastair McKinstry 21092d769d Irish translation 2000-03-11 22:42:09 +00:00
Michael Meeks a2345e3f98 minor style fixes. 2000-03-10 10:17:07 +00:00
Maciej Stachowiak b48691e12c Split embeddable:image-generic into two different views, one which always
* bonobo/bonobo-image-generic.c: Split embeddable:image-generic
	into two different views, one which always scales the image to
	available space, and one which always shows it at natural size and
	provides scrollbars if necessary.
	* bonobo/image-generic.gnorba (eog-image-viewer): new embeddable
	type, also generated from embeddable-factory:image-generic.
2000-03-07 23:19:24 +00:00
Federico Mena Quintero ad7036c9a2 We depend on Bonobo, too.
2000-02-26  Federico Mena Quintero  <federico@helixcode.com>

	* DEPENDS: We depend on Bonobo, too.
2000-02-28 03:00:53 +00:00
Christopher R. Gabriel 50849a353e Fixed italian translation 2000-02-26 03:03:44 +00:00
George Lebl d9204cc4c4 translate to czech
Mon Feb 21 22:19:15 2000  George Lebl <jirka@5z.com>

	* cs.po: translate to czech
2000-02-22 06:21:27 +00:00
Lauris Kaplinski a806237ec3 Added Estonian translation 2000-02-16 19:16:29 +00:00
Michael Meeks 139589d4c1 make 'animating' property work. 2000-02-15 22:39:23 +00:00
Vincent Renardias 838e52792f yet another green spot on the translation list...
* yet another green spot on the translation list...
2000-02-15 16:43:41 +00:00
Mathieu Lacage 0fa4177a10 Changelog, cvs shutup 2000-02-12 01:29:05 +00:00
Mathieu Lacage 9a830f9cbf change configure.in to check against bonobo 0.7 instead of 0.4 2000-02-12 01:26:42 +00:00
Spiros Papadimitriou d1be39f6d3 - Added Greek translation from Simos Xenitellis <simos@hellug.gr>
and updated ALL_LINGUAS.
2000-02-09 20:53:10 +00:00
Michael Meeks 10d6b7ebf9 Animator control now works for simple gifs. 2000-02-06 18:52:57 +00:00
Vincent Renardias 8150a8fdec Added french support.
* Added french support.
2000-01-31 14:07:32 +00:00
Michael Meeks 9d6178b03e first, extremely leaky, flakey, bug riddled version of the animator component. 2000-01-28 01:17:40 +00:00
Michael Meeks bc85302cac make it work with new bonobo & gdk-pixbuf. 2000-01-27 19:47:44 +00:00