2012-01-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in:
	Version 1.10

2012-01-04  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in, Makefile.in, -xiterm+thai.spec.in:
	Drop the outdated, unmaintaned RPM spec.

2012-01-04  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Makefile.in: Force distrib tarball regeneration on tar.gz target.

2012-01-04  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Makefile.in: Check and make $(VERNAME) symlink before tarring.

2012-01-04  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Makefile.in: Use --exclude-vcs instead of --exclude CVS
	when creating distrib tarball.

2011-12-30  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/main.c (resize_subwindows):
	  - Add variable attribute 'unused' to old_height, to get rid of
	    gcc warning. It's currently unused due to empty Gr_Resize()
	    implementation, but may not be the case if Xtensions/ are used.

	Reporter: Neutron Soutmun.

2011-12-29  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Get rid of gcc warning on unused results from chown() and fchown().

	We'd like it to fail silently, e.g., when program is installed
	without sticky bit on.

	* src/command.c:
	  - Add inline wrappers for chown() and fchown() to override
	    the __wur attribute declared in glibc.
	  - (clean_exit, get_tty): cast the results to void.

	Reporter: Neutron Soutmun.

2011-12-28  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/command.c (get_tty): Check for return value from dup()
	and give up on any failure. [triggerred by gcc warning]
	Thanks Neutron Soutmun for the report.

2011-12-27  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/main.c: Add missing include <X11/Xutil.h> which caused FTBFS
	on absense of libxpm support.

2008-06-21  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Makefile.in: Use 'make -C <dir>' instead of (cd <dir> && make').

2008-04-25  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* -src/oldthai.c: Remove unused source.

2008-04-24  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in:
	Version 1.09

2008-04-23  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/thai.c (movetab, levtable): Declare const data const.
	Make levtable short int array.

2008-04-23  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* test/README, +test/TIS-620: Add Thai test file.

2008-04-23  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/thai.h: Enclose prototypes with _XFUNCPROTO{BEGIN,END}.
	* src/thaikb.{c,h}: Update my e-mail address.

2008-04-23  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/thai.c:
	  - Reorder functions according to declarations in the header.
	  - Declare local symbols static.

2008-04-22  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/Makefile.in: Update object dependencies with 'make distdepend'.

2008-04-22  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix security risk for X11 connection stealth, as per Debian security
	audit team's comment.

	* src/main.c (main): Instead of guaranteeing fallback value for
	display_name by initializing it beforehand, try -display argument and
	alike before resorting to DISPLAY environment, and stop there if
	nothing is given. No more default display. (Fix adjusted from Neutron
	Soutmun's patch.)

2008-04-22  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/xdefaults.c (optList): Fix typo in thai_im description.
	* doc/xiterm+thai.1.in: Use "mode" for -tkb and thai_keyboard
	parameter, to be consistent with -[-]help message.

2008-04-22  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* doc/xiterm+thai.1.in: Add Thai-specific info.
	  - options: -tspace, -tkb, -tim.
	  - resources: cursorColorThai, thai_space, thai_keyboard, thai_im.
	  - credit for Vuthichai for Thai language support.

2008-04-21  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/feature.h: Replace APL_NAME with "xiterm+thai".

	* src/xdefaults.c (optList): Also guard rs_inputMethod option element.

2008-04-21  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* doc/xiterm+thai.1.in: Replace "xiterm" text with "xiterm+thai".

2008-04-21  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in, doc/Makefile.in,
	doc/xiterm.1.in -> doc/xiterm+thai.1.in:
	Rename manpage from xiterm.1 to xiterm+thai.1.

2008-04-20  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/xdefaults.c: Guard rs_inputMethod declaration with NO_XLOCALE.

2008-04-20  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix GCC warngings.

	* src/thaikb.{c,h} (thai_map_qwerty): Make char parameter unsigned.

	* src/utmp.c: Include "misc.h" for print_error() prototype.

	* src/xdefaults.c (usage): Cast field width argument for in format
	string from size_t to int.

2008-04-20  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix GCC warnings.

	* src/command.{c,h} (tt_write): Change buffer parameter back to
	unsigned char. Still let tt_printf accepts plain char, as most format
	strings are literal.
	* src/command.c (tt_printf): Cast buffer to unsigned char when calling
	tt_write().
	* src/command.c (lookup_key): Declare a local char 'ch' unsigned char.
	Uncast kbuf when calling tt_write().

	* src/screen.c (selection_make): Cast away unsigned when calling
	strlen().
	* src/screen.c (selection_send): Cast target_list to (unsigned char *)
	when calling XChangeProperty().
	* src/screen.c (PasteIt): Declare first parameter const pointer.
	* src/screen.c (selection_paste): Declare long variables unsigned,
	to satisfy XGetWindowProperty() prototype.
	* src/screen.c (drawString macro):  Cast away unsigned from linebuf,
	to satisfy XDrawString*() functions.
	* src/screen.c (scr_refresh): Add default case, to make sure 'top' is
	always initialized, although such added case never happens.
	* src/screen.c (thai_complexclear): Initialize 'from'.

2008-04-19  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix GCC warnings, plus code rearrangement.

	* src/thai.{c,h}:
	  - Move the global movetab[] array from .h to .c, make it static, and
	    reformat it.
	  - Declare prototypes for public functions in .h.
	
	* src/thai.c (ThaiCol2Pixel, ThaiWidth2Pixel): Make string parameters
	unsigned.

	* src/thai.c (thaistrlen): Change function def from K&R to ANSI C.
	Rename parameters to be more meaningful.

	* src/screen.c: Include thai.h, for function prototypes. Remove
	typedefs duplicated with thai.h.

	* src/screen.c (str_refresh): Declare start_text unsigned.

2008-04-19  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix GCC warnings.

	* src/command.c (lookup_key): More casts for kbuf.
	* src/command.c (process_escape_seq): Cast strings as unsigned char
	for scr_add_lines() and xterm_seq() calls.

	* src/main.c (scale_pixmap): Define w and h variables as unsigned int.

2008-04-19  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix GCC warnings.

	* src/command.c (get_pty): Move 'Found:' label into preprocessing
	condition that actually uses it.
	* src/command.c (stringConversionCallback): Remove unused variable
	'i'.
	* src/command.c (lookup_key): Cast away unsigned from kbuf where
	needed.
	* src/command.{c,h} (tt_write, tt_printf): Use plain char for the
	first buffer argument.

2008-04-19  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in: Add -Wall to default CFLAGS.

2008-04-19  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Eliminate dependency on Xt header <X11/Intrinsic.h>.

	* src/main.h: Remove #include <X11/Intrinsic.h>. Its only use here
	was the Pixel typedef, which is plain unsigned long in Xlib headers.
	So, replace it with a typedef.

	* src/xdefaults.h: Remove #include <X11/Intrinsic.h>. Just include the
	required <X11/Xlib.h> instead, for the KeySym and Display data types.

	* src/command.c: #include <X11/Xutil.h> formerly indirectly included
	via <X11/Intrinsic.h>, for the XComposeStatus data type. Also
	eliminate the XtSpecificationRelease macro check for X11 release.
	We now assume xorg 7 which is > X11R6 anyway.

	* src/misc.h: #include <X11/Xlib.h> formerly indirectly included via
	<X11/Intrinsic.h>, for the Window and GC data types.

2008-04-19  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Makefile.in: Re-group shell commands from "(cd X; make Y || exit 1)"
	to "(cd X; make Y) || exit 1", so the build exits with error when
	an error occurs. (Comment by Paul Wise during Debian package
	sponsoring.)

	* Makefile.in, data/Makefile.in, doc/Makefile.in, src/Makefile.in:
	Change "cd X; make Y" constructs to "cd X && make Y".

2008-04-07  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in:
	Version 1.08

2008-04-07  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* data/xiterm+thai.png: Replace the broken image.

2008-04-06  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Do not link against the unused libSM and libICE (dpkg-shlibdeps
	warnings reported from Debian).

	* configure.in: Replace AC_PATH_XTRA with PKG_CHECK_MODULES, and only
	check for x11.

	* configure.in, Make.common.in: Only use X_LIBS. Eliminate X_PRE_LIBS
	and X_EXTRA_LIBS usage, which were formerly passed from AC_PATH_XTRA.

2008-04-01  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix gcc warnings about const pointer qualifiers.

	* src/main.c (Create_Windows, search_path, set_bgPixmap): Declare
	pointers as const.

	* src/main.c (set_bgPixmap): Cast away const from pointer, to satisfy
	XpmReadFileToPixmap() prototype.

2008-03-31  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Add desktop icon taken from debian package, as prepared by
	Neutron Soutmun.

	* +data/xiterm+thai.png: Add the icon.
	* +data/Makefile.in: Add make rules to manage data.
	* icon.xpm -> data/icon.xpm: Move old icon to data subdir.

	* Make.common.in: Add datadir variable.
	* Makefile.in (subdirs): Add data to subdirs.
	* configure.in: Generate data/Makefile.

2008-02-07  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in: Define HAVE_XPM with AC_DEFINE.

2008-02-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in:
	Version 1.07

2008-02-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Make.common.in, Makefile.in: Also clear autom4te.cache on 'make
	mrproper'.

2008-02-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/Makefile.in: Rename binary from xiterm to xiterm+thai, to avoid
	conflict with openi18n's xiterm.

2008-02-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/main.c (xterm_seq): Catenate version in title string with
	configured version, rather than hard coding.

2008-02-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Make.common.in: Remove -s option for install, so binary is not
	installed stripped by default. Let distros do that at their choices.
	E.g. http://bugs.debian.org/438296

2008-02-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/command.c, src/xdefaults.c: Use const pointer for rs_inputMethod
	{and also rs_preeditType}, fixing warning about incompatible pointer.

2008-02-05  Theppitak Karoonboonyanan <thep@linux.thai.net>

	Fix FTBFS with gcc:

	* configure.in: Define _GNU_SOURCE with AC_GNU_SOURCE.
	* src/utmp.c: Include <utmp.h> in addition to <utmpx.h>.

2008-02-04  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Makefile.in: Exclude autogen.sh from distribution.

2008-02-04  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* Makefile.in: exclude debian/ subdir and backup files from
	distributed tarball.

2006-01-09 Chanop Silpa-Anan <chanop@debian.org>
	* debian/*:
	Fix xlibs-dev bug.

2004-02-25 Chanop Silpa-Anan <chanop@debian.org>
	* debian/*:
	Update and upload debian package.

2003-03-14  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* configure.in, src/main.c:
	Version 1.06

2003-03-13  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* xiterm+thai.spec.in:
	Comment out sources that are not included in source tarball

2003-03-10  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/command.c:
	Add wheel mouse scrolling support.
	Fix up/down button in scroll bar to accept only Button1.

2003-03-01  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/command.c:
	Check IM values whether XNStringConversionCallback is supported
	before setting the callback.

	* src/command.c, xiterm+thai.spec.in:
	Re-implement stringConversionCallback() (again) due to last fix
	in XFree86 4.3.0.

2003-01-14  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* xiterm+thai.spec.in:
	Fix "%install" mess in comment (rpmbuild oddity).

2002-12-31  Theppitak Karoonboonyanan <thep@linux.thai.net>

	* src/command.c:
	Fix XSetICValues() missing trailing NULL argument.

	* src/command.c:
	Re-implement stringConversionCallback() according to clarified
	protocol for backward retrievals.
	Add XIMStringConversionSubstitution checking (black magic quietly
	agreed by Thai XIM in XFree86).

2002-01-06  Theppitak Karoonboonyanan <thep@links.nectec.or.th>
	* src/command.c:
	Fix duplicated events bug for special keys, due to uninitialized
	variable "keysym".
	Fix String_Conv_Cb initialization type warning.

	* configure.in, src/main.c:
	Version 1.05.

2001-12-07  Chanop Silpa-Anan <chanop@debian.org>
	* configure.in: remove -m486 from default optimization flag since
	it prevents other architecture to compile by default.

2001-11-27  Theppitak Karoonboonyanan <thep@links.nectec.or.th>

	* xiterm+thai.spec -> xiterm+thai.spec.in:
	Use %{name}, %{version}, %{release} variables which should be
	substituted at configure time. Use manifest

	* configure.in:
	Add code to xiterm.spec generation.

	* src/feature.h:
	Comment out UTMP_SUPPORT, as it does not compile on RH7.2.

	* configure.in, Make.common.in, doc/Makefile.in:
	Move package name & versions from Make.common.in to configure.in.
	Let configure.in handle doc/LSM and doc/xiterm.1 instead of make.

	* Makefile.in:
	Also clear xiterm+thai.spec before 'make distrib'.
	Fix 'make distrib' so that CVS's and .cvsignore's are not included
	in the tarball.
	Use -h option of tar to read symlinks, so that, when working with
	cvs, one can 'make distrib' by creating symlink $(NAME)-$(VERSION)
	pointing to xiterm+thai repository.

	* configure.in:
	Version 1.04


2001-08-01  Chanop Silpa-Anan <chanop@debian.org>

	* src/command.c: use /dev/ptmx for linux platform this fix a
	problem in using devfs.

2001-02-22  Theppitak Karoonboonyanan <thep@links.nectec.or.th>

	* src/command.c, src/screen.c :
	  Add XNStringConversionCallback support for experiment with
	  the new Thai XIM.

2001-01-02  Theppitak Karoonboonyanan <thep@links.nectec.or.th>

	* src/command.c :
	  Make XMODIFIERS come before "@im=none" (by changing the order
	  of the calls to XLocaleModifiers()).
	* Make.common.in, src/main.c :
	  Release version 1.04pre1

2001-01-01  Theppitak Karoonboonyanan <thep@links.nectec.or.th>

	* xiterm+thai.spec :
	  Use variables in sources, path names; use BuildRoot
	* Make.common.in :
	  Add -D option to INSTALL_PROGRAM and INSTALL_DATA to have directory
	  prepared

2000-11-18  Theppitak Karoonboonyanan <thep@links.nectec.or.th>

	* src/command.c :
	  Add XSetICFocus() to force initialization of Input_Context which is
	  necessary for XIM tasks.
	* src/command.c, src/xdefaults.c :
	  Add -tim option (thai_im resource) for specifying Thai XIM mode.
	  
2000-11-09  Theppitak Karoonboonyanan <thep@links.nectec.or.th>

	* Changelog :
	  Create GNUish changelog to keep track of changes
	* src/main.c :
	  Add setlocale() as per Lucy's contribution to support new Thai XKB
	  map of XFree86 4.0.1 which conforms to <X11/keysymdef.h>
	* Make.common.in, src/main.c :
	  Release version 1.03

