2002-11-27 Tim Stadelmann * backend/rcfile.c: Move the definition of RCFILE to this file and use it instead of the user-configurable variable. * backend/hotswap.c: Remove the option for the user to change the location of the resource file. For security reasons, this is NOT sensible for a production version! 2002-08-25 Tim Stadelmann * motif-frontend/xhotswap.c (main): Added missing call to setlocale. Documentation changes. 2002-08-18 Tim Stadelmann * motif-frontend/xhotswap.c (call_backend): Allow for more than one line of output from the backend. Only the last line is used. * Extensive changes to the build system, which now uses a deep layout. 2002-07-31 Tim Stadelmann * rcfile.c: Included hotswap.h. Print the program name and error messages from the system database where appropriate. * hotswap.c: Bundled controller, nocheck, and verbose in a struction settings_t. Made the path of the resource file a command line option. Documentation changes. * xhotswap.c: Replaced struct settings_s with settings_t. * hotswap.h: New file. 2002-07-22 Tim Stadelmann * rcfile.c (init_rcfile): Added creation of a descriptor for use with iconv. * rcfile.c (run_script): Added conversion of the script from UTF-8 to the currently selected coding system. 2002-07-20 Tim Stadelmann * hotswap.c: Documentation changes. * hotswap.c (rescan_ide): Added check for device. * hotswap.c (main): Removed redundant check for device. 2002-07-16 Tim Stadelmann * hotswap.c: Replaced strcmp with strcoll. * xhotswap.c: Replaced strcmp with strcoll. 2002-07-14 Tim Stadelmann * hotswap.c (rescan_ide): Added call to run_script. * hotswap.c (unregister_ide): Added calls to run_script. 2002-07-10 Tim Stadelmann * hotswap.c: Documentation changes. 2002-07-09 Tim Stadelmann * rcfile.h: New file. * rcfile.c: New file. 2002-05-12 Tim Stadelmann * Version 0.2.1 released. * xhotswap.c: Added option `--ide-controller', which is passed on to the backend. (call_backend): Use snprintf in conjunction with a buffer that expands as needed to construct the command line. 2002-05-11 Tim Stadelmann * hotswap.c: Simplified message box handling using support routines in message_box.c. Added option `--ide-controller'. Replaced instances of "/dev/hdc" by device_name. 2002-03-07 Tim Stadelmann * Version 0.2.0 released. 2002-02-24 Tim Stadelmann * xhotswap.c: Free unused XmStrings. 2002-02-23 Tim Stadelmann * xhotswap.c: Documentation updates. (main): Use XtSetLanguageProc to set locale. Use a SessionShell as the top level widget. 2002-02-16 Tim Stadelmann * xhotswap.c (main): Changed command line parsing to use X11's mechanism throughout. * xhotswap.c (decode_options): Removed. 2001-06-30 Tim Stadelmann * xhotswap.c (usage): Added missing missing line continuation. 2001-05-18 Tim Stadelmann * xhotswap.c: Managing the device_label widget has been moved to probe device to work around a Motif display bug. (resources): The capitalization of the class name HotswapPath has been corrected. 2001-04-09 Tim Stadelmann * xhotswap.c: Initial version. * hotswap.c: Include config.h. 2001-04-01 Tim Stadelmann * hotswap.c (unregister_ide): Return after close if an error has happened earlier. Avoids second, spurious error message. 2001-03-31 Tim Stadelmann * hotswap.c: documentation fixes 2001-03-29 Tim Stadelmann * hotswap.c (unmount_ide): This function has been removed. (main): The unmounting case has been removed. 2001-03-18 Tim Stadelmann * hotswap.c: bug fix: Write the program name prefixing error messages to stderr instead of stdout. (unregister_ide): Probe the device again after issuing the ioctl for unregistering it, and return an error if it is still detected. Works around a bug in the kernel. 2001-03-09 Tim Stadelmann * hotswap.c (main): documentation fixes (main): Catch additional arguments on the command line and produce an error message instead of silently ignoring them. (check_mounted_ide): The loop checking for mtab entries has been cleaned up. 2001-03-06 Tim Stadelmann * hotswap.c (main): Use rpmatch instead of explicit code to obtain a yes/no answer from the user. The maximal significant length of such a response is now a macro (RESPONSE_LENGTH) instead of a hardcoded number. * hotswap.c: Fixes for comments and programmatical responses. 2001-03-04 Tim Stadelmann * hotswap.c: The string constants have been marked to support internationalization using gettext. 2001-02-28 Tim Stadelmann * hotswap.c: A --nocheck option has been added to give the GUI frontend the possibility to switch off unnecessary sanity checks. 2002-02-18 Tim Stadelmann * Version 0.1.0 released. 2001-01-25 Tim Stadelmann * hotswap: Initial version. Copyright 2001-2002 Tim Stadelmann. Copying and distribution of this file, with or without modification, are permitted provided the copyright notice and this notice are preserved.