/[suikacvs]/messaging/manakai/lib/Message/Util/ChangeLog
Suika

Contents of /messaging/manakai/lib/Message/Util/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.146 - (show annotations) (download)
Sat Jun 16 05:30:37 2007 UTC (17 years, 5 months ago) by wakaba
Branch: MAIN
Changes since 1.145: +12 -0 lines
++ manakai/t/ChangeLog	16 Jun 2007 05:30:30 -0000
	* util-error.t: Tests for new methods are added.
	(___error_def): Amended for new naming convention.

	* util-error-text-formatter.t (___error_def): Amended
	for new naming convention.

2007-06-16  Wakaba  <wakaba@suika.fam.cx>

++ manakai/lib/Message/Util/ChangeLog	16 Jun 2007 05:29:41 -0000
2007-06-16  Wakaba  <wakaba@suika.fam.cx>

	* Error.pod: New documentation, split from |Error.pm|.

	* Error.pm: Documentations are removed.
	(new): |die| if |-type| option is not specified.
	(text, value, type): Do what |Message::Util::Error::DOMException| does,
	with some modification for compatibility with |Error| and
	new naming convention for error type/subtype definitions.
	(code): New method.
	(subtype, type_def): New methods.

1 2007-06-16 Wakaba <wakaba@suika.fam.cx>
2
3 * Error.pod: New documentation, split from |Error.pm|.
4
5 * Error.pm: Documentations are removed.
6 (new): |die| if |-type| option is not specified.
7 (text, value, type): Do what |Message::Util::Error::DOMException| does,
8 with some modification for compatibility with |Error| and
9 new naming convention for error type/subtype definitions.
10 (code): New method.
11 (subtype, type_def): New methods.
12
13 2006-12-31 Wakaba <wakaba@suika.fam.cx>
14
15 * DIS.dis: Support for |for| is entirely removed. |forArg|
16 parameters are removed.
17 (createDISDocument): Removed.
18 (tfurisToURI): Removed.
19 (tfpurisToURI): The |for| URI slot is
20 fixed to |ManakaiDOM:all|.
21 (tfqnamesToURI): Removed.
22 (tfpqnamesToURI): The |defaultForURI| parameter
23 is removed and the |for| URI slot is
24 fixed to |ManakaiDOM:all|.
25 (forURI): Removed.
26 (forMatch): The first parameter, |forArg|, no
27 longer takes effect.
28
29 * PerlCode.dis (sourceFor): Removed.
30 (stringify): Don't output comment with |sourceFor| URI.
31
32 2006-12-31 Wakaba <wakaba@suika.fam.cx>
33
34 * DIS.dis (forMatch, readProperties): Support for the |For|
35 property is removed.
36
37 2006-12-30 Wakaba <wakaba@suika.fam.cx>
38
39 * DIS.dis (defaultForURI): Removed.
40
41 2006-12-30 Wakaba <wakaba@suika.fam.cx>
42
43 * PerlCode.dis, DIS.dis, ManakaiNode.dis,
44 ManakaiNodeTest.dis: |For| specifications are removed.
45
46 * common.dis: New module.
47
48 * DIS.dis, PerlCode.dis, ManakaiNode.dis: |Util:| resource
49 definitions are removed (and moved to |common.dis|).
50
51 * DIS.dis (ForEmpty, ForLatest): Removed.
52
53 * DIS.dis: |WithFor| and |DefaultFor| are removed.
54
55 2006-12-30 Wakaba <wakaba@suika.fam.cx>
56
57 * PerlCode.dis: |WithFor| and |DefaultFor| are removed.
58
59 2006-12-30 Wakaba <wakaba@suika.fam.cx>
60
61 * DIS.dis, PerlCode.dis: References to the |ManakaiDOM:ManakaiDOM|
62 mode are removed.
63
64 2006-12-30 Wakaba <wakaba@suika.fam.cx>
65
66 * DIS.dis (ModuleRole, ForRole, ResourceRole,
67 DatabaseRole, ElementRole): Removed.
68 (DISParser.new): Removed.
69 (getFeature): Removed.
70 (hasFeature): Removed.
71
72 * Grove.dis: Removed.
73
74 2006-12-29 Wakaba <wakaba@suika.fam.cx>
75
76 * PerlCode.dis (createPCFile): Removed.
77 (createPCDocument): New method.
78
79 2006-12-02 Wakaba <wakaba@suika.fam.cx>
80
81 * Makefile: |lib/Message/DOM/DOMString.pm| is added.
82
83 2006-11-05 Wakaba <wakaba@suika.fam.cx>
84
85 * Grove.dis (mg:nodeRefClass, mg:nodeRefInterfaces): Removed.
86
87 2006-11-04 Wakaba <wakaba@suika.fam.cx>
88
89 * DIS.dis (ManakaiDISImplementation): It no longer
90 inherits |ManakaiDISImplementationValue|,
91 |ManakaiDISImplementationPerl|, and |ManakaiSWCFGImplementation|
92 interfaces. The class is now expected to be implemented
93 by |DOMImplementation| objects.
94
95 * PerlCode.dis (addImplementedFeature, addImplementedElementType):
96 New methods.
97 (PCHasFeature, PCElementType): New interfaces.
98 (PCDocument): It no longer inherits the |ManakaiDOMDocument|; it
99 is now expected to be implemented by |Document|
100 objects.
101 (PCImplementation): It no longer inherits the |ManakaiDOMImplementation|;
102 it is now expected to be implemented by |DOMImplementation|
103 objects.
104
105 2006-11-03 Wakaba <wakaba@suika.fam.cx>
106
107 * autoload/: New directory.
108
109 * DIS.dis (getPropertyResourceList): Unused |defaultMediaType|
110 parameter is deleted. New |isaRecursivePropName|
111 and |recursiveISAPropName| parameters are added.
112
113 * PerlCode.dis (addRevISAPackageName, getRevISAPackageName):
114 New methods.
115 (stringify): Support for the rev-ISA packages is added.
116 (getAutoloadDefinitionList): New method.
117
118 2006-08-15 Wakaba <wakaba@suika.fam.cx>
119
120 * DIS.dis (parseString): New |for_arg| parameter is added.
121
122 2006-08-15 Wakaba <wakaba@suika.fam.cx>
123
124 * DIS.dis (readProperties): New |implementation| parameters
125 are added. Support for the |lang:dcmodel| lexical
126 type is added.
127 (parseString): New method.
128
129 2006-08-15 Wakaba <wakaba@suika.fam.cx>
130
131 * Makefile (.discore-all.pm): |../DOM/TreeStore.pm| is added
132 to the list.
133
134 2006-05-28 Wakaba <wakaba@suika.fam.cx>
135
136 * DIS.dis (Require): An explicit reference to the |MDOM:DOMCore|
137 module is added.
138 (readProperties): The support for the |DISCore:NSString| type
139 is added.
140
141 2006-04-30 Wakaba <wakaba@suika.fam.cx>
142
143 * .cvsignore: Updated.
144
145 2006-04-16 Wakaba <wakaba@suika.fam.cx>
146
147 * PerlCode.t (CDATADOMString2): New reflecting datatype.
148 (prototype): Returns |null| if it is not specified.
149
150 2006-04-16 Wakaba <wakaba@suika.fam.cx>
151
152 * Makefile (.discore-all.pm): |CharacterData.pm| is added.
153
154 2006-04-05 Wakaba <wakaba@suika.fam.cx>
155
156 * Grove.dis (generateUniqueID): Don't include random number; it
157 is unnecessary as long as only local uniquness is required.
158 (destroy): Delete singleton.
159
160 * PerlCode.dis (createPCLiteral): A variable was not set.
161
162 2006-04-04 Wakaba <wakaba@suika.fam.cx>
163
164 * DIS.dis (Require): Requires the |MDOM:TreeStore| module.
165 (getNodeFromStorage, setNodeToStorage): New methods.
166
167 2006-04-04 Wakaba <wakaba@suika.fam.cx>
168
169 * PerlCode.dis (PropDef): Removed (they were not used).
170 (appendPackage, appendCodeFragment): Removed.
171 (PCImplementation.createPerl* factoty methods): Removed.
172 (setSubNode, setOverloadSub): Removed.
173 (Node setter attributes): They no longer call |adoptNode|
174 method.
175 (PCImplementation): Don't inherit |dx:ManakaiDefaultExceptionHandler|.
176 (PCException): Removed.
177
178 * Grove.dis (destroy): Threshold value experimentally changed.
179
180 2006-04-04 Wakaba <wakaba@suika.fam.cx>
181
182 * Grove.dis (collectGarbage): The gc algorithm has
183 been changed (a variant of mark and sweep).
184
185 2006-04-04 Wakaba <wakaba@suika.fam.cx>
186
187 * Grove.dis (collectGarbage): Exit loops by |undef| from |each|.
188
189 2006-04-03 Wakaba <wakaba@suika.fam.cx>
190
191 * DIS.dis (NO_PERL_CODE_IMPL_ERR): Removed.
192
193 * ManakaiNode.dis (GetProp, SetProp): Removed.
194
195 2006-04-03 Wakaba <wakaba@suika.fam.cx>
196
197 * Grove.dis (mg:mutations): It is changed from array
198 reference to hash reference.
199
200 * PerlCode.dis (replaceVariable): The |pc2:| namespace
201 support.
202 (IN_USE_NODE_ERR, BAD_CHILD_ERR): Removed.
203 (createPCIf, createPCPackage): New methods.
204 (createPCFile): Renamed from |createPerlFile|. Set
205 configuration parameters.
206
207 2006-04-02 Wakaba <wakaba@suika.fam.cx>
208
209 * Makefile: Update to new modules.
210
211 2006-04-01 Wakaba <wakaba@suika.fam.cx>
212
213 * Grove.dis (destroy): Threshold value changed to 4096.
214
215 * PerlCode.dis (PerlCode): Associated as the default
216 class with |pc:*| and |pc2:*| element types.
217 (currentPackage, currentChunkNumber, getNextChunkNumber): Removed.
218 (ReflectCDATA): Reimplemented using standard |Element|
219 methods.
220 (sourceFile, sourceLine, currentSourceFile, currentSourceLine,
221 skipLines): Removed.
222 (pc:line): Removed.
223 (stringify): Support for the |pc:line| configuration
224 parameter is removed.
225
226 * DIS.dis (isFeatureProvided): Removed.
227
228 2006-03-31 Wakaba <wakaba@suika.fam.cx>
229
230 * Makefile (clean-db): New rule.
231
232 * Grove.dis (onunload): New internal property.
233 (collectGarbage): Invoke the |mg:onunload| code if available.
234
235 2006-03-31 Wakaba <wakaba@suika.fam.cx>
236
237 * Grove.dis (getNodeStemProp0Node): The |$opt| option
238 parameter is added.
239 (mg:nodeRefInterfaces): New property.
240
241 2006-03-30 Wakaba <wakaba@suika.fam.cx>
242
243 * DIS.dis (mvLocalName, mvNamespaceURI): Namespace
244 unaware attribute name is supported.
245
246 * Grove.dis (setOwnerPropRR, deleteOwnerProp, createNodeRefHashFromID):
247 New codes.
248 (nodeRefClass): New property (moved from the |MDOM:TreeCore|
249 module).
250
251 2006-03-24 Wakaba <wakaba@suika.fam.cx>
252
253 * Grove.dis (getNodeRefPropValue, setNodeRefPropValue): New codes.
254
255 2006-03-21 Wakaba <wakaba@suika.fam.cx>
256
257 * Grove.dis (get++NodeStemPropValue, orSetNodeStemPropValue): New
258 codes.
259
260 2006-03-19 Wakaba <wakaba@suika.fam.cx>
261
262 * Grove.dis (createNodeRefFromID): Encloses variables by |{}|.
263 (getNodeID, getNodeStem): New codes.
264 (collectGarbage): A bug is fiexed.
265 (getNodeStemPropValueRef, setNodeStemProp0Node,
266 deleteNodeStemPropValue, nodeIDMatch): New codes.
267
268 2006-03-17 Wakaba <wakaba@suika.fam.cx>
269
270 * Grove.dis (createNodeStem): Set the reference
271 to the |mg:nodeClass| property.
272 (createNodeRefFromID): New code.
273 (getNodeStemPropValue, setNodeStemPropValue, getNodeStemProp0Node):
274 New codes.
275
276 2006-03-17 Wakaba <wakaba@suika.fam.cx>
277
278 * Grove.dis: New module.
279
280 2006-03-15 Wakaba <wakaba@suika.fam.cx>
281
282 * DIS.dis (getMethodForType): Parameter |$resource|
283 is changed to |$type_resource|.
284 (getDOMConfigurationParameterName): New method.
285
286 2006-03-12 Wakaba <wakaba@suika.fam.cx>
287
288 * DIS.dis (loadResource): Support for the |dis:aliasChild|
289 property has been removed.
290
291 2006-03-12 Wakaba <wakaba@suika.fam.cx>
292
293 * DIS.dis (loadResource): Sets the |srinfo| parameter
294 of the |addTypeURI| method call.
295 (addTypeURI): The |srinfo| parameter is added. Sets
296 the |srinfo| parameter of the |isSubsetOfURI| and |mergeAsAlias|
297 method calls.
298
299 2006-03-11 Wakaba <wakaba@suika.fam.cx>
300
301 * DIS.dis (loadResource): Don't set |isDefined|
302 flag for aliases.
303
304 2006-03-10 Wakaba <wakaba@suika.fam.cx>
305
306 * PerlCode.dis (stringify): Inserts new line after |COMMA|s
307 in lists (hash literals and array literals --- "lists" theirselves
308 are excluded since they are usually not so long).
309
310 * DIS.dis (loadResource): Don't throw error
311 if an alias is alreadt defined for same URI. Registers
312 aliases from |srinfo| to the database. By these
313 fixes aliases defined in another module from the canonical
314 resource name's module can live even after the canonical's
315 module is updated.
316
317 2006-03-08 Wakaba <wakaba@suika.fam.cx>
318
319 * ManakaiNode.dis (destroy): Don't cause |uninitialized value
320 as SCALAR reference| error even if the node is disposed
321 and it no longer has tree id.
322
323 2006-03-05 Wakaba <wakaba@suika.fam.cx>
324
325 * DIS.dis (mvOwnerElementResource): Allows an attribute
326 with no owner element.
327
328 2006-02-26 Wakaba <wakaba@suika.fam.cx>
329
330 * PerlCode.dis (PerlStringLiteral.stringify): If some character
331 are escaped, the string should have been quoted by |QUOTATION MARK|.
332
333 * Makefile (.discore-all.pm): The parameter for |DIS/DPG.dis|
334 module was misplaced.
335 (distclean): New rule.
336 (clean): Cleans subdirectories, too.
337
338 2006-02-26 Wakaba <wakaba@suika.fam.cx>
339
340 * ManakaiNodeTest.dis (Require): Missing reference
341 to the |DISlib:Test| module is added.
342
343 * Makefile: Revised for new |daf| database format.
344
345 * DIS.dis (elementTypeMatch, isSubsetOfURI): The |srinfo|
346 parameter is added.
347 (getFor, getModule): Set reference rather than string
348 itself to the |{for}| property.
349 (loadResource): Passes |srinfo| parameter
350 to |isSubsetOfURI|-calling methods.
351 (mergeAsAlias): The |srinfo| parameter is added.
352
353 2006-02-26 Wakaba <wakaba@suika.fam.cx>
354
355 * PerlCode.dis (Require): Missing reference to the |DISlib:DISMarkup|
356 module is added.
357
358 2006-02-25 Wakaba <wakaba@suika.fam.cx>
359
360 * DIS.dis (lookupNamespacePrefix): Resolves prefix by
361 namespace resolver if available.
362 (disNamespaceResolver): New attribute.
363 (loadModule): Sets |revision| attribute of the created module.
364 (ownerModuleRef): Setter is added.
365 (addTypeURI): Set |ownerModule| attribute if possible.
366 (ManakaiDISModuleLite): The class no longer inherits |DISAnyResource|
367 class and |ManakaiDefaultExceptionHandler| class.
368 (mergeAsAlias): New |noEqualityCheck| parameter is added.
369
370 * Makefile: New variables for |DAF| are added.
371
372 2006-02-24 Wakaba <wakaba@suika.fam.cx>
373
374 * DIS.dis (loadModule): Adds name URIs of |Require|d
375 modules to the list of such modules.
376 (DIS:forURI): New property.
377 (getReferringModuleURIList, addReferringModuleURI): New methods.
378 (DIS:referringModule): New property.
379
380 2006-02-24 Wakaba <wakaba@suika.fam.cx>
381
382 * DIS.dis (loadResource): URI registration by |addResourceList|
383 was incorrect for aliases.
384 (unloadResource): It did not support resources with
385 no e.g. |{subOf}| hash.
386 (addResourceURI): New method.
387 (getResourceURIList): New method.
388
389 2006-02-23 Wakaba <wakaba@suika.fam.cx>
390
391 * DIS.dis (loadResource, loadFor, loadModule): New |srinfo|
392 parameter is added. Restores super-resource information
393 from |srinfo| if available.
394 (unloadModule): New method.
395 (getModuleResourceList): New method.
396 (addResourceList): Adds all alias names to the list.
397 (addForResource): New method analog to |addResourceList|.
398 (getForResourceList): New method analog to |getResourceList|.
399 (dx:Interface.getErrorInterfaceResource): New method
400 implementation.
401
402 2006-02-22 Wakaba <wakaba@suika.fam.cx>
403
404 * PerlCode.dis (PCVariable.stringify): The |hashKey|
405 attribute was not reflected to the stringified representation.
406
407 * DIS.dis (getErrorInterfaceResource): New method.
408 (getErrorCodeResource): New method.
409
410 2006-02-20 Wakaba <wakaba@suika.fam.cx>
411
412 * DIS.dis (MUErrorHandler): Missing |For| specification is added.
413
414 2006-02-20 Wakaba <wakaba@suika.fam.cx>
415
416 * DIS.dis (getMethodForType): Bug fixed.
417
418 2006-02-20 Wakaba <wakaba@suika.fam.cx>
419
420 * DIS.dis (isPropertyElement): The |DISCore:resourceType|
421 element type is now recognized as a property. In addition,
422 element types that are a |DISSource:Property| are
423 properties.
424 (DIS:AnyMethod, DIS:Method, DIS:Attribute): New types.
425 (DIS:targetType): New property.
426 (DISModule, DISFor, DISResource, DISDatabase): These
427 classes no longer inherits |ManakaiDISExceptionTarget|.
428 (DISDatabase.loadResource): Reads |DISCore:resourceType| property
429 as well as |rdf:type| property.
430 (DISAnyResource.MUErrorHandler, DISDatabase.MUErrorHandler): New
431 methods.
432 (DISDatabase.domConfig): New attribute.
433 (error-handler): New configuration parameter.
434 (getMethodForType): New code fragment.
435 (DIS:more-than-one-methods-for-a-type): New error.
436 (ManakaiDISExceptionTarget): Removed.
437
438 2006-02-19 Wakaba <wakaba@suika.fam.cx>
439
440 * DIS.dis (composeSubsetURI): New code fragment.
441 (getResource, getModule, getFor, loadResource): Old |rdf:type| settking
442 code is removed.
443 (isSubsetOfURI): Old compatibility code removed.
444 (addTypeURI): Bugs fixed.
445
446 2006-02-19 Wakaba <wakaba@suika.fam.cx>
447
448 * DIS.dis (getResource, getFor, getModule): Set |DIS:typeURI|
449 property on creation of an object.
450 (isAnonymous): Setter is added.
451 (isTypeURI): Redefined using |typeResource| and |isSubsetOfURI|.
452 (getTypeURIList): New method.
453 (typeResource): New attribute.
454 (addTypeURI): New method.
455 (DISModule.isAnonymous, DISFor.isAnonymous): Removed. Now |for|s
456 and modules as well as normal resources can be anonymous.
457 (getSuperResourceURIList): New method.
458
459 2006-02-18 Wakaba <wakaba@suika.fam.cx>
460
461 * DIS.dis (revision): New attribute.
462
463 2006-02-09 Wakaba <wakaba@suika.fam.cx>
464
465 * PerlCode.dis (PerlStringLiteral.stringify): |pc:preserve-line-break|
466 configuration parameter support is added.
467 (pc:preserve-line-break): New configuration option.
468
469 * DIS.dis (readProperties): |DISCore:UString| lextype support added.
470
471 2006-02-08 Wakaba <wakaba@suika.fam.cx>
472
473 * PerlCode.dis (PCReference.stringify): Reference operator |\|
474 was missing.
475
476 2006-02-08 Wakaba <wakaba@suika.fam.cx>
477
478 * PerlCode.dis (getNameListAttrR): Non-|pc:|-namespace elements
479 and their descendants were ignored.
480 (getNameListAttrRM): New variant derived from |getNameListAttrR|,
481 for |getUsePerlModuleNameList| and |getUseCharClassNameList|.
482 (getUsePerlModuleNameList, getUseCharClassNameList): Don't
483 include |pc:package| and their descendants to the target.
484 (PerlFile.stringify): Outputs |use| statements
485 for Perl modules and character classes not part of any package,
486 if any.
487
488 * DIS.dis: |lang:tdterr|'s |DVNSValue| convertion is supported.
489
490 2006-02-06 Wakaba <wakaba@suika.fam.cx>
491
492 * DIS.dis (loadModule): Loads a "daem" submodule file
493 if exists.
494
495 2006-01-30 Wakaba <wakaba@suika.fam.cx>
496
497 * Makefile: Typo fixed.
498
499 2006-01-29 Wakaba <wakaba@suika.fam.cx>
500
501 * Makefile: Updated to be consist with |../DOM/Makefile|.
502
503 * DIS.dis (parse): Parameter |input|'s type is
504 changed from |DOMLS:LSInput| to |DISPerl:HASH| to
505 remove dependency on |MDOM:DOMLS| module.
506
507 2006-01-29 Wakaba <wakaba@suika.fam.cx>
508
509 * PerlCode.dis (skipLines): Its code was incorrect.
510 (createPCLiteral): Creates a |undef| keyword node
511 for an |undef| value. Tests added.
512
513 2006-01-25 Wakaba <wakaba@suika.fam.cx>
514
515 * ManakaiNodeTest.dis: Tests for |mn:subnode2| hash-hash added.
516
517 2006-01-24 Wakaba <wakaba@suika.fam.cx>
518
519 * ManakaiNodeTest.dis: Tests added.
520
521 2006-01-23 Wakaba <wakaba@suika.fam.cx>
522
523 * .cvsignore: |ManakaiNodeTest.pm| added.
524
525 2006-01-23 Wakaba <wakaba@suika.fam.cx>
526
527 * ManakaiNodeTest.dis: New module.
528
529 * Makefile: |ManakaiNodeTest.dis| added.
530
531 2006-01-22 Wakaba <wakaba@suika.fam.cx>
532
533 * PerlCode.dis: Fixed not |getAttributeNS| to cause
534 uninitialized value warnings.
535
536 2006-01-19 Wakaba <wakaba@suika.fam.cx>
537
538 * PerlCode.dis (PCPackage.stringify): Appends a string
539 representation of non-|pc:*| element children for
540 the stringified value.
541
542 2006-01-07 Wakaba <wakaba@suika.fam.cx>
543
544 * Makefile: |../DOM/XDoctype.dis| added.
545
546 2005-12-27 Wakaba <wakaba@suika.fam.cx>
547
548 * PerlCode.dis (PCReference): New interface.
549
550 2005-12-24 Wakaba <wakaba@suika.fam.cx>
551
552 * PerlCode.dis (PerlSub.clearPerlName): New method.
553 (PCDocument.createPCLiteral): Adopts |PerlCode| node
554 if it is a foreign one.
555
556 * DIS.dis (underscoreNameToCamelCaseName): A |HYPHEN-MINUS|
557 character is replaced to |UNDERLINE| character.
558
559 2005-12-21 Wakaba <wakaba@suika.fam.cx>
560
561 * Makefile: |dpg.dae| rule merged into |discore.dae| rule.
562
563 2005-12-20 Wakaba <wakaba@suika.fam.cx>
564
565 * DIS.dis: DPG format support added.
566
567 2005-12-18 Wakaba <wakaba@suika.fam.cx>
568
569 * PerlCode.dis (PCDocument.createPerlSub): New method.
570
571 * Makefile: Rules to make |DIS/DPG.pm| added.
572
573 2005-12-18 Wakaba <wakaba@suika.fam.cx>
574
575 * PerlCode.dis (PCExpression.stringify): More operators supported.
576 (PCDocument.createPCStatement): New method.
577
578 2005-12-17 Wakaba <wakaba@suika.fam.cx>
579
580 * PerlCode.dis (PCWhen): New interface.
581
582 2005-12-16 Wakaba <wakaba@suika.fam.cx>
583
584 * PerlCode.dis (PCNumberLiteral, PCDereference, PCApply): New interfaces.
585 (arrayRefLiteral, hashRefLiteral): Typos in element type names fixed.
586 (PCExpression.stringify): Outputs children other than expression.
587 Inserts space before and after operators if desired.
588
589 2005-12-15 Wakaba <wakaba@suika.fam.cx>
590
591 * PerlCode.dis (PCCondition, PCBlock): New interface.
592 (ManakaiPCBlock): Renamed as |ManakaiPerlCodeBlock| to
593 distingulish new |ManakaiPCBlock| class implementing new |PCBlock|
594 interface.
595
596 2005-12-14 Wakaba <wakaba@suika.fam.cx>
597
598 * PerlCode.dis (PCExpression, PCChoose, PCWhen, PCOtherwise): New
599 interfaces and element types.
600 (getChildElementByType): New code.
601 (PCFunctionCall): New interface and element type.
602
603 2005-11-24 Wakaba <wakaba@suika.fam.cx>
604
605 * DIS.dis (stringify): Returns |DIS:uri| error parameter if available.
606
607 2005-11-23 Wakaba <wakaba@suika.fam.cx>
608
609 * Error.pm (new): Sets |-stacktrace_| property if debug
610 or verbose mode.
611 (stringify): Appends longer trace if debug or verbose mode.
612 ($VERBOSE): New flag.
613
614 * DIS.dis: Bugs on error depth fixed.
615
616 2005-11-23 Wakaba <wakaba@suika.fam.cx>
617
618 * DIS.dis (text): New attribute implementation.
619
620 * ManakaiNode.dis (destroyNodeStem): New method.
621
622 2005-11-20 Wakaba <wakaba@suika.fam.cx>
623
624 * Makefile: |../DOM/Tree.dis| added.
625
626 2005-11-17 Wakaba <wakaba@suika.fam.cx>
627
628 * Makefile: |Formatter/Muf2003.dis| added to file list.
629
630 * DIS.dis (DISModuleLite): Typo in |ISA| property fixed.
631
632 2005-11-16 Wakaba <wakaba@suika.fam.cx>
633
634 * .cvsignore: New file.
635
636 2005-11-16 Wakaba <wakaba@suika.fam.cx>
637
638 * PerlCode.dis: A test code added. Typos in |ISA|
639 properties fixed.
640 (PerlSub.stringify): Generates prototype specification
641 even if |prototype| attribute value's length is zero
642 in case the |pc:prototype| attribute /is/ found.
643
644 2005-11-15 Wakaba <wakaba@suika.fam.cx>
645
646 * Makefile: Missing rule to make |Message/DOM/core.dae| added.
647
648 2005-11-15 Wakaba <wakaba@suika.fam.cx>
649
650 * Makefile: Rules to make |DIS/Test.pm| added. |DIS/common.dis| rules
651 added.
652
653 * DIS.dis (DIS:): Removed (moved to |DIS/common.dis|).
654
655 2005-11-13 Wakaba <wakaba@suika.fam.cx>
656
657 * PerlCode.dis (PCList, PCArrayRefLiteral, PCHashRefLiteral):
658 New interfaces.
659 (createPCLiteral, appendNewPCLiteral): New methods.
660 (PCDocument): New interface.
661 (factory methods): Namespace URI and local name of document
662 element arguments added to |createDocument| to obtain
663 an instance of |PCDocument|.
664
665 2005-10-16 Wakaba <wakaba@suika.fam.cx>
666
667 * PerlCode.dis (pc:line): New configuration parameter.
668 (stringify): Don't output "#line" directive
669 unless "pc:line" parameter is set to "true".
670 (pc:split-resolver): New configuration parameter.
671
672 2005-10-14 Wakaba <wakaba@suika.fam.cx>
673
674 * ManakaiNode.dis (anydata0): New property type.
675
676 * PerlCode.dis (stringify): Prints node id if file name
677 is not available.
678 (perlLiteral): Prints as is if the value is blessed
679 with "manakai::code" package.
680
681 2005-10-13 Wakaba <wakaba@suika.fam.cx>
682
683 * PerlCode.dis (CDATADOMString): Changed to use code
684 fragment defined in DOMCore module directly.
685
686 2005-10-12 Wakaba <wakaba@suika.fam.cx>
687
688 * PerlCode.dis (ForClassCompat): Removed.
689
690 * ManakaiNode.dis (ManakaiDOMNodeObject, ManakaiDOMNodeReference):
691 Removed.
692 (newNode): New method.
693 (generateUniqueID): Algorithm has changed to save random
694 string generation time.
695
696 * DIS.dis (AUTOLOAD): "$Error::Level" fixed to "$Error::Depth".
697
698 2005-10-11 Wakaba <wakaba@suika.fam.cx>
699
700 * PerlCode.dis (IfClsDef, IFClsETDef): New version of classes based
701 on DOMCore and element type definitions added.
702 (localName): Renamed to "pcLocalName" to avoid
703 conflict with "Node.localName" attribute.
704
705 2005-10-10 Wakaba <wakaba@suika.fam.cx>
706
707 * DIS.dis (Require): Unused reference to "PerlCode.dis" removed.
708
709 * Makefile: Rules to make "PerlCode.pm" separated
710 from ones for "DIS.pm".
711
712 * ManakaiNode.dis (mn:unsetXRefNode): "$referent"
713 parameter is replaced with "$referrer->{$propName}".
714
715 * PerlCode.dis (Require): References "DOMCore.dis".
716 (DefaultFor): Changed to "ManakaiDOM:ManakaiDOMLatest".
717 (Util: for ManakaiDOM:ManakaiDOM): New.
718
719 2005-10-09 Wakaba <wakaba@suika.fam.cx>
720
721 * ManakaiNode.dis: New "mn:xrefnode0" property type has
722 been introduced and methods are fixed to support it.
723 (mn:setXRefNode, mn:unsetXRefNode): New codes.
724
725 * DIS.dis (loadResource): Skips a root resource definition
726 if it is an alias and it has "dis:Name" attribute and
727 referenced canonical definition is already read. (Note
728 that similar case that the resource definition has "dis:QName"
729 attribute is already fixed in the same way.)
730
731 2005-10-08 Wakaba <wakaba@suika.fam.cx>
732
733 * DIS.dis (readProperties): Recognizes hexdecimal
734 in "DISCore:Integer" (prefixed by "0x").
735
736 2005-10-08 Wakaba <wakaba@suika.fam.cx>
737
738 * PerlCode.dis (getExceptionInterfacePackageNameList,
739 addExceptionInterfacePackageName): New methods.
740 (ToString): Sorts hash keys where they result in
741 the order of statements in result code.
742
743 * Error.pm ($DEBUG): New option variable.
744 (___get_error_def): Calls "___error_def" method in second or later "@ISA"
745 package even if elder package has "___error_def" method.
746
747 * DIS.dis: Now constant values are only defined
748 in interfaces.
749 (DIS:NO_EXCEPTION_CLASS_ERR): New exception subcode.
750
751 2005-10-06 Wakaba <wakaba@suika.fam.cx>
752
753 * DIS.dis (getAnyResourceURIList, getModuleURIList): New methods.
754
755 2005-10-02 Wakaba <wakaba@suika.fam.cx>
756
757 * DIS.dis (getAnyResource): New method.
758 (isTypeURI): Now it is a method of "DIS:DISAnyResource" interface.
759 (getPropertyResource, getPropertyResourceList): Now
760 they uses "getAnyResource" method.
761 (getPropertyModuleList): Removed.
762
763 2005-09-30 Wakaba <wakaba@suika.fam.cx>
764
765 * DIS.dis (readProperties): Saves property name to values.
766 (getPropertyModuleList): New method.
767
768 2005-09-29 Wakaba <wakaba@suika.fam.cx>
769
770 * DIS.dis: Shares local name, namespace URI and for URI
771 if possible.
772
773 * PerlCode.dis (stringify): Sorts "require" statements by module
774 name.
775
776 2005-09-28 Wakaba <wakaba@suika.fam.cx>
777
778 * PerlCode.dis (perlLiteral): Sorts output by hash key.
779
780 * ManakaiNode.dis (new): Sets "mn:groveReferenceCounter"
781 property.
782 (getNewReference): Increments "mn:groveReferenceCounter"
783 property.
784 (ManakaiDOM:ManakaiDOMNodeObject, ManakaiNodeStem): Don't
785 check "defined" to allow "undef" value in "while" condition.
786 (mn:isGroveReferenced): New code.
787 (changeTreeID): New "groveRC" parameter added.
788 (importTree, changeTreeID): Updates "mn:groveReferenceCounter"
789 properties.
790 (destroy): Uses "mn:isGroveReferenced" instead of "isExternallyReferred".
791 (mn:groveReferenceCounter): New property.
792
793 2005-09-28 Wakaba <wakaba@suika.fam.cx>
794
795 * DIS.dis: Use "tag:" URI for internal URIs.
796
797 2005-09-27 Wakaba <wakaba@suika.fam.cx>
798
799 * ManakaiNode.dis (ManakaiNodeStem->new): Don't set "TreeCore:*"
800 properties.
801 (generateUniqueID): Use "tag:" URI.
802
803 * DIS.dis (targetNamespaceURI): New attribute.
804 (ManakaiDISModuleLite): Extends dx:ManakaiDefaultErrorHandler.
805 (ManakaiDISModuleLite->AUTOLOAD): Don't load module
806 if method name is "DESTROY".
807
808 2005-09-27 Wakaba <wakaba@suika.fam.cx>
809
810 * ManakaiNode.dis (ManakaiNodeStem): Use per-class
811 variable for searching noderel properties instead
812 of per-node properties.
813
814 2005-09-26 Wakaba <wakaba@suika.fam.cx>
815
816 * ManakaiNode.dis (new): New "className" parameter added.
817 (mn:NodeRefRole): New role.
818 (mn:type): New property.
819 (mn:subnode0, mn:subnode1, mn:subnode2, mn:irefnode0,
820 mn:origin0, mn:anydata1, mn:anydata2, mn:noderef): New properties.
821
822 * Makefile: Rules to make "DIS/DISDump" is separeted
823 from "DIS/DISDoc".
824
825 * DIS.dis (getFor): Loads database module if unread
826 "for" is referenced.
827 (addResourceList, getResourceList): New method.
828 (ManakaiDISModuleLite): New class.
829
830 2005-09-25 Wakaba <wakaba@suika.fam.cx>
831
832 * DIS.dis (RESOURCE_NOT_DEFINED_ERR): New error code.
833 (getResource): New "dae" and "daem" database format support.
834 (DISResourceList): New type.
835 (uriRef, ownerModuleURI, ownerModuleURIRef): New attributes.
836 (addChildResource, addDynamicChildResource): New methods.
837 (getChildResourceList, getDynamicChildResourceList): New method.
838 (getChildResourceListByType): New method.
839 (parentResource, dynamicParentResource): New attributes.
840
841 * Makefile (DAC_SUFFIX): Changed to ".dae".
842 (DAEM_SUFFIX): New.
843
844
845 2005-09-24 Wakaba <wakaba@suika.fam.cx>
846
847 * ManakaiNode.dis: Use "disPerl:H" instead
848 of "disPerl:Q" for hash keys.
849 (NodeStem): Property value "mn:treeID"
850 has changed to scalar reference.
851
852 2005-09-24 Wakaba <wakaba@suika.fam.cx>
853
854 * ManakaiNode.dis (mn:node, mn:nodeID, mn:treeID): New
855 properties.
856 (mn:stemName, mn:refName): New properties.
857
858 * Makefile (.discore-all.pm): New rule to create dis-related
859 Perl module files at once.
860
861 * DIS.dis (PERL_HASH_KEY_ALREADY_DEFINED_ERR): New error code.
862 (hashKeyName, hashKeyScope, anotherURI): New error parameters.
863
864 * ManakaiNode.dis, DIS.dis, PerlCode.dis: Use "disPerl:H" instead
865 of "disPerl:Q" for hash keys.
866
867 2005-09-23 Wakaba <wakaba@suika.fam.cx>
868
869 * DIS.dis (DISParser.new): New method.
870 (hasFeature): Removed. ManakaiDISAnyResource now
871 extends DOMFeature:ManakaiHasFeatureByGetFeature.
872 (readProperties): Support for property value data
873 types DISLang:MemberRef and dx:XCRef added.
874 (ManakaiDISExceptionTarget): It is now an alias
875 for dx:ManakaiDefaultExceptionHandler.
876
877 2005-09-22 Wakaba <wakaba@suika.fam.cx>
878
879 * Makefile: DAC_SUFFIX changed to ".dad".
880
881 * DIS.dis (Util:): Added for DIS|ForEmpty and DIS|ForLatest.
882 (disIsNullable): Reimplemented.
883
884 2005-09-21 Wakaba <wakaba@suika.fam.cx>
885
886 * DIS.dis (addNamespaceBinding): New method.
887
888 2005-09-20 Wakaba <wakaba@suika.fam.cx>
889
890 * DIS.dis: Use valueRef and nodeIDRef where possible so
891 that dad file can share text data if possible.
892 For resources, {subOf} and {supOf} is now optional.
893 (sourceNodeIDRef): New attribute.
894
895 2005-09-19 Wakaba <wakaba@suika.fam.cx>
896
897 * DIS.dis: Parameter "databaseArg" added to various
898 methods to support objects that have no associated
899 database.
900 (getNamespaceBindingList, getDefaultNamespaceURIRef): New
901 methods.
902 (NO_RDF_TYPE_ERR): New error type.
903 (loadResource): Throws NO_RDF_TYPE_ERR if no rdf:type
904 attribute specified for a resource definition.
905
906 2005-09-16 Wakaba <wakaba@suika.fam.cx>
907
908 * DIS.dis (DISResourceProp): Methods reimplemented to
909 support DIS/Value values.
910
911 2005-09-15 Wakaba <wakaba@suika.fam.cx>
912
913 * DIS.dis (readProperties): New methods. Emploies DIS/Value
914 classes for internal data structure.
915
916 2005-09-14 Wakaba <wakaba@suika.fam.cx>
917
918 * DIS.dis: Now references DIS/Value.dis.
919 (DISAnyResource): New interface separeted from DISModule.
920 DISFor and DISResource.
921
922 2005-09-13 Wakaba <wakaba@suika.fam.cx>
923
924 * DIS.dis: Perl-related methods are moved to a separate
925 module "DIS/Perl.dis".
926
927 2005-09-08 Wakaba <wakaba@suika.fam.cx>
928
929 * Makefile: Renewaled.
930
931 * ManakaiNode.dis (free): New method.
932
933 2005-09-07 Wakaba <wakaba@suika.fam.cx>
934
935 * DIS.dis: Interfaces added.
936 (free): New method.
937
938 * PerlCode.dis: Interfaces added.
939
940 2005-09-06 Wakaba <wakaba@suika.fam.cx>
941
942 * DIS.dis (plName): Use AppName attribute, if any,
943 for ManakaiDOM:ConstGroup resources.
944
945 2005-09-05 Wakaba <wakaba@suika.fam.cx>
946
947 * DIS.dis (plGeneratePerlModuleFile): Don't generate code for
948 the same class or variable twice whose alias is defined
949 in the same module.
950
951 2005-09-04 Wakaba <wakaba@suika.fam.cx>
952
953 * PerlCode.dis (ManakaiPerlSub.IntClone): Copies pc:localName
954 and pc:prortotype properties.
955
956 * DIS.dis (plAdditionalISAPackages): New attribute.
957
958 2005-09-01 Wakaba <wakaba@suika.fam.cx>
959
960 * DIS.dis (plCodeFragment): The ManakaiDOM:boolean datatype
961 supported.
962
963 2005-08-31 Wakaba <wakaba@suika.fam.cx>
964
965 * DIS.dis (uris): New attribute.
966
967 2005-08-30 Wakaba <wakaba@suika.fam.cx>
968
969 * DIS.dis (plFilePathStem): New attribute.
970
971 2005-08-29 Wakaba <wakaba@suika.fam.cx>
972
973 * DIS.dis (plFileNameStem): New attribute.
974
975 2005-08-28 Wakaba <wakaba@suika.fam.cx>
976
977 * DIS.dis (plCodeFragment): Type ManakaiDOM:InCase supported.
978
979 2005-08-26 Wakaba <wakaba@suika.fam.cx>
980
981 * DIS.dis: Typo fixed for replacing namespace URI and local name
982 in reflecting code.
983 (mvLocalName, mvNamespaceURI): Use "localName" and "namespaceURI"
984 attribute values as their default.
985 (mvPrefix, qnameValuePrefix): New attributes.
986
987 * ManakaiNode.dis: Tests whether "defined" rather than true or not
988 in "while" conditions.
989
990 2005-08-15 Wakaba <wakaba@suika.fam.cx>
991
992 * ManakaiNode.dis (Util:): Now Perl package name for interfaces
993 is defined.
994
995 * DIS.dis (mediaTypeURI): Returns $defaultMediaType
996 parameter value if dis:ContentType attribute is missing.
997
998 * ManakaiNode.dis (importTree): Use "isa" function
999 to check whether a object is an instance of the manakai
1000 node model.
1001 (NodeStem, NodeRef): New lightweight variant
1002 of ManakaiDOM:ManakaiDOMNodeObject
1003 and ManakaiDOM:ManakaiDOMNodeReference.
1004
1005 2005-05-29 Wakaba <wakaba@suika.fam.cx>
1006
1007 * DIS.dis (plGeneratePerlModuleFile): Bug fixed so that
1008 even if DOMMetaImpl:provideFeature has child nodes but
1009 they are not DOMMetaImpl:providedThrough a ImplFeature
1010 statement is generated.
1011 (plCodeFragment): Bug fixed so that dis:SetProp works correctly.
1012
1013 2005-05-26 Wakaba <wakaba@suika.fam.cx>
1014
1015 * Makefile: Rules for DISDoc module added.
1016
1017 2005-05-23 Wakaba <wakaba@suika.fam.cx>
1018
1019 * DIS.dis (ManakaiDISResourceDefinition, ManakaiDISForDefinition,
1020 ManakaiDISModuleDefinition): "getFeature" method added.
1021
1022 2005-03-06 Wakaba <wakaba@suika.fam.cx>
1023
1024 * DIS.dis (Require): Loads PerlCode module.
1025
1026 2005-03-05 Wakaba <wakaba@suika.fam.cx>
1027
1028 * PerlCode.dis: Operator overloading is implemented.
1029
1030 2005-03-04 Wakaba <wakaba@suika.fam.cx>
1031
1032 * ManakaiNode.dis: Checks type, to support SuikaWikiConfig21
1033 module's binding properties.
1034
1035 2005-03-03 Wakaba <wakaba@suika.fam.cx>
1036
1037 * PerlCode.dis: New module.
1038
1039 2005-02-26 Wakaba <wakaba@suika.fam.cx>
1040
1041 * DIS.dis (DISModuleResolver): New interface.
1042
1043 2005-02-21 Wakaba <wakaba@suika.fam.cx>
1044
1045 * DIS.dis: New module.
1046
1047 * ManakaiNode.dis: New "subnode0" property category introduced.
1048
1049 2005-02-17 Wakaba <wakaba@suika.fam.cx>
1050
1051 * ManakaiNode.dis: New module.
1052
1053 2005-01-05 Wakaba <wakaba@suika.fam.cx>
1054
1055 * Error.pm (___rule_def[p]): Don't output anything if not exists
1056 that parameter.
1057
1058 2004-09-30 Wakaba <wakaba@suika.fam.cx>
1059
1060 * Error.pm (___rule_def): "p" added; now "t" is obsolete.
1061
1062 2004-04-02 Wakaba <wakaba@suika.fam.cx>
1063
1064 * Error.pm (report): Error depth fixed.
1065 (___rule_def:t): New parameters empty and undef introduced.
1066
1067 2004-01-17 Wakaba <wakaba@suika.fam.cx>
1068
1069 * Error.pm: Some fixes w.r.t. Error::Depth.
1070
1071 2003-12-06 Wakaba <wakaba@suika.fam.cx>
1072
1073 * Error.pm (___error_def): Renamed from ___errors.
1074
1075 2003-12-01 Wakaba <wakaba@suika.fam.cx>
1076
1077 * Error.pm (___get_error_def): Now support inherit. (It was not work.)
1078
1079 2003-11-15 Wakaba <wakaba@suika.fam.cx>
1080
1081 * Error.pm: Use Message::Util::Formatter::Text to construct error messages.
1082
1083 2003-11-13 Wakaba <wakaba@suika.fam.cx>
1084
1085 * Formatter: New directory.
1086
1087 2003-11-12 Wakaba <wakaba@suika.fam.cx>
1088
1089 * Error.pm: Rewritten.
1090
1091 2003-10-25 Wakaba <wakaba@suika.fam.cx>
1092
1093 * Formatter.pm (replace): Allow '%foo () ;'.
1094
1095 2003-09-17 Wakaba <wakaba@suika.fam.cx>
1096
1097 * HostPermit.pm: New module.
1098
1099 2003-08-05 Wakaba <wakaba@suika.fam.cx>
1100
1101 * Error.pm (_default_error_handler): Syntax fix.
1102
1103 * Error/: New directory.
1104
1105 2003-07-29 Wakaba <wakaba@suika.fam.cx>
1106
1107 * Error.pm: New module.
1108
1109 2003-05-10 Wakaba <w@offweb.ddo.jp>
1110
1111 * Formatter.pm (replace): Bug fix of pattern.
1112
1113 2003-04-29 Wakaba <w@offweb.ddo.jp>
1114
1115 * Formatter.pm (replace): {...} block is supported.
1116 (Message::Util::Formatter::_returned): New package. It is very very tiny
1117 subset of SuikaWiki::Markup::XML.
1118 (replace): Return structured string, not bare string. This function is
1119 useful to make tree (such as XML's) from formatting template (and its nested
1120 parameters).
1121
1122 2003-03-28 Wakaba <w@offweb.ddo.jp>
1123
1124 * Formatter.pm (replace): Treat oo of "str"oo of attr value as option and parse attr value if 'p' option is specified.
1125 (replace): Replace '-' to '_' in attr name.
1126
1127 2003-01-26 Wakaba <w@cube.wakaba.ssm>
1128
1129 * Formatter.pm (replace): Trim attribute name/value pair.
1130
1131 2003-01-04 Wakaba <w@suika.fam.cx>
1132
1133 * Formatter.pm (replace): Don't split by ',' in quoted-strings.
1134
1135 2002-12-15 Wakaba <w@suika.fam.cx>
1136
1137 * Formatter.pm (%char;): Removed.
1138
1139 2002-12-05 Wakaba <w@suika.fam.cx>
1140
1141 * Formatter.pm (%FMT2TXT): New (internal) initial format rule,
1142 "-bare_text".
1143 (replace): "Replace" non-%-text with "-bare_text" rule.
1144 (pod): Methods and initial rules are documented.
1145
1146 2002-12-04 Wakaba <w@suika.fam.cx>
1147
1148 * Formatter.pm (replace): Accept ")" in quoted-string.
1149
1150 2002-11-13 Wakaba <w@suika.fam.cx>
1151
1152 * ChangeLog: New file.
1153 * Formatter.pm: New module.

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24