/[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.72 - (show annotations) (download)
Thu Nov 24 12:08:54 2005 UTC (19 years ago) by wakaba
Branch: MAIN
Changes since 1.71: +4 -0 lines
++ manakai/lib/Message/Util/ChangeLog	24 Nov 2005 12:03:37 -0000
2005-11-24  Wakaba  <wakaba@suika.fam.cx>

	* DIS.dis (stringify): Returns |DIS:uri| error parameter if available.

++ manakai/lib/Message/Util/Error/ChangeLog	24 Nov 2005 12:03:05 -0000
2005-11-24  Wakaba  <wakaba@suika.fam.cx>

	* Core.dis (___report_error): It is clarified that the
	method may return a value and the value will be
	returned by the |report| statement.

++ manakai/lib/Message/Util/DIS/ChangeLog	24 Nov 2005 12:05:09 -0000
2005-11-24  Wakaba  <wakaba@suika.fam.cx>

	* Perl.dis (plCodeFragment, plGeneratePerlModule): |DOMCore:DOMErrorType|
	objects are now supported.
	(plPreprocessPerlStatement): |DOMCore:ERROR| block-level element
	type support added.

++ manakai/lib/Message/DOM/ChangeLog	24 Nov 2005 12:00:02 -0000
2005-11-24  Wakaba  <wakaba@suika.fam.cx>

	* DOMCore.dis (severity, type): Getters return value from
	the definition of the current error (i.e. |-def| hash).
	(___error_def): New method.
	(errorType): |dis:dataType| changed to |DISCore:TFQNames|
	to ease natural reference to constant value.
	(error-handler.default): Prints the error message by |warn|.

	* Tree.dis (nodeValue.set): Reimplemented so that it
	warns as setting has no effect.
	(___report_error): New method.  (It had been only implemented
	in superclass.)
	(setting-node-value-no-effect): New error type.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24