/[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.76 - (show annotations) (download)
Sun Dec 18 13:21:47 2005 UTC (18 years, 11 months ago) by wakaba
Branch: MAIN
Changes since 1.75: +11 -0 lines
++ manakai/lib/Message/Util/ChangeLog	18 Dec 2005 13:21:17 -0000
2005-12-18  Wakaba  <wakaba@suika.fam.cx>

	* PerlCode.dis (PCDocument.createPerlSub): New method.

	* Makefile: Rules to make |DIS/DPG.pm| added.

2005-12-18  Wakaba  <wakaba@suika.fam.cx>

	* PerlCode.dis (PCExpression.stringify): More operators supported.
	(PCDocument.createPCStatement): New method.

++ manakai/lib/Message/Util/DIS/ChangeLog	18 Dec 2005 13:11:01 -0000
2005-12-18  Wakaba  <wakaba@suika.fam.cx>

	* DPG.dis: New module.

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

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24