home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / PBAPI10.ZIP / WHATSNEW.DOC < prev    next >
Text File  |  1998-02-21  |  12KB  |  245 lines

  1. 02/21/98 - Version 1.0 Release for PowerBasic v3.5
  2.  
  3.            Recompiled all Units to be compatible with PowerBasic v3.5
  4.  
  5.            Made corrections to the MNNNN Header Unit for the Read in
  6.            message number from the SHORT INTEGER to LONG INTEGER value.
  7.            "c" now represents Conference Numbers (1 to 9999). SHORT INTEGER
  8.            "mn" now represents Message Numbers (1 to 999,999). LONG INTEGER
  9.            "n" can either represent SHORT or LONG INTEGERs for the MNNNN
  10.            Data Record Elements. Please read additional notes in the
  11.            MNNNHDR.DOC located in the APIDOC.ZIP file.
  12.  
  13.  
  14. 05/20/97 - ßeta 1 - Release of the First Wide Beta of this API for the
  15.            general public.
  16.  
  17.            Release of a limited Whoson.dat API Unit. Also released Screen &
  18.            Menu API Units.
  19.  
  20.            Mouse API Unit was released as well, but I opted at this point
  21.            not to document it as it is used mostly by other internal API
  22.            Units such as Menu and Screen API Units.
  23.  
  24.            Created a template called DemoMenu.bas to help show how to
  25.            setup commands from the Menu & Screen API Units.
  26.  
  27.            Added more functions and subs to the Util.pbu API Unit.
  28.  
  29.            Added four new sets of Functions to the Node.dat API Unit.
  30.            These have to do with the Caller ID Services of TriBBS which
  31.            I completely overlooked the first time around. These functions
  32.            are listed below and have been documented in the nodedat.doc.
  33.  
  34.            Enable Caller ID:
  35.              FUNCTION NODE_DAT_GetECIDF() AS INTEGER
  36.              FUNCTION NODE_DAT_PutECIDF(n AS INTEGER)
  37.  
  38.            Bump No Info Calls:
  39.              FUNCTION NODE_DAT_GetBNICF() AS INTEGER
  40.              FUNCTION NODE_DAT_PutBNICF(n AS INTEGER)
  41.  
  42.            Bump Blocked Calls:
  43.              FUNCTION NODE_DAT_GetBBCF() AS INTEGER
  44.              FUNCTION NODE_DAT_PutBBCF(n AS INTEGER)
  45.  
  46.            Bump Out Of Area Calls:
  47.              FUNCTION NODE_DAT_GetBOOACF() AS INTEGER
  48.              FUNCTION NODE_DAT_PutBOOACF(n AS INTEGER)
  49.  
  50.  
  51.         **************** Alpha Testing Doc's below ****************
  52.  
  53. 04/21/97 - Release of the Events.dat API Unit
  54.  
  55.            The NODEDAT.PBU Unit had all of the "Put" statements not set
  56.            correctly and would error out if you tried to change the data.
  57.            FIXED!
  58.  
  59. 04/16/97 - MNNNN_HDR_GetTU was not returning a trimmed string and stipping
  60.            the CHR$(0) from the end. Fixed!
  61.  
  62.            The SYSDAT1.PBU Unit had all of the "Put" statements not set
  63.            correctly.. This was my fault. All Put statements in the
  64.            SYSDAT1.PBU now works. Fixed!
  65.  
  66. 04/09/97 - Release of Node.dat API Unit
  67.  
  68. 04/07/97 - Release of Sysdat1.dat and Sysdat2.dat API Units
  69.  
  70.            Cleaned up the PBAPI10.INC abit by setting the 10 Byte Sub
  71.            structure as one Type Structure and then Dimentioning each main
  72.            structure to share it among all Main Type Structures. This allowed
  73.            me to quit declaring the 10 byte sub structure over and over for
  74.            each Main Data Type that needed it, and helps cuts down on the
  75.            size of PBAPI10.INC file as well.
  76.  
  77. 03/25/97 - I reworked the PBAPI10.INC to now hold all of the Dimentions, and
  78.            Declarations that I was still having everyone do in their programs,
  79.            which pertained to the API.  Also, these were in the Demo 1 & 2,
  80.            and all other sample bas programs.  I suppose I should have done
  81.            this to make the API even more simpler to use right from the start,
  82.            but I just didn't think about it.  Therefore, All DIM, LSET,
  83.            VARPTR32, PUBLIC & POINTER Statements have been moved to the
  84.            PBAPI10.INC File.
  85.  
  86.            In addition, the following include files will no longer be sent
  87.            with this archive, and I highly recommend that you delete these
  88.            from your directories as they are no longer needed or used.
  89.  
  90.            They are:
  91.              ALIASIDX.INC, DOORTMP.INC, FAREA.INC, MCONF.INC, MNNNNHDR.INC
  92.              MNNNNTXT.INC, NETWORK.INC, USERDAT.INC, USERIDX.INC, USERSPF.INC,
  93.              USERSPM.INC, & UTIL.INC.
  94.  
  95.            It is very important that you keep the PBAPI10.INC and PBAPI10.PBL
  96.            intact and use the complete set together as many Units call
  97.            different Functions from other Units as External routines.
  98.  
  99.            What you will need to do in order to start a program with this new
  100.            setup is add the follow 3 statements to your program and set to
  101.            your path:
  102.  
  103.              $LINK "PBAPI10.PBL"
  104.              $INCLUDE "PBAPI10.INC"
  105.              TBNode1sMainDirectory = "C:\TRIBBS"
  106.  
  107.  
  108.            The USERSSPM.PBU Unit had a bug in the USERS_SPM_PutLWMR function
  109.            where it was not updating the infomation in memory. This has been
  110.            corrected. Thanks David! :)
  111.  
  112. 03/16/97 - Release of Users.dat, Users.idx, Alias.idx, Users.spm, & Users.spf
  113.            API Units.
  114.  
  115.            Created a new sample program called DEMO2.BAS which will show you
  116.            how the Users.dat, Users.idx, Alias.idx, Users.spm, and Users.spf
  117.            work together to allow you to simulate logoning on to TriBBS. If
  118.            you log in as a new user, then this demo will allow you to enter
  119.            all needed information and then add you to all of the TriBBS system
  120.            files. This DEMO will actually add a new user to your records, so
  121.            either backup your users files, or just flag the dummy user for
  122.            deletion when done. :) If you enter a user's name or alias that is
  123.            already in the user records, then it will find the user and display
  124.            a partial record to the screen.
  125.  
  126.            Created four new functions in the Util API Unit for input string
  127.            contol. See Util.doc for futher details.
  128.  
  129.            Renamed Messread.bas to DEMO1.BAS.
  130.  
  131.            Had a minor bug in the Hashit(s AS AS STRING) function where it
  132.            was leaving the entire 's' in upper case after it was done
  133.            creating the hash value. Didn't catch it until I started inserting
  134.            records into the Users.dat file and the Users Name was showing up
  135.            in all Cap Letters.. This is now Fixed!
  136.  
  137.            Added a new function called InitialCaps(s AS STRING) AS STRING
  138.            to the Util Unit. See Util.doc for details.
  139.  
  140.            Reworked the "Search Message Number" feature in the Messread.bas
  141.            file when  you select "Your" messages and then wanted to enter a
  142.            new Message Number for either a forward or backward message number,
  143.            this was not working the way I had intended.
  144.  
  145.            Changed MNNNN_TXT_Read(n AS INTEGER) to MNNNN_TXT_Read() in the
  146.            MNNNNHDR Unit as the Integer value was not needed.
  147.  
  148.            Went through all of the units and now have them check the 'n'
  149.            values for anything less than 1. Where 'n' in most cases refer
  150.            to the record numbers. If 'n' is passed a value less than 1, then
  151.            the function will exit out without reading the record number.
  152.  
  153.            Change the following ClearIt functions in each of the API Units:
  154.  
  155.              MCONF_DAT_Clearit()    ->  MCONF_DAT_Clearit(n AS INTEGER)
  156.              NETWORK_DAT_Clearit()  ->  NETWORK_DAT_Clearit(n AS INTEGER)
  157.              MNNNN_HDR_Clearit()    ->  MNNNN_HDR_Clearit(n AS INTEGER)
  158.              FAREA_DAT_Clearit()    ->  FAREA_DAT_Clearit(n AS INTEGER)
  159.  
  160.            The reason for the change was I was wiping out the entire data
  161.            file when you called this function. This was not intended to
  162.            operate like that.. Now when you call this function, you must
  163.            open the data structure you want to work, then call the Clearit
  164.            function for that unit and pass the record number in 'n' which you
  165.            want to clear out. This is also useful for calling to add records
  166.            to the end of a data structure. Let's say you have 300 users
  167.            records in the USERS.DAT file and want to add another record. You
  168.            would open this file, get your length or total records add one to
  169.            it and pass it as 'n' to the function like so: USER_DAT_Clearit n.
  170.            This would add a blank record number 301 ready to be filled in.
  171.  
  172.            All future new Units with the Clearit() function will operate in
  173.            the same manner above.
  174.  
  175. 02/19/97 - Release of Mnnnn.hdr & Mnnnn.txt API Units.
  176.  
  177.            Updated the Util unit and did the doc file on this as well.
  178.  
  179.            Created file called Messread.bas which uses many if the Units
  180.            from the API together to show how to call multiple functions
  181.            from different units. This little program will allow you to read
  182.            messages directly from the TriBBS \mwork directory without having
  183.            to log on to TriBBS. I believe I got most if not all bugs out of
  184.            this example.. :) Also, I am not responible for any "Fuzzy Logic"
  185.            due to many late nights of programming. <VBG>
  186.  
  187. 02/08/97 - Release of Mconf.dat & Network.dat API Units.
  188.  
  189.            I was having problems between unit's when I opened multiple files
  190.            with my Internal FREEFILE Function. This is has been corrected.
  191.  
  192.            I have rearranged some of the Public and External calls so you
  193.            only need to put "PUBLIC TBNode1sMainDirectory" in your main
  194.            program. Let me know how it works for you. It seems to run smoothly
  195.            without have to declare other variables in my Public statements
  196.            here. :) Just look at each example *.bas file I send with the
  197.            unit's to see exactly what has to be Dimention and Declared for
  198.            operation for each unit.
  199.  
  200.            Made some changes to all the sample *.bas files.. Take a look at
  201.            each one.
  202.  
  203. 02/06/97 - Rewrote some of the FAREA's Unit to be more inline with the newer
  204.            function calls I am now using.. After completing the DOORTMP Unit,
  205.            I was very happy with this outcome and wanted to make the rest of
  206.            my Units with the same approach using this same format. Now the
  207.            FAREA Unit makes calls in the same manner as the DOORTMP Unit.
  208.            Only exception is, in the DOORTMP Unit, on any OPEN statements I
  209.            have it check first for the Doors.tmp file to make sure it is
  210.            there before tring to open it, other than that, both of these
  211.            Units are the same, and future Units will have this same format.
  212.            If anyone has a better idea, nows the time to tell me. :)
  213.  
  214. 01/31/97 - Release of the Doors.tmp Unit.
  215.  
  216.            Renamed the previouse "sample.bas" for the file area to
  217.            "farea.bas". I did this to allow me to make new sample
  218.            programs for each new unit as I develop them. All sample *.bas
  219.            files provided will now be named after the Unit that is in the
  220.            Main Library PBAPI10.PBL.
  221.  
  222.            Set all Lib's to 'ON' in the Units I create now so it will
  223.            support all video's, graphics, serial communications, printer,
  224.            debug info, error tests, allow crtl break operations. You will
  225.            have to turn these off in your main program if you don't desire
  226.            to use these in your program design.
  227.  
  228.            Change the pointer name in FAREA's Unit from 's' to 'fa' to
  229.            try to keep each Unit's pointer name different so if anyone
  230.            opens multiple files and make pointer calls, I didn't want to
  231.            worry about any conflicts in the pointers or their names. :)
  232.            Therefore, each Unit will have their own pointer assignment name.
  233.  
  234.            I have added the DOSUNIT.PBU, DATEUNIT.PBU, & DIRUNIT.PBU from
  235.            PowerBasic's Units to the this library so I can now start making
  236.            certain calls for dos services from within my own Units. 
  237.  
  238.            Now I will supply seperate *.INC files for each Unit's File
  239.            Structures and Declarations and also a complete master of all
  240.            File Structures and Declarations in a new file called PBAPI10.INC.
  241.            Also, the Declarations for the DOSUNIT.PBU, DATEUNIT.PBU,
  242.            & DIRUNIT.PBU have been added to the PBAPI10.INC file.
  243.  
  244.  
  245.