Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Success

Changes

Summary

  1. Bug 1063 - Utilize own Uri and Uri.Encoded class w/ proper encoding and (details)
  2. Bug 1063 - Uri.PATH_LEGAL: Remove reserved 'punct', encoding all (details)
  3. Bug 1063 - Refine Uri and Uri.Encode ; Fix unit tests (passing on (details)
  4. Bug 1063: Complete Uri impl. and adoption throughout GlueGen (details)
  5. Bump 2.3.0 (details)
  6. Bug 1063: Further Uri completion - As a result of JOGL Uri adoption (details)
  7. Bug 1063: Uri: Refine API doc; Add create(Encoded ..) ; Provide common (details)
  8. Bug 1067 - IOUtil.testDirExec(File) needs to preserve SPACE in (details)
Commit 5205e47e8a2e84e793b26305391b1c4f8648597c by Sven Gothel
Bug 1063 - Utilize own Uri and Uri.Encoded class w/ proper encoding and differentiating encoded/decoded variants by type [Part 1]

- Add immutable com.jogamp.common.net.Uri class impl. RFC 2396 w/ encoding of RFC 3986

- Class Uri.Encoded is used to represent encoded parts

- IOUtil: Remove unused methods (residing in Uri) and mark others deprecated (will move to Uri)

- Adopt usage of Uri: This must be completet in follow-up commits!
The file was modifiedsrc/junit/com/jogamp/common/util/TestTempJarCache.java (diff)
The file was addedsrc/junit/com/jogamp/common/net/TestUri02Composing.java
The file was addedsrc/java/com/jogamp/common/net/Uri.java
The file was modifiedmake/scripts/runtest-x64.bat (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/java/com/jogamp/common/net/AssetURLContext.java (diff)
The file was addedsrc/junit/com/jogamp/common/net/TestUri03Resolving.java
The file was removedsrc/junit/com/jogamp/common/util/TestIOUtilURICompose.java
The file was addedsrc/junit/com/jogamp/common/net/TestUri99LaunchOnReservedCharPathBug908.java
The file was modifiedsrc/junit/com/jogamp/common/net/AssetURLConnectionUnregisteredTest.java (diff)
The file was modifiedLICENSE.txt (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/URIDumpUtil.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/AssetURLConnectionRegisteredTest.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/cache/TempJarCache.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestVersionSemantics.java (diff)
The file was removedsrc/junit/com/jogamp/common/net/TestNetIOURIReservedCharsBug908.java
The file was modifiedsrc/java/com/jogamp/common/util/JarUtil.java (diff)
The file was addedsrc/junit/com/jogamp/common/net/TestUri01.java
The file was removedsrc/junit/com/jogamp/common/util/TestIOUtilURIHandling.java
The file was modifiedsrc/junit/com/jogamp/common/net/AssetURLConnectionBase.java (diff)
Commit 2d615932505d4870f3fd0dd37f21fb3d308ab536 by Sven Gothel
Bug 1063 - Uri.PATH_LEGAL: Remove reserved 'punct', encoding all reserved chars but '!', allows removal of PATH_MIN_LEGAL ; Add comment for Harmony values for review
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri03Resolving.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/Uri.java (diff)
Commit 6322991799268166e46aeeacb142c11d45950f48 by Sven Gothel
Bug 1063 - Refine Uri and Uri.Encode ; Fix unit tests (passing on GNU/Linux, OSX and Windows)

- Refine Uri
  - remove System.err.print*
  - scheme is of type Encode

- Refine Uri.Encode
  - substring(..) shall return type Encode

- Fix unit tests (passing on GNU/Linux, OSX and Windows)
The file was modifiedmake/scripts/runtest-x64.bat (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri03Resolving.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri01.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/Uri.java (diff)
Commit dde91a061cb0bc209442fe0e74a532b91d1bb4b8 by Sven Gothel
Bug 1063: Complete Uri impl. and adoption throughout GlueGen

- Uri:
  - Add error correction (fix) of path at ctor
    in case a a contained Uri is requested from an opaque one.
    The latter might come from URI/URL and is not properly encoded!
    See Uri.PARSE_HINT_FIX_PATH

  - Simplify conversion methods:
    - valueOf(URI/URL): Re-encode only if not opaque
    - getNativeFilePath() -> toFile()

  - Move IOUtil Uri related constants to class Uri

  - Add DEBUG and DEBUG_SHOWFIX

- Complete adoption of URI -> Uri changes
  - IOUtil, JarUtil and TempJarCache still holds some
    left over deprecated methods, which will be removed
    after officially starting 2.3.0 (JOGL dependencies)

  - Otherwise not URI utilization left

- Tests
  - Cleaned ip TestUri01 and TestUri03Resolving

  - TestUri03Resolving also tests URL -> Uri,
    and hence mentioned Uri.PARSE_HINT_FIX_PATH
The file was modifiedsrc/java/com/jogamp/common/util/cache/TempJarCache.java (diff)
The file was modifiedmake/scripts/java-win64.bat (diff)
The file was modifiedsrc/java/com/jogamp/common/jvm/JNILibLoaderBase.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri99LaunchOnReservedCharPathBug908.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri01.java (diff)
The file was modifiedmake/scripts/runtest-x64.bat (diff)
The file was modifiedsrc/java/com/jogamp/common/os/Platform.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri03Resolving.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/Uri.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/JarUtil.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestTempJarCache.java (diff)
The file was modifiedsrc/junit/com/jogamp/junit/sec/TestSecIOUtil01.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
The file was modifiedLICENSE.txt (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/URIDumpUtil.java (diff)
The file was modifiedsrc/junit/com/jogamp/junit/sec/Applet01.java (diff)
The file was modifiedsrc/junit/com/jogamp/junit/util/VersionSemanticsUtil.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestJarUtil.java (diff)
The file was modifiedmake/jogamp-env.xml (diff)
Commit 6a466e3f1e92a1e831ea61d1bb72c32f56b2a28d by Sven Gothel
Bug 1063: Further Uri completion - As a result of JOGL Uri adoption
The file was removedsrc/java/com/jogamp/common/net/URIQueryProps.java
The file was addedsrc/java/com/jogamp/common/net/UriQueryProps.java
The file was modifiedmake/scripts/runtest.sh (diff)
The file was removedsrc/junit/com/jogamp/common/net/TestURIQueryProps.java
The file was addedsrc/junit/com/jogamp/common/net/TestUriQueryProps.java
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/Uri.java (diff)
Commit c97e35377aea70cb293cabdd205bcc5da64b95c6 by Sven Gothel
Bug 1063: Uri: Refine API doc; Add create(Encoded ..) ; Provide common impl. for getNormalized(), getDirectory(), getParent() and getRelativeOf()

- Refine API doc
  - Add notion of {@code host} and {@code port} validation

- Add create(Encoded ..), allowing creation of variants w/o re-encoding

- Provide common impl. for getNormalized(), getDirectory(), getParent() and getRelativeOf()
  Above feature methods share common goals, hence use same implementation:
  - If opaque, cut-off query and merge after operation
  - cleanup path, i.e. /dummy/../test/ -> /test/
  - cutoff file, dir - if requested
  - append optional appendix and cleanup again

  Return behavior various thought, i.e. null, this or allow exception.

Enhanced test of above features.
The file was modifiedsrc/java/com/jogamp/common/net/UriQueryProps.java (diff)
The file was modifiedsrc/java/com/jogamp/common/net/Uri.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri01.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/junit/com/jogamp/common/net/TestUri02Composing.java (diff)
Commit 3a8515045c906b0174fb74f25b425f532b9cf2d1 by Sven Gothel
Bug 1067 - IOUtil.testDirExec(File) needs to preserve SPACE in exetst.getCanonicalPath() command

Having a test-executable file with SPACE in it's temporary path,
e.g.
  Unix:       /magic temp/user/
  Windows XP: C:\Documents and Settings\user\temp

results to split up commands if using
'Process.exec(String)', since it utilizes
a StringTokenizer to assemble the command String[].

This patch uses 'Process.exec(String[])' avoiding
splitting up SPACE in the full command string/path.

Major impact is on 'Windows XP',
where a SPACE separated TEMP/TMP folder is the default.

Note-1: Commit 9bc3d3f78bb2fb1aa0ccfb02ffb5bdda74420cac
introduced testing executable permission on Windows (Bug 1015)
and rendered this issue visible.

To reproduce the issue on Windows:
+++
set TEMP=C:\Documents and Settings\jogamp\temp
set TMP=C:\Documents and Settings\jogamp\temp
"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
+++

Note-2: This bug affects all platforms!
The file was modifiedsrc/java/com/jogamp/common/util/IOUtil.java (diff)