new Makefile-byhand
fix some infinite loop issue;

TODO:
	find new method to determine font size.
2005-07-02  Jim Huang  <jserv@kaffe.org>

        * autogen.sh,
        configure.ac,
        Doxygen.in,
        Makefile.am,
        src/Makefile.am:
        New files. Autotools support.

        * po/zh_TW.po:
        Adjust translated messages path.
2005-07-02  Kanru Chen  <koster@debian.org.tw>

	* src/font.cpp 
	(CFont::CreateXftFont(string, int, int, bool)):
	Adjust font size policy to prevent infinite loop.

	* src/widget.cpp,
	src/telnetcon.cpp:
	Add usleep(100) between each idle call to prevent cpu load
	too high.
2005-07-02  Jim Huang  <jserv@kaffe.org>

        * po/POTFILES.in:
        New file. Put the source filenames to be translated here.

        * configure.ac:
        Enhance GNU Gettext support.

        * src/Makefile.am:
        Include *.xpm in EXTRA_DIST.

        * po/zh_TW.po:
        Updated according to new layout.
2005-07-02  Jim Huang  <jserv@kaffe.org>

        * src/termview.cpp (CTermView::OnLButtonDown),
        src/configfile.cpp (CConfigFile::DoLoad) (CConfigFile::DoSave),
        src/appconfig.cpp (CAppConfig::LoadFavorites),
        src/sitelistdlg.cpp (CSiteListDlg::OnSearch):
        Remove misleading \!\! expression.
2005-07-02  Kanru Chen  <koster@debian.org.tw>
	
	* configure.ac:
	Change AC_DEFINED(VERSION,...) to AC_DEFINED_UNQUOTED ensure really
	defined this variable.
	
	* ABOUT-NLS:
	New file. need by automake-1.9.
2005-07-02  Jim Huang  <jserv@kaffe.org>

        * src/mainframe.cpp 
        (CMainFrame::CreateMenu): Remove puzzling comments which confuse
        intltool.
        (CMainFrame::OnAbout): Update homepage information.

        * src/pcmanx_pure_gtk2.cpp (main):
        Adjust the sequence of gtk_init and g_thread_init, and use fake
        argc/agrv to avoid redundant parsing.

        * po/zh_TW.po:
        Regenerated.
2005-07-02  Jim Huang  <jserv@kaffe.org>

        * src/termview.cpp (CTermView::RedrawSel):
        Minor tweaking for MAX3 and MIN3 macro for better readability.
2005-07-02  Jim Huang  <jserv@kaffe.org>

        * src/pcmanx_pure_gtk2.cpp:
        Use GETTEXT_PACKAGE instead of hard-coded names.
2005-07-03  Jim Huang  <jserv@kaffe.org>

        * src/docklet/clipboard.c:
        New file. X clipboard hack to detect if daemon is running.

        * src/docklet/eggtrayicon.c,
        src/docklet/eggtrayicon.h:
        New files. Famous EggTrayIcon written by Anders Carlsson
        <andersca@gnu.org>.

        * configure.ac,
        src/Makefile.am:
        Add docklet / system tray support option. Default: enabled.

        * src/mainframe.h
        (CMainFrame::OnTrayButton_Toggled) (CMainFrame::OnTrayButton_Changed):
        New protected methods act as the callback functions for Tray button
        toggled and size-changing.
        (EggTrayIcon *m_Tray_icon):
        New public member data for holding tray icon.

        * src/mainframe.cpp
        (CMainFrame::OnTrayButton_Toggled) (CMainFrame::OnTrayButton_Changed):
        Likewise.
        (CMainFrame::CMainFrame):
        Add primitive tray icon and event handling for docklet / system tray.
        NOTE: we might need a customized tray icon due to size limitation.

        * src/pcmanx_pure_gtk2.cpp (main):
        Make sure that there is only single instance, and show docklet.
        NOTE: we might create higher level method for this task.
2005-07-03  Jim Huang  <jserv@kaffe.org>

        * src/mainframe.cpp
        (CMainFrame::OnTrayButton_Toggled):
        Temporal workaround of G_GNUC_UNUSED attribute.
        Reported by Kanru Chen  <koster@debian.org.tw>.
2005-07-03  Jim Huang  <jserv@kaffe.org>

        * sitelistdlg.cpp (CSiteListDlg::LoadSiteList):
        Workaround of new GTK_STOCK_DIRECTORY macro introduced in GTK+ 2.6 .
        Reported by Chung-Yen Chang  <candyz@cle.linux.org.tw>.
        NOTE: Still some incompatibility to be fixed later.
        
        * po/pcmanx.pot:
        New file. Missing translation template.

        * autogen.sh:
        Add workaround of some cases that mkinstalldirs was not correctly
        installed.
2005-07-03  Kanru Chen  <koster@debian.org.tw>
	
	* src/mainframe.cpp
	(CMainFrame::CloseCon):
	Remove correct note page and move to next page.

	* src/termview.cpp
	(CTermView::OnDestroy) (CTermView::~CTermView):
	Move XftDrawDestroy(m_XftDraw) to destructer to avoid X error,
	however, actually this destructer never be called because strange CWidget
	behavior. Need to FIX. Warn: memory leak.

	* src/caret.cpp,
	src/termview.cpp,
	src/widget.cpp:
	Some debug message.
2005-07-04  Jim Huang  <jserv@kaffe.org>

        * src/mainframe.h:
        Rename m_Tray_icon to m_TrayIcon_Instance.
        (set_tray_icon): New helper function splitted from constructor to handle
        tray icon routines.
        (m_TrayButton) (m_TrayIcon): New member data. Likewise.

        * src/pcmanx_pure_gtk2.cpp (main):
        Adjust m_Tray_icon naming change.

        * src/mainframe.cpp
        (CMainFrame::CMainFrame): Use new helper function, set_tray_icon, and make
        sure m_MainIcon is null at startup.
        (CMainFrame::OnTrayButton_Changed): Implemented via invoking set_tray_icon.