# No Changelog before GtkFileManager-0.2beta 16-06-2004 Changed XFREE macro into function void *xfree(void *ptr) that avoids freeing a NULL pointer and sets the pointer to NULL after it has been freed (usage is ptr=xfree(ptr);). 17-06-2004 Changed all occurrences of strlen() to xstrlen(), which returns the length of a string (even if it is NULL). 21-06-2004 Preparing to add F-key shortcuts and a menubar. Removed Refresh button. 23-06-2004 Added new macro debug(x) to mylib.h and cleaned up most of the code from #ifdef DEBUG statements. 26-06-2004 Minigtkfm-0.3b released. 28-06-2004 Added a workaround in the configure script as in gtk+2.4 (and maybe in gtk+2.3) some of our widgets (gtkitemfactory) are deprecated, so for the moment we avoid to set DISABLE_DEPRECATED flags as this breaks compiling. 01-07-2004 Minigtkfm-0.4b released. 05-07-2004 Ported main_menu_create() to Gtk+2.4, cleaned up configure script ,TextEditWindow.c and en_GB.h 07-07-2004 Cleaned up i18n/*.h files and TextEditWindow.c. Removed #define xmalloc(x) xcalloc( 1, x). Optimized and added a gtk_main_iteration in read_and_convert. Optimized char * xfgetc_nbuf(FILE *fd, int size). Optimized main_loop() and fixed DialogWindow.c. Fixed a bug in license_callback() in About.c not setting ptr_status correctly if clicked more then once. 12-07-2004 Changed void PermissionWindow(char *filename) to int PermissionWindow(char *filename) so the app can know if some changes were made to the filesystem. 13-07-2004 Fixed a bug in string_list_create_on_table() with Gtk+2.x libs and cleaned up add_data_to_list() that is now in mygtk.c/h. Major code cleanup in mygtk.c: moved some redundant checks to debug code. 14-07-2004 Added attach_to_table() to mygtk.c/h. 17-07-2004 Removed do_nothing() from mygtk.c/h. Major code cleanup in mygtk.c: moved some redundant checks to debug code. Added a couple of #defines to mygtk.c/h to make code easier to understand when using different versions of Gtk. 19-07-2004 Removed redundant check for is_dot_or_double_dot() from functions calling gui_common() and added just one instance there. 25-07-2004 Added #define clear_list(x) to mygtk.h. 29-07-2004 Added df.c, find_mount_point.c, find_root_device.c and "File System Info" to menu structure. Added quit_window() to mygtk.h. Cleaned up code in TextEditwindow.c. 31-07-2004 Size optimisation in find_root_device.c and df.c. Fixed bug with size of columns in string_list_create_on_table() with Gtk+1.2 so that the columns are at least as big as the title's string length. 07-08-2004 More code cleanup in mygtk.c string_list_create_on_table() and textpad_create_on_table(). Plugged some memory leaks in list_f() and xreadlink(). Fixed a bug in main window not calling really_quit() when closed with the titlebar button. Cleaned up main window close code in gtk_file_manager.c. 08-08-2004 Fixed closing of window in TextEditWindow.c. 09-08-2004 Fixed a memory leak in read_and_convert() fixed. Splitted read_from_fd_and_display_text() in two versions for Gtk-1.2 and Gtk-2.x. 14-08-2004 One more fix involving really_quit. 17-08-2004 Popped up version to 0.5 and released. 20-08-2004 Cleaned up char * get_uid_or_gid (int flag, long idnum) in mylib.c 08-09-2004 Fixes in AboutWindow.c, DialogWindow.c, mygtk.c/h, TextEditWindow.c, TextViewWindow.c, TextCommon.c. Added new ProcessWindow.c and procps.c. 12-09-2004 Released Mini Gtk File Manager 0.6 27-09-2004 Fixed ProcessWindow.c compilation with gtk-1.2.10 and gcc-3.4.1. 04-10-2004 Optimized and cleaned up code in DialogWindow.c: now in windows with only one button the button has the input focus. Added a quit button to the filesystem info window. 05-10-2004 Modified DialogWindow to accept an int to define the default activated button and updated all occurences to this new api. 07-10-2004 Activate TextViewWindow ok button by default. 08-10-2004 Updated make_direactory.c to latest busybox code. 16-10-2004 Added a new progress bar widget and modified texteditwindow, textcommon and mygtk.h accordingly. 22-10-2004 Made TextViewWindow a subset of TextEditWindow, removed some duplicated code and moved common code to TextCommon. Added a TextView applet to gtk_file_mmanager and fixed the Makefile accordingly. Now the view function spawns a standalone viewer. More code optimization and bug fixes in TextViewWindow.c and TextEditWindow.c. 01-11-2004 Another major rework of the text_edit_window and text_view_window widgets. 06-11-2004 Two days of bug fixing, no changelog because i'm too tired. Sorry :) 09-11-2004 More fixes. Fixed a bug in mylib.c get_uid_or_gid (int flag, long idnum). Improved PermissionWindow.c to be able to handle numbers as user and group values. 10-11-2004 Update bb_make_directory() to latest 1.17. Released Mini Gtk File Manager 0.7b 18-11-2004 Fixed compiling problem with gtk 2.2.4 in Textcommon.c. Added es_AR.h translation by Fabian Pedrosa <pendor2k@gmail.com>. Improved the docs. Code cleanup for gtk1.x gtk2.x window closing bug. 07-12-2004 Released Mini Gtk File Manager 0.8b 14-12-2004 Removed void file_op_gui_quit(GtkWidget *widget, gpointer data); Cleaned up some code and susbstituted it with window_close(); 29-12-2004 Improved the configure script to use absolute paths for VIEWER , EDITOR and TERM. Added -Wreturn-type -Wformat-security to CFLAGS in debug mode. Added --with-bin-dir (prefix) and --with-install-dir (prefix) to configure script. 05-01-2005 Added a Image viewer Window 06-01-2005 Released Mini Gtk File Manager 0.9b 16-01-2005 Fix configure script to allow the use of Gtk+2.6 libs. Improved configure script debug compiler options. Fixed format strings in TextCommon, TextEditWindow, DialogWindow. Removed redundant declarations. 17-01-2005 Added #define __GTK_ABOUT_DIALOG_H__ to mygtk.h to avoid a gcc warning with -Wshadow and gtk+2.6.x: gtkaboutdialog.h:108: warning: declaration of 'link' shadows a global declaration /usr/include/unistd.h:722: warning: shadowed declaration is here as mygtk doesn't use gtkaboutdialog at all. 27-01-2005 Fixed error dialog in ViewImageWindow. 31-01-2005 Some cosmetical fixes in AboutWindow. Modified window_create: if x,y > 0 use them as window size if x,y = 0 use default 540 x 320 if x,y > 0 use max size. 10-04-2005 Don't reuse GtkWidget vars. Fixes in gtk_file_manager.c and DialogWindow.c. 02-10-2005 Fixed gdk-pixbuf detection in configure script 06-06-2006 Dropped support for GTK 1.x libraries Update mylib.c/h and mygtk.c/h to latest. 25-09-2006 Fixed compilation with Gtk+ 2.4 in FileSelector.c and configure script. 19-11-2006 Fixed possible memory corruption in xfgetc_nbuf. 11-12-2006 Removed --with-gtk1 --with-gtk2 from help text of configure script. Removed -march=`uname -m` from configure script as it breaks on x86_64. 12-12-2006 Improved i18n support. Improved menu navigation and shortcuts. 20-12-2006 Cleaned up README file. Moved functions and vars to static where possible. Sinced code with busybox 1.3.0. 21-12-2006 Released Mini Gtk File Manager 0.10b