[gwt-contrib] [google-web-toolkit] r10679 committed - Firefox 7 xulrunner Darwin gcc3

2011-10-04 Thread codesite-noreply

Revision: 10679
Author:   acle...@google.com
Date: Tue Oct  4 01:08:31 2011
Log:  Firefox 7 xulrunner Darwin gcc3

http://code.google.com/p/google-web-toolkit/source/detail?r=10679

Added:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/README.txt
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/bin
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/bin/xpidl
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/include
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/include/js-config.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/include/jsautocfg.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/include/mozilla-config.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/include/prcpucfg.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/include/xpcom-config.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/XUL
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libmozalloc.dylib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libnspr4.dylib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libplc4.dylib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libplds4.dylib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libxpcom.dylib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libxul.dylib

===
--- /dev/null
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/README.txt	Tue Oct  4  
01:08:31 2011

@@ -0,0 +1,10 @@
+The dynamic libraries were taken from the universal xulrunner runtime.
+
+include files jsautocfg.h, mozilla-config.h, prcpucfg.h, and js-config.h  
had

+#ifdefs added to merge x86 and x86_64 platforms using -Xarch_arch to define
+FLAG32BIT as a switch.
+
+A symlink from lib/libxul.dylib to lib/XUL was added so that ld can find  
XUL ld
+requires librarires to follow a naming convention that mozilla oddly  
ignores.
+This allows ld to find libxul as libxul.dylib at build time but the  
LC_ID_DYLIB

+is still @executable_path/XUL for the runtime search.
===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/bin/xpidl	Tue Oct  4  
01:08:31 2011

Binary file, no diff available.
===
--- /dev/null
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/include/js-config.h	Tue  
Oct  4 01:08:31 2011

@@ -0,0 +1,102 @@
+/* js-config.h.  Generated automatically by configure.  */
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * vim: set ts=8 sw=4 et tw=78:
+ *
+ * * BEGIN LICENSE BLOCK *
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License  
Version

+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS  
basis,

+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code, released
+ * March 31, 1998.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either of the GNU General Public License Version 2 or later (the GPL),
+ * or the GNU Lesser General Public License Version 2.1 or later  
(the LGPL),
+ * in which case the provisions of the GPL or the LGPL are applicable  
instead
+ * of those above. If you wish to allow use of your version of this file  
only
+ * under the terms of either the GPL or the LGPL, and not to allow others  
to

+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the  
notice
+ * and other provisions required by the GPL or the LGPL. If you do not  
delete
+ * the provisions above, a recipient may use your version of this file  
under

+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * * END LICENSE BLOCK * */
+
+#ifndef js_config_h___
+#define js_config_h___
+
+/* Definitions set at build time that affect SpiderMonkey's public API.
+   This header file is generated by the SpiderMonkey configure script,
+   and installed along with jsapi.h.  */
+
+/* Define to 1 if SpiderMonkey should support multi-threaded clients.  */
+#define JS_THREADSAFE 1
+
+/* Define to 1 if SpiderMonkey should include ctypes support.  */
+#define JS_HAS_CTYPES 1
+
+/* Define to 1 if SpiderMonkey should support the ability to perform
+   entirely too much GC.  */
+/* #undef JS_GC_ZEAL */
+
+/* Define to 1 if the standard stdint.h 

[gwt-contrib] [google-web-toolkit] r10680 committed - Firefox 7 libxpcomglue_s.a for Mac

2011-10-04 Thread codesite-noreply

Revision: 10680
Author:   acle...@google.com
Date: Tue Oct  4 01:20:51 2011
Log:  Firefox 7 libxpcomglue_s.a for Mac

http://code.google.com/p/google-web-toolkit/source/detail?r=10680

Added:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libxpcomglue_s.a

===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Darwin-gcc3/lib/libxpcomglue_s.a	 
Tue Oct  4 01:20:51 2011

File is too large to display a diff.

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10681 committed - Removed unneeded files from Firefox 7 x86 plugin sdk

2011-10-04 Thread codesite-noreply

Revision: 10681
Author:   acle...@google.com
Date: Tue Oct  4 02:13:50 2011
Log:  Removed unneeded files from Firefox 7 x86 plugin sdk

http://code.google.com/p/google-web-toolkit/source/detail?r=10681

Deleted:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/include/nsAlgorithm.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/include/nsCharTraits.h
  
/plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/include/nsIDOMEventTarget.h

 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/xpidl

===
---  
/plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/include/nsAlgorithm.h	 
Wed Sep 28 11:49:19 2011

+++ /dev/null
@@ -1,114 +0,0 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2  
-*- */

-/* * BEGIN LICENSE BLOCK *
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License  
Version

- * 1.1 (the License); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an AS IS  
basis,

- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original Code is
- * Netscape Communications Corporation.
- * Portions created by the Initial Developer are Copyright (C) 1998
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Scott Collins s...@mozilla.org (original author)
- *
- * Alternatively, the contents of this file may be used under the terms of
- * either of the GNU General Public License Version 2 or later (the GPL),
- * or the GNU Lesser General Public License Version 2.1 or later  
(the LGPL),
- * in which case the provisions of the GPL or the LGPL are applicable  
instead
- * of those above. If you wish to allow use of your version of this file  
only
- * under the terms of either the GPL or the LGPL, and not to allow others  
to

- * use your version of this file under the terms of the MPL, indicate your
- * decision by deleting the provisions above and replace them with the  
notice
- * and other provisions required by the GPL or the LGPL. If you do not  
delete
- * the provisions above, a recipient may use your version of this file  
under

- * the terms of any one of the MPL, the GPL or the LGPL.
- *
- * * END LICENSE BLOCK * */
-
-#ifndef nsAlgorithm_h___
-#define nsAlgorithm_h___
-
-#ifndef nsCharTraits_h___
-#include nsCharTraits.h
-  // for |nsCharSourceTraits|, |nsCharSinkTraits|
-#endif
-
-#ifndef prtypes_h___
-#include prtypes.h
-  // for |PRUint32|...
-#endif
-
-#ifndef nsDebug_h___
-#include nsDebug.h
-  // for NS_ASSERTION
-#endif
-
-
-template class T
-inline
-T
-NS_ROUNDUP( const T a, const T b )
-  {
-return ((a + (b - 1)) / b) * b;
-  }
-
-template class T
-inline
-const T
-NS_MIN( const T a, const T b )
-  {
-return b  a ? b : a;
-  }
-
-template class T
-inline
-const T
-NS_MAX( const T a, const T b )
-  {
-return a  b ? a : b;
-  }
-
-template class T
-inline
-T
-NS_ABS( const T a )
-  {
-return a  0 ? -a : a;
-  }
-
-template class InputIterator, class T
-inline
-PRUint32
-NS_COUNT( InputIterator first, const InputIterator last, const T value )
-  {
-PRUint32 result = 0;
-for ( ; first != last; ++first )
-  if ( *first == value )
-++result;
-return result;
-  }
-
-template class InputIterator, class OutputIterator
-inline
-OutputIterator
-copy_string( const InputIterator first, const InputIterator last,  
OutputIterator result )

-  {
-typedef nsCharSourceTraitsInputIterator source_traits;
-typedef nsCharSinkTraitsOutputIterator  sink_traits;
-
-sink_traits::write(result, source_traits::read(first),  
source_traits::readable_distance(first, last));

-return result;
-  }
-
-#endif // !defined(nsAlgorithm_h___)
===
---  
/plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/include/nsCharTraits.h	 
Wed Sep 28 11:49:19 2011

+++ /dev/null
@@ -1,858 +0,0 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2  
-*- */

-/* * BEGIN LICENSE BLOCK *
- * Version: MPL 1.1/GPL 2.0/LGPL 2.1
- *
- * The contents of this file are subject to the Mozilla Public License  
Version

- * 1.1 (the License); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- * http://www.mozilla.org/MPL/
- *
- * Software distributed under the License is distributed on an AS IS  
basis,

- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- * for the specific language governing rights and limitations under the
- * License.
- *
- * The Original Code is mozilla.org code.
- *
- * The Initial Developer of the Original 

[gwt-contrib] [google-web-toolkit] r10682 committed - Firefox 7 x86 Linux plugin SDK

2011-10-04 Thread codesite-noreply

Revision: 10682
Author:   acle...@google.com
Date: Tue Oct  4 02:15:10 2011
Log:  Firefox 7 x86 Linux plugin SDK

http://code.google.com/p/google-web-toolkit/source/detail?r=10682

Added:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/bin
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/bin/xpidl
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/include
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/include/js-config.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/include/jsautocfg.h
  
/plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/include/mozilla-config.h

 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/include/prcpucfg.h
  
/plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/include/xpcom-config.h

 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib/libmozalloc.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib/libnspr4.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib/libplc4.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib/libplds4.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib/libxpcom.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib/libxpcomglue_s.a
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/lib/libxul.so

===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/bin/xpidl	Tue  
Oct  4 02:15:10 2011

Binary file, no diff available.
===
--- /dev/null
+++  
/plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86_64-gcc3/include/js-config.h	 
Tue Oct  4 02:15:10 2011

@@ -0,0 +1,92 @@
+/* js-config.h.  Generated automatically by configure.  */
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * vim: set ts=8 sw=4 et tw=78:
+ *
+ * * BEGIN LICENSE BLOCK *
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License  
Version

+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS  
basis,

+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code, released
+ * March 31, 1998.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either of the GNU General Public License Version 2 or later (the GPL),
+ * or the GNU Lesser General Public License Version 2.1 or later  
(the LGPL),
+ * in which case the provisions of the GPL or the LGPL are applicable  
instead
+ * of those above. If you wish to allow use of your version of this file  
only
+ * under the terms of either the GPL or the LGPL, and not to allow others  
to

+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the  
notice
+ * and other provisions required by the GPL or the LGPL. If you do not  
delete
+ * the provisions above, a recipient may use your version of this file  
under

+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * * END LICENSE BLOCK * */
+
+#ifndef js_config_h___
+#define js_config_h___
+
+/* Definitions set at build time that affect SpiderMonkey's public API.
+   This header file is generated by the SpiderMonkey configure script,
+   and installed along with jsapi.h.  */
+
+/* Define to 1 if SpiderMonkey should support multi-threaded clients.  */
+#define JS_THREADSAFE 1
+
+/* Define to 1 if SpiderMonkey should include ctypes support.  */
+#define JS_HAS_CTYPES 1
+
+/* Define to 1 if SpiderMonkey should support the ability to perform
+   entirely too much GC.  */
+/* #undef JS_GC_ZEAL */
+
+/* Define to 1 if the standard stdint.h header is present and
+   useable.  See jstypes.h and jsstdint.h.  */
+#define JS_HAVE_STDINT_H 1
+
+/* Define to 1 if the sys/types.h defines int8_t, etc. */
+/* #undef JS_SYS_TYPES_H_DEFINES_EXACT_SIZE_TYPES */
+
+/* Define to 1 if the N-byte __intN types are defined by the
+   compiler.  */
+/* #undef JS_HAVE___INTN */
+
+/* Define to 1 if #including stddef.h provides definitions for
+   intptr_t and uintptr_t.  */
+/* #undef JS_STDDEF_H_HAS_INTPTR_T */
+
+/* Define to 1 if #including crtdefs.h provides definitions for
+   intptr_t and uintptr_t.  */
+/* #undef JS_CRTDEFS_H_HAS_INTPTR_T */
+
+/* The configure script defines these if it doesn't #define
+   

[gwt-contrib] [google-web-toolkit] r10683 committed - Firefox 7 Windows Plugin SDK

2011-10-04 Thread codesite-noreply

Revision: 10683
Author:   acle...@google.com
Date: Tue Oct  4 02:17:41 2011
Log:  Firefox 7 Windows Plugin SDK

http://code.google.com/p/google-web-toolkit/source/detail?r=10683

Added:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/bin
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/bin/xpidl.exe
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include/js-config.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include/jsautocfg.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include/jscpucfg.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include/mozilla-config.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include/prcpucfg.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include/xpcom-config.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/mozalloc.lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/mozjs.lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/nspr4.lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/plc4.lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/plds4.lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/xpcom.lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/xpcomglue_s.lib
 /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/lib/xul.lib
Deleted:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/include/mozilla-config.h

===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/bin/xpidl.exe	Tue  
Oct  4 02:17:41 2011

Binary file, no diff available.
===
--- /dev/null
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/WINNT_x86-msvc/include/js-config.h	 
Tue Oct  4 02:17:41 2011

@@ -0,0 +1,92 @@
+/* js-config.h.  Generated automatically by configure.  */
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+ * vim: set ts=8 sw=4 et tw=78:
+ *
+ * * BEGIN LICENSE BLOCK *
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License  
Version

+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS  
basis,

+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Mozilla Communicator client code, released
+ * March 31, 1998.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either of the GNU General Public License Version 2 or later (the GPL),
+ * or the GNU Lesser General Public License Version 2.1 or later  
(the LGPL),
+ * in which case the provisions of the GPL or the LGPL are applicable  
instead
+ * of those above. If you wish to allow use of your version of this file  
only
+ * under the terms of either the GPL or the LGPL, and not to allow others  
to

+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the  
notice
+ * and other provisions required by the GPL or the LGPL. If you do not  
delete
+ * the provisions above, a recipient may use your version of this file  
under

+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * * END LICENSE BLOCK * */
+
+#ifndef js_config_h___
+#define js_config_h___
+
+/* Definitions set at build time that affect SpiderMonkey's public API.
+   This header file is generated by the SpiderMonkey configure script,
+   and installed along with jsapi.h.  */
+
+/* Define to 1 if SpiderMonkey should support multi-threaded clients.  */
+#define JS_THREADSAFE 1
+
+/* Define to 1 if SpiderMonkey should include ctypes support.  */
+#define JS_HAS_CTYPES 1
+
+/* Define to 1 if SpiderMonkey should support the ability to perform
+   entirely too much GC.  */
+/* #undef JS_GC_ZEAL */
+
+/* Define to 1 if the standard stdint.h header is present and
+   useable.  See jstypes.h and jsstdint.h.  */
+/* #undef JS_HAVE_STDINT_H */
+
+/* Define to 1 if the sys/types.h defines int8_t, etc. */
+/* #undef JS_SYS_TYPES_H_DEFINES_EXACT_SIZE_TYPES */
+
+/* Define to 1 if the N-byte __intN types are defined by the
+   compiler.  */
+#define JS_HAVE___INTN 1
+
+/* Define to 1 if #including stddef.h provides definitions for
+   intptr_t and uintptr_t.  */
+#define JS_STDDEF_H_HAS_INTPTR_T 1
+
+/* Define to 1 if #including crtdefs.h provides definitions for
+   

[gwt-contrib] [google-web-toolkit] r10684 committed - Add missing Firefox 7 common include/ns*.h

2011-10-04 Thread codesite-noreply

Revision: 10684
Author:   acle...@google.com
Date: Tue Oct  4 02:31:04 2011
Log:  Add missing Firefox 7 common include/ns*.h

http://code.google.com/p/google-web-toolkit/source/detail?r=10684

Added:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/include/nsAlgorithm.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/include/nsCharTraits.h
 /plugin-sdks/gecko-sdks/gecko-7.0.0/include/nsIDOMEventTarget.h

===
--- /dev/null
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/include/nsAlgorithm.h	Tue Oct  4  
02:31:04 2011

@@ -0,0 +1,114 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2  
-*- */

+/* * BEGIN LICENSE BLOCK *
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License  
Version

+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS  
basis,

+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 1998
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s):
+ *   Scott Collins s...@mozilla.org (original author)
+ *
+ * Alternatively, the contents of this file may be used under the terms of
+ * either of the GNU General Public License Version 2 or later (the GPL),
+ * or the GNU Lesser General Public License Version 2.1 or later  
(the LGPL),
+ * in which case the provisions of the GPL or the LGPL are applicable  
instead
+ * of those above. If you wish to allow use of your version of this file  
only
+ * under the terms of either the GPL or the LGPL, and not to allow others  
to

+ * use your version of this file under the terms of the MPL, indicate your
+ * decision by deleting the provisions above and replace them with the  
notice
+ * and other provisions required by the GPL or the LGPL. If you do not  
delete
+ * the provisions above, a recipient may use your version of this file  
under

+ * the terms of any one of the MPL, the GPL or the LGPL.
+ *
+ * * END LICENSE BLOCK * */
+
+#ifndef nsAlgorithm_h___
+#define nsAlgorithm_h___
+
+#ifndef nsCharTraits_h___
+#include nsCharTraits.h
+  // for |nsCharSourceTraits|, |nsCharSinkTraits|
+#endif
+
+#ifndef prtypes_h___
+#include prtypes.h
+  // for |PRUint32|...
+#endif
+
+#ifndef nsDebug_h___
+#include nsDebug.h
+  // for NS_ASSERTION
+#endif
+
+
+template class T
+inline
+T
+NS_ROUNDUP( const T a, const T b )
+  {
+return ((a + (b - 1)) / b) * b;
+  }
+
+template class T
+inline
+const T
+NS_MIN( const T a, const T b )
+  {
+return b  a ? b : a;
+  }
+
+template class T
+inline
+const T
+NS_MAX( const T a, const T b )
+  {
+return a  b ? a : b;
+  }
+
+template class T
+inline
+T
+NS_ABS( const T a )
+  {
+return a  0 ? -a : a;
+  }
+
+template class InputIterator, class T
+inline
+PRUint32
+NS_COUNT( InputIterator first, const InputIterator last, const T value )
+  {
+PRUint32 result = 0;
+for ( ; first != last; ++first )
+  if ( *first == value )
+++result;
+return result;
+  }
+
+template class InputIterator, class OutputIterator
+inline
+OutputIterator
+copy_string( const InputIterator first, const InputIterator last,  
OutputIterator result )

+  {
+typedef nsCharSourceTraitsInputIterator source_traits;
+typedef nsCharSinkTraitsOutputIterator  sink_traits;
+
+sink_traits::write(result, source_traits::read(first),  
source_traits::readable_distance(first, last));

+return result;
+  }
+
+#endif // !defined(nsAlgorithm_h___)
===
--- /dev/null
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/include/nsCharTraits.h	Tue Oct  4  
02:31:04 2011

@@ -0,0 +1,858 @@
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2  
-*- */

+/* * BEGIN LICENSE BLOCK *
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License  
Version

+ * 1.1 (the License); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an AS IS  
basis,

+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is mozilla.org code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Communications Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2000
+ * the Initial Developer. All Rights 

[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-10-04 Thread codesite-noreply

Comment by dahl...@gmail.com:

Hello,
Is anyone can help me ?

I import this project below from svn site :
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/

and I try to configure my gwt-maven-plug and eclipse environment to run the  
project


after that , I build this project anf got errors :
[ERROR] error on execute: null
Build errors for dynatablerf;  
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute  
goal org.bsc.maven:maven-processor-plugin:2.0.5:process (process) on  
project DynaTableRf: Error executing


For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-10-04 Thread codesite-noreply

Comment by dahl...@gmail.com:

Hello, Is anyone can help me ?

I import a example project from the svn site :  
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/ .


and I try to configure my gwt-maven-plugin and eclipse environment to run  
the project.


after that , I build this project and got errors :

[ERROR] error on execute: null

Build errors for dynatablerf;  
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute  
goal org.bsc.maven:maven-processor-plugin:2.0.5:process (process) on  
project DynaTableRf: Error executing


For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-10-04 Thread codesite-noreply

Comment by dahl...@gmail.com:

Hello, Can anyone help me ?

I import a example project from the svn site :  
http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/dynatablerf/ .


and I try to configure my gwt-maven-plugin and eclipse environment to run  
the project.


after that , I build this project and got errors :

error on execute: null

Build errors for dynatablerf;  
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute  
goal org.bsc.maven:maven-processor-plugin:2.0.5:process (process) on  
project DynaTableRf: Error executing


For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on AutoBean in google-web-toolkit

2011-10-04 Thread codesite-noreply

Comment by alexpor...@gmail.com:

Regarding Categories:

This is probably loosely implied by the definition of simple autobean  
interfaces, but it may be worth noting that category methods do not seem to  
work if they begin with the phrase get, as it seems like it causes the  
decoder to try and find the matchin JSON entity instead of using an  
implemented category method.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on AutoBean in google-web-toolkit

2011-10-04 Thread codesite-noreply

Comment by alexpor...@gmail.com:

Regarding Categories:

This is probably loosely implied by the definition of simple autobean  
interfaces, but it may be worth noting that category methods do not seem to  
work if they begin with the phrase get, as it seems like it causes the  
decoder to try and find the matching JSON entity instead of using an  
implemented category method.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10677 committed - Remove entrDepthWatchdog exception reporting....

2011-10-03 Thread codesite-noreply

Revision: 10677
Author:   emmanu...@google.com
Date: Sun Oct  2 22:58:27 2011
Log:  Remove entrDepthWatchdog exception reporting.

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10677

Modified:
 /trunk/user/src/com/google/gwt/core/client/impl/Impl.java

===
--- /trunk/user/src/com/google/gwt/core/client/impl/Impl.java	Tue Sep  6  
06:11:27 2011
+++ /trunk/user/src/com/google/gwt/core/client/impl/Impl.java	Sun Oct  2  
22:58:27 2011

@@ -293,13 +293,7 @@
 // Note: this must NEVER be called nested in a $entry() call.
 // This method is call from a setTimeout: entryDepth should be set  
to 0.

 if (GWT.isScript()  entryDepth != 0) {
-  int oldDepth = entryDepth;
   entryDepth = 0;
-  if (GWT.getUncaughtExceptionHandler() != null) {
-// Report the problem.
-GWT.getUncaughtExceptionHandler().onUncaughtException(
-new IllegalStateException(Invalid entryDepth value  +  
oldDepth));

-  }
 }
 watchdogEntryDepthTimerId = -1;  // Timer has run.
   }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10678 committed - Fixed issue that was causing ERROR log messages due to duplicate cssma...

2011-10-03 Thread codesite-noreply

Revision: 10678
Author:   gwt.mirror...@gmail.com
Date: Mon Oct  3 12:47:54 2011
Log:  Fixed issue that was causing ERROR log messages due to duplicate  
cssmap file names.
Since there may be multiple css resources with the same base subtype (e.g.  
CssResource), the subtype class is not
guaranteed to be unique. Instead, the qualified resource getter method name  
is used which is unique.


Review by: unn...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10678

Modified:
 /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java
 /trunk/user/test/com/google/gwt/resources/rg/CssOutputTestCase.java

===
--- /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java	 
Fri Sep 30 10:03:13 2011
+++ /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java	 
Mon Oct  3 12:47:54 2011

@@ -445,9 +445,8 @@

 // Optimize the stylesheet, recording the class selector obfuscations
 MapJMethod, String actualReplacements = optimize(logger, context,  
method);

-
-outputCssMapArtifact(logger, context, actualReplacements,
-cssResourceSubtype.getQualifiedSourceName());
+
+outputCssMapArtifact(logger, context, method, actualReplacements);

 outputAdditionalArtifacts(logger, context, method, actualReplacements,
 cssResourceSubtype, stylesheet);
@@ -595,20 +594,26 @@
* Builds a CSV file mapping obfuscated CSS class names to their  
qualified source name and

* outputs it as a private build artifact.
*/
-  protected void outputCssMapArtifact(TreeLogger logger, ResourceContext  
context,

-  MapJMethod, String actualReplacements, String outputFileName) {
-String mappingFileName = cssResource/ + outputFileName + .cssmap;
+  protected void outputCssMapArtifact(TreeLogger logger, ResourceContext  
context, JMethod method,

+  MapJMethod, String actualReplacements) {
+// There may be several css resources that have the same css resource  
subtype (e.g. CssResource)
+// so the qualified accessor method name is used for the unique output  
file name.

+JClassType bundleType = method.getEnclosingType();
+
+String qualifiedMethodName = bundleType.getQualifiedSourceName() + .  
+ method.getName();

+
+String mappingFileName = cssResource/ + qualifiedMethodName  
+ .cssmap;


 OutputStream os = null;
 try {
   os = context.getGeneratorContext().tryCreateResource(logger,  
mappingFileName);

 } catch (UnableToCompleteException e) {
-  logger.log(TreeLogger.ERROR, Could not create resource:  +  
mappingFileName);
+  logger.log(TreeLogger.WARN, Could not create resource:  +  
mappingFileName);

   return;
 }

 if (os == null) {
-  logger.log(TreeLogger.ERROR, Created resource is null:  +  
mappingFileName);
+  logger.log(TreeLogger.WARN, Created resource is null:  +  
mappingFileName);

   return;
 }

@@ -625,13 +630,13 @@
   writer.flush();
   writer.close();
 } catch (IOException e) {
-  logger.log(TreeLogger.ERROR, Error writing artifact:  +  
mappingFileName);
+  logger.log(TreeLogger.WARN, Error writing artifact:  +  
mappingFileName);

 }

 try {
   context.getGeneratorContext().commitResource(logger,  
os).setVisibility(Visibility.Private);

 } catch (UnableToCompleteException e) {
-  logger.log(TreeLogger.ERROR, Error trying to commit artifact:  +  
mappingFileName);
+  logger.log(TreeLogger.WARN, Error trying to commit artifact:  +  
mappingFileName);

 }
   }

===
--- /trunk/user/test/com/google/gwt/resources/rg/CssOutputTestCase.java	Fri  
Sep 30 10:03:13 2011
+++ /trunk/user/test/com/google/gwt/resources/rg/CssOutputTestCase.java	Mon  
Oct  3 12:47:54 2011

@@ -49,23 +49,35 @@
  
EasyMock.expect(mockResourceContext.getGeneratorContext()).andReturn(mockGeneratorContext);

 EasyMock.expectLastCall().times(2);
 EasyMock.expect(mockGeneratorContext.tryCreateResource(
- 
testLogger, cssResource/test-file-name.cssmap)).andReturn(mockOutputStream);
+ 
testLogger, cssResource/com.test.Bundle.cssMethod.cssmap)).andReturn(mockOutputStream);
 EasyMock.expect(mockGeneratorContext.commitResource(testLogger,  
mockOutputStream)).andReturn(

 mockGeneratedResource);
+
+JMethod method = EasyMock.createMock(JMethod.class);
+JClassType bundleType = EasyMock.createMock(JClassType.class);
+EasyMock.expect(method.getEnclosingType()).andReturn(bundleType);
+ 
EasyMock.expect(bundleType.getQualifiedSourceName()).andReturn(com.test.Bundle);

+EasyMock.expect(method.getName()).andReturn(cssMethod);
+
 EasyMock.replay(mockResourceContext);
 EasyMock.replay(mockGeneratorContext);
+EasyMock.replay(method);
+EasyMock.replay(bundleType);

 CssResourceGenerator crg = new CssResourceGenerator();
-crg.outputCssMapArtifact(testLogger, mockResourceContext,  
testMap, 

[gwt-contrib] Re: Comment on WorkingWithMaven in google-web-toolkit

2011-10-02 Thread codesite-noreply

Comment by philippe.beaudoin:

In Eclipse Indigo Java IDE I was not able to install  
build-helper-maven-plugin from the update site you recommend here (I got a  
missing dependency error). Instead I installed `build helper` from `Window  

Preferences  Maven  Discovery  open catalog`.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactory_2_5 in google-web-toolkit

2011-09-30 Thread codesite-noreply

Comment by seq...@gmail.com:

Issue 6705 was released in GWT 2.4. May be we need to move corresponding  
line in this overview to RequestFactory_2_4 page.


For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_5

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10675 committed - Exporting a map of obfuscated CSS names to full class names into a bui...

2011-09-30 Thread codesite-noreply

Revision: 10675
Author:   mlow...@google.com
Date: Fri Sep 30 10:03:13 2011
Log:  Exporting a map of obfuscated CSS names to full class names into  
a build

artifact CSV file. This will allow CSS names to be found in the DOM for
frontend testing.

Review by: unn...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10675

Added:
 /trunk/user/test/com/google/gwt/resources/rg/CssOutputTestCase.java
Modified:
 /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java
 /trunk/user/test/com/google/gwt/resources/ResourcesSuite.java

===
--- /dev/null
+++ /trunk/user/test/com/google/gwt/resources/rg/CssOutputTestCase.java	Fri  
Sep 30 10:03:13 2011

@@ -0,0 +1,200 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package com.google.gwt.resources.rg;
+
+import com.google.gwt.core.ext.GeneratorContext;
+import com.google.gwt.core.ext.UnableToCompleteException;
+import com.google.gwt.core.ext.linker.GeneratedResource;
+import com.google.gwt.core.ext.typeinfo.JClassType;
+import com.google.gwt.core.ext.typeinfo.JMethod;
+import com.google.gwt.dev.util.UnitTestTreeLogger;
+import com.google.gwt.resources.ext.ResourceContext;
+
+import junit.framework.TestCase;
+
+import org.easymock.EasyMock;
+
+import java.io.ByteArrayOutputStream;
+import java.io.OutputStream;
+import java.util.HashMap;
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+/**
+ * Tests output functions.
+ */
+public class CssOutputTestCase extends TestCase {
+
+  public void testOutputCssMapArtifact() throws UnableToCompleteException {
+UnitTestTreeLogger testLogger = new  
UnitTestTreeLogger.Builder().createLogger();
+ResourceContext mockResourceContext =  
EasyMock.createMock(ResourceContext.class);

+MapJMethod, String testMap = new HashMapJMethod, String();
+OutputStream mockOutputStream =  
EasyMock.createMock(OutputStream.class);
+GeneratorContext mockGeneratorContext =  
EasyMock.createMock(GeneratorContext.class);
+GeneratedResource mockGeneratedResource =  
EasyMock.createMock(GeneratedResource.class);

+
+ 
EasyMock.expect(mockResourceContext.getGeneratorContext()).andReturn(mockGeneratorContext);

+EasyMock.expectLastCall().times(2);
+EasyMock.expect(mockGeneratorContext.tryCreateResource(
+ 
testLogger, cssResource/test-file-name.cssmap)).andReturn(mockOutputStream);
+EasyMock.expect(mockGeneratorContext.commitResource(testLogger,  
mockOutputStream)).andReturn(

+mockGeneratedResource);
+EasyMock.replay(mockResourceContext);
+EasyMock.replay(mockGeneratorContext);
+
+CssResourceGenerator crg = new CssResourceGenerator();
+crg.outputCssMapArtifact(testLogger, mockResourceContext,  
testMap, test-file-name);

+
+testLogger.assertCorrectLogEntries();
+EasyMock.verify(mockResourceContext);
+EasyMock.verify(mockGeneratorContext);
+  }
+
+  public void testOutputCssMapArtifactThrowOnTryCreateResource() throws  
UnableToCompleteException {

+UnitTestTreeLogger.Builder builder = new UnitTestTreeLogger.Builder();
+builder.expectError(Could not create resource:  
cssResource/test-file2.cssmap, null);

+UnitTestTreeLogger testLogger =  builder.createLogger();
+ResourceContext mockResourceContext =  
EasyMock.createMock(ResourceContext.class);

+MapJMethod, String testMap = new HashMapJMethod, String();
+OutputStream mockOutputStream =  
EasyMock.createMock(OutputStream.class);
+GeneratorContext mockGeneratorContext =  
EasyMock.createMock(GeneratorContext.class);
+GeneratedResource mockGeneratedResource =  
EasyMock.createMock(GeneratedResource.class);

+
+ 
EasyMock.expect(mockResourceContext.getGeneratorContext()).andReturn(mockGeneratorContext);

+EasyMock.expect(mockGeneratorContext.tryCreateResource(
+testLogger, cssResource/test-file2.cssmap)).andThrow(new  
UnableToCompleteException());

+EasyMock.replay(mockResourceContext);
+EasyMock.replay(mockGeneratorContext);
+
+CssResourceGenerator crg = new CssResourceGenerator();
+crg.outputCssMapArtifact(testLogger, mockResourceContext,  
testMap, test-file2);

+
+testLogger.assertCorrectLogEntries();
+EasyMock.verify(mockResourceContext);
+EasyMock.verify(mockGeneratorContext);
+  }
+
+  public void testOutputCssMapArtifactReturnNullOutputString() throws  
UnableToCompleteException {

+

[gwt-contrib] [google-web-toolkit] r10676 committed - Gives CellTable an option to disable colgroup and/or don't attach the ...

2011-09-30 Thread codesite-noreply

Revision: 10676
Author:   gwt.mirror...@gmail.com
Date: Fri Sep 30 15:13:14 2011
Log:  Gives CellTable an option to disable colgroup and/or don't attach  
the message
panel. Disabling both leads to 50% faster layout time in IE (about 25%  
each). The side effects are


1. Disabling colgroup will break fixed layout table with explicitly set  
column width, and when styles are added to colgroup element. Therefore this  
is turned off by default. Various checks are added to make sure  
setColumnWidth and setTableLayoutFixed(true) are not called when colgroup  
is disabled.
2. If the message panel is not attached to the table, loading indicator and  
empty table widget are not displayed. Therefore this optimization is turned  
off by default as well. A new method is added to get the message panel so  
that callers can attach it to outside the table element.


Note, disabling colgroup also results in a very small gain in Firefox,  
Chrome and Safari (around 5%). In addition, having the message panel  
attached to the table itself actually results in better layout performance  
in Chrome/Safari. It's recommended to leave inside the table for non-IE  
browsers.


Review at http://gwt-code-reviews.appspot.com/1557804

Review by: jlaba...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10676

Modified:
 /trunk/user/src/com/google/gwt/user/cellview/client/CellTable.java

===
--- /trunk/user/src/com/google/gwt/user/cellview/client/CellTable.java	Tue  
Sep 20 12:53:34 2011
+++ /trunk/user/src/com/google/gwt/user/cellview/client/CellTable.java	Fri  
Sep 30 15:13:14 2011

@@ -499,6 +499,7 @@
   private final TableCellElement tbodyLoadingCell;
   private final TableSectionElement tfoot;
   private final TableSectionElement thead;
+  private boolean colGroupEnabled = true;

   /**
* Constructs a table with a default page size of 15.
@@ -576,15 +577,46 @@
*/
   public CellTable(final int pageSize, Resources resources, ProvidesKeyT  
keyProvider,

   Widget loadingIndicator) {
+this(pageSize, resources, keyProvider, loadingIndicator, true, true);
+  }
+
+  /**
+   * Constructs a table with the specified page size, {@link Resources},  
key

+   * provider, and loading indicator.
+   *
+   * @param pageSize the page size
+   * @param resources the resources to use for this widget
+   * @param keyProvider an instance of ProvidesKeyT, or null if the  
record

+   *  object should act as its own key
+   * @param loadingIndicator the widget to use as a loading indicator, or  
null

+   *  to disable
+   * @param enableColGroup enable colgroup element. This is used when the  
table is using fixed
+   *  layout and when column style is added. Ignoring this element  
will boost rendering
+   *  performance. Note that when colgroup is disabled, {@link  
#setColumnWidth},
+   *  {@link setTableLayoutFixed} and {@link addColumnStyleName}  
are no longe supported
+   * @param attachLoadingPanel attaching the table section that contains  
the empty table widget and
+   *  the loading indicator. Attaching this to the table  
significantly improve the rendering
+   *  performance in webkit based browsers but also introduces  
significantly larger latency
+   *  in IE. If the panel is not attached to the table, it won't  
be displayed. But the user
+   *  can call {@link #getTableLoadingSection} and attach it to  
other elements outside the

+   *  table element
+   */
+  public CellTable(final int pageSize, Resources resources, ProvidesKeyT  
keyProvider,
+  Widget loadingIndicator, boolean enableColGroup, boolean  
attachLoadingPanel) {
 super(Document.get().createTableElement(), pageSize, new  
ResourcesAdapter(resources),

 keyProvider);
 this.style = resources.cellTableStyle();
 this.style.ensureInjected();
+this.colGroupEnabled = enableColGroup;

 table = getElement().cast();
 table.setCellSpacing(0);
-colgroup = Document.get().createColGroupElement();
-table.appendChild(colgroup);
+if (enableColGroup) {
+  colgroup = Document.get().createColGroupElement();
+  table.appendChild(colgroup);
+} else {
+  colgroup = null;
+}
 thead = table.createTHead();
 // Some browsers create a tbody automatically, others do not.
 if (table.getTBodies().getLength()  0) {
@@ -593,7 +625,10 @@
   tbody = Document.get().createTBodyElement();
   table.appendChild(tbody);
 }
-table.appendChild(tbodyLoading = Document.get().createTBodyElement());
+tbodyLoading = Document.get().createTBodyElement();
+if (attachLoadingPanel) {
+  table.appendChild(tbodyLoading);
+}
 tfoot = table.createTFoot();
 setStyleName(resources.cellTableStyle().cellTableWidget());

@@ -623,6 +658,7 @@

   @Override
   public void addColumnStyleName(int index, String styleName) {
+

[gwt-contrib] [google-web-toolkit] r10674 committed - Added missing FF7 Plugin lib

2011-09-28 Thread codesite-noreply

Revision: 10674
Author:   acle...@google.com
Date: Wed Sep 28 12:17:34 2011
Log:  Added missing FF7 Plugin lib

http://code.google.com/p/google-web-toolkit/source/detail?r=10674

Added:
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libmozalloc.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libnspr4.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libplc4.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libplds4.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libxpcom.so
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libxpcomglue_s.a
 /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libxul.so

===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libmozalloc.so	 
Wed Sep 28 12:17:34 2011

Binary file, no diff available.
===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libnspr4.so	Wed  
Sep 28 12:17:34 2011

Binary file, no diff available.
===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libplc4.so	Wed  
Sep 28 12:17:34 2011

Binary file, no diff available.
===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libplds4.so	Wed  
Sep 28 12:17:34 2011

Binary file, no diff available.
===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libxpcom.so	Wed  
Sep 28 12:17:34 2011

Binary file, no diff available.
===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libxpcomglue_s.a	 
Wed Sep 28 12:17:34 2011

File is too large to display a diff.
===
--- /dev/null   
+++ /plugin-sdks/gecko-sdks/gecko-7.0.0/Linux_x86-gcc3/lib/libxul.so	Wed  
Sep 28 12:17:34 2011

File is too large to display a diff.

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-27 Thread codesite-noreply

Comment by rmattis...@gmail.com:

Ty for this ~

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on SourceMaps in google-web-toolkit

2011-09-27 Thread codesite-noreply

Comment by tambir.k...@gmail.com:

l;plpl

For more information:
http://code.google.com/p/google-web-toolkit/wiki/SourceMaps

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10672 committed - Rolling back 24166710. It's broken on IE7/WinXP....

2011-09-26 Thread codesite-noreply

Revision: 10672
Author:   rdcas...@google.com
Date: Mon Sep 26 13:26:56 2011
Log:  Rolling back 24166710. It's broken on IE7/WinXP.

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10672

Modified:
 /trunk/user/src/com/google/gwt/user/client/ui/PotentialElement.java
 /trunk/user/src/com/google/gwt/user/client/ui/RenderablePanel.java

===
--- /trunk/user/src/com/google/gwt/user/client/ui/PotentialElement.java	Fri  
Sep 23 05:24:04 2011
+++ /trunk/user/src/com/google/gwt/user/client/ui/PotentialElement.java	Mon  
Sep 26 13:26:56 2011

@@ -17,8 +17,6 @@

 import com.google.gwt.core.client.JavaScriptObject;
 import com.google.gwt.dom.client.Element;
-import com.google.gwt.dom.builder.shared.HtmlElementBuilder;
-import com.google.gwt.dom.builder.shared.HtmlBuilderFactory;

 /**
  * EXPERIMENTAL and subject to change. Do not use this in production code.
@@ -39,10 +37,6 @@
  */
 public class PotentialElement extends Element {

-  static {
-declareShim();
-  }
-
   public static PotentialElement as(Element e) {
 assert isPotential(e);
 return (PotentialElement) e;
@@ -64,34 +58,34 @@
* that is needed.
*/
   public static native PotentialElement build(UIObject o, String tagName)  
/*-{

-var el = new $wnd.GwtPotentialElementShim();
-el.tagName = tagName;
-el.__gwt_resolve =  
@com.google.gwt.user.client.ui.PotentialElement::buildResolveCallback(Lcom/google/gwt/user/client/ui/UIObject;)(o);
-return  
@com.google.gwt.dom.client.Element::as(Lcom/google/gwt/core/client/JavaScriptObject;)(el);
+return  
@com.google.gwt.dom.client.Element::as(Lcom/google/gwt/core/client/JavaScriptObject;)({

+  className: '',
+  clientHeight: 0,
+  clientWidth: 0,
+  dir: '',
+  getAttribute: function(name, value) {
+return this[name];
+  },
+  href: '',
+  id: '',
+  lang: '',
+  // should be @com.google.gwt.dom.client.Node.ELEMENT_MODE, but the  
compiler

+  // doesn't like that.
+  nodeType: 1,
+  removeAttribute: function(name, value) {
+this[name] = undefined;
+  },
+  setAttribute: function(name, value) {
+this[name] = value;
+  },
+  src: '',
+  style: {},
+  tagName: tagName,
+  __gwt_resolve:  
@com.google.gwt.user.client.ui.PotentialElement::buildResolveCallback(Lcom/google/gwt/user/client/ui/UIObject;)(o),

+  title: ''
+});
   }-*/;

-  /**
-   * Creates an {@link HtmlElementBuilder} instance inheriting all  
attributes

-   * set for the given PotentialElement.
-   *
-   * @param potentialElement assumed to be a PotentialElement, used as  
basis for

-   * the builder
-   * @return a propertly configured {@link HtmlElementBuilder} instance
-   */
-  public static HtmlElementBuilder createBuilderFor(Element  
potentialElement) {

-PotentialElement el = PotentialElement.as(potentialElement);
-HtmlElementBuilder builder = HtmlBuilderFactory.get().trustedCreate(
-el.getTagName());
-el.mergeInto(builder);
-return builder;
-  }
-
-  /**
-   * Tests whether a given {@link JavaScriptObject} represents a  
PotentialElement.

-   *
-   * @param o the {@link JavaScriptObject} to be tested
-   * @return true if the given object is a PotentialElement instance
-   */
   public static native boolean isPotential(JavaScriptObject o) /*-{
 try {
   return (!!o)   (!!o.__gwt_resolve);
@@ -123,35 +117,6 @@
 throw A PotentialElement cannot be resolved twice.;
   }-*/;

-  private static final native void declareShim() /*-{
-var shim = function() {};
-shim.prototype = {
-  className: '',
-  clientHeight: 0,
-  clientWidth: 0,
-  dir: '',
-  getAttribute: function(name, value) {
-return this[name];
-  },
-  href: '',
-  id: '',
-  lang: '',
-  // should be @com.google.gwt.dom.client.Node.ELEMENT_MODE, but the  
compiler

-  // doesn't like that.
-  nodeType: 1,
-  removeAttribute: function(name, value) {
-this[name] = undefined;
-  },
-  setAttribute: function(name, value) {
-this[name] = value;
-  },
-  src: '',
-  style: {},
-  title: ''
-};
-$wnd.GwtPotentialElementShim = shim;
-  }-*/;
-
   protected PotentialElement() {
   }

@@ -159,53 +124,6 @@
 this.__gwt_resolve =  
@com.google.gwt.user.client.ui.PotentialElement::buildResolveCallback(Lcom/google/gwt/user/client/ui/UIObject;)(resolver);

   }-*/;

-  /**
-   * Copy only the fields that have actually changed from the values in  
the shim
-   * prototype. Do this by severing the __proto__ link, allowing us to  
iterate

-   * only on the fields set in this specific instance.
-   */
-  private native void mergeInto(HtmlElementBuilder builder) /*-{
-var savedProto = this.__proto__;
-var tagName = this.tagName;
-var gwtResolve = this.__gwt_resolve;
-var className = this.className;
-
-   

[gwt-contrib] [google-web-toolkit] r10671 committed - Fix name clash between RequestContext and the FindRequest impl interfa...

2011-09-23 Thread codesite-noreply

Revision: 10671
Author:   gwt.mirror...@gmail.com
Date: Fri Sep 23 15:47:50 2011
Log:  Fix name clash between RequestContext and the FindRequest impl  
interface.


I think this was only able to compile due to a javac bug. When I
reinstalled eclipse today (don't ask, just don't ask), this line
started failng with:

Name clash: The method find(EntityProxyId?) of type FindRequest has the  
same erasure as find(EntityProxyIdP) of type RequestContext but does not  
override it


Installing a fresh OpenJDK showed the same fail in an ant build.

Review at http://gwt-code-reviews.appspot.com/1559803

Review by: cromwell...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10671

Modified:
  
/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java


===
---  
/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java	 
Fri Jul  8 07:22:32 2011
+++  
/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java	 
Fri Sep 23 15:47:50 2011

@@ -31,5 +31,5 @@
   /**
* Use the implicit lookup in passing EntityProxy types to service  
methods.

*/
-  RequestEntityProxy find(EntityProxyId? proxy);
-}
+  P extends EntityProxy RequestP find(EntityProxyIdP proxyId);
+}

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10664 committed - Added note on installing the build helper connector if required

2011-09-22 Thread codesite-noreply

Revision: 10664
Author:   drfibona...@google.com
Date: Thu Sep 22 11:04:05 2011
Log:  Added note on installing the build helper connector if required
http://code.google.com/p/google-web-toolkit/source/detail?r=10664

Modified:
 /wiki/RequestFactoryInterfaceValidation.wiki

===
--- /wiki/RequestFactoryInterfaceValidation.wikiFri Sep 16 14:51:55 2011
+++ /wiki/RequestFactoryInterfaceValidation.wikiThu Sep 22 11:04:05 2011
@@ -111,6 +111,8 @@
 /executions
   /plugin
 }}}
+
+In order for the build-helper-maven-plugin to work, you must also install  
the buildhelper connector. This should happen automatically when you import  
a project that requires it. If not, you'll see an error in the POM. To  
install it, go to Window  Preferences  Discovery  Open Catalog and  
install the buildhelper connector, then re-import the project from scratch.


 In Eclipse 3.7 (Indigo), the following additional POM snippet is needed:

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10665 committed - Edited wiki page WorkingWithMaven through web user interface.

2011-09-22 Thread codesite-noreply

Revision: 10665
Author:   drfibona...@google.com
Date: Thu Sep 22 12:57:18 2011
Log:  Edited wiki page WorkingWithMaven through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10665

Modified:
 /wiki/WorkingWithMaven.wiki

===
--- /wiki/WorkingWithMaven.wiki Fri Sep 16 14:53:25 2011
+++ /wiki/WorkingWithMaven.wiki Thu Sep 22 12:57:18 2011
@@ -31,13 +31,15 @@
  # Install m2e-extras from update site  
http://m2eclipse.sonatype.org/sites/m2e-extras


 == Eclipse Indigo Java IDE (*not* Java EE) ==
- # Install m2e-wtp from update site  
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp. Only one  
feature is required:
+ # Install m2e-wtp from update site  
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp. The following  
features are required:

  ** Maven Integration for WTP
+ ** m2e connector for build-helper-maven-plugin

 == Eclipse Indigo Java EE IDE ==
  # Install m2e-wtp from update site  
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp. The following  
features are required:
  ** Maven Integration for Eclipse (note: lifecycle mapping support is not  
working properly as of m2e 0.13, so you may need to run mvn package before  
Run as | Web app for many projects)

  ** Maven Integration for WTP
+ ** m2e connector for build-helper-maven-plugin

 After installing GPE and the required plugins for your version of Eclipse,  
you're ready to work with a GWT Maven project.


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10666 committed - build-helper-maven-plugin connector required if using RequestFactory

2011-09-22 Thread codesite-noreply

Revision: 10666
Author:   drfibona...@google.com
Date: Thu Sep 22 13:29:59 2011
Log:  build-helper-maven-plugin connector required if using  
RequestFactory

http://code.google.com/p/google-web-toolkit/source/detail?r=10666

Modified:
 /wiki/WorkingWithMaven.wiki

===
--- /wiki/WorkingWithMaven.wiki Thu Sep 22 12:57:18 2011
+++ /wiki/WorkingWithMaven.wiki Thu Sep 22 13:29:59 2011
@@ -31,15 +31,15 @@
  # Install m2e-extras from update site  
http://m2eclipse.sonatype.org/sites/m2e-extras


 == Eclipse Indigo Java IDE (*not* Java EE) ==
- # Install m2e-wtp from update site  
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp. The following  
features are required:

- ** Maven Integration for WTP
- ** m2e connector for build-helper-maven-plugin
+ # Install m2e-wtp from update site  
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp. Install the  
following features:

+ ** Maven Integration for WTP (required)
+ ** m2e connector for build-helper-maven-plugin (required if using  
RequestFactory)


 == Eclipse Indigo Java EE IDE ==
  # Install m2e-wtp from update site  
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp. The following  
features are required:
- ** Maven Integration for Eclipse (note: lifecycle mapping support is not  
working properly as of m2e 0.13, so you may need to run mvn package before  
Run as | Web app for many projects)

- ** Maven Integration for WTP
- ** m2e connector for build-helper-maven-plugin
+ ** Maven Integration for Eclipse (required) (note: lifecycle mapping  
support is not working properly as of m2e 0.13, so you may need to run mvn  
package before Run as | Web app for many projects)

+ ** Maven Integration for WTP (required)
+ ** m2e connector for build-helper-maven-plugin (required if using  
RequestFactory)


 After installing GPE and the required plugins for your version of Eclipse,  
you're ready to work with a GWT Maven project.


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10667 committed - Allow @defs with multiple values...

2011-09-22 Thread codesite-noreply

Revision: 10667
Author:   unn...@google.com
Date: Thu Sep 22 13:53:31 2011
Log:  Allow @defs with multiple values

Review at http://gwt-code-reviews.appspot.com/1557803

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10667

Modified:
 /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java
 /trunk/user/test/com/google/gwt/resources/client/CSSResourceTest.java
 /trunk/user/test/com/google/gwt/resources/client/deftest.css

===
--- /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java	 
Wed Jun  8 16:12:42 2011
+++ /trunk/user/src/com/google/gwt/resources/rg/CssResourceGenerator.java	 
Thu Sep 22 13:53:31 2011

@@ -70,6 +70,7 @@
 import com.google.gwt.resources.ext.ResourceContext;
 import com.google.gwt.resources.ext.ResourceGeneratorUtil;
 import com.google.gwt.resources.ext.SupportsGeneratorResultCaching;
+import com.google.gwt.thirdparty.guava.common.base.Joiner;
 import com.google.gwt.user.rebind.SourceWriter;
 import com.google.gwt.user.rebind.StringSourceWriter;

@@ -895,6 +896,11 @@
 computeObfuscatedNames(logger, classPrefix, reservedPrefixes,
 operableTypes);
   }
+
+  private boolean isReturnTypeString(JClassType classReturnType) {
+return (classReturnType != null
+  
String.class.getName().equals(classReturnType.getQualifiedSourceName()));

+  }

   /**
* Check for the presence of the NotStrict annotation on the method.  
This will

@@ -1079,21 +1085,21 @@
   throw new UnableToCompleteException();
 }

-// TODO: Allow returning an array of values
-if (def.getValues().size() != 1) {
+JClassType classReturnType = toImplement.getReturnType().isClass();
+
+if (def.getValues().size() != 1  
 !isReturnTypeString(classReturnType)) {

   logger.log(TreeLogger.ERROR, @def rule  + name
-  +  must define exactly one value);
+  +  must define exactly one value or return type must be  
String);

   throw new UnableToCompleteException();
 }
-
-NumberValue numberValue = def.getValues().get(0).isNumberValue();

 String returnExpr = ;
-JClassType classReturnType = toImplement.getReturnType().isClass();
-if (classReturnType != null
- 
 java.lang.String.equals(classReturnType.getQualifiedSourceName())) {
-  returnExpr = \ +  
Generator.escape(def.getValues().get(0).toString())

-  + \;
+if (isReturnTypeString(classReturnType)) {
+  ListString returnValues = new ArrayListString();
+  for (Value val : def.getValues()) {
+returnValues.add(Generator.escape(val.toString()));
+  }
+  returnExpr = \ + Joiner.on( ).join(returnValues) + \;
 } else {
   JPrimitiveType returnType =  
toImplement.getReturnType().isPrimitive();

   if (returnType == null) {
@@ -1102,6 +1108,7 @@
 + @def accessors);
 throw new UnableToCompleteException();
   }
+  NumberValue numberValue = def.getValues().get(0).isNumberValue();
   if (returnType == JPrimitiveType.INT || returnType ==  
JPrimitiveType.LONG) {

 returnExpr =  + Math.round(numberValue.getValue());
   } else if (returnType == JPrimitiveType.FLOAT) {
===
--- /trunk/user/test/com/google/gwt/resources/client/CSSResourceTest.java	 
Thu May  5 08:11:08 2011
+++ /trunk/user/test/com/google/gwt/resources/client/CSSResourceTest.java	 
Thu Sep 22 13:53:31 2011

@@ -60,6 +60,8 @@
 float rawFloat();

 int rawInt();
+
+String multiValueBorderDef();
   }

   /**
@@ -362,6 +364,8 @@
 assertNotNull(defines.overrideIntClass());
 assertFalse(10px.equals(defines.overrideIntClass()));
 assertFalse(10.equals(defines.overrideIntClass()));
+
+assertEquals(1px solid rgba(0,0,0,0.2),  
defines.multiValueBorderDef());

   }

   public void testEnsureInjected() {
===
--- /trunk/user/test/com/google/gwt/resources/client/deftest.css	Fri Jul  3  
08:33:45 2009
+++ /trunk/user/test/com/google/gwt/resources/client/deftest.css	Thu Sep 22  
13:53:31 2011

@@ -27,6 +27,8 @@
  @def lengthString 100px;
  @def colorString #f00;

+ @def multiValueBorderDef 1px solid rgba(0,0,0,0.2);
+
  /* Uncomment this, and you should get an error about a @def shadowing a  
name */

  /*
  .colorString {
@@ -41,5 +43,3 @@
  .overrideInt {
width: 10px;
  }
-
-

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10668 committed - Created wiki page through web user interface.

2011-09-22 Thread codesite-noreply

Revision: 10668
Author:   cromwell...@google.com
Date: Thu Sep 22 22:21:16 2011
Log:  Created wiki page through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10668

Added:
 /wiki/SourceMaps.wiki

===
--- /dev/null
+++ /wiki/SourceMaps.wiki   Thu Sep 22 22:21:16 2011
@@ -0,0 +1,55 @@
+#summary SourceMaps for GWT
+
+= Introduction =
+
+This document explains the addition of Closure-style  
[http://code.google.com/p/closure-compiler/wiki/SourceMaps Source Maps] to  
Google Web Toolkit for stack-trace deobfuscation.

+
+= Details =
+
+In GWT, when an exception is thrown, there are three possibilities:
+
+  # You are running in DevMode and have perfect fidelity stack traces from  
the JVM
+  # You are running with compiler.stackMode = emulated and get perfect  
fidelity stack traces
+  # You are running with native browser stack traces and get method  
resolution only.

+
+In the first two cases, you can get exact stack traces when an exception  
is thrown, exact meaning that the actual line number of the offending code  
is shown and the original file it resides in. However, DevMode and emulated  
stack traces are not used in production code.

+
+GWT's current native browser stack trace support is not exact for several  
reasons:

+
+  # It only is able to use method names along with {{{SymbolMapsLinker}}}  
to find the start of methods, it does not show you where the error occured  
*within a method*.
+  # Compiler optimizations like inlining strip away stack frames so that  
the original enclosing method is lost.

+  # Anonymous functions have no symbol to lookup in symbol maps.
+
+= Source Maps =
+
+Unlike GWT's current Symbol Map support, SourceMaps not only record a  
mapping from Java identifier to obfuscated Javascript identifier,  
SourceMaps record a complete mapping of Javascript source ranges to Java  
source ranges. Every (line, column) - (ending line, ending column) span  
with the compiled script has a unique mapping to a Java file name and line  
number. Thus, if the browser could tell us, for each method on the stack,  
the exact column and line number, we could perfectly map this to the  
original Java source.

+
+= Enter Chrome / V8 =
+
+Unfortunately, most browsers don't supply line and column information. In  
fact, most don't even supply line numbers.  The Chrome browser features an  
Error.stack property on stack traces which not only includes a full  
Javascript stack trace, but provides column number and line number  
information within the script for each frame on the stack. Firefox is  
promising full support for this soon  
([https://wiki.mozilla.org/DevTools/Features/SourceMap])

+
+There's just one catch: GWT code fragments are loaded in many different  
ways. Some are loaded as src URLs using iframe or script tags., and  
some are loaded by using XHR and the equivalent of JS eval(). However,  
whenever a script comes from an eval() or via dynamic script.text  
injection, it loses origination information, and since it doesn't have a  
filename to associate with itself, it also stops yielding line, column  
information.

+
+The workaround is to use a *magic* comment in the JS that allows  
overriding of the source location.  
[http://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/]

+
+= Compiler Changes =
+
+SourceMap support leverages the existing SOYC information recorded in the  
compiler. The SOYC information is converted to an artifact and added to the  
artifacts to be linked. The {{{SymbolMapsLinker}}} picks this up and writes  
out the symbol maps, after adjusting them for any prefix or suffix code  
added by the primary linkers.

+
+For each permutation, for each runAsync fragment, a sourcemap file is  
written out with the filename  
{{{strongName_sourceMapfragmentNumber.json}}}. Each fragment written to  
disk is modified to contain a {{{//@ sourceUrl=fragmentNumber.js}}}  
annotation as the last line.

+
+= Runtime Changes =
+
+{{{StackTraceCreator}}} has been modified for Chrome to analyze the  
{{{Error.stack}}} property of an exception, and encode column and line  
number information in each StackTraceElement. Since the Java  
StackTraceElement class only includes a field for line numbers, the line  
and column information are encoded in a single 32-bit number.

+
+On the server, {{{StackTraceDeobfuscator}}} is modified to look first try  
regular symbol maps as a fallback. Then, using the stack trace from Chrome  
in the form {{{filename.js:linenumber}}}, it looks for the appropriate  
source map (if filename is a number, or initial fragment), and refines the  
{{{StackTraceElement}}} information based on information from the SourceMap.

+
+= Turning on SourceMaps =
+
+To enable source maps (Chrome only), simply add
+
+set-property name=compiler.useSourceMaps value=true/
+
+to one of your module files.
+
+Keep in mind, this will yield larger jar/war files as the 

[gwt-contrib] [google-web-toolkit] r10669 committed - Edited wiki page SourceMaps through web user interface.

2011-09-22 Thread codesite-noreply

Revision: 10669
Author:   cromwell...@google.com
Date: Thu Sep 22 22:25:49 2011
Log:  Edited wiki page SourceMaps through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10669

Modified:
 /wiki/SourceMaps.wiki

===
--- /wiki/SourceMaps.wiki   Thu Sep 22 22:21:16 2011
+++ /wiki/SourceMaps.wiki   Thu Sep 22 22:25:49 2011
@@ -22,13 +22,13 @@

 = Source Maps =

-Unlike GWT's current Symbol Map support, SourceMaps not only record a  
mapping from Java identifier to obfuscated Javascript identifier,  
SourceMaps record a complete mapping of Javascript source ranges to Java  
source ranges. Every (line, column) - (ending line, ending column) span  
with the compiled script has a unique mapping to a Java file name and line  
number. Thus, if the browser could tell us, for each method on the stack,  
the exact column and line number, we could perfectly map this to the  
original Java source.
+Unlike GWT's current Symbol Map support, SourceMaps not only record a  
mapping from Java identifier to obfuscated Javascript identifier,  
SourceMaps record a complete mapping of Javascript source ranges to Java  
source ranges. Every (line, column) - (ending line, ending column) span  
within the compiled script has a unique mapping to a Java file name and  
line number. Thus, if the browser could tell us, for each method on the  
stack, the exact column and line number, we could perfectly map this to the  
original Java source.


 = Enter Chrome / V8 =

 Unfortunately, most browsers don't supply line and column information. In  
fact, most don't even supply line numbers.  The Chrome browser features an  
Error.stack property on stack traces which not only includes a full  
Javascript stack trace, but provides column number and line number  
information within the script for each frame on the stack. Firefox is  
promising full support for this soon  
([https://wiki.mozilla.org/DevTools/Features/SourceMap])


-There's just one catch: GWT code fragments are loaded in many different  
ways. Some are loaded as src URLs using iframe or script tags., and  
some are loaded by using XHR and the equivalent of JS eval(). However,  
whenever a script comes from an eval() or via dynamic script.text  
injection, it loses origination information, and since it doesn't have a  
filename to associate with itself, it also stops yielding line, column  
information.
+There's just one catch: GWT code fragments are loaded in many different  
ways. Some are loaded as src URLs using iframe or script tags, and some  
are loaded by using XHR and the equivalent of JS eval(). However, whenever  
a script comes from an eval() or via dynamic script.text injection, it  
loses origination information, and since it doesn't have a filename to  
associate with itself, it also stops yielding line, column information.


 The workaround is to use a *magic* comment in the JS that allows  
overriding of the source location.  
[http://blog.getfirebug.com/2009/08/11/give-your-eval-a-name-with-sourceurl/]


@@ -42,7 +42,7 @@

 {{{StackTraceCreator}}} has been modified for Chrome to analyze the  
{{{Error.stack}}} property of an exception, and encode column and line  
number information in each StackTraceElement. Since the Java  
StackTraceElement class only includes a field for line numbers, the line  
and column information are encoded in a single 32-bit number.


-On the server, {{{StackTraceDeobfuscator}}} is modified to look first try  
regular symbol maps as a fallback. Then, using the stack trace from Chrome  
in the form {{{filename.js:linenumber}}}, it looks for the appropriate  
source map (if filename is a number, or initial fragment), and refines the  
{{{StackTraceElement}}} information based on information from the SourceMap.
+On the server, {{{StackTraceDeobfuscator}}} is modified to first try  
regular symbol maps as a fallback. Then, using the stack trace from Chrome  
in the form {{{filename.js:linenumber}}}, it looks for the appropriate  
source map (if filename is a number, or initial fragment), and refines the  
{{{StackTraceElement}}} information based on information from the SourceMap.


 = Turning on SourceMaps =

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10662 committed - Add a support for header builder to return row index for multi-row...

2011-09-21 Thread codesite-noreply

Revision: 10662
Author:   pengzhu...@google.com
Date: Wed Sep 21 06:39:41 2011
Log:  Add a support for header builder to return row index for multi-row
header/footer.

Review at http://gwt-code-reviews.appspot.com/1555803

Review by: jlaba...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10662

Modified:
 /trunk/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
  
/trunk/user/src/com/google/gwt/user/cellview/client/AbstractHeaderOrFooterBuilder.java

 /trunk/user/src/com/google/gwt/user/cellview/client/FooterBuilder.java
 /trunk/user/src/com/google/gwt/user/cellview/client/HeaderBuilder.java

===
---  
/trunk/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
Tue Sep 20 12:53:34 2011
+++  
/trunk/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
Wed Sep 21 06:39:41 2011

@@ -1745,7 +1745,9 @@
 isHeader ? headerBuilder.getHeader(headerParent) :  
footerBuilder

 .getHeader(footerParent);
 if (header != null  cellConsumesEventType(header.getCell(),  
eventType)) {

-  Context context = new Context(0, col, header.getKey());
+  int headerIndex = isHeader ?  
headerBuilder.getRowIndex(targetTableRow) :

+  footerBuilder.getRowIndex(targetTableRow);
+  Context context = new Context(headerIndex, col, header.getKey());
   header.onBrowserEvent(context, headerParent, event);
 }
   }
===
---  
/trunk/user/src/com/google/gwt/user/cellview/client/AbstractHeaderOrFooterBuilder.java	 
Wed Aug 31 03:58:11 2011
+++  
/trunk/user/src/com/google/gwt/user/cellview/client/AbstractHeaderOrFooterBuilder.java	 
Wed Sep 21 06:39:41 2011

@@ -27,6 +27,7 @@
 import com.google.gwt.dom.client.Element;
 import com.google.gwt.dom.client.Style.Position;
 import com.google.gwt.dom.client.Style.Unit;
+import com.google.gwt.dom.client.TableRowElement;
 import com.google.gwt.i18n.client.LocaleInfo;
 import com.google.gwt.resources.client.ImageResource;
 import com.google.gwt.safehtml.shared.SafeHtml;
@@ -81,6 +82,11 @@
* The attribute used to indicate that an element contains a header.
*/
   private static final String HEADER_ATTRIBUTE = __gwt_header;
+
+  /**
+   * The attribute used to specify the row index of a TR element in the  
header.

+   */
+  private static final String ROW_ATTRIBUTE = __gwt_header_row;

   private static final int ICON_PADDING = 6;

@@ -93,6 +99,7 @@
   private SafeHtml sortDescIconHtml;
   private final int sortDescIconWidth;
   private final AbstractCellTableT table;
+  private int rowIndex;

   // The following fields are reset on every build.
   private HtmlTableSectionBuilder section;
@@ -163,6 +170,11 @@
 return (headerId == null) ? null : idToHeaderMap.getValue(headerId);
   }

+  @Override
+  public int getRowIndex(TableRowElement row) {
+return Integer.parseInt(row.getAttribute(ROW_ATTRIBUTE));
+  }
+
   /**
* Check if this builder is building a header or footer table.
*
@@ -348,6 +360,8 @@

 // Start the next row.
 TableRowBuilder row = section.startTR();
+row.attribute(ROW_ATTRIBUTE, rowIndex);
+rowIndex++;
 return row;
   }

@@ -358,6 +372,7 @@
 .createTHeadBuilder();
 idToHeaderMap.clear();
 idToColumnMap.clear();
+rowIndex = 0;

 // Build the header.
 if (!buildHeaderOrFooterImpl()) {
===
--- /trunk/user/src/com/google/gwt/user/cellview/client/FooterBuilder.java	 
Wed Aug 31 03:58:11 2011
+++ /trunk/user/src/com/google/gwt/user/cellview/client/FooterBuilder.java	 
Wed Sep 21 06:39:41 2011

@@ -17,6 +17,7 @@

 import com.google.gwt.dom.builder.shared.TableSectionBuilder;
 import com.google.gwt.dom.client.Element;
+import com.google.gwt.dom.client.TableRowElement;

 /**
  * Builds the DOM elements for the footer section of a CellTable. It also
@@ -78,6 +79,15 @@
*/
   Header? getHeader(Element elem);

+  /**
+   * Get the row index from the associated
+   * {@link TableRowElement} (an TR element).
+   *
+   * @param row the row element
+   * @return the row value index
+   */
+  int getRowIndex(TableRowElement row);
+
   /**
* Check if an element contains a {@link Column}. This method should  
return

* false if and only if {@link #getColumn(Element)} would return null.
===
--- /trunk/user/src/com/google/gwt/user/cellview/client/HeaderBuilder.java	 
Wed Aug 31 03:58:11 2011
+++ /trunk/user/src/com/google/gwt/user/cellview/client/HeaderBuilder.java	 
Wed Sep 21 06:39:41 2011

@@ -17,6 +17,7 @@

 import com.google.gwt.dom.builder.shared.TableSectionBuilder;
 import com.google.gwt.dom.client.Element;
+import com.google.gwt.dom.client.TableRowElement;

 /**
  * Builds the DOM elements for the header section of a CellTable. It also
@@ -78,6 +79,15 @@
*/
   Header? getHeader(Element elem);

+  

[gwt-contrib] [google-web-toolkit] r10663 committed - Enable FF6 Plugin in MissingPlugin Page....

2011-09-21 Thread codesite-noreply

Revision: 10663
Author:   acle...@google.com
Date: Wed Sep 21 16:16:57 2011
Log:  Enable FF6 Plugin in MissingPlugin Page.

Review at http://gwt-code-reviews.appspot.com/1551803

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10663

Modified:
 /trunk/plugins/MissingPlugin/war/MissingPlugin.html

===
--- /trunk/plugins/MissingPlugin/war/MissingPlugin.html	Wed Sep  7 12:15:34  
2011
+++ /trunk/plugins/MissingPlugin/war/MissingPlugin.html	Wed Sep 21 16:16:57  
2011

@@ -35,7 +35,7 @@

   firefox-old :
   {
-caption : Sorry, the GWT Developer Plugin only supports  
Firefox 3.0 - 5.0 at present,
+caption : Sorry, the GWT Developer Plugin only supports  
Firefox 3.0 - 6.0 at present,

 url : http://www.getfirefox.com;,
 supported : false
   },
@@ -173,7 +173,8 @@
   } else if (ua.indexOf(gecko) != -1) {
   if (ua.indexOf(rv:1.9) != -1 ||
   ua.indexOf(rv:2.0) != -1 ||
-  ua.indexOf(rv:5.0) != -1) {
+  ua.indexOf(rv:5.0) != -1 ||
+  ua.indexOf(rv:6.0) != -1) {
   id = 'firefox';
 } else {
   id = 'firefox-old';

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-21 Thread codesite-noreply

Comment by rmattis...@gmail.com:

Unable to initialize a JSR 303 Bean Validator
javax.validation.ValidationException: Unable to find a default provider  ???

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-21 Thread codesite-noreply

Comment by larse...@gmail.com:

If you don't include a jsr-303 validator, then you'll get this WARNING.

If you want it to go away, you can include the hibernate validator of  
versions greater than or equal to 4. I'm unaware of any other 303 bean  
validators out there.


Or you could just swallow the WARNING aswell.

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10658 committed - Allow DateBox to fire events with null date values for invalid and emp...

2011-09-20 Thread codesite-noreply

Revision: 10658
Author:   gwt.mirror...@gmail.com
Date: Tue Sep 20 05:39:26 2011
Log:  Allow DateBox to fire events with null date values for invalid  
and empty input

strings.

Review at http://gwt-code-reviews.appspot.com/1552803

http://code.google.com/p/google-web-toolkit/source/detail?r=10658

Modified:
 /trunk/user/src/com/google/gwt/user/datepicker/client/DateBox.java
 /trunk/user/test/com/google/gwt/user/client/ui/DateBoxTest.java

===
--- /trunk/user/src/com/google/gwt/user/datepicker/client/DateBox.java	Mon  
Nov 29 10:45:36 2010
+++ /trunk/user/src/com/google/gwt/user/datepicker/client/DateBox.java	Tue  
Sep 20 05:39:26 2011

@@ -229,7 +229,7 @@
 }

 public void onValueChange(ValueChangeEventDate event) {
-  setValue(parseDate(false), event.getValue(), true);
+  setValue(parseDate(false), event.getValue(), true, true);
   hideDatePicker();
   preventDatePickerPopup();
   box.setFocus(true);
@@ -252,6 +252,7 @@
   private LeafValueEditorDate editor;
   private Format format;
   private boolean allowDPShow = true;
+  private boolean fireNullValues = false;

   /**
* Create a date box with a new {@link DatePicker}.
@@ -324,6 +325,14 @@
 return picker;
   }

+  /**
+   * Returns true iff the date box will fire {@code ValueChangeEvents}  
with a

+   * date value of {@code null} for invalid or empty string values.
+   */
+  public boolean getFireNullValues() {
+return fireNullValues;
+  }
+
   /**
* Gets the format instance used to control formatting and parsing of  
this

* {@link DateBox}.
@@ -395,6 +404,14 @@
 box.setEnabled(enabled);
   }

+  /**
+   * Sets whether or not the date box will fire {@code ValueChangeEvents}  
with a

+   * date value of {@code null} for invalid or empty string values.
+   */
+  public void setFireNullValues(boolean fireNullValues) {
+this.fireNullValues = fireNullValues;
+  }
+
   /**
* Explicitly focus/unfocus this widget. Only one widget can have focus  
at a

* time, and the widget that does will receive all keyboard events.
@@ -448,7 +465,7 @@
   }

   public void setValue(Date date, boolean fireEvents) {
-setValue(picker.getValue(), date, fireEvents);
+setValue(picker.getValue(), date, fireEvents, true);
   }

   /**
@@ -480,14 +497,17 @@
 });
   }

-  private void setValue(Date oldDate, Date date, boolean fireEvents) {
+  private void setValue(Date oldDate, Date date, boolean fireEvents,  
boolean updateText) {

 if (date != null) {
   picker.setCurrentMonth(date);
 }
 picker.setValue(date, false);
-format.reset(this, false);
-box.setText(getFormat().format(this, date));
-
+
+if (updateText) {
+  format.reset(this, false);
+  box.setText(getFormat().format(this, date));
+}
+
 if (fireEvents) {
   DateChangeEvent.fireIfNotEqualDates(this, oldDate, date);
 }
@@ -495,8 +515,8 @@

   private void updateDateFromTextBox() {
 Date parsedDate = parseDate(true);
-if (parsedDate != null) {
-  setValue(picker.getValue(), parsedDate, true);
+if (fireNullValues || (parsedDate != null)) {
+  setValue(picker.getValue(), parsedDate, true, false);
 }
   }
 }
===
--- /trunk/user/test/com/google/gwt/user/client/ui/DateBoxTest.java	Thu Feb  
25 06:57:14 2010
+++ /trunk/user/test/com/google/gwt/user/client/ui/DateBoxTest.java	Tue Sep  
20 05:39:26 2011

@@ -17,10 +17,14 @@

 import com.google.gwt.dom.client.Document;
 import com.google.gwt.dom.client.NativeEvent;
+import com.google.gwt.event.logical.shared.ValueChangeEvent;
+import com.google.gwt.event.logical.shared.ValueChangeHandler;
 import com.google.gwt.junit.DoNotRunWith;
 import com.google.gwt.junit.Platform;
 import com.google.gwt.user.datepicker.client.DateBox;

+import java.util.Date;
+
 /**
  * Tests {@link DateBox}.
  */
@@ -70,4 +74,40 @@
   }
 }.run();
   }
-}
+
+  @DoNotRunWith({Platform.HtmlUnitBug})
+  public void testFireNullValues() {
+DateBox db = new DateBox();
+db.setFireNullValues(true);
+assertTrue(db.getFireNullValues());
+RootPanel.get().add(db);
+@SuppressWarnings(unchecked)
+final ValueChangeEventDate[] eventHolder = new ValueChangeEvent[1];
+final boolean[] wasCalled = new boolean[1];
+db.addValueChangeHandler(new ValueChangeHandlerDate() {
+  @Override
+  public void onValueChange(ValueChangeEventDate event) {
+wasCalled[0] = true;
+eventHolder[0] = event;
+  }
+});
+
+// test that an empty string fires an event
+db.setValue(new Date(1976,1,20));
+db.getTextBox().setText();
+NativeEvent e = Document.get().createBlurEvent();
+db.getTextBox().getElement().dispatchEvent(e);
+assertTrue(wasCalled[0]);
+assertNull(eventHolder[0].getValue());
+
+// test that an invalid date string fires an event, and leaves the  
text in

+// the textbox
+db.setValue(new 

[gwt-contrib] [google-web-toolkit] r10659 committed - Fix javadoc for new timezone-aware constructors of DateCell....

2011-09-20 Thread codesite-noreply

Revision: 10659
Author:   y...@google.com
Date: Tue Sep 20 06:09:15 2011
Log:  Fix javadoc for new timezone-aware constructors of DateCell.

Review at http://gwt-code-reviews.appspot.com/1545803

Review by: jlaba...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10659

Modified:
 /trunk/user/src/com/google/gwt/cell/client/DateCell.java

===
--- /trunk/user/src/com/google/gwt/cell/client/DateCell.java	Thu Sep  8  
02:20:30 2011
+++ /trunk/user/src/com/google/gwt/cell/client/DateCell.java	Tue Sep 20  
06:09:15 2011

@@ -84,7 +84,7 @@
* @param timezone the {@link TimeZone} used to render the date, or null  
to
*  use the default behavior for the local time zone and the  
rendered

*  date. See {@link DateTimeFormat#format(Date)} and
-   *  {@link Date#getTimeZoneOffset}
+   *  {@link Date#getTimezoneOffset()}
*/
   public DateCell(DateTimeFormat format, TimeZone timeZone) {
 this(format, SimpleSafeHtmlRenderer.getInstance(), timeZone);
@@ -100,7 +100,7 @@
* @param timezone the {@link TimeZone} used to render the date, or null  
to
*  use the default behavior for the local time zone and the  
rendered

*  date. See {@link DateTimeFormat#format(Date)} and
-   *  {@link Date#getTimeZoneOffset}
+   *  {@link Date#getTimezoneOffset()}
*/
   public DateCell(DateTimeFormat format, SafeHtmlRendererString renderer,
   TimeZone timeZone) {

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10660 committed - During row mouseout events, only consider it as row unhovering if the...

2011-09-20 Thread codesite-noreply

Revision: 10660
Author:   pengzhu...@google.com
Date: Tue Sep 20 07:04:28 2011
Log:  During row mouseout events, only consider it as row unhovering if  
the
event coordinates are outside the hovering row. Previously, if there's a  
popup
dialog floating on top of a table row, moving into this element will cause  
a row unhover event. This is particularly a problem if the element is  
shown/dismissed based on row hovering (causing a flickring effect).


Also include the original browser event in the RowHoverEvent in case the  
user needs more information about the original event.


Review at http://gwt-code-reviews.appspot.com/1546803

Review by: jlaba...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10660

Modified:
 /trunk/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java
 /trunk/user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java

===
---  
/trunk/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
Thu Sep  1 10:10:30 2011
+++  
/trunk/user/src/com/google/gwt/user/cellview/client/AbstractCellTable.java	 
Tue Sep 20 07:04:28 2011

@@ -44,6 +44,7 @@
 import com.google.gwt.safehtml.shared.SafeHtmlUtils;
 import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.Event;
+import com.google.gwt.user.client.Window;
 import  
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant;
 import  
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant;

 import com.google.gwt.user.client.ui.Widget;
@@ -1777,13 +1778,26 @@
   if (mouseover.equals(eventType)) {
 // Unstyle the old row if it is still part of the table.
 if (hoveringRow != null   
getTableBodyElement().isOrHasChild(hoveringRow)) {

-  setRowHover(hoveringRow, false);
+  setRowHover(hoveringRow, event, false);
 }
 hoveringRow = targetTableRow;
-setRowHover(hoveringRow, true);
+setRowHover(hoveringRow, event, true);
   } else if (mouseout.equals(eventType)  hoveringRow != null) {
-setRowHover(hoveringRow, false);
-hoveringRow = null;
+// Ignore events happening directly over the hovering row. If  
there are floating element
+// on top of the row, mouseout event should not be triggered. This  
is to avoid the flickring
+// effect if the floating element is shown/hide based on hover  
event.

+int clientX = event.getClientX() + Window.getScrollLeft();
+int clientY = event.getClientY() + Window.getScrollTop();
+int rowLeft = hoveringRow.getAbsoluteLeft();
+int rowTop = hoveringRow.getAbsoluteTop();
+int rowWidth = hoveringRow.getOffsetWidth();
+int rowHeight = hoveringRow.getOffsetHeight();
+int rowBottom = rowTop + rowHeight;
+int rowRight = rowLeft + rowWidth;
+if (clientX  rowLeft || clientX  rowRight || clientY  rowTop ||  
clientY  rowBottom) {

+  setRowHover(hoveringRow, event, false);
+  hoveringRow = null;
+}
   }

   // If the event causes us to page, then the physical index will be  
out

@@ -2410,11 +2424,12 @@
* Set a row's hovering style and fire a {@link RowHoverEvent}
*
* @param tr the row element
+   * @param event the original event
* @param isHovering false if this is an unhover event
*/
-  private void setRowHover(TableRowElement tr, boolean isHovering) {
+  private void setRowHover(TableRowElement tr, Event event, boolean  
isHovering) {
 setRowStyleName(tr, style.hoveredRow(), style.hoveredRowCell(),  
isHovering);

-RowHoverEvent.fire(this, tr, !isHovering);
+RowHoverEvent.fire(this, tr, event, !isHovering);
   }

   /**
===
--- /trunk/user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java	 
Tue Aug 30 06:42:56 2011
+++ /trunk/user/src/com/google/gwt/user/cellview/client/RowHoverEvent.java	 
Tue Sep 20 07:04:28 2011

@@ -19,6 +19,7 @@
 import com.google.gwt.event.shared.EventHandler;
 import com.google.gwt.event.shared.GwtEvent;
 import com.google.gwt.event.shared.HasHandlers;
+import com.google.gwt.user.client.Event;

 /**
  * Represents a row hover event.
@@ -55,7 +56,23 @@
*/
   public static RowHoverEvent fire(HasHandlers source, TableRowElement  
hoveringRow,

   boolean isUnHover) {
-RowHoverEvent event = new RowHoverEvent(hoveringRow, isUnHover);
+return fire(source, hoveringRow, null, isUnHover);
+  }
+
+  /**
+   * Fires a row hover event on all registered handlers in the handler
+   * manager. If no such handlers exist, this implementation will do  
nothing.

+   *
+   * @param source the source of the event
+   * @param hoveringRow the currently hovering {@link TableRowElement}. If  
isUnHover is false, this

+   *  should be the previouly hovering {@link TableRowElement}
+   * @param browserEvent the original browser event
+   * @param 

[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-20 Thread codesite-noreply

Comment by khi...@googlemail.com:

someone's using netbeans ?

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10656 committed - Fixes some errors in the eclipse readme, and fixes some marker files....

2011-09-19 Thread codesite-noreply

Revision: 10656
Author:   rj...@google.com
Date: Mon Sep 19 14:21:25 2011
Log:  Fixes some errors in the eclipse readme, and fixes some marker  
files.


Review at http://gwt-code-reviews.appspot.com/1553803

Review by: rchan...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10656

Added:
 /trunk/samples/hello/war/WEB-INF/classes
 /trunk/samples/hello/war/WEB-INF/classes/marker
Modified:
 /trunk/eclipse/README.txt

===
--- /trunk/eclipse/README.txt   Mon Jun 27 09:15:42 2011
+++ /trunk/eclipse/README.txt   Mon Sep 19 14:21:25 2011
@@ -103,19 +103,32 @@

 --- Annotation Processor 

-Some components of GWT (RequestFactory) use annotation processing.
+Some components of GWT (RequestFactory) use annotation processing. Do
+the following to add a directory named '.apt-generated' to the source
+path, and put on the APT factory path annotation processors required
+by the RequestFactory unit tests.

 Select project 'gwt-user'

-Project-Preferences-Java Compiler-AnnotationProcessor
+Project-Properties-Java Compiler-AnnotationProcessor
 - Check Enable project specific settings
 - Check Enable annotation processing
-
-This adds a directory named '.apt-generated' to the source path.
+- Optional: check Enable processing in editor (for on-the-fly
+  validation of RequestFactory interfaces)
+
+Project-Properties-Java Compiler-AnnotationProcessor-Factory Path
+- Add Variable
+- Select GWT_TOOLS and click Extend
+- Select lib/requestfactory and the most recently dated
+  requestfactory-apt--MM-DD.jar
+- Optional: deselect org.eclipse.jst.ws.annoations.core if eclipse has
+  added it, it can make eclipse sluggish

 == Checkstyle ==

-Checkstyle is used to enforce good programming style.
+Checkstyle is used to enforce good programming style. Its use in
+Eclipse is optional, since it is also run as part of the acceptance
+test suite.

 1. Install Checkstyle version 4.4.3 (newer versions will not work)

@@ -156,7 +169,7 @@

 Window-Preferences-Run/Debug-String Substitution-New...
 Set the Name to gwt_devjar.
-Set the Value to the approprate path for your install -- for example:
+Set the Value to the appropriate path for your install -- for example:
   path-to-trunk\trunk\build\staging\gwt-0.0.0\gwt-dev.jar
   path-to-trunk/trunk/build/staging/gwt-0.0.0/gwt-dev.jar
 Description can be left blank.

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10657 committed - Edited wiki page BeanValidation through web user interface.

2011-09-19 Thread codesite-noreply

Revision: 10657
Author:   ncha...@google.com
Date: Mon Sep 19 20:31:06 2011
Log:  Edited wiki page BeanValidation through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10657

Modified:
 /wiki/BeanValidation.wiki

===
--- /wiki/BeanValidation.wiki   Mon May  9 12:10:10 2011
+++ /wiki/BeanValidation.wiki   Mon Sep 19 20:31:06 2011
@@ -21,14 +21,14 @@
 }}}

 Use the standard validation bootstrap to get a Validator on the client and  
validate your object
-(see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/src/com/google/gwt/sample/validation/client/ValidationView.java  
ValidationView.java])
+(see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/src/main/java/com/google/gwt/sample/validation/client/ValidationView.java  
ValidationView.java])

 {{{
 Validator validator =  
Validation.buildDefaultValidatorFactory().getValidator();

 SetConstraintViolationPerson violations = validator.validate(person);
 }}}


-Follow this pattern to create a Validator for the objects you want to  
validate on the client. (see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/src/com/google/gwt/sample/validation/client/SampleValidatorFactory.java  
SampleValidatorFactory.java])
+Follow this pattern to create a Validator for the objects you want to  
validate on the client. (see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/src/main/java/com/google/gwt/sample/validation/client/SampleValidatorFactory.java  
SampleValidatorFactory.java])


 {{{
 public final class SampleValidatorFactory extends  
AbstractGwtValidatorFactory {

@@ -51,7 +51,7 @@

 Include the module for your Validation Provider.
 Add _replace-with_ tag in your gwt modle file telling GWT to use the  
Validator you just defined
-(see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/src/com/google/gwt/sample/validation/Validation.gwt.xml  
Validation.gwt.xml])
+(see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/validation/src/main/java/com/google/gwt/sample/validation/Validation.gwt.xml  
Validation.gwt.xml])


 {{{
 inherits name=org.hibernate.validator.HibernateValidator /
@@ -64,7 +64,7 @@

 = Best Practices =
   * Use Groups to specify what constraints to run on the client
-  * Super source Validator that are not GWT compatible  
using !NotGwtCompatibleValidator (see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/FutureValidatorForCalendar.java  
FutureValidatorForCalendar.java])
+  * Super source Validator that are not GWT compatible  
using !NotGwtCompatibleValidator (see  
[http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/src/main/java/org/hibernate/validator/super/org/hibernate/validator/constraints/impl/FutureValidatorForCalendar.java  
FutureValidatorForCalendar.java])

   *
 = What is not supported =
   * XML configuration

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on IE8Support in google-web-toolkit

2011-09-16 Thread codesite-noreply

Comment by t.broyer:

This page has last been updated on Feb 4th of 2010, nearly 2 years ago; and  
it starts with IE8 was recently released, so it's quite clear that it's  
outdated.


See  
http://code.google.com/webtoolkit/release-notes.html#Release_Notes_1_7_0  
which says: This release adds explicit support for Internet Explorer 8


For more information:
http://code.google.com/p/google-web-toolkit/wiki/IE8Support

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10651 committed - The DynaTable RF and Mobile Web App samples now use requestfactory-apt...

2011-09-16 Thread codesite-noreply

Revision: 10651
Author:   rj...@google.com
Date: Fri Sep 16 10:13:44 2011
Log:  The DynaTable RF and Mobile Web App samples now use  
requestfactory-apt to

generate the decoder needed by the rf server.

Also drops some unneeded config from mwa

Works with GPE

Review at http://gwt-code-reviews.appspot.com/1547804/

Review by: drfibona...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10651

Deleted:
 /trunk/samples/mobilewebapp/src/main/java/META-INF
Modified:
 /trunk/samples/dynatablerf/pom.xml
 /trunk/samples/mobilewebapp/pom.xml
 /trunk/samples/mobilewebapp/src/main/webapp/WEB-INF/appengine-web.xml
 /trunk/samples/validation/pom.xml

===
--- /trunk/samples/dynatablerf/pom.xml  Mon Sep 12 09:46:24 2011
+++ /trunk/samples/dynatablerf/pom.xml  Fri Sep 16 10:13:44 2011
@@ -1,6 +1,8 @@
 ?xml version=1.0 encoding=UTF-8?
-project xmlns=http://maven.apache.org/POM/4.0.0;  
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation=http://maven.apache.org/POM/4.0.0  
http://maven.apache.org/maven-v4_0_0.xsd;

+project
+   xmlns=http://maven.apache.org/POM/4.0.0;
+   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
+   xsi:schemaLocation=http://maven.apache.org/POM/4.0.0  
http://maven.apache.org/maven-v4_0_0.xsd;


   modelVersion4.0.0/modelVersion
   groupIdcom.google.gwt.sample.dynatablerf/groupId
@@ -23,23 +25,42 @@
   /properties

   dependencies
-!-- Google Web Toolkit (GWT) itself --
+!-- Google Web Toolkit (GWT) --

 dependency
   groupIdcom.google.gwt/groupId
-  !-- Could use requestfactory-server instead --
-  artifactIdgwt-servlet/artifactId
+  artifactIdgwt-user/artifactId
   version${gwtVersion}/version
-  scoperuntime/scope
+  !-- provided so that we don't deploy --
+  scopeprovided/scope
 /dependency
+
+!-- For the servlet filter --
+
 dependency
-  groupIdcom.google.gwt/groupId
-  artifactIdgwt-user/artifactId
+  groupIdjavax.servlet/groupId
+  artifactIdservlet-api/artifactId
+  version2.5/version
+/dependency
+
+!-- RequestFactory server --
+
+dependency
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-server/artifactId
   version${gwtVersion}/version
-  scopeprovided/scope
 /dependency

-!-- GWT RequestFactory will use JSR 303 javax.validation if you let  
it --

+!-- Generate the decoder needed by RequestFactory Server --
+!-- Doesn't yet work in eclipse. See maven-processor-plugin below.
+dependency
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-apt/artifactId
+  version${gwtVersion}/version
+/dependency
+--
+
+!-- RequestFactory will use JSR 303 javax.validation if you let it --
 dependency
   groupIdjavax.validation/groupId
   artifactIdvalidation-api/artifactId
@@ -62,25 +83,8 @@
   /exclusions
 /dependency

-!-- GWT RequestFactory requires org.json --
-!-- TODO: can we declare the json and validation dependencies  
somewhere for the world to pick up,

-rather than requiring everyone to know about them? --
-dependency
-  groupIdorg.json/groupId
-  artifactIdjson/artifactId
-  version20090211/version
-/dependency
-
-!-- for the servlet filter --
-dependency
-  groupIdjavax.servlet/groupId
-  artifactIdservlet-api/artifactId
-  version2.5/version
-/dependency
-
 !-- Required by Hibernate validator because slf4j-log4j is
- optional in the hibernate-validator POM
- --
+ optional in the hibernate-validator POM  --
 dependency
   groupIdorg.slf4j/groupId
   artifactIdslf4j-log4j12/artifactId
@@ -94,10 +98,62 @@
   /dependencies

   build
-!-- Generate compiled stuff in the folder used for developing mode --
+!-- Generate compiled stuff in the folder used for development mode  
--
  
outputDirectory${project.build.directory}/${project.build.finalName}/WEB-INF/classes/outputDirectory


 plugins
+  !-- requestfactory-apt runs an annotation processor (APT) to
+   instrument its service interfaces so that
+   RequestFactoryServer can decode client requests. Normally
+   you would just have a dependency on requestfactory-apt
+   with scopeprovided/scope, but that won't work in
+   eclipse due to m2e bug
+   https://bugs.eclipse.org/bugs/show_bug.cgi?id=335036 --
+  plugin
+groupIdorg.bsc.maven/groupId
+artifactIdmaven-processor-plugin/artifactId
+version2.0.5/version
+executions
+  execution
+idprocess/id
+goals
+  goalprocess/goal
+/goals
+phasegenerate-sources/phase
+  /execution
+/executions
+dependencies
+  dependency
+groupIdcom.google.web.bindery/groupId
+

[gwt-contrib] [google-web-toolkit] r10653 committed - Changed lifecycle mapping for exec-maven-plugin to maven-processor-plu...

2011-09-16 Thread codesite-noreply

Revision: 10653
Author:   drfibona...@google.com
Date: Fri Sep 16 14:53:25 2011
Log:  Changed lifecycle mapping for exec-maven-plugin to  
maven-processor-plugin

http://code.google.com/p/google-web-toolkit/source/detail?r=10653

Modified:
 /wiki/WorkingWithMaven.wiki

===
--- /wiki/WorkingWithMaven.wiki Mon Sep 12 11:34:00 2011
+++ /wiki/WorkingWithMaven.wiki Fri Sep 16 14:53:25 2011
@@ -105,11 +105,11 @@
 /pluginExecution
 pluginExecution
   pluginExecutionFilter
-groupIdorg.codehaus.mojo/groupId
-artifactIdexec-maven-plugin/artifactId
-versionRange[1.2,)/versionRange
+groupIdorg.bsc.maven/groupId
+artifactIdmaven-processor-plugin/artifactId
+versionRange[2.0.5,)/versionRange
 goals
-  goalexec/goal
+  goalprocess/goal
 /goals
   /pluginExecutionFilter
   action

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10654 committed - Remove uneeded samples checkstyle exception....

2011-09-16 Thread codesite-noreply

Revision: 10654
Author:   ncha...@google.com
Date: Fri Sep 16 12:34:41 2011
Log:  Remove uneeded samples checkstyle exception.
Add a comment explaining the remaining exception

Review at http://gwt-code-reviews.appspot.com/1548804

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10654

Modified:
 /trunk/samples/common.ant.xml

===
--- /trunk/samples/common.ant.xml   Wed Sep 14 06:33:50 2011
+++ /trunk/samples/common.ant.xml   Fri Sep 16 12:34:41 2011
@@ -189,7 +189,7 @@
   target name=checkstyle description=Static analysis of source
 gwt.checkstyle outputdirectory=${sample.build}
   fileset dir=src 
-exclude name=main/java/org/**/super/org/**/*.java/
+!-- ValidationMessages is generated and has funny method names --
 exclude  
name=main/java/com/google/gwt/sample/validation*/**/ValidationMessages.java  
/

   /fileset
 /gwt.checkstyle

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10655 committed - Integrates r10651 to releases/2.4, DynaTable RF and Mobile Web App sam...

2011-09-16 Thread codesite-noreply

Revision: 10655
Author:   gwt.mirror...@gmail.com
Date: Fri Sep 16 15:47:37 2011
Log:  Integrates r10651 to releases/2.4, DynaTable RF and Mobile Web  
App samples now use requestfactory-apt


http://code.google.com/p/google-web-toolkit/source/detail?r=10655

Deleted:
 /releases/2.4/samples/mobilewebapp/src/main/java/META-INF
Modified:
 /releases/2.4/samples/dynatablerf/pom.xml
 /releases/2.4/samples/mobilewebapp/pom.xml
  
/releases/2.4/samples/mobilewebapp/src/main/webapp/WEB-INF/appengine-web.xml

 /releases/2.4/samples/validation/pom.xml

===
--- /releases/2.4/samples/dynatablerf/pom.xml   Tue Sep 13 08:28:51 2011
+++ /releases/2.4/samples/dynatablerf/pom.xml   Fri Sep 16 15:47:37 2011
@@ -1,6 +1,8 @@
 ?xml version=1.0 encoding=UTF-8?
-project xmlns=http://maven.apache.org/POM/4.0.0;  
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
- xsi:schemaLocation=http://maven.apache.org/POM/4.0.0  
http://maven.apache.org/maven-v4_0_0.xsd;

+project
+   xmlns=http://maven.apache.org/POM/4.0.0;
+   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
+   xsi:schemaLocation=http://maven.apache.org/POM/4.0.0  
http://maven.apache.org/maven-v4_0_0.xsd;


   modelVersion4.0.0/modelVersion
   groupIdcom.google.gwt.sample.dynatablerf/groupId
@@ -23,23 +25,42 @@
   /properties

   dependencies
-!-- Google Web Toolkit (GWT) itself --
+!-- Google Web Toolkit (GWT) --

 dependency
   groupIdcom.google.gwt/groupId
-  !-- Could use requestfactory-server instead --
-  artifactIdgwt-servlet/artifactId
+  artifactIdgwt-user/artifactId
   version${gwtVersion}/version
-  scoperuntime/scope
+  !-- provided so that we don't deploy --
+  scopeprovided/scope
 /dependency
+
+!-- For the servlet filter --
+
 dependency
-  groupIdcom.google.gwt/groupId
-  artifactIdgwt-user/artifactId
+  groupIdjavax.servlet/groupId
+  artifactIdservlet-api/artifactId
+  version2.5/version
+/dependency
+
+!-- RequestFactory server --
+
+dependency
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-server/artifactId
   version${gwtVersion}/version
-  scopeprovided/scope
 /dependency

-!-- GWT RequestFactory will use JSR 303 javax.validation if you let  
it --

+!-- Generate the decoder needed by RequestFactory Server --
+!-- Doesn't yet work in eclipse. See maven-processor-plugin below.
+dependency
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-apt/artifactId
+  version${gwtVersion}/version
+/dependency
+--
+
+!-- RequestFactory will use JSR 303 javax.validation if you let it --
 dependency
   groupIdjavax.validation/groupId
   artifactIdvalidation-api/artifactId
@@ -62,25 +83,8 @@
   /exclusions
 /dependency

-!-- GWT RequestFactory requires org.json --
-!-- TODO: can we declare the json and validation dependencies  
somewhere for the world to pick up,

-rather than requiring everyone to know about them? --
-dependency
-  groupIdorg.json/groupId
-  artifactIdjson/artifactId
-  version20090211/version
-/dependency
-
-!-- for the servlet filter --
-dependency
-  groupIdjavax.servlet/groupId
-  artifactIdservlet-api/artifactId
-  version2.5/version
-/dependency
-
 !-- Required by Hibernate validator because slf4j-log4j is
- optional in the hibernate-validator POM
- --
+ optional in the hibernate-validator POM  --
 dependency
   groupIdorg.slf4j/groupId
   artifactIdslf4j-log4j12/artifactId
@@ -94,10 +98,62 @@
   /dependencies

   build
-!-- Generate compiled stuff in the folder used for developing mode --
+!-- Generate compiled stuff in the folder used for development mode  
--
  
outputDirectory${project.build.directory}/${project.build.finalName}/WEB-INF/classes/outputDirectory


 plugins
+  !-- requestfactory-apt runs an annotation processor (APT) to
+   instrument its service interfaces so that
+   RequestFactoryServer can decode client requests. Normally
+   you would just have a dependency on requestfactory-apt
+   with scopeprovided/scope, but that won't work in
+   eclipse due to m2e bug
+   https://bugs.eclipse.org/bugs/show_bug.cgi?id=335036 --
+  plugin
+groupIdorg.bsc.maven/groupId
+artifactIdmaven-processor-plugin/artifactId
+version2.0.5/version
+executions
+  execution
+idprocess/id
+goals
+  goalprocess/goal
+/goals
+phasegenerate-sources/phase
+  /execution
+/executions
+dependencies
+  dependency
+groupIdcom.google.web.bindery/groupId
+artifactIdrequestfactory-apt/artifactId
+version${gwtVersion}/version
+  /dependency
+/dependencies
+ 

[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactory_2_4 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_4

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on WorkingWithMaven in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on RequestFactory_2_5 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_5

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryMovingParts in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryMovingParts

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on TroubleshootingOOPHM in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on BeanValidation in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/BeanValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ScottSoulBinderDesignDoc in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ScottSoulBinderDesignDoc

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ProtocolBuffers in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ProtocolBuffers

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on CellBackedWIdgets in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CellBackedWIdgets

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on Editors in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/Editors

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on WebModeExceptions in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/WebModeExceptions

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ConditionalProperties in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ConditionalProperties

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on AutoBean in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/AutoBean

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactory_2_1_1 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_1_1

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on DomEventsAndMemoryLeaks in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/DomEventsAndMemoryLeaks

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on UnderstandingMemoryLeaks in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/UnderstandingMemoryLeaks

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ApiChecker_User_Guide in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ApiChecker_User_Guide

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on DefaultLocaleBinding in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/DefaultLocaleBinding

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on CssResource in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CssResource

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on LightweightCollections in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/LightweightCollections

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ImageResource in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ImageResource

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on PrecompressLinker in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/PrecompressLinker

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on JavaSystemPropertiesAndGwt in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/JavaSystemPropertiesAndGwt

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on CodeSplitting in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on SoftPermutations in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/SoftPermutations

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on DistributedBuilds in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/DistributedBuilds

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ControllingPermutationExplosion in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ControllingPermutationExplosion

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on WhenLinkerAdded in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/WhenLinkerAdded

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on RequestFactorySketch2 in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactorySketch2

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on RequestFactoryPlusPaths in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryPlusPaths

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Comment on CompilationUnit in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/CompilationUnit

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on ValueStoreAndRequestFactory in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by pclog...@gmail.com:

The best poker blog  http://poker-blogs-see.blogspot.com

Best PokerStars blog http://pokerstars-blogs.blogspot.com

Sexy, hot girls imagehttp://china-sexy-girl-images.blogspot.com/

For more information:
http://code.google.com/p/google-web-toolkit/wiki/ValueStoreAndRequestFactory

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10649 committed - Changed the interface used to send metrics to a dashboard application....

2011-09-15 Thread codesite-noreply

Revision: 10649
Author:   jhumphr...@google.com
Date: Thu Sep 15 04:20:36 2011
Log:  Changed the interface used to send metrics to a dashboard  
application. The

change allows the notifier implementation to do something at the start of an
event.

Review at http://gwt-code-reviews.appspot.com/1499811

http://code.google.com/p/google-web-toolkit/source/detail?r=10649

Modified:
 /trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannelServer.java
  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/DashboardNotifier.java
  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/NoOpDashboardNotifier.java
  
/trunk/dev/core/src/com/google/gwt/dev/util/log/speedtracer/SpeedTracerLogger.java

 /trunk/dev/core/test/com/google/gwt/dev/shell/BrowserChannelServerTest.java
  
/trunk/dev/core/test/com/google/gwt/dev/util/log/dashboard/DashboardNotifierFactoryTest.java
  
/trunk/dev/core/test/com/google/gwt/dev/util/log/dashboard/SpeedTracerLoggerTestMockNotifier.java


===
--- /trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannelServer.java	 
Wed Jun  8 11:36:57 2011
+++ /trunk/dev/core/src/com/google/gwt/dev/shell/BrowserChannelServer.java	 
Thu Sep 15 04:20:36 2011

@@ -381,7 +381,7 @@
* @throws IOException
*/
   public void shutdown() throws IOException {
-getDashboardNotifier().devModeSessionEnded(devModeSession);
+getDashboardNotifier().devModeSessionEnd(devModeSession);
 QuitMessage.send(this);
   }

@@ -664,7 +664,7 @@
   private void createDevModeSession() {
 devModeSession = new DevModeSession(moduleName, userAgent);
 DevModeSession.setSessionForCurrentThread(devModeSession);
-getDashboardNotifier().devModeSession(devModeSession);
+getDashboardNotifier().devModeSessionBegin(devModeSession);
   }

   /**
===
---  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/DashboardNotifier.java	 
Wed Jun  8 11:36:57 2011
+++  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/DashboardNotifier.java	 
Thu Sep 15 04:20:36 2011

@@ -23,32 +23,28 @@
  * information from GWT runtime and compiler instrumentation.
  */
 public interface DashboardNotifier {
-  // First: Compiler related entry points
-
-  // TODO(jhumphries) Add interface methods for collecting data from the
-  // compiler
-
-  // Second: Devmode related entry points
+
+  /**
+   * Notifies the dashboard of a new top-level event starting.
+   */
+  void devModeEventBegin();

   /**
-   * Notifies the dashboard of a top-level event.
+   * Notifies the dashboard of a top-level event ending.
*/
-  void devModeEvent(DevModeSession session, String eventType, long  
startTimeNanos,
+  void devModeEventEnd(DevModeSession session, String eventType, long  
startTimeNanos,

   long durationNanos);

   /**
* Notifies the dashboard of a new session starting.
*/
-  void devModeSession(DevModeSession session);
+  void devModeSessionBegin(DevModeSession session);

   /**
* Notifies the dashboard of a session ending.
*/
-  void devModeSessionEnded(DevModeSession session);
-
-  // Third: Test related entry points
-
-  // TODO(jhumphries) Add interface methods for collecting data from  
automated

-  // tests
+  void devModeSessionEnd(DevModeSession session);
+
+  // TODO(jhumphries) Add instrumentation for compiles and GWT tests, too

 }
===
---  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/NoOpDashboardNotifier.java	 
Wed Jun  8 11:36:57 2011
+++  
/trunk/dev/core/src/com/google/gwt/dev/util/log/dashboard/NoOpDashboardNotifier.java	 
Thu Sep 15 04:20:36 2011

@@ -24,18 +24,23 @@
 public class NoOpDashboardNotifier implements DashboardNotifier {

   @Override
-  public void devModeEvent(DevModeSession sesion, String eventType, long  
startTimeNanos,

+  public void devModeEventBegin() {
+// do nothing
+  }
+
+  @Override
+  public void devModeEventEnd(DevModeSession sesion, String eventType,  
long startTimeNanos,

   long durationNanos) {
 // do nothing
   }

   @Override
-  public void devModeSession(DevModeSession session) {
+  public void devModeSessionBegin(DevModeSession session) {
 // do nothing
   }

   @Override
-  public void devModeSessionEnded(DevModeSession session) {
+  public void devModeSessionEnd(DevModeSession session) {
 // do nothing
   }

===
---  
/trunk/dev/core/src/com/google/gwt/dev/util/log/speedtracer/SpeedTracerLogger.java	 
Wed Jun  8 10:02:34 2011
+++  
/trunk/dev/core/src/com/google/gwt/dev/util/log/speedtracer/SpeedTracerLogger.java	 
Thu Sep 15 04:20:36 2011

@@ -38,6 +38,8 @@
 import java.util.concurrent.CountDownLatch;
 import java.util.concurrent.LinkedBlockingQueue;
 import java.util.concurrent.TimeUnit;
+import java.util.logging.Level;
+import java.util.logging.Logger;

 /**
  * Logs performance metrics for internal development purposes. The output  
is

@@ 

[gwt-contrib] [google-web-toolkit] r10650 committed - Use LinkedHashMap instead of HashMap so that the methods returned by g...

2011-09-15 Thread codesite-noreply

Revision: 10650
Author:   stephenle...@google.com
Date: Thu Sep 15 09:09:17 2011
Log:  Use LinkedHashMap instead of HashMap so that the methods returned  
by getAllInterfaceMethods() are in their declaration order, so that the  
generated methods will be in their declaration order.


Review at http://gwt-code-reviews.appspot.com/1549803

Review by: r...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10650

Modified:
  
/trunk/user/src/com/google/gwt/user/rebind/AbstractGeneratorClassCreator.java


===
---  
/trunk/user/src/com/google/gwt/user/rebind/AbstractGeneratorClassCreator.java	 
Tue Apr 26 08:02:24 2011
+++  
/trunk/user/src/com/google/gwt/user/rebind/AbstractGeneratorClassCreator.java	 
Thu Sep 15 09:09:17 2011

@@ -28,6 +28,7 @@

 import java.util.HashMap;
 import java.util.Iterator;
+import java.util.LinkedHashMap;
 import java.util.Map;
 import java.util.Set;

@@ -44,7 +45,7 @@
* @return interface methods.
*/
   public static JMethod[] getAllInterfaceMethods(JClassType type) {
-MapString, JMethod methods = new HashMapString, JMethod();
+MapString, JMethod methods = new LinkedHashMapString, JMethod();
 getAllInterfaceMethodsAux(type, methods);
 return methods.values().toArray(new JMethod[methods.size()]);
   }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] Re: Comment on IE8Support in google-web-toolkit

2011-09-15 Thread codesite-noreply

Comment by ankur@gmail.com:

Dear All,

Our organization is considering GWT, one of the most critical aspect is  
X-Browser support. I read in FAQs that GWT supports IE8. But here its a  
different story. Can someone confirm latest update on IE8 support in GWT  
2.4.

Any help in this regard is much appreciated.

For more information:
http://code.google.com/p/google-web-toolkit/wiki/IE8Support

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10646 committed - Update the checkstule path for validation sample...

2011-09-14 Thread codesite-noreply

Revision: 10646
Author:   gwt.mirror...@gmail.com
Date: Wed Sep 14 06:33:50 2011
Log:  Update the checkstule path for validation sample
Fix the @NotSupported count

Review at http://gwt-code-reviews.appspot.com/1547803

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10646

Modified:
 /trunk/samples/common.ant.xml
 /trunk/user/build.xml

===
--- /trunk/samples/common.ant.xml   Wed Jun  1 11:14:07 2011
+++ /trunk/samples/common.ant.xml   Wed Sep 14 06:33:50 2011
@@ -189,8 +189,8 @@
   target name=checkstyle description=Static analysis of source
 gwt.checkstyle outputdirectory=${sample.build}
   fileset dir=src 
-exclude name=org/**/super/org/**/*.java/
-exclude  
name=com/google/gwt/sample/validation*/**/ValidationMessages.java /

+exclude name=main/java/org/**/super/org/**/*.java/
+exclude  
name=main/java/com/google/gwt/sample/validation*/**/ValidationMessages.java  
/

   /fileset
 /gwt.checkstyle
   /target
===
--- /trunk/user/build.xml   Fri Jul  1 09:12:59 2011
+++ /trunk/user/build.xml   Wed Sep 14 06:33:50 2011
@@ -803,13 +803,14 @@
   countfilter match=@Failing  property=jsr303.marked.Failing  
init=0/
   countfilter match=@NonTckTest   
property=jsr303.marked.NonTckTest init=0/
   countfilter match=@NotSupported   
property=jsr303.marked.NotSupported init=0/
-  countfilter match=@TestNotCompatible   
property=jsr303.marked.NotSupported init=0/
+  countfilter match=@TestNotCompatible   
property=jsr303.marked.TestNotCompatible init=0/

 /filterchain
   /scan

   !-- force to zero if not set above --
   property name=jsr303.marked.Failing value=0/
   property name=jsr303.marked.NonTckTest value=0/
+  property name=jsr303.marked.NotSupported value=0/
   property name=jsr303.marked.TestNotCompatible value=0/

   echo message=Marked Failing = ${jsr303.marked.Failing} /

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10647 committed - Edited wiki page RequestFactoryInterfaceValidation through web user in...

2011-09-14 Thread codesite-noreply

Revision: 10647
Author:   rj...@google.com
Date: Wed Sep 14 14:31:53 2011
Log:  Edited wiki page RequestFactoryInterfaceValidation through web  
user interface.

http://code.google.com/p/google-web-toolkit/source/detail?r=10647

Modified:
 /wiki/RequestFactoryInterfaceValidation.wiki

===
--- /wiki/RequestFactoryInterfaceValidation.wikiThu Sep  1 15:15:48 2011
+++ /wiki/RequestFactoryInterfaceValidation.wikiWed Sep 14 14:31:53 2011
@@ -26,7 +26,7 @@
 == IDE configuration ==

 === Eclipse ===
-Open the project properties dialog and navigate to `Java Compiler -  
Annotation Processing`.  Ensure that annotation processing is enabled.
+Open the project properties dialog and navigate to `Java Compiler -  
Annotation Processing`.  Ensure that annotation processing is enabled -- by  
default it is not.


 img src=http://i.imgur.com/7upSN.png; /

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10648 committed - Fixes fake even dispatch in UiRendererEventsTest for IE8 and less...

2011-09-14 Thread codesite-noreply

Revision: 10648
Author:   rchan...@google.com
Date: Wed Sep 14 11:48:51 2011
Log:  Fixes fake even dispatch in UiRendererEventsTest for IE8 and less

Review at http://gwt-code-reviews.appspot.com/1550804

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10648

Modified:
  
/trunk/user/test/com/google/gwt/uibinder/test/client/UiRendererEventsTest.java


===
---  
/trunk/user/test/com/google/gwt/uibinder/test/client/UiRendererEventsTest.java	 
Wed Sep  7 09:32:44 2011
+++  
/trunk/user/test/com/google/gwt/uibinder/test/client/UiRendererEventsTest.java	 
Wed Sep 14 11:48:51 2011

@@ -319,6 +319,9 @@
 var event = {};

 event.target = target;
+// For IE  9
+event.srcElement = target;
+
 event.type = type;
 return event;
   }-*/;

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10644 committed - When -XdisableClassMetadata is used, Class.getName() can return Class$...

2011-09-13 Thread codesite-noreply

Revision: 10644
Author:   cromwell...@google.com
Date: Tue Sep 13 11:22:30 2011
Log:  When -XdisableClassMetadata is used, Class.getName() can return  
Class$SseedNumber as a class name. However, there are other modes where  
it can return Class$obfuscated function name. In some rare cases, these  
two could collide of if an obfuscated name of a class ended up as something  
like 'S123'. This patch changes the WebModeClientOracle to treat Class$S123  
differently than 'S123' when deobfuscating class names.


Review at http://gwt-code-reviews.appspot.com/1540804

Review by: rj...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10644

Modified:
 /trunk/user/src/com/google/gwt/rpc/server/WebModeClientOracle.java

===
--- /trunk/user/src/com/google/gwt/rpc/server/WebModeClientOracle.java	Thu  
Jul 28 15:01:32 2011
+++ /trunk/user/src/com/google/gwt/rpc/server/WebModeClientOracle.java	Tue  
Sep 13 11:22:30 2011

@@ -383,12 +383,14 @@
   @Override
   public String getTypeName(String seedName) {
 // TODO: Decide how to handle the no-metadata case
+ClassData data = null;
 if (seedName.startsWith(Class$)) {
   seedName = seedName.substring(6);
-}
-ClassData data = seedNamesToClassData.get(seedName);
+  data = seedIdsToClassData.get(seedName);
+}
+
 if (data == null) {
-  data = seedIdsToClassData.get(seedName);
+  data = seedNamesToClassData.get(seedName);
 }
 return data == null ? null : data.typeName;
   }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10645 committed - Makes the @GwtTransient mechanism work for any annotation with that...

2011-09-13 Thread codesite-noreply

Revision: 10645
Author:   rj...@google.com
Date: Tue Sep 13 11:23:09 2011
Log:  Makes the @GwtTransient mechanism work for any annotation with  
that

simple name.

Review at http://gwt-code-reviews.appspot.com/1544803

Review by: cromwell...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10645

Added:
 /trunk/user/test/com/google/gwt/user/rebind/rpc/GwtTransient.java
Modified:
 /trunk/user/src/com/google/gwt/user/client/rpc/GwtTransient.java
  
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
  
/trunk/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java
  
/trunk/user/test/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilderTest.java


===
--- /dev/null
+++ /trunk/user/test/com/google/gwt/user/rebind/rpc/GwtTransient.java	Tue  
Sep 13 11:23:09 2011

@@ -0,0 +1,24 @@
+/*
+ * Copyright 2011 Google Inc.
+ *
+ * Licensed under the Apache License, Version 2.0 (the License); you may  
not
+ * use this file except in compliance with the License. You may obtain a  
copy of

+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an AS IS BASIS,  
WITHOUT

+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations  
under

+ * the License.
+ */
+package com.google.gwt.user.rebind.rpc;
+
+/**
+ * Used to test that any annotation named @GwtTransient gets the job done.  
Need
+ * to define both a real class (TypeOracleMediator uses reflection) and a  
Java

+ * source resource (for TypeOracle itself).
+ */
+public @interface GwtTransient {
+}
===
--- /trunk/user/src/com/google/gwt/user/client/rpc/GwtTransient.java	Mon  
May 18 11:47:32 2009
+++ /trunk/user/src/com/google/gwt/user/client/rpc/GwtTransient.java	Tue  
Sep 13 11:23:09 2011

@@ -27,6 +27,10 @@
  * codetransient/code keyword should be used in preference to this
  * annotation. However, for types used with multiple serialization  
systems, it

  * can be useful.
+ * p
+ * Note that GWT will actually accept any annotation named GwtTransient  
for this
+ * purpose. This is done to allow libraries to support GWT serialization  
without

+ * creating a direct dependency on the GWT distribution.
  */
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
===
---  
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java	 
Thu Aug  4 06:02:26 2011
+++  
/trunk/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java	 
Tue Sep 13 11:23:09 2011

@@ -451,6 +451,15 @@

 return (JRealClassType) type;
   }
+
+  static boolean hasGwtTransientAnnotation(JField field) {
+for (Annotation a : field.getAnnotations()) {
+  if  
(a.annotationType().getSimpleName().equals(GwtTransient.class.getSimpleName()))  
{

+return true;
+  }
+}
+return false;
+  }

   /**
* @param type the type to query
@@ -607,7 +616,7 @@
   return false;
 }

-if (field.isAnnotationPresent(GwtTransient.class)) {
+if (hasGwtTransientAnnotation(field)) {
   return false;
 }

===
---  
/trunk/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java	 
Fri Aug 26 07:32:45 2011
+++  
/trunk/user/src/com/google/gwt/user/server/rpc/impl/SerializabilityUtil.java	 
Tue Sep 13 11:23:09 2011

@@ -25,6 +25,7 @@
 import com.google.gwt.user.server.rpc.ServerCustomFieldSerializer;

 import java.io.UnsupportedEncodingException;
+import java.lang.annotation.Annotation;
 import java.lang.reflect.Field;
 import java.lang.reflect.GenericArrayType;
 import java.lang.reflect.Modifier;
@@ -462,6 +463,18 @@
   public static void resolveTypes(Type methodType,  
DequeMapTypeVariable?, Type resolvedTypes) {
 SerializabilityUtil.resolveTypesWorker(methodType, resolvedTypes,  
true);

   }
+
+  /**
+   * Returns true if this field has an annotation named GwtTransient.
+   */
+  static boolean hasGwtTransientAnnotation(Field field) {
+for (Annotation a : field.getAnnotations()) {
+  if  
(a.annotationType().getSimpleName().equals(GwtTransient.class.getSimpleName()))  
{

+return true;
+  }
+}
+return false;
+  }

   static boolean isNotStaticTransientOrFinal(Field field) {
 /*
@@ -470,7 +483,7 @@
  */
 int fieldModifiers = field.getModifiers();
 return !Modifier.isStatic(fieldModifiers)  
 !Modifier.isTransient(fieldModifiers)
- !field.isAnnotationPresent(GwtTransient.class)  
 !Modifier.isFinal(fieldModifiers);
+ !hasGwtTransientAnnotation(field)  
 !Modifier.isFinal(fieldModifiers);

   }

   /**
===
---  

[gwt-contrib] Re: Comment on RequestFactoryInterfaceValidation in google-web-toolkit

2011-09-12 Thread codesite-noreply

Comment by mauro.be...@gmail.com:

IDE configuration for Intellij IDEA: http://goo.gl/6P6dT

For more information:
http://code.google.com/p/google-web-toolkit/wiki/RequestFactoryInterfaceValidation

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10639 committed - Support older bash interpreter in maven upload script...

2011-09-12 Thread codesite-noreply

Revision: 10639
Author:   rchan...@google.com
Date: Mon Sep 12 07:14:08 2011
Log:  Support older bash interpreter in maven upload script

Review at http://gwt-code-reviews.appspot.com/1537806

http://code.google.com/p/google-web-toolkit/source/detail?r=10639

Modified:
 /trunk/maven/lib-gwt.sh
 /trunk/maven/push-gwt.sh

===
--- /trunk/maven/lib-gwt.sh Fri Sep  9 10:31:05 2011
+++ /trunk/maven/lib-gwt.sh Mon Sep 12 07:14:08 2011
@@ -46,8 +46,6 @@
   shift
   local gwtSdkArchive=$1
   shift
-  local gwtCl=$1
-  shift
   local mavenRepoUrl=$1
   shift
   local mavenRepoId=$1
@@ -101,6 +99,7 @@

 # Get rid of the INDEX.LIST file, since it's going to be out of date
 # once we rename the jar files for Maven
+echo Removing INDEX.LIST from gwt-${i}
 zip -d $CUR_FILE META-INF/INDEX.LIST

 SOURCES_FILE=gwt-${i}-sources.jar
===
--- /trunk/maven/push-gwt.shFri Sep  9 10:31:05 2011
+++ /trunk/maven/push-gwt.shMon Sep 12 07:14:08 2011
@@ -20,29 +20,51 @@
 # use GWT_MAVEN_REPO_URL if set else M2_REPO else default location for  
local repo

 localRepoUrl=${M2_REPO:=$HOME/.m2/repository}
 localRepoUrl=file://$localRepoUrl
-repoUrl=${GWT_MAVEN_REPO_URL:=$localRepoUrl}
+repoUrlDefault=${GWT_MAVEN_REPO_URL:=$localRepoUrl}
 # repo id is ignored by local repo
 repoId=${GWT_MAVEN_REPO_ID:=none}

 # prompt for info
-read -e -pGWT version for Maven (ex: 2.4.0):  -i $GWT_VERSION  
gwtVersion

+read -e -pGWT version for Maven (ex: 2.4.0):  gwtVersion
+case $gwtVersion in
+  *.*.* )
+;;
+  * )
+echo Please enter a version of the form x.y.z
+exit 1;;
+esac
+
 gwtTrunk=$(dirname $(pwd))
 if [ -f ${gwtTrunk}/build/dist/gwt-*.zip ]; then
-  gwtPath=$(ls ${gwtTrunk}/build/dist/gwt-*.zip | head -n1)
+  gwtPathDefault=$(ls ${gwtTrunk}/build/dist/gwt-*.zip | head -n1)
+  gwtPathPrompt= ($gwtPathDefault)
 fi
-read -e -pPath to GWT distro zip:  -i $gwtPath gwtPath
+read -e -pPath to GWT distro zip $gwtPathPrompt:  gwtPath
+case $gwtPath in
+   )
+gwtPath=$gwtPathDefault
+;;
+  * )
+;;
+esac
 if [[ $gwtPath ==  || ! -f  $gwtPath ]]; then
   echo ERROR: Cannot find file at \$gwtPath\
   exit 1
 fi
-read -e -pDeploy to repo URL:  -i $repoUrl repoUrl
+
+read -e -pDeploy to repo URL ($repoUrlDefault):  repoUrl
+case $repoUrl in
+   )
+repoUrl=$repoUrlDefault
+;;
+  * )
+;;
+esac
+
 read -pGPG passphrase for jar signing (may skip for local deployment):   
gpgPassphrase


-# GWT from distribution ZIP
-gwtCl=$(ls -lrt $gwtPath | tail -n2 | head -n1 | sed  
-r 's/.*r([0-9]+).zip.*/\1/')

 maven-gwt $gwtVersion \
   $gwtPath \
-  $gwtCl \
  $repoUrl \
  $repoId

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10640 committed - Edited wiki page WorkingWithMaven through web user interface.

2011-09-12 Thread codesite-noreply

Revision: 10640
Author:   drfibona...@google.com
Date: Mon Sep 12 11:34:00 2011
Log:  Edited wiki page WorkingWithMaven through web user interface.
http://code.google.com/p/google-web-toolkit/source/detail?r=10640

Modified:
 /wiki/WorkingWithMaven.wiki

===
--- /wiki/WorkingWithMaven.wiki Thu Sep  1 15:02:10 2011
+++ /wiki/WorkingWithMaven.wiki Mon Sep 12 11:34:00 2011
@@ -36,7 +36,7 @@

 == Eclipse Indigo Java EE IDE ==
  # Install m2e-wtp from update site  
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp. The following  
features are required:

- ** Maven Integration for Eclipse
+ ** Maven Integration for Eclipse (note: lifecycle mapping support is not  
working properly as of m2e 0.13, so you may need to run mvn package before  
Run as | Web app for many projects)

  ** Maven Integration for WTP

 After installing GPE and the required plugins for your version of Eclipse,  
you're ready to work with a GWT Maven project.


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10641 committed - Fixes logging and character set warnings for dynatablerf and mobileweb...

2011-09-12 Thread codesite-noreply

Revision: 10641
Author:   rj...@google.com
Date: Mon Sep 12 09:46:24 2011
Log:  Fixes logging and character set warnings for dynatablerf and  
mobilewebapp samples.


Review at http://gwt-code-reviews.appspot.com/1543803

Review by: rchan...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10641

Added:
 /trunk/samples/dynatablerf/src/main/resources
 /trunk/samples/dynatablerf/src/main/resources/log4j.properties
 /trunk/samples/mobilewebapp/src/main/resources
 /trunk/samples/mobilewebapp/src/main/resources/log4j.properties
Deleted:
 /trunk/samples/mobilewebapp/src/main/java/log4j.properties
 /trunk/samples/mobilewebapp/src/main/webapp/WEB-INF/logging.properties
Modified:
 /trunk/samples/dynatablerf/pom.xml
 /trunk/samples/mobilewebapp/pom.xml

===
--- /dev/null
+++ /trunk/samples/dynatablerf/src/main/resources/log4j.properties	Mon Sep  
12 09:46:24 2011

@@ -0,0 +1,5 @@
+#log4j configuration, needed by hibernate validator.
+log4j.rootLogger=INFO, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
===
--- /dev/null
+++ /trunk/samples/mobilewebapp/src/main/resources/log4j.properties	Mon Sep  
12 09:46:24 2011

@@ -0,0 +1,4 @@
+log4j.rootLogger=INFO, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
===
--- /trunk/samples/mobilewebapp/src/main/java/log4j.properties	Wed Jun  1  
07:45:02 2011

+++ /dev/null
@@ -1,24 +0,0 @@
-# A default log4j configuration for log4j users.
-#
-# To use this configuration, deploy it into your application's  
WEB-INF/classes

-# directory.  You are also encouraged to edit it as you like.
-
-# Configure the console as our one appender
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} %-5p [%c]  
- %m%n

-
-# tighten logging on the DataNucleus Categories
-log4j.category.DataNucleus.JDO=WARN, A1
-log4j.category.DataNucleus.Persistence=WARN, A1
-log4j.category.DataNucleus.Cache=WARN, A1
-log4j.category.DataNucleus.MetaData=WARN, A1
-log4j.category.DataNucleus.General=WARN, A1
-log4j.category.DataNucleus.Utility=WARN, A1
-log4j.category.DataNucleus.Transaction=WARN, A1
-log4j.category.DataNucleus.Datastore=WARN, A1
-log4j.category.DataNucleus.ClassLoading=WARN, A1
-log4j.category.DataNucleus.Plugin=WARN, A1
-log4j.category.DataNucleus.ValueGeneration=WARN, A1
-log4j.category.DataNucleus.Enhancer=WARN, A1
-log4j.category.DataNucleus.SchemaTool=WARN, A1
===
--- /trunk/samples/mobilewebapp/src/main/webapp/WEB-INF/logging.properties	 
Wed Jun  1 07:45:02 2011

+++ /dev/null
@@ -1,13 +0,0 @@
-# A default java.util.logging configuration.
-# (All App Engine logging is through java.util.logging by default).
-#
-# To use this configuration, copy it into your application's WEB-INF
-# folder and add the following to your appengine-web.xml:
-#
-# system-properties
-#   property name=java.util.logging.config.file  
value=WEB-INF/logging.properties/

-# /system-properties
-#
-
-# Set the default logging level for all loggers to WARNING
-.level = WARNING
===
--- /trunk/samples/dynatablerf/pom.xml  Thu Sep  8 06:55:03 2011
+++ /trunk/samples/dynatablerf/pom.xml  Mon Sep 12 09:46:24 2011
@@ -16,6 +16,10 @@
 !-- GWT needs at least java 1.6 --
 maven.compiler.source1.6/maven.compiler.source
 maven.compiler.target1.6/maven.compiler.target
+
+!-- Don't let your Mac use a crazy non-standard encoding --
+project.build.sourceEncodingUTF-8/project.build.sourceEncoding
+ 
project.reporting.outputEncodingUTF-8/project.reporting.outputEncoding

   /properties

   dependencies
===
--- /trunk/samples/mobilewebapp/pom.xml Thu Sep  8 06:55:03 2011
+++ /trunk/samples/mobilewebapp/pom.xml Mon Sep 12 09:46:24 2011
@@ -22,6 +22,9 @@
  
gae.home${user.home}/.m2/repository/com/google/appengine/appengine-java-sdk/${gae.version}/appengine-java-sdk-${gae.version}/gae.home

 gae.application.version1/gae.application.version

+!-- Don't let your Mac use a crazy non-standard encoding --
+project.build.sourceEncodingUTF-8/project.build.sourceEncoding
+ 
project.reporting.outputEncodingUTF-8/project.reporting.outputEncoding

   /properties

   repositories

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10638 committed - Scripts and configuration to upload GWT bits to Maven repos...

2011-09-09 Thread codesite-noreply

Revision: 10638
Author:   rchan...@google.com
Date: Fri Sep  9 10:31:05 2011
Log:  Scripts and configuration to upload GWT bits to Maven repos
- Removed now redundant maven_script.sh

Review at http://gwt-code-reviews.appspot.com/1520810

http://code.google.com/p/google-web-toolkit/source/detail?r=10638

Added:
 /trunk/maven
 /trunk/maven/README.txt
 /trunk/maven/lib-gwt.sh
 /trunk/maven/lib-maven-deploy.sh
 /trunk/maven/poms
 /trunk/maven/poms/gwt
 /trunk/maven/poms/gwt/gwt-dev
 /trunk/maven/poms/gwt/gwt-dev/pom-template.xml
 /trunk/maven/poms/gwt/gwt-servlet
 /trunk/maven/poms/gwt/gwt-servlet/pom-template.xml
 /trunk/maven/poms/gwt/gwt-user
 /trunk/maven/poms/gwt/gwt-user/pom-template.xml
 /trunk/maven/poms/gwt/pom-template.xml
 /trunk/maven/poms/requestfactory
 /trunk/maven/poms/requestfactory/apt
 /trunk/maven/poms/requestfactory/apt/pom-template.xml
 /trunk/maven/poms/requestfactory/client
 /trunk/maven/poms/requestfactory/client/pom-template.xml
 /trunk/maven/poms/requestfactory/pom-template.xml
 /trunk/maven/poms/requestfactory/server
 /trunk/maven/poms/requestfactory/server/pom-template.xml
 /trunk/maven/push-gwt.sh
Deleted:
 /trunk/tools/scripts

===
--- /dev/null
+++ /trunk/maven/README.txt Fri Sep  9 10:31:05 2011
@@ -0,0 +1,41 @@
+push-gwt.sh packages and deploys GWT to a local or remote Maven
+repository
+
+To build GWT from trunk and deploy to your local repo:
+
+ cd trunk
+ ant clean dist-dev
+ maven/push-gwt.sh
+
+Follow the prompts to set the GWT version # and path to the
+distribution ZIP (it will automatically find it in build/dist if
+you've just built it). By default, the script deploys to your local
+Maven repo.
+
+To deploy to a remote repo:
+
+Set GWT_MAVEN_REPO_URL and GWT_MAVEN_REPO_ID as noted in the
+script. If the remote repo requires a username and password, define
+the repo in your ~/.m2/settings.xml as below and set GWT_MAVEN_REPO_ID
+= server id. In this example, GWT_MAVEN_REPO_ID would be sonatype.
+
+ cd trunk
+ ant clean dist # must be dist, not dist-dev, to generate Javadocs
+ maven/push-gwt.sh
+
+~/.m2/settings.xml:
+settings
+  localRepository${env.M2_REPO}/localRepository
+  servers
+server
+  idsonatype/id
+  usernamesonatype_username/username
+  passwordsonatype_password/password
+/server
+  /servers
+/settings
+
+If the remote repo requires jar signing as does Sonatype (Maven
+Central), set up GPG on your local machine then enter the passphrase
+when prompted. When deploying locally, you can enter a passphrase to
+sign the jars for testing or press Enter to skip signing altogether.
===
--- /dev/null
+++ /trunk/maven/lib-gwt.sh Fri Sep  9 10:31:05 2011
@@ -0,0 +1,155 @@
+source lib-maven-deploy.sh
+
+function finishAndCleanup () {
+  if [[ $thereHaveBeenErrors ]]; then
+echo 
+echo WARNING: Errors while deploying files, examine output above.
+echo Leaving intermediate files at:
+echo $RANDOM_DIR
+for i in dev user servlet
+do
+  echo $jarExpandDir-${i}
+done
+find $pomDir -name pom.xml
+echo 
+  else
+# Clean up
+rm -rf $RANDOM_DIR
+for i in dev user servlet
+do
+  rm -rf $jarExpandDir-${i}
+done
+# Remove POMs  ASCs, leaving only templates
+find $pomDir -name pom.xml | xargs rm
+  fi
+
+}
+
+function die () {
+  thereHaveBeenErrors=1
+  if [[ $continueOnErrors != y ]]; then
+read -e -pError while deploying, ignore errors? (y/N):  -i N  
continueOnErrors

+if [[ $continueOnErrors != y ]]; then
+  finishAndCleanup
+  exit 1
+fi
+  fi
+}
+
+function warnJavaDoc () {
+  echo WARNING: Could not deploy JavaDoc for $1. Continuing
+}
+
+# Appends to COMMIT_MESSAGE
+function maven-gwt() {
+  local gwtMavenVersion=$1
+  shift
+  local gwtSdkArchive=$1
+  shift
+  local gwtCl=$1
+  shift
+  local mavenRepoUrl=$1
+  shift
+  local mavenRepoId=$1
+  shift
+
+  if [[ $mavenRepoUrl ==  ]]; then
+echo ERROR: Incorrect parameters to maven-gwt
+exit 1
+  fi
+
+  if [[ $mavenRepoId ==  ]]; then
+if [[ `expr match $mavenRepoUrl file://` == 0 ]]; then
+   	echo ERROR: maven-gwt: mavenRepoId is not specified, and the  
mavenRepoUrl is not local (does not start with file://)

+   exit 1
+fi
+   # set a dummy repo id
+   mavenRepoId=local
+  fi
+
+  set-random-dir
+  echo Unzipping $gwtSdkArchive to $RANDOM_DIR
+  unzip -q $gwtSdkArchive -d $RANDOM_DIR || exit 1
+
+  GWT_EXTRACT_DIR=`ls $RANDOM_DIR | tail -n1`
+  GWT_EXTRACT_DIR=$RANDOM_DIR/$GWT_EXTRACT_DIR
+
+  JAVADOC_FILE_PATH=$RANDOM_DIR/gwt-javadoc.jar
+  jar cf $JAVADOC_FILE_PATH -C $GWT_EXTRACT_DIR/doc/javadoc .
+
+  jarExpandDir=/tmp/tmp-jar-expand-dir-$RANDOM
+
+  # Generate POMs with correct version
+  for template in `find $pomDir -name pom-template.xml`
+  do
+dir=`dirname $template`
+  

[gwt-contrib] [google-web-toolkit] r10632 committed - Add ability to control time zone in DateCell....

2011-09-08 Thread codesite-noreply

Revision: 10632
Author:   gwt.mirror...@gmail.com
Date: Thu Sep  8 05:48:56 2011
Log:  Add ability to control time zone in DateCell.

Review at http://gwt-code-reviews.appspot.com/1539803

Review by: jlaba...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10632

Modified:
 /trunk/tools/api-checker/config/gwt23_24userApi.conf
 /trunk/user/src/com/google/gwt/cell/client/DateCell.java
 /trunk/user/test/com/google/gwt/cell/client/DateCellTest.java

===
--- /trunk/tools/api-checker/config/gwt23_24userApi.conf	Wed Sep  7  
09:32:44 2011
+++ /trunk/tools/api-checker/config/gwt23_24userApi.conf	Thu Sep  8  
02:20:30 2011

@@ -176,3 +176,6 @@
 com.google.gwt.user.cellview.client.AbstractHasData::onUpdateSelection()  
MISSING
  
com.google.gwt.user.cellview.client.CellList::doSelection(Lcom/google/gwt/user/client/Event;Ljava/lang/Object;I)  
MISSING
  
com.google.gwt.user.cellview.client.CellTable::doSelection(Lcom/google/gwt/user/client/Event;Ljava/lang/Object;II)  
MISSING

+
+# Adding timezone constructor argument to DateCell
+com.google.gwt.cell.client.DateCell::DateCell(Lcom/google/gwt/i18n/client/DateTimeFormat;Lcom/google/gwt/text/shared/SafeHtmlRenderer;)  
OVERLOADED_METHOD_CALL

===
--- /trunk/user/src/com/google/gwt/cell/client/DateCell.java	Wed Dec  1  
05:40:20 2010
+++ /trunk/user/src/com/google/gwt/cell/client/DateCell.java	Thu Sep  8  
02:20:30 2011

@@ -17,6 +17,7 @@

 import com.google.gwt.i18n.client.DateTimeFormat;
 import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat;
+import com.google.gwt.i18n.client.TimeZone;
 import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
 import com.google.gwt.text.shared.SafeHtmlRenderer;
 import com.google.gwt.text.shared.SimpleSafeHtmlRenderer;
@@ -32,13 +33,15 @@

   private final SafeHtmlRendererString renderer;

+  private final TimeZone timeZone;
+
   /**
* Construct a new {@link DateCell} using the format
* {@link PredefinedFormat#DATE_FULL} and a {@link  
SimpleSafeHtmlRenderer}.

*/
   public DateCell() {
 this(DateTimeFormat.getFormat(PredefinedFormat.DATE_FULL),
-SimpleSafeHtmlRenderer.getInstance());
+SimpleSafeHtmlRenderer.getInstance(), null);
   }

   /**
@@ -49,7 +52,7 @@
*  formatted date as HTML
*/
   public DateCell(SafeHtmlRendererString renderer) {
-this(DateTimeFormat.getFormat(PredefinedFormat.DATE_FULL), renderer);
+this(DateTimeFormat.getFormat(PredefinedFormat.DATE_FULL), renderer,  
null);

   }

   /**
@@ -59,7 +62,7 @@
* @param format the {@link DateTimeFormat} used to render the date
*/
   public DateCell(DateTimeFormat format) {
-this(format, SimpleSafeHtmlRenderer.getInstance());
+this(format, SimpleSafeHtmlRenderer.getInstance(), null);
   }

   /**
@@ -71,6 +74,36 @@
*  formatted date
*/
   public DateCell(DateTimeFormat format, SafeHtmlRendererString  
renderer) {

+this(format, renderer, null);
+  }
+
+  /**
+   * Construct a new {@link DateCell} using the specified format and time  
zone.

+   *
+   * @param format the {@link DateTimeFormat} used to render the date
+   * @param timezone the {@link TimeZone} used to render the date, or null  
to
+   *  use the default behavior for the local time zone and the  
rendered

+   *  date. See {@link DateTimeFormat#format(Date)} and
+   *  {@link Date#getTimeZoneOffset}
+   */
+  public DateCell(DateTimeFormat format, TimeZone timeZone) {
+this(format, SimpleSafeHtmlRenderer.getInstance(), timeZone);
+  }
+
+  /**
+   * Construct a new {@link DateCell} using the specified format, the given
+   * {@link SafeHtmlRenderer}, and the specified time zone.
+   *
+   * @param format the {@link DateTimeFormat} used to render the date
+   * @param renderer a non-null {@link SafeHtmlRenderer} used to render the
+   *  formatted date
+   * @param timezone the {@link TimeZone} used to render the date, or null  
to
+   *  use the default behavior for the local time zone and the  
rendered

+   *  date. See {@link DateTimeFormat#format(Date)} and
+   *  {@link Date#getTimeZoneOffset}
+   */
+  public DateCell(DateTimeFormat format, SafeHtmlRendererString renderer,
+  TimeZone timeZone) {
 if (format == null) {
   throw new IllegalArgumentException(format == null);
 }
@@ -79,12 +112,13 @@
 }
 this.format = format;
 this.renderer = renderer;
+this.timeZone = timeZone;
   }

   @Override
   public void render(Context context, Date value, SafeHtmlBuilder sb) {
 if (value != null) {
-  sb.append(renderer.render(format.format(value)));
+  sb.append(renderer.render(format.format(value, timeZone)));
 }
   }
 }
===
--- /trunk/user/test/com/google/gwt/cell/client/DateCellTest.java	Tue Jul  
27 08:47:38 2010
+++ 

[gwt-contrib] [google-web-toolkit] r10634 committed - Fixes ant build of DynatableRf sample...

2011-09-08 Thread codesite-noreply

Revision: 10634
Author:   rchan...@google.com
Date: Thu Sep  8 10:23:31 2011
Log:  Fixes ant build of DynatableRf sample

Review at http://gwt-code-reviews.appspot.com/1537804

http://code.google.com/p/google-web-toolkit/source/detail?r=10634

Added:
 /trunk/samples/dynatablerf/build.xml
Modified:
 /trunk/samples/build.xml

===
--- /dev/null
+++ /trunk/samples/dynatablerf/build.xmlThu Sep  8 10:23:31 2011
@@ -0,0 +1,11 @@
+project name=dynatablerf default=build basedir=.
+  property name=sample.root value=dynatablerf /
+  property name=sample.module value=DynaTableRf /
+  property name=sample.path value=src /
+  import file=../common.ant.xml /
+  !-- these are after the common.ant.xml so they have gwt.tools etc --
+  path id=sample.extraclasspath
+  /path
+  fileset id=sample.server.libs dir=${gwt.tools.lib}
+  /fileset
+/project
===
--- /trunk/samples/build.xmlWed Jun  1 08:59:33 2011
+++ /trunk/samples/build.xmlThu Sep  8 10:23:31 2011
@@ -11,7 +11,7 @@
   /target

   target name=dynatablerf description=Build dynatablerf
-gwt.ant dir=dynatablerf /
+gwt.ant dir=dynatablerf target=source /
   /target

   target name=expenses description=Build expenses

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10636 committed - Fix http://code.google.com/p/google-web-toolkit/issues/detail?id=6161...

2011-09-08 Thread codesite-noreply

Revision: 10636
Author:   rj...@google.com
Date: Thu Sep  8 10:49:11 2011
Log:  Fix  
http://code.google.com/p/google-web-toolkit/issues/detail?id=6161

by dying on suspicious looking namespaces. Also keep
StackLayoutPanelParser from generating bad code for such things.

Review at http://gwt-code-reviews.appspot.com/1520807

Review by: mros...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10636

Modified:
 /trunk/user/src/com/google/gwt/uibinder/elementparsers/HtmlInterpreter.java
  
/trunk/user/src/com/google/gwt/uibinder/elementparsers/StackPanelParser.java

 /trunk/user/src/com/google/gwt/uibinder/rebind/XMLElement.java
  
/trunk/user/test/com/google/gwt/uibinder/elementparsers/StackPanelParserTest.java
  
/trunk/user/test/com/google/gwt/uibinder/rebind/UiBinderParserUiWithTest.java


===
---  
/trunk/user/src/com/google/gwt/uibinder/elementparsers/HtmlInterpreter.java	 
Thu Aug 18 06:20:28 2011
+++  
/trunk/user/src/com/google/gwt/uibinder/elementparsers/HtmlInterpreter.java	 
Thu Sep  8 10:49:11 2011

@@ -130,6 +130,12 @@
 if (writer.isImportedElement(elem)) {
   writer.die(elem, Not allowed in an HTML context);
 }
+
+if (elem.getNamespaceUri() != null  !writer.isBinderElement(elem)) {
+  // It's not a widget, and it's not a ui: element.
+  writer.die(elem, Prefix \%s:\ has unrecognized xmlns \%s\ (bad  
import?),

+elem.getPrefix(), elem.getNamespaceUri());
+}

 return pipe.interpretElement(elem);
   }
===
---  
/trunk/user/src/com/google/gwt/uibinder/elementparsers/StackPanelParser.java	 
Thu May  5 09:42:56 2011
+++  
/trunk/user/src/com/google/gwt/uibinder/elementparsers/StackPanelParser.java	 
Thu Sep  8 10:49:11 2011

@@ -31,7 +31,10 @@
   UiBinderWriter writer) throws UnableToCompleteException {
 // Parse children.
 for (XMLElement child : elem.consumeChildElements()) {
-
+  if (!writer.isWidgetElement(child)) {
+writer.die(child, Widget required);
+  }
+
   // Stack panel label comes from the StackPanel-text attribute of the  
child

   String stackItemLabel = null;
   String variableAttributeName = elem.getPrefix() + : +  
ATTRIBUTE_TEXT;

===
--- /trunk/user/src/com/google/gwt/uibinder/rebind/XMLElement.java	Thu Aug  
18 06:20:28 2011
+++ /trunk/user/src/com/google/gwt/uibinder/rebind/XMLElement.java	Thu Sep   
8 10:49:11 2011

@@ -773,11 +773,6 @@
   public String getNamespaceUri() {
 return elem.getNamespaceURI();
   }
-
-  public String getNamespaceUriForAttribute(String fieldName) {
-Attr attr = elem.getAttributeNode(fieldName);
-return attr.getNamespaceURI();
-  }

   /**
* Returns the parent element, or null if parent is null or a node type  
other

===
---  
/trunk/user/test/com/google/gwt/uibinder/elementparsers/StackPanelParserTest.java	 
Tue Aug 31 08:46:42 2010
+++  
/trunk/user/test/com/google/gwt/uibinder/elementparsers/StackPanelParserTest.java	 
Thu Sep  8 10:49:11 2011

@@ -15,8 +15,12 @@
  */
 package com.google.gwt.uibinder.elementparsers;

+import com.google.gwt.core.ext.UnableToCompleteException;
+
 import junit.framework.TestCase;

+import org.xml.sax.SAXParseException;
+
 import java.util.Iterator;

 /**
@@ -34,7 +38,7 @@
 tester = new ElementParserTester(PARSED_TYPE, new StackPanelParser());
   }

-  public void testHappy_noStackText() throws Exception {
+  public void testHappy_noStackText() throws SAXParseException,  
UnableToCompleteException {

 StringBuffer b = new StringBuffer();
 b.append(g:StackPanel);
 b.append(  g:Button/);
@@ -45,7 +49,7 @@
 assertStatements(fieldName.add(g:Button););
   }

-  public void testHappy_hasStackText() throws Exception {
+  public void testHappy_hasStackText() throws SAXParseException,  
UnableToCompleteException {

 StringBuffer b = new StringBuffer();
 b.append(g:StackPanel);
 b.append(  g:Button g:StackPanel-text='Foo'/);
@@ -55,6 +59,19 @@

 assertStatements(fieldName.add(g:Button, \Foo\););
   }
+
+  public void testBadChild() throws SAXParseException {
+StringBuffer b = new StringBuffer();
+b.append(g:StackPanel);
+b.append(  g:UIObject/);
+b.append(/g:StackPanel);
+try {
+  tester.parse(b.toString());
+  fail(Expected UnableToCompleteException);
+} catch (UnableToCompleteException e) {
+  /* pass */
+}
+  }

   private void assertStatements(String... expected) {
 IteratorString i = tester.writer.statements.iterator();
===
---  
/trunk/user/test/com/google/gwt/uibinder/rebind/UiBinderParserUiWithTest.java	 
Wed Sep  7 09:32:44 2011
+++  
/trunk/user/test/com/google/gwt/uibinder/rebind/UiBinderParserUiWithTest.java	 
Thu Sep  8 10:49:11 2011

@@ -141,7 +141,6 @@

   private UiBinderWriter writer;

-  @SuppressWarnings(deprecation)
   

[gwt-contrib] [google-web-toolkit] r10637 committed - Integrates r10634 to releases/2.4, fix breakage from DynaTableRf maven...

2011-09-08 Thread codesite-noreply

Revision: 10637
Author:   rj...@google.com
Date: Thu Sep  8 12:26:49 2011
Log:  Integrates r10634 to releases/2.4, fix breakage from DynaTableRf  
maven conversion


http://code.google.com/p/google-web-toolkit/source/detail?r=10637

Added:
 /releases/2.4/samples/dynatablerf/build.xml
Modified:
 /releases/2.4/samples/build.xml

===
--- /dev/null
+++ /releases/2.4/samples/dynatablerf/build.xml Thu Sep  8 12:26:49 2011
@@ -0,0 +1,11 @@
+project name=dynatablerf default=build basedir=.
+  property name=sample.root value=dynatablerf /
+  property name=sample.module value=DynaTableRf /
+  property name=sample.path value=src /
+  import file=../common.ant.xml /
+  !-- these are after the common.ant.xml so they have gwt.tools etc --
+  path id=sample.extraclasspath
+  /path
+  fileset id=sample.server.libs dir=${gwt.tools.lib}
+  /fileset
+/project
===
--- /releases/2.4/samples/build.xml Wed Jun  1 08:59:33 2011
+++ /releases/2.4/samples/build.xml Thu Sep  8 12:26:49 2011
@@ -11,7 +11,7 @@
   /target

   target name=dynatablerf description=Build dynatablerf
-gwt.ant dir=dynatablerf /
+gwt.ant dir=dynatablerf target=source /
   /target

   target name=expenses description=Build expenses

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10617 committed - Adds requestfactory-apt-src to the RF produced artifacts...

2011-09-07 Thread codesite-noreply

Revision: 10617
Author:   rchan...@google.com
Date: Wed Sep  7 04:43:34 2011
Log:  Adds requestfactory-apt-src to the RF produced artifacts

Review at http://gwt-code-reviews.appspot.com/1540803

http://code.google.com/p/google-web-toolkit/source/detail?r=10617

Modified:
 /trunk/requestfactory/build.xml

===
--- /trunk/requestfactory/build.xml Thu Aug 18 04:14:33 2011
+++ /trunk/requestfactory/build.xml Wed Sep  7 04:43:34 2011
@@ -6,6 +6,7 @@
   !-- Remove all output files --
   target name=clean description=Cleans this project's output files
 delete file=${gwt.build.lib}/requestfactory-apt.jar /
+delete file=${gwt.build.lib}/requestfactory-apt-src.jar /
 delete file=${gwt.build.lib}/requestfactory-client.jar /
 delete file=${gwt.build.lib}/requestfactory-client-src.jar /
 delete file=${gwt.build.lib}/requestfactory-client+src.jar /
@@ -47,6 +48,11 @@
 requestfactory-jar target=apt/
   /target

+  !-- Targets for individual jars --
+  target name=requestfactory-apt-src description=Build RequestFactory  
apt source jar

+requestfactory-jar target=apt-src/
+  /target
+
   !-- Useful for Android testing --
   target name=requestfactory-all description=Build RequestFactory all  
jar

 requestfactory-jar target=all/
@@ -83,7 +89,7 @@
   /target

   !-- Build all client jars --
-  target name=clientjars  
depends=requestfactory-apt,requestfactory-client,requestfactory-client-src,requestfactory-client+src  
description=Build requestfactory client jars /
+  target name=clientjars  
depends=requestfactory-apt,requestfactory-apt-src,requestfactory-client,requestfactory-client-src,requestfactory-client+src  
description=Build requestfactory client jars /


   !-- Build all server jars --
   target name=serverjars  
depends=requestfactory-server,requestfactory-server-src,requestfactory-server+src  
description=Build requestfactory server jars /


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10618 committed - Cherry picking r10617 into releases/2.4

2011-09-07 Thread codesite-noreply

Revision: 10618
Author:   rchan...@google.com
Date: Wed Sep  7 05:23:59 2011
Log:  Cherry picking r10617 into releases/2.4

http://code.google.com/p/google-web-toolkit/source/detail?r=10618

Modified:
 /releases/2.4/requestfactory/build.xml

===
--- /releases/2.4/requestfactory/build.xml  Thu Aug 25 10:06:37 2011
+++ /releases/2.4/requestfactory/build.xml  Wed Sep  7 05:23:59 2011
@@ -6,6 +6,7 @@
   !-- Remove all output files --
   target name=clean description=Cleans this project's output files
 delete file=${gwt.build.lib}/requestfactory-apt.jar /
+delete file=${gwt.build.lib}/requestfactory-apt-src.jar /
 delete file=${gwt.build.lib}/requestfactory-client.jar /
 delete file=${gwt.build.lib}/requestfactory-client-src.jar /
 delete file=${gwt.build.lib}/requestfactory-client+src.jar /
@@ -47,6 +48,11 @@
 requestfactory-jar target=apt/
   /target

+  !-- Targets for individual jars --
+  target name=requestfactory-apt-src description=Build RequestFactory  
apt source jar

+requestfactory-jar target=apt-src/
+  /target
+
   !-- Useful for Android testing --
   target name=requestfactory-all description=Build RequestFactory all  
jar

 requestfactory-jar target=all/
@@ -83,7 +89,7 @@
   /target

   !-- Build all client jars --
-  target name=clientjars  
depends=requestfactory-apt,requestfactory-client,requestfactory-client-src,requestfactory-client+src  
description=Build requestfactory client jars /
+  target name=clientjars  
depends=requestfactory-apt,requestfactory-apt-src,requestfactory-client,requestfactory-client-src,requestfactory-client+src  
description=Build requestfactory client jars /


   !-- Build all server jars --
   target name=serverjars  
depends=requestfactory-server,requestfactory-server-src,requestfactory-server+src  
description=Build requestfactory server jars /


--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10619 committed - Updates pom.xml to use new Request Factory libraries...

2011-09-07 Thread codesite-noreply

Revision: 10619
Author:   rchan...@google.com
Date: Wed Sep  7 05:15:46 2011
Log:  Updates pom.xml to use new Request Factory libraries

Review at http://gwt-code-reviews.appspot.com/1541803

http://code.google.com/p/google-web-toolkit/source/detail?r=10619

Modified:
 /trunk/samples/mobilewebapp/pom.xml

===
--- /trunk/samples/mobilewebapp/pom.xml Wed Aug 31 10:35:46 2011
+++ /trunk/samples/mobilewebapp/pom.xml Wed Sep  7 05:15:46 2011
@@ -48,12 +48,17 @@
 !-- Google Web Toolkit (GWT) itself --

 dependency
-  groupIdcom.google.gwt/groupId
-  artifactIdgwt-servlet/artifactId
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-server/artifactId
   version${gwtVersion}/version
   scoperuntime/scope
 /dependency
 dependency
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-apt/artifactId
+  version${gwtVersion}/version
+/dependency
+dependency
   groupIdcom.google.gwt/groupId
   artifactIdgwt-user/artifactId
   version${gwtVersion}/version
@@ -76,12 +81,6 @@

 !-- GWT RequestFactory will use JSR 303 javax.validation if you let  
it --

 dependency
-  groupIdjavax.validation/groupId
-  artifactIdvalidation-api/artifactId
-  version1.0.0.GA/version
-  classifiersources/classifier
-/dependency
-dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate-validator/artifactId
   version4.0.2.GA/version
@@ -97,17 +96,7 @@
   /exclusions
 /dependency

-!-- GWT RequestFactory requires org.json --
-!-- TODO: can we declare the json and validation dependencies  
somewhere for the world to pick up,

-rather than requiring everyone to know about them? --
-dependency
-  groupIdorg.json/groupId
-  artifactIdjson/artifactId
-  version20090211/version
-/dependency
-
 !-- Google App Engine (GAE) itself --
-
 dependency
   groupIdcom.google.appengine/groupId
   artifactIdappengine-api-1.0-sdk/artifactId
@@ -172,11 +161,11 @@
   version1.6.1/version
 /dependency
   /dependencies
-
+
   build
-!-- Generate compiled stuff in the folder used for developing mode --
+!-- Generate compiled stuff in the folder used for developing mode --
  
outputDirectory${project.build.directory}/${project.build.finalName}/WEB-INF/classes/outputDirectory

-
+
 plugins
   !-- GWT Maven Plugin--
   plugin
@@ -200,7 +189,7 @@
 version${gwtVersion}/version
   /dependency
 /dependencies
-!-- JS is only needed in the package phase, this speeds up  
testing --
+!-- JS is only needed in the package phase, this speeds up  
testing --

 executions
   execution
 phaseprepare-package/phase
@@ -209,8 +198,8 @@
 /goals
   /execution
 /executions
-!-- Plugin configuration. There are many available options,
- see gwt-maven-plugin documentation at codehaus.org --
+!-- Plugin configuration. There are many available options,
+ see gwt-maven-plugin documentation at codehaus.org --
 configuration
   !-- URL that should be automatically opened in the GWT shell  
(gwt:run). --

   runTargetMobileWebApp.html/runTarget
@@ -255,7 +244,7 @@
   useManifestOnlyJarfalse/useManifestOnlyJar
   forkModealways/forkMode

-  !-- Folder for generated testing stuff --
+  !-- Folder for generated testing stuff --
   systemProperties
 property
   namegwt.args/name

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10620 committed - Cherry picking r10619 into releases/2.4

2011-09-07 Thread codesite-noreply

Revision: 10620
Author:   rchan...@google.com
Date: Wed Sep  7 06:20:38 2011
Log:  Cherry picking r10619 into releases/2.4

http://code.google.com/p/google-web-toolkit/source/detail?r=10620

Modified:
 /releases/2.4/samples/mobilewebapp/pom.xml

===
--- /releases/2.4/samples/mobilewebapp/pom.xml  Wed Aug 31 10:56:17 2011
+++ /releases/2.4/samples/mobilewebapp/pom.xml  Wed Sep  7 06:20:38 2011
@@ -48,12 +48,17 @@
 !-- Google Web Toolkit (GWT) itself --

 dependency
-  groupIdcom.google.gwt/groupId
-  artifactIdgwt-servlet/artifactId
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-server/artifactId
   version${gwtVersion}/version
   scoperuntime/scope
 /dependency
 dependency
+  groupIdcom.google.web.bindery/groupId
+  artifactIdrequestfactory-apt/artifactId
+  version${gwtVersion}/version
+/dependency
+dependency
   groupIdcom.google.gwt/groupId
   artifactIdgwt-user/artifactId
   version${gwtVersion}/version
@@ -76,12 +81,6 @@

 !-- GWT RequestFactory will use JSR 303 javax.validation if you let  
it --

 dependency
-  groupIdjavax.validation/groupId
-  artifactIdvalidation-api/artifactId
-  version1.0.0.GA/version
-  classifiersources/classifier
-/dependency
-dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate-validator/artifactId
   version4.0.2.GA/version
@@ -97,17 +96,7 @@
   /exclusions
 /dependency

-!-- GWT RequestFactory requires org.json --
-!-- TODO: can we declare the json and validation dependencies  
somewhere for the world to pick up,

-rather than requiring everyone to know about them? --
-dependency
-  groupIdorg.json/groupId
-  artifactIdjson/artifactId
-  version20090211/version
-/dependency
-
 !-- Google App Engine (GAE) itself --
-
 dependency
   groupIdcom.google.appengine/groupId
   artifactIdappengine-api-1.0-sdk/artifactId
@@ -172,11 +161,11 @@
   version1.6.1/version
 /dependency
   /dependencies
-
+
   build
-!-- Generate compiled stuff in the folder used for developing mode --
+!-- Generate compiled stuff in the folder used for developing mode --
  
outputDirectory${project.build.directory}/${project.build.finalName}/WEB-INF/classes/outputDirectory

-
+
 plugins
   !-- GWT Maven Plugin--
   plugin
@@ -200,7 +189,7 @@
 version${gwtVersion}/version
   /dependency
 /dependencies
-!-- JS is only needed in the package phase, this speeds up  
testing --
+!-- JS is only needed in the package phase, this speeds up  
testing --

 executions
   execution
 phaseprepare-package/phase
@@ -209,8 +198,8 @@
 /goals
   /execution
 /executions
-!-- Plugin configuration. There are many available options,
- see gwt-maven-plugin documentation at codehaus.org --
+!-- Plugin configuration. There are many available options,
+ see gwt-maven-plugin documentation at codehaus.org --
 configuration
   !-- URL that should be automatically opened in the GWT shell  
(gwt:run). --

   runTargetMobileWebApp.html/runTarget
@@ -255,7 +244,7 @@
   useManifestOnlyJarfalse/useManifestOnlyJar
   forkModealways/forkMode

-  !-- Folder for generated testing stuff --
+  !-- Folder for generated testing stuff --
   systemProperties
 property
   namegwt.args/name

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10623 committed - added corrected svn:mime-type

2011-09-07 Thread codesite-noreply

Revision: 10623
Author:   mrruss...@google.com
Date: Wed Sep  7 12:38:49 2011
Log:  added corrected svn:mime-type
http://code.google.com/p/google-web-toolkit/source/detail?r=10623

Modified:
 /javadoc/2.4/index.html
 /javadoc/2.4/stylesheet.css

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10624 committed - Ensures that we cleanup CellTree nodes when we are done using them. Cu...

2011-09-07 Thread codesite-noreply

Revision: 10624
Author:   jlaba...@google.com
Date: Wed Sep  7 09:07:21 2011
Log:  Ensures that we cleanup CellTree nodes when we are done using  
them. Currently, some deleted nodes aren't cleaned up, which leads to JS  
errors when the last node of a CellTree is removed. Even when the errors do  
not occur, forgetting to cleanup the nodes leaves stale event handlers on  
the tree.


Issue: 6677

Review at http://gwt-code-reviews.appspot.com/1542803

Review by: skybr...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10624

Modified:
 /trunk/user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java
  
/trunk/user/test/com/google/gwt/user/cellview/client/AbstractCellTreeTestBase.java


===
---  
/trunk/user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java	 
Thu Jul 28 04:03:54 2011
+++  
/trunk/user/src/com/google/gwt/user/cellview/client/CellTreeNodeView.java	 
Wed Sep  7 09:07:21 2011

@@ -211,7 +211,8 @@
 int childCount = nodeView.children.size();
 while (childCount  size) {
   childCount--;
-  nodeView.children.remove(childCount);
+  CellTreeNodeView? deleted =  
nodeView.children.remove(childCount);

+  deleted.cleanup(true);
 }

 // Reattach the open nodes.
===
---  
/trunk/user/test/com/google/gwt/user/cellview/client/AbstractCellTreeTestBase.java	 
Fri Dec 10 10:16:22 2010
+++  
/trunk/user/test/com/google/gwt/user/cellview/client/AbstractCellTreeTestBase.java	 
Wed Sep  7 09:07:21 2011

@@ -201,6 +201,24 @@
   public String getModuleName() {
 return com.google.gwt.user.cellview.CellView;
   }
+
+  /**
+   * Issue 6677: Deleting the last element on a CellTree causes NPE in IE.
+   */
+  public void testDeleteLastNode() {
+// Remove all but the last tree node from the model.
+TreeNode root = tree.getRootTreeNode();
+for (int i = 0; i  9; i++) {
+  model.rootDataProvider.getList().remove(0);
+}
+model.rootDataProvider.flush();
+assertEquals(1, root.getChildCount());
+
+// Remove the last tree node.
+model.rootDataProvider.getList().remove(0);
+model.rootDataProvider.flush();
+assertEquals(0, root.getChildCount());
+  }

   public void testGetRootNode() {
 TreeNode root = tree.getRootTreeNode();

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


[gwt-contrib] [google-web-toolkit] r10625 committed - added corrected svn:mime-type

2011-09-07 Thread codesite-noreply

Revision: 10625
Author:   mrruss...@google.com
Date: Wed Sep  7 12:41:19 2011
Log:  added corrected svn:mime-type
http://code.google.com/p/google-web-toolkit/source/detail?r=10625

Modified:
 /javadoc/2.4/allclasses-frame.html
 /javadoc/2.4/allclasses-noframe.html
 /javadoc/2.4/constant-values.html
 /javadoc/2.4/deprecated-list.html
 /javadoc/2.4/help-doc.html
 /javadoc/2.4/index-all.html
 /javadoc/2.4/overview-frame.html
 /javadoc/2.4/overview-summary.html
 /javadoc/2.4/overview-tree.html
 /javadoc/2.4/serialized-form.html

===
--- /javadoc/2.4/index-all.html Wed Sep  7 12:09:23 2011
+++ /javadoc/2.4/index-all.html Wed Sep  7 12:41:19 2011
File is too large to display a diff.

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors


  1   2   3   4   5   6   7   8   9   10   >