-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.xml
1360 lines (1321 loc) · 61.3 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
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.5.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>HTML_QuickForm2</name>
<channel>pear.php.net</channel>
<extends>HTML_QuickForm</extends>
<summary>PHP5 rewrite of HTML_QuickForm package</summary>
<description>
PHP5 rewrite of HTML_QuickForm and HTML_QuickForm_Controller packages.
This package provides methods to create, validate and render HTML forms.
Features:
* Supports all form elements defined by HTML standard, provides several
custom elements
* Server-side and client-side validation, several common rules provided
* Multipage forms (tabbed forms and wizards)
* Pluggable elements, rules, renderers and renderer plugins
Major advantages over PHP4 version:
* Most of the package's functionality is covered by unit tests
* DOM-like API for building the form structure, new streamlined API for
elements' values handling
* Default rendering without tables (inspired by
HTML_QuickForm_Renderer_Tableless)
* Renderer plugins for elements with complex rendering needs
* Ability to chain validation rules with 'and' and 'or'
* Client-side validation can run "live" on changing the form fields,
validation errors are displayed near the fields instead of in alert()
</description>
<lead>
<name>Alexey Borzov</name>
<user>avb</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<lead>
<name>Bertrand Mansion</name>
<user>mansion</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2023-11-02</date>
<version>
<release>2.3.2</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Tested on PHP 8.2 and 8.3
* psalm version 5 is used for static analysis, fixed new-found issues
* JS generated by Length rule now checks whether an element's value itself
is empty, not its length property
* Added missing getter methods for existing setters:
* HTML_QuickForm2_Element_Button::getContent()
* HTML_QuickForm2_Element_Static::getTagName()
</notes>
<contents>
<dir name="/">
<dir name="HTML">
<dir name="QuickForm2">
<dir name="Container">
<dir name="Repeat">
<file name="JavascriptBuilder.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Container/Repeat -->
<file name="Fieldset.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Group.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Repeat.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Container -->
<dir name="Controller">
<dir name="Action">
<file name="Back.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Direct.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Display.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Jump.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Next.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Submit.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Controller/Action -->
<file name="Action.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="DefaultAction.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Page.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="SessionContainer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Controller -->
<dir name="DataSource">
<file name="Array.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NullAware.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Session.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Submit.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="SuperGlobal.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/DataSource -->
<dir name="Element">
<dir name="Select">
<file name="Optgroup.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OptionContainer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="OptionIterator.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Element/Select -->
<file name="Button.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Date.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Hierselect.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Input.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputButton.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputCheckable.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputCheckbox.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputFile.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputHidden.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputImage.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputPassword.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputRadio.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputReset.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputSubmit.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputText.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Script.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Select.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Static.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Textarea.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Element -->
<dir name="MessageProvider">
<file name="Default.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Strftime.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/MessageProvider -->
<dir name="Renderer">
<file name="Array.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Callback.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Default.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Plugin.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Proxy.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Stub.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Renderer -->
<dir name="Rule">
<file name="Callback.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Compare.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Each.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Email.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Empty.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Length.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="MaxFileSize.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="MimeType.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Nonempty.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NotCallback.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NotRegex.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Regex.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Required.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2/Rule -->
<file name="Container.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ContainerIterator.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Controller.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="DataSource.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Element.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Exception.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="InvalidArgumentException.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="JavascriptBuilder.php" role="php">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Loader.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="MessageProvider.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Node.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NotFoundException.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Renderer.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="Rule.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML/QuickForm2 -->
<file name="QuickForm2.php" role="php">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /HTML -->
<dir name="tests">
<dir name="QuickForm2">
<dir name="Container">
<file name="FieldsetTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="GroupTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RepeatTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/QuickForm2/Container -->
<dir name="Controller">
<dir name="Action">
<file name="BackTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="DirectTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="DisplayTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="JumpTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NextTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="SubmitTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
<file name="PageTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/QuickForm2/Controller -->
<dir name="DataSource">
<file name="ArrayTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="SuperGlobalTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/QuickForm2/DataSource -->
<dir name="Element">
<file name="ButtonTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="DateTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="HierselectTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputButtonTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputCheckableTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputCheckboxTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputFileTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputHiddenTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputImageTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputPasswordTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputResetTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputSubmitTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ScriptTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="SelectTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="StaticTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="TextareaTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/QuickForm2/Element -->
<dir name="Renderer">
<file name="ArrayTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="CallbackTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="DefaultTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="StubTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir>
<dir name="Rule">
<file name="CallbackTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="CompareTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="EachTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="EmailTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="EmptyTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="LengthTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="MaxFileSizeTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="MimeTypeTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NonemptyTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NotCallbackTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NotRegexTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RegexTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RequiredTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /QuickForm2/Rule -->
<dir name="_files">
<file name="1024-bytes.upload" role="test" />
<file name="FakeElement.php" role="test" />
<file name="FakeRule.php" role="test" />
<file name="InvalidFile.php" role="test" />
</dir> <!-- /tests/QuickForm2/_files -->
<file name="ContainerTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ContainerOverloadTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ControllerTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ElementTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FactoryTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FilterTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="JavascriptBuilderTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NodeTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RendererTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RuleTest.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/QuickForm2 -->
<dir name="stubs">
<file name="AttributeParser.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ConstRule.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ContainerImpl.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="ElementImpl.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FakeRenderer.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FakeRendererAnotherHelloPlugin.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FakeRendererGoodbyePlugin.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FakeRendererHelloPlugin.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="FormRule.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="InputImpl.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="NodeImpl.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="RuleRequest17576.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests/stubs -->
<file name="QuickForm2Test.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="TestHelper.php" role="test">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /tests -->
<dir name="docs">
<file name="LICENSE" role="doc" />
<dir name="examples">
<dir name="controller">
<file name="simple.php" role="doc">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
<file name="tabbed.php" role="doc">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
<file name="wizard.php" role="doc">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
</dir> <!-- /docs/examples/controller -->
<dir name="js">
<file name="dualselect.js" role="doc" />
<file name="hierselect-server.php" role="doc" />
</dir> <!-- /docs/examples/js -->
<dir name="renderers">
<dir name="templates">
<file name="array-twig.tpl" role="doc" />
</dir> <!-- /docs/examples/renderers/templates -->
<file name="array-twig.php" role="doc">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
</dir> <!-- /docs/examples/renderers -->
<dir name="support">
<file name="hierselect-loader.php" role="doc" />
</dir> <!-- /docs/examples/support -->
<file role="doc" name="basic-elements.php">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
<file role="doc" name="builtin-rules.php">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
<file role="doc" name="default-renderer.php" />
<file role="doc" name="dualselect.php">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
<file name="hierselect-ajax.php" role="doc">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
<file name="repeat.php" role="doc">
<tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
</file>
</dir> <!-- /docs/examples -->
</dir>
<dir name="data/js">
<dir name="min">
<file name="quickform.js" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="quickform-hierselect.js" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="quickform-repeat.js" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /data/js/min -->
<file name="quickform.js" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="quickform-hierselect.js" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
<file name="quickform-repeat.js" role="data">
<tasks:replace from="@package_version@" to="version" type="package-info" />
</file>
</dir> <!-- /data/js -->
<file name="data/quickform.css" role="data" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>5.6.0</min>
</php>
<pearinstaller>
<min>1.10.0</min>
</pearinstaller>
<package>
<name>HTML_Common2</name>
<channel>pear.php.net</channel>
<min>2.3.1</min>
</package>
</required>
</dependencies>
<phprelease>
<filelist>
<install as="quickform.css" name="data/quickform.css" />
<install as="js/quickform.js" name="data/js/quickform.js" />
<install as="js/quickform-hierselect.js" name="data/js/quickform-hierselect.js" />
<install as="js/quickform-repeat.js" name="data/js/quickform-repeat.js" />
<install as="js/min/quickform.js" name="data/js/min/quickform.js" />
<install as="js/min/quickform-hierselect.js" name="data/js/min/quickform-hierselect.js" />
<install as="js/min/quickform-repeat.js" name="data/js/min/quickform-repeat.js" />
<install as="LICENSE" name="docs/LICENSE" />
<install as="examples/controller/simple.php" name="docs/examples/controller/simple.php" />
<install as="examples/controller/tabbed.php" name="docs/examples/controller/tabbed.php" />
<install as="examples/controller/wizard.php" name="docs/examples/controller/wizard.php" />
<install as="examples/js/dualselect.js" name="docs/examples/js/dualselect.js" />
<install as="examples/js/hierselect-server.php" name="docs/examples/js/hierselect-server.php" />
<install as="examples/renderers/array-twig.php" name="docs/examples/renderers/array-twig.php" />
<install as="examples/renderers/templates/array-twig.tpl" name="docs/examples/renderers/templates/array-twig.tpl" />
<install as="examples/support/hierselect-loader.php" name="docs/examples/support/hierselect-loader.php" />
<install as="examples/basic-elements.php" name="docs/examples/basic-elements.php" />
<install as="examples/builtin-rules.php" name="docs/examples/builtin-rules.php" />
<install as="examples/default-renderer.php" name="docs/examples/default-renderer.php" />
<install as="examples/dualselect.php" name="docs/examples/dualselect.php" />
<install as="examples/hierselect-ajax.php" name="docs/examples/hierselect-ajax.php" />
<install as="examples/repeat.php" name="docs/examples/repeat.php" />
<install as="QuickForm2Test.php" name="tests/QuickForm2Test.php" />
<install as="TestHelper.php" name="tests/TestHelper.php" />
<install as="QuickForm2/ContainerOverloadTest.php" name="tests/QuickForm2/ContainerOverloadTest.php" />
<install as="QuickForm2/ContainerTest.php" name="tests/QuickForm2/ContainerTest.php" />
<install as="QuickForm2/ControllerTest.php" name="tests/QuickForm2/ControllerTest.php" />
<install as="QuickForm2/ElementTest.php" name="tests/QuickForm2/ElementTest.php" />
<install as="QuickForm2/FactoryTest.php" name="tests/QuickForm2/FactoryTest.php" />
<install as="QuickForm2/FilterTest.php" name="tests/QuickForm2/FilterTest.php" />
<install as="QuickForm2/JavascriptBuilderTest.php" name="tests/QuickForm2/JavascriptBuilderTest.php" />
<install as="QuickForm2/NodeTest.php" name="tests/QuickForm2/NodeTest.php" />
<install as="QuickForm2/RendererTest.php" name="tests/QuickForm2/RendererTest.php" />
<install as="QuickForm2/RuleTest.php" name="tests/QuickForm2/RuleTest.php" />
<install as="QuickForm2/Container/FieldsetTest.php" name="tests/QuickForm2/Container/FieldsetTest.php" />
<install as="QuickForm2/Container/GroupTest.php" name="tests/QuickForm2/Container/GroupTest.php" />
<install as="QuickForm2/Container/RepeatTest.php" name="tests/QuickForm2/Container/RepeatTest.php" />
<install as="QuickForm2/Controller/PageTest.php" name="tests/QuickForm2/Controller/PageTest.php" />
<install as="QuickForm2/Controller/Action/BackTest.php" name="tests/QuickForm2/Controller/Action/BackTest.php" />
<install as="QuickForm2/Controller/Action/DirectTest.php" name="tests/QuickForm2/Controller/Action/DirectTest.php" />
<install as="QuickForm2/Controller/Action/DisplayTest.php" name="tests/QuickForm2/Controller/Action/DisplayTest.php" />
<install as="QuickForm2/Controller/Action/JumpTest.php" name="tests/QuickForm2/Controller/Action/JumpTest.php" />
<install as="QuickForm2/Controller/Action/NextTest.php" name="tests/QuickForm2/Controller/Action/NextTest.php" />
<install as="QuickForm2/Controller/Action/SubmitTest.php" name="tests/QuickForm2/Controller/Action/SubmitTest.php" />
<install as="QuickForm2/DataSource/ArrayTest.php" name="tests/QuickForm2/DataSource/ArrayTest.php" />
<install as="QuickForm2/DataSource/SuperGlobalTest.php" name="tests/QuickForm2/DataSource/SuperGlobalTest.php" />
<install as="QuickForm2/Element/ButtonTest.php" name="tests/QuickForm2/Element/ButtonTest.php" />
<install as="QuickForm2/Element/DateTest.php" name="tests/QuickForm2/Element/DateTest.php" />
<install as="QuickForm2/Element/HierselectTest.php" name="tests/QuickForm2/Element/HierselectTest.php" />
<install as="QuickForm2/Element/InputButtonTest.php" name="tests/QuickForm2/Element/InputButtonTest.php" />
<install as="QuickForm2/Element/InputCheckableTest.php" name="tests/QuickForm2/Element/InputCheckableTest.php" />
<install as="QuickForm2/Element/InputCheckboxTest.php" name="tests/QuickForm2/Element/InputCheckboxTest.php" />
<install as="QuickForm2/Element/InputFileTest.php" name="tests/QuickForm2/Element/InputFileTest.php" />
<install as="QuickForm2/Element/InputHiddenTest.php" name="tests/QuickForm2/Element/InputHiddenTest.php" />
<install as="QuickForm2/Element/InputImageTest.php" name="tests/QuickForm2/Element/InputImageTest.php" />
<install as="QuickForm2/Element/InputPasswordTest.php" name="tests/QuickForm2/Element/InputPasswordTest.php" />
<install as="QuickForm2/Element/InputResetTest.php" name="tests/QuickForm2/Element/InputResetTest.php" />
<install as="QuickForm2/Element/InputSubmitTest.php" name="tests/QuickForm2/Element/InputSubmitTest.php" />
<install as="QuickForm2/Element/InputTest.php" name="tests/QuickForm2/Element/InputTest.php" />
<install as="QuickForm2/Element/ScriptTest.php" name="tests/QuickForm2/Element/ScriptTest.php" />
<install as="QuickForm2/Element/SelectTest.php" name="tests/QuickForm2/Element/SelectTest.php" />
<install as="QuickForm2/Element/StaticTest.php" name="tests/QuickForm2/Element/StaticTest.php" />
<install as="QuickForm2/Element/TextareaTest.php" name="tests/QuickForm2/Element/TextareaTest.php" />
<install as="QuickForm2/Renderer/ArrayTest.php" name="tests/QuickForm2/Renderer/ArrayTest.php" />
<install as="QuickForm2/Renderer/CallbackTest.php" name="tests/QuickForm2/Renderer/CallbackTest.php" />
<install as="QuickForm2/Renderer/DefaultTest.php" name="tests/QuickForm2/Renderer/DefaultTest.php" />
<install as="QuickForm2/Renderer/StubTest.php" name="tests/QuickForm2/Renderer/StubTest.php" />
<install as="QuickForm2/Rule/CallbackTest.php" name="tests/QuickForm2/Rule/CallbackTest.php" />
<install as="QuickForm2/Rule/CompareTest.php" name="tests/QuickForm2/Rule/CompareTest.php" />
<install as="QuickForm2/Rule/EachTest.php" name="tests/QuickForm2/Rule/EachTest.php" />
<install as="QuickForm2/Rule/EmailTest.php" name="tests/QuickForm2/Rule/EmailTest.php" />
<install as="QuickForm2/Rule/EmptyTest.php" name="tests/QuickForm2/Rule/EmptyTest.php" />
<install as="QuickForm2/Rule/LengthTest.php" name="tests/QuickForm2/Rule/LengthTest.php" />
<install as="QuickForm2/Rule/MaxFileSizeTest.php" name="tests/QuickForm2/Rule/MaxFileSizeTest.php" />
<install as="QuickForm2/Rule/MimeTypeTest.php" name="tests/QuickForm2/Rule/MimeTypeTest.php" />
<install as="QuickForm2/Rule/NonemptyTest.php" name="tests/QuickForm2/Rule/NonemptyTest.php" />
<install as="QuickForm2/Rule/NotCallbackTest.php" name="tests/QuickForm2/Rule/NotCallbackTest.php" />
<install as="QuickForm2/Rule/NotRegexTest.php" name="tests/QuickForm2/Rule/NotRegexTest.php" />
<install as="QuickForm2/Rule/RegexTest.php" name="tests/QuickForm2/Rule/RegexTest.php" />
<install as="QuickForm2/Rule/RequiredTest.php" name="tests/QuickForm2/Rule/RequiredTest.php" />
<install as="QuickForm2/_files/1024-bytes.upload" name="tests/QuickForm2/_files/1024-bytes.upload" />
<install as="QuickForm2/_files/FakeElement.php" name="tests/QuickForm2/_files/FakeElement.php" />
<install as="QuickForm2/_files/FakeRule.php" name="tests/QuickForm2/_files/FakeRule.php" />
<install as="QuickForm2/_files/InvalidFile.php" name="tests/QuickForm2/_files/InvalidFile.php" />
<install as="stubs/AttributeParser.php" name="tests/stubs/AttributeParser.php" />
<install as="stubs/ConstRule.php" name="tests/stubs/ConstRule.php" />
<install as="stubs/ContainerImpl.php" name="tests/stubs/ContainerImpl.php" />
<install as="stubs/ElementImpl.php" name="tests/stubs/ElementImpl.php" />
<install as="stubs/FakeRenderer.php" name="tests/stubs/FakeRenderer.php" />
<install as="stubs/FakeRendererAnotherHelloPlugin.php" name="tests/stubs/FakeRendererAnotherHelloPlugin.php" />
<install as="stubs/FakeRendererGoodbyePlugin.php" name="tests/stubs/FakeRendererGoodbyePlugin.php" />
<install as="stubs/FakeRendererHelloPlugin.php" name="tests/stubs/FakeRendererHelloPlugin.php" />
<install as="stubs/FormRule.php" name="tests/stubs/FormRule.php" />
<install as="stubs/InputImpl.php" name="tests/stubs/InputImpl.php" />
<install as="stubs/NodeImpl.php" name="tests/stubs/NodeImpl.php" />
<install as="stubs/RuleRequest17576.php" name="tests/stubs/RuleRequest17576.php" />
</filelist>
</phprelease>
<changelog>
<release>
<date>2022-05-23</date>
<version>
<release>2.3.1</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Re-release of version 2.3.0 with require_once statements correctly enabled
https://github.com/pear/HTML_QuickForm2/issues/9
</notes>
</release>
<release>
<date>2022-04-02</date>
<version>
<release>2.3.0</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Upgraded tests, PHPUnit Polyfills package is used to run them on PHP 5.6 to PHP 8.1
* Test suite now runs on Github Actions rather than on Travis
* The package runs under PHP 8.1 without E_DEPRECATED messages
https://github.com/pear/HTML_QuickForm2/issues/6
* Use psalm for static analysis
* Minimum required PHP version is now 5.6
</notes>
</release>
<release>
<date>2021-06-25</date>
<version>
<release>2.2.2</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Incorrect option name used in HTML_QuickForm2_Element_Script::__toString()
Thanks to Julian Striegl (striegljulian at gmail dot com) for reporting
</notes>
</release>
<release>
<date>2021-05-09</date>
<version>
<release>2.2.1</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Depend on newer HTML_Common2 that does not cause problems with optimized
composer autoloader, see https://github.com/pear/HTML_QuickForm2/issues/4
* Consistently use HTML_Common2::OPTION_* constants for document-wide
option names, define and use additional HTML_QuickForm2_Node::OPTION_*
constants instead of directly using 'language', 'id_force_append_index'
and 'nonce' strings
</notes>
</release>
<release>
<date>2020-09-14</date>
<version>
<release>2.2.0</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Minimum required PHP version is now 5.4
* Removed support for magic_quotes_gpc, as get_magic_quotes_gpc()
was deprecated in PHP 7.4 and the functionality itself was disabled
since PHP 5.4 (https://github.com/pear/HTML_QuickForm2/issues/3)
* HTML_QuickForm2_Element_Date::setValue() will now accept an instance of
DateTimeInterface, not only DateTime
</notes>
</release>
<release>
<date>2019-04-10</date>
<version>
<release>2.1.0</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* HTML_QuickForm2 runs under PHP 7.2+ without warnings / "deprecated"
messages
* Tests run correctly on PHPUnit versions up to 5
* It is possible to automatically add "nonce" attributes to inline
<script> tags, just call
HTML_Common2::setOption('nonce', $someNonceValue);
before outputting the form. This allows running HTML_QuickForm2 with
reasonable Content-Security-Policy
* Bundled a separate LICENSE file instead of having it in each .php file
header. Updated phrasing and links to mention 3-Clause BSD license
the package actually uses.
When installing with composer, files no longer contain 'require_once' calls
and 'include-path' option is not used. The package is now 100% autoloader
compatible, all classes reside in separate files.
</notes>
</release>
<release>
<date>2014-06-28</date>
<version>
<release>2.0.2</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
Bug #20295 was incorrectly fixed for Static elements, this led to removing
their contents when DataSources did not contain values for them.
</notes>
</release>
<release>
<date>2014-06-26</date>
<version>
<release>2.0.1</release>
<api>2.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
Bug fixes
* When using HTML_QuickForm2_DataSource_Array and its descendants elements'
updateValue() implementations now differentiate between "no value available
for an element" and "explicit null value provided for an element"
(see bug #20295). Custom DataSources may implement the new
HTML_QuickForm2_DataSource_NullAware interface to achieve the same.
* Contents of Static elements added to Repeat are no longer cleared (bug #19802)
* Client-side rules for containers within Repeat are correctly removed when
removing a repeated item (bug #19803)
* Client-side validator is always generated for a form with a Repeat having
some client-side rules on its child elements, even if Repeat is empty
* Unit tests updated to work with newer PHPUnit, prevent running tests twice
under some circumstances (see bug #19038)
Other features and changes
* Calling HTML_QuickForm2_Container_Group::setValue() will clear values of
those grouped elements that do not have a corresponding key in the passed
array. Passing a null or an empty array to setValue() will clear the values
of all grouped elements. Previous behaviour was counter-intuitive.
* Added HTML_QuickForm2_Element_Select::getOptionContainer() (request #19955)
* HTML_QuickForm2_Container_Group::setValue() properly handles a group of radio
elements (request #20103)
* HTML_QuickForm2_Element_Date::setValue() can accept an instance of DateTime
* Extracted removeErrorMessage() from removeRelatedErrors() of qf.Validator
for easier customizing of client-side errors output
</notes>
</release>
<release>
<date>2012-06-26</date>
<version>
<release>2.0.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
* Leftover 'foo' no longer stays in grouped element's name when renaming group
named 'foo[foo]' (bug #19477)
* 'classes' property of qf.Validator moved to its prototype, making it easier
to override
* Items marked deprecated previously are removed
</notes>
</release>
<release>
<date>2012-05-22</date>
<version>
<release>2.0.0RC1</release>
<api>2.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
Bug fixes
* Server-side validation errors for elements inside Repeats are properly
displayed
* Javascript for Repeat elements moved to a more proper qf.elements.Repeat
namespace, old qf.Repeat is kept as an alias but is deprecated
* Fixed markup in usage examples (related to bug #19097)
* Callback renderer now generates the same markup as Default renderer out of
the box, this addresses bug #19097 and allows correct behaviour of
client-side validation and Repeat elements
Changes
* HTML_QuickForm2::getValue() no longer returns values for internal form
fields (request #19403)
* It is no longer possible to set validation errors on hidden elements or
create Rules that set such errors, doing this will result in an Exception
* add() method of qf.elements.Repeat can accept an explicit index for a new
item, returns the index for added item
* Array Renderer: changes to buildCommonFields() make it easier to use by
Renderer plugins, arrays built for groups contain 'class' attribute
Backwards compatibility issues
* Items marked deprecated will be removed in release 2.0.0
</notes>
</release>
<release>
<date>2012-04-18</date>
<version>
<release>2.0.0beta2</release>
<api>2.0.0</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause License</license>
<notes>
Feature additions
* Repeat element: given 'prototype' Container (either fieldset or group)
is repeated multiple times, with possibility to add / remove repeated items
via Javascript. Full support for validation of repeated items.
* JavascriptBuilder now has separate getSetupCode() and getValidator()
methods in addition to combined getFormJavascript()