1999-02-07  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* main.c (customize_app_cb, app_drop_cb): added DnD support to open
	files dragged to ghex.

1999-02-06  Changwoo Ryu  <cwryu@adam.kaist.ac.kr>

	* ghex.desktop: Added Korean translations.

1999-01-28  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* main.c: Do not crash if we dont find the translation.

	* ghex.h (GROUP_MENU_PATH): Sync the string to the actual item we
	have on the menu. 

1999-01-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* callbacks.[ch]: removed. contents moved to the following files:
	* preferences.c: put all the prefs stuff here.
	* findreplace.c: find/replace and goto code.
	* converter.c: conversion dialog code.
	* main.c: put MDI signal handlers here.
	* ui.c: only global menus and ui utility functions
	remain here.
	* gnome-support.c: becomes session.c.
	* gnome-support.h: removed. contents moved to ghex.h.
	
1999-01-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ghex.h, config.c (guint max_undo_depth): global max undo depth
	for edited files.
	* ui.c (open_prefs_dialog): added max_undo_depth setting to
	preferences dialog.
	* callbacks.[ch] (max_undo_changed_cb): called when the prefs
	settings changes.
	(apply_changes_cb): apply changes to max_undo_depth. also don't
	reset mdi_mode if it hasn't changed.
	* hex-document.[ch] (hex_document_set_max_undo): new public
	function for setting the undo_max member.
	(hex_document_init): set undo_max member to max_undo_depth.
	* config.c (load_configuration, save_configuration): save
	max_undo_depth setting.

1999-01-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c: removed view_menu from global menus.
	* hex-document.c: added view_menu to child menus.
	* callbacks.[ch] (add_view_cb, remove_view_cb): moved to
	hex-document.c.
	* help/C/index.html: describe undo/redo.
	
1999-01-20  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gtkhex.c (is_printable): fix a casting problem.
	* hex-document.c: removed GNOME_ENABLE_DEBUG.
	
1999-01-19  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gtkhex.c (gtk_hex_key_press): return FALSE if we don't handle
	the key press event. this is the Right Behaviour, I guess.
	* hex-document.h: new member undo_top pointing to the stack
	top (contains data for the next UNDO and its predecessor (if
	it exists) contains data for the next REDO.
	* hex-document.c: implemented redo capabilities. actions that
	have been undone can be redone as long as no new changes are
	entered. as soon as something changes we forget the undone
	actions (part of stack between undo_stack and undo_top) and
	start pushing new undo data on top of undo_top.
	* callbacks.c (view_changed_cb): take care of the redo item's
	sensitivity.

1999-01-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* hex-document.h (struct _HexChangeData): extended to hold all
	info necessary for undo implementation.
	(struct _HexDocument): new undo_stack, undo_depth, undo_max members.
	added a gboolean parameter to document_changed signal to let the
	handler know whether undo data should be saved.
	* hex_document.c (undo_stack_*): new functions for pushing/popping
	undo data on/from undo stack and for freeing it.
	(hex_document_real_changed): if desired, push undo data on stack.
	(undo_cb): a menuitem callback to undo the last action.
	(hex_document_set_nibble): new public function.
	* gtkhex.c (gtk_hex_key_press): use hex_document_set_nibble().
	(gtk_hex_data_changed): removed.
	* callbacks.c (view_changed_cb): set sensitivity of undo item
	depending of emptiness of the undo stack.
	* callbacks.h (struct _ReplaceCBData): removed.
	made prototypes nicer.

1999-01-12  Christopher Blizzard  <blizzard@appliedtheory.com>

	* callbacks.c: free up pointer after use.

	* ghex.h (GROUP_MENU_PATH): use g_strconcat() in macro, not
 	alloca() function.

Fri Jan 08 16:21:13 1999  George Lebl  <jirka@5z.com>

	* ghex.h,callbacks.h: concatenate all the strings for the path to
	  make translating easier and to avoid translating conflicts with
	  Edit

Fri Jan 08 00:33:28 1999  George Lebl  <jirka@5z.com>

	* ui.c: fixup menus to the latest menu standards

Wed Jan 06 22:53:20 1999  George Lebl  <jirka@5z.com>

	* ui.c,main.c,callback.c,hex-document.c,ghex.h: standardized menus
	  with the new gnome-app-helper macros

1999-01-07  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

	* gnome-support.c: Removed the saved boolean value.

	* main.c (main): Uses the new client flags to decide, whether to
 	restore a session or not.

1999-01-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* main.c (main): open a toplevel window if session restoration
	fails.
	
1998-12-31  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* gnome-support.h: Do not include getopt.h
	* main.c: ditto

1998-12-30  Carsten Schaar  <nhadcasc@fs-maphy.uni-hannover.de>

	* main.c (main): Added master client's connection to 'die' signal.
	Changed how saved sessions are restored.

	* gnome-support.h: Removed unused declarations.

	* gnome-support.c: Removed unused stuff.  Uses 'rm' to discard
 	session information.
	(client_die): New function.


1998-12-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gtkhex.c (gtk_hex_destroy): make it gtk_hex_finalize().
	* *.c: minor bugfixes, change menu paths since accellabel
	behaviour has reverted, etc.
	
1998-12-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ghex.h: #define all menu paths used in code.
	* main.c (main): use #defines for menu paths.
	* callbacks.c (view_changed_cb): use #define for menu path.

1998-12-19  Herbert Valerio Riedel  <hvr@hvrlab.ml.org>

	* ui.c: (gpointer) -> GINT_TO_POINTER()

1998-12-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c, ghex.h (create_dialog_title): combines a format string
	and active document's name and sets them as title to
	a dialog window.
	* callbacks.[ch] (child_changed_cb) new callback, updates
	dialog titles as active document changes.
	* main.c (main): connect child_changed_cb to child_changed
	signal.
	
1998-12-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* callbacks.c (view_changed_cb): add accelerator labels
 	to menu paths. also fix group type item activation code
	to work in a cleaner way and respect possible tear off
	item.
	* main.c (main): add accelerator labels to menu paths.
	* gtkhex.[ch]: small fixes.
	
1998-12-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* main.c, hex_document.c: fixed some cast warnings.
	* gtkhex.c: fixed size_allocate and size_request handlers.
	fixed positioning of hex and ascii view and display size
	recalculation.
	
1998-12-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* callbacks.c (about_destroy_cb): new callback. sets
	a pointer to the about dialog to NULL on its destruction.
	(about_cb): if the about dialog is already open, raise it
	instead of opening a new one.

1998-12-10  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* main.c (main): fix arg parsing code. it actually works now.
	* ui.c, ghex.h (report_error, show_message): removed.
	* callbacks.c (customize_app_cb): use gnome-appbar instead of
	gtkstatusbar.
	also converted all report_error()s to gnome_app_error()s and
	show_message()s to gnome_app_flash()es.
	* config.c (load_configuration): removed error report about
	not being able to load the font, as we might have no windows
	at the time this is called.
	
1998-12-08  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c, hex-document.c: add hint strings to menu descriptions.
	* callbacks.c (customize_app_cb): new function that inserts
	a statusbar and installs menu hints.
	(view_changed_cb): install hints for child's menus.
	* main.c: connect customize_app_cb to app_created signal.
	
1998-12-04  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* main.c (main): fixed initial toplevel window opening so
	that it works nice with session managment.

1998-12-03  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gtkhex.c ([ascii|hex]_[button|motion]_cb): fixed some
	scrolling bugs.

1998-11-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* main.c (main): comply to the latest changes to GnomeMDI API.
	* gtkhex.c (gtk_hex_realize): new realize signal handler for
	GtkHex: only sets the backing pixmap properly
	(gtk_hex_draw): fixed shadow redrawing.
	
1998-11-09  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gtkhex.c (render_ascii_lines): fixed a bug that used adisp_gc
	instead of xdisp_gc.
	
1998-10-29  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>
 	
	* gtkhex.c: some cosmetic fixes; changed the way signals
	are connected to a GtkHex widget
	* main.c, hex-document.c: cosmetics.
	
1998-10-29  Jens Lautenbacher  <jens@tellux.de>

	* ui.c: visual clean-up

1998-10-29  Jens Lautenbacher  <jens@tellux.de>

	* ui.c (create_prefs_dialog): added standard gnome_font_picker
 	plus entry box, small fix in loop for group_types
	(set_prefs): use NUM_MDI_MODES

	* callbacks.c (select_font_cb): changed to work with new font selector
	(apply_changes_cb): ditto.; use NUM_MDI_MODES

	* ghex.h (_PropertyUI): ditto; use NUM_MDI_MODES
	(DEFAULT_FONT): added foundry for courier font to make font picker
 	happy

1998-10-29  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-support.c (parse_an_arg): add support for opening files
	specified on the command line.
	* hex-document.c (hex_document_new): return NULL if file can't be
	opened.
	* main.c (main): open files specified on the command line.
	
1998-10-29  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gtkhex.[ch]: implemented scrolling when mouse pointer is
	dragged outside the widget.
	* callbacks.c (revert_cb): ask user if (s)he really wants to
	revert.
	
1998-10-18  Ville Ptsi  <drc@zoo-gate.fi>

	* Makefile.am: Added icon installation
	* ghex.desktop: Icon added
	* gnome-ghex.png: added

1998-10-12  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c (ask_user): call gnome_dialog_set_close() instead
	of gnome_dialog_set_destroy() and gtk_window_set_modal()
	instead of gnome_dialog_set_modal().
	
1998-10-04  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* hex-document.c (hex_document_read): fixed a bug with
	an early return which preceded an emission of
	"document_changed" signal.

1998-09-30  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* hex-document.[ch], gnome-support.c, main.c: replaced
	current session managment code with new one using
	gnome-mdi-session session managment from libgnomeui.

1998-09-24  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* hex-document.c: Added shortcut support

1998-09-21  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* callbacks.[ch] (view_changed_cb): new function; connects to
	MDI view_changed signal and takes care of updating the
	"Group Data As" menu.
	* main.c (main): connect the above handler to MDI's view_changed
	signal.
	
1998-09-04  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* hex-document.c: Include <config.h>. Marked strings for
	translation.

	* ui.c: Likewise.

1998-08-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gtkhex.c (draw_shadow): set backing pixmap and clear
	window area of the whole widget. this makes it look prettier
	with pixmap themes ;)
	(render_hex_lines, render_ascii_lines): clear background before
	minimizing displayed lines to at most gh->vis_lines: this way
	the whole display's background is always white.
	(gtk_hex_init): connect draw_shadow() to gtkhex's draw signal.
	unless this is done the shadows arent drawn after, say, changing
	notebook tabs containing gtkhex widgets.
	* gtkhex.c: removed debugging info.
	* gtkhex.h: remove public declaration of gtk_hex_init().
	* main.c: removed the nasty printf() at startup. god knows a
	remainder of what this was...
	
1998-08-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c (create_prefs_dialog), main.c (main), ghex.h:
	honor MDI preferences stuff just implemented in gnome-mdi.
	
1998-07-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c, hex-document.c: use more GNOME_STOCK items.
	
1998-07-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c (create_prefs_dialog): use gtk_notebook_append_page() instead
	of gnome_property_box_append_page().
	
1998-07-06  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* main.c, ui.c: changed some things because of GnomeMDI
	changes.

1998-07-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* hex-document.c: changed document menu callbacks because of
	changes in GnomeMDI.
	* callbacks.c (get_search_string): fixed a small bug with capital
	letters in hex values.
	
1998-07-01  Nuno Ferreira  <nmrf@rnl.ist.utl.pt>

	* ghex.desktop: Added Portuguese translation.

1998-06-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-support.c, main.c: now ghex does proper SM. currently
	the only state it saves and restores are open files.
	
1998-06-23  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* callbacks.c: let conversion callback handle erroneus values.
	* ghex.h, ui.c : minor changes to Converter structure and
	create_converter() function.
	
1998-06-18  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* hex-document.c: put "Group Data As" menu back to document's
	menu structure.
	* callbacks.[ch]: moved callbacks for document's menuitems to
	hex-document.c.

1998-06-17  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c: added create_converter() fucntion that creates a
	base conversion dialog.
	* callbacks.[ch]: some stuff for base conversion.
	
1998-06-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c: added radio buttons to find/replace dialogs  to enable
	user to nicely choose between hex and ascii mode.
	* ghex.h, ui.c, callbacks.c: now we store pointers to all the
	find/replace/jump dialog widgets and find/replace search type
	in a [Find|Replace|Jump]Dialog structs. Relevant callbacks were
	modified to accomodate this.

1998-06-07  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.[ch]: moved to gnome-libs/libgnomeui
	* gnome-mdi-child.[ch]: (ex gnome-document.[ch]) moved to
	gnome-libs/libgnomeui
	* Makefile.am: changed to accomodate the above
	
1998-06-03  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.c: major cleanup of gnome-mdi code. looks much better
	now ;)
	
1998-06-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.[ch]: added gnome_mdi_set_document_[menu|list]_path()
	functions that set path for insertion of document-specific menus and
	document list menu respectively. also patched things up a bit so that
	there is no ghex specific code in GnomeMDI any more.

	* main.c (main): added some comments and calls to
	gnome_mdi_set_document_[menu|list]_path().
	
1998-06-02  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.c (app_set_active_view): a few more fixes, I hope it works
	OK now.

1998-06-01  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.c: changed to use new gnome_app_insert_menus() and
	gnome_app_remove_menus() routines.
	* gnome-document.[ch]: added GnomeUIInfo support for menu creation via
	menu_template member and gnome_document_set_menu_template().
	* hex-document.c: changed to use GnomeUIInfo support.
	
1998-05-31  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.c: added images to Dnd cursors. The widges are global vars,
	but I'm not sure whether this is a good solution.
	
1998-05-28  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.[ch]: cleaned the code up a bit and added toolbar creation
	support.
	* gnome-document.c: added default document_changed signal handler to
	GnomeDocument, so that derived classes need not take care of it.
	* hex-document.c: removed document_changed signal handler because the
	default one in the parent class serves its purpose.
	* ui.c: changed to accomodate clean-ups in gnome-mdi.c

1998-05-27  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* ui.c: use the new GNOME_APP_UI_JUSTIFY_RIGHT tag to right-justify the
	help menu.
	
1998-05-26  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.c (gnome_mdi_remove_*): all these functions now have an extra
	argument force, which if set to TRUE prevents emission of REMOVE_DOCUMENT
	or REMOVE_VIEW signals and makes removing always successful.
	* gnome-mdi.c: rewritten most of the GnomeApp delete_event handling code,
	which SIGSEGV's no more.
	* callbacks.c: fixed callbacks to work with the changed gnome_mdi_remove_*
	functions.
	* gnome-mdi.c: added copy_ui_info_tree() and free_ui_info_tree()
	functions that copy the whole tree structure of GnomeUIInfo.
	* gnome-mdi.h: added menu_template and toolbar_template members
	to GnomeMDI. They store pointer to a template GnomeUIInfo structure
	for menus and toolbars for all created GnomeApps.
	* gnome-mdi.c: added code that uses gnome-app-helper routines and
	GnomeUIInfo templates for menu creation if these have been passed
	to GnomeMDI with a gnome_mdi_set_menu_template() function. If no such
	templates have been passed, the GnomeMDI falls back to create_menus
	signal for GnomeApp menu creation.
	* main.c, ui.c: now we use the GnomeUIInfo method of creating MDI menus if
	USE_APP_HELPER is defined and the create_menus signal otherwise.

1998-05-25  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* gnome-mdi.c, gnome-document.c: changed GtkSignalRunTypes for GnomeMDI and
	GnomeDocument to GTK_RUN_LAST.
	
1998-05-13  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

        * time to start a ChangeLog. fixed the properties dialog,
	so that ghex doesn't SIGSEGV after clicking the Close button
	and reopening the dialog.
