⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 在Linux下实现magnification功能
💻
📖 第 1 页 / 共 5 页
字号:
	* configure.in: Added "fa" to ALL_LINGUAS.2003-02-20  Dmitry G. Mastrukov  <dmitry@taurussoft.org>	* configure.in: Added Belarusian to ALL_LINGUAS.2003-02-17 Bill Haneman <bill.haneman@sun.com>	Fixes for bugzilla #106304.		* magnifier/magnifier.c:	(magnifier_parse_display_name): Fixed silly error in 	parsing of screen_num.	(magnifier_realize): Changed references to 	gdk_x11_get_atom_by_name to gdk_x11_get_atom_by_name_for_display.	(magnifier_set_property):	Fixes so that magnifier's main GtkWindow is moved to the correct	target screen when the MAGNIFIER_TARGET_DISPLAY_PROP property	is set.2003-01-31 Bill Haneman <bill.haneman@sun.com>	* magnifier/magnifier_main.c:	(main):	Fixed magnifier's cursor-color property be use ulong.	(global_options):	Reverted the default cursor-set back to "default",	from "crosswire" (which doesn't exist).		* magnifier/magnifier.c:	(magnifier_set_property): 	Fixed bonobo-arg bug which was 	introduced/exposed by pbclient patch.	(magnifier_set_property): 	(magnifier_get_property): 	Revised use of cursor_color property to be a 	'proper' unsigned long.		(magnifier_init_cursor):	Restructured 'if' to squash occasional leak.	(magnifier_transform_cursor): Killed a debug printf.	* magnifier/crosswire-cursor.xmp:	Fixed bug in XPM input that resulted in wrong hotspot	visuals.	2003-01-27 Adi Dascal <ad@baum.ro>	* magnifier/cursors/*:	Modified *.xpm files so the cursors would be able to be coloured by	the current algorithm.	* magnifier/magnifier.c:	(magnifier_init_cursor): added a way to obtain the hotspots from the	    *.xpm cursor files, using a GdkPixbuf method.	* magnifier/crosshair-cursor.xpm,	* magnifier/default-cursor.xpm :	Added hotspot information inside the file.	* magnifier/magnifier-main.c:	Setting "cursor-set" property - added.2003-01-27  Pauli Virtanen  <pauli.virtanen@hut.fi>	* configure.in (ALL_LINGUAS): Added "fi" (Finnish).2003-01-23  Kjartan Maraas  <kmaraas@gnome.org>	* configure.in: Added GETTEXT_PACKAGE and ALL_LINGUAS.	2002-12-10  Michael Meeks  <michael@ximian.com>	* magnifier/magnifier.c (magnifier_do_dispose): split.	(magnifier_gobject_dispose, impl_magnifier_dispose): upd.	* magnifier/zoom-region.c (zoom_region_do_dispose):	split & protect from double disposes.	(impl_zoom_region_dispose, zoom_region_dispose): use it.2002-12-09  Michael Meeks  <michael@ximian.com>	* magnifier/zoom-region.c (zoom_region_paint_cursor),	(zoom_region_calculate_scroll_rects),	(zoom_region_scroll_smooth): exit if we don't have drawable.	* magnifier/magnifier.c (magnifier_get_type): kill.	(magnifier_new): upd.	(impl_magnifier_dispose): upd.	(impl_magnifier_create_zoom_region): plug leak.	(magnifier_properties_init): don't leak default args	on properties that are non-writeable.	* magnifier/magnifier-main.c	(magnifier_main_test_image): make test_i_foo a	local static at least.	* magnifier/zoom-region.c	(impl_zoom_region_set_mag_factor): dup/ref pb.	(zoom_region_update_pointer_timeout): remove evil	check for ->priv == 0xaaaaaaa ie. what might be	in freed memory if you're lucky.	(zoom_region_class_init): use GObject dispose,	not the epv version.	(zoom_region_dispose): fix several evilnesses.	(zoom_region_get_type): kill.	(zoom_region_finalize): chain to parent.	(zoom_region_get_source_subwindow): bin ugly static we	re-allocate each time anyway.	(impl_zoom_region_dispose): for compat, just do	an unref.	calm compile warnings, kill PropData, PropIdx	* magnifier/magnifier.c (impl_magnifier_create_zoom_region),	(impl_magnifier_get_properties): dup/ref/rel/unref the pb.	* magnifier/magnifier-main.c (main): re-write to	use bonobo_pbclient stuff.	(magnifier_main_refresh_all): release/unref the pb.	* magnifier/zoom-region.c (impl_zoom_region_dispose):	don't g_idle_remove_by_data 3 times.2002-11-12  Bill Haneman <bill.haneman@sun.com>	Fixes for bugzilla 95942 and 98236.	* magnifier/magnifier-private.h:	Added cursor_default_size member.	* magnifier/magnifier.c:	(magnifier_transform_cursor):	Changed to resize with respect to cursor default size, 	instead of cursor's *current* size. [98236]	* magnifier/zoom-region.c:	(zoom_region_queue_update):	Add zoom_region_process_updates as an idle handler	on receipt of an update to queue (rather than running the	idle handler continuously).	(zoom_region_update_pointer):	Fixed to correctly detect when the zoom_region has been 	destroyed, and return FALSE then.	(zoom_region_update_pointer_idle):	Changed to queue a timeout-based pointer query and return	FALSE if the pointer has stopped moving, otherwise keep spinning the idle	handler. [95942]	(zoom_region_update_pointer_timeout):	Reinstate this function and queue an idle handler if the pointer	has moved since the last timeout, which spins until the pointer	gets quiet.	(zoom_region_init): Changed to queue a timeout rather than	an idle handler for the pointer update.	(zoom_region_finalize):	Do useful freeing of memory instead of just doing nothing ;-)	stops massive memory leakage if multiple zoomers are created/destroyed.2002-10-24  Bill Haneman <bill.haneman@sun.com> 	* acconfig.h: Added this missing file, with	template for HAVE_XFT.2002-10-22  Bill Haneman <bill.haneman@sun.com>	* magnifier/magnifier.h:	Add a #define for the OAFIID string.	Fixed type in the IS_MAGNIFIER() macro.	* magnifier/magnifier.c:	(magnifier_gobject_dipose):	Create this method from impl_magnifier_dispose;	Fix a race condition in magnifier destruction.	Removed the unref() of the property bag, this happens	automatically on object disposal because of the way property bag	is declared (bonobo_property_bag_new_closure).	(magnifier_class_init):	Add the gobject dispose handler.	* test/mag-test.c:	(get_magnifier): Change so that varible "magnifier" is not	shadowed, and to avoid the peculiar declaration of "static"	variables within a method block.	* magnifier/magnifier-main.c:	(magnifier_main_pan_all) (magnifier_main_refresh_all)	Added guards for the timeout methods, to make sure the object	hasn't been disposed when the timeout is called.	(main):	Added calls to g_timeout_remove() for the timers.2002-10-21  Bill Haneman <bill.haneman@sun.com>	* configure.in: Test for XTst and locate it if available.	* magnifier/magnifier-main.c: 	(MagnifierOptions) (main): Add code to set cursor-color.		* magnifier/magnifier.c:	(magnifier_scale_cursor): renamed "magnifier_transform_cursor".	Added code to recolor the magnifier cursor's "black" pixels, if	a cursor color has been specified.	(magnifier_recolor_pixbuf) : New method, to support cursor color.	(magnifier_set_property) (magnifier_get_property) : Cursor-color	fixes.	* magnifier/zoom-region.c:	Added #includes of XTest.h and X11/cursorfont.h.	(_get_x_cursors) : New method to grab X cursor set.	(zoom_region_source_root) : Get the root source GdkWindow.	(zoom_region_update_pointer) : Add code to check the	current X cursor, using XTest.  Does not seem to work reliably,	#defined out via TEST_XTST_CURSOR block.	2002-10-18  Bill Haneman <bill.haneman@sun.com>	* cursors/1_32/*.xpm:	* cursors/1_48/*.xpm:	* cursors/1_64/*.xpm:	Added a number of new cursors, courtesy of BAUM.  They aren't	available via the "cursor-set" API yet, but will be.	2002-10-18  Bill Haneman <bill.haneman@sun.com>	* magnifier/magnifier-main.c:	(MagnifierOptions):	Fixed incorrect type of cursor_scale_factor popt 	struct member.		* magnifier/magnifier.c:	(magnifier_properties_init): 	Fixed naming bug, "cursor-scale-factor" was incorrectly	referred to as "cursor-mag-factor".		* magnifier/zoom-region.c:	Stifled some debug printfs.	(magnifier_set_property) : Fixed bug when setting "smoothing-type"	property to "none"; we now revert to NEAREST_NEIGHBOR	interpolation.		2002-10-17  Bill Haneman <bill.haneman@sun.com>	* idl/GNOME_Magnifier.idl:	Added struct Point (GNOME_Magnifier_Point).	* magnifier/magnifier.c:	(PropIdx): Added	MAGNIFIER_CURSOR_COLOR_PROP,	MAGNIFIER_CURSOR_HOTSPOT_PROP,	MAGNIFIER_CURSOR_DEFAULT_SIZE_PROP,	MAGNIFIER_CROSSWIRE_SIZE_PROP,	MAGNIFIER_CROSSWIRE_CLIP_PROP,	MAGNIFIER_CROSSWIRE_COLOR_PROP	(magnifier_regions_refresh_cursor): Removed.	(magnifier_scale_cursor): Changed to use new properties.	(magnifier_init_cursor): Initial code for recoloring cursor	pixmaps (non-functional).	(magnifier_get_property) (magnifier_set_property)	(magnifier_init): 	Added support for new properties.	(magnifier_set_pointer): Removed.	* magnifier/magnifier-private.h 	* magnifier/magnifier.h:	Added members for new property support.		* magnifier/zoom-region.c:	(zoom_region_cursor_rect):	(zoom_region_paint_cursor):	(zoom_region_unpaint_cursor):	(zoom_region_paint_crosswire):	(zoom_region_unpaint_crosswire):	Major changes to cursor drawing, to support new features.	Crosswire now can draw XOR, colored lines/rects, and	can be clipped by the cursor's rectanglar bounds if 	desired.	(zoom_region_update_cursor_pos):	(zoom_region_update_cursor):	(zoom_region_update_pointer):	New functions for cursor tracking and updating.	(zoom_region_update_pointer_idle): GIdleFunc for checking the	pointer position.	(zoom_region_moveto): update the pointer before scrolling.		2002-10-16  Bill Haneman <bill.haneman@sun.com>		* magnifier/zoom-region.c:	(zoom_region_update_pointer) (zoom_region_update_pointer_timeout) 	(zoom_region_update_pointer_idle) : New methods, for making sure	the displayed cursor position in the magnifier is current.	(impl_zoom_region_dispose): call g_idle_remove_by_data more than	once.	(zoom_region_init) : Add the idle func for checking the mouse	position.		(zoom_region_paint_*): Change the second GdkRectangle param to a	pointer.	(zoom_region_paint_cursor): Don't bother clipping if the second	parameter is NULL.	(zoom_region_paint_crosswire_cursor) (zoom_region_cursor_rect): 	Don't use the magnifier->priv->cursor_x, etc. positions, 	ask for the current mouse coords from GDK when painting the	cursor.	* magnifier/magnifier.c:	(magnifier_set_cursor): Don't force refresh of the zoom regions	anymore, they are now responsible for their own mouse coord finding.	* magnifier/magnifier-main.c:	(magnifier_main_pan_image): Revert the change from last night	which forcibly updated the mouse coords; zoom regions are now	responsible for doing this themselves.  	(This is much more performant).	2002-10-15  Bill Haneman <bill.haneman@sun.com>	* magnifier/magnifier.h:	(magnifier_set_pointer): New method.	* magnifier/magnifier-main.c:	(magnifier_main_pan_image): Changed to check the mouse and	call magnifier_set_pointer() whenever it moves, even if "mouse	tracking" is not on; this means that the zoom-regions accurately	reflect the pointer position.  However latency is too big, this is	a temporary fix and a more performant one is expected.	* magnifier/magnifier.h:	Added a gboolean "crosswire" member to the struct, to facilitate	simultaneous crosswire+normal cursor.	* magnifier/magnifier.c:	(magnifier_set_pointer): New method.	(magnifier_regions_refresh_cursor): New internal method (possibly	temporary).	(magnifier_get_cursor): Changes to support simultaneous crosswire	and 'normal' cursors. (Not yet complete).	* magnifier/zoom-region.c:	(zoom_region_paint_cursor): Changes to draw a "normal" cursor only	if there is a valid GdkDrawable for it in the magnifier private	structs.  This prevents error messages being printed for	cursor-set="none".	2002-10-15  Bill Haneman <bill.haneman@sun.com>	* magnifier/magnifier.c:	(#include): added #include of <X11/Xatom.h>.	(magnifier_realize): Set the WM_TYPE of the magnifier	toplevel window to _WM_TYPE_DOCK; this will work OK until the	Metacity RFE for a new WM type (for special, always-always-on-top	windows) goes in.	(magnifier_unref_zoom_region): Commented-out cast of user_data to	"Magnifier" since we don't use it yet.	2002-10-14  Bill Haneman <bill.haneman@sun.com>	* test/control-client.c:	New file, exercises a couple of simple pieces of control API for a	running magnifier instance.	* test/mag-test.c:	New file; tests a new or running magnifier by clearing all zoom	regions and creating four new ones with various parameter	settings.  NOTE: If the pre-existing magnifier is tracking the mouse,	the resulting test will, too.	* idl/GNOME_Magnifier.idl:	Renamed method "resize" to "moveResize".	* magnifier/GNOME_Magnifier.server.in.in:	Fixed brokenness in the .server file, in terms of 	namespace and versioning.		* magnifier/Makefile.am:	Removed reference to removed file "mag_control.c".		* magnifier/magnifier-main.c:		(magnifier_main

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -