-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.xml
997 lines (911 loc) · 46.4 KB
/
package.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.7.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0
http://pear.php.net/dtd/tasks-1.0.xsd
http://pear.php.net/dtd/package-2.0
http://pear.php.net/dtd/package-2.0.xsd">
<name>Piece_ORM</name>
<channel>pear.piece-framework.com</channel>
<summary>An object-relational mapping framework</summary>
<description>Piece_ORM is an object-relational mapping framework.
Piece_ORM is a simple framework based on the DataMapper pattern, and features stdClass centered approach.</description>
<lead>
<name>KUBO Atsuhiro</name>
<user>iteman</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2008-08-31</date>
<time>02:01:59</time>
<version>
<release>1.2.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 1.2.0</notes>
<contents>
<dir baseinstalldir="/" name="/">
<dir name="data">
<dir name="schemas">
<dir name="mssql">
<file name="Case_Sensitive.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="compositeprimarykey.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="computers.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="departments.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="emails.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_emails.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_skills.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="files.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="nonprimarykeys.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="skills.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2_unusualname_12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname_12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /data/schemas/mssql -->
<dir name="mysql">
<file name="Case_Sensitive.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="compositeprimarykey.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="computers.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="departments.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="emails.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_emails.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_skills.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="files.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="nonprimarykeys.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="skills.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2_unusualname_12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname_12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /data/schemas/mysql -->
<dir name="pgsql">
<file name="Case_Sensitive.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="compositeprimarykey.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="computers.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="departments.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="emails.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_emails.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_skills.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="files.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="geometric_types.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="nonprimarykeys.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="skills.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2_unusualname_12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname_12.ddl" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /data/schemas/pgsql -->
</dir> <!-- /data/schemas -->
<file name="piece-orm-mapper.yaml" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="piece-orm.yaml" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /data -->
<dir name="docs">
<file name="LICENSE" role="doc">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /docs -->
<dir name="Piece">
<dir name="ORM">
<dir name="Config">
<file name="Factory.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/Config -->
<dir name="Mapper">
<dir name="AssociatedObjectLoader">
<file name="Common.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ManyToMany.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ManyToOne.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OneToMany.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OneToOne.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/Mapper/AssociatedObjectLoader -->
<dir name="AssociatedObjectPersister">
<file name="Common.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ManyToMany.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ManyToOne.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OneToMany.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OneToOne.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/Mapper/AssociatedObjectPersister -->
<dir name="RelationshipNormalizer">
<file name="Common.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ManyToMany.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ManyToOne.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OneToMany.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OneToOne.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/Mapper/RelationshipNormalizer -->
<file name="Common.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Factory.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Generator.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="LOB.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ObjectLoader.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ObjectPersister.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="QueryBuilder.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="QueryExecutor.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="QueryType.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RelationshipType.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/Mapper -->
<dir name="MDB2">
<dir name="Decorator">
<dir name="Reverse">
<file name="Mssql.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/MDB2/Decorator/Reverse -->
</dir> <!-- /Piece/ORM/MDB2/Decorator -->
<dir name="NativeTypeMapper">
<file name="Common.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Mssql.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Mysql.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Pgsql.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/MDB2/NativeTypeMapper -->
</dir> <!-- /Piece/ORM/MDB2 -->
<dir name="Metadata">
<file name="Factory.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM/Metadata -->
<file name="Config.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Context.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Env.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Error.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Inflector.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Metadata.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece/ORM -->
<file name="ORM.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /Piece -->
<dir name="tests">
<dir name="Piece">
<dir name="ORM">
<dir name="Config">
<dir name="FactoryTestCase">
<dir name="CacheIDsShouldBeUniqueInOneCacheDirectory1">
<file name="piece-orm-config.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Config/FactoryTestCase/CacheIDsShouldBeUniqueInOneCacheDirectory1 -->
<dir name="CacheIDsShouldBeUniqueInOneCacheDirectory2">
<file name="piece-orm-config.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Config/FactoryTestCase/CacheIDsShouldBeUniqueInOneCacheDirectory2 -->
<file name="piece-orm-config.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Config/FactoryTestCase -->
<file name="FactoryTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Config -->
<dir name="Mapper">
<dir name="CompatibilityTests">
<dir name="CaseSensitive">
<file name="computers.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="departments.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="emails.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_emails.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="employees_skills.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="skills.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname1_2_unusualname_12.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="unusualname_12.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper/CompatibilityTests/CaseSensitive -->
<dir name="Overwrite">
<file name="Employees.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper/CompatibilityTests/Overwrite -->
<file name="Case_Sensitive.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Compositeprimarykey.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Computers.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Departments.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Emails.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Employees.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="EmployeesEmails.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="EmployeesSkills.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Files.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Nonprimarykeys.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="picture.jpg" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="picture.png" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Skills.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Unusualname1_2.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Unusualname1_2_unusualname_12.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Unusualname12.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Unusualname_12.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper/CompatibilityTests -->
<dir name="FactoryTestCase">
<dir name="CacheIDsShouldUniqueInOneCacheDirectory1">
<file name="Employees.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper/FactoryTestCase/CacheIDsShouldUniqueInOneCacheDirectory1 -->
<dir name="CacheIDsShouldUniqueInOneCacheDirectory2">
<file name="Employees.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper/FactoryTestCase/CacheIDsShouldUniqueInOneCacheDirectory2 -->
<file name="Employees.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper/FactoryTestCase -->
<dir name="PgsqlTestCase">
<file name="GeometricTypes.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper/PgsqlTestCase -->
<file name="CompatibilityTests.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FactoryTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="MssqlTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="MysqlTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="PgsqlTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Mapper -->
<dir name="Metadata">
<file name="FactoryTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM/Metadata -->
<file name="ConfigTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InflectorTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORM -->
<dir name="ORMTestCase">
<dir name="SetDatabase">
<file name="piece-orm-config.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORMTestCase/SetDatabase -->
<file name="Case_Sensitive.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Employees.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="piece-orm-config.yaml" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece/ORMTestCase -->
<file name="ORMTestCase.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/Piece -->
<file name="prepare.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests -->
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>4.3.0</min>
</php>
<pearinstaller>
<min>1.4.3</min>
</pearinstaller>
<package>
<name>MDB2</name>
<channel>pear.php.net</channel>
<min>2.3.0</min>
</package>
<package>
<name>Cache_Lite</name>
<channel>pear.php.net</channel>
<min>1.7.0</min>
</package>
<package>
<name>PEAR</name>
<channel>pear.php.net</channel>
<min>1.4.3</min>
</package>
</required>
</dependencies>
<phprelease />
<changelog>
<release>
<version>
<release>1.2.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-08-31</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 1.2.0</notes>
</release>
<release>
<version>
<release>1.1.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-07-13</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 1.1.0
* Improved error handling: The behavior of internal error handling has been changed so as to handle only own and "exception" level errors.
* Improved Automatic Timestamp: The behavior of insert() has been changed so that the current timestamp to be set to the updated_at field.
* Many defect fixes: Many defects related to LOB support and the useMapperNameAsTableName option and a few other defects have been fixed.
See the following release notes for details.
Enhancements
============
- Changed the behavior of object loading so that a field value of an object is always set null if the field value of the database is NULL.
- Renamed from PIECE_ORM_ERROR_INVOCATION_FAILED to PIECE_ORM_ERROR_CANNOT_INVOKE.
- Changed the behavior of internal error handling so as to handle only own and "exception" level errors.
- Changed the behavior of insert() so that the current timestamp to be set to the updated_at field. (Ticket #99)
Defect Fixes
============
- Fixed a defect that caused an fatal error "PHP Fatal error: Call to a member function getSource() on a non-object" to be raised when insert()/update() call on an object which contains one or more LOB fields setting null. (Ticket #96) (Piece_ORM_Mapper_Common)
- Fixed a defect that a LOB field value to be null after invoking update() even if the value is not changed. (Ticket #95) (Piece_ORM_Mapper_Common, Piece_ORM_Mapper_LOB)
- Fixed the definition of "options". (Ticket #88) (data/piece-orm.yaml)
- Fixed a defect that caused a LOB value to be damaged after invoking update if the value is not changed on PostgreSQL. (Ticket #97) (Piece_ORM_Mapper_Common)
- Fixed a defect so that all blob values are set to the same value as the value of the last placeholder in a query if multiple blobs are included in the query. (Piece_ORM_Mapper_Common)
- Fixed a defect so that any queries with relationships do not work if the useMapperNameAsTableName option is enabled.
- Fixed a defect that caused an exception to be raised when inserting a record to a table including one or more datetime field which is NOT NULL and *not* has default value if Piece_ORM was used with MDB2_Driver_mysql 1.5.0b1. (Ticket #100) (Piece_ORM_Metadata_Factory)
- Fixed a defect that caused variable names in a default query to be broken if the useMapperNameAsTableName option was enabled. (Ticket #87) (Piece_ORM_Context)</notes>
</release>
<release>
<version>
<release>1.0.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<date>2008-04-20</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available. This is the first stable release of Piece_ORM.
What's New in Piece_ORM 1.0.0
* Automatic Timestamp: The current timestamp is set to the createdAt/updatedAt property automatically when insert/update if a table has a created_at/updated_at field.
* Optimistic Locking: Optimistic Locking by the lock_version field has been supported only in default queries.
* LOB support: The LOB support provides easy-to-use interfaces to handle LOBs using mappers.
* Array support: Quotable (scalar or null) values in an array are expanded with a comma in a query.
* the useMapperNameAsTableName option: If you want to use a mapper name as a table name, set the useMapperNameAsTableName option to true in the piece-orm-config.yaml.
See the following release notes for details.
Enhancements
============
- Added a feature so that quotable (scalar or null) values in an array are expanded with a comma in a query. (Piece_ORM_Mapper_Common)
- Added a built-in variable $__table which is replaced with an appropriate table name in mapper definition files. (Ticket #67) (Piece_ORM_Mapper_Common)
- Added a feature so as to use a mapper name as a table name by setting the useMapperNameAsTableName option to true in the piece-orm-config.yaml. (Ticket #71)
- Removed support for Identity Map.
- Changed factory() so as to use the given cache directory as is. (Ticket #58) (Piece_ORM_Config_Factory)
- Changed setConfigDirectory()/setCacheDirectory() to not return the previous value. (Ticket #56) (Piece_ORM_Mapper_Factory, Piece_ORM_Metadata_Factory)
- Added support for LOB.
- Added a feature so that a DBMS specific function to get the current timestamp is set to the createdAt/updatedAt property automatically when insert/update. (Ticket #81) (Piece_ORM_Mapper_Common)
- Added support for Optimistic Locking by the lock_version field only in default queries. (Ticket #84) (Piece_ORM_Mapper_Generator)</notes>
</release>
<release>
<version>
<release>0.8.1</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2008-01-13</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.8.1
* Several Defect Fixes: A defect that caused an error "Fatal error: Cannot redeclare ..." to be raised if there are duplicate method names case insensitive in a configuration and other defects are fixed.
See the following release notes for details.
Defect Fixes
============
- Fixed a defect that caused update()/delete() to be failed with a table which has a composite primary key. (Ticket #62) (Piece_ORM_Mapper_Generator)
- Fixed a defect that caused the result of findXXX()/findAllXXX() to be broken with a table which has a composite primary key. (Ticket #63) (Piece_ORM_Metadata)
- Fixed a defect that mappers cannot work with a table which includes numbers and underscores in the table name and the column names. (Ticket #65) (Piece_ORM_Inflector)
- Fixed a defect that caused the result of a finder method call to be broken if the mapper has already used in relationships before. (Ticket #69) (Piece_ORM_Mapper_AssociatedObjectLoader_Common)
- Fixed a defect that caused an error "Fatal error: Cannot redeclare ..." to be raised if there are duplicate method names case insensitive in a configuration. (Ticket #59) (Piece_ORM_Mapper_Generator)</notes>
</release>
<release>
<version>
<release>0.8.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-09-24</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.8.0
* Enhanced update() and delete(): update() and delete() now work a table which has no primary keys.
* A few Defect Fixes: Two minor defects that caused the same cache to be used if the relative paths of the configuration files (or the mapper definition files) are same even though the absolute paths of the configuration files (or the mapper definition files) are different are fixed. And also a defect that caused variables to be tainted if the given object has "criteria" or "methodName" properties is fixed.
See the following release notes for details.
Enhancements
============
- Improved the error message for the PIECE_ORM_ERROR_INVOCATION_FAILED exception when building a query. (Piece_ORM_Mapper_Common)
- Changed update()/delete() so as to work with a table which has no primary keys. (Piece_ORM_Mapper_ObjectPersister)
Defect Fixes
============
- Fixed the defect that caused the cache IDs to duplicate if the relative paths of the configuration files are same even though the absolute paths of the configuration files are different. (Piece_ORM_Config_Factory)
- Fixed the defect that caused the cache IDs to duplicate if the relative paths of the mapper definition files are same even though the absolute paths of the mapper definition files are different. (Piece_ORM_Mapper_Factory)
- Fixed the defect that caused variables to be tainted if the given object has "criteria" or "methodName" properties. (Piece_ORM_Mapper_Common)</notes>
</release>
<release>
<version>
<release>0.7.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-08-27</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.7.0
* Native datatypes mapping support: Additional mapping from DBMS native datatypes to MDB2 datatypes can be defined by Piece_ORM_MDB2_NativeTypeMapper_XXX::addMap().
See the following release notes for details.
Enhancements
============
- Added generic support for mapping from DBMS native datatypes to MDB2 datatypes. (Piece_ORM_Context, Piece_ORM_MDB2_NativeTypeMapper_XXX)
- Changed configure() so that setDatabase() does not call if no database found in the current configuration. (Piece_ORM)
- Updated setDatabase() so that a PIECE_ORM_ERROR_NOT_FOUND exception is raised when an undefind database is given. (Piece_ORM_Config, Piece_ORM_Context)
- Added code so as to clear all database handles in clear(). (Piece_ORM_Context)</notes>
</release>
<release>
<version>
<release>0.6.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-08-16</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.6.0
* Many-to-many relationships defect fixed: A defect that caused many-to-many relationships to fail if a inverse table contained a underscore separated primary key is fixed.
* Default queries: The default query is automatically generated if the query for a method is not given.
* Static Sort Orders: Static sort orders can be defined by mapper definition files.
See the following release notes for details.
Enhancements
============
- Added a feature so that the default query is automatically generated if the query for a method is not given.
- Added support for static sort order by mapper definition files. (Ticket #48)
Defect Fixes
============
- Fixed a defect that caused many-to-many relationships to fail if a inverse table contained a underscore separated primary key. (#Ticket 49)</notes>
</release>
<release>
<version>
<release>0.5.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-08-10</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.5.0
* insertXXX()/updateXXX()/deleteXXX(): Any methods for data manipulation can be defined by mapper configuration files.
* Update and Delete With No Primary Key Values: Primary key values are not required when executing a update or delete query.
* Static Queries: Executing static queries with any findXXX, findAllXXX, findOneXXX, insertXXX, and updateXXX methods are now supported.
* Unique Constraint Error Detection: A PIECE_ORM_ERROR_CONSTRAINT exception is thrown when unique constraint error is occured.
* Environment Settings: A configuration file, a mapper definition file, and the metadata for a table be always read when the current environment is not production.
* A few Defect Fixes: A serious defect that caused invalid objects to return when executing findAllXxx() with no primary keys in SQL has been fixed. And other defects have been fixed.
See the following release notes for details.
Enhancements
============
- Changed update() so as to restore the previous identity map setting. (Piece_ORM_Mapper_AssociatedObjectPersister_OneToMany, Piece_ORM_Mapper_AssociatedObjectPersister_OneToOne, Piece_ORM_Mapper_Common)
- Added support for insertXXX(), updateXXX() and deleteXXX(). (Ticket #43) (Piece_ORM_Mapper_Common, Piece_ORM_Mapper_Generator, Piece_ORM_Mapper_ObjectPersister)
- Changed code so that the primary key values are not required when executing a update or delete query. (Ticket #46) (Piece_ORM_Mapper_ObjectPersister)
- Changed update() so as to remove the object from the list of the loaded objects only if the primary key is contained in the given object. (Piece_ORM_Mapper_ObjectPersister)
- Added support for executing static queries with any findXXX, findAllXXX, findOneXXX, insertXXX, and updateXXX methods. (Ticket #42) (Piece_ORM_Mapper_Common, Piece_ORM_Mapper_Generator, Piece_ORM_Mapper_ObjectPersister)
- Added code so that a PIECE_ORM_ERROR_CONSTRAINT exception is thrown when unique constraint error is occured. (Ticket #44)
- Updated code so that a configuration file, a mapper definition file, and the metadata for a table be always read when the current environment is not production. (Ticket #45)
Defect Fixes
============
- Fixed a defect that caused invalid objects to return when executing findAllXxx() with no primary keys in SQL. (Piece_ORM_Mapper_ObjectLoader)
- Fixed the problem that getCount() could not work with addOrder(). (Piece_ORM_Mapper_Common)
- Fixed the regexp for findOne. (Piece_ORM_Mapper_Generator)</notes>
</release>
<release>
<version>
<release>0.4.1</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-06-21</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.4.1
* A Defect Fix: A defect in executing query is fixed.
See the following release notes for details.
Defect Fixes
============
Mappers:
- Fixed a defect that caused an exception to raise when executing query with an object which includes one or more PHP NULL values. (Ticket #40)</notes>
</release>
<release>
<version>
<release>0.4.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-06-19</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.4.0
* Microsoft SQL Server Support: Microsoft SQL Server is supported.
* A Defect Fix: A defect that getCount() could not work with findAll() is fixed.
See the following release notes for details.
Enhancements
============
Mappers:
- Changed a portion of the query building process so as to quote based on only real values instead of metadata. (Piece_ORM_Mapper_Common)
- Added support for Microsoft SQL Server. (Ticket #38)
Kernel:
- Changed factory() to throw an exception if the configuration directory or the configuration file not found or the configuration file is not readable. (Ticket #37) (Piece_ORM_Config_Factory)
Defect Fixes
============
Mappers:
- Fixed a defect so that getCount() could not work with findAll(). (Piece_ORM_Mapper_Common)</notes>
</release>
<release>
<version>
<release>0.3.0</release>
<api>0.3.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-05-19</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>A new release of Piece_ORM is now available.
What's New in Piece_ORM 0.3.0
* getCount method: getCount() is used to get the number of rows a query would have returned without a LIMIT clause in the latest findAll method execution.
* findOneXxx methods: findOneXxx methods can be defined with arbitrary SQL queries to get the value from the first column of the first row of the result set.
See the following release notes for details.
Enhancements
============
Mappers:
- Added more strict quoting and removing unused properties when building a query.
- Added getCount() that is used to get the number of rows a query would have returned without a LIMIT clause in the latest findAll method execution. (Ticket #33)
- Added a feature that findOneXxx methods can be defined with arbitrary SQL queries to get the value from the first column of the first row of the result set. (Ticket #34)
- Added findOneWithQuery() to get the value from the first column of the first row of the result set with the given query.
Kernel:
- Changed the error type on all Piece_ORM_Error::pushError() calls from "warning" to "exception".
- Updated setDatabase() to throw the same exception as getConfiguration(), getMapper(), etc. have been used.
- Removed code that avoided calling error handler.</notes>
</release>
<release>
<version>
<release>0.2.0</release>
<api>0.2.0</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<date>2007-05-09</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>This is the first beta release of Piece_ORM.
What's New in Piece_ORM 0.2.0
* Relationships: Many-to-Many, One-to-Many, Many-to-One, and One-to-One relationships are supported on object loading/saving.
* Simple configuration: Piece_ORM::configure() requires only three arguments.
* Limit and offset: LIMIT and OFFSET are supported by Piece_ORM_Mapper_XXX::setLimit().
* Sorting orders: ORDER BY clause is supported by Piece_ORM_Mapper_XXX::addOrder().
* Object creation: Piece_ORM::createObject() and Piece_ORM_Mapper_XXX::createObject() can be used to create an object from metadata.
* Object conversion: Piece_ORM::dressObject() can be used to convert an object into a specified object.
See the following release notes for details.
Enhancements
============
Mappers:
- Added a feature so as to throw an exception if detecting problem when building a query. (Ticket #9)
- Changed the method naming convention to not require "By" for findXXX/findAllXXX methods like "findByXXX", "findAllByXXX".
- Added support for relationships.
- Added support for LIMIT and OFFSET with setLimit(). (Ticket #14)
- Added support ORDER BY clause with addOrder(). (Ticket #21)
- Added support for Identity Map. (Ticket #23)
- Added createObject() to create an object from metadata.
- Moved _executeQuery() to public.
- Added findWithQuery() to find an object with a query.
- Added method name validation.
- Changed delete() so that its argument can only be specified an object.
- Added createObject() to create an object from metadata.
- Changed behavior for creating/getting mapper objects so that the factory sets the current database handle to a mapper object every time it is called.
- Removed the method element.
Entry Point:
- Removed a Piece_ORM_Config object from the arguments of configure().
- Added getConfiguration() to get the Piece_ORM_Config object after calling configure().
- Updated getMapper()/getConfiguration() so as to return null if calling their methods before calling configure().
- Removed two the cache directories for mappers/metadata from the arguments of configure(). Now, the caches of mappers/metadata are stored in the same directory where a Piece_ORM_Config object is cached in.
- Updated configure() so as to set the current database explicitly.
- Added setDatabase() for setting a database as the current database.
- Added createObject() to create an object from metadata.
- Added dressObject() to convert an object into a specified object.
Metadata:
- Added hasField() for checking whether a table has the given field.
Kernel:
- Removed the default value from getDSN()/getOptions(). (Piece_ORM_Config)
- Changed the way of configuration. Now setDSN(), setOptions(), and setDirectorySuffix() methods are used for configuration instead of addConfiguration(). (Piece_ORM_Config)
- Removed addConfiguration(). (Piece_ORM_Config)
- Added getDefaultDatabase() for getting the default database. (Piece_ORM_Config)
- Adjusted to the new way of configuration. (Piece_ORM_Config_Factory)
- Added setMapperConfigDirectory() for setting the configuration directory for the mapper configuration. (Piece_ORM_Context)
- Updated setDatabase() so as to set the configuration directory with a directory suffix for the mapper configuration. (Piece_ORM_Context)
- Added an error code PIECE_ORM_ERROR_INVALID_CONFIGURATION. (Piece_ORM_Error)
- Added support for PostgreSQL "timestamp with time zone".
Defect Fixes
============
Mappers:
- Fixed a problem that a built-in query is overwritten if only the relationship element is given for a built-in method.
- Fixed a problem that a literal as a criterion cannot use with user-defined method.</notes>
</release>
<release>
<version>
<release>0.1.0</release>
<api>0.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>beta</api>
</stability>
<date>2007-03-09</date>
<license uri="http://www.opensource.org/licenses/bsd-license.php">BSD License (revised)</license>
<notes>This is the first release of Piece_ORM.</notes>
</release>
</changelog>
</package>