2015-11-09  Dan Espen  <despen@verizon.net>

	* fvwm/add_window.c (interpolate_titleformat_name): Fix array bounds
	error.  sprintf transfers a trailing null so buffer has to be size + 1.

2014-12-28  Thomas Adam  <thomas@fvwm.org>
	* libs/Fft.c (FftGetFont):
	Fix previous; resinstate erronous removal of variable.

2014-12-27  Thomas Adam  <thomas@fvwm.org>
	* libs/Fft.c (FftGetFontWidths, FftGetRotatedFont, FftGetFont):
	Fix compiler warnings

2014-12-26  Thomas Adam  <thomas@fvwm.org>
	* fvwm/ewmh_events.c (ewmh_WMStateSticky):
	Fix EWMH sticky message to handle toggle/remove
	This wasn't being unset at all in the case where toggle or remove was
	explicitly requested in the EWMH-mesage.

2014-09-21  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/events.c (dispatch_event):
	Ignore window events other than DestroyNotify when the window is being
	destroyed.

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/ewmh_events.c (ewmh_RestackWindow, ewmh_MoveResizeWindow):
	* fvwm/events.c (events_handle_configure_request):
	(test_resizing_event):
	(_pred_merge_cr):
	(_cr_detect_icccm_move):
	(HandleConfigureRequest):
	(_handle_cr_on_client):
	(_handle_configure_request):
	(_handle_cr_on_unmanaged):
	(_handle_cr_on_icon):
	(_handle_cr_on_shaped):
	(_handle_cr_restack):
	(_merge_cr_moveresize):
	Dramatically improved speed of configure request merging.

	* fvwm/events.c (_handle_cr_on_client, __handle_cr_on_client):
	(_handle_configure_request, __handle_configure_request):
	(_handle_cr_on_unmanaged, __handle_cr_on_unmanaged):
	(_handle_cr_on_icon, __handle_cr_on_icon):
	(_handle_cr_on_shaped, __handle_cr_on_shaped):
	(_handle_cr_restack, __handle_cr_restack):
	(_cr_get_static_position, __cr_get_static_position):
	(_cr_get_grav_position, __cr_get_grav_position):
	(_cr_detect_icccm_move, __cr_detect_icccm_move):
	(_merge_cr_moveresize, __merge_cr_moveresize):
	Renamed functions

	* libs/FEvent.c (_fev_pred_weed_if_finish):
	(_fev_pred_weed_if):
	Use FEV_INVALIDATE_EVENT().

	* libs/FEvent.h (FEV_INVALIDATE_EVENT):
	New helper macro

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* configure.ac:
	* libs/FEvent.h (XGetSizeHints):
	fix compile errors

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/add_window.c (GetWindowSizeHintsWithCheck):
	* libs/WinMagic.c (SlideWindow):
	Use FGetWMNormalHints

	* libs/FEvent.c (fev_sanitize_size_hints):
	(FGetWMNormalHints):
	* libs/FEvent.h:
	new functions

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/events.c (__merge_cr_moveresize):
	(__handle_configure_request):
	Sanitise the geometry in ConfigureRequest events before using them.
	(SendConfigureNotify):
	Sanitise the geometry in ConfigureNotify events before sending them.

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* libs/FEvent.h:
	* libs/FEvent.c (fev_sanitise_configure_request)
	(fev_sanitise_configure_notify):
	New utility functions

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* libs/FEvent.h:
	* libs/FEvent.c (FCheckWeedTypedWindowEvents, FWeedTypedWindowEvents):
	* fvwm/icons.c (DrawIconWindow):
	(DrawIconWindow):
	* fvwm/menus.c (__mloop_do_popup):
	(select_menu_item):
	Replace unused last argument from FWeedTypedWindowEvents and replace it
	with a pointer to store the last matched event.  Renamed the function
	too.

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/events.c (MAX_NUM_WEED_EVENT_TYPES):
	(NUM_EVENTS_TO_PEEK):
	(_weed_event_type_arg):
	(_weed_window_mask_events_arg):
	(_pred_weed_accumulate_expose):
	(_pred_weed_handle_expose):
	(_pred_weed_event_type):
	(_pred_flush_property_notify_weed, HandlePropertyNotify)
	(__merge_cr_moveresize, HandleReparentNotify, HandleEvents):
	(flush_accumulate_expose):
	(handle_all_expose):
	(discard_typed_events):
	(flush_property_notify_stop_at_event_type):
	(discard_events):
	Rewrite event discarding code.

	* fvwm/events.c (flush_expose):
	(discard_window_events):
	(check_for_another_property_notify):
	Removed obsolete functions.

	* fvwm/events.c (_pred_button_click, __predicate_button_click):
	(_pred_flush_property_notify_weed, test_typed_window_event):
	(discard_typed_events, discard_events):
	Renamed functions

	* fvwm/events.h:
	Deleted and renamed some interfaces.
	(flush_property_notify_args):
	(test_typed_window_event_args):
	Renamed structure

	* fvwm/add_window.c (do_recapture):
	When reparenting fails, throw away only window events, not all events.

	* fvwm/virtual.c (HandlePaging):
	* fvwm/move_resize.c (InteractiveMove):
	(__resize_window):
	* fvwm/menus.c (select_menu_item):
	(__mloop_do_popup):
	(_pred_menu_window_weed_events):
	(menu_tear_off):
	* fvwm/icons.c (DrawIconWindow):
	* fvwm/ewmh_events.c (EWMH_ProcessPropertyNotify):
	* fvwm/add_window.c (do_recapture):
	Adapt to new event discarding code.

	* fvwm/fvwm.c (main):
	Call fev_init_invalid_event_type(KeymapNotify)

2014-09-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* libs/FEvent.h (FEV_IS_EVENT_INVALID):
	(FEV_HAS_EVENT_WINDOW):
	(fev_is_invalid_event_type_set):
	(fev_invalid_event_type):
	New helper macros and globals that are used in the macros

	* libs/FEvent.c (fev_init_invalid_event_type):
	(WeedIfEvents):
	(FWeedIfWindowEvents):
	(FWeedTypedWindowEvents):
	(_fev_weed_args, _fev_pred_weed_if):
	New library functions to allow weeding unwanted events from the input
	queue.

	* libs/FEvent.c (_fev_pred_check_peek):
	(_fev_check_peek_args):
	(FCheckPeekIfEvent):
	Rewritten

	* libs/FEvent.c (FCheckPeekIfEventWithLimit):
	Removed obsolete function.

	* libs/FEvent.c (_fev_check_peek_args, fev_check_peek_args):
	(_fev_pred_check_peek, fev_check_peek_pred):
	Renamed

	* libs/FEvent.c (fev_check_peek_invalidate_args):
	Removed unused struct

2014-09-19  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/events.c (HandleReparentNotify):
	if reparenting fails, only throw away events for the frame window, not
	_all_ events

2014-09-19  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/add_window.c (GetWindowSizeHintsWithCheck):
	fix uninitialised zero fw->orig_hints.width/height_inc

2014-09-15  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/ewmh_events.c (EWMH_ProcessPropertyNotify):
	* fvwm/events.c (HandlePropertyNotify):
	(check_for_another_property_notify):
	* fvwm/events.h:
	Rename flush_property_notify to check_for_another_property_notify and
	use it everywhere.  The new function can be limited to looking for the
	wanted PropertyNotify event only near the beginning of the queue.  This
	prevents that flushing the queue recursively may take a long time if
	the queue ist long.  Matching events at the start of the queue are
	dropped, and if one is found further inside the queue, it's position is
	returned without doing anything else

	* libs/FEvent.h:
	* libs/FEvent.c (struct fev_check_peek_args):
	(fev_check_peek_pred):
	(FCheckPeekIfEventWithLimit):
	(FCheckPeekIfEvent):
	New function FCheckPeekIfEventWithLimit(), use it from
	FCheckPeekIfEvent

2014-09-15  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/frame.c (get_resize_decor_gravities_one_axis):
	fix warnings

2014-09-14  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/events.c (HandlePropertyNotify):
	* fvwm/add_window.c (GetWindowSizeHintsWithCheck):
	(GetWindowSizeHints):
	(is_geometry_valid_with_new_hints):
	* fvwm/add_window.h (CaptureAllWindows):
	Ignore new WmNormalHints if they would make the window's current
	geometry (or its normal geomatry in case it is maximized) invalid.  In
	that case, the hints are applied when the window generates a
	ConfigureRequest event.

2014-09-12  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/functions.c (__execute_function):
	Treat resizemaximize command like resizemovemaximize

2014-09-11  Thomas Adam  <thomas@fvwm.org>
	* fvwm/bindings.c (active_modifiers):
	* fvwm/bindings.h:
	* fvwm/events.c (__handle_bpress_on_managed):
	* fvwm/events.c (HandleButtonPress):
	Revert:  "Update passive grabs tracking modifiers"

2014-09-09  Thomas Adam  <thomas@fvwm.org>
	* fvwm/move_resize.c (GetResizeArguments):
	Cleanup temp variable handling

2014-09-09  Thomas Adam  <thomas@fvwm.org>
	* fvwm/move_resize.c (GetResizeArguments):
	Fix direction option parsing

	Don't throw away additional options to the Direction command of Resize.

2014-09-02  Thomas Adam  <thomas@fvwm.org>
	* fvwm/bindings.c (active_modifiers):
	* fvwm/bindings.h:
	* fvwm/events.c (__handle_bpress_on_managed):
	* fvwm/events.c (HandleButtonPress):
	Update passive grabs tracking modifiers

	In the case of GTK's link widget which doesn't handle passive grabs
	following FVWM's window bindings (which assumes the underlying
	application can handle a PointerReplay), update the grabs in this
	context by always ungrabbing the button and grabbing it for modifiers
	other than ALL_MODIFIERS.

2014-09-02  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/builtins.c (CMD_Wait):
	fixed a memory leak

2014-08-28  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/menus.c (get_menu_options):
	Fixed negative coordinate handling of the "rectangle" menu command
	option.

2014-08-24  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/move_resize.c (GetResizeArguments):
	code cleanup

	* fvwm/virtual.c (get_page_arguments): Fix nodesklimity option of
	GotoPage.

2014-08-20  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/menus.c (last_saved_pos_hints): Do not initialize structure at
	all, the old initialization was buggy anyway and wrote only zeros.

2014-08-16  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/functions.c (__execute_function):
	Properly handle the has_ref_window_moved flag for ResizeMove and
	ResizeMoveMaximize

2014-08-13  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/move_resize.c (GetResizeArguments)
	(ParseOneResizeArgument):
	new suffixes 'wa' and 'da' for resize arguments to reference the width
	or height of the ewmh working area or ewmh synamic working area.

	* fvwm/expand.c (function_vars):
	(extended_vars):
	(expand_vars_extended):
	New extended variables $[wa.x/y/width/height] and
	$[dwa.x/y/width/height] that retrieve the geometry of the ewmh working
	area or ewmh dynamic working area

	* fvwm/frame.c (__frame_setup_window):
	Only broadcast M_CONFIGURE_WINDOW when the window geometry changes.
	* fvwm/move_resize.c (__resize_window):
	Suppress duplicate M_CONFIGURE_WINDOW broadcasts when the window is
	resized.

2014-08-11  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* NEWS: Update for IconAndSelect... options in FvwmIconMan

2014-08-10  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* INSTALL.fvwm:
	updated install location of man pages

2014-08-01  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/builtins.c (CMD_Beep):
	removed debug code

2014-07-31  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/icons.c (GetIconPicture):
	(ChangeIconPixmap):
	* fvwm/events.c (HandlePropertyNotify):
	fixed compile errors in ICON_DBG macros

2014-07-04  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/ConfigFvwmDefaults:
	Use "WarpToWindow !raise" in WindowListFunc.

	* fvwm/focus.c (warp_to_fvwm_window):
	(CMD_WarpToWindow):
	Implement options "!raise" and "raise" for WarpToWindow

2014-06-28  Thomas Adam <thomas@fvwm.org>
	* Makefile.am:
	* bin/Makefile.am:
	* debian/Makefile.am:
	* doc/Makefile.am:
	* doc/commands/Makefile.am:
	* doc/docbook-xml/Makefile.am:
	* doc/docbook-xml/ent/Makefile.am:
	* doc/docbook-xsl/Makefile.am:
	* doc/docbook-xsl/common/Makefile.am:
	* doc/docbook-xsl/highlighting/Makefile.am:
	* doc/docbook-xsl/html/Makefile.am:
	* doc/docbook-xsl/lib/Makefile.am:
	* doc/docbook-xsl/manpages/Makefile.am:
	* doc/docbook-xsl/profiling/Makefile.am:
	* doc/fvwm/Makefile.am:
	* doc/images/Makefile.am:
	* doc/images/svg_rendering/Makefile.am:
	* doc/modules/Makefile.am:
	* doc/modules/images/Makefile.am:
	* doc/modules/images/FvwmTabs/Makefile.am:
	* docs/Makefile.am:
	* fvwm/Makefile.am:
	* libs/Makefile.am:
	* perllib/Makefile.am:
	* perllib/FVWM/Makefile.am:
	* perllib/FVWM/Module/Makefile.am:
	* perllib/FVWM/Tracker/Makefile.am:
	* perllib/General/Makefile.am:
	* po/Makefile.am:
	* rpm/Makefile.am:
	* sample.fvwmrc/Makefile.am:
	* tests/Makefile.am:
	* tests/hints/Makefile.am:
	* utils/Makefile.am:
	Autotools:  INCLUDES macro deprecated.  Renamed to AM_CPPFLAGS

2014-04-05 Stephen Dennison <stephenrd(at)gmail(dot)com>
	* doc/fvwm/description.xml:
	fixed minor grammatical errors

2014-02-28  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/geometry.c (get_shaded_geometry):
	Reduce corner shaded windows to a square twice the border size.

2014-02-11  Dan Espen  <despen@verizon.net>

	* libs/Colorset.c (SetWindowBackgroundWithOffset): Fix XGetGeometry
	fix type-punned warnings.
	* libs/Colorset.h: Fix prototype.

2014-01-13  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/move_resize.c (__move_loop):
	Use XFlush after handling MotionNotify events to make sure any uncovered
	windows get their Expose events.

2013-12-19  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/menubindings.c (menu_binding):
	Use new signature of CollectBindingList
	* fvwm/bindings.c (ParseBinding):
	Cleaned up some code
	Do not remove window specific bindings that are still needed for other
	windows.
	* libs/Bindings.h (CollectBindingList):
	Added ret_are_similar_bindings_left
	* libs/Bindings.c (CollectBindingList):
	indicates whether similar bindings are left, i.e. bindings that differ
	in window name only
	(replacesBinding, compare_bindings):
	Renamed function, returns 2 if bindings only differ in window name

2013-11-09  Dan Espen  <despen(at)1verizon.net>

	* fvwm/events.c (HandlePropertyNotify): Disable prior fix suspected of causing
	problems.

2013-09-16  Thomas Adam <thomas@fvwm.org>
	* fvwm/add_window.c (interpolate_titleformat_name):
	Don't crash looking for a non-existent icon name for a window which
	doesn't have one set.

2013-06-24  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/move_resize.c (CMD_Maximize):
	"Maximize forget" does nothing if the window is not maximized

2013-06-14  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/move_resize.c (__move_loop, DoSnapAttract, update_pos):
	clean up formatting
	do not snap to windows that are off screen
	do not use EdgeMoveResistance unless the window is partially off screen
	fix jumping windows caused by bad faked events
	simplify and stabilize the snapping algorithm

2013-06-12  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/screen.h (ScreenInfo):
	* fvwm/fvwm.c (main):
	* fvwm/frame.c (frame_free_move_resize_args):
	* fvwm/focus.h (FOCUS_SET, FOCUS_RESET):
	* fvwm/focus.c (_focus_set, _focus_reset, __set_focus_to_fwin)
	(focus_force_refresh_focus):
	* fvwm/events.c (__refocus_stolen_focus_win, HandleEnterNotify)
	(HandleFocusIn):
	* fvwm/add_window.c (adjust_fvwm_internal_windows):
	globally active windows cannot steal the focus if the style disallows
	programs to take focus

2013-05-07  Thomas Adam <thomas@fvwm.org>
	* libs/Fsvg.h:
	Only include <rsvg-cairo.h> for versions of librsvg prior to 2.36.2

2013-05-01  Dan Espen  <despen@verizon.net>

	* configure.ac (FVWM_PERLLIB): Add es to ALL_LINGUAS.

2013-04-24  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/misc.c (fvwm_msg):
	* libs/fsm.c (FreeAuthenticationData, SetAuthentication):
	* libs/Module.c (SendText):
	* libs/PictureImageLoader.c (PImageLoadPng):
	fix warnings about ignored function return code

2013-04-14  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/module_interface.c (module_input_execute):
	fix execflags not being used

2013-04-14  Dominik Vogt  <dominik(dot)vogt(at)gmx(dot)de>

	* fvwm/move_resize.c (CMD_Maximize):
	introduce option "forget" to the Maximize command

2013-04-17  Thomas Adam <thomas@fvwm.org>
	* fvwm/misc.c (fvwm_msg):
	Send ERROR statements to STDERR as well as broadcasting these to
	modules.

2013-04-16  Thomas Adam <thomas@fvwm.org>
	* fvwm/builtins.c (CMD_Echo):
	Fix calling invocation of fvwm_msg().
	* fvwm/misc.c (fvwm_msg):
	Restructure message types and allow for variadic Echo.

2013-04-13  Dan Espen  <despen@verizon.net>

	* NEWS: Update for EnvMatch InfoStore.
	* fvwm/conditional.c (CMD_Test): Add support in EnvMatch for infostore variables.

2013-02-21  Dan Espen  <despen@verizon.net>
	* configure.ac (FVWM_PERLLIB): Add ru to ALL_LINGUAS.

2013-02-04  Thomas Adam  <thomas@fvwm.org>
	* fvwm/frame.c (frame_free_move_resize_args):
	Imply Lenience focus when trying to focus frame.

	This works around a Java 7 issue were the frame window removes input
	focus from the client window.  In such cases Lenience should be set
	on that window anyway, so only do this when that is set.

2013-02-03  Thomas Adam  <thomas@fvwm.org>
	* configure.ac:
	Swap order of arguments in fvwm_KeycodeToKeysym()

2013-01-23  Dan Espen  <despen@verizon.net>

	* libs/Flocale.c (FlocaleFreeNameProperty):
	* fvwm/events.c (HandlePropertyNotify): Unknown->Untitled.

2013-01-22  Thomas Adam <thomas@fvwm.org>
	* libs/Fsvg.h:
	Handle deprecation of rsvg_init()

	Since version 2.36, rsvg_init() has been deprecated in favour of
	g_type_init(); therefore we should use this.

2013-01-22  Thomas Adam <thomas@fvwm.org>
	* fvwm/builtin.c (CMD_Echo):
	* fvwm/misc.c (fvwm_msg):
	* fvwm/move_resize.c (CMD_SnapAttraction, CMD_SnapGrid):
	* fvwm/virtual.c (CMD_EdgeResistance):
	* libs/FRenderInit.c (FRenderGetErrorText):
	Comply with Debian's hardening rules.

	Debian's policy of what's considered "fit for purpos" for inclusion in
	its repositoy of packages says that all compiled programs must pass the
	following:

	CFLAGS="-I/usr/local/include -g -O2 -fstack-protector \
			--param=ssp-buffer-size=4 -Wformat -Werror=format-security" \
	LDFLAGS="-L/usr/local/lib"

	http://wiki.debian.org/HardeningWalkthrough

2013-01-20  Dan Espen  <despen@verizon.net>

	* libs/Flocale.c (FlocaleFreeNameProperty): Don't XFree "Unknown".
	* fvwm/events.c (HandlePropertyNotify): Comment about how new_name is initialized.

2013-01-20  Dan Espen  <despen@verizon.net>

	* libs/FlocaleCharset.c: spelling-error-binary patch
	from Vincent W. Chen Lintain Debian.

2012-07-30  Dan Espen  <despen@verizon.net>

	* NEWS: Added FvwmForm Separators,
	fvwm-desktop-menu fixes.

2012-06-22  Dan Espen  <despen@verizon.net>

	* configure.ac: Set variables for python.

2012-06-16  Thomas Adam  <thomas@fvwm.org>
	* configure.ac:
	* libs/Bindings.c (AddBinding):
	* fvwm/builtins.c (FkeysymToKeycode):
	* fvwm/events.c (__handle_key):
	Add detection of XKeycodeToKeysym as deprecated, and provide a wrapper
	for it by way of fvwm_KeycodeToKeysym() to call the newer
	XkbKeycodeToKeysum() where needed.


2012-05-04  Thomas Adam  <thomas@fvwm.org>
	* libs/PictureImageLoader.c (PImageLoadSvg, PimageLoadXpm,
	  PImageLoadPng):
	  Fix compilation errors.

2012-05-02  Thomas Adam  <thomas@fvwm.org>
	* fvwm/menu.c ( __scan_for_pixmap):
	* libs/PictureImageLoader.c (PImageLoadSvg, PimageLoadXpm,
	  PImageLoadPng):
	Add fvwm_msg() for hints about failed image load.

2012-04-20  Thomas Adam  <thomas@fvwm.org>
	* NEWS:
	* configure.ac:
	Updated for 2.6.6 (CVS HEAD)

