348366 Only remember cancel if dialog explicitly signals cancel

- Back-port of c56d308. Differences: The bundle versions are adapted
  according to the rules for the maintenance branch R37x.
- Introduced a new constant in UIServices to give the implementations
  the possibility to explicitly indicate that the user cancelled a
  prompt for password.
- Only remember cancel in class Credentials on explicit user cancels.
  This ensures that the authentication prompt is shown at least once.

Bug: 348366 - [repository] Cannot update from update site with authentication

Conflicts:

	bundles/org.eclipse.equinox.p2.core/META-INF/MANIFEST.MF
	bundles/org.eclipse.equinox.p2.core/pom.xml
	bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/UIServices.java
	bundles/org.eclipse.equinox.p2.repository/META-INF/MANIFEST.MF
	bundles/org.eclipse.equinox.p2.repository/pom.xml
	bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/Credentials.java
	bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java
5 files changed
tree: 66219a9d04a896a2c66e94cce030cbb7f56a9d66
  1. bundles/
  2. examples/
  3. features/
  4. org.eclipse.equinox.p2.releng/
  5. .gitignore