| 1 |
|
2005-10-11 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* PerlCode.dis (IfClsDef, IFClsETDef): New version of classes based |
| 4 |
|
on DOMCore and element type definitions added. |
| 5 |
|
(localName): Renamed to "pcLocalName" to avoid |
| 6 |
|
conflict with "Node.localName" attribute. |
| 7 |
|
|
| 8 |
|
2005-10-10 Wakaba <wakaba@suika.fam.cx> |
| 9 |
|
|
| 10 |
|
* DIS.dis (Require): Unused reference to "PerlCode.dis" removed. |
| 11 |
|
|
| 12 |
|
* Makefile: Rules to make "PerlCode.pm" separated |
| 13 |
|
from ones for "DIS.pm". |
| 14 |
|
|
| 15 |
|
* ManakaiNode.dis (mn:unsetXRefNode): "$referent" |
| 16 |
|
parameter is replaced with "$referrer->{$propName}". |
| 17 |
|
|
| 18 |
|
* PerlCode.dis (Require): References "DOMCore.dis". |
| 19 |
|
(DefaultFor): Changed to "ManakaiDOM:ManakaiDOMLatest". |
| 20 |
|
(Util: for ManakaiDOM:ManakaiDOM): New. |
| 21 |
|
|
| 22 |
|
2005-10-09 Wakaba <wakaba@suika.fam.cx> |
| 23 |
|
|
| 24 |
|
* ManakaiNode.dis: New "mn:xrefnode0" property type has |
| 25 |
|
been introduced and methods are fixed to support it. |
| 26 |
|
(mn:setXRefNode, mn:unsetXRefNode): New codes. |
| 27 |
|
|
| 28 |
|
* DIS.dis (loadResource): Skips a root resource definition |
| 29 |
|
if it is an alias and it has "dis:Name" attribute and |
| 30 |
|
referenced canonical definition is already read. (Note |
| 31 |
|
that similar case that the resource definition has "dis:QName" |
| 32 |
|
attribute is already fixed in the same way.) |
| 33 |
|
|
| 34 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
| 35 |
|
|
| 36 |
|
* DIS.dis (readProperties): Recognizes hexdecimal |
| 37 |
|
in "DISCore:Integer" (prefixed by "0x"). |
| 38 |
|
|
| 39 |
|
2005-10-08 Wakaba <wakaba@suika.fam.cx> |
| 40 |
|
|
| 41 |
|
* PerlCode.dis (getExceptionInterfacePackageNameList, |
| 42 |
|
addExceptionInterfacePackageName): New methods. |
| 43 |
|
(ToString): Sorts hash keys where they result in |
| 44 |
|
the order of statements in result code. |
| 45 |
|
|
| 46 |
|
* Error.pm ($DEBUG): New option variable. |
| 47 |
|
(___get_error_def): Calls "___error_def" method in second or later "@ISA" |
| 48 |
|
package even if elder package has "___error_def" method. |
| 49 |
|
|
| 50 |
|
* DIS.dis: Now constant values are only defined |
| 51 |
|
in interfaces. |
| 52 |
|
(DIS:NO_EXCEPTION_CLASS_ERR): New exception subcode. |
| 53 |
|
|
| 54 |
|
2005-10-06 Wakaba <wakaba@suika.fam.cx> |
| 55 |
|
|
| 56 |
|
* DIS.dis (getAnyResourceURIList, getModuleURIList): New methods. |
| 57 |
|
|
| 58 |
|
2005-10-02 Wakaba <wakaba@suika.fam.cx> |
| 59 |
|
|
| 60 |
|
* DIS.dis (getAnyResource): New method. |
| 61 |
|
(isTypeURI): Now it is a method of "DIS:DISAnyResource" interface. |
| 62 |
|
(getPropertyResource, getPropertyResourceList): Now |
| 63 |
|
they uses "getAnyResource" method. |
| 64 |
|
(getPropertyModuleList): Removed. |
| 65 |
|
|
| 66 |
|
2005-09-30 Wakaba <wakaba@suika.fam.cx> |
| 67 |
|
|
| 68 |
|
* DIS.dis (readProperties): Saves property name to values. |
| 69 |
|
(getPropertyModuleList): New method. |
| 70 |
|
|
| 71 |
|
2005-09-29 Wakaba <wakaba@suika.fam.cx> |
| 72 |
|
|
| 73 |
|
* DIS.dis: Shares local name, namespace URI and for URI |
| 74 |
|
if possible. |
| 75 |
|
|
| 76 |
|
* PerlCode.dis (stringify): Sorts "require" statements by module |
| 77 |
|
name. |
| 78 |
|
|
| 79 |
|
2005-09-28 Wakaba <wakaba@suika.fam.cx> |
| 80 |
|
|
| 81 |
|
* PerlCode.dis (perlLiteral): Sorts output by hash key. |
| 82 |
|
|
| 83 |
|
* ManakaiNode.dis (new): Sets "mn:groveReferenceCounter" |
| 84 |
|
property. |
| 85 |
|
(getNewReference): Increments "mn:groveReferenceCounter" |
| 86 |
|
property. |
| 87 |
|
(ManakaiDOM:ManakaiDOMNodeObject, ManakaiNodeStem): Don't |
| 88 |
|
check "defined" to allow "undef" value in "while" condition. |
| 89 |
|
(mn:isGroveReferenced): New code. |
| 90 |
|
(changeTreeID): New "groveRC" parameter added. |
| 91 |
|
(importTree, changeTreeID): Updates "mn:groveReferenceCounter" |
| 92 |
|
properties. |
| 93 |
|
(destroy): Uses "mn:isGroveReferenced" instead of "isExternallyReferred". |
| 94 |
|
(mn:groveReferenceCounter): New property. |
| 95 |
|
|
| 96 |
|
2005-09-28 Wakaba <wakaba@suika.fam.cx> |
| 97 |
|
|
| 98 |
|
* DIS.dis: Use "tag:" URI for internal URIs. |
| 99 |
|
|
| 100 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
| 101 |
|
|
| 102 |
|
* ManakaiNode.dis (ManakaiNodeStem->new): Don't set "TreeCore:*" |
| 103 |
|
properties. |
| 104 |
|
(generateUniqueID): Use "tag:" URI. |
| 105 |
|
|
| 106 |
|
* DIS.dis (targetNamespaceURI): New attribute. |
| 107 |
|
(ManakaiDISModuleLite): Extends dx:ManakaiDefaultErrorHandler. |
| 108 |
|
(ManakaiDISModuleLite->AUTOLOAD): Don't load module |
| 109 |
|
if method name is "DESTROY". |
| 110 |
|
|
| 111 |
|
2005-09-27 Wakaba <wakaba@suika.fam.cx> |
| 112 |
|
|
| 113 |
|
* ManakaiNode.dis (ManakaiNodeStem): Use per-class |
| 114 |
|
variable for searching noderel properties instead |
| 115 |
|
of per-node properties. |
| 116 |
|
|
| 117 |
|
2005-09-26 Wakaba <wakaba@suika.fam.cx> |
| 118 |
|
|
| 119 |
|
* ManakaiNode.dis (new): New "className" parameter added. |
| 120 |
|
(mn:NodeRefRole): New role. |
| 121 |
|
(mn:type): New property. |
| 122 |
|
(mn:subnode0, mn:subnode1, mn:subnode2, mn:irefnode0, |
| 123 |
|
mn:origin0, mn:anydata1, mn:anydata2, mn:noderef): New properties. |
| 124 |
|
|
| 125 |
|
* Makefile: Rules to make "DIS/DISDump" is separeted |
| 126 |
|
from "DIS/DISDoc". |
| 127 |
|
|
| 128 |
|
* DIS.dis (getFor): Loads database module if unread |
| 129 |
|
"for" is referenced. |
| 130 |
|
(addResourceList, getResourceList): New method. |
| 131 |
|
(ManakaiDISModuleLite): New class. |
| 132 |
|
|
| 133 |
|
2005-09-25 Wakaba <wakaba@suika.fam.cx> |
| 134 |
|
|
| 135 |
|
* DIS.dis (RESOURCE_NOT_DEFINED_ERR): New error code. |
| 136 |
|
(getResource): New "dae" and "daem" database format support. |
| 137 |
|
(DISResourceList): New type. |
| 138 |
|
(uriRef, ownerModuleURI, ownerModuleURIRef): New attributes. |
| 139 |
|
(addChildResource, addDynamicChildResource): New methods. |
| 140 |
|
(getChildResourceList, getDynamicChildResourceList): New method. |
| 141 |
|
(getChildResourceListByType): New method. |
| 142 |
|
(parentResource, dynamicParentResource): New attributes. |
| 143 |
|
|
| 144 |
|
* Makefile (DAC_SUFFIX): Changed to ".dae". |
| 145 |
|
(DAEM_SUFFIX): New. |
| 146 |
|
|
| 147 |
|
|
| 148 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
| 149 |
|
|
| 150 |
|
* ManakaiNode.dis: Use "disPerl:H" instead |
| 151 |
|
of "disPerl:Q" for hash keys. |
| 152 |
|
(NodeStem): Property value "mn:treeID" |
| 153 |
|
has changed to scalar reference. |
| 154 |
|
|
| 155 |
|
2005-09-24 Wakaba <wakaba@suika.fam.cx> |
| 156 |
|
|
| 157 |
|
* ManakaiNode.dis (mn:node, mn:nodeID, mn:treeID): New |
| 158 |
|
properties. |
| 159 |
|
(mn:stemName, mn:refName): New properties. |
| 160 |
|
|
| 161 |
|
* Makefile (.discore-all.pm): New rule to create dis-related |
| 162 |
|
Perl module files at once. |
| 163 |
|
|
| 164 |
|
* DIS.dis (PERL_HASH_KEY_ALREADY_DEFINED_ERR): New error code. |
| 165 |
|
(hashKeyName, hashKeyScope, anotherURI): New error parameters. |
| 166 |
|
|
| 167 |
|
* ManakaiNode.dis, DIS.dis, PerlCode.dis: Use "disPerl:H" instead |
| 168 |
|
of "disPerl:Q" for hash keys. |
| 169 |
|
|
| 170 |
|
2005-09-23 Wakaba <wakaba@suika.fam.cx> |
| 171 |
|
|
| 172 |
|
* DIS.dis (DISParser.new): New method. |
| 173 |
|
(hasFeature): Removed. ManakaiDISAnyResource now |
| 174 |
|
extends DOMFeature:ManakaiHasFeatureByGetFeature. |
| 175 |
|
(readProperties): Support for property value data |
| 176 |
|
types DISLang:MemberRef and dx:XCRef added. |
| 177 |
|
(ManakaiDISExceptionTarget): It is now an alias |
| 178 |
|
for dx:ManakaiDefaultExceptionHandler. |
| 179 |
|
|
| 180 |
|
2005-09-22 Wakaba <wakaba@suika.fam.cx> |
| 181 |
|
|
| 182 |
|
* Makefile: DAC_SUFFIX changed to ".dad". |
| 183 |
|
|
| 184 |
|
* DIS.dis (Util:): Added for DIS|ForEmpty and DIS|ForLatest. |
| 185 |
|
(disIsNullable): Reimplemented. |
| 186 |
|
|
| 187 |
|
2005-09-21 Wakaba <wakaba@suika.fam.cx> |
| 188 |
|
|
| 189 |
|
* DIS.dis (addNamespaceBinding): New method. |
| 190 |
|
|
| 191 |
|
2005-09-20 Wakaba <wakaba@suika.fam.cx> |
| 192 |
|
|
| 193 |
|
* DIS.dis: Use valueRef and nodeIDRef where possible so |
| 194 |
|
that dad file can share text data if possible. |
| 195 |
|
For resources, {subOf} and {supOf} is now optional. |
| 196 |
|
(sourceNodeIDRef): New attribute. |
| 197 |
|
|
| 198 |
|
2005-09-19 Wakaba <wakaba@suika.fam.cx> |
| 199 |
|
|
| 200 |
|
* DIS.dis: Parameter "databaseArg" added to various |
| 201 |
|
methods to support objects that have no associated |
| 202 |
|
database. |
| 203 |
|
(getNamespaceBindingList, getDefaultNamespaceURIRef): New |
| 204 |
|
methods. |
| 205 |
|
(NO_RDF_TYPE_ERR): New error type. |
| 206 |
|
(loadResource): Throws NO_RDF_TYPE_ERR if no rdf:type |
| 207 |
|
attribute specified for a resource definition. |
| 208 |
|
|
| 209 |
|
2005-09-16 Wakaba <wakaba@suika.fam.cx> |
| 210 |
|
|
| 211 |
|
* DIS.dis (DISResourceProp): Methods reimplemented to |
| 212 |
|
support DIS/Value values. |
| 213 |
|
|
| 214 |
|
2005-09-15 Wakaba <wakaba@suika.fam.cx> |
| 215 |
|
|
| 216 |
|
* DIS.dis (readProperties): New methods. Emploies DIS/Value |
| 217 |
|
classes for internal data structure. |
| 218 |
|
|
| 219 |
|
2005-09-14 Wakaba <wakaba@suika.fam.cx> |
| 220 |
|
|
| 221 |
|
* DIS.dis: Now references DIS/Value.dis. |
| 222 |
|
(DISAnyResource): New interface separeted from DISModule. |
| 223 |
|
DISFor and DISResource. |
| 224 |
|
|
| 225 |
|
2005-09-13 Wakaba <wakaba@suika.fam.cx> |
| 226 |
|
|
| 227 |
|
* DIS.dis: Perl-related methods are moved to a separate |
| 228 |
|
module "DIS/Perl.dis". |
| 229 |
|
|
| 230 |
|
2005-09-08 Wakaba <wakaba@suika.fam.cx> |
| 231 |
|
|
| 232 |
|
* Makefile: Renewaled. |
| 233 |
|
|
| 234 |
|
* ManakaiNode.dis (free): New method. |
| 235 |
|
|
| 236 |
|
2005-09-07 Wakaba <wakaba@suika.fam.cx> |
| 237 |
|
|
| 238 |
|
* DIS.dis: Interfaces added. |
| 239 |
|
(free): New method. |
| 240 |
|
|
| 241 |
|
* PerlCode.dis: Interfaces added. |
| 242 |
|
|
| 243 |
|
2005-09-06 Wakaba <wakaba@suika.fam.cx> |
| 244 |
|
|
| 245 |
|
* DIS.dis (plName): Use AppName attribute, if any, |
| 246 |
|
for ManakaiDOM:ConstGroup resources. |
| 247 |
|
|
| 248 |
|
2005-09-05 Wakaba <wakaba@suika.fam.cx> |
| 249 |
|
|
| 250 |
|
* DIS.dis (plGeneratePerlModuleFile): Don't generate code for |
| 251 |
|
the same class or variable twice whose alias is defined |
| 252 |
|
in the same module. |
| 253 |
|
|
| 254 |
|
2005-09-04 Wakaba <wakaba@suika.fam.cx> |
| 255 |
|
|
| 256 |
|
* PerlCode.dis (ManakaiPerlSub.IntClone): Copies pc:localName |
| 257 |
|
and pc:prortotype properties. |
| 258 |
|
|
| 259 |
|
* DIS.dis (plAdditionalISAPackages): New attribute. |
| 260 |
|
|
| 261 |
|
2005-09-01 Wakaba <wakaba@suika.fam.cx> |
| 262 |
|
|
| 263 |
|
* DIS.dis (plCodeFragment): The ManakaiDOM:boolean datatype |
| 264 |
|
supported. |
| 265 |
|
|
| 266 |
2005-08-31 Wakaba <wakaba@suika.fam.cx> |
2005-08-31 Wakaba <wakaba@suika.fam.cx> |
| 267 |
|
|
| 268 |
* DIS.dis (uris): New attribute. |
* DIS.dis (uris): New attribute. |