/[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.73 - (show annotations) (download)
Wed Dec 14 11:57:13 2005 UTC (18 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.72: +7 -0 lines
++ manakai/lib/Message/Util/ChangeLog	14 Dec 2005 11:45:31 -0000
2005-12-14  Wakaba  <wakaba@suika.fam.cx>

	* PerlCode.dis (PCExpression, PCChoose, PCWhen, PCOtherwise): New
	interfaces and element types.
	(getChildElementByType): New code.
	(PCFunctionCall): New interface and element type.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24