1 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* Error.pm (new): Sets |-stacktrace_| property if debug |
4 |
|
or verbose mode. |
5 |
|
(stringify): Appends longer trace if debug or verbose mode. |
6 |
|
($VERBOSE): New flag. |
7 |
|
|
8 |
|
* DIS.dis: Bugs on error depth fixed. |
9 |
|
|
10 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
11 |
|
|
12 |
|
* DIS.dis (text): New attribute implementation. |
13 |
|
|
14 |
|
* ManakaiNode.dis (destroyNodeStem): New method. |
15 |
|
|
16 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
17 |
|
|
18 |
|
* Makefile: |../DOM/Tree.dis| added. |
19 |
|
|
20 |
|
2005-11-17 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* Makefile: |Formatter/Muf2003.dis| added to file list. |
23 |
|
|
24 |
|
* DIS.dis (DISModuleLite): Typo in |ISA| property fixed. |
25 |
|
|
26 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* .cvsignore: New file. |
29 |
|
|
30 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
|
* PerlCode.dis: A test code added. Typos in |ISA| |
33 |
|
properties fixed. |
34 |
|
(PerlSub.stringify): Generates prototype specification |
35 |
|
even if |prototype| attribute value's length is zero |
36 |
|
in case the |pc:prototype| attribute /is/ found. |
37 |
|
|
38 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
39 |
|
|
40 |
|
* Makefile: Missing rule to make |Message/DOM/core.dae| added. |
41 |
|
|
42 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
43 |
|
|
44 |
|
* Makefile: Rules to make |DIS/Test.pm| added. |DIS/common.dis| rules |
45 |
|
added. |
46 |
|
|
47 |
|
* DIS.dis (DIS:): Removed (moved to |DIS/common.dis|). |
48 |
|
|
49 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
50 |
|
|
51 |
|
* PerlCode.dis (PCList, PCArrayRefLiteral, PCHashRefLiteral): |
52 |
|
New interfaces. |
53 |
|
(createPCLiteral, appendNewPCLiteral): New methods. |
54 |
|
(PCDocument): New interface. |
55 |
|
(factory methods): Namespace URI and local name of document |
56 |
|
element arguments added to |createDocument| to obtain |
57 |
|
an instance of |PCDocument|. |
58 |
|
|
59 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
60 |
|
|
61 |
|
* PerlCode.dis (pc:line): New configuration parameter. |
62 |
|
(stringify): Don't output "#line" directive |
63 |
|
unless "pc:line" parameter is set to "true". |
64 |
|
(pc:split-resolver): New configuration parameter. |
65 |
|
|
66 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
67 |
|
|
68 |
|
* ManakaiNode.dis (anydata0): New property type. |
69 |
|
|
70 |
|
* PerlCode.dis (stringify): Prints node id if file name |
71 |
|
is not available. |
72 |
|
(perlLiteral): Prints as is if the value is blessed |
73 |
|
with "manakai::code" package. |
74 |
|
|
75 |
|
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
76 |
|
|
77 |
|
* PerlCode.dis (CDATADOMString): Changed to use code |
78 |
|
fragment defined in DOMCore module directly. |
79 |
|
|
80 |
|
2005-10-12 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* PerlCode.dis (ForClassCompat): Removed. |
83 |
|
|
84 |
|
* ManakaiNode.dis (ManakaiDOMNodeObject, ManakaiDOMNodeReference): |
85 |
|
Removed. |
86 |
|
(newNode): New method. |
87 |
|
(generateUniqueID): Algorithm has changed to save random |
88 |
|
string generation time. |
89 |
|
|
90 |
|
* DIS.dis (AUTOLOAD): "$Error::Level" fixed to "$Error::Depth". |
91 |
|
|
92 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
93 |
|
|
94 |
|
* PerlCode.dis (IfClsDef, IFClsETDef): New version of classes based |
95 |
|
on DOMCore and element type definitions added. |
96 |
|
(localName): Renamed to "pcLocalName" to avoid |
97 |
|
conflict with "Node.localName" attribute. |
98 |
|
|
99 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
100 |
|
|
101 |
|
* DIS.dis (Require): Unused reference to "PerlCode.dis" removed. |
102 |
|
|
103 |
|
* Makefile: Rules to make "PerlCode.pm" separated |
104 |
|
from ones for "DIS.pm". |
105 |
|
|
106 |
|
* ManakaiNode.dis (mn:unsetXRefNode): "$referent" |
107 |
|
parameter is replaced with "$referrer->{$propName}". |
108 |
|
|
109 |
|
* PerlCode.dis (Require): References "DOMCore.dis". |
110 |
|
(DefaultFor): Changed to "ManakaiDOM:ManakaiDOMLatest". |
111 |
|
(Util: for ManakaiDOM:ManakaiDOM): New. |
112 |
|
|
113 |
|
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
114 |
|
|
115 |
|
* ManakaiNode.dis: New "mn:xrefnode0" property type has |
116 |
|
been introduced and methods are fixed to support it. |
117 |
|
(mn:setXRefNode, mn:unsetXRefNode): New codes. |
118 |
|
|
119 |
|
* DIS.dis (loadResource): Skips a root resource definition |
120 |
|
if it is an alias and it has "dis:Name" attribute and |
121 |
|
referenced canonical definition is already read. (Note |
122 |
|
that similar case that the resource definition has "dis:QName" |
123 |
|
attribute is already fixed in the same way.) |
124 |
|
|
125 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
126 |
|
|
127 |
|
* DIS.dis (readProperties): Recognizes hexdecimal |
128 |
|
in "DISCore:Integer" (prefixed by "0x"). |
129 |
|
|
130 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
131 |
|
|
132 |
|
* PerlCode.dis (getExceptionInterfacePackageNameList, |
133 |
|
addExceptionInterfacePackageName): New methods. |
134 |
|
(ToString): Sorts hash keys where they result in |
135 |
|
the order of statements in result code. |
136 |
|
|
137 |
|
* Error.pm ($DEBUG): New option variable. |
138 |
|
(___get_error_def): Calls "___error_def" method in second or later "@ISA" |
139 |
|
package even if elder package has "___error_def" method. |
140 |
|
|
141 |
|
* DIS.dis: Now constant values are only defined |
142 |
|
in interfaces. |
143 |
|
(DIS:NO_EXCEPTION_CLASS_ERR): New exception subcode. |
144 |
|
|
145 |
|
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
146 |
|
|
147 |
|
* DIS.dis (getAnyResourceURIList, getModuleURIList): New methods. |
148 |
|
|
149 |
|
2005-10-02 Wakaba <wakaba@suika.fam.cx> |
150 |
|
|
151 |
|
* DIS.dis (getAnyResource): New method. |
152 |
|
(isTypeURI): Now it is a method of "DIS:DISAnyResource" interface. |
153 |
|
(getPropertyResource, getPropertyResourceList): Now |
154 |
|
they uses "getAnyResource" method. |
155 |
|
(getPropertyModuleList): Removed. |
156 |
|
|
157 |
|
2005-09-30 Wakaba <wakaba@suika.fam.cx> |
158 |
|
|
159 |
|
* DIS.dis (readProperties): Saves property name to values. |
160 |
|
(getPropertyModuleList): New method. |
161 |
|
|
162 |
|
2005-09-29 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* DIS.dis: Shares local name, namespace URI and for URI |
165 |
|
if possible. |
166 |
|
|
167 |
|
* PerlCode.dis (stringify): Sorts "require" statements by module |
168 |
|
name. |
169 |
|
|
170 |
|
2005-09-28 Wakaba <wakaba@suika.fam.cx> |
171 |
|
|
172 |
|
* PerlCode.dis (perlLiteral): Sorts output by hash key. |
173 |
|
|
174 |
|
* ManakaiNode.dis (new): Sets "mn:groveReferenceCounter" |
175 |
|
property. |
176 |
|
(getNewReference): Increments "mn:groveReferenceCounter" |
177 |
|
property. |
178 |
|
(ManakaiDOM:ManakaiDOMNodeObject, ManakaiNodeStem): Don't |
179 |
|
check "defined" to allow "undef" value in "while" condition. |
180 |
|
(mn:isGroveReferenced): New code. |
181 |
|
(changeTreeID): New "groveRC" parameter added. |
182 |
|
(importTree, changeTreeID): Updates "mn:groveReferenceCounter" |
183 |
|
properties. |
184 |
|
(destroy): Uses "mn:isGroveReferenced" instead of "isExternallyReferred". |
185 |
|
(mn:groveReferenceCounter): New property. |
186 |
|
|
187 |
|
2005-09-28 Wakaba <wakaba@suika.fam.cx> |
188 |
|
|
189 |
|
* DIS.dis: Use "tag:" URI for internal URIs. |
190 |
|
|
191 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* ManakaiNode.dis (ManakaiNodeStem->new): Don't set "TreeCore:*" |
194 |
|
properties. |
195 |
|
(generateUniqueID): Use "tag:" URI. |
196 |
|
|
197 |
|
* DIS.dis (targetNamespaceURI): New attribute. |
198 |
|
(ManakaiDISModuleLite): Extends dx:ManakaiDefaultErrorHandler. |
199 |
|
(ManakaiDISModuleLite->AUTOLOAD): Don't load module |
200 |
|
if method name is "DESTROY". |
201 |
|
|
202 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
203 |
|
|
204 |
|
* ManakaiNode.dis (ManakaiNodeStem): Use per-class |
205 |
|
variable for searching noderel properties instead |
206 |
|
of per-node properties. |
207 |
|
|
208 |
|
2005-09-26 Wakaba <wakaba@suika.fam.cx> |
209 |
|
|
210 |
|
* ManakaiNode.dis (new): New "className" parameter added. |
211 |
|
(mn:NodeRefRole): New role. |
212 |
|
(mn:type): New property. |
213 |
|
(mn:subnode0, mn:subnode1, mn:subnode2, mn:irefnode0, |
214 |
|
mn:origin0, mn:anydata1, mn:anydata2, mn:noderef): New properties. |
215 |
|
|
216 |
|
* Makefile: Rules to make "DIS/DISDump" is separeted |
217 |
|
from "DIS/DISDoc". |
218 |
|
|
219 |
|
* DIS.dis (getFor): Loads database module if unread |
220 |
|
"for" is referenced. |
221 |
|
(addResourceList, getResourceList): New method. |
222 |
|
(ManakaiDISModuleLite): New class. |
223 |
|
|
224 |
|
2005-09-25 Wakaba <wakaba@suika.fam.cx> |
225 |
|
|
226 |
|
* DIS.dis (RESOURCE_NOT_DEFINED_ERR): New error code. |
227 |
|
(getResource): New "dae" and "daem" database format support. |
228 |
|
(DISResourceList): New type. |
229 |
|
(uriRef, ownerModuleURI, ownerModuleURIRef): New attributes. |
230 |
|
(addChildResource, addDynamicChildResource): New methods. |
231 |
|
(getChildResourceList, getDynamicChildResourceList): New method. |
232 |
|
(getChildResourceListByType): New method. |
233 |
|
(parentResource, dynamicParentResource): New attributes. |
234 |
|
|
235 |
|
* Makefile (DAC_SUFFIX): Changed to ".dae". |
236 |
|
(DAEM_SUFFIX): New. |
237 |
|
|
238 |
|
|
239 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
240 |
|
|
241 |
|
* ManakaiNode.dis: Use "disPerl:H" instead |
242 |
|
of "disPerl:Q" for hash keys. |
243 |
|
(NodeStem): Property value "mn:treeID" |
244 |
|
has changed to scalar reference. |
245 |
|
|
246 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
247 |
|
|
248 |
|
* ManakaiNode.dis (mn:node, mn:nodeID, mn:treeID): New |
249 |
|
properties. |
250 |
|
(mn:stemName, mn:refName): New properties. |
251 |
|
|
252 |
|
* Makefile (.discore-all.pm): New rule to create dis-related |
253 |
|
Perl module files at once. |
254 |
|
|
255 |
|
* DIS.dis (PERL_HASH_KEY_ALREADY_DEFINED_ERR): New error code. |
256 |
|
(hashKeyName, hashKeyScope, anotherURI): New error parameters. |
257 |
|
|
258 |
|
* ManakaiNode.dis, DIS.dis, PerlCode.dis: Use "disPerl:H" instead |
259 |
|
of "disPerl:Q" for hash keys. |
260 |
|
|
261 |
|
2005-09-23 Wakaba <wakaba@suika.fam.cx> |
262 |
|
|
263 |
|
* DIS.dis (DISParser.new): New method. |
264 |
|
(hasFeature): Removed. ManakaiDISAnyResource now |
265 |
|
extends DOMFeature:ManakaiHasFeatureByGetFeature. |
266 |
|
(readProperties): Support for property value data |
267 |
|
types DISLang:MemberRef and dx:XCRef added. |
268 |
|
(ManakaiDISExceptionTarget): It is now an alias |
269 |
|
for dx:ManakaiDefaultExceptionHandler. |
270 |
|
|
271 |
|
2005-09-22 Wakaba <wakaba@suika.fam.cx> |
272 |
|
|
273 |
|
* Makefile: DAC_SUFFIX changed to ".dad". |
274 |
|
|
275 |
|
* DIS.dis (Util:): Added for DIS|ForEmpty and DIS|ForLatest. |
276 |
|
(disIsNullable): Reimplemented. |
277 |
|
|
278 |
|
2005-09-21 Wakaba <wakaba@suika.fam.cx> |
279 |
|
|
280 |
|
* DIS.dis (addNamespaceBinding): New method. |
281 |
|
|
282 |
|
2005-09-20 Wakaba <wakaba@suika.fam.cx> |
283 |
|
|
284 |
|
* DIS.dis: Use valueRef and nodeIDRef where possible so |
285 |
|
that dad file can share text data if possible. |
286 |
|
For resources, {subOf} and {supOf} is now optional. |
287 |
|
(sourceNodeIDRef): New attribute. |
288 |
|
|
289 |
|
2005-09-19 Wakaba <wakaba@suika.fam.cx> |
290 |
|
|
291 |
|
* DIS.dis: Parameter "databaseArg" added to various |
292 |
|
methods to support objects that have no associated |
293 |
|
database. |
294 |
|
(getNamespaceBindingList, getDefaultNamespaceURIRef): New |
295 |
|
methods. |
296 |
|
(NO_RDF_TYPE_ERR): New error type. |
297 |
|
(loadResource): Throws NO_RDF_TYPE_ERR if no rdf:type |
298 |
|
attribute specified for a resource definition. |
299 |
|
|
300 |
|
2005-09-16 Wakaba <wakaba@suika.fam.cx> |
301 |
|
|
302 |
|
* DIS.dis (DISResourceProp): Methods reimplemented to |
303 |
|
support DIS/Value values. |
304 |
|
|
305 |
|
2005-09-15 Wakaba <wakaba@suika.fam.cx> |
306 |
|
|
307 |
|
* DIS.dis (readProperties): New methods. Emploies DIS/Value |
308 |
|
classes for internal data structure. |
309 |
|
|
310 |
|
2005-09-14 Wakaba <wakaba@suika.fam.cx> |
311 |
|
|
312 |
|
* DIS.dis: Now references DIS/Value.dis. |
313 |
|
(DISAnyResource): New interface separeted from DISModule. |
314 |
|
DISFor and DISResource. |
315 |
|
|
316 |
|
2005-09-13 Wakaba <wakaba@suika.fam.cx> |
317 |
|
|
318 |
|
* DIS.dis: Perl-related methods are moved to a separate |
319 |
|
module "DIS/Perl.dis". |
320 |
|
|
321 |
|
2005-09-08 Wakaba <wakaba@suika.fam.cx> |
322 |
|
|
323 |
|
* Makefile: Renewaled. |
324 |
|
|
325 |
|
* ManakaiNode.dis (free): New method. |
326 |
|
|
327 |
|
2005-09-07 Wakaba <wakaba@suika.fam.cx> |
328 |
|
|
329 |
|
* DIS.dis: Interfaces added. |
330 |
|
(free): New method. |
331 |
|
|
332 |
|
* PerlCode.dis: Interfaces added. |
333 |
|
|
334 |
|
2005-09-06 Wakaba <wakaba@suika.fam.cx> |
335 |
|
|
336 |
|
* DIS.dis (plName): Use AppName attribute, if any, |
337 |
|
for ManakaiDOM:ConstGroup resources. |
338 |
|
|
339 |
|
2005-09-05 Wakaba <wakaba@suika.fam.cx> |
340 |
|
|
341 |
|
* DIS.dis (plGeneratePerlModuleFile): Don't generate code for |
342 |
|
the same class or variable twice whose alias is defined |
343 |
|
in the same module. |
344 |
|
|
345 |
|
2005-09-04 Wakaba <wakaba@suika.fam.cx> |
346 |
|
|
347 |
|
* PerlCode.dis (ManakaiPerlSub.IntClone): Copies pc:localName |
348 |
|
and pc:prortotype properties. |
349 |
|
|
350 |
|
* DIS.dis (plAdditionalISAPackages): New attribute. |
351 |
|
|
352 |
|
2005-09-01 Wakaba <wakaba@suika.fam.cx> |
353 |
|
|
354 |
|
* DIS.dis (plCodeFragment): The ManakaiDOM:boolean datatype |
355 |
|
supported. |
356 |
|
|
357 |
|
2005-08-31 Wakaba <wakaba@suika.fam.cx> |
358 |
|
|
359 |
|
* DIS.dis (uris): New attribute. |
360 |
|
|
361 |
|
2005-08-30 Wakaba <wakaba@suika.fam.cx> |
362 |
|
|
363 |
|
* DIS.dis (plFilePathStem): New attribute. |
364 |
|
|
365 |
|
2005-08-29 Wakaba <wakaba@suika.fam.cx> |
366 |
|
|
367 |
|
* DIS.dis (plFileNameStem): New attribute. |
368 |
|
|
369 |
|
2005-08-28 Wakaba <wakaba@suika.fam.cx> |
370 |
|
|
371 |
|
* DIS.dis (plCodeFragment): Type ManakaiDOM:InCase supported. |
372 |
|
|
373 |
|
2005-08-26 Wakaba <wakaba@suika.fam.cx> |
374 |
|
|
375 |
|
* DIS.dis: Typo fixed for replacing namespace URI and local name |
376 |
|
in reflecting code. |
377 |
|
(mvLocalName, mvNamespaceURI): Use "localName" and "namespaceURI" |
378 |
|
attribute values as their default. |
379 |
|
(mvPrefix, qnameValuePrefix): New attributes. |
380 |
|
|
381 |
|
* ManakaiNode.dis: Tests whether "defined" rather than true or not |
382 |
|
in "while" conditions. |
383 |
|
|
384 |
|
2005-08-15 Wakaba <wakaba@suika.fam.cx> |
385 |
|
|
386 |
|
* ManakaiNode.dis (Util:): Now Perl package name for interfaces |
387 |
|
is defined. |
388 |
|
|
389 |
|
* DIS.dis (mediaTypeURI): Returns $defaultMediaType |
390 |
|
parameter value if dis:ContentType attribute is missing. |
391 |
|
|
392 |
|
* ManakaiNode.dis (importTree): Use "isa" function |
393 |
|
to check whether a object is an instance of the manakai |
394 |
|
node model. |
395 |
|
(NodeStem, NodeRef): New lightweight variant |
396 |
|
of ManakaiDOM:ManakaiDOMNodeObject |
397 |
|
and ManakaiDOM:ManakaiDOMNodeReference. |
398 |
|
|
399 |
|
2005-05-29 Wakaba <wakaba@suika.fam.cx> |
400 |
|
|
401 |
|
* DIS.dis (plGeneratePerlModuleFile): Bug fixed so that |
402 |
|
even if DOMMetaImpl:provideFeature has child nodes but |
403 |
|
they are not DOMMetaImpl:providedThrough a ImplFeature |
404 |
|
statement is generated. |
405 |
|
(plCodeFragment): Bug fixed so that dis:SetProp works correctly. |
406 |
|
|
407 |
|
2005-05-26 Wakaba <wakaba@suika.fam.cx> |
408 |
|
|
409 |
|
* Makefile: Rules for DISDoc module added. |
410 |
|
|
411 |
|
2005-05-23 Wakaba <wakaba@suika.fam.cx> |
412 |
|
|
413 |
|
* DIS.dis (ManakaiDISResourceDefinition, ManakaiDISForDefinition, |
414 |
|
ManakaiDISModuleDefinition): "getFeature" method added. |
415 |
|
|
416 |
2005-03-06 Wakaba <wakaba@suika.fam.cx> |
2005-03-06 Wakaba <wakaba@suika.fam.cx> |
417 |
|
|
418 |
* DIS.dis (Require): Loads PerlCode module. |
* DIS.dis (Require): Loads PerlCode module. |