Hiroyuki Ikezoe
ikezo****@users*****
Tue Sep 12 08:12:22 JST 2006
Index: kazehakase/ChangeLog diff -u kazehakase/ChangeLog:1.1763 kazehakase/ChangeLog:1.1764 --- kazehakase/ChangeLog:1.1763 Fri Sep 8 16:20:22 2006 +++ kazehakase/ChangeLog Tue Sep 12 08:12:22 2006 @@ -1,3 +1,13 @@ +2006-09-12 Hiroyuki Ikezoe <poinc****@ikezo*****> + + * configure.in, src/kazehakase.h, + src/mozilla/Makefile.am, + src/mozilla/MozillaPrivate.[cpp|h], + src/mozilla/kz-mozembed.cpp, + src/mozilla/kz-mozwrapper.[cpp|h], + src/utils/util.c: New creating thumbnail process with new GECKO + APIs. But it is caprice. + 2006-09-08 Hiroyuki Ikezoe <poinc****@ikezo*****> * src/actions/kz-actions-download.c, Index: kazehakase/configure.in diff -u kazehakase/configure.in:1.163 kazehakase/configure.in:1.164 --- kazehakase/configure.in:1.163 Tue Aug 29 23:00:59 2006 +++ kazehakase/configure.in Tue Sep 12 08:12:22 2006 @@ -148,7 +148,7 @@ fi -CPPFLAGS="-I$MOZILLA_INCLUDE_ROOT -I$MOZILLA_INCLUDE_ROOT/widget -I$MOZILLA_INCLUDE_ROOT/layout -I$MOZILLA_INCLUDE_ROOT/helperAppDlg -I$MOZILLA_INCLUDE_ROOT/dom -I$MOZILLA_INCLUDE_ROOT/exthandler -I$MOZILLA_INCLUDE_ROOT/pipnss -I$MOZILLA_INCLUDE_ROOT/necko `$PKG_CONFIG --cflags-only-I $GECKO-xpcom`" +CPPFLAGS="-I$MOZILLA_INCLUDE_ROOT -I$MOZILLA_INCLUDE_ROOT/widget -I$MOZILLA_INCLUDE_ROOT/layout -I$MOZILLA_INCLUDE_ROOT/helperAppDlg -I$MOZILLA_INCLUDE_ROOT/dom -I$MOZILLA_INCLUDE_ROOT/exthandler -I$MOZILLA_INCLUDE_ROOT/pipnss -I$MOZILLA_INCLUDE_ROOT/necko -I$MOZILLA_INCLUDE_ROOT/gfx -I$MOZILLA_INCLUDE_ROOT/content -I$MOZILLA_INCLUDE_ROOT/locale -I$MOZILLA_INCLUDE_ROOT/docshell `$PKG_CONFIG --cflags-only-I $GECKO-xpcom`" CXXFLAGS="$_SAVE_CXXFLAGS $AM_CXXFLAGS `$PKG_CONFIG --cflags-only-other $GECKO-xpcom`" AC_MSG_RESULT([$CXXFLAGS]) @@ -260,6 +260,23 @@ AC_MSG_RESULT([$result]) +AC_COMPILE_IFELSE( + [AC_LANG_PROGRAM( + [[#define MOZILLA_INTERNAL_API + #include <nsICanvasRenderingContextInternal.h> + #include <nsEmbedString.h> + #undef MOZILLA_INTERNAL_API]], + [[nsICanvasRenderingContextInternal *p; + p->GetInputStream (nsEmbedCString(), nsEmbedString(), nsnull);]] + )], + [AC_DEFINE([MOZ_NSICANVASRENDERINGCONTEXTINTERNAL_HAVE_GETINPUTSTREAM_],[1],[Define if nsICanvasRenderingContextInternal has GetInputStream]) result=yes], + [result=no]) + +AC_MSG_RESULT([$result]) + +AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/content/nsICanvasRenderingContextInternal.h], + [AC_DEFINE([HAVE_NSICANVASRENDERINGCONTEXTINTERNAL_H],[1],[Define if nsICanvasRenderingContextInternal.h exists])]) + AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/nsIWebProgressListener2.h], [AC_DEFINE([HAVE_NSIWEBPROGRESSLISTENER2_H],[1],[Define if nsIWebProgressListener2.h exists])], [AC_CHECK_FILE([$MOZILLA_INCLUDE_ROOT/uriloader/nsIWebProgressListener2.h],