1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315
|
<?xml version="1.0" encoding="UTF-8"?>
<!-- Search for CHANGEME in this document when copying and using it: -->
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common
Development and Distribution License("CDDL") (collectively, the
"License"). You may not use this file except in compliance with the
License. You can obtain a copy of the License at
http://www.netbeans.org/cddl-gplv2.html
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
specific language governing permissions and limitations under the
License. When distributing the software, include this License Header
Notice in each file and include the License file at
nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
particular file as subject to the "Classpath" exception as provided
by Sun in the GPL Version 2 section of the License file that
accompanied this code. If applicable, add the following below the
License Header, with the fields enclosed by brackets [] replaced by
your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
Contributor(s):
The Original Software is NetBeans. The Initial Developer of the Original
Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
Microsystems, Inc. All Rights Reserved.
If you wish your version of this file to be governed by only the CDDL
or only the GPL Version 2, indicate your decision by adding
"[Contributor] elects to include this software in this distribution
under the [CDDL or GPL Version 2] license." If you do not indicate a
single choice of license, a recipient has the option to distribute
your version of this file under either the CDDL, the GPL Version 2 or
to extend the choice of license to its licensees as provided above.
However, if you add GPL Version 2 code and therefore, elected the GPL
Version 2 license, then the option applies only if the new code is
made subject to such option by the copyright holder.
-->
<?xml-stylesheet type="text/xml" href="../../nbbuild/javadoctools/apichanges.xsl"?>
<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.0//EN" "../../nbbuild/javadoctools/apichanges.dtd">
<!--
INFO FOR PEOPLE ADDING CHANGES:
Check the DTD (apichanges.dtd) for details on the syntax. You do not
need to regenerate the HTML, as this is part of Javadoc generation; just
change the XML. Rough syntax of a change (several parts optional):
<change>
<api name="compiler"/>
<summary>Some brief description here, can use <b>XHTML</b></summary>
<version major="1" minor="99"/>
<date day="13" month="6" year="2001"/>
<author login="jrhacker"/>
<compatibility addition="yes"/>
<description>
The main description of the change here.
Again can use full <b>XHTML</b> as needed.
</description>
<class package="org.openide.compiler" name="DoWhatIWantCompiler"/>
<issue number="14309"/>
</change>
Also permitted elements: <package>, <branch>. <version> is API spec
version, recommended for all new changes. <compatibility> should say
if things were added/modified/deprecated/etc. and give all information
related to upgrading old code. List affected top-level classes and
link to issue numbers if applicable. See the DTD for more details.
Changes need not be in any particular order, they are sorted in various
ways by the stylesheet anyway.
Dates are assumed to mean "on the trunk". If you *also* make the same
change on a stabilization branch, use the <branch> tag to indicate this
and explain why the change was made on a branch in the <description>.
Please only change this file on the trunk! Rather: you can change it
on branches if you want, but these changes will be ignored; only the
trunk version of this file is important.
Deprecations do not count as incompatible, assuming that code using the
deprecated calls continues to see their documented behavior. But do
specify deprecation="yes" in <compatibility>.
This file is not a replacement for Javadoc: it is intended to list changes,
not describe the complete current behavior, for which ordinary documentation
is the proper place.
-->
<apichanges>
<!-- First, a list of API names you may use: -->
<apidefs>
<apidef name="general">Java Source API</apidef>
<!-- etc. -->
</apidefs>
<!-- ACTUAL CHANGES BEGIN HERE: -->
<changes>
<change id="jsp-dialogs">
<api name="general"/>
<summary>Support for JSPs and dialogs</summary>
<version major="0" minor="21"/>
<date day="15" month="6" year="2007"/>
<author login="jlahoda"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
Adding ability to use Java infrastructure for non-Java file (eg. JSP files) and inside dialogs.
</description>
<issue number="106629"/>
</change>
<change id="GeneratorUtilities">
<api name="general"/>
<summary>Adding GeneratorUtilities</summary>
<version major="0" minor="20"/>
<date day="15" month="6" year="2007"/>
<author login="jlahoda"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
A utility class, org.netbeans.api.java.source.GeneratorUtilities has been added.
</description>
<issue number="106678" />
</change>
<change id="JavaSource-Cleanup1">
<api name="general"/>
<summary>Removal of obsolete, duplicated and deprecated methods from java/source</summary>
<version major="0" minor="19"/>
<date day="15" month="6" year="2007"/>
<author login="jlahoda"/>
<compatibility addition="no" binary="incompatible" deletion="yes" deprecation="yes" modification="no" semantic="incompatible" source="incompatible"/>
<description>
Removal of a few obsolete, duplicated and deprecated methods from java/source.
</description>
<issue number="106719" />
</change>
<change id="JavaSource-Task">
<api name="general"/>
<summary>CancellableTask split into Task and CancellableTask.</summary>
<version major="0" minor="18"/>
<date day="15" month="6" year="2007"/>
<author login="tzezula"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
The JavaSource.runModificationTask(), runWhenScanFinished() and runUserActionTask() never call the cancel method of the
CancellableTask, the implementor of such a CancellableTask just writes an empty cancel method. The compatible API
change splits the CancellableTask into Task with run method and CancellableTask which extends the Task by cancel method.
The JavaSource methods mentioned above take Task rather than CancellableTask. The CancellableTask is used only for tasks
registered by factories.
</description>
</change>
<change id="ClassIndex-interruption">
<api name="general"/>
<summary>ClassIndex methods are cancellable</summary>
<version major="0" minor="16"/>
<date day="13" month="6" year="2007"/>
<author login="tzezula"/>
<compatibility addition="no" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="incompatible" source="compatible"/>
<description>
The ClassIndex methods called from the CancellableTask are cancellable. In case when they are cancelled by the JavaSource infrastructure
they return null instead of the Set to allow client to determine this state. The incompatible semantic change is that tasks registered by
factories have to check if the value returned from class index is null.
</description>
</change>
<change id="CompilationInfo-getTopLevelElements">
<api name="general"/>
<summary>Added a method to obtain top level elements defined in the source/class file.</summary>
<version major="0" minor="14"/>
<date day="5" month="6" year="2007"/>
<author login="tzezula"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
Added a method to obtain top level elements defined in the given source or class file.
</description>
<issue number="93100"/>
</change>
<change id="TreePathHandle-create-Element">
<api name="general"/>
<summary>Added factory method which returns a new TreePathHandle for given Element and CompilationInfo.</summary>
<version major="0" minor="13"/>
<date day="24" month="4" year="2007"/>
<author login="jbecicka"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
There is no simple way how to weakly reference all elements from javac. For instance local variables cannot be referenced by
ElementHandles while source-less Elements cannot be referenced by TreePathHandles. This fix allows to create TreePathHandles
for any javac Element (both local and source less).
</description>
<issue number="102333"/>
</change>
<change id="runWhenScanFinished">
<api name="general"/>
<summary>Added a method to run a CancellableTask when the backgound scan is finished.</summary>
<version major="0" minor="12"/>
<date day="19" month="4" year="2007"/>
<author login="tzezula"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
The JavaSource.runWhenScanFinished performs the given task either synchronously when no background scan is running. When the background
scan is running the task is performed asynchronously when the scan completes.
</description>
<issue number="91117"/>
<issue number="99923"/>
</change>
<change id="dependent-roots">
<api name="general"/>
<summary>Added a method which returns all the project source roots depending on a given source root.</summary>
<version major="0" minor="10"/>
<date day="13" month="4" year="2007"/>
<author login="tzezula"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
The refactoring and find usages need to find the dependent roots of a project root in which the refactored type
is declared, but finding such an information using the project API may be very expensive especially when lots of
projects is opened. The goal of this API is to provide and cache this information.
</description>
<issue number="92030"/>
</change>
<change id="ClassIndexListener">
<api name="general"/>
<summary>Added a listener for listening on changes in the <code>ClassIndex</code>.</summary>
<version major="0" minor="8"/>
<date day="4" month="4" year="2007"/>
<author login="tzezula"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
The listener for listening on changes in the <code>ClassIndex</code> was added. The listener fires
events when a declared type was removed, added, changed in the <code>ClassIndex</code> oe when the underlaying
<code>ClassPath</code> was changed.
</description>
<issue number="91763"/>
</change>
<change id="package-property">
<api name="general"/>
<summary>Adding template attribute <code>package</code></summary>
<version major="0" minor="7"/>
<date day="26" month="3" year="2007"/>
<author login="jpokorsky"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
<description>
Added the template attribute <code>package</code> for templates using scripting language.
</description>
<issue number="95399"/>
</change>
<change id="type-utilities">
<api name="general"/>
<summary>Removing CommentUtilities, adjusting TreeMaker and introducing TypeUtilities</summary>
<version major="0" minor="6"/>
<date day="18" month="3" year="2007"/>
<author login="jlahoda"/>
<compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible">
</compatibility>
<description>
<ul>
<li>removed org.netbeans.api.java.source.CommentUtilities</li>
<li>removed org.netbeans.api.java.source.TreeMaker.Variable(..., TypeElement)</li>
<li>removed org.netbeans.api.java.source.TreeMaker.Method(..., TypeElement)</li>
<li>added org.netbeans.api.java.source.TypeUtilities</li>
</ul>
</description>
<class package="org.netbeans.api.java.source" name="TypeUtilities"/>
<issue number="97542"/>
</change>
</changes>
<!-- Now the surrounding HTML text and document structure: -->
<htmlcontents>
<!--
NO NO NO NO NO!
==============> DO NOT EDIT ME! <==============
AUTOMATICALLY GENERATED FROM APICHANGES.XML, DO NOT EDIT
SEE CHANGEME/apichanges.xml
-->
<head>
<title>Change History for the Java Source API</title>
<link rel="stylesheet" href="prose.css" type="text/css"/>
</head>
<body>
<p class="overviewlink"><a href="overview-summary.html">Overview</a></p>
<h1>Introduction</h1>
<p>This document lists changes made to the <!--<a href="@org-netbeans-modules-java-source@/architecture-summary.html">-->Java Source API<!--</a>-->.</p>
<!-- The actual lists of changes, as summaries and details: -->
<hr/>
<standard-changelists module-code-name="org.netbeans.modules.java.source"/>
<hr/><p>@FOOTER@</p>
</body>
</htmlcontents>
</apichanges>
|