Skip to content

Commit b89d04d

Browse files
authored
Merge pull request #6 from umjammer/1.4.5
1.4.5
2 parents 5597d52 + 864a388 commit b89d04d

35 files changed

+667
-655
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
# If this run was triggered by a pull request event, then checkout
4040
# the head of the pull request instead of the merge commit.
41-
- run: git checkout HEAD^2
41+
- run: git checkout HEAD
4242
if: ${{ github.event_name == 'pull_request' }}
4343

4444
# Initializes the CodeQL tools for scanning.
@@ -51,7 +51,13 @@ jobs:
5151
# Prefix the list here with "+" to use these queries and those in the config file.
5252
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5353

54-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
54+
- name: Setup Java JDK
55+
uses: actions/[email protected]
56+
with:
57+
java-version: '17.0.1+12'
58+
distribution: 'temurin'
59+
60+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5561
# If this step fails, then you should remove it and run the build manually (see below)
5662
- name: Autobuild
5763
uses: github/codeql-action/autobuild@v1

.github/workflows/maven.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@ jobs:
99

1010
steps:
1111
- uses: actions/checkout@v1
12-
- name: Set up JDK 1.8
13-
uses: actions/setup-java@v1
12+
- name: Set up JDK 17
13+
uses: actions/setup-java@v2.3.1
1414
with:
15-
java-version: 1.8
15+
java-version: '17.0.1+12'
16+
distribution: 'temurin'
1617
- name: Build with Maven
1718
run: mvn -B package --file pom.xml

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# change history
2+
3+
## version 1.4.x
4+
5+
* update v6 parsing and rendering
6+
* enable to parse javadoc on www directly
7+
8+
## version 1.4.0
9+
10+
* java8 support
11+
* java11 support
12+
* java12 support
13+
* java13 support
14+
* i18n support
15+
* add unit test
16+
17+
## version 1.3.0
18+
19+
* java1.5 support for Enums and Generics
20+
* java1.6 support for Annotations
21+
22+
## version 1.2.0
23+
24+
* java1.5 support (except enum and generics)
25+
26+
## version 1.1.0
27+
28+
* resolve type names to externally linked javadocs. Links to Sun's
29+
reference apis are resolved automatically
30+
( i.e. http://java.sun.com/j2se/X/docs/api/ ).
31+
Any other links will need to be given as extra parameters for the
32+
codavaj command.
33+
* significant extentions to the reflection-like API to represent Packages
34+
and link Types to their respective Packages and back, and also represent
35+
package heirarchy.
36+
* fix wrong determination of a class as Interface if "Interface" part of
37+
classname.
38+
39+
## initial version 1.0.0

README.md

Lines changed: 15 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
[![](https://jitpack.io/v/umjammer/codavaj.svg)](https://jitpack.io/#umjammer/codavaj) [![Actions Status](https://github.com/umjammer/codavaj/workflows/Java%20CI/badge.svg)](https://github.com/umjammer/codavaj/actions)
1+
[![Releases](https://jitpack.io/v/umjammer/codavaj.svg)](https://jitpack.io/#umjammer/codavaj)
2+
[![Actions Status](https://github.com/umjammer/codavaj/actions/workflows/maven.yml/badge.svg)](https://github.com/umjammer/codavaj/actions)
3+
[![CodeQL](https://github.com/umjammer/codavaj/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/umjammer/codavaj/actions/workflows/codeql-analysis.yml)
4+
![Java](https://img.shields.io/badge/Java-8-b07219)
25

36
# CODAVAJ - ( javadoc in reverse ) README
47

@@ -39,69 +42,24 @@ codavaj.cmd codavaj http://jumpi.sourceforge.net/javadoc/j2se tmp/jumpi/src
3942
| [JDT](https://www.eclipse.org/jdt/) || 🚫 | [📄](https://github.com/umjammer/codavaj/blob/master/src/test/java/Test04.java) |
4043
| [spoon](https://github.com/INRIA/spoon) || 🚫 | [📄](https://github.com/umjammer/codavaj/blob/master/src/test/java/Test05.java) |
4144

42-
## Download (obsoleted, use convert)
43-
44-
to download an entire javadoc tree for further processing use:
45-
46-
```
47-
codavaj.cmd wget <URL> <destination-dir>
48-
```
49-
50-
i.e.
51-
52-
```
53-
codavaj.cmd wget http://jumpi.sourceforge.net/javadoc/j2se tmp/jumpi/javadoc
54-
```
55-
56-
## change history
57-
58-
version 1.4.x
59-
60-
* update v6 parsing and rendering
61-
* enable to parse javadoc on www directly
62-
63-
version 1.4.0
64-
65-
* java8 support
66-
* java11 support
67-
* java12 support
68-
* java13 support
69-
* i18n support
70-
* add unit test
71-
72-
version 1.3.0
73-
74-
* java1.5 support for Enums and Generics
75-
* java1.6 support for Annotations
76-
77-
version 1.2.0
78-
79-
* java1.5 support (except enum and generics)
80-
81-
version 1.1.0
82-
83-
* resolve type names to externally linked javadocs. Links to Sun's
84-
reference apis are resolved automatically
85-
( i.e. http://java.sun.com/j2se/X/docs/api/ ).
86-
Any other links will need to be given as extra parameters for the
87-
codavaj command.
88-
* significant extentions to the reflection-like API to represent Packages
89-
and link Types to their respective Packages and back, and also represent
90-
package heirarchy.
91-
* fix wrong determination of a class as Interface if "Interface" part of
92-
classname.
93-
94-
initial version 1.0.0
95-
9645
## known issues
9746

98-
codavaj does not introduce default constructor's if they weren't found
47+
* codavaj does not introduce default constructor's if they weren't found
9948
in the javadoc. This leads to compile problems if there are subclasses
10049
which use the class's default constructor through the implicit super().
10150

51+
* hekohtml ~1.19.22
52+
* https://mvnrepository.com/artifact/net.sourceforge.nekohtml/nekohtml/1.9.22
53+
* https://mvnrepository.com/artifact/xerces/xercesImpl/2.11.0
54+
* but 1.19.22 doesn't work with this project currently
55+
* so i excluded xerces from dependencies, and add xerces 2.12.2 individually. idk how codeql detect those.
56+
* https://sourceforge.net/p/nekohtml/bugs/167/#fdcc
57+
10258
## TODO
10359

10460
* ~~javadoc 1.8~~
10561
* javadoc html5
10662
* ~~javadoc 11~~
107-
* ~~en test case~~
63+
* ~~en test case~~
64+
* https://github.com/HtmlUnit/htmlunit-neko
65+
* https://github.com/HtmlUnit/htmlunit-neko/security/advisories/GHSA-6jmm-mp6w-4rrg

codavaj.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
2-
CODAVAJ_HOME=$HOME/src/000/codavaj-1.3.0
2+
CODAVAJ_HOME=$(pwd)
33
CP=$(/usr/local/bin/classpath $CODAVAJ_HOME/codavaj-*.jar $CODAVAJ_HOME/lib/*.jar)
44
java -classpath $CP org.codavaj.Main $@

0 commit comments

Comments
 (0)