From 78582d8f43a346ac23d05f49b82a4a893c7cdfbf Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Thu, 19 Mar 2009 02:11:41 +0000 Subject: [PATCH] ICU-6797 updates to gen api docs X-SVN-Rev: 25624 --- tools/release/java/Makefile | 2 +- tools/release/java/icu4c.css | 32 ++++- .../com/ibm/icu/dev/tools/docs/StableAPI.java | 4 + .../com/ibm/icu/dev/tools/docs/genReport.xslt | 132 ++++++++++++++++-- 4 files changed, 158 insertions(+), 12 deletions(-) diff --git a/tools/release/java/Makefile b/tools/release/java/Makefile index f5b5c56c9c9..bdf3d3e18d7 100644 --- a/tools/release/java/Makefile +++ b/tools/release/java/Makefile @@ -47,7 +47,7 @@ XML=source/doc/xml UVERSIONH=$(XML)/uversion_8h.xml clean-docs: | check-vars - -rm -rf "$(OLD_ICU)/$(XML)" + -rm -rf "$(OLD_ICU)/$(XML)" "$(NEW_ICU)/$(XML)" $(TARGET): check-vars $(OLD_ICU)/$(XML) $(NEW_ICU)/$(XML) $(ANT) -Dolddir="$(OLD_ICU)/$(XML)" -Dnewdir="$(NEW_ICU)/$(XML)" $(ANT_TARGET) diff --git a/tools/release/java/icu4c.css b/tools/release/java/icu4c.css index aa19713ef08..c5320b4db38 100644 --- a/tools/release/java/icu4c.css +++ b/tools/release/java/icu4c.css @@ -1,6 +1,6 @@ /* * Default CSS style sheet for the ICU Open Source site - * Copyright (C) 2005-2008, International Business Machines + * Copyright (C) 2005-2009, International Business Machines * Corporation and others. All Rights Reserved. */ @@ -242,4 +242,34 @@ table.rtable tr td { margin: 0.5 em; } +table.genTable { + border-collapse: collapse; + border: 1px solid black; +} +/* 'everything inc version */ +table.gentable td { + border: 1px solid gray; + padding: 0.25em; + font-size: small; +} + +/* not version */ +table.genTable td.file, +table.genTable td.proto { + border: none; + font-size: medium; +} + +table.genTable td.file { + font-family: monospace; + font-weight: bold; +} + +div.other .row0 { + background-color: white; +} + +div.other .row1 { + background-color: #dfd; +} diff --git a/tools/release/java/src/com/ibm/icu/dev/tools/docs/StableAPI.java b/tools/release/java/src/com/ibm/icu/dev/tools/docs/StableAPI.java index d2e2adcc5c9..58740287f71 100644 --- a/tools/release/java/src/com/ibm/icu/dev/tools/docs/StableAPI.java +++ b/tools/release/java/src/com/ibm/icu/dev/tools/docs/StableAPI.java @@ -246,6 +246,10 @@ public class StableAPI { result = prevVer; } + if(result != null) { + + } + if(prevVer != null) { if(result != null) { if(!result.equals(prevVer)) { diff --git a/tools/release/java/src/com/ibm/icu/dev/tools/docs/genReport.xslt b/tools/release/java/src/com/ibm/icu/dev/tools/docs/genReport.xslt index d7812f0411f..520ff9dc362 100644 --- a/tools/release/java/src/com/ibm/icu/dev/tools/docs/genReport.xslt +++ b/tools/release/java/src/com/ibm/icu/dev/tools/docs/genReport.xslt @@ -1,7 +1,7 @@ @@ -75,7 +105,7 @@ - +
@@ -99,8 +129,8 @@ --> - - + +
@@ -128,12 +158,94 @@
(should be )
+ +
(untagged) +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + 2 + + + center + + + + +
+
+
+ + + + + + + + + + + +
+
+