📄 changelog
字号:
(zoom_region_priv_init): Init the paint_cursor_gc and crosswire_gc to NULL. (zoom_region_paint_cursor): Method-static GC here was wrong, it must be reinitialized on a per-region basis if the target display changes. (zoom_region_paint_crosswire_cursor): Method-static GC cache was a bad idea here too, see above. Fixes bug #149599. Removed some #ifdef XTST_CURSOR code that didn't work anyway; we don't need it now that we have XFIXES. 2004-08-16 Christian Rose <menthos@menthos.com> * configure.in: Added "bs" to ALL_LINGUAS.2004-08-16 Kjartan Maraas <kmaraas@gnome.org> * configure.in: Add nb to ALL_LINGUAS.2004-08-13 Gora Mohanty <gmohanty@cvs.gnome.org> * configure.in: Added "or" to ALL_LINGUAS.2004-06-15 Bill Haneman <billh@gnome.org> * magnifier/magnifier-main.c: (main): Only queue the global refresh if DAMAGE is not available. * magnifier/magnifier.h: (magnifier_source_has_damage_extension): New. * magnifier/damage-client.c: (magnifier_source_has_damage_extension): New, test for DAMAGE in source display. 2004-06-11 Bill Haneman <billh@gnome.org> * configure.in: Revved to 0.11.3. * magnifier/magnifier-main.c: Added is_override_redirect flag to MagnifierOptions. Initialized to '0'. Added --override-redirect commandline option. * magnifier/magnifier.h: (magnifier_new): Take a gboolean indicating whether the instance should be override-redirect or not. * magnifier/magnifier.c: Removed #define MAG_WINDOW_OVERRIDE_REDIRECT and related compile-time bracketing, replaced with override-redirect runtime flag. Added enum for WM_STRUT types. (magnifier_reset_struts_at_idle): New, called in idle handler after a window is created, to ensure that struts are set when appropriate. (magnifier_check_set_struts): Sets the _NET_WM_STRUT and _NET_WM_STRUT_PARTIAL properties on the magnifier window. Has no effect if the window is override-redirect. (magnifier_set_property): Call magnifier_check_set_struts when the source or target display, or target bounds, are changed. (impl_magnifier_add_zoom_region): Reset the struts when a zoom region is added. (magnifier_init_window): Register an idle handler to set the window struts. (magnifier_new): Take a boolean indicating whether the instance is override redirect or not. Attach to the size_allocate signal. (magnifier_size_allocate): New, reset struts when size changes. Fixes for bug #124690. * test/control-client.c: Added test "control-client T" for resizing the target bounds. 2004-05-27 Mohammad DAMT <mdamt@bisnisweb.com> * po/id.po: Added Indonesian translation done by Ahmad Riza H Nst <rizahnst@eriagempita.co.id> * configure.in: Added id to ALL_LINGUAS 2004-05-14 Bill Haneman <billh@gnome.org> * test/control-client.c: Add a test for cursor size, "control-client S". * magnifier/magnifier_transform_cursor: Ensure that size_y is initialized. Fix for #141503. * configure.in: Revved to 0.11.2. 2004-04-28 Bill Haneman <billh@gnome.org> * test/control-client.c: Added a test for magnifier color and scale factor, "control-client m". 2004-04-27 Bill Haneman <billh@gnome.org> * magnifier/magnifier.c: (magnifier_get_cursor): Remember to transform the cursor if we fall back to the 'default' cursor image and set. Fixes bug #141211. 2004-04-27 Bill Haneman <billh@gnome.org> * magnifier/magnifier.c: (magnifier_warp_cursor_to_screen): New method, ensures that pointer is on source display when source display is set by client. (magnifier_set_property): Call warp_cursor_to_screen when source is set.2004-04-14 Bill Haneman <billh@gnome.org> * cursors/1_32/Makefile.am: Added missing file. 2004-04-09 Guntupalli Karunakar <karunakar@freedomink.org> * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.2004-04-07 Bill Haneman <billh@gnome.org> Fixed border-color property (border-size is still broken). * magnifier/magnifier-main.c: Fix setting of smooth-scroll-policy and border-size. * magnifier/zoom-region.c: (zoom_region_paint_border): Reinstated. Fixed color creation (color RGB values are 16 bit) and allocate the color on the appropriate drawable. (zoom_region_get_property, zoom_region_set_property): Fix for smoothscroll and bordersize properties. 2004-04-07 Bill Haneman <billh@gnome.org> Big changes to cursor handling, to support cursor-change notifications from Xfixes. Fix for bug #104831. * Makefile.am: Added "cursors" to SUBDIRS. * configure.in: Revved to 0.11.1. Added AC_OUT targets cursors/Makefile and cursors/1_32 * magnifier/Makefile.am: Don't dist cursor data from here, dist from cursors subdir. * magnifier/magnifier-private.h: Changed private cursor_default_size to cursor_default_size_x/y, to support non-square cursors. Added "use_source_cursor" flag, and cursorlist hash table of named cursor pixbufs. * magnifier/magnifier.c: Include "config.h", and include Xfixes.h if HAVE_XFIXES is defined. Added statics for cursor_client_connection, fixes_event_base, fixes_error_base. (magnifier_set_cursor_from_pixbuf): New utility (from refactoring). (magnifier_free_cursor_pixels): Called when an XFixes cursor is destroyed. (magnifier_get_source_pixbuf): New, returns a GdkPixbuf which contains the current source display's cursor image, if XFixes is available. (magnifier_get_pixbuf_for_name): New, returns a named cursor pixbuf from a previously loaded cursor set. (magnifier_set_cursor_pixmap_by_name): New, either sets the cursor from a named pixbuf in a cursor set (if found), or resorts to the source image from Xfixes (if available), or else loads a cursor called "default". (magnifier_cursor_notify): New, gets called if/when events are received on the x connection on which XFixesSelectCursorNotify has been called (if Xfixes is available). (magnifier_cursor_notification_init): New, sets up the notification link from Xfixes, if available. (magnifier_set_expose_listener): Renamed to (magnifier_set_extension_listeners): added call to magnifier_cursor_notification_init (). (magnifier_recolor_pixbuf): Don't only recolor pure black pixels, recolor all those darker than "0x808080". (magnifier_transform_cursor): Allow non-square cursors. (magnifier_init_cursor): renamed to (magnifier_init_cursor_set): Initialize a whole hashtable of cursors whose names are taken from their filenames in a directory whose dirname corresponds to the cursor-set name. * magnifier/magnifier.h: Added cursor_size_x and cursor_size_y in place of "cursor_size". * magnifier/zoom-region.c: Removed some debug printfs. 2004-04-07 Bill Haneman <billh@gnome.org> * magnifier/magnifier.c: (magnifier_realize): Reversed incorrect sense of a #define regarding WM hints when gnome-mag is using OVERRIDE_REDIRECT. (magnifier_reparent_zoom_regions): New method, reparents zoom regions when target DISPLAY is changed. See bug #137105; re-targeting now preserves existing zoomers. (magnifier_init_window): Set window type to GTK_WINDOW_TOPLEVEL if compiled with MAG_WINDOW_OVERRIDE_REDIRECT undefined. * magnifier/zoom-region.c: (zoom_region_get_property, zoom_region_set_property): Added get/set for "is-managed" property. Fixed broken fall-through in BORDERCOLOR_PROP. Changed BORDERSIZE_PROP to LONG. Changed usage of "default_gc" to use "priv->default_gc". (zoom_region_private_init): Init priv->default_gc to NULL. * magnifier/zoom-region.h: Added "is_managed" boolean member. * magnifier/zoom-region-private.h: Added "default_gc" GdkGC* member. * test/control-client.c: Added tests for setting target and source displays. "s" changes source display, "t" changes target. Changed arg for 'resize' from "s" to "b" (mnemonic 'bounds). 2004-04-06 Bill Haneman <billh@gnome.org> * configure.in: Revved to 0.11.0. This is now the unstable (gnome-2.7) branch of gnome-mag. Added (non-fatal) checks for DAMAGE and XFIXES X extensions, and set HAVE_DAMAGE and HAVE_XFIXES accordingly. * idl/GNOME_Magnifier.idl: (markDirty): Clarified doc/comment, to indicate that markDirty's input region is clipped by the current target visibility. * magnifier/damage-client.[ch]: New files, to support notifications from the DAMAGE extension. * magnifier/Makefile.am: Added damage-client.[ch] to sources. Fixes bug #136635. * magnifier/magnifier-main.c: (magnifier_main_refresh_all): Changed reference to property "source-display-size" to "source-display-bounds". (main): Use bonobo_pbclient APIs for setting source and target display bounds. Set the source display bounds to halfscreen if we're started in splitscreen (vertical or horizontal) mode. * magnifier/magnifier.c: (magnifier_zoom_regions_mark_dirty): New internal method, sends dirty notification to all zoom regions. (magnifier_notify_damage): New, used to pass an XRectangle indicating a dirty region in the source display. (magnifier_expose_filter): Refactor to use magnifier_zoom_regions_mark_dirty. (magnifier_set_expose_listener): Also init the damage client when called. (magnifier_get_display_rect_bounds): New method to load a RectBounds from a magnifier's source or target display. (magnifier_init_display): New method, initializes the source or target display fields when a new display-name is passed in. (magnifier_exit): Moved this method. (magnifier_get_property): Changed implementation for SOURCE_SIZE_PROP and TARGET_SIZE_PROP to read from the stored value, rather than always returning the absolute bounds of the source/target display. (magnifier_set_property): Make SOURCE_SIZE_PROP and TARGET_SIZE_PROP read/write. Fixes bug #135409. Make sure to reset source/target bounds when resetting source or target display. * magnifier/magnifier.h: Added source_bounds to Magnifier struct. Added declarations for magnifier_notify_damage. 2004-03-22 Bill Haneman <billh@gnome.org> * configure.in: Revved to 0.10.10. This is the gnome 2.6.0 release of gnome-mag.2004-03-21 Mugurel Tudor <mugurelu@go.ro> * configure.in: Added "ro" to ALL_LINGUAS2004-03-20 Gareth Owen <gowen72@yahoo.com> * configure.in: Added en_GB to ALL_LINGUAS2004-03-17 Leonid Kanter <leon@asplinux.ru> * configure.in: Added "ru" to ALL_LINGUAS.2004-03-17 John C Barstow <jbarstow@cvs.gnome.org> * configure.in: Added "mi" to ALL_LINGUAS.2004-03-13 Danilo Segan <dsegan@gmx.net> * configure.in: Added "tk" to ALL_LINGUAS.2004-03-10 Alexander Winston <alexander.winston@comcast.net> * configure.in: Added en_CA to ALL_LINGUAS.2004-03-10 Bill Haneman <billh@gnome.org> * configure.in: (build fix) Don't check for XTST twice. 2004-03-07 Bill Haneman <billh@gnome.org> * configure.in: Revved to 0.10.8. Fix for builds with non-standard Xlib prefixes [Fernando Herrera, bug #130787]. * NEWS: updated.2004-03-04 Guntupalli Karunakar <karunakar@freedomink.org> * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.2004-03-03 Bill Haneman <billh@gnome.org> * magnifier/magnifier-main.c: Made smooth-scrolling on by default, since there is little performance difference on the platforms we've tested.2004-02-27 Paisa Seeluangsawat <paisa@users.sf.net> * configure.in: Added Thai (th) to ALL_LINGUAS.2004-02-24 Bill Haneman <billh@gnome.org> * configure.in: Revved to 0.10.7. * magnifier/magnifier.c: (magnifier_init_window): Make the toplevel magnifier window GTK_TYPE_POPUP as it should be override-redirect and should never be occluded or decorated. 2004-02-10 Tomasz K硂czko <kloczek@pld.org.pl> * magnifier/Makefile.am: fix for paralel build (make -j<N>). * configure.in: Trivial cleanup: remove AC_SUBST(CFLAGS), AC_SUBST(CPPFLAGS) and AC_SUBST(LDFLAGS). This variables are substed by default.2004-02-09 Bill Haneman <billh@gnome.org> * configure.in: Revved to 0.10.6. Re-dist to fix libtool problem. 2004-02-06 Robert Sedak <robert.sedak@sk.htnet.hr> * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.2003-01-08 Brian Cameron <Brian.Cameron@sun.com> * magnifier/zoom-region.c: Fix pan test so that it does not call zoom_region_process_updates if the delta is 0. This should fix the problem with Frame Rate being assigned unreasonable values. Also fixed the counter so it exits the pan test after the correct number of iterations.2003-01-06 Brian Cameron <Brian.Cameron@sun.com> * magnifier/zoom-region.c: Properly reset max totals.2003-12-20 Arafat Medini <lumina@silverpen.de> * configure.in: Added Arabic locale "ar" to ALL_LINGUAS
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -