From 839913bd34f846cd78b3917cdff7128328a5380a Mon Sep 17 00:00:00 2001 From: Zbynek Konecny Date: Mon, 3 Mar 2025 23:49:22 +0100 Subject: [PATCH 1/5] Fix some typos --- src/main/markdown/articles/mvp-architecture-2.md | 2 +- src/main/markdown/doc/latest/DevGuideAutoBeans.md | 2 +- .../doc/latest/DevGuideCodingBasicsJsInterop.md | 2 +- .../doc/latest/DevGuideCodingBasicsOverlay.md | 2 +- .../markdown/doc/latest/DevGuideI18nPluralForms.md | 2 +- .../doc/latest/DevGuideLightweightMetrics.md | 2 +- .../doc/latest/DevGuideOrganizingProjects.md | 2 +- .../markdown/doc/latest/DevGuideRequestFactory.md | 4 ++-- .../markdown/doc/latest/DevGuideSecurityRpcXsrf.md | 2 +- src/main/markdown/doc/latest/DevGuideUiBinder.md | 2 +- .../markdown/doc/latest/DevGuideUiBinderI18n.md | 2 +- .../markdown/doc/latest/DevGuideUiCellWidgets.md | 2 +- .../markdown/doc/latest/DevGuideUiCustomCells.md | 2 +- src/main/markdown/doc/latest/FAQ_UI.md | 4 ++-- .../markdown/doc/latest/RefCommandLineTools.md | 2 +- src/main/markdown/doc/latest/tutorial/JUnit.md | 2 +- .../markdown/doc/latest/tutorial/clientserver.md | 2 +- src/main/markdown/doc/latest/tutorial/i18n.md | 2 +- src/main/markdown/doc/latest/tutorial/index.md | 2 +- src/main/markdown/makinggwtbetter.md | 2 +- src/main/markdown/meetingnotes/2015-06-17.md | 2 +- src/main/markdown/release-notes.md | 14 +++++++------- src/main/markdown/roadmap.md | 2 +- src/main/resources/main.tpl | 2 +- src/main/resources/toc.md | 2 +- src/main/site/assets/build/fonts/icons/icons.css | 4 ++-- src/main/site/index.html | 2 +- 27 files changed, 36 insertions(+), 36 deletions(-) diff --git a/src/main/markdown/articles/mvp-architecture-2.md b/src/main/markdown/articles/mvp-architecture-2.md index 86c5ce2fc..233ffc169 100644 --- a/src/main/markdown/articles/mvp-architecture-2.md +++ b/src/main/markdown/articles/mvp-architecture-2.md @@ -330,7 +330,7 @@ public class ContactsViewColumnDefinitions { }); } - public List> getColumnDefnitions() { + public List> getColumnDefinitions() { return columnDefinitions; } } diff --git a/src/main/markdown/doc/latest/DevGuideAutoBeans.md b/src/main/markdown/doc/latest/DevGuideAutoBeans.md index 012107909..83878eea5 100644 --- a/src/main/markdown/doc/latest/DevGuideAutoBeans.md +++ b/src/main/markdown/doc/latest/DevGuideAutoBeans.md @@ -228,7 +228,7 @@ Maps are serialized in two forms based on whether or not the key type is a value ```json { "1" : { "property" : "value"}, "55" : { "property" : "value" } } ``` -A map that uses a reference object as a key will instead be encoded as a list of two lists. This allows object-identity maps that contain keys with identical serialized froms to be deserialized correctly. For example, a `Map` would be encoded as: +A map that uses a reference object as a key will instead be encoded as a list of two lists. This allows object-identity maps that contain keys with identical serialized forms to be deserialized correctly. For example, a `Map` would be encoded as: ```json [ diff --git a/src/main/markdown/doc/latest/DevGuideCodingBasicsJsInterop.md b/src/main/markdown/doc/latest/DevGuideCodingBasicsJsInterop.md index cf500c003..9f24ac2a5 100644 --- a/src/main/markdown/doc/latest/DevGuideCodingBasicsJsInterop.md +++ b/src/main/markdown/doc/latest/DevGuideCodingBasicsJsInterop.md @@ -149,7 +149,7 @@ fn(40); // will return 42! ## Adding additional utility methods to a native type The JsInterop contract specifies that a native type may contain only native methods except the ones annotated with `@JsOverlay`. -`@JsOverlay` allows adding a method to a native type (annotated with `@JsType(isNative=true)`) or on a default method of a `@JsFunction` annotated interface . The `@JsOverlay` contract specifies that the methods annotated should be final and should not override any existing native method. The annotated methods will not be accessble from JavaScript and can be used from Java only. `@JsOverlay` can be useful for adding utilities methods that may not be offered by the native type. For example: +`@JsOverlay` allows adding a method to a native type (annotated with `@JsType(isNative=true)`) or on a default method of a `@JsFunction` annotated interface . The `@JsOverlay` contract specifies that the methods annotated should be final and should not override any existing native method. The annotated methods will not be accessible from JavaScript and can be used from Java only. `@JsOverlay` can be useful for adding utilities methods that may not be offered by the native type. For example: ```java @JsType(isNative = true) diff --git a/src/main/markdown/doc/latest/DevGuideCodingBasicsOverlay.md b/src/main/markdown/doc/latest/DevGuideCodingBasicsOverlay.md index acf655e71..962239070 100644 --- a/src/main/markdown/doc/latest/DevGuideCodingBasicsOverlay.md +++ b/src/main/markdown/doc/latest/DevGuideCodingBasicsOverlay.md @@ -183,7 +183,7 @@ function $onModuleLoad(){ This is pretty darn optimized. Even the overhead of the `getFullName()` method went away. In fact, _all_ of the Java method calls went away. When we say that "GWT gives you affordable abstractions," this is the kind of thing we're talking about. Not only does inlined code run significantly faster, we no longer had to include the function -definitions themselves, thus shrinking the script a litte, too. (To be fair, though, inlining can also easily increase script size, so we're careful to strike a balance between +definitions themselves, thus shrinking the script a little, too. (To be fair, though, inlining can also easily increase script size, so we're careful to strike a balance between size and speed.) It's pretty fun to look back at the original Java source above and try to reason about the sequence of optimizations the compiler had to perform to end up here. diff --git a/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md b/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md index 2844c7cfd..a8f714a23 100644 --- a/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md +++ b/src/main/markdown/doc/latest/DevGuideI18nPluralForms.md @@ -159,7 +159,7 @@ the count is 0, `"Nobody is here"` is chosen; if the count is 3, `"{1}, {2}, and one other are here"` is chosen because 2 is subtracted from the count before looking up the plural form to use. -BTW, we know it is somewhat klunky to have to pass in the names this way. +BTW, we know it is somewhat clunky to have to pass in the names this way. In the future, we will add a way of referencing elements in the list/array from the placeholders, where you could simply call `peopleHere(names)`. diff --git a/src/main/markdown/doc/latest/DevGuideLightweightMetrics.md b/src/main/markdown/doc/latest/DevGuideLightweightMetrics.md index 202902450..f7d1a6ab7 100644 --- a/src/main/markdown/doc/latest/DevGuideLightweightMetrics.md +++ b/src/main/markdown/doc/latest/DevGuideLightweightMetrics.md @@ -21,7 +21,7 @@ The [Debug Panel for GWT](http://code.google.com/p/gwt-debug-panel/), developed The Lightweight Metrics system is composed of sets of events that you're interested in tracking and a global collector method that is responsible for evaluating these events and reporting metrics. -For example, when loading a GWT application, the steps involved in the process consist of bootstrapping the application, loading external references, and starting up the GWT module. Each of these steps further break down into dowloading the bootstrap script, selecting the right permutation of your application to load, fetching the permutation, and so on. This is illustrated in the [Lightweight Metrics design doc](http://code.google.com/p/google-web-toolkit/wiki/LightweightMetricsDesign) (see GWT Startup Process diagram). Each of the smaller steps, like selecting the correct permutation of the application to load, can be represented as events you would like to measure in the overall application load time. The events themselves are standard JSON objects that contain the following information: +For example, when loading a GWT application, the steps involved in the process consist of bootstrapping the application, loading external references, and starting up the GWT module. Each of these steps further break down into downloading the bootstrap script, selecting the right permutation of your application to load, fetching the permutation, and so on. This is illustrated in the [Lightweight Metrics design doc](http://code.google.com/p/google-web-toolkit/wiki/LightweightMetricsDesign) (see GWT Startup Process diagram). Each of the smaller steps, like selecting the correct permutation of the application to load, can be represented as events you would like to measure in the overall application load time. The events themselves are standard JSON objects that contain the following information: ```javascript { diff --git a/src/main/markdown/doc/latest/DevGuideOrganizingProjects.md b/src/main/markdown/doc/latest/DevGuideOrganizingProjects.md index f6d6f984c..51d257aa6 100644 --- a/src/main/markdown/doc/latest/DevGuideOrganizingProjects.md +++ b/src/main/markdown/doc/latest/DevGuideOrganizingProjects.md @@ -314,7 +314,7 @@ the path prefix up to and including `jre`. As a result, `com/google/myproject/gw The GWT project uses this technique internally for the JRE emulation classes provided with GWT. One caveat specific to overriding JRE classes in this way is that they will never actually be used in development mode. In -development mode, the native JRE classes always supercede classes compiled +development mode, the native JRE classes always supersede classes compiled from source. The `` element supports [pattern-based diff --git a/src/main/markdown/doc/latest/DevGuideRequestFactory.md b/src/main/markdown/doc/latest/DevGuideRequestFactory.md index 2835380d5..2aa630ed0 100644 --- a/src/main/markdown/doc/latest/DevGuideRequestFactory.md +++ b/src/main/markdown/doc/latest/DevGuideRequestFactory.md @@ -364,7 +364,7 @@ as _transportable types_. Each client-side transportable type is mapped to a se In determining whether or not a client-side method defined in a proxy or context type is a valid mapping for a domain method, the client types are -converted to ther domain equivalent and regular Java type assignability rules +converted to their domain equivalent and regular Java type assignability rules are considered. A proxy type will be available on the client if it is: @@ -399,7 +399,7 @@ formally implement the RequestContext interface. The name and argument list for each method is the same on client and server, with the following mapping rules: -* Client side methods that return `Reques`return only T on the server. For example, a method +* Client side methods that return `Request`return only T on the server. For example, a method that returns `Request` in the client interface simply returns String on the server. * EntityProxy types become the domain entity type on the server, so a method that returns `Request>` will just return `List` on the server. diff --git a/src/main/markdown/doc/latest/DevGuideSecurityRpcXsrf.md b/src/main/markdown/doc/latest/DevGuideSecurityRpcXsrf.md index cfdab3c18..1eac353a2 100644 --- a/src/main/markdown/doc/latest/DevGuideSecurityRpcXsrf.md +++ b/src/main/markdown/doc/latest/DevGuideSecurityRpcXsrf.md @@ -124,7 +124,7 @@ package com.example.foo.client; } ``` -Method level annotations override RPC interface level annoatations. If no +Method level annotations override RPC interface level annotations. If no annotations are present and the RPC interface contains a method that returns [`RpcToken`](/javadoc/latest/com/google/gwt/user/client/rpc/RpcToken.html) or its implementation, then XSRF token validation is performed on all methods of that interface except for the method returning diff --git a/src/main/markdown/doc/latest/DevGuideUiBinder.md b/src/main/markdown/doc/latest/DevGuideUiBinder.md index eb1aea9d8..08f119885 100644 --- a/src/main/markdown/doc/latest/DevGuideUiBinder.md +++ b/src/main/markdown/doc/latest/DevGuideUiBinder.md @@ -84,7 +84,7 @@ aren't forced to pay the widget tax just to have templates. ``` -Now suppose you need to programatically read and write the text in the +Now suppose you need to programmatically read and write the text in the span (the one with the `ui:field='nameSpan'` attribute) above. You'd probably like to write actual Java code to do things like that, so UiBinder templates have an associated owner class that allows diff --git a/src/main/markdown/doc/latest/DevGuideUiBinderI18n.md b/src/main/markdown/doc/latest/DevGuideUiBinderI18n.md index e9e02fcba..d488d4c82 100644 --- a/src/main/markdown/doc/latest/DevGuideUiBinderI18n.md +++ b/src/main/markdown/doc/latest/DevGuideUiBinderI18n.md @@ -363,7 +363,7 @@ examples. **Original** ```html -Gross +Gross ``` **Tagged** diff --git a/src/main/markdown/doc/latest/DevGuideUiCellWidgets.md b/src/main/markdown/doc/latest/DevGuideUiCellWidgets.md index a6108b1b9..38a5d3d32 100644 --- a/src/main/markdown/doc/latest/DevGuideUiCellWidgets.md +++ b/src/main/markdown/doc/latest/DevGuideUiCellWidgets.md @@ -286,7 +286,7 @@ CellBrowser is similar to a CellTree but displays the node levels side-by-side. CellBrowser browser = new CellBrowser(model, "Item 1"); ``` -**Code Example #1** - For a simple example of CellBrowser, see [CellBrowerExample.java](https://github.com/gwtproject/gwt/blob/main/user/javadoc/com/google/gwt/examples/cellview/CellBrowserExample.java). +**Code Example #1** - For a simple example of CellBrowser, see [CellBrowserExample.java](https://github.com/gwtproject/gwt/blob/main/user/javadoc/com/google/gwt/examples/cellview/CellBrowserExample.java). **Code Example #2** - For a real-world example of CellBrowser, see [CellBrowserExample2.java](https://github.com/gwtproject/gwt/blob/main/user/javadoc/com/google/gwt/examples/cellview/CellBrowserExample2.java). diff --git a/src/main/markdown/doc/latest/DevGuideUiCustomCells.md b/src/main/markdown/doc/latest/DevGuideUiCustomCells.md index 0a7e3226b..32a4c4aa7 100644 --- a/src/main/markdown/doc/latest/DevGuideUiCustomCells.md +++ b/src/main/markdown/doc/latest/DevGuideUiCustomCells.md @@ -180,7 +180,7 @@ The process for adding event support is as follows: 2. Override the [Cell#onBrowserEvent()](/javadoc/latest/com/google/gwt/cell/client/Cell.html#onBrowserEvent-com.google.gwt.cell.client.Cell.Context-com.google.gwt.dom.client.Element-C-com.google.gwt.dom.client.NativeEvent-com.google.gwt.cell.client.ValueUpdater-) method to handle the event. For some events, you may want to look at the event target before deciding how to handle the event. In the example below, we only respond to click events that actually occur on the rendered div. -3. As described in the example comments below, the `onEnterKeyDown()` method is a special case convience method in AbstractCell that helps to provide +3. As described in the example comments below, the `onEnterKeyDown()` method is a special case convenience method in AbstractCell that helps to provide a unified user experience, such that all Cells that respond to events can be activated by selecting the Cell with the keyboard and pressing enter. Otherwise, users would not be able to interact with the Cell without using the mouse. The convention followed by GWT cells is to toggle editing when the enter key is pressed, but you are free to define the behavior for your app. Your cell's getConsumedEvents() method must include "keydown" in order for AbstractCell to call diff --git a/src/main/markdown/doc/latest/FAQ_UI.md b/src/main/markdown/doc/latest/FAQ_UI.md index fb805270d..14e176543 100644 --- a/src/main/markdown/doc/latest/FAQ_UI.md +++ b/src/main/markdown/doc/latest/FAQ_UI.md @@ -7,7 +7,7 @@ FAQ - UI 3. [Why doesn't setting a widget's height as a percentage work?](#Why_doesn) 4. [Does GWT support standards mode?](#Does_GWT_support_standards_mode?) 2. [Event Handling and Performance](#Event_Handling_and_Performance) - 1. [How do I display a big list of items in a table with good performance?](#How_do_I_display_a_big_list_of_items_in_a_table_with_good_perfor) + 1. [How do I display a big list of items in a table with good performance?](#How_do_I_display_a_big_list_of_items_in_a_table_with_good_perform) 2. [What can I do to make images and borders appear to load more quickly the first time they are used?](#What_can_I_do_to_make_images_and_borders_appear_to_load_more_qui) 3. [Why do I see poor performance when using a one pixel tall background image?](#Why_do_I_see_poor_performance_when_using_a_one_pixel_tall_backgr) 4. [As the application grows, event handlers seem to fire more slowly](#As_the_application_grows,_event_handlers_seem_to_fire_more_slowl) @@ -141,7 +141,7 @@ versions of GWT, and it is recommended that you update your GWT-enabled pages to ## Event Handling and Performance -### How do I display a big list of items in a table with good performance? +### How do I display a big list of items in a table with good performance? Here are a few pointers for addressing the need to display lots of data through a table widget efficiently. diff --git a/src/main/markdown/doc/latest/RefCommandLineTools.md b/src/main/markdown/doc/latest/RefCommandLineTools.md index 8e26026fb..9fc003e3d 100644 --- a/src/main/markdown/doc/latest/RefCommandLineTools.md +++ b/src/main/markdown/doc/latest/RefCommandLineTools.md @@ -47,7 +47,7 @@ Use the files generated by these scripts as a starting point for building your o | ------------------------ | ---------- | | -[no]overwriteFiles | Overwrite any existing files. (defaults to OFF) | -[no]ignoreExistingFiles | Ignore any existing files; do not overwrite. (defaults to OFF) -| -templates | Specifies the template(s) to use (comma separeted). Defaults to 'sample,ant,eclipse,readme' +| -templates | Specifies the template(s) to use (comma separated). Defaults to 'sample,ant,eclipse,readme' | -out | The directory to write output files into (defaults to current) | -junit | Specifies the path to your junit.jar (optional) | -[no]maven | DEPRECATED: Create a maven2 project structure and pom file (default disabled). Equivalent to specifying 'maven' in the list of templates. (defaults to OFF) diff --git a/src/main/markdown/doc/latest/tutorial/JUnit.md b/src/main/markdown/doc/latest/tutorial/JUnit.md index 79863791f..d4052ca84 100644 --- a/src/main/markdown/doc/latest/tutorial/JUnit.md +++ b/src/main/markdown/doc/latest/tutorial/JUnit.md @@ -147,7 +147,7 @@ with the path to junit on your system. [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 37.042 sec ``` -### In Eclipse (using the Google Pluging for Eclipse) +### In Eclipse (using the Google Plugin for Eclipse) The Google Plugin for Eclipse makes it easy to run tests in Eclipse. diff --git a/src/main/markdown/doc/latest/tutorial/clientserver.md b/src/main/markdown/doc/latest/tutorial/clientserver.md index 29b389a74..9ac099fcd 100644 --- a/src/main/markdown/doc/latest/tutorial/clientserver.md +++ b/src/main/markdown/doc/latest/tutorial/clientserver.md @@ -38,7 +38,7 @@ Note: There is a variety of public sources of JSON-formatted data you can practi ## Making Asynchronous Calls -Whether you use GWT RPC or get JSON data via HTTP, all the calls you make from the HTML page to the server are asychronous. +Whether you use GWT RPC or get JSON data via HTTP, all the calls you make from the HTML page to the server are asynchronous. This means they do not block while waiting for the call to return. The code following the call executes immediately. When the call completes, the callback method you specified when you made the call will execute. diff --git a/src/main/markdown/doc/latest/tutorial/i18n.md b/src/main/markdown/doc/latest/tutorial/i18n.md index aac06f31b..bad276dc4 100644 --- a/src/main/markdown/doc/latest/tutorial/i18n.md +++ b/src/main/markdown/doc/latest/tutorial/i18n.md @@ -203,7 +203,7 @@ Notice that the message strings all have an {0} embedded in them. These are placeholders that will be replaced at runtime by arguments passed to our StockWatcherMessages interface methods. If you have a string that needs more than one argument, number the placeholders sequentially. -For example: `myString = First parm is {0}, second parm is {1}, third parm is {2}.` +For example: `myString = First param is {0}, second param is {1}, third param is {2}.` ##### Handling quoted text diff --git a/src/main/markdown/doc/latest/tutorial/index.md b/src/main/markdown/doc/latest/tutorial/index.md index ef743898b..e951f57bb 100644 --- a/src/main/markdown/doc/latest/tutorial/index.md +++ b/src/main/markdown/doc/latest/tutorial/index.md @@ -38,7 +38,7 @@ You may also optionally do the following: ### Build a Sample GWT Application 1. [Build a Sample GWT Application](../../../gettingstarted-v2.html) - * Get started with GWT by developing the StockWatcher application from scratch. You'll learn to create a GWT project, build the UI with GWT wigdets and panels, code the client-side functionality in the Java language, debug in development mode, apply CSS styles, compile the Java into JavaScript, and run the application in production mode. + * Get started with GWT by developing the StockWatcher application from scratch. You'll learn to create a GWT project, build the UI with GWT widgets and panels, code the client-side functionality in the Java language, debug in development mode, apply CSS styles, compile the Java into JavaScript, and run the application in production mode. ### Client-Server Communication diff --git a/src/main/markdown/makinggwtbetter.md b/src/main/markdown/makinggwtbetter.md index 2cfdd08ae..fb4a0ee64 100644 --- a/src/main/markdown/makinggwtbetter.md +++ b/src/main/markdown/makinggwtbetter.md @@ -17,7 +17,7 @@ If you are interested in understanding the internals of Google Web Toolkit (GWT) 3. [Testing](#testing) 4. [Contributing Code](#contributingcode) 1. [Code Style](#codestyle) - 2. [Contributor License Agreement](#clas) + 2. [Contributor License Agreement](#class) 3. [Submitting Patches](#submittingpatches) 4. [GWT Committers](#committers) 5. [Contributing to Webpage & Documentation](#webpage) diff --git a/src/main/markdown/meetingnotes/2015-06-17.md b/src/main/markdown/meetingnotes/2015-06-17.md index da9e89573..78531270c 100644 --- a/src/main/markdown/meetingnotes/2015-06-17.md +++ b/src/main/markdown/meetingnotes/2015-06-17.md @@ -7,7 +7,7 @@ Agenda: 2.8 and follow-up: -* See meet-up vidoes for details. +* See meet-up videos for details. * GWT 2.8: 90% done. mainly waiting for Interop to finish * Christian: waiting for jsinterop bug fixes * GSS migration done for all of Google apps diff --git a/src/main/markdown/release-notes.md b/src/main/markdown/release-notes.md index 7b1050eaa..b2c7a2fe5 100644 --- a/src/main/markdown/release-notes.md +++ b/src/main/markdown/release-notes.md @@ -359,7 +359,7 @@ ones. - Support "`*`" (any) and "`?`" (unknown) types as a JsType native name. The "Unknown" type can be referred over Object if the type is unknown, while "any" is -prefered supertype of any JS type, including primitives. +preferred supertype of any JS type, including primitives. ### Bug fixes - Fix loading bug in waitForBodyLoaded.js @@ -372,7 +372,7 @@ prefered supertype of any JS type, including primitives. - Clear persistent unit cache when relevant options change. - Rescue JSOs crossing JsInterop borders. - Rescue types represented as natives when supertypes cross JS boundaries. -- Prevent errorneous floating point expression optimization. +- Prevent erroneous floating point expression optimization. - Fix the implementation of Stream.anyMatch/allMatch/noneMatch to support streams with null elements. - Do not ignore return values of streams. - Fix ICE due to intersection types appearing as erasure casts. @@ -403,7 +403,7 @@ prefered supertype of any JS type, including primitives. ### Bug fixes - Fix erroneous constant propagation in JsProperty field. -- Fix missing bridges for default methods and functionnal expressions. +- Fix missing bridges for default methods and functional expressions. - Fix ArrayDeque's bug when expanding capacity. - Fix missing declaration/initialization of JsOverlay fields. - Fix missing error reporting in SDM that leads to NPE. @@ -541,7 +541,7 @@ prefered supertype of any JS type, including primitives. - GSS is no longer experimental but it's not enabled by default for easier and smoother migration to GWT 2.8. The `CssResource.enableGss` configuration property turns on GSS support. For more information on GSS migration, please refer to [this document](https://www.gwtproject.org/articles/gss_migration.html) - "For loop support" added - a new function concat() is now available to concatenate variable and string literal. -- @gen-webkit-keyframes annotation: generate automaticaly @-webkit-keyframes block +- @gen-webkit-keyframes annotation: generate automatically @-webkit-keyframes block #### Dev Mode - Dev Mode is now deprecated @@ -1685,7 +1685,7 @@ manipulation ([#4586](https://code.google.com/p/google-web-toolkit/issues/detail * NumberFormat error formatting more than 6 decimal places ([#4598](https://code.google.com/p/google-web-toolkit/issues/detail?id=4598)) * DateBox can generate an untrapped exception if a non-default format is used ([#4633](https://code.google.com/p/google-web-toolkit/issues/detail?id=4633)) -* PopupPanel.removeFromParent() dosen't remove glass panel ([#4720](https://code.google.com/p/google-web-toolkit/issues/detail?id=4720)) +* PopupPanel.removeFromParent() doesn't remove glass panel ([#4720](https://code.google.com/p/google-web-toolkit/issues/detail?id=4720)) * ClassNotFoundException from web.xml for configured listeners during devmode servlet validation ([#4760](https://code.google.com/p/google-web-toolkit/issues/detail?id=4760)) * Converting ImageBundle to ResourceBundle causes a regression @@ -2525,7 +2525,7 @@ make it trivially easy to combine dozens of images into a single "image strip", collapsing what would have been dozens of HTTP requests into one: a single, permanently-cacheable image file. * Image bundles manage everything for you automatically, from -computing clipping rectangles to making transparent PNGs work in +computing clipping rectangles to making transparent ONGs work in IE6. You can even choose to get the clipped image as an Image widget or as pure HTML for inclusion in a larger HTML template. * In addition to enabling a blazing-fast startup, image @@ -2896,7 +2896,7 @@ quotes * Selection issue when removing widgets from TabPanel. * JSONParser always assumes root type is JSONObject * ClassSourceFileComposer should not handle Class objects. -* Modules cannot supercede files from inherited modules +* Modules cannot supersede files from inherited modules * Simple & ComplexPanel shouldn't implement getChildCount(), getChild(), etc. * Negative byte values passed into JavaScript become positive diff --git a/src/main/markdown/roadmap.md b/src/main/markdown/roadmap.md index 65d7b3f41..aec4f6c02 100644 --- a/src/main/markdown/roadmap.md +++ b/src/main/markdown/roadmap.md @@ -5,6 +5,6 @@ GWT's roadmap is planned on Github using [Github Milestones](https://github.com/ As a high level goal next releases of GWT focus on bringing Java language features as well as JRE emulation up to Java 21. Additionally GWT explores support of some J2CL exclusive JsInterop features in GWT compiler. -The GWT SDK is Open Source. So, we are always looking for contributor or / and sponsors. If you are willing to contribute, feel free to contact the GWT project team using our [Elemental chanel](https://matrix.to/#/#gwtproject_gwt:gitter.im). +The GWT SDK is Open Source. So, we are always looking for contributor or / and sponsors. If you are willing to contribute, feel free to contact the GWT project team using our [Elemental channel](https://matrix.to/#/#gwtproject_gwt:gitter.im). Donations can be done via [Open Collective](https://opencollective.com/gwt-project). diff --git a/src/main/resources/main.tpl b/src/main/resources/main.tpl index 9bd005ed3..eae729fc2 100644 --- a/src/main/resources/main.tpl +++ b/src/main/resources/main.tpl @@ -43,7 +43,7 @@
  • Get started
  • Tutorials
  • Docs
  • -
  • Resources
  • +
  • Resources
  • Make GWT Better
  • Terms
  • Download
  • diff --git a/src/main/resources/toc.md b/src/main/resources/toc.md index e78da8ea4..21e648134 100644 --- a/src/main/resources/toc.md +++ b/src/main/resources/toc.md @@ -42,7 +42,7 @@ - [JRE Compatibility](doc/latest/DevGuideCodingBasicsCompatibility.html) - [Ajax Communication](doc/latest/DevGuideServerCommunication.html 'Communicate with a server') - [History Mechanism](doc/latest/DevGuideCodingBasicsHistory.html) - - [Formatting](doc/latest/DevGuideCodingBasicsFormatting.html 'Number and Date Formating') + - [Formatting](doc/latest/DevGuideCodingBasicsFormatting.html 'Number and Date Formatting') - [Delayed Logic](doc/latest/DevGuideCodingBasicsDelayed.html) - [Working with JSON](doc/latest/DevGuideCodingBasicsJSON.html) - [Working with XML](doc/latest/DevGuideCodingBasicsXML.html) diff --git a/src/main/site/assets/build/fonts/icons/icons.css b/src/main/site/assets/build/fonts/icons/icons.css index 6a6eb3214..c4fe8ce2c 100755 --- a/src/main/site/assets/build/fonts/icons/icons.css +++ b/src/main/site/assets/build/fonts/icons/icons.css @@ -60,7 +60,7 @@ content: "\e60a"; } -.icon_ressources:before { +.icon_resources:before { content: "\e60b"; } @@ -112,7 +112,7 @@ content: "\e807"; } -.icon_langage:before { +.icon_language:before { content: "\e808"; } diff --git a/src/main/site/index.html b/src/main/site/index.html index be050ee09..0448d445c 100644 --- a/src/main/site/index.html +++ b/src/main/site/index.html @@ -44,7 +44,7 @@
  • Get started
  • Tutorials
  • Docs
  • -
  • Resources
  • +
  • Resources
  • Make GWT Better
  • Roadmap
  • Terms
  • From 12e4ebfe8711c6f2a45f57c468d8c48db1fb3f59 Mon Sep 17 00:00:00 2001 From: Zbynek Konecny Date: Tue, 4 Mar 2025 00:12:50 +0100 Subject: [PATCH 2/5] Update TOC to match actual sections --- src/main/markdown/makinggwtbetter.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/markdown/makinggwtbetter.md b/src/main/markdown/makinggwtbetter.md index fb4a0ee64..7fbbdf6e0 100644 --- a/src/main/markdown/makinggwtbetter.md +++ b/src/main/markdown/makinggwtbetter.md @@ -17,7 +17,7 @@ If you are interested in understanding the internals of Google Web Toolkit (GWT) 3. [Testing](#testing) 4. [Contributing Code](#contributingcode) 1. [Code Style](#codestyle) - 2. [Contributor License Agreement](#class) + 2. [Unit Testing](#unit-testing) 3. [Submitting Patches](#submittingpatches) 4. [GWT Committers](#committers) 5. [Contributing to Webpage & Documentation](#webpage) From 45ef13514b1a8f26da78220cd041963fc21fe37f Mon Sep 17 00:00:00 2001 From: Zbynek Konecny Date: Tue, 4 Mar 2025 01:08:17 +0100 Subject: [PATCH 3/5] Translater -> Translator --- .../com/google/gwt/site/markdown/MDHelper.java | 6 +++--- .../{MDTranslater.java => MDTranslator.java} | 12 ++++++------ .../com/google/gwt/site/markdown/MarkDown.java | 4 ++-- .../google/gwt/site/markdown/MarkupWriter.java | 8 ++++---- ...Exception.java => TranslatorException.java} | 6 +++--- .../site/markdown/fs/FileSystemTraverser.java | 18 +++++++++--------- ...anslaterTest.java => MDTranslatorTest.java} | 6 +++--- 7 files changed, 30 insertions(+), 30 deletions(-) rename src/main/java/com/google/gwt/site/markdown/{MDTranslater.java => MDTranslator.java} (93%) rename src/main/java/com/google/gwt/site/markdown/{TranslaterException.java => TranslatorException.java} (82%) rename src/test/java/com/google/gwt/site/markdown/{MDTranslaterTest.java => MDTranslatorTest.java} (91%) diff --git a/src/main/java/com/google/gwt/site/markdown/MDHelper.java b/src/main/java/com/google/gwt/site/markdown/MDHelper.java index d007db819..617a79d29 100644 --- a/src/main/java/com/google/gwt/site/markdown/MDHelper.java +++ b/src/main/java/com/google/gwt/site/markdown/MDHelper.java @@ -105,7 +105,7 @@ public MDHelper create() throws MDHelperException { // read template TOC if parameter is provided if (templateTocFile != null) { - templateToc = MDTranslater.markDownToHtml(readFile(templateTocFile)); + templateToc = MDTranslator.markDownToHtml(readFile(templateTocFile)); } created = true; @@ -121,7 +121,7 @@ private String readFile(String filePath) throws MDHelperException { } } - public void translate() throws TranslaterException { + public void translate() throws TranslatorException { if (!created) { throw new IllegalStateException(); @@ -132,7 +132,7 @@ public void translate() throws TranslaterException { TocCreator tocCreator = templateToc != null ? new TocFromTemplateCreator(templateToc) : new TocFromMdCreator(); - new MDTranslater(tocCreator, new MarkupWriter(outputDirectoryFile), template) + new MDTranslator(tocCreator, new MarkupWriter(outputDirectoryFile), template) .render(mdRoot); } diff --git a/src/main/java/com/google/gwt/site/markdown/MDTranslater.java b/src/main/java/com/google/gwt/site/markdown/MDTranslator.java similarity index 93% rename from src/main/java/com/google/gwt/site/markdown/MDTranslater.java rename to src/main/java/com/google/gwt/site/markdown/MDTranslator.java index dee446e83..9a36282b2 100644 --- a/src/main/java/com/google/gwt/site/markdown/MDTranslater.java +++ b/src/main/java/com/google/gwt/site/markdown/MDTranslator.java @@ -29,7 +29,7 @@ import java.util.List; import java.util.Set; -public class MDTranslater { +public class MDTranslator { private static final String SEPARATOR = File.separator; @@ -39,17 +39,17 @@ public class MDTranslater { private final String template; - public MDTranslater(TocCreator tocCreator, MarkupWriter writer, String template) { + public MDTranslator(TocCreator tocCreator, MarkupWriter writer, String template) { this.tocCreator = tocCreator; this.writer = writer; this.template = template; } - public void render(MDParent root) throws TranslaterException { + public void render(MDParent root) throws TranslatorException { renderTree(root, root); } - private void renderTree(MDNode node, MDParent root) throws TranslaterException { + private void renderTree(MDNode node, MDParent root) throws TranslatorException { if (node.isFolder()) { MDParent mdParent = node.asFolder(); @@ -125,11 +125,11 @@ protected String adjustRelativePath(String html, String relativePath) { "$1='" + relativePath + "$3'"); } - private String getNodeContent(String path) throws TranslaterException { + private String getNodeContent(String path) throws TranslatorException { try { return Util.getStringFromFile(new File(path)); } catch (IOException e1) { - throw new TranslaterException("can not load content from file: '" + path + "'", e1); + throw new TranslatorException("can not load content from file: '" + path + "'", e1); } } diff --git a/src/main/java/com/google/gwt/site/markdown/MarkDown.java b/src/main/java/com/google/gwt/site/markdown/MarkDown.java index 14eb208f4..f122ecda1 100644 --- a/src/main/java/com/google/gwt/site/markdown/MarkDown.java +++ b/src/main/java/com/google/gwt/site/markdown/MarkDown.java @@ -15,7 +15,7 @@ public class MarkDown { - public static void main(String[] args) throws MDHelperException, TranslaterException { + public static void main(String[] args) throws MDHelperException, TranslatorException { if (args.length < 3) { System.out.println("Usage MarkDown [templateTOC]"); @@ -45,7 +45,7 @@ public static void main(String[] args) throws MDHelperException, TranslaterExcep } catch (MDHelperException e) { e.printStackTrace(); throw e; - } catch (TranslaterException e) { + } catch (TranslatorException e) { e.printStackTrace(); throw e; } diff --git a/src/main/java/com/google/gwt/site/markdown/MarkupWriter.java b/src/main/java/com/google/gwt/site/markdown/MarkupWriter.java index c0eae87dc..2ff8c1959 100644 --- a/src/main/java/com/google/gwt/site/markdown/MarkupWriter.java +++ b/src/main/java/com/google/gwt/site/markdown/MarkupWriter.java @@ -28,7 +28,7 @@ public MarkupWriter(File rootFile) { this.rootFile = rootFile; } - public void writeHTML(MDNode node, String html) throws TranslaterException { + public void writeHTML(MDNode node, String html) throws TranslatorException { if (node.isFolder()) { throw new IllegalArgumentException(); @@ -62,16 +62,16 @@ public void writeHTML(MDNode node, String html) throws TranslaterException { try { Util.writeStringToFile(fileToWrite, html); } catch (IOException e) { - throw new TranslaterException("can not write markup to file: '" + fileToWrite + "'", e); + throw new TranslatorException("can not write markup to file: '" + fileToWrite + "'", e); } } - private void ensureDirectory(File dir) throws TranslaterException { + private void ensureDirectory(File dir) throws TranslatorException { if (!dir.exists()) { boolean created = dir.mkdir(); if (!created) { - throw new TranslaterException("can not create directory: '" + dir + "'"); + throw new TranslatorException("can not create directory: '" + dir + "'"); } } } diff --git a/src/main/java/com/google/gwt/site/markdown/TranslaterException.java b/src/main/java/com/google/gwt/site/markdown/TranslatorException.java similarity index 82% rename from src/main/java/com/google/gwt/site/markdown/TranslaterException.java rename to src/main/java/com/google/gwt/site/markdown/TranslatorException.java index c41a02c55..a0419bf99 100644 --- a/src/main/java/com/google/gwt/site/markdown/TranslaterException.java +++ b/src/main/java/com/google/gwt/site/markdown/TranslatorException.java @@ -13,18 +13,18 @@ */ package com.google.gwt.site.markdown; -public class TranslaterException extends Exception { +public class TranslatorException extends Exception { /** * */ private static final long serialVersionUID = 1732290113260995362L; - public TranslaterException(String message, Throwable e1) { + public TranslatorException(String message, Throwable e1) { super(message, e1); } - public TranslaterException(String string) { + public TranslatorException(String string) { super(string); } diff --git a/src/main/java/com/google/gwt/site/markdown/fs/FileSystemTraverser.java b/src/main/java/com/google/gwt/site/markdown/fs/FileSystemTraverser.java index bcfdfb05c..0d755f9db 100644 --- a/src/main/java/com/google/gwt/site/markdown/fs/FileSystemTraverser.java +++ b/src/main/java/com/google/gwt/site/markdown/fs/FileSystemTraverser.java @@ -13,7 +13,7 @@ */ package com.google.gwt.site.markdown.fs; -import com.google.gwt.site.markdown.TranslaterException; +import com.google.gwt.site.markdown.TranslatorException; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -89,7 +89,7 @@ public String getName() { } } - public MDParent traverse(File file) throws TranslaterException { + public MDParent traverse(File file) throws TranslatorException { MDParent mdParent = traverse(null, file, 0, ""); removeEmptyDirs(mdParent); @@ -98,7 +98,7 @@ public MDParent traverse(File file) throws TranslaterException { return mdParent; } - private void readConfig(MDParent current) throws TranslaterException { + private void readConfig(MDParent current) throws TranslatorException { if (current.getConfigFile() != null) { FolderConfig config = parseConfig(current.getConfigFile()); @@ -178,7 +178,7 @@ private void removeEmptyDirs(MDParent current) { } private MDParent traverse(MDParent parent, File file, int depth, String path) - throws TranslaterException { + throws TranslatorException { if (ignoreFile(file)) { return null; @@ -221,7 +221,7 @@ private MDParent traverse(MDParent parent, File file, int depth, String path) } - private FolderConfig parseConfig(File file) throws TranslaterException { + private FolderConfig parseConfig(File file) throws TranslatorException { DocumentBuilder builder; List excludeList = new LinkedList(); @@ -236,7 +236,7 @@ private FolderConfig parseConfig(File file) throws TranslaterException { Element documentElement = document.getDocumentElement(); if (!"folder".equalsIgnoreCase(documentElement.getTagName())) { - throw new TranslaterException( + throw new TranslatorException( "the file '" + file.getAbsolutePath() + "' does not contain a folder tag"); } @@ -277,11 +277,11 @@ private FolderConfig parseConfig(File file) throws TranslaterException { } } catch (ParserConfigurationException e) { - throw new TranslaterException("can not construct xml parser", e); + throw new TranslatorException("can not construct xml parser", e); } catch (SAXException e) { - throw new TranslaterException("error while parsing xml", e); + throw new TranslatorException("error while parsing xml", e); } catch (IOException e) { - throw new TranslaterException("can not read file", e); + throw new TranslatorException("can not read file", e); } return new FolderConfig(href, excludeList, folderEntries); diff --git a/src/test/java/com/google/gwt/site/markdown/MDTranslaterTest.java b/src/test/java/com/google/gwt/site/markdown/MDTranslatorTest.java similarity index 91% rename from src/test/java/com/google/gwt/site/markdown/MDTranslaterTest.java rename to src/test/java/com/google/gwt/site/markdown/MDTranslatorTest.java index 76118c21c..cc439a947 100644 --- a/src/test/java/com/google/gwt/site/markdown/MDTranslaterTest.java +++ b/src/test/java/com/google/gwt/site/markdown/MDTranslatorTest.java @@ -5,9 +5,9 @@ /** * Test class for MDTranslate */ -public class MDTranslaterTest extends TestCase { +public class MDTranslatorTest extends TestCase { - private void assertAdjustUrl(MDTranslater md, String relativePath, String tag, String attr, + private void assertAdjustUrl(MDTranslator md, String relativePath, String tag, String attr, String url, String match) { String ini = "\n "; String end = "\n "; @@ -19,7 +19,7 @@ private void assertAdjustUrl(MDTranslater md, String relativePath, String tag, S } public void testAdjustRelativePath() throws Exception { - MDTranslater mdt = new MDTranslater(null, null, null); + MDTranslator mdt = new MDTranslator(null, null, null); // empty url assertAdjustUrl(mdt, "../", "a", "href", "", "../"); From 14ddf45aae6bcec89110efe827bdccc06457eecf Mon Sep 17 00:00:00 2001 From: Zbynek Konecny Date: Tue, 4 Mar 2025 15:22:30 +0100 Subject: [PATCH 4/5] ONG -> PNG --- src/main/markdown/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/markdown/release-notes.md b/src/main/markdown/release-notes.md index b2c7a2fe5..c41b4b0fe 100644 --- a/src/main/markdown/release-notes.md +++ b/src/main/markdown/release-notes.md @@ -2525,7 +2525,7 @@ make it trivially easy to combine dozens of images into a single "image strip", collapsing what would have been dozens of HTTP requests into one: a single, permanently-cacheable image file. * Image bundles manage everything for you automatically, from -computing clipping rectangles to making transparent ONGs work in +computing clipping rectangles to making transparent PNG images work in IE6. You can even choose to get the clipped image as an Image widget or as pure HTML for inclusion in a larger HTML template. * In addition to enabling a blazing-fast startup, image From 98f26f2e154607816720f374668647ddffa44206 Mon Sep 17 00:00:00 2001 From: Zbynek Konecny Date: Tue, 4 Mar 2025 19:45:07 +0100 Subject: [PATCH 5/5] Revert autocorrect in anchor name --- src/main/markdown/doc/latest/FAQ_UI.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/markdown/doc/latest/FAQ_UI.md b/src/main/markdown/doc/latest/FAQ_UI.md index 14e176543..fb805270d 100644 --- a/src/main/markdown/doc/latest/FAQ_UI.md +++ b/src/main/markdown/doc/latest/FAQ_UI.md @@ -7,7 +7,7 @@ FAQ - UI 3. [Why doesn't setting a widget's height as a percentage work?](#Why_doesn) 4. [Does GWT support standards mode?](#Does_GWT_support_standards_mode?) 2. [Event Handling and Performance](#Event_Handling_and_Performance) - 1. [How do I display a big list of items in a table with good performance?](#How_do_I_display_a_big_list_of_items_in_a_table_with_good_perform) + 1. [How do I display a big list of items in a table with good performance?](#How_do_I_display_a_big_list_of_items_in_a_table_with_good_perfor) 2. [What can I do to make images and borders appear to load more quickly the first time they are used?](#What_can_I_do_to_make_images_and_borders_appear_to_load_more_qui) 3. [Why do I see poor performance when using a one pixel tall background image?](#Why_do_I_see_poor_performance_when_using_a_one_pixel_tall_backgr) 4. [As the application grows, event handlers seem to fire more slowly](#As_the_application_grows,_event_handlers_seem_to_fire_more_slowl) @@ -141,7 +141,7 @@ versions of GWT, and it is recommended that you update your GWT-enabled pages to ## Event Handling and Performance -### How do I display a big list of items in a table with good performance? +### How do I display a big list of items in a table with good performance? Here are a few pointers for addressing the need to display lots of data through a table widget efficiently.