1 |
|
2006-02-19 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* DIS.dis (getResource, getFor, getModule): Set |DIS:typeURI| |
4 |
|
property on creation of an object. |
5 |
|
(isAnonymous): Setter is added. |
6 |
|
(isTypeURI): Redefined using |typeResource| and |isSubsetOfURI|. |
7 |
|
(getTypeURIList): New method. |
8 |
|
(typeResource): New attribute. |
9 |
|
(addTypeURI): New method. |
10 |
|
(DISModule.isAnonymous, DISFor.isAnonymous): Removed. Now |for|s |
11 |
|
and modules as well as normal resources can be anonymous. |
12 |
|
(getSuperResourceURIList): New method. |
13 |
|
|
14 |
|
2006-02-18 Wakaba <wakaba@suika.fam.cx> |
15 |
|
|
16 |
|
* DIS.dis (revision): New attribute. |
17 |
|
|
18 |
|
2006-02-09 Wakaba <wakaba@suika.fam.cx> |
19 |
|
|
20 |
|
* PerlCode.dis (PerlStringLiteral.stringify): |pc:preserve-line-break| |
21 |
|
configuration parameter support is added. |
22 |
|
(pc:preserve-line-break): New configuration option. |
23 |
|
|
24 |
|
* DIS.dis (readProperties): |DISCore:UString| lextype support added. |
25 |
|
|
26 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
27 |
|
|
28 |
|
* PerlCode.dis (PCReference.stringify): Reference operator |\| |
29 |
|
was missing. |
30 |
|
|
31 |
|
2006-02-08 Wakaba <wakaba@suika.fam.cx> |
32 |
|
|
33 |
|
* PerlCode.dis (getNameListAttrR): Non-|pc:|-namespace elements |
34 |
|
and their descendants were ignored. |
35 |
|
(getNameListAttrRM): New variant derived from |getNameListAttrR|, |
36 |
|
for |getUsePerlModuleNameList| and |getUseCharClassNameList|. |
37 |
|
(getUsePerlModuleNameList, getUseCharClassNameList): Don't |
38 |
|
include |pc:package| and their descendants to the target. |
39 |
|
(PerlFile.stringify): Outputs |use| statements |
40 |
|
for Perl modules and character classes not part of any package, |
41 |
|
if any. |
42 |
|
|
43 |
|
* DIS.dis: |lang:tdterr|'s |DVNSValue| convertion is supported. |
44 |
|
|
45 |
|
2006-02-06 Wakaba <wakaba@suika.fam.cx> |
46 |
|
|
47 |
|
* DIS.dis (loadModule): Loads a "daem" submodule file |
48 |
|
if exists. |
49 |
|
|
50 |
|
2006-01-30 Wakaba <wakaba@suika.fam.cx> |
51 |
|
|
52 |
|
* Makefile: Typo fixed. |
53 |
|
|
54 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
55 |
|
|
56 |
|
* Makefile: Updated to be consist with |../DOM/Makefile|. |
57 |
|
|
58 |
|
* DIS.dis (parse): Parameter |input|'s type is |
59 |
|
changed from |DOMLS:LSInput| to |DISPerl:HASH| to |
60 |
|
remove dependency on |MDOM:DOMLS| module. |
61 |
|
|
62 |
|
2006-01-29 Wakaba <wakaba@suika.fam.cx> |
63 |
|
|
64 |
|
* PerlCode.dis (skipLines): Its code was incorrect. |
65 |
|
(createPCLiteral): Creates a |undef| keyword node |
66 |
|
for an |undef| value. Tests added. |
67 |
|
|
68 |
|
2006-01-25 Wakaba <wakaba@suika.fam.cx> |
69 |
|
|
70 |
|
* ManakaiNodeTest.dis: Tests for |mn:subnode2| hash-hash added. |
71 |
|
|
72 |
|
2006-01-24 Wakaba <wakaba@suika.fam.cx> |
73 |
|
|
74 |
|
* ManakaiNodeTest.dis: Tests added. |
75 |
|
|
76 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
77 |
|
|
78 |
|
* .cvsignore: |ManakaiNodeTest.pm| added. |
79 |
|
|
80 |
|
2006-01-23 Wakaba <wakaba@suika.fam.cx> |
81 |
|
|
82 |
|
* ManakaiNodeTest.dis: New module. |
83 |
|
|
84 |
|
* Makefile: |ManakaiNodeTest.dis| added. |
85 |
|
|
86 |
|
2006-01-22 Wakaba <wakaba@suika.fam.cx> |
87 |
|
|
88 |
|
* PerlCode.dis: Fixed not |getAttributeNS| to cause |
89 |
|
uninitialized value warnings. |
90 |
|
|
91 |
|
2006-01-19 Wakaba <wakaba@suika.fam.cx> |
92 |
|
|
93 |
|
* PerlCode.dis (PCPackage.stringify): Appends a string |
94 |
|
representation of non-|pc:*| element children for |
95 |
|
the stringified value. |
96 |
|
|
97 |
|
2006-01-07 Wakaba <wakaba@suika.fam.cx> |
98 |
|
|
99 |
|
* Makefile: |../DOM/XDoctype.dis| added. |
100 |
|
|
101 |
|
2005-12-27 Wakaba <wakaba@suika.fam.cx> |
102 |
|
|
103 |
|
* PerlCode.dis (PCReference): New interface. |
104 |
|
|
105 |
|
2005-12-24 Wakaba <wakaba@suika.fam.cx> |
106 |
|
|
107 |
|
* PerlCode.dis (PerlSub.clearPerlName): New method. |
108 |
|
(PCDocument.createPCLiteral): Adopts |PerlCode| node |
109 |
|
if it is a foreign one. |
110 |
|
|
111 |
|
* DIS.dis (underscoreNameToCamelCaseName): A |HYPHEN-MINUS| |
112 |
|
character is replaced to |UNDERLINE| character. |
113 |
|
|
114 |
|
2005-12-21 Wakaba <wakaba@suika.fam.cx> |
115 |
|
|
116 |
|
* Makefile: |dpg.dae| rule merged into |discore.dae| rule. |
117 |
|
|
118 |
|
2005-12-20 Wakaba <wakaba@suika.fam.cx> |
119 |
|
|
120 |
|
* DIS.dis: DPG format support added. |
121 |
|
|
122 |
|
2005-12-18 Wakaba <wakaba@suika.fam.cx> |
123 |
|
|
124 |
|
* PerlCode.dis (PCDocument.createPerlSub): New method. |
125 |
|
|
126 |
|
* Makefile: Rules to make |DIS/DPG.pm| added. |
127 |
|
|
128 |
|
2005-12-18 Wakaba <wakaba@suika.fam.cx> |
129 |
|
|
130 |
|
* PerlCode.dis (PCExpression.stringify): More operators supported. |
131 |
|
(PCDocument.createPCStatement): New method. |
132 |
|
|
133 |
|
2005-12-17 Wakaba <wakaba@suika.fam.cx> |
134 |
|
|
135 |
|
* PerlCode.dis (PCWhen): New interface. |
136 |
|
|
137 |
|
2005-12-16 Wakaba <wakaba@suika.fam.cx> |
138 |
|
|
139 |
|
* PerlCode.dis (PCNumberLiteral, PCDereference, PCApply): New interfaces. |
140 |
|
(arrayRefLiteral, hashRefLiteral): Typos in element type names fixed. |
141 |
|
(PCExpression.stringify): Outputs children other than expression. |
142 |
|
Inserts space before and after operators if desired. |
143 |
|
|
144 |
|
2005-12-15 Wakaba <wakaba@suika.fam.cx> |
145 |
|
|
146 |
|
* PerlCode.dis (PCCondition, PCBlock): New interface. |
147 |
|
(ManakaiPCBlock): Renamed as |ManakaiPerlCodeBlock| to |
148 |
|
distingulish new |ManakaiPCBlock| class implementing new |PCBlock| |
149 |
|
interface. |
150 |
|
|
151 |
|
2005-12-14 Wakaba <wakaba@suika.fam.cx> |
152 |
|
|
153 |
|
* PerlCode.dis (PCExpression, PCChoose, PCWhen, PCOtherwise): New |
154 |
|
interfaces and element types. |
155 |
|
(getChildElementByType): New code. |
156 |
|
(PCFunctionCall): New interface and element type. |
157 |
|
|
158 |
|
2005-11-24 Wakaba <wakaba@suika.fam.cx> |
159 |
|
|
160 |
|
* DIS.dis (stringify): Returns |DIS:uri| error parameter if available. |
161 |
|
|
162 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
163 |
|
|
164 |
|
* Error.pm (new): Sets |-stacktrace_| property if debug |
165 |
|
or verbose mode. |
166 |
|
(stringify): Appends longer trace if debug or verbose mode. |
167 |
|
($VERBOSE): New flag. |
168 |
|
|
169 |
|
* DIS.dis: Bugs on error depth fixed. |
170 |
|
|
171 |
|
2005-11-23 Wakaba <wakaba@suika.fam.cx> |
172 |
|
|
173 |
|
* DIS.dis (text): New attribute implementation. |
174 |
|
|
175 |
|
* ManakaiNode.dis (destroyNodeStem): New method. |
176 |
|
|
177 |
|
2005-11-20 Wakaba <wakaba@suika.fam.cx> |
178 |
|
|
179 |
|
* Makefile: |../DOM/Tree.dis| added. |
180 |
|
|
181 |
|
2005-11-17 Wakaba <wakaba@suika.fam.cx> |
182 |
|
|
183 |
|
* Makefile: |Formatter/Muf2003.dis| added to file list. |
184 |
|
|
185 |
|
* DIS.dis (DISModuleLite): Typo in |ISA| property fixed. |
186 |
|
|
187 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
188 |
|
|
189 |
|
* .cvsignore: New file. |
190 |
|
|
191 |
|
2005-11-16 Wakaba <wakaba@suika.fam.cx> |
192 |
|
|
193 |
|
* PerlCode.dis: A test code added. Typos in |ISA| |
194 |
|
properties fixed. |
195 |
|
(PerlSub.stringify): Generates prototype specification |
196 |
|
even if |prototype| attribute value's length is zero |
197 |
|
in case the |pc:prototype| attribute /is/ found. |
198 |
|
|
199 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
200 |
|
|
201 |
|
* Makefile: Missing rule to make |Message/DOM/core.dae| added. |
202 |
|
|
203 |
|
2005-11-15 Wakaba <wakaba@suika.fam.cx> |
204 |
|
|
205 |
|
* Makefile: Rules to make |DIS/Test.pm| added. |DIS/common.dis| rules |
206 |
|
added. |
207 |
|
|
208 |
|
* DIS.dis (DIS:): Removed (moved to |DIS/common.dis|). |
209 |
|
|
210 |
|
2005-11-13 Wakaba <wakaba@suika.fam.cx> |
211 |
|
|
212 |
|
* PerlCode.dis (PCList, PCArrayRefLiteral, PCHashRefLiteral): |
213 |
|
New interfaces. |
214 |
|
(createPCLiteral, appendNewPCLiteral): New methods. |
215 |
|
(PCDocument): New interface. |
216 |
|
(factory methods): Namespace URI and local name of document |
217 |
|
element arguments added to |createDocument| to obtain |
218 |
|
an instance of |PCDocument|. |
219 |
|
|
220 |
|
2005-10-16 Wakaba <wakaba@suika.fam.cx> |
221 |
|
|
222 |
|
* PerlCode.dis (pc:line): New configuration parameter. |
223 |
|
(stringify): Don't output "#line" directive |
224 |
|
unless "pc:line" parameter is set to "true". |
225 |
|
(pc:split-resolver): New configuration parameter. |
226 |
|
|
227 |
|
2005-10-14 Wakaba <wakaba@suika.fam.cx> |
228 |
|
|
229 |
|
* ManakaiNode.dis (anydata0): New property type. |
230 |
|
|
231 |
|
* PerlCode.dis (stringify): Prints node id if file name |
232 |
|
is not available. |
233 |
|
(perlLiteral): Prints as is if the value is blessed |
234 |
|
with "manakai::code" package. |
235 |
|
|
236 |
|
2005-10-13 Wakaba <wakaba@suika.fam.cx> |
237 |
|
|
238 |
|
* PerlCode.dis (CDATADOMString): Changed to use code |
239 |
|
fragment defined in DOMCore module directly. |
240 |
|
|
241 |
|
2005-10-12 Wakaba <wakaba@suika.fam.cx> |
242 |
|
|
243 |
|
* PerlCode.dis (ForClassCompat): Removed. |
244 |
|
|
245 |
|
* ManakaiNode.dis (ManakaiDOMNodeObject, ManakaiDOMNodeReference): |
246 |
|
Removed. |
247 |
|
(newNode): New method. |
248 |
|
(generateUniqueID): Algorithm has changed to save random |
249 |
|
string generation time. |
250 |
|
|
251 |
|
* DIS.dis (AUTOLOAD): "$Error::Level" fixed to "$Error::Depth". |
252 |
|
|
253 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
254 |
|
|
255 |
|
* PerlCode.dis (IfClsDef, IFClsETDef): New version of classes based |
256 |
|
on DOMCore and element type definitions added. |
257 |
|
(localName): Renamed to "pcLocalName" to avoid |
258 |
|
conflict with "Node.localName" attribute. |
259 |
|
|
260 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
261 |
|
|
262 |
|
* DIS.dis (Require): Unused reference to "PerlCode.dis" removed. |
263 |
|
|
264 |
|
* Makefile: Rules to make "PerlCode.pm" separated |
265 |
|
from ones for "DIS.pm". |
266 |
|
|
267 |
|
* ManakaiNode.dis (mn:unsetXRefNode): "$referent" |
268 |
|
parameter is replaced with "$referrer->{$propName}". |
269 |
|
|
270 |
|
* PerlCode.dis (Require): References "DOMCore.dis". |
271 |
|
(DefaultFor): Changed to "ManakaiDOM:ManakaiDOMLatest". |
272 |
|
(Util: for ManakaiDOM:ManakaiDOM): New. |
273 |
|
|
274 |
|
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
275 |
|
|
276 |
|
* ManakaiNode.dis: New "mn:xrefnode0" property type has |
277 |
|
been introduced and methods are fixed to support it. |
278 |
|
(mn:setXRefNode, mn:unsetXRefNode): New codes. |
279 |
|
|
280 |
|
* DIS.dis (loadResource): Skips a root resource definition |
281 |
|
if it is an alias and it has "dis:Name" attribute and |
282 |
|
referenced canonical definition is already read. (Note |
283 |
|
that similar case that the resource definition has "dis:QName" |
284 |
|
attribute is already fixed in the same way.) |
285 |
|
|
286 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
287 |
|
|
288 |
|
* DIS.dis (readProperties): Recognizes hexdecimal |
289 |
|
in "DISCore:Integer" (prefixed by "0x"). |
290 |
|
|
291 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
292 |
|
|
293 |
|
* PerlCode.dis (getExceptionInterfacePackageNameList, |
294 |
|
addExceptionInterfacePackageName): New methods. |
295 |
|
(ToString): Sorts hash keys where they result in |
296 |
|
the order of statements in result code. |
297 |
|
|
298 |
|
* Error.pm ($DEBUG): New option variable. |
299 |
|
(___get_error_def): Calls "___error_def" method in second or later "@ISA" |
300 |
|
package even if elder package has "___error_def" method. |
301 |
|
|
302 |
|
* DIS.dis: Now constant values are only defined |
303 |
|
in interfaces. |
304 |
|
(DIS:NO_EXCEPTION_CLASS_ERR): New exception subcode. |
305 |
|
|
306 |
|
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
307 |
|
|
308 |
|
* DIS.dis (getAnyResourceURIList, getModuleURIList): New methods. |
309 |
|
|
310 |
|
2005-10-02 Wakaba <wakaba@suika.fam.cx> |
311 |
|
|
312 |
|
* DIS.dis (getAnyResource): New method. |
313 |
|
(isTypeURI): Now it is a method of "DIS:DISAnyResource" interface. |
314 |
|
(getPropertyResource, getPropertyResourceList): Now |
315 |
|
they uses "getAnyResource" method. |
316 |
|
(getPropertyModuleList): Removed. |
317 |
|
|
318 |
|
2005-09-30 Wakaba <wakaba@suika.fam.cx> |
319 |
|
|
320 |
|
* DIS.dis (readProperties): Saves property name to values. |
321 |
|
(getPropertyModuleList): New method. |
322 |
|
|
323 |
|
2005-09-29 Wakaba <wakaba@suika.fam.cx> |
324 |
|
|
325 |
|
* DIS.dis: Shares local name, namespace URI and for URI |
326 |
|
if possible. |
327 |
|
|
328 |
|
* PerlCode.dis (stringify): Sorts "require" statements by module |
329 |
|
name. |
330 |
|
|
331 |
|
2005-09-28 Wakaba <wakaba@suika.fam.cx> |
332 |
|
|
333 |
|
* PerlCode.dis (perlLiteral): Sorts output by hash key. |
334 |
|
|
335 |
|
* ManakaiNode.dis (new): Sets "mn:groveReferenceCounter" |
336 |
|
property. |
337 |
|
(getNewReference): Increments "mn:groveReferenceCounter" |
338 |
|
property. |
339 |
|
(ManakaiDOM:ManakaiDOMNodeObject, ManakaiNodeStem): Don't |
340 |
|
check "defined" to allow "undef" value in "while" condition. |
341 |
|
(mn:isGroveReferenced): New code. |
342 |
|
(changeTreeID): New "groveRC" parameter added. |
343 |
|
(importTree, changeTreeID): Updates "mn:groveReferenceCounter" |
344 |
|
properties. |
345 |
|
(destroy): Uses "mn:isGroveReferenced" instead of "isExternallyReferred". |
346 |
|
(mn:groveReferenceCounter): New property. |
347 |
|
|
348 |
|
2005-09-28 Wakaba <wakaba@suika.fam.cx> |
349 |
|
|
350 |
|
* DIS.dis: Use "tag:" URI for internal URIs. |
351 |
|
|
352 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
353 |
|
|
354 |
|
* ManakaiNode.dis (ManakaiNodeStem->new): Don't set "TreeCore:*" |
355 |
|
properties. |
356 |
|
(generateUniqueID): Use "tag:" URI. |
357 |
|
|
358 |
|
* DIS.dis (targetNamespaceURI): New attribute. |
359 |
|
(ManakaiDISModuleLite): Extends dx:ManakaiDefaultErrorHandler. |
360 |
|
(ManakaiDISModuleLite->AUTOLOAD): Don't load module |
361 |
|
if method name is "DESTROY". |
362 |
|
|
363 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
364 |
|
|
365 |
|
* ManakaiNode.dis (ManakaiNodeStem): Use per-class |
366 |
|
variable for searching noderel properties instead |
367 |
|
of per-node properties. |
368 |
|
|
369 |
|
2005-09-26 Wakaba <wakaba@suika.fam.cx> |
370 |
|
|
371 |
|
* ManakaiNode.dis (new): New "className" parameter added. |
372 |
|
(mn:NodeRefRole): New role. |
373 |
|
(mn:type): New property. |
374 |
|
(mn:subnode0, mn:subnode1, mn:subnode2, mn:irefnode0, |
375 |
|
mn:origin0, mn:anydata1, mn:anydata2, mn:noderef): New properties. |
376 |
|
|
377 |
|
* Makefile: Rules to make "DIS/DISDump" is separeted |
378 |
|
from "DIS/DISDoc". |
379 |
|
|
380 |
|
* DIS.dis (getFor): Loads database module if unread |
381 |
|
"for" is referenced. |
382 |
|
(addResourceList, getResourceList): New method. |
383 |
|
(ManakaiDISModuleLite): New class. |
384 |
|
|
385 |
|
2005-09-25 Wakaba <wakaba@suika.fam.cx> |
386 |
|
|
387 |
|
* DIS.dis (RESOURCE_NOT_DEFINED_ERR): New error code. |
388 |
|
(getResource): New "dae" and "daem" database format support. |
389 |
|
(DISResourceList): New type. |
390 |
|
(uriRef, ownerModuleURI, ownerModuleURIRef): New attributes. |
391 |
|
(addChildResource, addDynamicChildResource): New methods. |
392 |
|
(getChildResourceList, getDynamicChildResourceList): New method. |
393 |
|
(getChildResourceListByType): New method. |
394 |
|
(parentResource, dynamicParentResource): New attributes. |
395 |
|
|
396 |
|
* Makefile (DAC_SUFFIX): Changed to ".dae". |
397 |
|
(DAEM_SUFFIX): New. |
398 |
|
|
399 |
|
|
400 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
401 |
|
|
402 |
|
* ManakaiNode.dis: Use "disPerl:H" instead |
403 |
|
of "disPerl:Q" for hash keys. |
404 |
|
(NodeStem): Property value "mn:treeID" |
405 |
|
has changed to scalar reference. |
406 |
|
|
407 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
408 |
|
|
409 |
|
* ManakaiNode.dis (mn:node, mn:nodeID, mn:treeID): New |
410 |
|
properties. |
411 |
|
(mn:stemName, mn:refName): New properties. |
412 |
|
|
413 |
|
* Makefile (.discore-all.pm): New rule to create dis-related |
414 |
|
Perl module files at once. |
415 |
|
|
416 |
|
* DIS.dis (PERL_HASH_KEY_ALREADY_DEFINED_ERR): New error code. |
417 |
|
(hashKeyName, hashKeyScope, anotherURI): New error parameters. |
418 |
|
|
419 |
|
* ManakaiNode.dis, DIS.dis, PerlCode.dis: Use "disPerl:H" instead |
420 |
|
of "disPerl:Q" for hash keys. |
421 |
|
|
422 |
|
2005-09-23 Wakaba <wakaba@suika.fam.cx> |
423 |
|
|
424 |
|
* DIS.dis (DISParser.new): New method. |
425 |
|
(hasFeature): Removed. ManakaiDISAnyResource now |
426 |
|
extends DOMFeature:ManakaiHasFeatureByGetFeature. |
427 |
|
(readProperties): Support for property value data |
428 |
|
types DISLang:MemberRef and dx:XCRef added. |
429 |
|
(ManakaiDISExceptionTarget): It is now an alias |
430 |
|
for dx:ManakaiDefaultExceptionHandler. |
431 |
|
|
432 |
2005-09-22 Wakaba <wakaba@suika.fam.cx> |
2005-09-22 Wakaba <wakaba@suika.fam.cx> |
433 |
|
|
434 |
* Makefile: DAC_SUFFIX changed to ".dad". |
* Makefile: DAC_SUFFIX changed to ".dad". |