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