forked from cybergarage/mupnp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1665 lines (1329 loc) · 71.3 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
2013-12-21 Satoshi Konno <[email protected]>
* 2.4.1
* Updated all functions using 'const' keyword in C99.
* Fixed compiler warnings using GCC 4.4.1.
2012-07-24 Jakob Sachse <[email protected]>
* Fixed cg_socket_getrawtype() to consider the bitmasks.
2012-01-16 Satoshi Konno <[email protected]>
* Improved cg_upnp_service_get*url() to return the absolute URL more correctly.
* Fixed cg_net_uri_setvalue() to parse correctly when the specified path is null.
2011-12-01 Satoshi Konno <[email protected]>
* Added a following control point sample for Objective-C on iOS.
sample/upnpbrowser/ios/upnpbrowser.xcodeproj
2011-09-21 Satoshi Konno <[email protected]>
* Fixed cupnp_function.c to compile normally on iOS platforms.
* Fixed some memory leaks for Objective-C.
2011-09-16 Satoshi Konno <[email protected]>
* 2.4
2011-09-10 Satoshi Konno <[email protected]>
* Fixed to compile using XCode4 on MacOSX and iOS normally.
* Added source codes for Objective-C
* Removed TARGET_OS_IPHONE define from the compiler option setting.
2011-03-09 Satoshi Konno <[email protected]>
* Imporved cg_log_print() to return immediately when the output target is nothing.
* Added cg_upnpav_content_setupnpalbumarturi() and cg_upnpav_content_getupnpalbumarturi().
2011-02-23 Satoshi Konno <[email protected]>
* Added the control point parameter into CG_UPNP_DEVICE_LISTENER.
* Added cg_upnp_ssdprequest_print() and cg_upnp_ssdpresponse_print().
* Added some debug messages.
* Added CGUpnpDeviceDelegate (Objective-C).
2010-10-26 Satoshi Konno <[email protected]>
* Added cg_upnp_controlpoint_isrunning().
2010-08-20 Satoshi Konno <[email protected]>
* Changed some source codes to compile normally using Visual Studio 2008.
* Added some project files for Visual Studio 2008.
* Added cg_upnpav_dms_updatenetworkinterfaces() and cg_upnpav_dms_getnetworkinterface();
2010-08-17 Ariel Yaloz <[email protected]>
* Added support for getting the list of allowable values for a state variable
* Added a method for checking whether a state variable is implemented
* Fix compilation on MacOS X
2010-07-31 Roman Shterenzon <[email protected]>
* Fixed autoconf warnings
* Don't append the original query to path when it already has a query (fixes WMP11/12 access)
* Fixed several memory leaks in Objective-C wrapper
* Proper handling of edge cases in src/cybergarage/upnp/cservice.c and
std/av/src/cybergarage/upnp/std/av/cprotocolinfo.c
* Fix crashes caused by attempts to initialize NSString with NULL cstring
* Added modelNumber and modelName methods to CGUpnpDevice class
2010-06-28 Christian Zuckschwerdt <[email protected]>
* Fixed CGUpnpAction::arguments() not to release temporary object.
2010-06-24 Satoshi Konno <[email protected]>
* Added cg_xml_node_print().
2010-03-17 Satoshi Konno <[email protected]>
* Added cg_upnp_service_createnotifyallthread().
* Changed cg_upnp_device_newsubscriptionrecieved() to delay the notify message instead of cg_upnp_service_notifyall().
* Changed cg_upnp_event_notify_request_setpropertysetnode() to add a connection header.
* Changed cg_http_getservername() to use uname() on iPhone platform.
2010-02-09 Satoshi Konno <[email protected]>
* Added project files for Visual Studio 2008.
* Disabled AC_PROG_LIBTOOL and HAVE_LIBTOOL in confugre.in and Makefile.am.
* Disabled libxml2 and libcurl as default in confugre.in.
* Added support for SO_NOSIGPIPES in configure.in.
* Fixed some errors to compile normally on Ubuntu 9.10.
* Changed CG_USE_WIN32_GETHOSTADDRESSES flag as default for Windows platform.
* Fixed cg_upnp_device_unsubscriptionrecieved() to unscribe normally.
* Fixed cg_upnp_device_ssdpmessagereceived() not to ignore IPv6 multicast.
* Updated cg_upnp_createuuid() to use naitive functions on Windows and Unix platforms.
2010-01-20 Satoshi Konno <[email protected]>
* Removed service mutex control from cg_upnp_service_addsubscriber() to avoid deadlock.
2009-09-01 Satoshi Konno <[email protected]>
* Added cg_soap_response_getstatuscode().
* Added cg_upnp_event_notify_response_getstatuscode().
2009-08-27 Satoshi Konno <[email protected]>
* Added cg_upnp_argument_setfloatvalue() and cg_upnp_argument_getfloatvalue().
* Added cg_upnp_argument_setdoublevalue() and cg_upnp_argument_getdoublevalue().
* Added cg_string_getfloatvalue() and cg_string_getdoublevalue().
* Added cg_float2str() and cg_double2str().
* Added cg_str2float() and cg_str2double().
* Added cg_upnp_device_gethttpserverlist() and cg_upnp_device_getssdpserverlist().
* Added cg_http_server_getsocket().
* Added CGUpnpDevice::isRunning().
2009-06-01 Satoshi Konno <[email protected]>
* Added cg_dictionary_*();
* Added cg_net_uri_getquerydictionary().
* Fixed a buffer overrun of cg_xml_escapechars().
* Changed cg_socket_setid() not to raise SIGPIPE on iPhone.
2009-05-28 Satoshi Konno <[email protected]>
* Improved cg_string_*() and cg_list_*() not to abort when the specified string object is NULL.
* Added cg_upnp_device_getsmallesticonbymimetype().
* Added cg_upnp_device_addicon().
* Added CGUpnpDevice:setDeviceType().
* Added cg_http_request_postdata().
* Added cg_http_request_postchunkeddata() and cg_http_request_postlastchunk().
* Added cg_http_request_closesocket().
* Added cg_upnp_device_isrunning().
2009-04-23 Satoshi Konno <[email protected]>
* Added DLNA-CP-version in the USER-AGENT HTTP header value as default.
2009-01-29 Satoshi Konno <[email protected]>
* Added cg_net_uri_rebuild() and cg_net_url_rebuild().
* Fixed cg_upnp_service_mangleurl() to return correct url using cg_net_uri_rebuild() when a device has URLBase and the service's URL is relative.
* Changed cg_upnp_controlpoint_parsescservicescpd() to read the service description internally because the some illegal devices, such as MediaLink, don't return the specified service description.
2008-12-08 Satoshi Konno <[email protected]>
* Added cg_upnp_device_getsmallesticon().
* Added cg_upnp_device_getabsoluteiconurl().
* Added cg_net_uri_setvalue() and cg_net_uri_getvalue().
* Deprecated cg_net_uri_set().
* Added CGUpnpDevice:urlBase().
* Added CGUpnpDevice:smallestIcon().
* Added CGUpnpDevice:absoluteIconUrl().
2008-11-18 Satoshi Konno <[email protected]>
* Changed cg_http_request_post_main() to write the first line at a time because SIGPIPE occurred on some HTTP server such as Flickr.
2008-10-31 Satoshi Konno <[email protected]>
* v2.3
* Added UPnP/AV package in std/av as a sample implementation.
2008-09-26 Satoshi Konno <[email protected]>
* Fixed the following methods correctly
cg_upnp_device_setmanufacture() -> cg_upnp_device_setmanufacturer()
cg_upnp_device_getmanufacture() -> cg_upnp_device_getmanufacturer()
cg_upnp_device_setmanufactureurl() -> cg_upnp_device_setmanufacturerurl()
cg_upnp_device_getmanufactureurl() -> cg_upnp_device_getmanufacturerurl()
* Fixed cg_net_uri_unescapestring() to compile normally on WIN32 platforms.
* Changed to include <TargetConditionals.h> in <typedef.h> on XCode as default.
* Enabled SO_REUSEPORT in cg_socket_setreuseaddress() on MacOSX and iPhone platforms.
* Disabled signal in cg_thread_stop_with_cond() on MacOSX and iPhone platforms.
* Enabled libxml2 as default using TARGET_OS_IPHONE macro on iPhone and iPhone-Simulator.
* Added cg_xml_node_copy().
* Changed cg_upnp_device_ssdpmessagereceived() to return the response more shortly.
* Fixed cg_net_selectaddr() to get a correct address on iPhone and iPhone-Simulator.
2008-08-21 Satoshi Konno <[email protected]>
* Fixed some warnings using GCC v4.0.1.
* Added the following macros.
cg_string_getintvalue()
cg_string_getlongvalue()
cg_xml_node_getintvalue()
cg_xml_node_getlongvalue()
cg_xml_node_getchildnodeintvalue()
cg_xml_node_getchildnodelongvalue()
* Changed the following functions to return an integer value instead of a string.
cg_upnp_icon_getwidth()
cg_upnp_icon_getheight()
cg_upnp_icon_getdepth()
2008-06-06 Satoshi Konno <[email protected]>
* v2.2.
2008-05-24 Satoshi Konno <[email protected]>
* Added cg_xml_nodelist_getbyname() instead of cg_xml_nodelist_get().
* Added cg_xml_node_getchildnodebyname() instead of cg_xml_node_getchildnode().
* Deprecated cg_xml_nodelist_get() and cg_xml_node_getchildnode().
* Added support to include <expat/expat.h>.
* Added a sample for UPnP/AV, upnpavdump, to parser the content lists of the media servers.
* Added a sample for UPnP/IGD, upnpigddump, to show the status parser of the internet gateway devices.
2008-05-14 Satoshi Konno <[email protected]>
* Changed typedef.h about BOOL type using Objective-C for XCode.
* Changed cg_cond_signal() using SetEvent() instead of WaitForSingleObject() for WIN32 platform.
* Fixed cg_xml_parse() not to abort when the data is null or the length less than zero.
* Enabled cg_net_gethostinterfaces() for MacOSX in cinterface_function.c using __APPLE_CC_ macro.
2008-04-22 Satoshi Konno <[email protected]>
* Added cg_upnp_controlpoint_getdevice() to get a device by the index.
* Added cg_upnp_device_getnservices() and cg_upnp_device_getservice() to get a device by the index.
2008-03-17 Satoshi Konno <[email protected]>
* Changed not to define BOOL type using Objective-C for XCode.
* Added to check IP_PKTINFO into configure.in.
* Changed the following functions using void parameter instead of CgService not to conflict the prototype defines.
cg_upnp_event_notify_request_setpropertysetnode() and cg_upnp_subscriber_notifyall() using GCC v4.0.
* Fixed cg_socket_setid() to disable the IPPROTO_IP option using XCode 3.0.
* Fixed other errors using XCode 3.0.
2007-12-24 Satoshi Konno <[email protected]>
* Added CG_UPNP_ST_URN and cg_upnp_st_isurn() to <ccontrol.h>.
* Changed cg_upnp_device_ssdpmessagereceived() using cg_upnp_st_isurn() instead of cg_upnp_st_isurndevice() to find non standard UPnP devices.
* Changed cg_upnp_service_ssdpmessagereceived() using cg_upnp_st_isurn() instead of cg_upnp_st_isurnservice() to find non standard UPnP devices.
* Fixed cg_upnp_device_getservicebycontrolurl() to abort when the service_url is null.
* Fixed cg_string_naddvalue() to comipler using other compilers normally.
* Added cg_upnp_statevariable_setvaluewithoutnotify() not to send the updated value for other devices which subscribe the service of the state variable.
* Deprecated cg_upnp_service_notifyallstatevariables(). Use cg_upnp_service_notifyall which can send the events individually or collectively.
2007-12-13 Aapo Makela <[email protected]>
* Multiple patches to fix crashes in out-of-memory situations
* Implemented more efficient reallocation policy in CgString
* Added proper control point locking in control point HTTP server
2007-11-16 Satoshi Konno <[email protected]>
* Fixed cg_http_packet_read_body()not to lost data when the response packet is huge.
2007-10-22 Aapo Makela <[email protected]>
* Added deb-target to Makefile.am to build Debian packages
* Fixed copyright notices in source files to match the copyright defined in COPYING
* Added NULL check to cg_strtrimwhite()
* Added NULL checks and fixed memory leaks in cg_net_selectaddr() and cg_net_gethostinterfaces()
* Disabled "Expect" HTTP header because it causes IOP issues with some UPnP implementations.
* Added NULL check to cg_xml_node_getchildnode() macro
* Fixed Debian specific files and added debug package building
2007-10-02 Satoshi Konno <[email protected]>
* Changed cg_thread_() to return FALSE when the specified object is null.
* Added cg_http_server_lock() and cg_http_server_unlock().
* Fixed cg_http_server_clientthread() to remove the thread from the thread list.
2007-09-13 Satoshi Konno <[email protected]>
* Added the following functions to get MAC address.
* cg_net_interface_setmacaddress(), cg_net_interface_getmacaddress()
* Changed cg_net_gethostinterfaces() to get the MAC address using GetAdaptersInfo() as default on Windows platform.
* Changed cg_net_gethostinterfaces() to get the MAC address using ioctl() on Linux platform.
* Changed cg_net_gethostinterfaces() to get the MAC address using getifaddrs() on other UNIX platform.
* Note : Other platforms might not support to get this functions yet.
2007-08-30 Satoshi Konno <[email protected]>
* Removed the patent exclusion clause from the license based on BSD.
2007-08-19 Satoshi Konno <[email protected]>
* Added the following functions into <cfile.h>
cg_file_setpath()
cg_file_setfilename()
2007-07-25 Satoshi Konno <[email protected]>
* Added the following macros into <cfile.h>
cg_file_isseparatorchar()
cg_file_ispathseparatorchar()
2007-07-18 Satoshi Konno <[email protected]>
* Added the following functions to support more raw functions.
cg_file_open()
cg_file_close()
cg_file_write()
cg_file_read()
cg_file_seek()
2007-06-26 Satoshi Konno <[email protected]>
* Added CgByte to <typedef.h>
2007-06-13 Fabrice Fontaine Orange <[email protected]>
* Fixed a memory leak in cg_http_request_delete().
* Fixed compilation issue when using DCG_UPNP_NOUSE_CONTROLPOINT flag in cg_upnp_device_updatefromssdppacket().
* Fixed a memory leak in cg_upnp_device_getservicebycontrolurl().
* Fixed cg_thread_start(). Threads used to answer UPnP requests are created
in joinable state but the main thread doesn't call pthread_join on them.
So, they are kept alive until the end of the program. By creating them
in detached state, they are correctly clean up.
* Fixed cg_thread_stop_with_cond() to wait one second for thread termination instead of using pthread_join().
2007-06-06 Satoshi Konno <[email protected]>
* Added checking 64 bit support, long long, to the configure.in for GCC.
* Fixed to compile cg_str2longlong() and cg_longlong2str() using GCC.
* Fixed cg_longlong2str() to return the buffer using GCC or ISOC99.
2007-03-20 Satoshi Konno <[email protected]>
* Added a parameter, CgString, to return the result safety and the implementation without curl for the following functions.
cg_net_uri_unescapestring() and cg_net_uri_escapestring().
* Added a define, CG_USE_NET_URI_ESCAPESTRING_SKIP,in cg_net_uri_escapestring() and disabled the function not to skip only the first path.
* Changed cg_upnp_device_httprequestrecieved() using the new cg_net_uri_unescapestring().
* Added the following functions.
cg_net_uri_isreservedchar()
cg_net_uri_isunreservedchar()
cg_net_uri_isescapechar()
cg_net_uri_isalphanumchar()
* Fixed cg_net_uri_escapestring() to use curl_escape() instead of curl_unescape().
* Fixed cg_net_uri_unescapestring() to use curl_unescape() instead of curl_escape().
2007-03-18 Satoshi Konno <[email protected]>
* Added CgInt64 to <typedef.h>
* Changed the following functions to use CgInt64.
cg_longlong2str()
cg_http_packet_setheaderlonglong()
cg_http_packet_getheaderlonglong()
* Disable CG_USE_OPENSSL for Visual Studio projects as default.
2007-03-11 Satoshi Konno <[email protected]>
* Added support of OpenSSL to socket functions in csocket.c.
* Added CG_USE_OPENSSL define and --enable-openssl option to disable the SSL functions as default.
* Added cg_https_request_post().
* Changed a compiler flag about file functions from USE_CFILE to CG_USE_CFILE.
* Added a framework of CppUnit.
2007-03-05 Satoshi Konno <[email protected]>
* Changed cg_string_setnvalue() to use memcpy instead of strncpy().
* Added a parameter of the string length for cg_string_setpointervalue() and to set a binary data.
* Added a parameter of the string length for the following functions too.
cg_http_packet_setcontentpointer(), cg_http_request_setcontentpointer() and cg_http_response_setcontentpointer().
* Fixed cg_http_packet_read_body() to set the correct content length if the response has a field of the content length.
2007-02-25 Satoshi Konno <[email protected]>
* Added cg_xml_attribute_remove().
2007-02-22 Satoshi Konno <[email protected]>
* v2.1.
2007-02-19 Satoshi Konno <[email protected]>
* Changed cg_http_request_post() to add a user agent, CyberGarage-HTTP/1.0, as default.
* Changed CG_HTTP_USERAGENT to CG_HTTP_USERAGENT_DEFAULT to add CG_HTTP_USERAGENT as the normal header define.
* Changed cg_http_packet_sethost() not to add the port string for lighttpd when the port number is 80.
2007-02-13 Satoshi Konno <[email protected]>
* Fixed cg_str2*() to return 0 when the parameter is null.
2007-02-01 Satoshi Konno <[email protected]>
* Fixed cg_http_request_post() not to hung up when the request method is HEAD.
* Added a onlyHeader parameter to cg_http_response_read() and cg_http_response_packet().
* Added CG_HTTP_USERAGENT when CyberLink doesn't use CURL.
2007-01-30 Satoshi Konno <[email protected]>
* Fixed to compile normally on the release mode for Windows Mobile.
2007-01-19 Satoshi Konno <[email protected]>
* Added USE_CFILE define and --enable-cfile option to disable the file functions as default.
* Disabled cg_file*() as default.
* Disabled cg_upnp_device_loaddescriptionfile() as default.
* Added cg_filelist_*().
* Added cg_file_listfiles().
2007-01-17 Satoshi Konno <[email protected]>
* Fixed to compile normally for WindowsCE platforms using Visual Studio 2005 and Windows Mobile 5.0 Pocket PC SDK.
* Changed WindowsCE flags from _WIN32_WCE to WINCE.
* Added time() and localtime() in src/cybergarage/util/ctime_win32.c only for WINCE platforms.
* Changed cg_log_print() for WIN32 platforms.
* Changed to use cg_strdup() instead of strdup() in clog.c.
2007-01-13 Satoshi Konno <[email protected]>
* Added cg_http_request_settimeout() and cg_http_request_gettimeout().
* Added cg_http_response_settimeout() and cg_http_response_gettimeout().
* Added cg_http_server_settimeout() and cg_http_server_gettimeout().
2006-12-06 Satoshi Konno <[email protected]>
* v2.0
2006-11-13 Satoshi Konno <[email protected]>
* Added cg_net_interface_setnetmask() and cg_net_interface_getnetmask().
2006-10-31 Mikael Saarenpaa <[email protected]>
* Removed deadlock from ipchanged routine.
* Added rough but useful mutex debugging code.
2006-10-23 Mikael Saarenpaa <[email protected]>
* Allowing M-POST messages to be handled correctly.
2006-10-18 Satoshi Konno <[email protected]>
* Added some changes for the compiler warnings.
2006-10-17 Satoshi Konno <[email protected]>
* Added some changed to compile using Visual C++ 6.0 and
Visual Studio 2005 normally on WindowsXP.
* Invalidated all functions in clog.c and ccond.c on
Windows Platform for a instance.
2006-10-16 Mikael Saarenpaa <[email protected]>
* Fixed memory leak from ipchanged routine.
2006-10-12 Satoshi Konno <[email protected]>
* Changed to compile using ISO-C99 normally.
* Added cg_xml_node_remove() to cxml.h.
* Added --copy to libtoolize.
2006-10-05 Mikael Saarenpaa <[email protected]>
* Fixed a naming problem introduced by merge.
* Fixed notification sequence number initialization when new
subscriber is created.
* (Version number and Debian changelog updated)
2006-10-03 Mikael Saarenpaa <[email protected]>
* Removed (debug) printfs from ip_changed routine.
* Fixed memory leak from cg_libxml2_parsewrapper
* Fixed memory leak from cg_net_selectaddr
* Fixed memory leak from cg_net_url_getupnpbasepath
* Fixed crash when using DUN IAP
* Added API calls to query and set user agent field in http
requests.
2006-09-21 Mikael Saarenpaa <[email protected]>
* Merged internal Nokia code base with Source Forge one.
2006-09-19 Satoshi Konno <[email protected]>
* Added cg_upnp_action_setargumentvaluebyname().
2006-09-14 Satoshi Konno <[email protected]>
* Fixed some patches for WINCE to comiple on Unix normally.
2006-09-05 Mikael Saarenpaa <[email protected]>
* Query part taken care when parsing uris.
* Misc fixes to test data.
2006-08-29 Mikael Saarenpaa <[email protected]>
* Expiration handler couldn't remove device from cache if the
to be removed device was not root device. Fixed by allowing
also other device types to be removed from device list.
2006-08-29 Mikael Saarenpaa <[email protected]>
* Previous fix for #29846 caused problems when there was escaped
XML embedded in parsed XML document => implemented another fix,
which handles the error outside libxml.
* Location field for M-SEARCH response is now selected based on
matching subnet. Fixes: NB#37573
* Misc fixes to test data.
* Small bug was fixed from previous fix for #37017.
2006-08-21 Mikael Saarenpaa <[email protected]>
* Applied a patch from Rafael to fix locking problem in
cg_upnp_device_unsubscriptionrecieved. Fixes: NB#38099
* Fixed url base generation from location string. Fixes: NB#37017
* Fixed curl delay issue when CP is shutting down. Fixes: NB#34454
* Implemented fallback routine into XML parser for unknown
character errors. Fixes: NB#29846
2006-08-08 Mikael Saarenpaa <[email protected]>
* Applied a patch from Rafael to fix list node initialization.
Fixes: NB#34144
* Applied a patch from Rafael which adds missing free into new subscription
routine. Fixes: NB#34248
* Applied a patch from Rafael which frees subscriber variable correctly
from cg_upnp_service_removesubscriber. Fixes: NB#34258
* Fixed a case where service lock was not held when it should have
been, fix was based on a patch by Rafael. Fixes: NB#34259
* Applied a patch from Aapo to change cg_upnp_controlpoint_search to
return false in case of clear failure situation instead of always
returning true. Fixes: NB#36225
2006-07-11 Rafael Avila de Espindola <[email protected]>
* Changed cg_file_load to don't do a fread past the end of the file
2006-06-28 Visa Smolander <[email protected]>
* Applied a patch by Aapo M�kel� to fix some deadlocking problem
in controlpoint stop.
2006-06-28 Jukka Alasalmi <[email protected]>
* Fixed a memory leak in cg_http_persistentconnection_put function
* Added cg_list_node_init() in cg_upnp_eventlistenerlist_add()
for list_node, fixing at least a memory leak, and probably some
other random behavior (otherwise headFlag would be uninitialized).
2006-06-27 Satoshi Konno <[email protected]>
* Added project files for Visual Studio 2005.
2006-06-22 Mikael Saarenpaa <[email protected]>
* Fixed a bunch of doxygen issues.
* Chanced debian/copyright to match latest license changes.
2006-06-16 Mikael Saarenpaa <[email protected]>
* Added Nokia legal text into modified files
* Re-enabled doxygen doc generation from makefile
2006-06-16 Mikael Saarenpaa <[email protected]>
* Added 309 doxygen comments.
2006-05-30 Rafael Avila de Espindola <[email protected]>
* Moved SERVICE_DESCRIPTION to common.h
* Removed setstatevar.c
2006-05-30 Rafael Avila de Espindola <[email protected]>
* Cleanup the tests by centralizing the device description
* Test bad xml by sending it to the control point instead of using
stand alone devices
2006-05-26 Mikael Saarenpaa <[email protected]>
* Fixed the annoying thing that ctrl-c cannot be used to kill the
program using stack.
2006-05-26 Mikael Saarenpaa <[email protected]>
* Fixed bug 30399 During normal operation duplicate M-SEARCHES are not
sent correctly.
* Applied patch from Aapo to fix the remaining lintian warnings.
2006-05-25 Rafael Avila de Espindola <[email protected]>
* Documented the http server in tests/regression/README
2006-05-25 Rafael Avila de Espindola <[email protected]>
* Documented cp_add_device and msearch in tests/regression/README
* Removed the host and port parameters of mseach in
tests/regression/test.py
2006-05-25 Rafael Avila de Espindola <[email protected]>
* Updated tests/regression/README
* Cleaned some tests
2006-05-25 Rafael Avila de Espindola <[email protected]>
* Updated tests/regression/README
2006-05-24 Rosfran Borges <[email protected]>
* [testing] SOAP action messages with wrong XML schema
2006-05-23 Aapo Makela <[email protected]>
* Applied patch from bug #26068 (Opening ports via UPnP does
not work with D-Link DI-824VUP+)
2006-05-22 Rafael Avila de Espindola <[email protected]>
* Modified the http server to send a "valid" response to a post method.
2006-05-19 Rafael Avila de Espindola <[email protected]>
* Modified the tests to cover more of the API
2006-05-18 Heikki Junnila <[email protected]>
* Fixed an endless loop in cg_socket_write() and changed the whopping
0-1000msec random wait to 20msecs.
2006-05-18 Mikael Saarenpaa <[email protected]>
* Fixed xml string escape routines to handle " correctly.
2006-05-17 Rafael Avila de Espindola <[email protected]>
* Modified regression/mini_service.c and regression/mini_cp.c to
test more API functions
2006-05-17 Rafael Avila de Espindola <[email protected]>
* Added more tests to tests/regression
2006-05-16 Rafael Avila de Espindola <[email protected]>
* Added a test for valgrind availability in tests/regression/test.py
2006-05-15 Mikael Saarenpaa <[email protected]>
* Changed 20ms wait to happen right after each _notifyfrom, not after
each _announcefrom.
2006-05-15 Rafael Avila de Espindola <[email protected]>
* Added more tests to tests/regression
2006-05-15 Rafael Avila de Espindola <[email protected]>
* Added a prototype for cg_file_getlength in
include/cybergarage/io/cfile.h
2006-05-15 Rafael Avila de Espindola <[email protected]>
* Updated tests/regression/README
2006-05-15 Rafael Avila de Espindola <[email protected]>
* Removed tests/regression/cp_subscribe.c. Use mini_cp.c instead.
2006-05-15 Mikael Saarenpaa <[email protected]>
* Fixed bug 26472 SSDP Response Server on Control Point loops forever
(Patch by Rosfran)
2006-05-12 Mikael Saarenpaa <[email protected]>
* Rolled back fix for bug 28806.
2006-05-11 Rafael Avila de Espindola <[email protected]>
* Added cg_net_uri_isequivalent to check if a relative and an
absolute URLs are equivalent.
* Changed cg_upnp_service_isscpdurl. Now it is a function and uses
cg_net_uri_isequivalent instead of cg_strstr
2006-05-11 Mikael Saarenpaa <[email protected]>
* Fixed bug 26520 HTTP server doesn't respond to requests which
use chunked transfer encoding.
2006-05-10 Rosfran Borges <[email protected]>
* Fix to cg_upnp_device_getservicebyscpdurl function,
used by HTTP Server (Device) to solve the case when the
service was unparsed, but device contains a valid
SCPDURL to the service description file (Bug 28806)
2006-05-10 Rafael Avila de Espindola <[email protected]>
* Added more tests
2006-05-10 Rafael Avila de Espindola <[email protected]>
* Removed unused include/cybergarage/upnp/callowedvalue.h
2006-05-10 Rafael Avila de Espindola <[email protected]>
* Removed unused src/cybergarage/upnp/callowedvalue.c
2006-05-10 Rafael Avila de Espindola <[email protected]>
* Removed unused src/cybergarage/upnp/callowedvalue_list.c
2006-05-10 Rafael Avila de Espindola <[email protected]>
* Removed unused src/cybergarage/upnp/callowedvaluerange.c
2006-05-10 Rafael Avila de Espindola <[email protected]>
* Replaced unused elements of the _CgUpnpStateVariable structure
with dummy ones with the same size.
2006-05-10 Rafael Avila de Espindola <[email protected]>
* Removed commented code from src/cybergarage/upnp/cstatevariable.c
2006-05-09 Rafael Avila de Espindola <[email protected]>
* Modified how a test gets the host address
* Added a README in tests/regression
2006-05-09 Rafael Avila de Espindola <[email protected]>
* Added some tests
2006-05-09 Rafael Avila de Espindola <[email protected]>
* Modified the regression tests to aways wait for the sync string
* Added a service to tests/regression/mini_dev.xml
2006-05-09 Visa Smolander <[email protected]>
* Fixed a problem with erroneous action responses and nonstandard namespaces
* Added an xml function to get childnode with or without the namespace prefix.
2006-05-09 Visa Smolander <[email protected]>
* Added some NULL checkings to string functions. TODO: Must do that for all...
2006-05-09 Visa Smolander <[email protected]>
* Fixed a bug in cg_strdup. Now it returns NULL, if input argument was NULL.
2006-05-08 Rafael Avila de Espindola <[email protected]>
* Modified test_http.py to fetch a service description url
* Modified cp_subscribe.c to print service information
* Modified test.py to wait longer before killing a test
2006-05-08 Rafael Avila de Espindola <[email protected]>
* Added some M-SEARCH tests
2006-05-08 Rafael Avila de Espindola <[email protected]>
* Fixed a bug in cg_upnp_ssdp_packet_new. ssdpPkt->initialized was
not initialized.
2006-05-08 Mikael Saarenpaa <[email protected]>
* Changed multiplecp to printout action invoke results when
generating action invoke bursts.
2006-05-08 Mikael Saarenpaa <[email protected]>
* Changed the usage of cg_strncpy to better match the underlying
strncpy. NOTE: This is an API change since now cg_strncpy do not
terminate strings automatically.
2006-05-06 Visa Smolander <[email protected]>
* Fixed a bug in chttp_request. When sending a request without body
it sometimes sent corrupted data from a previous transmission...
2006-05-05 Rosfran Borges <[email protected]>
* Propagate some important Device advertisement data from the root
device, to its embedded sub-devices (such as description URIs and HTTP
port); NOTIFY were sent with wrong Location URIs
2006-05-05 Rafael Avila de Espindola <[email protected]>
* Removed duplicated code from src/cybergarage/upnp/cservice.c and
src/cybergarage/upnp/cservice_ssdp_server.c
2006-05-04 Rosfran Borges <[email protected]>
* Added a sample stress test case using --enable-coverage, which sends a lot of NOTIFY
datagrams to a clinkc's Control Point
2006-05-04 Rafael Avila de Espindola <[email protected]>
* Modified cp_subscribe.c to cover a greater part of the API
* Modified utils.py and coverage.py so that they don't use the
subprocess module
* Added test_cp_readd_device2.py
* Modified Makefile.am to run test_cp_readd_device2.py
2006-05-04 Rafael Avila de Espindola <[email protected]>
* Removed tests/regression/statever.c. Use mini_service.c instead.
* Modified Makefile.am to run test_dev_query.py and test_dev_query2.py
* Modified test.py to remove mini_service from used_ports
* Fixed missing imports in test_igd_dev_parsing.py and test_igd_dev_parsing_by_fd.py
* Modified mini_service.c to add an state variable
* Added test_dev_query.py test_dev_query2.py
* Modified test_unsubscribe.py to run an http server
* Modified http_server.py to accept NOTIFY methods
2006-05-04 Mikael Saarenpaa <[email protected]>
* Fixed bug 28592 using clinkc-test-tools and sending HTTP request to server causes
killing of application
* Fixed bug 28484 invalid memory access in clinkc's
cg_upnp_event_notify_request_getpropertylist (Patch by Rafael)
2006-05-03 Rosfran Borges <[email protected]>
* Modified some device descriptions absolute paths, in the
tests/regression/
* Added the SYNC_STRING in some tests that now threats with Control
Point's device discovery
2006-05-03 Rafael Avila de Espindola <[email protected]>
* Modified tests/regression/test_cp_notify2.py to use a real
variable name
* Added tests/regression/test_cp_badrequest.py
* Modified tests/regression/cp_subscribe.c to include a device
listener
* Modified tests/regression/Makefile.am to run
tests/regression/test_cp_badrequest.py
2006-05-03 Mikael Saarenpaa <[email protected]>
* Fixed compiler warnings from stack code.
2006-05-03 Rafael Avila de Espindola <[email protected]>
* Modified tests/regression/test_cp_notify2.py to send a dummy
property in the notify message
* Added some suppressions to tests/regression/suppressions
2006-05-03 Rafael Avila de Espindola <[email protected]>
* Modified cg_upnp_usn_getudn to always initialize undBuf
(fixes bug #28087)
2006-05-03 Rafael Avila de Espindola <[email protected]>
* Modified cg_socket_recv to zero ancillaryBuf before using it
(fixes bug #28086)
2006-05-03 Visa Smolander <[email protected]>
* Fixed a problem in debian/control --> now deb -packages
can be installed with S+ Application manager
2006-05-02 Rafael Avila de Espindola <[email protected]>
* Modified tests/regression/test.py to don't use the subprocess
module
2006-05-02 Rafael Avila de Espindola <[email protected]>
* Modified tests/regression/Makefile.am to disable http proxies
during test run
* Modified the regression tests to automate the waiting for port
availability
2006-05-02 Rafael Avila de Espindola <[email protected]>
* Removed the duplicated
cg_upnp_controlpoint_geteventsubcallbackurl implementation from
ccontrolpoint_event.c
2006-05-01 Rosfran Borges <[email protected]>
* Changes in the NOTIFY message manipulation for the python test
scripts (sending SSDP - multicast)
* More UPnP network stress tests python scripts added to the SVN, checking
them with the --enable-coverage
2006-04-28 Rosfran Borges <[email protected]>
* Added some of the UPnP network stress tests python scripts, to be used with the
--enable-coverage, on tests/regression/stress
2006-04-28 Rafael Avila de Espindola <[email protected]>
* Added a small http server in python to make it easier to write some tests
* Modified the device add, readd, and remove tests to use the http server
2006-04-27 Rafael Avila de Espindola <[email protected]>
* Modified the regression tests to factor some common code
2006-04-27 Mikael Saarenpaa <[email protected]>
* Fixed thread synchronization problem in duplicate M-SEARCH
filtering code.
2006-04-26 Mikael Saarenpaa <[email protected]>
* Changed advertizer thread shutdown routine to not send alive
messages after thread termination has been started, advertizer
thread is now also shut down before byebye is sent.
2006-04-26 Visa Smolander <[email protected]>
* Reset action status code to 0 in case of success (caction_ctrl.c).
2006-04-25 Rafael Avila de Espindola <[email protected]>
* Added more subscription and notification tests
2006-04-25 Rafael Avila de Espindola <[email protected]>
* Added some tests with invalid subscription requests
2006-04-25 Mikael Saarenpaa <[email protected]>
* Fixed bug 25169 Lease time value (on Cache-Control header) doesn't propagate to
child-devices (Patch by Rosfran Borges)
2006-04-25 Mikael Saarenpaa <[email protected]>
* Fixed bug 26058 cg_upnp_controlpoint_search() returns no value
2006-04-25 Mikael Saarenpaa <[email protected]>
* Applied patch which enables building object files into other than
source directory.
2006-04-25 Mikael Saarenpaa <[email protected]>
* Fixed HTTP client thread deletion routine (threads were deleted twice)
2006-04-24 Rafael Avila de Espindola <[email protected]>
* Modified the regression tests synchronization process to be more robust
2006-04-24 Rafael Avila de Espindola <[email protected]>
* Added tests/regression/test_subscribe.py
* Added tests/regression/test_bad_request.py
* Modified tests/regression/Makefile.am to run the new tests
2006-04-24 Mikael Saarenpaa <[email protected]>
* Fixed bug 24013 Memory leak by not freeing the data before the thread
is destroyed.
* Fixed bug 24014 Memory leak on cssdp_server.c:143 of clinkc.
* Removed obsoleted 8bit characters from debian/control.
2006-04-15 Theo Beisch
* \include\cybergarage\upnp\cservice.h
* changed timeout to use subscriber object
when used by ControlPoint
modified execution data accordingly
2006-04-13 Theo Beisch
* \include\cybergarage\net\csocket.h
* added WSAGetLastError support
* changed socket_cleanup to return
value to enable final Winsock close
2006-04-10 Rafael Avila de Espindola <[email protected]>
* Added tests/regression/test_bad_action.py
2006-04-11 Visa Smolander <[email protected]>
* Fixed test data 21, 43 and 52.
2006-04-11 Mikael Saarenpaa <[email protected]>
* Fixed bug 25014 Absolute url handling is broken.
2006-04-10 Rafael Avila de Espindola <[email protected]>
* Changed tests/regression/test.py and tests/regression/Makefile.am to work
inside scratchbox
2006-04-07 Mikael Saarenpaa <[email protected]>
* Added --enable-configure-warnings to configure script and
enabling them as default.
2006-04-07 Rosfran Lins Borges <[email protected]>
* Added some tests scripts for multiple embedded devices in tests/regression/
2006-04-06 Rafael Avila de Espindola <[email protected]>
* Added an action handler to tests/regression/mini_service.c
* Changed the request url in tests/regression/test_exec_action.py
2006-04-06 Rafael Avila de Espindola <[email protected]>
* Changed tests/regression/coverage.py to work with cvs gcov
2006-04-06 Theo Beisch
* \src\cybergarage\upnp\event\cnotify_request.c
* avoid NULL ptr on root node of request
2006-04-05 Mikael Saarenpaa <[email protected]>
* Fixed bug 25456 cg_xml_nodelist_clear used instead of cg_xml_nodelist_delete
in clinkc.
* Fixed bug 24866 memory leak in cg_upnp_argumentlist_delete in clinkc
(patch by Rafael Espindola)
2006-04-05 Mikael Saarenpaa <[email protected]>
* Fixed bug 25296 buffer overflow in cg_net_uri_isescapedstring.
* Fixed bug 25193 HTTP server in device closes persistent connections
too early.
2006-04-05 Theo Beisch
* \src\cybergarage\http\chttp_packet.c
* LONGLONG macro for cg_http_packet_setheaderlonglong
* changed 'no contentlength' read to use the provided inbuffer
(HUGE performance fix, MUCH less reallocs)
2006-04-04 Theo Beisch
* \include\cybergarage\upnp\cupnp_limit.h
* changed max notifycount to 32bit (per UPnP spec)
2006-04-04 Theo Beisch
* \src\cybergarage\upnp\cservice.c
* use subscription object for service
subscription timeout instead of process data
* some changes for CP subscription support
2006-04-04 Theo Beisch
* \src\cybergarage\upnp\event\csubscription_request.c
* changed HOST header creation to destHost:port format
2006-04-04 Theo Beisch
* \src\cybergarage\upnp\event\csubscriber.c
* subscriber renew does not reset notifyCount
* subscriber clear does reset notifyCount
* expiry check is by [s] (removed 1000 factor)
2006-04-04 Visa Smolander <[email protected]>
* Fixed test data 41 and 5. Added test data 1
2006-04-03 Rafael Avila de Espindola <[email protected]>
* Added the tests/regression directory
2006-04-03 Mikael Saarenpaa <[email protected]>
* Added query handlers for multipleembedded test application.
(This fixes issue found in testing "1. Multiple embedded devices
support ID 26144 - action invoke query fails on embedded devices")
2006-04-03 Mikael Saarenpaa <[email protected]>
* Changed clog to use strdup instead of cg_strdup. (cg_strdup uses
clog api...)
2006-04-03 Theo Beisch
* \include\cybergarage\http\chttp.h
* added (CgHttpHeaderList) cast (see below)
* added LONGLONG macro for platform independence
* some re-sorting of get/set macros (see below)
2006-04-03 Theo Beisch
* \src\cybergarage\upnp\ccontrolpoint_http_server.c
* fixed crash from illegal event message (NULL proplist)
* lots of checks on event notify message per UPnP spec
2006-04-03 Theo Beisch
* \include\cybergarage\upnp\cdevice.h
* Added cg_upnp_device_getservicebysid
* changed leasetime and timer to type CgSysTime
* added cg_upnp_device_waitforlock (nonblocking)
2006-04-02 Theo Beisch
* \include\cybergarage\upnp\ccontrolpoint.h
* added support for resubscriber
and device disposer
* added cg_upnp_controlpoint_getservicebysid
* added cg_upnp_controlpoint_waitforlock
2006-04-01 Theo Beisch
* \include\cybergarage\util\cmutex.h
* Added MutexList for debug with DEBUG_LOCKS
* Added cg_mutex_waitforlock(CgMutex mutex, long t)
todo / fixmelater : (for now mapped to cg_mutex_lock
for all non WIN32 OS * needs to be updated)
2006-04-01 Theo Beisch
* \src\cybergarage\http\chttp_server.c
* added removal for HTTPCLIENT thread at clientthread termination
* fixmelater: some (maybe temp) DEBUG options
2006-03-31 Mikael Saarenpaa <[email protected]>
* Fixed bug 25324 Not all malloc return values are checked in clinkc code
2006-03-31 Mikael Saarenpaa <[email protected]>
* Fixed bug 25130 clinkc defines cg_strdup but uses strdup in some
places (patch by Rafael Espindola)
* Fixed bug 24865 memory leak in cg_socket_recv in clinkc (pathc
by Rafael Espindola)
2006-03-31 Theo Beisch
* \src\cybergarage\soap\csoap_request.c
* fixed memory leak in destructor
2006-03-30 Theo Beisch
* \src\cybergarage\upnp\cdevice.c
* added some DEBUG configuration options
2006-03-30 Theo Beisch
* \src\cybergarage\soap\csoap_response.c
* fixed memory leak in destructor
2006-03-30 Theo Beisch
* \include\cybergarage\typedef.h
* changed config.h position
2006-03-30 Visa Smolander <[email protected]>
* Fixed bug 24558 (30 second timeout to action responses)
* Modified the connection establishment timeout from 5 to 2 sec
2006-03-30 Visa Smolander <[email protected]>
* Fixed bug 24653 (Handling subscription expiration in devices)
2006-03-30 Visa Smolander <[email protected]>
* Fixed bug 24654 (Unsubscribe with SID, NT and CALLBACK)
* Fixed bug 24601 (Subscribe with SID, NT and CALLBACK)
* Fixed bug 24603 (Empty CALLBACK in subscribe)
* Fixed bug 24648 (SUBSCRIBE NT != upnp:event)
* Fixed bug 24651 (Resubscribe with SID, NT and CALLBACK and correct SID)
* Fixed test data 26/c
2006-03-30 Visa Smolander <[email protected]>
* Fixed bug 24665 (Unknown XML elements in action invokes)
* Fixed test data 46/a
2006-03-30 Theo Beisch
* \src\cybergarage\xml\cxml_parser_expat.c
* ignore whitespace character data (in search of memory...)
* added DEBUG_XML configurations
2006-03-30 Theo Beisch
* \src\cybergarage\http\chttp_persistent_connection.c
* added DEBUG_LOCKS configuration for debugging
2006-03-30 Theo Beisch
* \src\cybergarage\upnp\caction_list.c
* fixed memory leak in destructor
2006-03-30 Theo Beisch
* \src\cybergarage\upnp\callowedvalue_list.c
* fixed memory leak in destructor
2006-03-30 Theo Beisch
* \src\cybergarage\upnp\cargument_list.c
* fixed memory leak in destructor
2006-03-30 Theo Beisch
* \src\cybergarage\upnp\cicon_list.c
* fixed memory leak in destructor
2006-03-30 Theo Beisch
* \src\cybergarage\upnp\ccontrolpoint_disposer.c
* now also lock device before delete (controlpoint too)
* changed strategy to timeout if devices are locked and
retry quicker (more graceful behavior)
* changed delete from list / obsolete cloneList by stepping
back one device in outer list before actual device removal