-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathChangeLog
More file actions
26859 lines (18835 loc) · 926 KB
/
ChangeLog
File metadata and controls
26859 lines (18835 loc) · 926 KB
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
2026-02-02 moko
* tests/: 307.html, results/307.processed: more "junction used
outside of context" tests added
2026-01-09 moko
* src/classes/amqp.C: auto_delete is better false by default
(related to feature #1288)
* src/classes/amqp.C: more methods bool args fixes, nowait removed
(related to feature #1288)
* src/classes/amqp.C: nowait was mixed up with exclusive in consume
* src/classes/amqp.C: amqp_basic_cancel added to consume, purge
returns purged messages count (related to feature #1288)
* tests/: 449.html, results/449.processed, results/auto.p: test for
table size limit added (related to feature #1276)
* src/classes/table.C: $MAIN:LIMITS.max_array_size now used to
limit table size; note: for append and insert operations only
(implements feature #1276)
2026-01-08 moko
* src/classes/amqp.C: addition to feature #1288: declare_exchange +
declare_queue = declare; delete_exchange + delete_queue = delete;
bind_queue -> bind; unbind_queue -> unbind; + purge, + info;
consume can be called without callback with optional $.count(N),
returns array of messages;
2026-01-07 moko
* tests/: 448.html, results/448.processed: avoid 500, show
exception where not supported
* src/include/pa_int.h: warnings war
* tests/: 422.html, results/422.processed: test updated after wide
int implemented (feature #1273)
* src/main/pa_int.C: warnings war
* src/classes/classes.vcproj: +amqp.C
* src/classes/: int.C, string.C: warnings war
* src/classes/: op.C: warnings war
* src/: classes/op.C, main/pa_int.C: warnings war
* src/types/pa_vdate.h: warnings war
* src/main/pa_int.C: warnings war continues
* src/: include/pa_int.h, main/pa_int.C, types/pa_vint.h: warnings
war
* src/types/pa_vdate.C: reverted, format_double still required here
* src/: include/pa_int.h, main/pa_int.C, types/pa_vmath.C:
format_double now supports wint, $math:int_max and $math:int_min
added, PA_WIDE_INT is finally enabled by default (implements
feature #1273)
* tests/: 275.html, results/275.processed: preparing tests for int
extension
* tests/: 424.html, results/424.processed: actualized and prepared
for wide int
2026-01-06 moko
* src/: classes/double.C, classes/int.C, classes/string.C,
include/pa_common.h, include/pa_int.h, include/pa_string.h,
main/execute.C, main/pa_common.C, main/pa_int.C,
types/pa_value.h, types/pa_vdate.C, types/pa_vdate.h,
types/pa_vdouble.h, types/pa_vint.h, types/pa_vmethod_frame.h,
types/pa_vstring.h: feature #1273 core implementation:
value::as_wint added, implemented for int/double/string, and used
where applicable; vint now holds pa_wint type; format_double
moved to pa_int
* src/: include/pa_array.h, include/pa_string.h, main/main.vcproj:
pa_int includes tuning, vcproj updated (related to feature #1273)
* src/main/pa_int.C: build fix
* src/: include/Makefile.am, main/Makefile.am: pa_int.h/pa_int.C
added, another preparation for feature #1273
* src/: include/pa_array.h, include/pa_int.h, include/pa_string.h,
include/pa_types.h, main/pa_int.C, main/pa_string.C,
types/pa_vint.h: pa_int.h/pa_int.C added and all related code
moved there, pa_wint and related functions added, another
preparation for feature #1273
2025-12-17 moko
* src/classes/json.C: optimization: String::Empty used and avoided
using passed length.
2025-12-16 moko
* src/classes/string.C: sync _int with _double, avoid int usage
(related to #1273)
2025-12-08 moko
* src/include/pa_memory.h: PA_CHECK_REGULAR_ALLOC_UNAVAILABLE
define added and used for OS X as well
2025-11-30 moko
* configure, configure.ac, src/include/pa_config_auto.h.in,
src/include/pa_config_fixed.h: int64_t added in preparation to
feature #1273
2025-11-22 moko
* src/classes/amqp.C: delivery_tag changed from string to double
(related to feature #1288)
2025-11-14 moko
* src/types/pa_vstatus.C, tests/448.html,
tests/results/448.processed: $status:limit-cpu,
$status:limit-mem, $status:limit-nproc unlimited support added,
test added (related to feature #1280)
* src/types/: pa_vstatus.C, pa_vstatus.h: r/w $status:limit-cpu,
$status:limit-mem, $status:limit-nproc added (implements feature
#1280)
2025-11-12 moko
* tests/results/: 323.processed, 421.processed: tests results
updated after amqp class added
2025-11-08 moko
* src/classes/amqp.C: tls support added, errors reporting improved
(related to feature #1288)
* src/classes/amqp.C: tls support added (related to feature #1288)
* src/classes/amqp.C: exceptions text now printed (related to
feature #1288)
* src/classes/amqp.C: properties hash simplified (related to
feature #1288)
2025-11-07 moko
* src/classes/amqp.C: consume fixed (related to feature #1288)
* src/classes/classes.C: + amqp class
* buildall, configure, configure.ac, src/classes/Makefile.am,
src/include/pa_config_auto.h.in, src/targets/apache/Makefile.am,
src/targets/cgi/Makefile.am, src/types/Makefile.am: build scripts
updated for librabbitmq support (relates to feature #1288)
* src/: classes/amqp.C, types/pa_vamqp.h: amqp class draft with
basic RabbitMQ C library (librabbitmq) support (partially
implements #1288)
2025-10-05 moko
* src/classes/: array.C, file.C, hash.C, image.C, json.C, op.C,
reflection.C, string.C: Optimization: valid_options optimized
where HashStringValue::Iterator used
* tests/results/224.processed: test result updated after date
functions updated (related to #1287)
2025-10-04 moko
* operators.ru.txt, operators.txt: actualized
* operators.ru.txt, operators.txt: actualized after #1285 and #1286
* tests/: 447.html, results/447.processed: tests for
^reflection:override[$method] added (related to feature #1286)
* tests/: 446.html, results/446.processed: tests for $n1 eq n2
added (related to feature #1285)
* src/classes/reflection.C:
^reflection:override[$method[;$.to[class] $.name[another_name]]]
added (implements feature #1286)
* src/main/execute.C: bugfix: when method is attached from another
class, it's junction_template is initialized with another class,
thus get_vjunction should be used (related to feature #1286)
* src/classes/date.C: ^date:sql-string[], ^date:gmt-string[],
^date:iso-string[] - static call now formats current date
(implements feature #1287)
2025-10-01 moko
* buildall: built-in mailreceive path actualized
2025-09-01 moko
* src/classes/math.C: old compilers support in ^math:eq
2025-08-31 moko
* tests/: 446.html, results/446.processed: tests for
^math:eq(a;b[;max URL distance]) added (related to feature #1285)
* src/classes/math.C: ^math:eq(a;b[;precision]) added (partly
implements #1285)
2025-08-30 moko
* operators.ru.txt, operators.txt: actualized
* tests/: 230.html, results/230.processed: test for ^file.save
$.append(false|true) option added (related to feature #1284)
* src/: classes/file.C, types/pa_vfile.C, types/pa_vfile.h:
^file.save $.append(false|true) option added (implements feature
#1284)
2025-08-16 moko
* etc/auto.p.in: LIMIT max_array_size actualized
2025-08-01 moko
* src/: lib/gc/include/gc.h, main/pa_globals.C, main/pa_memory.C:
pa_GC_abort_func added and used (implements feature #1283)
* src/include/: pa_array.h, pa_config_includes.h:
PA_DEBUG_DISABLE_GC mode fixed for sparse array
2025-07-04 moko
* src/main/pa_common.C: typo fixed (related to bug #1282)
* src/main/pa_common.C: minor optimization + create_dir_for_file
checks for \ (related to bug #1282)
2025-07-03 moko
* src/main/pa_common.C: _wrename, _wrmdir и _wmkdir are now used
under Windows (fixes bug #1282)
* src/main/pa_common.C: file:delete for UTF-8 files now works under
Windows (fixes bug #1282)
2025-06-28 moko
* src/targets/apache/mod_parser3.c: GCC 15 compatibility fixed by
Yavor Doganov <yavor@gnu.org>
* src/main/pa_charset.C: typo fixed (related to feature #1281)
* src/: include/pa_charset.h, main/pa_charset.C: libxml 2.14
compatibility fixed (implements feature #1281)
2025-05-31 moko
* src/main/pa_http.C: old gcc compilation fix (related to feature
#1277)
2025-05-28 moko
* src/: classes/array.C, include/pa_array.h: last
Array_iterator::key() removed (related to feature #1277)
2025-05-27 moko
* src/: classes/array.C, classes/table.C, include/pa_array.h,
types/pa_vstring.C, types/pa_vstring.h: VString::uitoa() added
and used (related to feature #1277)
2025-05-26 moko
* src/: classes/array.C, classes/curl.C, classes/hash.C,
classes/hashfile.C, classes/image.C, classes/table.C,
main/pa_request.C, main/pa_xml_io.C, types/pa_vconsole.h,
types/pa_venv.C, types/pa_vmail.C, types/pa_vregex.C,
types/pa_vrequest.C, types/pa_vresponse.C, types/pa_vstring.h:
VString(const char *avalue) added and used to optimize new
VString(*new String(i.key(), String::L_TAINTED)) (related to
feature #1277)
* src/: classes/array.C, classes/curl.C, classes/file.C,
classes/hash.C, classes/image.C, classes/json.C,
classes/reflection.C, classes/xnode.C, include/pa_charset.h,
include/pa_hash.h, include/pa_http.h, include/pa_string.h,
main/pa_charsets.C, main/pa_http.C, main/pa_request.C,
main/pa_string.C, main/pa_xml_io.C, targets/cgi/pa_sapi_info.h,
types/pa_varray.C, types/pa_vform.C, types/pa_vhash.h,
types/pa_vhashfile.C, types/pa_vimage.C, types/pa_vmail.C,
types/pa_vmethod_frame.h, types/pa_vstatus.C, types/pa_vtable.C,
types/pa_vxnode.C: implements feature #1277 String::Body(const
char *abody) now explicit but HashString::put(const char *str, V
value) added for simplicity optimizations: HASH_PUT_CSTR used
where hash.put called several time during execution; caching
String::Body::uitoa used at all pash.put(<uint> calls.
2025-05-25 moko
* src/: include/pa_request.h, main/pa_request.C: minor opt (related
to feature #1277)
* src/include/pa_hash.h: HASH_PUT_CSTR added (related to #1277)
* src/: include/pa_string.h, main/pa_string.C: String::Body::uitoa
added for caching (related to feature #1277)
* src/include/pa_string.h: optimized String:pos versions added
(without language + char *) (related to feature #1277)
2025-05-24 moko
* tests/: 445.html, results/445.processed: test for
^hash.array[[keys|values]] added (related to feature #1274)
* src/classes/hash.C: ^hash.array[[keys|values]] added (implements
feature #1274)
2025-01-26 moko
* src/include/pa_config_includes.h: synced with pa_config_auto.h.in
2025-01-25 moko
* configure.ac, src/include/pa_version.h: version 3.5.1 -> 3.5.2b
* aclocal.m4, configure, src/include/pa_config_auto.h.in,
src/lib/ltdl/aclocal.m4, src/lib/ltdl/configure: aclocal &&
autoheader && automake && autoconf
* src/lib/ltdl/configure.ac: new autotools used
* acsite.m4, configure.ac: new autotools warnings fixed
2025-01-10 moko
* tests/results/320.processed: test result updated after syslog
added
* src/classes/op.C: minor MSVC fixes
* src/lib/md5/pa_md5c.c: MSVC warnings fixed
* operators.ru.txt, operators.txt: +
^syslog[ident;message[;info|warning|error|debug]]
* src/classes/op.C: +
^syslog[ident;message[;info|warning|error|debug]] (implelents
feature #1270)
* configure, configure.ac, src/include/pa_config_auto.h.in,
src/include/pa_version.h: 3.5.0 -> 3.5.1, syslog check
2025-01-06 moko
* src/include/pa_hash.h: own prime numbers (nearest primes to 5 *
2^n) calculated and used
* src/lib/md5/: pa_md5.h, pa_md5c.c: MD5 code now taken from
https://www.hadrons.org/software/libmd/
2024-12-28 moko
* tests/httpd/run_tests.sh: for FreeBSD compatibility
* tests/httpd/: 032.txt, 033.txt, 034.txt, 035.txt, 036.txt,
037.txt, 038.txt, ok.log, site/404.html, site/httpd.p:
$request:uri and $request:path tests added (related to feature
#1269)
* operators.ru.txt, operators.txt: + $request:path documented
(related to feature #1269)
* tests/: 065.html, results/065.processed: $request:path,
$request:uri tested
* src/types/pa_vrequest.C: $request:path default is empty string to
match an empty URI in console mode (related to feature #1269)
* etc/auto.p.in: $request:path used (related to feature #1269)
* src/types/: pa_vrequest.C, pa_vrequest.h: $request:path added
(implements feature #1269)
2024-12-26 moko
* configure, configure.ac, src/include/pa_version.h: 3.5.0rc ->
3.5.0
* src/lib/sdbm/: pa_strings.C, sdbm.c, sdbm_private.h,
pa-include/pa_errno.h, pa-include/pa_file_info.h,
pa-include/pa_file_io.h, pa-include/pa_sdbm.h,
pa-include/pa_strings.h: unused code cleaned, pa_pstrcat uses
pa_strcat
* tests/results/223.processed: apache upgraded @parser.ru
* src/lib/sdbm/: sdbm.c, sdbm_hash.c, sdbm_lock.c, sdbm_pair.c,
sdbm_pair.h, sdbm_private.h, sdbm_tune.h, pa-include/pa_apr.h,
pa-include/pa_errno.h, pa-include/pa_file_info.h,
pa-include/pa_file_io.h, pa-include/pa_sdbm.h,
pa-include/pa_strings.h: sdbm updated from version included in
apache 2.0.43 to version included in apache 2.0.65
2024-12-24 moko
* etc/auto.p.in: to avoid patching Debian package
* src/main/: pa_exec.C, pa_http.C: final fixes for
--with-build-warnings (dangling-reference warnings can be
ignored)
2024-12-23 moko
* src/: classes/file.C, classes/hash.C, classes/op.C,
include/pa_common.h, main/pa_http.C, main/pa_request.C,
types/pa_vcookie.C, types/pa_vform.C: more fixes for
--with-build-warnings
* src/: classes/date.C, classes/inet.C, classes/op.C,
classes/reflection.C, include/pa_array.h,
include/pa_config_includes.h, main/execute.C, main/pa_base64.C,
main/pa_common.C, main/pa_globals.C, types/pa_vfile.C: fixes for
--with-build-warnings
2024-12-21 moko
* Makefile.am: +operators.ru.txt
* operators.ru.txt, operators.txt: typo fixed
2024-12-20 moko
* operators.txt: whitespace synced
* operators.ru.txt, operators.txt: curl added
* operators.ru.txt, operators.txt: logically sorted
* operators.ru.txt: id added
* operators.txt: ID added
* operators.txt: translated
* operators.ru.txt, operators.txt: operators.txt translated to
english, synced format with operators.ru.txt
* operators.ru.txt, operators.txt: renamed to operators.ru.txt,
formatted
* operators.ru.txt, operators.txt: formatted, actualized, oracle
info moved to separate file
2024-12-19 moko
* src/targets/cgi/parser3.C: avoid parser version requests logging
in parser3.log
2024-12-18 moko
* buildall: preventing --with-system-mailreceive linking with
libglib-2.0/libgobject-2.0 left from --with-mailreceive (related
to feature #1199)
2024-12-16 moko
* operators.ru.txt, operators.txt: actualized for 3.5.0
* src/classes/table.C: exception text fixed
2024-12-15 moko
* tests/: 102.html, results/102.processed: tests updated after
$form:fields not editable again (related to feature #1254)
* src/types/pa_vform.C: $form:tables/files (not $form:fields) can
be edited (related to feature #1254)
* src/types/pa_vform.C: reverted that
$form:fields/tables/files/imap can be edited (related to feature
#1254) for backward compatibility
2024-12-14 moko
* operators.ru.txt, operators.txt: + array in operators.txt
* tests/results/auto.p: avoid $mac execution unless on OS X
* tests/388-sql.html: more OS support
2024-12-13 moko
* tests/388-sql.html: sql tests under OS X now fixed
* tests/results/auto.p: curl test under OS X now works
* tests/: 346-curl.html, 347-curl.html, results/347-curl.processed:
no dll name under Windows, hiding
* tests/: 379-curl.html, results/379-curl.processed: some curl
versions accept "HTTP/1.0 200OK? OK" status, some not, ignore
* tests/: 030.html, 212.html, 219.html, 273.html, 346-curl.html,
389.html, results/030.processed, results/212.processed,
results/219.processed, results/273.processed,
results/320.processed, results/346-curl.processed,
results/389.processed, results/auto.p: ^try-catch-filtered added
and used
* tests/: 347-curl.html, results/347-curl.processed: support for
different error messages
* src/classes/curl.C: several curl libraries supported,
^curl:options[ $.library[] ] resets to default
* tests/: 223-curl.html, results/223-curl.processed: CONTENT_LENGTH
removed as depends on curl version
* tests/results/: 223-curl.processed, 394-curl.processed: curl
fixed bug with \n in file names, test result updated
* tests/388-sql.html: +libmysqlclient.so
* etc/auto.p.in: +libmariadb
2024-12-12 moko
* tests/: 388-sql.html, results/429-sql.processed: test results
updated after test changed
* tests/: 388-sql.html, 428-sql.html, 429-sql.html: tests updated
for newer MariaDB compatibility
* tests/: 388-sql.html, 429-sql.html, results/388-sql.processed,
results/429-sql.processed: key -> id for new MariaDB
compatibility
* src/types/pa_vmethod_frame.h: warning war
* src/: include/pa_charset.h, main/pa_charset.C: Adopted patch from
Yavor Doganov <yavor@gnu.org> with extra libxml2 headers
including for Debian package
2024-12-11 moko
* src/: targets/apache/mod_parser3_core.C, targets/cgi/parser3.C,
targets/isapi/parser3isapi.C, types/pa_vstatus.C:
$status:log-filename added (related to feature #1262)
* tests/: 440.html, results/440.processed: test for row is checked
before accessing when table is modified during select (related to
bug #1258)
* src/: classes/table.C, include/pa_table.h: row should be checked
before accessing as table can be modified during select (related
to bug #1258)
* src/types/pa_vmail.C: $mail:received tables -> elements array
(related to feature #1226)
* src/: classes/file.C, classes/image.C, classes/table.C,
include/pa_exception.h: FIRST_ARG_MUST_NOT_BE_CODE replace with
better messages (related to feature #1267)
* tests/results/: 065.processed, 246.processed, 337.processed,
342.processed, 352.processed, 356.processed, 364.processed,
372.processed, 373.processed, 389.processed, 404.processed,
406.processed, 414.processed, 430.processed, 432.processed,
442.processed: tests updated after params.as_string error
reporting was improved (related to feature #1267)
* src/classes/reflection.C: error messages optimized (related to
feature #1267)
* src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: even better
error reporing for params.as_* (related to feature #1267)
* src/: classes/file.C, classes/string.C, include/pa_exception.h:
MODE_MUST_NOT_BE_CODE -> MODE_MUST_BE_STRING (related to feature
#1267)
* tests/results/: 246.processed, 414.processed, 432.processed:
tests updated after params.as_string error reporting was improved
(related to feature #1267)
* src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: better error
reporing for params.as_string (implements feature #1267)
* tests/: 065.html, results/065.processed: tests for file methods
accepting file as filename added (related to feature #1265)
* src/: classes/file.C, include/pa_exception.h,
types/pa_vmethod_frame.C, types/pa_vmethod_frame.h: some file
methods now accept file as path specification (adopted Sumo patch
implements feature #1265)
* tests/: 400.html, results/400.processed: tests for result
optimization "locks" after first method call (related to feature
#1266)
2024-12-10 moko
* src/types/: pa_method.h, pa_vmethod_frame.h: detailed
result_optimization comments (related to feature #1266)
* src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: optimization:
$result now stored in my_result, not in local variables hash
(implements feature #1266)
2024-12-09 moko
* src/types/: pa_vmethod_frame.C, pa_vmethod_frame.h: my.set ->
set_my_variable in preparation for $result optimization (related
to feature #1266)
* tests/results/119.processed: newline corrected for some OS
* tests/: 441.html, results/441.processed: Debian-specific test
commented
* buildall: pcre2 10.42 -> 10.44
2024-12-08 moko
* buildall: external links fixed
* src/include/pa_version.h: 3.4.7b -> 3.5.0rc
* src/include/pa_table.h: some clang versions compilation fix
* configure.ac: 3.4.7b -> 3.5.0rc
2024-12-07 moko
* tests/: 443.html, 444.html, results/443.processed,
results/444.processed: tests for named params (related to feature
#1205)
* src/: classes/reflection.C, types/pa_method.h: named_params
support in reflection (related to feature #1205)
* src/types/pa_vmethod_frame.h: extra_params and named params
should be also inited in ^method[] call (related to feature
#1205)
* src/types/: pa_method.h, pa_vmethod_frame.h: named arguments
support using @method[arg;.named_arg;.named_arg2] syntax
(implements feature #1205)
* tests/: 443.html, results/443.processed: test for *args inited
added (related to bug #1264)
* src/types/pa_vmethod_frame.h: *args are now inited even if not
specified (fixes bug #1264)
* tests/: 442.html, results/442.processed: tests for
params.as_file_name(N) with empty file name added (related to
feature #1121)
* src/: classes/file.C, classes/hashfile.C, classes/image.C,
classes/op.C, classes/string.C, classes/table.C, classes/xdoc.C,
include/pa_exception.h, types/pa_vmethod_frame.h:
params.as_file_name(N) added and used instead of
params.as_string(1, FILE_NAME_MUST_BE_STRING) where appropriate
(implements feature #1121)
* src/: classes/file.C, classes/image.C, classes/op.C,
classes/table.C, include/pa_exception.h: filename is everywhere
params.as_string, unify exception and remove
FILE_NAME_MUST_NOT_BE_CODE (related to feature #1121)
* tests/: 141.html, results/141.processed: test for
^math:digest[...; $.hmac[$file] $.format[file] ] added (related
to feature #1263)
* src/classes/math.C: ^math:digest[...; $.hmac[$file]
$.format[file] ] now supported (implements feature #1263)
2024-12-06 moko
* src/: targets/apache/mod_parser3_core.C, targets/cgi/parser3.C,
targets/isapi/parser3isapi.C, types/pa_vstatus.C: $status:mode
(cgi/console/mail/httpd/apache/isapi) added (related to feature
#1262)
2024-12-05 moko
* src/targets/cgi/parser3.C: more correct arguments processing to
block -fl config.file log.file logic (related to feature #1262)
2024-12-04 moko
* src/targets/cgi/parser3.C: now only one log location is selected
and tried. -l - supported for stderr specification (related to
feature #1262)
2024-12-03 moko
* tests/: 010.html, 415_dir/30.p, 415_dir/31.p,
results/010.processed, results/415.processed: tests for
$.(expression)[value], $a.(expression), ^v.(expression)[args]
added (related to feature #1064)
* src/main/compile.y: $.(expression)[value], $a.(expression),
^v.(expression)[args] now supported (implements feature #1064)
2024-12-02 moko
* src/targets/cgi/parser3.C: -l /path/to/log options added
(implements feature #1262)
2024-12-01 moko
* tests/: 010.html, results/010.processed: some tests related to
bug #1149 added
* src/main/compile.y: the check pc.pos.col > 1 is not required
because we can't be here without a '$' before. The begin == end
check was incorrect since $[a]{b} fits this condition (fixes bug
#1149)
2024-11-29 moko
* src/classes/array.C: warning war
2024-11-26 moko
* tests/: 441.html, results/441.processed: a bit more testing
(related to bug #1238)
* src/main/pa_exec.C: only " now quoted (related to bug #1239)
* src/main/pa_exec.C: simplification arg_quote added (related to
bug #1229)
2024-11-25 moko
* src/main/pa_exec.C: separated cmd_quote and exe_quote (related to
bug #1239)
2024-11-24 moko
* src/main/pa_exec.C: added cmd.exe specific
* tests/: 441.html, cat-windows.sh, cat.sh, results/441.processed:
tests for ^file::exec env and args tainting tests (related to bug
#1239)
* src/main/pa_exec.C: shell_quote added (partial fix for bug #1239)
* src/include/pa_config_includes.h: added recommendations for
libxslt.a and and libexslt.a compilation under cygwin
* tests/results/102.processed: $form:fields.value is now writable,
as $form:value (related to feature #1254)
* src/include/pa_config_includes.h: cigwin compilation fixes
2024-11-23 moko
* tests/httpd/site/run_server.sh: to simplify testing
* tests/httpd/: 030.txt, 031.curl, 040.txt, ok.log, run_tests.sh,
site/form.html: $form:files and $form:elements tests added, tests
with curl supported (related to feature #1254)
* src/: include/pa_symbols.h, main/pa_symbols.C, types/pa_vform.C,
types/pa_vform.h: $form:elements implemented, VForm::get_element
uses faster SYMBOLS_EQ, hashes no longer copied when using
$form:fields/tables/files/imap and can be edited (implements
feature #1254)
* src/main/pa_http.C: pa_send added to handle partial writes (fixes
bug #1261)
2024-11-17 moko
* tests/: 440.html, results/440.processed: tests for
^table.array[], offset restoration, iterators robust tests
(related to bug #1258, features #1259 and #1260)
* tests/: 439.html, results/439.processed: array and hash iterators
robust tests (related to feature #1260)
* src/: classes/array.C, classes/table.C, include/pa_array.h,
include/pa_table.h: Array_robust_iterator added and used in cases
where array can be modified during iteration (implements feature
#1260)
* src/classes/table.C: ^table.array[], ^table.array[column name],
^table.array{code} added (implements feature #1259)
2024-11-16 moko
* src/: classes/table.C, include/pa_table.h, main/pa_table.C: fixed
table current row restoration after exception and table changes
(fixes bug #1258)
2024-11-13 moko
* src/classes/table.C: minor optimization
* src/main/pa_string.C: \r added to default ^string.trim chars list
(https://www.parser.ru/forum/?id=86648)
2024-11-11 moko
* src/classes/classes.C: set_base commented
* src/classes/: classes.C, xdoc.C: cleanup after classes.awk
deleted
* src/classes/classes.vcproj: no more classes.awk and classes.inc
* src/classes/: Makefile.am, classes.awk: no more classes.awk and
classes.inc
* src/: classes/classes.C, classes/classes.awk, classes/classes.h,
main/pa_globals.C: classes.awk is useless, preparing to delete it
* src/classes/classes.h: temp fix
2024-11-10 moko
* src/: classes/date.C, classes/file.C, classes/image.C,
classes/op.C, main/pa_string.C: minor optimization
* src/: classes/date.C, classes/file.C, classes/image.C,
classes/op.C, main/pa_string.C: typo fixed
* src/: classes/classes.awk, classes/classes.h, classes/date.C,
classes/file.C, classes/image.C, classes/op.C,
main/pa_charsets.C, main/pa_string.C: singletones used to reduce
memory allocation befor main(). Only 3 allocations in chatsets
left (implements feature #1257)
* src/targets/: apache/mod_parser3_core.C, isapi/parser3isapi.C:
minor naming convention fix
* tests/: 437.html, 438.html, httpd/ok.log, httpd/site/029.html,
results/436.processed, results/437.processed,
results/438.processed: tests for @unhandled_exception processing
(related to feature #1256)
* src/: main/pa_request.C, targets/apache/mod_parser3_core.C,
targets/cgi/pa_sapi_info.h, targets/cgi/parser3.C,
targets/isapi/parser3isapi.C: Exceptions in @unhandled_exception
are now processed in request::core for correct logging and
reporting (feature #1256)
* src/: include/pa_sapi.h, main/pa_request.C,
targets/apache/mod_parser3_core.C, targets/cgi/parser3.C,
targets/isapi/parser3isapi.C: unhandled exception now called if
exception occures during $response:download processing (related
to bug #1255)
* etc/auto.p.in: better 404 error reporting
2024-11-09 moko
* src/main/pa_memory.C: more detailed usage comment
* src/main/pa_memory.C: usage commented
* src/main/pa_memory.C: minor cleanup
* src/types/: pa_varray.h, pa_vregex.h: warnings war
* tests/: 436.html, httpd/029.txt, httpd/ok.log,
httpd/site/029.html, results/436.processed: test for exception in
$response:download[] added
* src/targets/cgi/parser3.C: sync CGI mode behavior with httpd mode
and avoid exit status 1 on die
* tests/results/: 007.processed, 019.processed, 098.processed,
103.processed, 233.processed: windows headers matter for binary
files
* tests/httpd/ok.log: tests results updated as extra headers now
cleared on error (related to bug #1255)
* src/: include/pa_sapi.h, targets/apache/mod_parser3_core.C,
targets/cgi/pa_sapi_info.h, targets/cgi/parser3.C,
targets/isapi/parser3isapi.C: headers buffering to avoid extra
headers in errors, custom send_error in cgi/httpd mode to avoid
memory allocations (fixes bug #1255)
2024-11-07 moko
* tests/: 264.html, results/264.processed: tests updated to test
removal of only trailing empty arguments for backward
compatibility (related to feature #1252)
* src/classes/file.C: remove trailing empty arguments for backward
compatibility (related to feature #1252)
2024-11-05 moko
* src/targets/cgi/: pa_sapi_info.h, parser3.C: avoid GPF in very
low memory case, when static initialization failed even before
main() start
2024-11-04 moko
* configure, src/include/pa_config_auto.h.in,
src/include/pa_config_fixed.h: _locking no longer used
* configure.ac: _locking no longer used (related to bug #1231)
* src/main/pa_os.C: lock error fine-tuning (related to bug #1231)
* src/main/pa_os.C: lock errors tuning (related to bug #1231)
* src/lib/sdbm/: pa_file_io.C, pa-include/pa_file_io.h: remove
unused
* src/: lib/sdbm/pa_file_io.C, main/pa_common.C: errno should not
be used on locking errors (related to bug #1231)
* src/main/pa_os.C: GetLastError used as errno is not set (related
to bug #1231)
* src/main/pa_os.C: under windows _locking replaced with LockFileEx
allowing shared lock to work (fixes bug #1231)
* INSTALL: actualized, minor fixes
* etc/auto.p.in: default LIMITS added
* AUTHORS: links actualized
* src/: classes/array.C, classes/bool.C, classes/classes.C,
classes/classes.awk, classes/classes.h, classes/curl.C,
classes/date.C, classes/double.C, classes/file.C, classes/form.C,
classes/hash.C, classes/hashfile.C, classes/image.C,
classes/inet.C, classes/int.C, classes/json.C, classes/mail.C,
classes/math.C, classes/memcached.C, classes/memory.C,
classes/op.C, classes/reflection.C, classes/regex.C,
classes/response.C, classes/string.C, classes/table.C,
classes/void.C, classes/xdoc.C, classes/xnode.C, classes/xnode.h,
include/pa_array.h, include/pa_base64.h,
include/pa_cache_managers.h, include/pa_charset.h,
include/pa_charsets.h, include/pa_common.h,
include/pa_config_fixed.h, include/pa_config_includes.h,
include/pa_dictionary.h, include/pa_dir.h,
include/pa_exception.h, include/pa_exec.h, include/pa_globals.h,
include/pa_hash.h, include/pa_http.h, include/pa_memory.h,
include/pa_opcode.h, include/pa_operation.h, include/pa_os.h,
include/pa_pool.h, include/pa_random.h, include/pa_request.h,
include/pa_request_charsets.h, include/pa_request_info.h,
include/pa_sapi.h, include/pa_socks.h,
include/pa_sql_connection.h, include/pa_sql_driver_manager.h,
include/pa_stack.h, include/pa_string.h,
include/pa_stylesheet_connection.h,
include/pa_stylesheet_manager.h, include/pa_symbols.h,
include/pa_table.h, include/pa_threads.h, include/pa_types.h,
include/pa_uue.h, include/pa_xml_exception.h,
include/pa_xml_io.h, lib/gd/gif.C, lib/gd/gif.h, lib/gd/gifio.C,
lib/md5/pa_md5.h, lib/md5/pa_md5c.c,
lib/memcached/pa_memcached.C, lib/memcached/pa_memcached.h,
lib/punycode/pa_idna.c, lib/punycode/pa_idna.h,
lib/sdbm/pa_file_io.C, lib/sdbm/pa_strings.C, lib/smtp/comms.C,
lib/smtp/smtp.C, lib/smtp/smtp.h, main/compile.C,
main/compile.tab.C, main/compile.y, main/compile_tools.C,
main/compile_tools.h, main/execute.C, main/pa_base64.C,
main/pa_cache_managers.C, main/pa_charset.C, main/pa_charsets.C,
main/pa_common.C, main/pa_dictionary.C, main/pa_dir.C,
main/pa_exception.C, main/pa_exec.C, main/pa_globals.C,
main/pa_http.C, main/pa_memory.C, main/pa_os.C, main/pa_pool.C,
main/pa_random.C, main/pa_request.C, main/pa_socks.C,
main/pa_sql_driver_manager.C, main/pa_string.C,
main/pa_stylesheet_connection.C, main/pa_stylesheet_manager.C,
main/pa_symbols.C, main/pa_table.C, main/pa_threads.C,
main/pa_uue.C, main/pa_xml_exception.C, main/pa_xml_io.C,
main/untaint.C, sql/pa_sql_driver.h,
targets/apache/mod_parser3.c, targets/apache/mod_parser3_core.C,
targets/apache/pa_httpd.h, targets/cgi/parser3.C,
targets/isapi/parser3isapi.C, types/pa_junction.h,
types/pa_method.h, types/pa_property.h, types/pa_value.C,
types/pa_value.h, types/pa_varray.C, types/pa_varray.h,
types/pa_vbool.h, types/pa_vcaller_wrapper.h, types/pa_vclass.C,
types/pa_vclass.h, types/pa_vcode_frame.h, types/pa_vconsole.h,
types/pa_vcookie.C, types/pa_vcookie.h, types/pa_vdate.C,
types/pa_vdate.h, types/pa_vdouble.h, types/pa_venv.C,
types/pa_venv.h, types/pa_vfile.C, types/pa_vfile.h,
types/pa_vform.C, types/pa_vform.h, types/pa_vhash.C,
types/pa_vhash.h, types/pa_vhashfile.C, types/pa_vhashfile.h,