-
Notifications
You must be signed in to change notification settings - Fork 17
/
ChangeLog
5631 lines (3739 loc) · 169 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
2015-01-25 Dave Beckett <dave@dajobe.org>
* src/common.c, src/flickcurl_internal.h, src/oauth.c: Make form
use/free api saner and prevent double free.
Closes #28
2015-01-18 Dave Beckett <dave@dajobe.org>
* src/common.c:
(flickcurl_array_join): Do not add trailing ,
Closes #27
2014-11-10 Dave Beckett <dave@dajobe.org>
* docs/flickcurl-sections.txt, src/favorites-api.c,
src/flickcurl.h, utils/commands.c: Added min_fave_date and
max_fave_date to flickcurl_favorites_getList
(flickcurl_favorites_getList2, flickcurl_favorites_getList2_params):
Added based on older methods but with min_fave_date and
max_fave_date arguments added.
(flickcurl_favorites_getList): Deprecated for
flickcurl_favorites_getList2
(flickcurl_favorites_getList_params): Deprecated for
flickcurl_favorites_getList2_params
2014-08-18 Dave Beckett <dave@dajobe.org>
* NEWS.html, configure.ac:
Bumped version to 1.27
2014-08-17 Dave Beckett <dave@dajobe.org>
* Snapshotted flickcurl_1_26 for 1.26 release (GIT
0eee7c4e17d29ea9026acab05294c79c92827c0e)
2014-08-16 Dave Beckett <dave@dajobe.org>
* .travis.yml: preserve maintainer mode
* docs/Makefile.am: Build generated files in maintainer mode.
* examples/print-photo-info.c: a little error handling
* NEWS.html: 1.26
* ChangeLog: #changes
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/common.c:
(flickcurl_invoke_get_form_content): Protect for NULL content
Related to coverity CID 56692
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/common.c:
(flickcurl_invoke_get_form_content): free context on error [coverity
CID 56647]
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/shape.c:
Remove not-needed if(xpathNodeCtx) on cleanup path
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/oauth.c:
(flickcurl_oauth_prepare_common): Check malloc failures
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/oauth.c:
(flickcurl_oauth_prepare_common): Use free_nonce [coverity CID
56698]
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/perms.c:
(flickcurl_build_perms): Look for first element. [coverity CID
56709]
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/location.c:
comment
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/location.c:
(flickcurl_build_location): Look for first element. [coverity CID
56708]
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/method.c:
(flickcurl_build_method): Remove if(method) check around cleanup
[coverity CID 56697]
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/institution.c, src/person.c, src/photo.c, src/place.c:
Remove
not-needed if(xpathNodeCtx) on cleanup paths
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/common.c:
(flickcurl_invoke_get_form_content): Clean tidy path
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/method.c:
(flickcurl_build_method): Resource leak [coverity CID 56681]
2014-06-01 Dave Beckett <dave@dajobe.org>
* (flickcurl_build_institutions): Resource leak [coverity CID 58665]
2014-06-01 Dave Beckett <dave@dajobe.org>
* src/common.c:
(flickcurl_invoke_get_form_content): Protect for NULL content
Related to coverity CID 56692
* src/common.c:
(flickcurl_invoke_get_form_content): free context on error
[coverity CID 56647]
* src/shape.c: Remove not-needed if(xpathNodeCtx) on cleanup path
* src/oauth.c:
(flickcurl_oauth_prepare_common): Check malloc failures
* src/oauth.c:
(flickcurl_oauth_prepare_common): Use free_nonce [coverity CID
56698]
* src/perms.c:
(flickcurl_build_perms): Look for first element. [coverity CID
56709]
* src/location.c: comment
* src/location.c:
(flickcurl_build_location): Look for first element. [coverity CID
56708]
* src/method.c:
(flickcurl_build_method): Remove if(method) check around cleanup
[coverity CID 56697]
* src/institution.c, src/person.c, src/photo.c, src/place.c:
Remove not-needed if(xpathNodeCtx) on cleanup paths
* src/common.c:
(flickcurl_invoke_get_form_content): Clean tidy path
* src/method.c:
(flickcurl_build_method): Resource leak [coverity CID 56681]
* src/institution.c:
(flickcurl_build_institutions): Resource leak [coverity CID 58665]
2014-05-31 Dave Beckett <dave@dajobe.org>
* src/oauth.c:
(flickcurl_oauth_build_key): More caution about memcpy on NULL ptrs
[coverity CID 56618]
* src/collection.c:
(flickcurl_build_collections): Note handled above [coverity CID
56616]
* src/serializer.c: note
* src/auth-api.c:
(flickcurl_auth_oauth_getAccessToken): xpathNodeCtx always NULL on
tidy [coverity CID 56614]
* src/photo.c:
(flickcurl_invoke_photos_list): xpathNodeCtx always NULL on tidy
[coverity CID 56612]
* src/common.c:
(flickcurl_invoke_get_form_content): Error path never need
free(form) [coverity CID 56611]
* src/activity.c:
(flickcurl_free_activity): array is never NULL [coverity CID 56622]
* utils/commands.c:
(command_print_activity): array is never NULL [coverity CID 56623]
* utils/commands.c: ws
* src/collection.c:
(flickcurl_build_collections): Free string_value always Coverity CID
65388
* docs/Makefile.am:
Do not ship flickcurl-extras.xml; build it
* utils/Makefile.am:
Added all-programs target to build all programs
* src/config.c:
(flickcurl_config_read_ini): Remove access() call not needed
Coverity CID 56706
* utils/commands.c: Invoke
flickcurl_contacts_getTaggingSuggestions() page, per_page
* src/common.c:
(flickcurl_invoke_get_form_content): Free content [coverity CID
56647]
* src/galleries-api.c:
(flickcurl_galleries_create): Error path leak [coverity CID 56655]
* src/place.c:
(flickcurl_build_places): Error path leak [coverity CID 56660]
* src/institution.c:
(flickcurl_build_institutions): Error path leak [coverity CID 56665]
* src/machinetags-api.c:
(flickcurl_machinetags_getPredicates) Error path leak [coverity CID
56668]
* src/serializer.c:
(flickcurl_serialize_photo): Error path leak [coverity CID 56679]
* src/collection.c:
(flickcurl_build_collections): Error path leak [coverity CID 56680]
* src/method.c:
(flickcurl_build_method): Resource leak [coverity CID 56681]
* utils/codegen.c, utils/commands.c, utils/flickcurl.c,
utils/flickrdf.c, utils/list-methods.c, utils/mangen.c: Use
cmdline common code in utils
* utils/Makefile.am, utils/cmdline.c, utils/flickcurl_cmd.h: Added
cmdline.c common command line code
* src/common.c:
(flickcurl_unixtime_to_sqltimestamp): Use SQL_DATETIME_LEN
Coverity CID 56623
* NEWS.html: 1.26
* src/oauth.c: Update oauth test for https flickr urls
* src/common.c, src/panda-api.c, src/photo.c: doc https
* src/photo.c: Fix images and icons to https
* src/common.c: Oauth services are on https www.flickr.com
* src/galleries-api.c:
(flickcurl_galleries_addPhoto): Simplify and fix response
* src/activity-api.c, src/blogs-api.c, src/collections-api.c,
src/commons-api.c, src/contacts-api.c, src/galleries-api.c,
src/groups-api.c, src/groups-members-api.c,
src/groups-pools-api.c, src/machinetags-api.c, src/method.c,
src/people-api.c, src/photos-api.c, src/photos-comments-api.c,
src/photos-geo-api.c, src/photos-notes-api.c,
src/photos-people-api.c, src/photos-upload-api.c,
src/photosets-api.c, src/places-api.c, src/prefs-api.c,
src/reflection-api.c, src/stats-api.c, src/tags-api.c,
src/test-api.c: Fix a pile of resource leak on error path from
coverity
* src/category.c, src/contacts.c, src/machinetags.c,
src/user_upload_status.c: Fix leaks in free attr_value in XML
parsing
* src/group.c:
Fix attribute value leak [coverity CID 56687]
* src/oauth.c:
Fix error path leak [coverity CID 56688]
* src/shape.c:
Fix error path leak [coverity CID 56689]
* src/photosets-comments-api.c: Fix error path leaks [coverity CID
56690 56691]
* src/common.c:
Switch to https for all service endpoints. HTTP EOL 2014-06-27
2014-04-30 Flickr announced that it would be HTTPS only from
2014-06-27
http://code.flickr.net/2014/04/30/flickr-api-going-ssl-only-on-june-27th-2014/
2014-05-12 Dave Beckett <dave@dajobe.org>
* src/common.c:
(flickcurl_unixtime_to_sqltimestamp): sizeof date_buffer Coverity
CID 56623
2014-05-10 Dave Beckett <dave@dajobe.org>
* utils/commands.c:
(command_places_getShapeHistory): Use woe_id < 0
Problem reported by David Binderman - thanks!
2014-01-26 Dave Beckett <dave@dajobe.org>
* utils/mangen.c: Add \n to fputs()
2014-01-26 Dave Beckett <dave@dajobe.org>
* utils/mangen.c: Fix .br better
* utils/mangen.c: Emit a space after .br
* utils/commands.c: Utility args consistency for PER-PAGE / PAGE
Based on Debian bug 635989
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635989
(command_contacts_getTaggingSuggestions): Use PER-PAGE, PAGE
order.
contacts.getList, contacts.getPublicList: Fix documentation; order
was always PER-PAGE, PAGE
contacts.getTaggingSuggestions: Document PER-PAGE, PAGE order.
2014-01-15 Dave Beckett <dave@dajobe.org>
* autogen.sh:
Create NEWS and README
2014-01-14 Dave Beckett <dave@dajobe.org>
* Makefile.am: Fix HTML rules
* Makefile.am: make test
* docs/Makefile.am, utils/Makefile.am: Build docs/flickcurl.1
outside maintainer mode
* .travis.yml: update
* .travis.yml: Travis CI
* NEWS.html: 1.26
* LICENSE.html, NEWS.html, README.html, src/common.c: 2014
* src/common.c: Use NULL not '\0' [clang]
* docs/Makefile.am: mangen manpage
* docs/Makefile.am, utils/.gitignore, utils/Makefile.am,
utils/flickcurl.c, utils/mangen.c: Added mangen utility to
generate manpage and extras
* utils/Makefile.am, utils/commands.c, utils/flickcurl.c,
utils/flickcurl_cmd.h: Split utility commands out into commands.c
with header
2014-01-13 Dave Beckett <dave@dajobe.org>
* Makefile.am, configure.ac, examples/Makefile.am,
getopt/.gitignore, getopt/Makefile.am, getopt/flickcurl_getopt.h,
getopt/getopt.c, utils/Makefile.am, utils/flickcurl_getopt.h,
utils/getopt.c: Add libgetopt convenience library
* Makefile.am, configure.ac, libmtwist, src/Makefile.am: Make
libtwist a convenience library
* src/common.c: sort flickcurl_extras_format_info names
* src/photo.c:
Support staticflickr.com domain
http://www.flickr.com/services/api/misc.urls.html
http://www.flickr.com/services/api/misc.buddyicons.html
(flickcurl_photo_as_source_uri, flickcurl_user_icon_uri): Use new
domain for building image URIs.
(flickcurl_source_uri_as_photo_id): Accept old static.flickr.com
as well as new domain in URIs.
* src/photo.c: Use smaller fixed buffer sizes on stack
* src/common.c: Add new extras: url_q, url_n and url_c Document
the older urls using info on web site
* configure.ac: Check for clang to enable correct discovery of
supported warnings
2013-09-01 Dave Beckett <dave@dajobe.org>
* NEWS.html, configure.ac: Bumped version to 1.26
* Snapshotted flickcurl_1_25 for 1.25 release (GIT
4222075303446c1f1241282a41838557876559b2)
2013-08-24 Dave Beckett <dave@dajobe.org>
* README.html: Fix broken link
2013-08-09 Dave Beckett <dave@dajobe.org>
* coverage.html, src/flickcurl.h, src/tags-api.c, utils/flickcurl.c:
Implement flickr.tags.getMostFrequentlyUsed
(flickcurl_tags_getMostFrequentlyUsed): Added implementing
flickr.tags.getMostFrequentlyUsed Updated flickcurl utility to
support it. ISSUE: This does not seeem to work via OAuth 2.0
although it works in the API Explorer.
2013-07-29 Dave Beckett <dave@dajobe.org>
* coverage.html, src/flickcurl.h, src/people-api.c,
utils/flickcurl.c: Added flickr.people.getGroups
(flickcurl_people_getGroups): Added.
* coverage.html:
Added flickr.contacts.getTaggingSuggestions
* src/contacts-api.c, src/flickcurl.h, utils/flickcurl.c: Added
contacts.getTaggingSuggestions
(flickcurl_contacts_getTaggingSuggestions): Added.
Reordered parameters to match rest of contacts.get* API calls.
flickcurl: Added new command and adjusted some help text for other
contacts.get* API calls.
2013-06-22 Dave Beckett <dave@dajobe.org>
* ChangeLog: #changes
2013-06-21 Dave Beckett <dave@dajobe.org>
* src/groups-api.c: Guess that boolean value params take '1' or
'0' strings
2013-06-17 Dave Beckett <dave@dajobe.org>
* NEWS.html: 1.25 changes
* flickcurl-config.in: tidy vars
* configure.ac: tidy AC_CONFIG_FILES
* docs/flickcurl-config.1, flickcurl-config.in: Work without
pkg-config and deprecate flickcurl-config in docs
* docs/tmpl/section-group.sgml, docs/tmpl/section-upload.sgml:
Update tmpls
* docs/flickcurl-sections.txt: Add internal / deprecated
flickcurl_upload_status_free
* docs/flickcurl-config.1, flickcurl-config.in: Work without
pkg-config and deprecate flickcurl-config in docs
* docs/tmpl/section-group.sgml, docs/tmpl/section-upload.sgml:
Update tmpls
* docs/flickcurl-sections.txt: Add internal / deprecated
flickcurl_upload_status_free
* utils/flickrdf.c:
Use non-deprecated flickcurl_photos_getInfo2
* coverage.html: Update coverage for new groups apis
* docs/flickcurl-sections.txt, src/flickcurl.h, src/groups-api.c,
utils/flickcurl.c: Added new API calls for groups join,
joinRequest and leave
(flickcurl_groups_join, flickcurl_groups_joinRequest)
(flickcurl_groups_leave): Added.
* utils/codegen.c: Update codegen for new parameters calls
* coverage.html: reorder
* coverage.html: Added auth.oauth
2013-06-16 Dave Beckett <dave@dajobe.org>
* coverage.html: updated %age
* coverage.html: Updated coverage by hand
* utils/flickcurl.c:
(command_urls_lookupUser): Fix failure
* src/upload-api.c:
(flickcurl_photos_upload): Init hidden to default -1
* src/flickcurl.h: flickcurl_upload_params: annotate default
values
safety_level, content_type and hidden can be left at their default
values with values <=0
* utils/flickcurl.c: Adjust oauth docs to oauth.CMD form
* utils/flickcurl.c: newline in output
* src/common.c:
(flickcurl_invoke_common): Remove totally wrong XML form content
type.
* src/common.c: Add curl input/output tracing when FLICKCURL_DEBUG
> 2
* src/common.c: debug formatting
* src/common.c: more CURL debugging details for forms
* utils/flickcurl.c:
(command_oauth_create): Report next step command line for
oauth-create
* src/oauth.c:
(flickcurl_oauth_prepare_common): Fix assert to look for too small
buffer.
* src/oauth.c: docs
* src/common.c: 2013
2013-05-29 Dave Beckett <dave@dajobe.org>
* src/common.c: docs
* src/legacy-auth.c, src/oauth.c: Fix assert to check the right
thing
2013-05-27 Dave Beckett <dave@dajobe.org>
* src/common.c, src/legacy-auth.c, src/oauth.c: Take care not to
add '?' for OAuth signature calculations in POST
Default flickcurl_flickr_service_uri loses the '?'
(flickcurl_legacy_prepare_common, flickcurl_oauth_prepare_common):
Rename parameter to service_uri and use if(parameters_in_url) to
decide when to add '?'.
* src/common.c, src/contacts-api.c, src/favorites-api.c,
src/galleries-api.c, src/groups-pools-api.c, src/photos-api.c,
src/photos-comments-api.c, src/photos-geo-api.c,
src/photos-licenses-api.c, src/photos-notes-api.c,
src/photos-people-api.c, src/photosets-api.c,
src/photosets-comments-api.c: flickcurl_init_params initialises
data to empty
Remove most flickcurl_set_data calls which all set the data to
empty; it's not used to set non-empty data.
* src/activity-api.c, src/auth-api.c, src/blogs-api.c,
src/collections-api.c, src/common.c, src/commons-api.c,
src/contacts-api.c, src/favorites-api.c, src/flickcurl.h,
src/flickcurl_internal.h, src/galleries-api.c, src/groups-api.c,
src/groups-members-api.c, src/groups-pools-api.c,
src/interestingness-api.c, src/legacy-auth.c,
src/machinetags-api.c, src/oauth.c, src/panda-api.c,
src/people-api.c, src/photos-api.c, src/photos-comments-api.c,
src/photos-geo-api.c, src/photos-licenses-api.c,
src/photos-notes-api.c, src/photos-people-api.c,
src/photos-transform-api.c, src/photos-upload-api.c,
src/photosets-api.c, src/photosets-comments-api.c,
src/places-api.c, src/prefs-api.c, src/reflection-api.c,
src/stats-api.c, src/tags-api.c, src/test-api.c, src/upload-api.c:
Move is_write flag to flickcurl_init_params()
OAuth needs this flag during prepare which is too late using
flickcurl_set_write() later on.
2013-04-10 Dave Beckett <dave@dajobe.org>
* NEWS.html, configure.ac:
Bumped version to 1.25
* Snapshotted flickcurl_1_24 for 1.24 release (GIT
874b9f7033ac681925a2f9f260c4d5af510e55d2)
* utils/flickrdf.c: Casts for C++
* src/favorites-api.c, src/group.c, src/oauth.c, src/sha1.c: Casts
for C++
* src/oauth.c:
(flickcurl_oauth_create_access_token): Handle NULL username,
user_nsid [clang]
* src/group.c:
(flickcurl_build_groups): Do not lose malloced attr values [clang]
* configure.ac: Only add libcurl and libxml to .pc if they were
configured via pkg-config
2013-04-09 Dave Beckett <dave@dajobe.org>
* src/.gitignore: Ignore more
2013-04-08 Dave Beckett <dave@dajobe.org>
* examples/print-photo-info.c: Include flickcurl_config_read_in()
example code
* examples/search-photos.c: Use flickcurl_config_read_ini() to get
config
* examples/search-photos.c: Updated for reading OAuth config using
flickcurl_config_var_handler()
* src/md5.c: Do not destroy MD5 digest
2013-04-07 Dave Beckett <dave@dajobe.org>
* build/.gitignore: ignore more
* autogen.sh: autoconf
* configure.ac: autoconf warnings
Make AC_RUN_IFELSE assume failure when cross compiling and checking
for vsnprintf return; pessimisim will work
* configure.ac: Modernize LT_INIT call for libtool 2.2+
* README.html: words
* docs/flickcurl-oauth.xml: update example tokens
* LICENSE.html, NEWS.html, README.html, docs/flickcurl-docs.xml:
2013
* examples/print-photo-info.c: Use OAuth
* docs/flickcurl-sections.txt: 1.24 new functions
* src/common.c, src/md5.c: memset fixes [gcc 4.8]
* NEWS.html: 1.24
* ChangeLog: #changes
* src/oauth.c:
(flickcurl_oauth_free): Free oauth username and user_nsid
* Merge pull request #18 from jcsogo/userid
Make available the username and user_nsid when oauth
authentication happens
2013-02-22 Dave Beckett <dave@dajobe.org>
* utils/flickcurl.c: Add missing command contacts.getPublicList
Fixes https://github.com/dajobe/flickcurl/issues/19
2013-02-14 Jose Carlos Garcia Sogo <jsogo@debian.org>
* src/oauth.c: Commit forgotten code
2013-02-13 Dave Beckett <dave@dajobe.org>
* utils/flickcurl.c: Allow photos.getInfo to take an optional
SECRET arg
Call flickcurl_photos_getInfo2() instead of deprecated
flickcurl_photos_getInfo()
* utils/flickcurl.c: Add description of PER-PAGE and PAGE into
manpage
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635989
* utils/flickcurl.c: Make PER-PAGE PAGE docs match code
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=635989
* src/flickcurl.h, src/photos-api.c:
(flickcurl_photos_getInfo2): Added replacing
flickcurl_photos_getInfo
Adds optional 'secret' parameter that was added sometime to the API.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637746
2013-02-13 Jose Carlos Garcia Sogo <jsogo@debian.org>
* src/flickcurl.h, src/flickcurl_internal.h: Make available the
username and user_nsid when oauth authentication is done
2013-01-16 Dave Beckett <dave@dajobe.org>
* src/common.c:
(win32 gettimeofday): Use tp-> not tv->
2013-01-11 Dave Beckett <dave@dajobe.org>
* src/tags.c:
Grab text from <tag> child text node correctly.
Fixes https://github.com/dajobe/flickcurl/issues/16
2013-01-10 Dave Beckett <dave@dajobe.org>
* src/location.c: Parse double latitude and longitude with atof()
not atoi()
Bug report from Clemens Arth - thanks
2012-12-15 Dave Beckett <dave@dajobe.org>
* autogen.sh: Handle AM_CONFIG_HEADER AND newer
AC_CONFIG_HEADER(S)
2012-12-03 Dave Beckett <dave@dajobe.org>
* src/flickcurl.h, src/group.c, utils/flickcurl.c: Add a pile of
group response fields.
Added iconfarm icon farm number; is_moderator and is_member
booleans, rules description; pool_count, topic_count counts and
group restriction booleans: photos_ok, videos_ok, images_ok,
screens_ok, art_ok, safe_ok, moderate_ok, restricted_ok, has_geo.
2012-09-02 Dave Beckett <dave@dajobe.org>
* NEWS.html, configure.ac: Bumped version to 1.24
2012-09-01 Dave Beckett <dave@dajobe.org>
* Snapshotted flickcurl_1_23 for 1.23 release (GIT
29b6f5b550599ce9398504b975c784eac4cb2ba1)
* docs/flickcurl-authenticate.xml, docs/flickcurl-oauth.xml: docs
* utils/flickcurl.c: Add oauth.verify command to upgrade legacy
auth to OAuth
* docs/flickcurl-authenticate.xml, docs/flickcurl-oauth.xml: More
oauth docs
* docs/Makefile.am, docs/flickcurl-authenticate.xml,
docs/flickcurl-docs.xml, docs/flickcurl-oauth.xml: OAuth docs
2012-08-31 Dave Beckett <dave@dajobe.org>
* autogen.sh: autogen.sh docs
* autogen.sh, configure.ac: Update autogen.sh and configure.ac via
autoupdate
2012-08-29 Dave Beckett <dave@dajobe.org>
* NEWS.html: words
* NEWS.html: html
2012-08-28 Dave Beckett <dave@dajobe.org>
* src/oauth.c:
(test_request_token): Fix call to
flickcurl_oauth_create_request_token
* utils/Makefile.am, utils/oauth-test.c: Remove oauth-test utility
no longer needed
* docs/tmpl/section-auth.sgml, docs/tmpl/section-core.sgml,
docs/tmpl/section-misc.sgml: Update tmpls
* docs/flickcurl-sections.txt: Add new functions to sections
* src/collection.c, src/common.c, src/gallery.c, src/person.c,
src/photo.c: Replace strncpy with memcpy
* ChangeLog: #changes
* src/oauth.c: Remove final strcat from OAuth code
(flickcurl_oauth_prepare_common): replaced strcat with pointer
movement and memcpy
* src/oauth.c: Remove strcpy and stract from OAuth code
(flickcurl_oauth_prepare_common): strcpy and strcat replaced with
pointer movement and memcpy
* src/photo.c:
(flickcurl_user_icon_uri): 42
* src/photo.c:
(flickcurl_photo_as_source_uri): Remove strcpy
* src/machinetags.c: Switch to strlen / malloc / memcpy form
(flickcurl_build_tag_namespaces,
flickcurl_build_tag_predicate_values):
Switch from sequence:
dest = malloc(strlen(str) + 1);
strcpy(dest, str);
to
len = strlen(str)
dest = malloc(len + 1)
memcpy(dest, str, len + 1)
to get rid of strcpy for known string length
* src/legacy-auth.c: Remove strcpy from legacy auth code
(flickcurl_legacy_prepare_common): Lots of url and parameter
counting. strcpy and strcat replaced with pointer movement and
memcpy
* src/args.c:
(flickcurl_build_args): Fix strlen/malloc/memcpy cut-n-pasto
* src/activity.c, src/args.c, src/blog.c, src/category.c,
src/comments.c, src/contacts.c, src/context.c, src/exif.c,
src/gallery.c, src/group.c, src/members.c, src/note.c,
src/oauth.c, src/panda-api.c, src/perms.c, src/photos-api.c,
src/photos-licenses-api.c, src/photoset.c, src/place.c,
src/reflection-api.c, src/serializer.c, src/size.c, src/stat.c,
src/tags.c, src/ticket.c, src/user_upload_status.c, src/common.c:
Switch to strlen / malloc / memcpy form for setters
Switch from sequence:
dest = malloc(strlen(str) + 1);
strcpy(dest, str);
to
len = strlen(str)
dest = malloc(len + 1)
memcpy(dest, str, len + 1)
to get rid of strcpy for known string length
(flickcurl_set_user_agent, flickcurl_set_proxy,
flickcurl_set_http_accept): swtich from "malloc(strcpy); strcpy"
to "strlen(); malloc(); memcpy()" sequence
(flickcurl_invoke_common): Use same for raptor building URIs from
filename.
* src/common.c, src/legacy-auth.c, src/oauth.c, src/photo.c:
Change slightly unportable strdup() with malloc + memcpy
* src/group.c: Free attribute values if not used [clang]
(flickcurl_build_groups): Free value from child node always
* libmtwist: Update submodule libmtwist
* src/upload-api.c: Free status on error path [clang]
(flickcurl_photos_upload_params, flickcurl_photos_replace): Free
status on error exist.
* src/ticket.c: Free attribute values if not used [clang]
(flickcurl_build_tickets): Free attr_value
* src/tags.c: Free attribute values if not used. Free vars in loop
[clang]
(flickcurl_build_tags): Free attr_value
(flickcurl_build_tags_from_string): Use memcpy for known length
string.
(flickcurl_build_tag_clusters): Free tc on loop skip Free tag
cluster on error exit.
* src/stats-api.c: Initialise vars for errors. Free results on an
error [clang]
(flickcurl_stats_getCollectionStats,
flickcurl_stats_getPhotosetStats,
flickcurl_stats_getPhotostreamStats): Initialize count vars for
error case.
(flickcurl_stats_getTotalViews): Initialize count vars for error
case. Free views on error exits
* src/stat.c:
Free attribute values if not used [clang]
(flickcurl_build_stats): Free attr_value
* src/size.c:
Free attribute values if not used [clang]
(flickcurl_build_sizes): Free attr_value
* src/shape.c:
Free results on an error [clang]
(flickcurl_build_shapes): Free shapes on error exits
* src/place.c: Free results on an error, attribute values, calloc
fixes [clang]
(flickcurl_build_places): Free places on error exits
(flickcurl_build_place_types): Calloc correct object
pointer (semantic error but not dangerous). Calloc correct
parameter order. Free attribute value if not used.
* src/photos-licenses-api.c: Free attribute values if not used
[clang]
(flickcurl_read_licenses): Free attr_value
* src/photos-api.c: Free attribute values if not used and objects
on error path [clang]
(flickcurl_build_photocounts): Free attr_value
(flickcurl_photos_getCounts): Free counts on error exit
* src/photo.c: Free results on an error [clang]
(flickcurl_build_photos): Free photos on error exits
(flickcurl_invoke_photos_list): Check for NULL photos_list before
trying to call it
* src/perms.c:
Free attribute values if not used [clang]
(flickcurl_build_perms): Free attr_value
* src/panda-api.c:
Free results on an error [clang]
(flickcurl_panda_getList): Free pandas on error exits
* src/note.c:
Free attribute values if not used [clang]
(flickcurl_build_notes): Free attr_value
* src/method.c:
Free results on an error [clang]
(flickcurl_build_method): Free method on error exits
* src/machinetags.c: Free attribute values if not used [clang]
(flickcurl_build_tag_namespaces,
flickcurl_build_tag_predicate_values): Free attr_value
* src/location.c: Memcpy and attribute value fixes [clang]
(flickcurl_build_location): memcpy instead of strcpy. Always free
attribute value.
* src/institution.c: Free results on an error [clang]
(flickcurl_build_institutions): Free institutions on error exits
* src/favorites-api.c: Free results on an error [clang]
(flickcurl_favorites_getContext): Do not set an unused value. Free
photos lists on error exits
* src/exif.c: Free attribute values if not used [clang]
(flickcurl_build_exifs): Free attr_value
* src/context.c: Fix allocation and freeing attribute values
[clang]
(flickcurl_build_contexts): Calloc correct sized pointer (no
danger, but a semantic error). Free unused attribute values.
* src/common.c: Set a return value always [clang]
(flickcurl_prepare_common): Set rc and use memcpy for string
* src/collection.c: Free results on an error [clang]
(flickcurl_build_collections): Free collections on error exits
* src/category.c: Free attribute values if not used [clang]
(flickcurl_build_categories): Free attr_value
* src/blog.c: Free attribute values if not used [clang]