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
|
-------------------------------------------------------------------------------
ChangeLog
-------------------------------------------------------------------------------
2002-02-02 Kalum / Grendel <kalum@delrom.ro>
* src/ftpsearch.c: Added support for filesearching.com's type of
search engine.
Eric Lassauge <ros_at1@muzillac.tls.mms.fr> contributed a patch
which added french language support and also fixed my spelling
mistakes as well.
2001-10-21 Kalum / Grendel <kalum@delrom.ro>
* Include sys/stat.h
2001-10-10 Kalum / Grendel <kalum@delrom.ro>
* src/http.c (ftp_get_url_info_from_http_proxy): Changed to use
GET instead of HEAD to get HTTP info.
2001-10-10 Kalum / Grendel <kalum@delrom.ro>
* Now the URL parser doesnt touch hex chars.
2001-10-04 Kalum / Grendel <kalum@delrom.ro>
* src/ping.c (proz_cancel_mass_ping): Added, cancels a mass ping
request.
2001-10-03 Kalum / Grendel <kalum@delrom.ro>
* src/ftpsearch.c:
void proz_cancel_mirror_list_request(ftps_request_t *)
This will cancel a request for getting mirrors.
2001-09-30 Kalum / Grendel <kalum@delrom.ro>
* src/download.c (proz_download_join_downloads): Now creates the
joining thread itself.
* src/prozilla.h:
uerr_t proz_download_get_join_status(download_t *download);
float proz_download_get_file_build_percentage(download_t * download);
void proz_download_cancel_joining_thread(download_t * download)
Were added to the library.
* joining_thread added to download_t struct definition;
2001-09-30 Kalum / Grendel <kalum@delrom.ro>
* src/connection.c (proz_get_url_info_loop): This now creates the thread that gets info by itself, there is no need to create it by calling pthread as earlier was necessary.
2001-09-29 Kalum / Grendel <kalum@delrom.ro>
* Improved the consisetncy of the API based on suggestions by
Christophe Fergeau<christophe.fergeau@laposte.net>.
* src/prozilla.h: In the download_t struct, cchanged the
connections pointer type to **, and called it pconnections.
* src/connection.c (proz_connection_init): Prototype changed to
proz_connection_init(urlinfo *url,pthread_mutex_t * mutex);
* src/prozilla.h: proz_connection_set_url(connection_t * connection, urlinfo *url) added.
2001-09-29 Kalum / Grendel <kalum@delrom.ro>
* I have added a function which checks to see whether all the
connections have encountered the same user specified error.
* Updated libprozillas runtime handling so that it can handle
ftpsearch returned servers that dont support FTP REST.
2001-09-28 Kalum / Grendel <kalum@delrom.ro>
* src/download.c (proz_download_init): boolean
proz_download_all_dls_status, proz_download_all_dls_err we added
and download.c updated accordingly.
2001-09-28 Kalum / Grendel <kalum@delrom.ro>
* src/download.h: Added download_query_conns_status_count which
returns the number of connections with the status spcified, and
updated download.c to use it.
2001-09-27 Kalum / Grendel <kalum@delrom.ro>
* src/connect.c (connect_to_server): Now uses its own timeout struct
2001-9-23 Kalum / Grendel <kalum@delrom.ro>
* FTPSearch and pinging and multiple server downloads work, with
error handling too.
* Bug fix related to not adding the original server if it is not
in the list.
2001-09-20 Kalum / Grendel <kalum@delrom.ro>
* src/url.c (proz_copy_url): Added.
2001-09-17 Kalum / Grendel <kalum@delrom.ro>
* src/prozilla.h: mirror_path_t added
* src/download.c (proz_download_handle_threads): Now handles
FTPCWDFAIL in the main thread.
2001-09-2 Kalum / Grendel <kalum@delrom.ro>
* Kreazy's itallian translation was added, ping.c, ping.h,
ftpsearch.c and ftpsearch.h were added in preparation to adding
ftpsearch support to the library.
2001-08-32 Kalum / Grendel <kalum@delrom.ro>
* Gustavo's libtolising patch was added to libprozilla, now shared
libraries can be created.
2001-08-25 Kalum / Grendel <kalum@delrom.ro>
* src/ftp.c (proz_ftp_get_url_info): Now the password is printed
as a set of "xxxx"'s when logging in.
2001-08-21 Kalum / Grendel <kalum@delrom.ro>
* configure.in: Changed enble compiler warnings from min to no, as
the intl dir was not compiling properly due to the --pedantic
option.
2001-08-12 Kalum / Grendel <kalum@delrom.ro>
* src/prozilla.h: int proz_download_delete_target added.
2001-08-11 Kalum / Grendel <kalum@delrom.ro>
* src/url.c: Completely updated the source from url.c in wget 1.7,
so now we have improved url parsing.
2001-08-10 Kalum / Grendel <kalum@delrom.ro>
* src/prozilla.h: int proz_download_target_exist(download_t *
download) added whcih checks to see whether the target file
exists.
2001-08-08 Kalum / Grendel <kalum@delrom.ro>
* src/debug.c void proz_debug_delete_log() added, and now the
logfile is stored as $HOEDIR/.prozilla/debug.log
2001-08-06 Kalum / Grendel <kalum@delrom.ro>
* src/download.h: void download_calc_throttle_factor(download_t
*download)
* src/prozilla.h: dl_status
proz_connection_get_status(connection_t * connection) was added.
2001-08-05 Kalum / Grendel <kalum@delrom.ro>
* src/prozilla.h: max_bps_per_dl added to libprozinfo.
* src/download.c (cleanup_joining_thread): When the files are
joined this will delete the target output file if the thread is
cancelled
2001-07-31 Kalum / Grendel <kalum@delrom.ro>
* src/http-retr.c (proz_http_get_file): Fixed a bug which occured
when resuming where prozilla mistakenly identified a server as
returning a wrong contlen. Added another hs strcut called
hs_after_get to do this.
2001-07-29 Kalum / Grendel <kalum@delrom.ro>
* src/main.c (proz_init): the dl_dir logfile_dir use local copies
of the dirs
2001-07-29 Kalum / Grendel <kalum@delrom.ro>
* src/logfile.c: the logfile is checked in log_dir now
2001-07-27 Kalum / Grendel <kalum@delrom.ro>
* DOcumentation updated.
2001-07-20 Kalum / Grendel <kalum@delrom.ro>
* src/download.h: download_any_dls_local_fatal added.
2001-07-18 Kalum / Grendel <kalum@delrom.ro>
* src/prozilla.h: output_dir added to the runtime struct this
shows the directory to build the outputfile.
2001-07-11 Kalum / Grendel <kalum@delrom.ro>
* src/main.c: proz_set_connection_retry_delay(struct timeval
*delay) aded.
2001-07-11 Kalum / Grendel <kalum@delrom.ro>
* src/download.c (proz_download_init): added a acess_mutex for the
download_t struct
2001-07-06 <kalum@delrom.ro>
* src/http.c: support was added for using the no-cache directive
for HTTP proxies.
* src/prozilla.h: http_no_cache, added.
2001-07-05 <kalum@delrom.ro>
* src/download.c (proz_download_free_download): Added,
conditionally frees the data of the download struct
2001-07-05 <kalum@delrom.ro>
* src/connection.c (connection_free_connection): Added,
conditionally frees the data in the connection struct.
2001-07-03 <kalum@delrom.ro>
* src/download.c (proz_download_get_est_time_left): The tiem left
was not correctly displayed when resuming a download, fixed
this.
2001-07-02 <kalum@delrom.ro>
* src/http.c, src/http-retr.c: Support for HTTP proxy servers was
improved, it now works with servers like squid, wwwoffle.
2001-07-01 <kalum@delrom.ro>
* src/prozilla.h: added access_mutex to connection_t struct which
is a mutex used to lock acesss to data in the struct that is
accesed/written by other threads
2001-06-27 <kalum@delrom.ro>
* src/ftp-retr.c (proz_ftp_get_file): Handles FTPCONREFUSED.
2001-06-24 <kalum@delrom.ro>
* src/http.c (cleanup_httpsocks): moved it to http.c from http-retr.c
* src/ftp.c (cleanup_ftpsocks): moved it to ftp.c from ftp-retr.c
* src/misc.c (proz_strerror): This function will return a string
representation of prozillas error codes.
2001-06-22 <kalum@delrom.ro>
* Updated the GNU gettext sources in the intl diretory to version
gettext-0.10.38.
2001-06-21 <kalum@delrom.ro>
* src/url.c (url_merge): Merges a url with another link (which can
be relative or absolute) and returns the resulting URL, this is mainly
used for redirections
2001-06-21 <kalum@delrom.ro>
* src/download.c (proz_download_get_average_speed): Rewrote the
function, improving the accuracy.
2001-06-20 <kalum@delrom.ro>
* src/ftp-retr.h: added cleanup_ftpsocks which is popped so that
when the thread terminates no unclosed sockets will remain.
* src/http-retr.h: added cleanup_httpsocks which is popped so that
when the thread terminates no unclosed sockets will remain.
* src/misc.c (close_sock): Will free a socket and zero the value,
updated all references to close to close_socket
* src/debug.h (proz_debug): added debug_init which deletes a prior
debug.log file if present.
2001-06-19 <kalum@delrom.ro>
* src/ftp.c (proz_ftp_get_url_info): Fixed bug when getting info
about a file
2001-06-18 <kalum@delrom.ro>
* src/logfile.c: Changed several functions to proz_log_xxxx and
moved the logfile structure to prozilla.h.
* (proz_log_read_logfile): Added a boolean type which indicates
whether to load the info about the connections allocation or
not.
2001-06-16 <kalum@delrom.ro>
* src/ftpparse.c (size_returner): If the string returned from the
FTP LIST command is 0 or 2 assume that the file is not present
on the server.
2001-06-16 <kalum@delrom.ro>
* src/prozilla.h: added long proz_download_get_est_time_left
returns the estimlted download time in secs.
2001-06-11 <kalum@delrom.ro>
* src/http-retr.c (proz_http_get_file): Fixed a bug where the data
conenction was not closed when CANTRESUME was detected.
2001-06-11 <kalum@delrom.ro>
* src/http.c (ftp_get_url_info_from_http_proxy): Enables getting
FTP file related info through HTTP proxies.
* src/http-retr.c (ftp_get_file_from_http_proxy): Enables getting
FTP files through HTTP proxies.
2001-06-07 <kalum@delrom.ro>
* Added KoV's patch for gettext internatinalisation support
* src/main.c: Added proz_use_http_proxy proz_use_ftp_proxy
* src/ftp.c (ftp_login): Fixed a bug related to logging in to ftp
proxies.
2001-06-02 <kalum@delrom.ro>
* src/connection.c (proz_get_url_info_loop): Made this thread
immediately cancellable.
2001-05-30 <kalum@delrom.ro>
* libprozilla has now generic http and ftp download functions, and
has resume support too. Several functions related to
downloading, and handling the nultithreaed downloads were added
to download.c
2001-05-14 <kalum@delrom.ro>
* src/connection.c (proz_get_url_info_loop): added
* src/prozilla.h: added conn_retry_delay to libprozillartinfo
which specifies the retry interval for co9nnenctions added
max_attempts, which is the number of times a connection will be
retried.
2001-05-10 <kalum@delrom.ro>
* Ran gnu indent with the options "-kr -i2 -bli0 -bl
-nfca" to get the course upto the coding standards.
2001-05-08 <kalum@delrom.ro>
* src/ftp.c (proz_ftp_get_url_info): Forgot to close the ctrl_sock
in certain error conditions, FIXED.
* src/download.c (proz_download_join_downloads): This func will
join the downloaded portions.
2001-05-06 <kalum@delrom.ro>
* src/download.c (proz_download_delete_download): This function
will delete the downloaded file portions together with the
downloads logfile.
* src/prozilla.h (download_t): added boolean type resume_support;
added a extra argument to proz_download_start_downloads, which
specifies whether to load resume info and start the dl.
Tue May 8 21:15:49 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* TODO: Removed all 'DONE' entries. Just for testing if CVS
automatically sends mails to prozilla-cvs@delrom.ro upon every
CVS commit...
2001-05-04 <kalum@delrom.ro>
* src/http-retr.c (http_loop_handle_error): added.
* src/ftp-retr.c (ftp_loop_handle_error): added
* src/prozilla.h: Moved all the proz_xxxx functions to prozilla.h,
and the connection_t and download_t structs and necessary enums
as well.
Now the person who users the library should only have to include
prozilla.h
* src/download.c (proz_download_get_total_bytes_got): added it.
2001-05-03 <kalum@delrom.ro>
* src/prozilla.h (enum): added DLERR, DLOK, DLINPROGRESS as return
types for proz_download_handle_threads
* src/connection.c (proz_connection_get_total_bytes_got):
Returns the total number of bytes that have been saved to the file
* src/download.c (proz_download_get_connection): Added.
* src/connection.c (proz_connection_get_status_string): This will
return a textual representation of the status of a conenction.
* src/download.h (download_t): Added main_file_size, resume_mode
* src/download.c (proz_download_init): Changed the type of
connection->status_change_mutex to recursive
* (proz_download_all_dls_complete): Returns TRUE if all the
connections have been completed
2001-05-01 <kalum@delrom.ro>
* src/prozilla.h (enum): rearranged the uerr_t enum for clarity.
2001-04-30 <kalum@delrom.ro>
* src/download.c (proz_download_handle_threads):created it to handle the threads.
* src/connection.c (connection_retr_fsize_known): fixed a bug in which the wrong size wass passed to krecv.
2001-04-29 <kalum@delrom.ro>
* src/prozilla.h (libprozinfo): added default_timeout.
2001-04-27 <kalum@delrom.ro>
* src/ftp.c (proz_ftp_get_url_info): added additional show_message
function calls.
2001-04-25 <kalum@delrom.ro>
* src/url.h: changed parseurl, to proz_parse_url, since it would
be used external routines and updated all sources accordingly
* Added C++ style #ifdef __cplusplus to all headers
2001-04-24 <kalum@delrom.ro>
* src/connection.h (connection_t):
* src/prozilla.h (libprozinfo): added dl_dir and log_dir.
* src/download.h (download_t): added dl_dir [PATH_MAX] which is the base dir to which the file segments will be downloaded to, and log_dir which is the dir to which the log files are saved, currently it is the same as dl_dir but we can change it later.
* src/download.c (proz_setup_connections_no_ftpsearch):
* src/misc.c (show_message): added a wrapper for routine to callback a message displaying routine.
* src/connection.c (connection_retr_fsize_known):
This will open connection->localfile and read from
connection->data_sock (which should be already setup) till the
requested number of bytes are read.
Now since we explicitly know how much bytes to get we can do so,
and is the server closes the connection prematurely we know that
it has hapenned (because it hasn't supplied the required number
of bytes) and return a READERR.
* src/http-retr.h, src/http-retr.c, src/ftp-retr.h, src/ftp-retr.c:
Initial Import to CVS with support for file transfer.
2001-04-21 <kalum@delrom.ro>
* src/prozilla.h (enum): added FILEGETOK,
* src/connection.c (connection_retr_fsize_not_known):
This will open connection->localfile and read from
connection->data_sock (which should be already setup) till a EOF
is reached or the server closes the connection, in which case there is no way to know
whether we got the complete file.
Sun Apr 22 17:02:50 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* TODO, src/connect.c, src/connection.c, src/connection.h,
src/download.c, src/download.h, src/ftp.c, src/http.c, src/misc.c,
src/prozilla.h, src/test.c: Cosmetic changes and coding-style fixes.
* docs/HACKING: TABs are allowed in Makefile.am's.
Advise contributors to send
several smaller patches rather than one big patch...
* src/connect.c, src/connection.c, src/http.c, src/netrc.c, src/url.c,
src/url.h: Use kfree() instead of free() everywhere.
* src/http.c: Brought up to current coding-standards. Removed casts
of the result of kmalloc() and krealloc().
* src/http.h: Added prototypes for all functions in src/http.c.
2001-04-20 <kalum@delrom.ro>
* src/download.c: added proz_init_download, and
proz_setup_connections, the prototypes may have to be changed later, I
couldnt figure out this part, I'll start over it once I have the
http/ftp download part of a connection ready.
2001-04-20 <kalum@delrom.ro>
* src/test.c (main): Updated the test program a bit to test out
the http proxy code
* src/http.c (proz_http_get_url_info): Now gets a http urls
attributes, proxy support too added
* src/http.c: Added support routines to http.c
* src/connection.h (connection_t): added type http_stat_t for http
* src/prozilla.h: added struct http_stat_t, and DEFAULT_USER_AGENT
* src/connection.h (connection_t): added user_agent and
new_location for http
* src/connection.h (connection_t): added a pointer to a
status_change_mutex, the mutex will be in the download_struct.
Fri Apr 20 14:32:35 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* TODO, src/connection.h, src/download.h, src/ftp.c, src/ftp.h,
src/http.c, src/http.h, src/main.c, src/test.c:
Cosmetic changes and coding-style fixes and fixed typos.
* docs/HACKING: Added an example code segment.
* src/http.h: Fixed typo which prevented http.o from compiling.
* src/url.c, src/url.h: Use boolean instead of int where appropriate.
* src/url.h: Remove prototypes for non-existing functions. Convert
all prototypes to ANSI prototypes, i.e. list the variable names
in the prototype...
2001-04-20 <kalum@delrom.ro>
* src/ftp.c (ftp_setup_data_sock_1): moved the code for setting up
a data socket from ftp_get_url_info to here, as we will need
these functions when receiving a file.
* src/main.c (proz_set_xxx_proxy): wrote it..
* src/main.c (proz_shutdown): kfrees libprozrtinfo.xxx_proxy
2001-04-20 <kalum@delrom.ro>
* src/http.c, src/http.h: added to repository.
2001-04-19 <kalum@delrom.ro>
* src/ftp.h (struct): removed ftp_stat_t
Thu Apr 19 19:49:30 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* docs/HACKING: Cosmetic changes.
* src/test.c: Added a few missing '\n's. If you give an URL on the
commandline use that, otherwise use the hardcoded URL in test.c.
Thu Apr 19 18:20:47 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* TODO, src/connect.c, src/connect.h, src/connection.c,
src/connection.h, src/download.h, src/ftp.c, src/ftp.h, src/main.c,
src/misc.c, src/misc.h, src/test.c:
Cosmetic changes and coding style fixes.
* config.h.in, configure: Autogenerated.
* docs/HACKING: Several Updates. Added information about indentation
width, brace style, names, TODO, FIXME and NOTE, ChangeLog entries,
comments, automatically generated files and common.h
* src/prozilla.h: Added the proz_set_http_proxy() and
proz_set_ftp_proxy() again, because I removed them mistakenly.
2001-04-19 <kalum@delrom.ro>
* src/connect.h, src/connect.c: Added accept_connection(), should
this file be in ftp.c instead?
* src/connection.h (connection_t): pasv_addr[6] has mistakenly
been of type timeval, corrected it to unsigned char.
* src/ftp.h: Added ftp_size().
* src/connection.h, src/connection.c: Added proz_init_conection(),
and proz_cleanup_connection().
* src/misc.h, src/misc.c: Added kfree() which frees memory if
neccessary.
* src/test.c: Tests the file size getting code.
Thu Apr 19 15:32:26 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* README: Added installation information.
* TODO: Added item 'Use libtool'.
* src/connection.h, src/ftp.c, src/ftp.h, src/misc.c, src/misc.h,
src/prozilla.h: Use boolean instead of int where appropriate.
* src/debug.c: (proz_debug): Automatically add a '\n' to every
debug-message, so you dont need to write proz_debug("foo\n") anymore.
* src/ftp.c: Log every message sent and received with proz_debug().
* src/prozilla.h: Set MAX_MSG_SIZE to 2048.
Thu Apr 19 06:39:55 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* AUTHORS: Added Michael Duelli <m.duelli@web.de>.
* docs/HACKING: Removed ftpparse.[ch] from the
'Code from other projects' list. Added URL to glibc download.
* src/ftp.c, src/ftp.h: Cosmetic changes.
* src/ftpparse.c: Brought up to current coding style standards etc...
Include common.h. Added some 'const's where appropriate.
Return boolean instead of int in some functions.
(main): Simplified code a bit. Use EXIT_SUCCESS.
* src/ftpparse.h: Changed prototypes to also show variable names.
Added '#ifndef FTPPARSE_H' etc. to prevent multiple inclusions.
2001-04-19 <kalum@delrom.ro>
* src/ftpparse.h src/ftpparse.c: Removed the offending DJB created
files and added Michaels versions which were written from
scratch.
Wed Apr 18 22:36:49 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* Makefile.am: Added docs to SUBDIRS.
* Makefile.in, config.h.in, configure: Autogenerated.
* README: Moved CVS info into docs/HACKING.
* configure.in: Added docs/Makefile to AC_OUTPUT().
* docs/HACKING, docs/Makefile.am, docs/Makefile.in: Added files.
* src/connection.c, src/connection.h, src/ftp.c, src/ftp.h, src/test.c:
Renamed connection_info to connection_t.
* src/main.c: Renamed some variables. Added a few comments.
* src/prozilla.h: Removed unused prototypes proz_set_http_proxy()
and proz_set_ftp_proxy().
Wed Apr 18 19:58:54 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* src/connect.c, src/connection.h, src/ftp.h, src/misc.h:
Cosmetic changes.
* src/debug.c, src/debug.h: Made debug_mutex static. Renamed some
variables.
* src/ftp.c, src/ftp.h: Changed several 'char *' to 'const char *'.
(get_ftp_return): Renamed to ftp_get_return().
(ftp_send_msg): Renamed some variables. Added missing va_end().
(ftp_login): Replaced those ugly if-else-chains with switch
constructs, which are more readable IMHO.
(use_ftp_proxy): Renamed to ftp_use_proxy().
(proz_ftp_get_url_info): Renamed to ftp_get_url_info().
* src/prozilla.h: Removed unused prototypes for proz_use_http_proxy()
and proz_use_ftp_proxy().
2001-04-18 <kalum@delrom.ro>
* src/ftp.c (ftp_login): added sevral "\r\n"'s where I had
forgotten to put them :(
2001-04-18 <kalum@delrom.ro>
* src/ftp.c (ftp_login): Added proxy support :)
2001-04-17 <kalum@delrom.ro>
* src/ftp.c (ftp_send_msg): changed the prototype to uerr_t
ftp_send_msg(connection_info *connection, const char *cmdspec,
...)
* src/prozilla.h: Added data type longstring 1024 bytes
* src/connection.h (connection_info): changed the type of
xxx_proxy to a pointer, proxy_info *
Tue Apr 17 13:38:35 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* config.h.in, configure, src/Makefile.in: Autogenerated.
* configure.in: Check for lots more #include files.
* src/Makefile.am: Added several missing files to
libprozilla_a_SOURCES.
* src/connect.c, src/connect.h, src/connection.c, src/connection.h,
src/debug.c, src/debug.h, src/download.c, src/download.h, src/ftp.c,
src/ftp.h, src/main.c, src/misc.c, src/misc.h, src/netrc.c,
src/netrc.h, src/prozilla.h, src/test.c, src/url.c, src/url.h:
Put all system #includes in src/common.h and just include "common.h".
* src/ftp.c: Coding style fixes.
* src/prozilla.h: Moved the #defines TRUE and FALSE to src/common.h.
* src/common.h: Added file. Contains all necessary system #includes,
typedefs a 'boolean' type, conditionally #defines vsnprintf() and
snprintf() to __vsnprintf() and __snprintf() if necessary and
also #defines YES and NO.
2001-04-17 <kalum@delrom.ro>
* src/ftp.c (use_ftp_proxy): added this func which is self
explanatory ;)
* src/prozilla.h: Added several enums to proxy_type to describe
various proxies.
2001-04-16 <kalum@delrom.ro>
* src/test.c: added config.h to test.c
Mon Apr 16 21:28:31 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* acinclude.m4: Remove CVS Id tags.
* aclocal.m4, config.h.in, configure: Regenerated automatically.
* configure.in: Check for strchr() and strrchr().
* src/connect.c, src/connect.h: Include <sys/types.h>. The second
argument of connect_to_server() is 'const char *' now.
* src/connect.c, src/connect.h, src/connection.c, src/connection.h,
src/debug.c, src/ftp.c, src/ftp.h, src/main.c, src/misc.c,
src/misc.h, src/netrc.c, src/netrc.h, src/prozilla.h, src/test.c,
src/url.c, src/url.h: Coding style and indentation changes.
* src/download.c: Include <config.h>.
* src/download.h: Prevent multiple inclusions...
* src/ftp.c, src/ftp.h: Removed the 'len' argument of ftp_send_msg(),
because it's always strlen(connection->szBuffer).
Mon Apr 16 15:32:43 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* TODO: Added 'Bandwidth throttling'.
* aclocal.m4, config.h.in, configure: Automatically generated.
* configure.in: Check for pwd.h, strtol(), strncasecmp(), snprintf(),
vsnprintf(), __snprintf() and __vsnprintf(). Remove checks for
strstr() and gettimeofday() because we don't use them anywhere.
* src/ftp.c, src/main.c, src/misc.c, src/misc.h, src/netrc.c,
src/url.c, src/url.h: Renamed nstrdup() to kstrdup() to be
consistent with kmalloc() and krealloc()...
* src/main.c, src/prozilla.h: Remove useless includes.
(proz_shutdown): Now returns void. (proz_die): Exit with
EXIT_FAILURE not with EXIT_SUCCESS.
Mon Apr 16 09:14:52 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* aclocal.m4, config.h.in, configure, src/Makefile.in:
Automatically generated.
* configure.in: Added configure option --enable-compiler-warnings.
Possible arguments are no/min/yes. Default is min.
* src/Makefile.am: Commented out variable settings, they don't seem
to be necessary. I'm not sure, though...
* src/connect.c, src/misc.c: Added/fixed a few comments.
* src/ftp.c, src/main.c: Use nstrdup() instead of strdup().
* src/main.c: (set_defaults): Removed because it was empty.
* src/test.c: Added several includes, so it now compiles with
--enable-compiler-warnings=yes.
Mon Apr 16 08:07:10 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* src/connect.c, src/connect.h, src/connection.c, src/connection.h,
src/debug.c, src/download.c, src/download.h, src/ftp.c, src/ftp.h,
src/ftpparse.h, src/main.c, src/misc.c, src/misc.h, src/netrc.c,
src/netrc.h, src/prozilla.h, src/url.c, src/url.h:
Cosmetic changes, mostly of the CVS 'Id' tag and its location.
* src/debug.h, src/test.c: Replaced the CVS 'Revision' tag with
the 'Id' tag.
* src/main.c: (proz_init): Use kmalloc() instead of malloc().
(proz_die): Fix possible buffer overflow by using vsnprintf() instead
of vsprintf().
2001-04-15 <kalum@delrom.ro>
* src/prozilla.h: added home_dir and netrc_list to libprozinfo struct
* src/connection.h: added is_dir, is_file etc, to connetion.h to
provide information about the url.
* Removed the $log entries, now the only cvs info is the Id
tag
Sat Apr 14 20:34:41 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* TODO, src/netrc.h, src/url.h: Cosmetic changes.
* acconfig.h, configure.in: Check for socklent_t by calling
TYPE_SOCKLEN_T.
* acinclude.m4: Added TYPE_SOCKLEN_T.
* aclocal.m4, config.h.in, configure: Automatically generated.
* src/debug.c: (proz_debug): Fix a possible buffer overflow by using
vsnprintf() instead of vsprintf().
* src/netrc.c: Include <config.h>. Don't use error_at_line().
Remove all code enclosed by '#ifdef STANDALONE' and '#endif',
because we don't use this code standalone...
* src/netrc.c, src/url.c: Properly check whether to include
<string.h> or <strings.h> or <memory.h>.
Sat Apr 14 17:34:23 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* Makefile.am, Makefile.in: Removed unnecessary DIST_SUBDIRS.
* Makefile.in, aclocal.m4, config.h.in, configure, mkinstalldirs,
src/Makefile.in: Regenerated automatically.
* configure.in: Added standard GPL-header. Require at least
autoconf 2.13. Removed AM_SANITY_CHECK. Added lots of checks, e.g.
for -lnsl or -lsocket (which is needed on some systems e.g. Solaris).
Check for headers (memory.h string.h time.h fcntl.h assert.h).
Removed AC_FUNC_SETVBUF_REVERSED. Cosmetic changes.
* src/Makefile.am: Cosmetic changes.
* src/connect.c, src/connect.h, src/connection.c, src/connection.h,
src/ftp.c, src/main.c, src/misc.c, src/misc.h, src/prozilla.h:
Removed unnecessary includes, added missing includes. Properly check
whether to include <string.h> or <strings.h> or <memory.h>.
Check whether to include <time.h> or <sys/time.h> or both.
* src/ftp.c, src/ftp.h: (get_ftp_return): Make it a static function.
(ftp_send_msg): Second argument is 'unsigned int' instead of 'int'
now. (ftp_get_reply): Make it a static function.
Added missing prototype for proz_ftp_get_url_info().
* acinclude.m4, acconfig.h: Added files.
* man/Makefile: Removed file.
2001-04-14 <kalum@delrom.ro>
* src/ftp.c (proz_ftp_get_url_info): Creating a function to fetch info about ftp url's
* Cleaned up the cvs logs in files
2001-04-13 <kalum@delrom.ro>
* Added src/download.c and src/download.h
* src/connection.h: added use_http_proxy and use_ftp_proxy to the connection structure.
Fri Apr 13 18:08:52 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* README: Removed info about the prozilla mailinglist because it
has been removed. All the subscribers are in the prozilla-users
mailinglist now.
* src/connect.c, src/connect.h, src/connection.c, src/connection.h,
src/ftp.c, src/ftp.h, src/main.c, src/misc.c, src/misc.h,
src/prozilla.h, src/test.c: Cosmetic changes.
* src/connect.c: Call socket() with the third argument being
IPPROTO_TCP instead of 0. Do not cast result of krealloc().
(accept_connection): Removed, because it is not used anywhere.
* src/debug.c, src/debug.h: Renamed debug_prz() to proz_debug().
* src/ftp.c: Make BUFFER_SIZE a #define (not a const int).
Do not cast the result of alloca(). Remove all those sizeof(char)
multiplications, because sizeof(char) is '1' per definition.
Fri Apr 13 16:08:07 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* ChangeLog, src/connect.c, src/connect.h, src/connection.c,
src/connection.h, src/debug.c, src/debug.h, src/download.c,
src/download.h, src/ftp.c, src/ftp.h, src/main.c, src/misc.c,
src/misc.h, src/prozilla.h, src/test.c:
Cosmetic changes. Use the same GPL-header in all files.
* src/connect.c, src/ftp.c, src/misc.c, src/netrc.c, src/url.c:
Removed unnecessary casts of the result of kmalloc().
* src/main.c: Removed unnecessary includes of <ncurses.h> and
<curses.h>.
2001-04-13 <kalum@delrom.ro>
* src/prozilla.h: The library functions will be in the form of proz_xxx
(struct): added the structure proxy_info
* src/prozilla.h: moved the definition of struct _urlinfo from url.h to prozilla.h
Thu Apr 12 15:55:04 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* AUTHORS, NEWS, README: Wrote initial documentation.
* TODO: Added file.
* src/connect.c, src/connect.h, src/connection.c, src/connection.h,
src/debug.c, src/debug.h, src/ftp.c, src/ftp.h, src/main.c,
src/misc.h, src/prozilla.h, src/url.c, src/url.h: Cosmetic changes.
* src/connection.h: Removed two C++ style comments.
* src/main.c: Added two missing 'void's in function declarations.
Call exit() with EXIT_SUCCESS as parameter, not with 0.
* src/test.c: Added the standard GPL-header. Use EXIT_SUCCESS.
Thu Apr 12 14:46:32 CEST 2001 Uwe Hermann <uh1763@hermann-uwe.de>
* src/misc.c, src/misc.h: Removed unnecessary includes <malloc.h> and
<curses.h>. (kmalloc): If size is zero, return NULL. The
error-message now prints the number of bytes you tried to allocate.
(is_number): The argument is 'const' now. Empty strings count as
non-number.
2001-03-26 <kalum@delrom.ro>
* src/ftp.h: struct ftp_connection_info was added.
2001-03-18 <kalum@delrom.ro>
* configure.in: Calls the autoconf macro AC_caolan_FUNC_WHICH_GETHOSTBYNAME_R.
* src/connect.c: Added a gethostname_r wrapper called k_gethostname, and added autoconf support for 5 or 6 args for it.
2001-03-14 <kalum@delrom.ro>
* src/connect.c (connect_to_server): changed the data type for the timeout argument to struct timeval
2001-03-13 <kalum@delrom.ro>
* src/misc.c (get_prefixed_file): uncommented it, we need to do something about the runtime structure, like havng libprozillas own runtime structure.
|