-
Notifications
You must be signed in to change notification settings - Fork 13
/
ChangeLog
16925 lines (10368 loc) · 614 KB
/
ChangeLog
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
2023-11-30 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #234 from OPENDAP/hyrax-1247
HYRAX-1247, adding two methods in DMR.h to handle direct IO.
2023-11-30 myang6 <myang6@hdfgroup.org>
HYRAX-1247, adding two methods in DMR.h to handle direct IO. Also
revise one similar method in Array.h
2023-11-07 James Gallagher <jgallagher@opendap.org>
Merge branch 'master' of https://github.com/OPENDAP/libdap4
Added the clion-source-discovery target to Makefile.am
[skip ci]
2023-10-31 myang6 <myang6@hdfgroup.org>
Merge branch 'direct_chunk_io'
Add comments for the new method.
2023-10-31 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #232 from OPENDAP/direct_chunk_io
add a public method to allocate the data buffer
2023-10-16 myang6 <myang6@hdfgroup.org>
add a public method to allocate the data buffer with the number of
bytes, this is necessary to support direct chunk IO
2023-09-26 Bo Anderson <mail@boanderson.me>
Fix handling of libtirpc pkg-config files with -L flags (#228)
2023-09-26 Dan Horák <dan@danny.cz>
add missing include (#227)
With GCC 13 the <cstdint> header isn't included thru other headers any
more, thus include it explictly. Otherwise uint8_t or uint32_t type
remain undefined in Vector.cc.
Fixes: https://github.com/OPENDAP/libdap4/issues/226
2023-09-14 James Gallagher <jgallagher@opendap.org>
Fixed a bug where the copy ctor for D4Maps failed to correctly set the parent Array.
This broke the object memory cache added to the DMR++ code in Hyrax.
2023-09-08 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #229 from OPENDAP/hyrax-1155
Hyrax 1155
2023-09-07 myang6 <myang6@hdfgroup.org>
HYRAX-1155, add comments to source code
Adding direct io offset
2023-09-06 myang6 <myang6@hdfgroup.org>
HYRAX-1155, add var chunk info to Array
2023-05-24 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #225 from OPENDAP/hyrax-1049
Hyrax 1049
2023-05-21 Muqun Yang <myang6@hdfgroup.org>
HYRAX-1049, reduce code smell
HYRAX-1049, clean up the code
HYRAX-1049, ensure the group name doesn't include '/' in the routine
that checks the variables
2023-05-19 Muqun Yang <myang6@hdfgroup.org>
HYRAX-1049, add code to fix the DAP4 coverage finding issues. Not compiled/tested.
2023-05-07 James Gallagher <jgallagher@opendap.org>
Trigger a build against the latest hyrax-dependencies
2023-05-04 James Gallagher <jgallagher@opendap.org>
Updated README for hyrax-deps build
2023-04-13 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #224 from OPENDAP/hyrax-974
HYRAX-974, add a API to set a variable. Code needs to be cleaned up.
2023-04-13 myang6 <myang6@hdfgroup.org>
HYRAX-974, add another sanity check for index
HYRAX-974, add comments for the set_var_index API.
2023-04-11 myang6 <myang6@hdfgroup.org>
HYRAX-974, add a API to set a variable. Code needs to be cleaned up.
2023-03-13 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #222 from OPENDAP/hyrax-968
Hyrax 968
2023-03-13 myang6 <myang6@hdfgroup.org>
HYRAX-968, add a comment for the possible future optimization.
2023-03-10 myang6 <myang6@hdfgroup.org>
HYRAX-968, reduce a code smell and add some comments/code-clean-up.
2023-03-09 Muqun Yang <myang6@hdfgroup.org>
HYRAX-968, use a new way to remove the additional maps.
2023-03-09 myang6 <myang6@hdfgroup.org>
HYRAX-968, check the code to remove extra maps in the local constraint.
2023-01-30 James Gallagher <jgallagher@opendap.org>
Use C++14, fallback to 11. Fixed --enable-asan, too. (#220)
Use C++14, fallback to 11. Fixed --enable-asan, too.
Added an after_script to .travis.yml to upload test results to S3
2023-01-27 James Gallagher <jgallagher@opendap.org>
Orion Poplawski <orion@nwra.com>
Add missing cstdint include for uint32_t (#219)
Add missing cstdint include for uint32_t
2023-01-27 James Gallagher <jgallagher@opendap.org>
Removed the CentOS 7 build (#218)
Removed the CentOS 7 build
2023-01-23 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #217 from OPENDAP/hyrax-913
Hyrax 913 - large array size for fileout netcdf
2023-01-23 myang6 <myang6@hdfgroup.org>
HYRAX-913, add override to a few methods to avoid the compiling warnings.
2023-01-19 myang6 <myang6@hdfgroup.org>
HYRAX-913, need to obtain the big array size with dimension_size_ll()
2023-01-18 Nathan Potter <ndp@opendap.org>
Dap4 attr handling (#216)
* Adding DAP2 attribute assement methods entry::is_dap4_type() and
AttrTable::has_dap4_types()
* Completed DDS::is_dap4_projected() implementation.
* Added unit test for a dap4 typed global attribute in the DDS
2023-01-17 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #214 from OPENDAP/hyrax-868
Hyrax 868 - the large-array size support
2023-01-17 myang6 <myang6@hdfgroup.org>
HYRAX-868, change code according to Jame's suggestions.
remove a comment
HYRAX-868, change the big array unit test function names to make them more meaningful
2023-01-13 myang6 <myang6@hdfgroup.org>
HYRAX-868, fix some code smells and a few inconsistent issues detected by sonar cloud
HYRAX-868, remove some debugging info and fix an issue to use vector
reference to set values of a large array.
2023-01-12 myang6 <myang6@hdfgroup.org>
HYRAX-868, Make TestArray use the large array size handling methods.
2023-01-09 myang6 <myang6@hdfgroup.org>
Merge branch 'master' into hyrax-868
HYRAX-868, use the large size APIs in the DAP4 expression constraint
code. Also add a few DBG lines.
2023-01-07 Nathan Potter <ndp@opendap.org>
Moving the functionality of is_dap4_projected() into libdap4 (#213)
* Moving the functionality of is_dap4_projected() into libdap4
* Adding is_dap4_projected() to DAP types.
* Dropping DDS tests
* Updaing CMakeLists.txt
* Fixed tests but needs behavioral review.
* Smell the flowers
* Added attribute checking and checking os send_p()
* Implemented is_da4_projected() with a vector<string> as the return value parameter
* Removed is_dap4_projected() implementations with vector<BaseType *> as it's returned value parameter
* Dropped old implementations of is_dap4_type() and has_dap4_types()
* Added test for dap4 attributes in the root group
* Comments
* Fixed PR concerns
* Updated is_dap4_projected in Array and Vector ot correctly handle COnstructor prototypes
* Fixed IsDap4ProjectedTest memory leaks. Questions remain tho...
* More test cleanup
* Fixed lifecycle of array prototype variables.
* Added const tag to an array variable loop
* Updated code comments
2023-01-06 myang6 <myang6@hdfgroup.org>
HYRAX-868, add more APIS for large array
2023-01-03 myang6 <myang6@hdfgroup.org>
HYRAX-868, start handling data capacity
2022-12-30 myang6 <myang6@hdfgroup.org>
HYRAX-868, add 64-bit support for value() and set_value()
2022-12-29 myang6 <myang6@hdfgroup.org>
HYRAX-868, add contraint methods and unit-tests for large array support.
2022-12-28 myang6 <myang6@hdfgroup.org>
Merge branch 'master' into hyrax-868
2022-12-07 Nathan Potter <ndp@opendap.org>
Fixing changes to ETag. Made test code more flexible. (#212)
Fixing changes to ETag. Made test code more flexible.
Added .gitallowed for test stuff
2022-12-05 myang6 <myang6@hdfgroup.org>
HYRAX-868, make the simple big array val2buf, buf2val ,value,
set_value unit-tests pass. More discussion is needed on the full and
robust support.
2022-12-02 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #211 from OPENDAP/hyrax-879
HYRAX-879, mostly use override to replace virtual for the virtual fun…
2022-12-01 myang6 <myang6@hdfgroup.org>
HYRAX-879, remove 2 code smells>
HYRAX-879, mostly use override to replace virtual for the virtual
functions in the derived classes.
2022-11-14 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #210 from OPENDAP/BigArrayUTest
Big array unit test
2022-11-14 myang6 <myang6@hdfgroup.org>
HYRAX-863, remove two #if 0 #endif blocks and one unused variable.
2022-11-14 Muqun Yang <myang6@hdfgroup.org>
Merge branch 'master' into BigArrayUTest
HYRAX-863, adding the Big Array Test.
2022-11-14 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #209 from OPENDAP/hyrax-865-new
HYRAX-865, Fix the memory leaks in the DDX parser.
2022-11-14 Muqun Yang <myang6@hdfgroup.org>
Add the unit tests for big array handling. Three tests are added: 1)
DAP4 val2buf and buf2val 2) DAP4 val2buf and value() 3) DAP2 set_value
and value().
2022-11-11 Muqun Yang <myang6@hdfgroup.org>
HYRAX-863, add first test template for the big array test.
2022-11-11 myang6 <myang6@hdfgroup.org>
intermediate debugging stage
Merge branch 'master' into BigArrayUTest
2022-11-10 Muqun Yang <myang6@hdfgroup.org>
HYRAX-865, first cut to fix the memory leaks in the DDX parser.
2022-11-08 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #208 from OPENDAP/hyrax-864
Hyrax 864
2022-11-08 Muqun Yang <myang6@hdfgroup.org>
HYRAX-864, revert back the change in del_attr_table() of AttrTable class. Explicitly release resources held by the Attribute table.
2022-11-04 Kent Yang <myang6@hdfgroup.org>
HYRAX-864, use unique ptr for some tests if possible.
2022-11-03 Muqun Yang <myang6@hdfgroup.org>
HYRAX-864, fixing unit-test memory leaks. delete_attr_table() has bugs that cause memory leaks.
2022-11-03 Kent Yang <myang6@hdfgroup.org>
HYRAX-864, the intermediate debugging stage.
2022-11-02 myang6 <myang6@hdfgroup.org>
HYRAX-863, trim the original ArrayTest code a bit
Adding an optional BigArray unit test to see if libdap can handle >4GB array. This check-in is only a skeleton. The BigArraytest is the same as the array test.
2022-10-14 James Gallagher <jgallagher@opendap.org>
Refactor sizes (#207)
Provide a new API for getting variable sizes and DDS/DMR 'response' sizes
This new API provides the size information using 64-bit integers, so that
we can support larger data arrays. The specific additions to the API are:
- Added BaseType::length_ll() and set_length_ll()
- Added width_ll()
- Updated the DMR::response_size_kb() to use width_ll()
- Updated the DDS::get_response_kb() to use the width_ll()
The length_ll() and width_ll() methods return signed int64_t which makes
integration with the BES handler code easier (since -1 is used as a sentinel
value). The response size methods return uint64_t.
2022-10-03 Dan Horák <dan@danny.cz>
add missing big endian baselines (#196)
2022-09-22 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #206 from OPENDAP/hyrax-804
Hyrax 804
2022-09-22 myang6 <myang6@hdfgroup.org>
HYRAX-804, add a section of code based on James' sugeestion. However, it failed a few tests. So leave a #if 0 for future investigation.
HYRAX-804, pass the utf8 flag when internally transforming between DAP2 and DAP4 objects.
2022-09-20 myang6 <myang6@hdfgroup.org>
HYRAX-804, add a flag for utf8 string escaping for both DAP2 and DAP4.
2022-09-19 James Gallagher <jgallagher@opendap.org>
D4map fix v1 (#205)
The D4Maps have two modes of creation - one when the Array is being built by, e.g.,
a handler and one when an Array is part of a deep copy operation. In the first case
it's easy to know the pointer to the Array that is the source of the Map's values.
However, during a deep copy, it's not possible to know this because the source Array
cannot be accessed since the parent Array _does not yet exist_. In this case a
second ctor is used that stores the FQN of the Map's source Array. This FQN can be
read from the Map that is being copied. When the Map is then used (the whole dataset
must exist), the FQN can be used to find the actual source Array object.
Added a ctor that supports backward compat with code in the BES
Added test for d4map-fix-v1 and verified that it fails on the master branch
2022-09-13 Dan Holloway <d.holloway@opendap.org>
Merge pull request #204 from OPENDAP/dap4-grid-functions
Dap4 grid functions
2022-09-12 dh-opendap <dholloway@opendap.org>
Merging master branch (as of 9/12/2022) in dap4-grid-functions Merge
branch 'master' into dap4-grid-functions
2022-09-07 ndp-opendap <ndp@opendap.org>
More tagging phaffing
Adding tagging step to Travis build
2022-09-02 Nathan Potter <ndp@opendap.org>
Added methods that allow more monkeying around with arrays (#203)
2022-09-02 James Gallagher <jgallagher@opendap.org>
Refactor sizes (#193)
Added BaseType::;ength_ll() and set_length_ll()
Moved the implementation of length() and set_length() to Vector.h
Modified the BaseType::intern_data() for DAP2 so that it cannot be called with DAP4 types.
More changes - see Hyrax-790
Added #include <typeinfo> to Vector.cc
Also added support for 'master' --> 'main' for the default branch.
## -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
## libdap4-3.20.11-32
## hyrax-1.16.8-25
##
2022-09-01 ndp-opendap <ndp@opendap.org>
Refining commit message format
Reformatted automated commit message forBES build trigger.
2022-08-31 James Gallagher <jgallagher@opendap.org>
Undo the change to Str::print_val() (#200)
Undo the change to Str::print_val()
Added test-deploy to libdap4 (#202)
2022-08-30 James Gallagher <jgallagher@opendap.org>
Fixed how Str variables are printed. (#199)
Fixed how Str variables are printed.
String variables were printed using the Attribute escaping
code. This lead to odd
behavior when that code was updated to correct years-long
issues that we had been
papering over. I added new code to Str.cc to escape the Str and
Url class' values.
Note that this is really only used by things like getdap &
getdap4 and in test code.
2022-08-25 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #198 from OPENDAP/hyrax-708-esc-das
Hyrax 708 esc das
2022-08-25 myang6 <myang6@hdfgroup.org>
reduce several sonar cloud smells
HYRAX-708, 1) Unescape the special characters when parsing DAS
from a file. 2) Update tests. 3) Make DmrRoundTrip and DmrToDap2 tests
temporarily no-op. Will re-visit them later.
2022-08-23 myang6 <myang6@hdfgroup.org>
HYRAX-708, update the das baseline files to reflect the
escaping of the special characters for string attributes.
2022-08-22 James Gallagher <jgallagher@opendap.org>
Addedd comment about D4Group dims()
[skip ci]
2022-08-22 myang6 <myang6@hdfgroup.org>
Merge branch 'master' into hyrax-708-esc-das
HYRAX-708, update the escaping functions for DAP4 XML, DAP2 XML
AND DAS. Temporarily turn off two DAS tests that contain the special
characters.
2022-08-17 ndp-opendap <ndp@opendap.org>
Updating trtavis-ci-opendap github credentials
2022-08-12 myang6 <myang6@hdfgroup.org>
Merge branch 'master' into hyrax-708-esc-das
2022-08-08 James Gallagher <jgallagher@opendap.org>
Modify D4Group::find_var() so it can find D4Groups (#194)
Modify D4Group::find_var() so it can find D4Groups
When a path in a CE specifies a Group, we should be returning
all the
variables in that Group. Right now libdap just throws an
exception. Once
find_var() returns the BaseType* to the Group, we should be set
to mark
all of the Group's variables as part of the projection.
Added print_val and print_decl methods to D4Group.
This will make it easy(ier) to add tests for the new 'all vars
in a group' feature/fix.
Added tests for the 'Group projection' feature/fix
Now projection works for Groups and nested groups both and
without
member variables. That is, for normal groups (ones with child
variables) naming the group in a CE results in all the
variables in
that group and its child groups being included in the response.
For
Groups that only contain attributes, naming the group in the CE
will
cause that group to be included in the dap (i.e., data)
response. This
dubious behavior is ... well, dubious. But modulo the
correctness of
attributes in the face of a constraint, it does work.
See DMRTest 243 - 249 plus some of the D4GroupTest unit tests.
2022-07-21 ndp-opendap <ndp@opendap.org>
Updating build offset for TravisCI
Preparing release 3.20.11, Hyrax-1.16.8
#
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
# libdap version 3.20.11
#
2022-07-19 ndp-opendap <ndp@opendap.org>
Fixed bug in computation of request_size_kb()
2022-07-09 Nathan Potter <ndp@opendap.org>
Fixing type issue in HTTPCache.cc (#192)
2022-07-01 ndp-opendap <ndp@opendap.org>
Adding DOI to README.md [skip ci]
Updating LIBDAP_TRAVIS_BUILD_OFFSET to 1018 for re;ease 3.20.10
Preparing release 3.20.10, Hyrax-1.16.6
#
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
# libdap version 3.20.10
#
2022-06-27 James Gallagher <jgallagher@opendap.org>
Rhel 8 tirpc (#191)
Added a test for the correct configuration of tirpc on rhel 8
Added more messages to OX_RHEL8_TIRPC macro
2022-06-20 James Gallagher <jgallagher@opendap.org>
Replaced instances of &vector[0] with vector.data() (#190)
There are two cases where the pattern was used with strings
where .data() won't work and is not needed (working with char[]
and whre &char[0] will always work).
2022-06-14 ndp-opendap <ndp@opendap.org>
Trigger TravisCI
2022-05-24 James Gallagher <jgallagher@opendap.org>
Removed extra header (#189)
2022-05-09 James Gallagher <jgallagher@opendap.org>
Fix Constructor::read() (#188)
Fix Constructor::read()
2022-04-27 James Gallagher <jgallagher@opendap.org>
Constructor refactor (#187)
Constructor refactor
2022-04-26 James Gallagher <jgallagher@opendap.org>
Fixed some warnings about bind2nd(), etc. (#186)
Fixed some warnings about bind2nd(), etc.
2022-03-10 James Gallagher <jgallagher@opendap.org>
Edit to README - trigger a travis build
2022-03-09 James Gallagher <jgallagher@opendap.org>
Fix for for the last merge that only shows up in the bes (#185)
The ServerFunctionList was flagged by sonarscan but my fix contained a logic flaw.
The libdap tests didn't uncover that, but tests in the BES did. This fixes the logic flaw.
a small set of improvements (#184)
2022-03-08 James Gallagher <jgallagher@opendap.org>
Fixed memory issues in the client-side cache in libdap (#183)
Fixed memory issues in the client-side cache in libdap
2022-03-04 James Gallagher <jgallagher@opendap.org>
Unit test improvement (#182)
Modified unit-tests so they all use a template for main()
This reduces the code by 52 tests times 40 lines of code or
about 2k LOC. It also fixes many small errors that crept into
the tests as various parts were copied incorrectly or mistakenly
edited.
2022-02-21 James Gallagher <jgallagher@opendap.org>
Kodi N <kneumiller@opendap.org>
James Gallager <jgallager@opendap.org>
Leak fixes (#181)
Fixed an issue in Vector where assignment leaked d_proto.
If the destination Vector already had an object pointer assigned
to d_proto then both operator=() and the copy ctor would leak
that pointer.
Minor changes to marshT and Array.cc
2022-02-18 James Gallagher <jgallagher@opendap.org>
One more version. (#180)
2022-02-18 kyang2014 <kyang2014@users.noreply.github.com>
Merge pull request #179 from OPENDAP/d4a-erase-lkeak-fix
Fixed the leak I hope...
2022-02-18 James Gallagher <jgallagher@opendap.org>
New new version of erase.
Also some more hacking for leak detection
2022-02-17 James Gallagher <jgallagher@opendap.org>
Added some notes about leak detection in unit-tests/Makefile.am
I also changed how two of the tests are built, so they link with
the static archive since this seems to cause the linker to choose
the locally-built library (where linking dynamically did not).
Addressed a 'code smell'
Fixed the leak I hope...
2022-02-16 James Gallagher <jgallagher@opendap.org>
Added an erase method to D4Attributes (#178)
Added an erase method to D4Attributes
Switched from explicit for-loop to erase(remove_if())
Added the algorithm header to D4Attributes.cc
Fixed all the remaining operator=() implementations (#177)
Removed commented code [skip ci]
Fixed the issue with operator=() reported by sonar scan (#176)
2022-02-15 James Gallagher <jgallagher@opendap.org>
Fix for libdap4 github issue 147: Grid::get_map_iter() was off by one (#175)
Fix for libdap4 github issue 147: Grid::get_map_iter() was off by one
Added tests for the affected method as well as some related methods in Grid.
2022-02-13 James Gallagher <jgallagher@opendap.org>
Dds dmr refactor (#171)
I refactored DDS and DMR to remove old code and provide better iterator access
DDS: New way of accessing the 'vars' vector makes range-based for
loops possible.
I removed old code that was excluded with the pre processor.
Old code n configure.ac was removed.
Now DAP4 builds by default and the only form of the DDX that is supported
is the 3.2 version
Added tests for the new DDS::variables() method that returns a const & to vars.
2022-02-11 James Gallagher <jgallagher@opendap.org>
Added caching and a wait for the quality gate test (#174)
Removed excess lines in README.md and triggered a master build
New way of implementing assignment should avoid slicing (#173)
* New way of implementing assignment should avoid slicing
* Comments editing and unused code removed
[skip ci]
2022-02-10 James Gallagher <jgallagher@opendap.org>
Build libdap RPMs on CentOS-Stream8 (#172)
Build libdap RPMs on CentOS-Stream8
Removed the github workflows - no sense using their machines
2022-02-04 James Gallagher <jgallagher@opendap.org>
Fixed an error in the recent fix for inverted array index values
In DAP2 we changed array slicing so that [*] means all values of
the array. In the code, we replace the * with stop value of -1 so that
syntax like [7:*] can be used to get all the values from i position
7 to the end of the dimension for a particular array. The stop == -1 was
breaking the fix I added to test if start is > stop. I hacked a change
in to special case the -1 vaule of stop. A better approach would be
to handle this in the parser to read the end value of the dimension,
but we don't have that information handy in the DAP2 parser (the DAP4
parser is much better about this sort of thing).
Fix HYRAX-540 - array index values where start is > stop break the server (#170)
Fixed ticket https://bugs.earthdata.nasa.gov/browse/HYRAX-540 for DAP2 and DAP4
Other fixes in this PR:
The DAP4 ce parser was accepting negative array indices; fixed.
Removed auto_ptr vestiges
Fix for parallel clean issue in distclean
Added tests for the DAP2 and DAP4 fix for inverted index values.
#
# -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
# libdap version 3.20.9
#
2021-12-17 ndp-opendap <ndp@opendap.org>
Merge branch 'master' of https://github.com/OPENDAP/libdap4
Triggering TravisCI build
2021-12-09 James Gallagher <jgallagher@opendap.org>
Reverse the switch to C++11 regex - now a comp time option (#167)
2021-12-03 James Gallagher <jgallagher@opendap.org>
Fixed for automake 1.16
Added rm -rf dods_cache back to Makefile
Not sure why that's needed, however.
unit-tests/cache-testsuite cleanup.sh failing again
Regex fix (#166)
Reworked Regex class (in GNU/GNURegex.h/.cc)
Also some other fixes from sonar scan suggestions and
a fix to getdap4. These should have go in on their own
branch, but wound up here.
To improve performance, added 'const' to some of the Regex instances
so they will be constructed (and the regex compiled) only once.
2021-11-24 James Gallagher <jgallagher@opendap.org>
build_btp_args() fix
Removed code smells (#165)
2021-11-23 James Gallagher <jgallagher@opendap.org>
Dump auto ptr (#164)
Time to remove the old auto_ptr code
Also removed bind2nd and ptr_fun from D4Group and
replaced it with a lambda. In C++-17, bind2nd goes away.
Also includes a fix for distcheck on automake 1.16
Removed unsupported options from getdap4, replaced GetOpt with getopt (#163)
Also reformatted the help.
2021-11-04 Nathan Potter <ndp@opendap.org>
Added build number to configure call in libdap.spec.in (#161)
2021-11-01 ndp-opendap <ndp@opendap.org>
Restoring previous TravisCI stage order
2021-10-29 ndp-opendap <ndp@opendap.org>
Merge branch 'master' of https://github.com/OPENDAP/libdap4
This might be the one... looks like sonar s working for real."
This might be the one...
More with sonar scan coverage issues
More with sonar scan coverage issues
More with sonar scan coverage issues
More with sonar scan coverage issues
More with sonar scan coverage issues
Returned CI to mominal stage order.
Working on getting the coverage files into the sonar system
Working on getting the coverage files into the sonar system
Trying to ammend sonar properties
Trying to ammend sonar properties
Trying to ammend sonar properties
Trying to ammend sonar properties
Trying to ammend sonar properties
2021-10-28 ndp-opendap <ndp@opendap.org>
Debugging scan stage
Enable scan stage
Enable scan stage
Reenabling full build
Switched libdap_version() to CVER. release-buildnum
Probing Package_Version
Debugging RPM build.
2021-10-27 James Gallagher <jgallagher@opendap.org>
new credentials (#159)
New encrypted credentials for AWS
Moved the [[deprecated]] annotations into the doxygen comments (#160)
Moved the [[deprecated]] annotations into the doxygen comments
Adding C++-14 features to our code makes for many warnings
which hides errors.
Add login for docker hub
2021-10-20 The-Robot-Travis <npotter@opendap.org>
Removed [[deprecated ...]] from headers - it's fine in the .cc files
[skip ci]
2021-09-17 James Gallagher <jgallagher@opendap.org>
Spelling fixes in configure.ac
[skip ci]
2021-09-16 dh-opendap <dholloway@opendap.org>
skip ci
2021-09-15 dh-opendap <dholloway@opendap.org>
Updated on 2021-09-15
# libdap version 3.20.9
2021-08-18 ndp-opendap <ndp@opendap.org>
Merge branch 'master' of https://github.com/OPENDAP/libdap4
Added travis-ci-opendap token
2021-08-12 James Gallagher <jgallagher@opendap.org>
Modified Error so that it is more in line with C++11 (#158)
This is a test for similar changes that we should make in the BES
Co-authored-by: The-Robot-Travis <npotter@opendap.org>
2021-07-22 The-Robot-Travis <npotter@opendap.org>
Removed generated grammar files from CMakeLists.txt
[skip ci]
Make CMakeLists.txt use dirs conditionally
[skip ci]
2021-06-22 ndp-opendap <ndp@opendap.org>
Disambiguation of the pooorly overloaded set_response_limit() methods in DDS and DMR to set_response_limit_kb()
2021-06-21 Nathan Potter <ndp@opendap.org>
Added (shallow) unit64_t request size computations and max_request_size state. (#156)
* Added (shallow) Int64 request computations and max_regquest_size state.
* Added include for <cstdint> as needed.
* Added -std=c++11 / -std=gnu++11 as reasonable,
* TWeking -std=c+11 flag production
* More with the CXX11_FLAG fiddles
* More with the CXX11_FLAG fiddles
* More with the CXX11_FLAG fiddles
* More with the CXX11_FLAG fiddles
* More with the CXX11_FLAG fiddles
* More with the CXX11_FLAG fiddles
* - Changed the internal representation of max response size
to uint64_t and confined the overflow to just the
(deprecated) functions
* Docs updated
* Small errors fixed.
* COnst and comments
* Dropping const reference and adding comments.
2021-06-21 James Gallagher <jgallagher@opendap.org>
Add support for includes prefixed with 'libdap' (#157)
Add support for includes prefixed with 'libdap'
This fix enables code like #include <libdap/Array.h> which
will fix the issue where Array.h clashes with C++-11's 'array.h'
that differs in case only (and triggers warnings in IDEs
making using them tedious. It will also pave the way for code
that uses two different libraries' headers.
Co-authored-by: The-Robot-Travis <npotter@opendap.org>
2021-05-20 James Gallagher <jgallagher@opendap.org>
Actions test (#153)
Update the main.yml workflow.
* Use multi-repo checkout@v2 action
* Bump Ubuntu version to 20.04, added apt-get packages needed for Ubuntu 20
* A better way to handle changes in the dependencies: use the hashFiles() function. This
way any change in the dependencies version will trigger a rebuild.
* All but the main workflow now in 'unused' folder. We need to get the hyrax-deps, libdap4,
bes, hyrax-docker chain sorted before we start using the pipeline for real.
2021-05-18 James Gallagher <jgallagher@opendap.org>
Switch to bionic (#155)
Fix failed distcheck target
Merge branch 'master' of https://github.com/OPENDAP/libdap4
trigger a test build
2021-05-14 ndp-opendap <ndp@opendap.org>
Added the built files libdap.spec and libdap_VERSION to .gitignore
2021-05-08 The-Robot-Travis <npotter@opendap.org>
Trying to fix libdap4 trigger of BES build.
Triggering CI build.
2021-05-07 Nathan Potter <ndp@opendap.org>
This adds a -S switch that when used (#154)
in conjunction with the -d (print DMR) switch will
compute the size of the data reoresented by the DMR and print out that value.
Co-authored-by: The-Robot-Travis <npotter@opendap.org>
2021-05-06 The-Robot-Travis <npotter@opendap.org>
Added a description of the build-number scheme to trigger-bes-build.sh
[skip ci]
2021-05-05 The-Robot-Travis <npotter@opendap.org>
Travis.yml now uses libdap_VERSION
Updated the trigger_bes_build.sh script
VERSION is version on OSX and that's an issue for the 11.3.1 compier
Fixed: VESION.in --> libdap_VERSION.in
2021-03-29 James Gallagher <jgallagher@opendap.org>
Only trigger the BES build for master, not for PRs (#152)
Only trigger the BES build for master, not for PRs
2021-03-24 The-Robot-Travis <npotter@opendap.org>
Adding build numer to bes trgger
2021-03-23 James Gallagher <jgallagher@opendap.org>
Build number option (#151)
Modify the build so that the source and rpm distributions include build numbers
We've adopted a x.y.z-build version/build number scheme. Automate that so that
the build number part of the version/build number is incremented automatically
with every build of the master branch. To do this, I added a file name VERSION
that holds the number, a new option -with-build to the configure script and mods
to the .travis.yml, build-rpm.sh, and Makefile.am files.
2021-03-12 kyang2014 <kyang2014@users.noreply.github.com>
HK-726, Don't make DAP4 empty container attribute fail. (#150)
* HK-726, Don't make DAP4 empty container attribute fail.
* HK-726, edit the comments to make the github check pass.
2021-03-11 James Gallagher <jgallagher@opendap.org>
Merge branch 'master' of https://github.com/opendap/libdap4