home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / PPPBCKP / WPPP50B2.ZIP / CHANGE~1.TXT next >
Text File  |  2001-06-09  |  9KB  |  183 lines

  1. PPP Project version 5.0 Change Log
  2. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3.  
  4.  
  5. 5.0.6 (Alpha) 2001-0?-??
  6. ~~~~~~~~~~~~~~~~~~~~~~~~
  7. * Force TZ variable to be set if it is not set, so that strftime will use the
  8.   abbreviated time zone vs. something like "Pacific Standard Time".
  9. * Changed version scheme to "{maj}.{min}.{buildno} {Release Status}"
  10. * Bug Fix in sock_gets where it would return the incorrect string length as the
  11.   return value of the function.
  12. * Bug fix in sock_read where it would only return up to the first {CR/LF} pair,
  13.   this was causing the qotd client not to work.
  14. * Quit sending an initial CR/LF pair to the fortune server (in QOTD)
  15. *  
  16.  
  17.  
  18. v5.0 Alpha-5 2001-05-24
  19. ~~~~~~~~~~~~~~~~~~~~~~~
  20. * More work on news.cpp to make it work.
  21. * Upped the sock_gets timeout from 10 seconds to 60 seconds to make it fail
  22.   less often on DOG slow connections (like my news server!)
  23. * check for null in output and log_it functions, since this may have caused
  24.   GPF's under Windows 98SE.
  25. * don't print out the command line arguments if they are bad, since it's
  26.   kinda pointless anyway.
  27. * Ported qotd.
  28. * Added sock_read and sock_write to socketwrapper.cpp (since these are 
  29.   similiar to some methods that qotd used).  Also modified sock_puts to use
  30.   sock_write to remove redundant code.
  31.  
  32. v5.0 Alpha-4 2001-05-19
  33. ~~~~~~~~~~~~~~~~~~~~~~~
  34. * Created new project for news
  35. * Changes to make news.cpp compile.. It's still not complete nor tested yet.
  36. * Moved char *strrep(char *str, char oldstring, char newstring) from news.cpp 
  37.   to utility.cpp
  38. * Added new function 'bool SetFileToCurrentTime(LPCTSTR pszFileName)', and 
  39.   made news.cpp call this vs. old DOS setftime API call.
  40. * Updated source files to include Apache style license.
  41. * Added license.txt to the source directory.
  42. * Now built against wsock32.dll instead of ws2_32.dll since some Win95 machines
  43.   (even with the winsock2 update) were not happy with it.  And since there's
  44.   no longer any Winsock2 specific code, we can use Winsock 1.1.
  45. * Added tons of extra debug statements in pop.cpp which are currently disabled.
  46.   If you need them, define "MEGA_DEBUG_LOG_INFO" at the top of pop.cpp
  47. * Changed the default DEBUG: (whatever is in your pop message) while getting
  48.   the message headers to only be displayed of MEGA_DEBUG_LOG_INFO is defined.
  49. * Only display the return value of pop_top if MEGA_DEBUG_LOG_INFO is defined.
  50. * More source code reformatting in cleanup in pop.cpp and utility.cpp
  51. * Cleaned up which import libraries each file requires.  Now every file now 
  52.   requires kernel32.dll and user32.dll.  pop and news also require wsock32.dll.
  53.   This is down from the 20 or so "default" libraries that MSVC puts in 
  54.   to a new project.  This should make the exe smaller and have fewer imports
  55.   in the .exe structure.
  56.  
  57.  
  58. v5.0 Alpha-3 2001-05-13
  59. ~~~~~~~~~~~~~~~~~~~~~~~
  60. * in pop.cpp, renamed netdata to net_data to match the other source files.
  61. * pop.cpp builds with utility.cpp, duplicate functions have been removed from
  62.   the pop.cpp file.
  63. * Added new function copyfile(char*, char*, bool) since the copyfile code in
  64.   pop.cpp didn't overwrite, and the others did.
  65. * Moved some mode routines from pop.cpp that were generic in nature to the
  66.   utility.cpp file.  These include:
  67.     char *trim(char *str);
  68.     void go_back(int from, int to);
  69.     int isleap(unsigned yr);
  70.     static unsigned months_to_days(unsigned month);
  71.     int jdate(unsigned yr, unsigned mo, unsigned day);
  72.  
  73. * Replaced the #3 char in qotd.cpp with '\003'
  74. * Replaced the #4 chars in pop.cpp with '\004' so that it won't get munged
  75.   in some editor.
  76. * Started to use the previously unused POP.H file, removed duplicate 
  77.   definitions from pop.cpp.  Moved the rest of the #define statements into 
  78.   POP.H
  79. * Moved 'stristr' and 'count_lines' from NEWS.CPP to utility.cpp
  80. * Removed alot of unused #defines, and merged duplicates into utility.h
  81. * Added guards around include files.
  82. * Removed create_wattcp_cfg function.
  83. * removed duplicate "char* stristr(char*, char*)".
  84. * Removed unused variables from being read from NET.INI. These are:
  85.     IPADDDR
  86.     NETMASK
  87.     DNS
  88.     SDNS
  89.     GATEWAY
  90.     PPPD (DRIVER TAG)
  91.     NOWATTCP
  92.     SOCK_DELAY
  93.     TIMEOUT
  94.     RETRIES
  95.     INACTIVE
  96. * Moved variable instance to main from global since its not referenced outside
  97.   of the main method.
  98. * Removed unused variable lsl_loaded.
  99. * changed valid_system to return bool instead of int
  100. * changed create_contact_ppp to return a bool, reversed logic to return true
  101.   on success instead of 0 on success.
  102. * More changing int types to bool types, etc...
  103. * Removed the no longer used variables from SAMPLE.INI
  104. * Moved netnum into main since its not used outside of that method
  105.  
  106. * removed net_num since it's only set in set_net_num, and then never referenced
  107.   outside of this function.
  108. * made ini_section a local variable to main, now passes a C++ reference to
  109.   parse_ini_file.
  110. * Renamed global net_sysnum to g_nNetworkSystemNumber
  111. * Removed unused xenviron variables.
  112. * Make uu_packets return bool vs. int.
  113. * Started to refactor the main method (move method, and remove temp) New
  114.   functions so far are:
  115.     bool ReadConfigOvr( configoverrec * pData, int nInstance )
  116.     int  GetWWIVInstanceNum()
  117.     bool ReadConfigDat( configrec *pData )
  118.     bool EnsurePaths()
  119.     void LaunchWWIVnetSoftware( int nNetNum, int argc, char* argv[] )
  120. * Removed unused global (set but never queried) wwiv_net_no
  121. * Don't update sentbytes and recdbytes in place.
  122. * Changed sock_delay to a #define (for 0)
  123. * Moved more header type stuff from pop.cpp to pop.h
  124. * Moved function rip from pop.cpp into utility.cpp
  125. * Changed the high-bit ascii box to '0xfe' literals ( so you can tell what 
  126.   character it is in windows editors)
  127. * made socketwrapper.cpp and socketwrapper.h, moved winsock wrapper code into
  128.   these files.
  129. * Made another tweak to sock_gets.. If there is not a \n in the buffer, it 
  130.   will sleep (just as if there is nothing to receive) until there is something
  131.   to receive from the socket. (or just like if it's empty, it'll wait for up 
  132.   to 5 seconds (10 waits, for 500ms each) before just returning what is 
  133.   currently in the internal buffer.  This should cut down on the problem I've
  134.   seen with uuencoded packets splitting the line onto 2 lines. (and since
  135.   uu can't handle that well, you end up manually fixing the packet, and then
  136.   running uudecode yourself and dropping the Z###.NET file into your network
  137.   directory... Not hard, but not fun nonetheless.
  138.  
  139.  
  140.  
  141. v5.0 Alpha-2 2001-05-05
  142. ~~~~~~~~~~~~~~~~~~~~~~~
  143. * undefined __NO_POP_DELETE__ which I had defined while testing.
  144. * Removed NSLOOKUP.CPP <-- Not needed anymore since Win32 includes this
  145. * Removed MAKEFILE <-- Needs to be rewritten to use NMAKE and MSVC's CL
  146. * Removed PING.CPP <-- Not needed anymore since Win32 includes this.
  147. * Recreated the projects not to use my hosed up directory structure hardcoded
  148.   in it.
  149. * Made all filenames lower case instead of upper case.
  150.  
  151.  
  152. v5.0 Alpha-1 2001-05-03
  153. ~~~~~~~~~~~~~~~~~~~~~~~
  154. * Created a common header file "pppproj.h" for all .cpp to include to make 
  155.   things easier.
  156. * Moved most duplicate functions from the various .cpp files into utility.cpp
  157.   ( Some duplicate functions still exist in pop.cpp, but that .exe doesn't
  158.   link with utility.obj yet)
  159. * Brought over wshare.h and wshare.cpp from wwiv5 for the sh_xxxx functions
  160.   since I know these already work under WIN32 as they as supposed to work.
  161. * Changed how uu.cpp handles the copyfile function since its return value
  162.   was the opposite in uu.cpp than everywhere else.
  163. * Changed copyfile to use the WIN32 API call CopyFile.
  164. * Reformatted some source code to make it easier to read.  No tab characters
  165.   in the source code, and the indentation is 4 characters in the reformatted
  166.   areas.
  167. * Changed many parameters and return values from 'int' to 'bool' when it 
  168.   really meant a boolean datatype to make things easier to understand.
  169. * in pop.cpp, make a pseudo implementation of sock_gets which uses winsock2
  170.   so that the bulk of the socket code can remain in place for now.
  171. * Fixed logic error introduced in pop.cpp which was causing it to exit before
  172.   reading the NET: XXXXXX line from the message body, as it was quitting 
  173.   after the headers but before the body.
  174. * More tweaks to sock_gets to make it behave better (and more like the wattcp
  175.   function did)
  176. * Added stubbed #defines for many wattcp functions that aren't needed. These
  177.   will be removed in a future revision.
  178. * WinNT/2k is picky on memory access, Every place the code did  "if (*x)" I 
  179.   changed it to "if (x && *x)" so that it doesn't GPF if x == NULL.
  180. * Added NULL tests before accessing anything in argv[] if it may not exist.
  181. * Added NULL tests before accessing the result of a strtok operation (since
  182.   it may be NULL)
  183.