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