zn2o / gwt-google-apis Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/gwt-google-apis
Automatically exported from code.google.com/p/gwt-google-apis
This project collects the various JavaScript API bindings for GWT. Each supported API lives in its own sub-directory and will produce an isolated distribution image. If you want to build all of the APIs then you can use the build.xml ant script in this directory. If you want to build a specific API then you should use the build.xml file in the API directory that you are interested in.
Please use labels and text to provide additional information.
Original issue reported on code.google.com by [email protected]
on 2 Sep 2007 at 5:31
Found in Release:
1.1.r41
Detailed description:
The Image.getPrintImage() is platform dependent. We can either expose this
or select the implementation via a GWT rebind rule.
Workaround if you have one:
None
Links to the relevant GWT Developer Forum posts:
Original issue reported on code.google.com by [email protected]
on 9 Oct 2007 at 2:45
What steps will reproduce the problem?
1. Add gwt-dev-windows.jar to compiling classpath
2. Try to compile a GWT app using the Google Maps API found in this project
What is the expected output? What do you see instead?
Expected Output: No compilation problems
Actual Output: This exception is thrown hundreds of time (I kill the
process after a couple hours, so it might be infinite)
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:204)
at java.util.zip.ZipFile.<init>(ZipFile.java:235)
at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoader.java:919)
at org.apache.tools.ant.AntClassLoader.getResource(AntClassLoader.java:832)
at com.google.gwt.util.tools.Utility.computeInstallationPath(Utility.java:282)
at com.google.gwt.util.tools.Utility.getInstallPath(Utility.java:223)
at com.google.gwt.util.tools.ToolBase.<clinit>(ToolBase.java:55)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:119)
at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:84)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
40)
at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(Ecl
ipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.j
ava:423)
at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.
java:137)
What version of the product are you using? On what operating system?
GWT: 1.4.60
GWT Google API: Trunk on 9/17/2007 at 6:15pm
OS: Windows XP
Java: JDK 1.5.04
Please provide any additional information below.
I'm building using the same JVM as Eclipse and Ant. If I use a new JVM,
then I get a general compile error that doesn't give any information.
Original issue reported on code.google.com by [email protected]
on 18 Sep 2007 at 1:21
What steps will reproduce the problem?
Using gwt-google-apis version 1.1.3, run the AJAXSearch sample on Safari
2.0.4 on Mac OS X. The browser will shut down.
Original issue reported on code.google.com by [email protected]
on 7 Sep 2007 at 11:54
What steps will reproduce the problem?
1. Call the setVisible( true ) method on a Marker object
What is the expected output? What do you see instead?
Expected: The marker should be visible on the map
Actual: This exception ...
JavaScript TypeError exception: Object doesn't support this property or method
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:481)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:270)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:137
)
com.google.gwt.maps.client.impl.__MarkerImplImpl.setVisible(transient
source for com.google.gwt.maps.client.impl.__MarkerImplImpl:22)
com.google.gwt.maps.client.overlay.Marker.setVisible(Marker.java:219)
...
What version of the product are you using? On what operating system?
GWT: 1.4.60
GWT Google API: Trunk as of 9/17 at 6:15pm
OS: Windows XP
Java: 1.5.04
Please provide any additional information below.
There is no class that implements MarkerImpl. I suggest making that a high
priority.
Thanks,
Eric
Original issue reported on code.google.com by [email protected]
on 18 Sep 2007 at 2:06
I'd really like to see the methods in
com.google.gwt.maps.client.geocode.LocationCallback have the original
address in their parameters. Looking at Geocoder.getLocations, this
shouldn't be too hard to do. I was thinking of something like this:
From com.google.gwt.maps.client.geocode.Geocoder:
public void getLocations(String address, final LocationCallback callback) {
GeocoderImpl.impl.getLocations(jsoPeer, address, new LocationsCallback() {
public void callback(Response response) {
int statusCode = response.getStatus().getCode();
if (statusCode == StatusCodes.SUCCESS) {
JSList placemarkList = response.getPlacemarks();
Placemark[] placemarks = new Placemark[placemarkList.size()];
JsUtil.toArray(placemarkList, placemarks);
callback.onSuccess(placemarks, address);
} else {
callback.onFailure(statusCode, address);
}
}
});
}
Original issue reported on code.google.com by [email protected]
on 19 Sep 2007 at 1:38
Found in Release:
1.1.r41
Detailed description:
No included in 1.1.r41
Workaround if you have one:
None
Links to the relevant GWT Developer Forum posts:
None
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 2:30
Found in Release:
1.1.r41
Detailed description:
There are several classes where the use of Java 1.5 features such as
generics, would result in improved code.
Workaround if you have one:
Links to the relevant GWT Developer Forum posts:
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 3:19
Found in Release:
1.1.r41
Detailed description:
r41 did not include support for any of the GS*Bar controls. We should add
these at the next opportunity.
Workaround if you have one:
Create
Links to the relevant GWT Developer Forum posts:
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/80729d407
91eca39
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 2:24
Found in Release:
1.1.r41
Detailed description:
Need to review the different event listener interfaces to make sure that we
follow the model that GWT does/will do. Most likely this will be an
EventObject based solution.
Workaround if you have one:
Links to the relevant GWT Developer Forum posts:
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 3:21
The problem is that the MercatorProjection class does a bind in its
constructor which result in
recursion. Bind is not necessary in this case because no functions are
actually exported.
We need to scrub the Maps API for this type of failure. We need to be very
careful about how we use
JSIO.bind.
Original issue reported on code.google.com by [email protected]
on 28 Sep 2007 at 8:19
Found in Release: 44
Detailed description:
Supply the onDrag() listeners with the marker that has been dragged.
The Mapitz package uses a GMarkerEventDragListener interface to separate
these events from Map drag events and this works well in that package.
Links to the relevant GWT Developer Forum posts:
http://groups.google.com/group/Google-Web-Toolkit-
Contributors/browse_thread/thread/80729d40791eca39?hl=en
Original issue reported on code.google.com by [email protected]
on 8 Oct 2007 at 9:12
Class Marker currently doesn't expose enabling/disabling dragging. The only
way I seem to be able to set this is by using a MarkerOptions object and
setting values there prior to Marker construction. Marker should expose
enableDragging()/disableDragging() or setDraggable(boolean) so this can be
done after construction, just as with native GMarker
Original issue reported on code.google.com by [email protected]
on 23 Oct 2007 at 3:29
No way to construct InfoWindowContent from a DOM Element (which is very
useful for stitching in existing chunks of HTML).
Original issue reported on code.google.com by [email protected]
on 23 Oct 2007 at 3:30
What steps will reproduce the problem?
Using version 1.1.4, run the HelloMaps sample on Safari for Mac OSX. The
tiles fail to load.
Original issue reported on code.google.com by [email protected]
on 7 Sep 2007 at 12:10
We should switch the Maps and AJAX APIs to use the Google AJAX API Loader
instead of the direct load versions.
The options appear to be as follows:
1) Continue to use the direct loading scheme. The question then becomes
when will this form of loading be deprecated? What do we loose in
flexibility and elegance if we do this?
2) Use BobV's API loader wrapper classes. A user would need to request
that the desired API be loaded and wait for the asynchronous load to
complete before calling any of the GALGWT that depends on the API.
3) Allow the API key to be specified in a module property that does impact
the number of permutations that the GWT compiler will generate. This will
also require some mechanism to be able to deal with the asynchronous
loading used the AJAX API loader and a way to provide notification of
errors during loading.
Original issue reported on code.google.com by [email protected]
on 27 Sep 2007 at 8:07
What steps will reproduce the problem?
1. Calling exception.getMessage() will return strings "[Object Object]"
What is the expected output? What do you see instead?
Expected some meaningful messages.
What version of the product are you using? On what operating system?
1.0. Linux.
Please provide any additional information below.
--
In functions such as nativeIsURLCaptured(JavaScriptObject):
private static native boolean nativeIsURLCaptured(JavaScriptObject rStoreObj,
String url) throws GearsException /*-{
try {
return rStoreObj.isCaptured(url);
} catch (e) {
@com.google.gwt.gears.core.client.impl.GearsImpl::throwGearsException
(Ljava/lang/String;)(e.toString());
}
}-*/;
Changing them to e.message instead of e.toString() will probably get it to
work.
Original issue reported on code.google.com by [email protected]
on 15 Aug 2007 at 10:59
This is a legitimate Google AJAX API so it seems that it should be part of
this library. The question is whether or not we might want or need to
release it independtly of this project or at least at a faster rate. If we
do it could be placed into another project or download.
Original issue reported on code.google.com by [email protected]
on 27 Sep 2007 at 8:16
No way to open info window from a Marker (on par with
GMarker.openInfoWindow() in JS) without having reference to the Map - need
to use map.getInfoWindow().open(marker, content)
Original issue reported on code.google.com by [email protected]
on 23 Oct 2007 at 3:30
Enchancement Request: Add Google Base API Support
API support
Original issue reported on code.google.com by [email protected]
on 25 Sep 2007 at 6:34
Found in Release: 44?
OS: Windows
Detailed description: Using the marker setVisible function in the Maps API
lib causes a Java exception.
TO demonstrate, modify OverlayDemo.java in HelloMaps to include these 3
lines in the marker creation loop:
Marker marker = new Marker(point);
map.addOverlay(marker);
marker.setVisible(false);
Run it and pick "Overlays" from drop-down. You should see this error:
Workaround if you have one:
[ERROR] Unable to load module entry point class
com.google.gwt.maps.sample.maps.client.HelloMaps (see associated exception
for details)
com.google.gwt.core.client.JavaScriptException: JavaScript TypeError
exception: Object doesn't support this property or method
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:481)
at com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:270)
at
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:137
)
at com.google.gwt.maps.client.impl.__MarkerImplImpl.setVisible(transient
source for com.google.gwt.maps.client.impl.__MarkerImplImpl:9)
at com.google.gwt.maps.client.overlay.Marker.setVisible(Marker.java:219)
at
com.google.gwt.maps.sample.maps.client.OverlayDemo.onShow(OverlayDemo.java:77)
at com.google.gwt.maps.sample.maps.client.HelloMaps.show(HelloMaps.java:89)
at
com.google.gwt.maps.sample.maps.client.HelloMaps.onHistoryChanged(HelloMaps.java
:28)
at
com.google.gwt.maps.sample.maps.client.HelloMaps.onModuleLoad(HelloMaps.java:48)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:342)
Original issue reported on code.google.com by pamela.fox
on 5 Oct 2007 at 11:29
Found in Release: 44
Detailed description:
Add access to GMap2.fromLatLngToDivPixel(latlng)
Return type is a js pixel obj so I'm not sure what you want to do with
that.
Links to the relevant GWT Developer Forum posts:
http://groups.google.com/group/Google-Web-Toolkit-
Contributors/browse_thread/thread/80729d40791eca39?hl=en
Original issue reported on code.google.com by [email protected]
on 8 Oct 2007 at 8:59
What steps will reproduce the problem?
1. Call Geocoder.getLocations (approximately line 80)
What is the expected output? What do you see instead?
Expected: To get back the lat/long for the address(es)
Actual: This exception ...
invokeNativeHandle(@com.google.gwt.maps.client.impl.__GeocodeCachePrototypeImpl:
:get(Lcom/google/gwt/maps/client/geocode/GeocodeCache;Ljava/lang/String;)):
JavaScript undefined, expected com.google.gwt.core.client.JavaScriptObject
com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:481)
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:270)
com.google.gwt.dev.shell.JavaScriptHost.invokeNativeVoid(JavaScriptHost.java:137
)
com.google.gwt.maps.client.impl.__GeocoderImplImpl.getLocations(transient
source for com.google.gwt.maps.client.impl.__GeocoderImplImpl:39)
com.google.gwt.maps.client.geocode.Geocoder.getLocations(Geocoder.java:80)
What version of the product are you using? On what operating system?
GWT: 1.4.60
GWT Google API: Trunk as of 9/17 at 6:15pm
OS: Windows XP
Java: 1.5.04
Please provide any additional information below.
I'll look into the implementation interfaces to see if the correct Google
Maps API methods are being called.
Original issue reported on code.google.com by [email protected]
on 19 Sep 2007 at 1:23
What steps will reproduce the problem?
1. Compile a GWT app that inherits from com.google.gwt.maps.GoogleMaps
What is the expected output? What do you see instead?
No errors, instead I get this exception:
Loading inherited module 'com.google.gwt.maps.GoogleMaps'
Loading inherited module 'com.google.gwt.jsio.JSIO'
[ERROR] Unable to load class
'com.google.gwt.jsio.rebind.JSWrapperGenerator'
java.lang.ClassNotFoundException: com.google.gwt.jsio.rebind.JSWrapperGenerator
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
com.google.gwt.dev.cfg.ModuleDefSchema$ObjAttrCvt.convertToArg(ModuleDefSchema.j
ava:493)
at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
at
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:214)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.
java:242)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
454)
at
org.apache.xerces.impl.XMLNamespaceBinder.startElement(XMLNamespaceBinder.java:5
71)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(XMLDTDValidator.java:756
)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocume
ntFragmentScannerImpl.java:752)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(XMLDocumentFragmentScannerImpl.java:1453)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFr
agmentScannerImpl.java:333)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:29
5)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.ja
va:48)
at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:366)
at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:175)
at
com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSche
ma.java:143)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:223)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.
java:242)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
454)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocu
mentParser.java:217)
at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:5
94)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:777
)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocume
ntFragmentScannerImpl.java:748)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(XMLDocumentFragmentScannerImpl.java:1453)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFr
agmentScannerImpl.java:333)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:29
5)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.ja
va:48)
at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:366)
at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:175)
at
com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSche
ma.java:143)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:223)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.
java:242)
at
org.apache.xerces.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:
454)
at
org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocu
mentParser.java:217)
at
org.apache.xerces.impl.XMLNamespaceBinder.emptyElement(XMLNamespaceBinder.java:5
94)
at
org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:777
)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocume
ntFragmentScannerImpl.java:748)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.
dispatch(XMLDocumentFragmentScannerImpl.java:1453)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFr
agmentScannerImpl.java:333)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at
org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:29
5)
at
com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.ja
va:48)
at
com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:366)
at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:175)
at com.google.gwt.dev.cfg.ModuleDefLoader.load(ModuleDefLoader.java:208)
at
com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:81
)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:753)
at com.google.gwt.dev.GWTCompiler.run(GWTCompiler.java:745)
at com.google.gwt.dev.GWTCompiler.main(GWTCompiler.java:213)
What version of the product are you using? On what operating system?
Trunk is subversion as of 9/11
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 15 Sep 2007 at 1:55
Perhaps a MapWidget should have some default height? Maybe 100%?
Currently if I have an explicitly sized panel which I add a MapWidget to,
there is no map visible (but, confusingly, the map controls are) because
the map is rendered at 0px height.
This behavior made me think the map is broken. Giving height some sane
default would make it easier for me to realize I should change the
dimensions according to my needs.
Original issue reported on code.google.com by [email protected]
on 25 Oct 2007 at 10:15
Class MapWidget should probably expose closeInfoWindow() - the workaround
for now seems to be map.getInfoWindow().close() but this creates a new
instance of InfoWindow every time.
Original issue reported on code.google.com by [email protected]
on 23 Oct 2007 at 3:29
I recommend that you merge the Google Maps API for GWT, found at
http://sourceforge.net/projects/gwt/, into this project. I use it and it
works great. I'd love it if the GWT api version would come out at the same
time as the javascript version.
Thanks,
eric
Original issue reported on code.google.com by [email protected]
on 29 Aug 2007 at 2:31
GWT's hosted mode browser does not allow the use of Gears on the Linux or
Mac platforms.
The expectation is that GWT's hosted mode browsers for Linux and Mac will
be updated to allow the Gears plugin to be loaded. Currently, GWT
Gears-enabled applications can only be debugged using GWT's hosted mode
browser on Windows.
Original issue reported on code.google.com by [email protected]
on 2 Sep 2007 at 5:52
What steps will reproduce the problem?
1. Run the following snippet:
WebSearch webSearch = new WebSearch();
webSearch.addSearchListener(new SearchListener() {
public void onSearchResult(Search search, Result result) {
Window.alert(result.toString());
}});
webSearch.execute("Foo");
What is the expected output? What do you see instead?
I expect that Window alerts appear for every result. Instead, I get:
"TypeError exception: Object doesn't support this property or method".
This happens because there is a typo in the Search class. The
"setSearchCompleteCallbock" should be named "setSearchCompleteCallback".
This typo causes the JSIO generator to write code to call the
"setSearchCompleteCallbock" method which does not exist in the underlying
JavaScript object.
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 2:13
The RestoreStore class cannot capture URLs when used in GWT's hosted mode
browser on Windows. This stems from not loading browser helper objects
from GWT's hosted mode browser on Windows.
Original issue reported on code.google.com by [email protected]
on 2 Sep 2007 at 5:48
Found in Release:
1.1.r41
Detailed description:
No included in 1.1.r41
Workaround if you have one:
None
Links to the relevant GWT Developer Forum posts:
None
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 2:29
What steps will reproduce the problem?
1. look at the gears_init.js file, it is from prior to public release of Gears.
What is the expected output? What do you see instead?
the gears_init.js should match the version distributed with Gears.
What version of the product are you using? On what operating system?
SVN trunk on OS X
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 17 Jul 2007 at 3:35
Attachments:
What steps will reproduce the problem?
Run the HelloMaps sample for gwt-google-apis version 1.1.3 and select
"Opening an Info Window" from the drop down list. You will see roughly a
one pixel wide bleed through from the back ground image on the left and top
borders.
Original issue reported on code.google.com by [email protected]
on 7 Sep 2007 at 11:56
Port back-half code from gwt-feed-reader project and add user façade classes.
Original issue reported on code.google.com by [email protected]
on 27 Sep 2007 at 7:56
We should create a simple Getting Started Guide that walks through how to
create a GWT project that uses the library.
Even though the process for using the gwt-google-apis library may seem
fairly straight forward to those that are very familiar with GWT, it could
not hurt to enumerate the steps.
Original issue reported on code.google.com by [email protected]
on 27 Sep 2007 at 2:17
What steps will reproduce the problem?
Using version 1.1.4, run the HelloMaps sample on Safari 3 Beta for windows.
The tiles show up but the application does not respond to changes in the
drop list of scenarios.
Original issue reported on code.google.com by [email protected]
on 7 Sep 2007 at 12:16
The Database support should allow parameters to be set individually using
actual java objects for
each parameter something like:
Database db = new Database("some.Database");
Statement st = db.createStatement("SELECT * FROM sometable WHERE entrydate > ?
AND id > ?
AND entrytype = ?");
st.setDate(0, someDate);
st.setInteger(1, 15);
st.setString(2, "user");
ResultSet rs = st.execute();
...
rs.close();
This could be accomplished by having a Statement interface that contains the
setter methods
and an execute method. Hide the actual implementation in the database class,
and have the
setters individually add parameters to a Javascript array that will eventually
be sent to the
underlying execute() function in Gears.
See attached patch.
Original issue reported on code.google.com by [email protected]
on 4 Jul 2007 at 2:34
Attachments:
What steps will reproduce the problem?
1. Download the latest distribution of gwt-google-apis (r41)
2. Try to launch the HelloMaps sample -shell/-compile scripts
3. Realise that they're pointing to
com.google.gwt.maps.sample.maps.MapsSample/MapsSample.html rather than
com.google.gwt.maps.sample.maps.HelloMaps
What is the expected output? What do you see instead?
Expected launch scripts to point to
com.google.gwt.maps.sample.maps.HelloMaps, but are pointing to
com.google.gwt.maps.sample.maps.MapsSample/MapsSample.html instead
What version of the product are you using? On what operating system?
GWT 1.4.60, gwt-google-apis-r41. This applies to the launch scripts for
each OS distribution (linux/mac/windows)
Please provide any additional information below.
I've included a patch below that corrects the paths in each of the -shell
and -compile scripts for each OS distribution.
Original issue reported on code.google.com by [email protected]
on 18 Sep 2007 at 6:41
Attachments:
What steps will reproduce the problem?
1. View app without Gears, or click "Deny" when the Gears security alert
appears.
What is the expected output? What do you see instead?
n/a
What version of the product are you using? On what operating system?
gwt-google-apis 1.0, GWT 1.4.10
Please provide any additional information below.
Can we get a method to test for Gears? There are ways to do this, but a
boolean test method seems reasonable.
if (Gears.isAvailable()) {
// ...
}
else {
Window.alert("Please install Gears");
}
Original issue reported on code.google.com by [email protected]
on 2 Jun 2007 at 8:58
Found in Release:
Detailed description:
We need to create bindings for the OpenSocial API. Seems like it is a good
time to create a branch in this project and start the work.
Workaround if you have one:
Links to the relevant GWT Developer Forum posts:
Original issue reported on code.google.com by [email protected]
on 6 Nov 2007 at 2:24
What steps will reproduce the problem?
1. Download gwt-google-apis
2. Try out the info window samples in IE
3. Notice the bad info window rendering
What is the expected output? What do you see instead?
When using a strict doctype, info windows will render correctly in IE. In
quirks mode, they have funny lines and mismatched borders.
Fix: Add this to the beginning of HelloMaps.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Original issue reported on code.google.com by pamela.fox
on 27 Sep 2007 at 5:05
The mime types and line endings may not be set correctly for all of the
source files in this project.
Original issue reported on code.google.com by [email protected]
on 25 Jun 2007 at 7:46
Found in Release: r41?
http://gwt-google-apis.googlecode.com/svn/trunk/google-apis/src/com/google/gwt/m
aps/client/geom/LatLngBounds.java
Detailed description: LatLngBounds should have an empty constructor as
well. It currently only has a constructor which accepts two parameters.
Original issue reported on code.google.com by pamela.fox
on 4 Oct 2007 at 3:48
steps to reproduce the problem
1. Create GWT eclipse project and application with the scripts included on
gwt Mac OS distribution
2. Import gwt-google-apis.jar (add entry on classpath and on
MyApplication.gwt.xml)
3. As the hosted browser on Mac OS doesn't support google gears yet, launch
the project compilation with the MyApplication-compile generated script
What is the expected output?
Compilation should succeed (normally)
What do you see instead?
Loading module 'com.sfeir.gearsGwtTest'
Loading inherited module 'com.google.gwt.gears.Gears'
[ERROR] Unable to find 'com/google/gwt/gears/Gears.gwt.xml' on your
classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?
[ERROR] Line 6: Unexpected exception while processing element 'inherits'
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
...
...
What version of the product are you using? On what operating system?
latest gwt 1.4 RC on Mac OS X 10.4.10
Please provide any additional information below.
I expected this to work on windows, but the compiler script also fails,
even though the "Compile/browse" button of the hosted browser successfully
compiles my application. (As a side note, I tried running the application
on the hosted browser, but "LocalServer local = new LocalServer()" throws
GearsException with the following trace:
com.google.gwt.gears.core.client.GearsException: JavaScript TypeError
exception: Null value
at com.google.gwt.gears.core.client.impl.GearsImpl.create(GearsImpl.java:77)
at
com.google.gwt.gears.localserver.client.LocalServer.<init>(LocalServer.java:79)
at
com.google.gwt.gears.localserver.client.LocalServer.<init>(LocalServer.java:69)
at com.sfeir.client.gearsGwtTest.onModuleLoad(gearsGwtTest.java:24)
...
...
)
Original issue reported on code.google.com by [email protected]
on 26 Jun 2007 at 3:44
Currently, we have no unit tests for the non-visual parts of the AJAX
Search APIs. We need to create these before the RC.
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 1:55
Detailed description:
Need a mechanism to allow the LocalServer functionality to be used with
GWT's strongly-named files. This impacts the generated JavaScript code
files as well as the image bundle files.
GWT generates a strongly-named, numeric, file name for each permutation of
GWT rebind decisions used by the application. These strong names are not
known until after the GWT compiler finishes so a developer has no way of
knowing what it could be. Even if a developer knew what the set of strong
names could be they would not be able to determine which one a particular
browser would use.
The motivating scenario is where a GWT application or module needs to be
cached by the LocalServer for offline use.
Workaround if you have one:
You can run a post GWT-compiler build process to generate a Gears manifest
file for you. It could include all of the files in the GWT compiler's
output directory. The downside is that all permutations will be included
in the manifest.
Alternatively, you can query the src attributes of the script elements once
the application has loaded to determine what strongly named files to cache.
Original issue reported on code.google.com by [email protected]
on 18 Jul 2007 at 8:00
MercatorProjection is a perfect example of this. getWrapWidth(int) can return
infinity/undefined in
certain conditions. As such, we should change the return type to use the Java
boxed type.
We need to scrub the existing APIs for this type of problem.
Original issue reported on code.google.com by [email protected]
on 28 Sep 2007 at 8:16
Currently we have no tests for the Maps API. Even though it is mostly
visual we should be able to create unit tests for the different non-UI
components.
Original issue reported on code.google.com by [email protected]
on 2 Oct 2007 at 1:56
Found in Release: 44?
Detailed description: GEvent.trigger is not supported. It's a _very_ useful
function. More info in the reference:
http://www.google.com/apis/maps/documentation/reference.html#GEvent
Original issue reported on code.google.com by pamela.fox
on 5 Oct 2007 at 4:17
Found in Release: r41
Detailed description:
Maybe related to issue 29. When adda customized MapType, regardless of
projection, an error is thrown when the new MapType is clicked:
code:
public void onModuleLoad() {
final MapWidget map= new MapWidget(new LatLng(35.249208,
-80.843099), 12);
map.setSize("500px", "500px");
CopyrightCollection myCopyright=new CopyrightCollection("");
myCopyright.addCopyright(new Copyright(1,new LatLngBounds(new
LatLng(34,-81),new LatLng(36,-79)),10,""));
TileLayer tileLayer = new TileLayer(myCopyright,10,18){
public boolean isPng(){return true;}
public double getOpacity(){return 1.0;}
public String getTileURL(Point tile, int zoomLevel){
return
"http://www.google.com/apis/maps/documentation/examples/include/tile_crosshairs.
png";
}
};
TileLayerOverlay layerOverlay=new TileLayerOverlay(tileLayer);
map.addOverlay(layerOverlay);
Projection prj=new MercatorProjection(20);
MapType mapType=new MapType(new TileLayer[]{tileLayer},prj,"MyMap");
map.addMapType(mapType); // error when click on "MyMap"
map.addControl(new MapTypeControl());
RootPanel.get().add(map);
}
Workaround if you have one:
Write MapType code in js and include the js.
Links to the relevant GWT Developer Forum posts:
http://groups.google.com/group/Google-Web-Toolkit/msg/6947b4ccaa05cf40
Original issue reported on code.google.com by [email protected]
on 4 Oct 2007 at 6:06
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.