home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / c / charges / !Charges / Docs / Updates < prev   
Encoding:
Text File  |  1994-03-12  |  13.4 KB  |  305 lines

  1. Charges
  2. -=-=-=-
  3.  
  4. © 1992−4  Richard G. Hallas
  5. ____________________________________________________
  6.  
  7. Version history file
  8. ====================
  9.  
  10. * in margin indicates a major new addition.
  11.  
  12. Version:  Notes:
  13.  
  14. 1·00      First released version. Went out on
  15.           The Datafile's Cat/Demo disc 9.
  16. 1·01      Danish translation of messages file
  17.           included. Many thanks to Henrik Pedersen.
  18.           • Info window templates slightly altered
  19.           to allow for longer Danish words.
  20.           • ':' removed from 'Exchange rate:' menu
  21.           item in the UK messages file.
  22. 1·02      Discovered a small bug: when the language
  23.           is changed, the windows are deleted and
  24.           recreated with the new messages. It seems
  25.           that windows can sometimes change their
  26.           handles when treated in this way, and I
  27.           hadn't allowed for this. Therefore an
  28.           'Illegal window handle' error could occur.
  29.           Now fixed.
  30. 1·03      Silly mistake: if Whole Hours was selected
  31.           the charges would be calculated at the
  32.           previous hour's rate until the hour
  33.           changed, i.e. no rounding up at the half-
  34.           hour mark (so 4hrs 59mins would cost the
  35.           same as 4hrs 00mins). Now the hour rounds
  36.           up at 30 minutes (so 4hrs 30mins counts as
  37.           5hrs).
  38. 1·13    * New feature: it is now possible to show
  39.           the earnings below the icon bar icon,
  40.           instead of the normal clock. This can be
  41.           switched by an icon in the Options window,
  42.           and is taken into account in the Settings.
  43. 1·23    * New feature: rewrite of the code to show
  44.           text under the icon bar icon. This had
  45.           been really annoying me because it was
  46.           impossible to eliminate all the flicker.
  47.           Therefore I changed the icon from being
  48.           text plus sprite to just sprite-only. It
  49.           still looks exactly the same, but the
  50.           task draws the text itself, which makes
  51.           two improvements possible: (a) now it
  52.           never flickers (except in monstrously huge
  53.           screen modes with 256 colours, which slow
  54.           the whole machine down badly - i.e. bigger
  55.           than mode 21); and (b) you can now choose
  56.           the colours used for the text. Set them up
  57.           in the Charges$Colours variable in the
  58.           !Run file. Instructions are provided.
  59. 1·24      Tiny bug-fix: (I THINK this works, but I'm
  60.           not certain...) It was sometimes possible
  61.           for the menu to lose its pointer to the
  62.           Info window (and perhaps the others too).
  63.           Choosing the menu item still worked, but
  64.           moving over the sub-menu pointer didn't.
  65.           I hope this problem is now cured. It
  66.           hardly ever happened in any case.
  67. 1·25      One small extra feature: if the icon bar
  68.           icon is showing the earnings rather than
  69.           the time, the time can be seen in an area
  70.           of the Earnings window which is otherwise
  71.           left blank.
  72. 1·35    * Major new feature: Job manager. This lets
  73.           you save the hourly rate, whole hours
  74.           setting, earnings window currencies and,
  75.           of course, time worked so far on the job
  76.           into separate files which Charges will
  77.           maintain automatically. The default state
  78.           is saved as a file called '☓', which the
  79.           user doesn't see, in a new Jobs directory.
  80.           The other contents of this directory are
  81.           the jobs which the user defines, and these
  82.           are presented in a menu. The only limit
  83.           on the number of jobs that can be recorded
  84.           at once is the number of files which can
  85.           be saved in a directory.
  86.           • Certain areas of the code have been
  87.           tidied up slightly in this version, and
  88.           the layout of the 'Settings' file has been
  89.           revised, with many options moved over to
  90.           the individual jobs file.
  91.           • From this release onwards, Charges needs
  92.           to write to itself frequently, and so
  93.           should not be used from a protected disc.
  94. 1·36      Added extra help message for the icon bar
  95.           icon. It was previously referring to the
  96.           time being shown even when the earnings
  97.           were being shown instead.
  98. 1·37      Small bug-fix: if the computer was turned
  99.           off without quitting Charges, then the
  100.           file determining the current job in use
  101.           would not be updated. Now it is updated
  102.           as soon as you change anything in the
  103.           Job manager window.
  104. 1·47    * New feature: the exchange rate database.
  105.           Now each time an exchange rate is entered,
  106.           it is stored in a file, and retrieved when
  107.           the currencies are changed in the Earnings
  108.           window. A new Query window has also been
  109.           added, so you can optionally store the
  110.           change or not. The exchange rate from a
  111.           currency to itself is not stored in the
  112.           database, and exchange rates which are not
  113.           found are automatically set to 1. The
  114.           exchange rate is also set to 1 if a
  115.           currency is being converted to itself.
  116.           • Another change: the currencies displayed
  117.           in the Conversions window have been linked
  118.           to those in the Earnings window, and their
  119.           menus removed.
  120. 1·48      Menu help added for RISC OS 3.
  121. 1·49      Other help text corrected to reflect the
  122.           changes in the program's operation.
  123. 1·50      Improvement: Wimp_Poll has been replaced
  124.           by Wimp_PollIdle, which means that Charges
  125.           now takes only about a third of the
  126.           processor time it took previously.
  127.           • Bug-fix: somewhere along the line, the
  128.           saving of the converted/earned amounts in
  129.           the Conversions and Earnings windows had
  130.           stopped working when the figure was
  131.           dragged to a Filer window, although direct
  132.           memory transfer into other applications
  133.           was still fine. The problem is now fixed:
  134.           for some reason I had added a superfluous
  135.           RESTORE ERROR line which was upsetting the
  136.           error handler.
  137.           • Bug-fix: When restoring the exchange
  138.           rate, rounding errors could cause it to
  139.           overflow the 10-character limit. The
  140.           rounding errors can still happen (I don't
  141.           know how to avoid this, and the errors are
  142.           insignificant anyway), but the figure can
  143.           never overflow its allotted space now.
  144. 1·51    * Well, not exactly a major new feature, but
  145.           it's natty and I like it! I refer to a new
  146.           feature for users of RISC OS 3 only: the
  147.           ability to drag a solid sprite, containing
  148.           the red-bordered contents, out of the
  149.           Earnings and Conversions windows. Users of
  150.           RISC OS 2 just get a dotted outline, but
  151.           RISC OS 3 now enables Charges to provide a
  152.           full sprite, and I have designed a kind of
  153.           translucent sprite which resembles the
  154.           icon you're dragging away from (including
  155.           the correct total it contains), but which
  156.           lets you see the background through it.
  157.           The overall effect is like dragging a bit
  158.           of engraved perspex over the desktop, and
  159.           it looks *REALLY* good, especially in the
  160.           multisync screen modes!
  161.           • Small bug-fix/correction: the icon which
  162.           Charges uses on the icon bar has been
  163.           moved out of the !Sprites file, because if
  164.           the !Boot file was obeyed again when
  165.           Charges was loaded, a blank version of the
  166.           icon was loaded, and the number below the
  167.           running program's icon could then vanish.
  168. 1·52      A tiny amendment: having seen some more
  169.           documentation for the DragASprite module,
  170.           I found out it was possible to specify a
  171.           sprite area instead of just the wimp
  172.           sprites. Therefore, two sprites have been
  173.           moved out of the '!Sprites' file into
  174.           Charges' own sprite area file, 'Sprites'.
  175. 1·53      Two small changes, one cosmetic:
  176.           • Only one copy of Charges is now allowed
  177.           to be running at once, since having more
  178.           than one running would result in all the
  179.           data being written into the directory of
  180.           the most recently-loaded copy.
  181.           • If RISC OS 3 is in use, the wimp sprite
  182.           'gright' is used instead of the textual
  183.           '⇨' arrow for pop-up menus. Although the
  184.           windows are set up to use a special sprite
  185.           area, this still works because if the
  186.           required sprite is not found in the
  187.           special pool under RISC OS 3, it checks
  188.           the wimp sprite pool (which is where
  189.           'gright' is located). Templates modified
  190.           to facilitate this new feature.
  191. 1·54      Two more small changes, one of them rather
  192.           important:
  193.           • Bug-fix: When I changed the Wimp_Poll to
  194.           Wimp_PollIdle in version 1·50, I forgot to
  195.           alter the part of the code which resets
  196.           the clock when you click ADJUST on the
  197.           icon. This sometimes caused the clock to
  198.           restart from an arbitrary value after you
  199.           had reset it, which was far from helpful!
  200.           • The templates have been altered slightly
  201.           to make the menu 'buttons' look better
  202.           when used with the 'gright' sprite in
  203.           RISC OS 3 (as opposed to the '⇨' text in
  204.           RISC OS 2).
  205. 1·64    * Now supports RISC OS 3 desktop save.
  206.       • Bug-fix: Faulty reason code in wimp
  207.       messages amended.
  208.       • Important bug-fix: If the icon bar icon
  209.       was set to show earnings (rather than the
  210.       time), it wasn't getting updated unless
  211.       the Earnings window was open. Thanks to
  212.       Nigel Gatherer for spotting this one.
  213. 1·65      The check-pattern masked dragging sprites
  214.       have been altered (i.e. the masked and
  215.       solid pixels have been reversed) to make
  216.       them work correctly if Michael Rozdoba's
  217.       excellent Desktop+ module (which gives
  218.       similar translucent drags throughout all
  219.       the desktop) is running. Previously,
  220.       Charges and this module both masked out
  221.       alternate pixels, so if you dragged the
  222.       earnings or conversions icon, all you saw
  223.       was a dotted red border.
  224. 1·66      Minuscule changes to templates file and
  225.       icon bar icon to make them look right with
  226.       Acorn's NewDesk.
  227. 1·67      Finally got round to reading the RISC OS 3
  228.       Style Guide. Charges followed very closely
  229.       anyway, but I've changed a few things to
  230.       make it comply even better, and I've given
  231.       the Info window a 3D look to match the
  232.       rest of the program. NB Colons have now
  233.       disappeared from all label icons, as per
  234.       the Style Guide. The two labels in the
  235.       Earnings window now look much better with
  236.       NewDesk.
  237.       Made a couple of changes to the !Run file.
  238. 1·70    * Version 1·70 represents a fairly major
  239.       revision of layout, both in terms of the
  240.       appearance of some windows and also of the
  241.       overall operation of the program in some
  242.       respects; from a user's point of view, it
  243.       should look slightly more 'finished off',
  244.       and conforms a little more closely to the
  245.       style guidelines. There are also a couple
  246.       of very minor bug fixes.
  247.       * If you are using a version of the wimp
  248.       which supports outline fonts across the
  249.       desktop, Charges will now detect this font
  250.       and use it for the icon bar icon, even
  251.       though this is drawn "manually" by the
  252.       program. You can still alter the colours
  253.       used for this text by amending the system
  254.       variable in the !Run file. NB The outline
  255.       font is also used in the translucent
  256.       dragging sprites.
  257.           • Revision of error handler for the new
  258.       versions of the Wimp. (Updated "LoadHelp"
  259.       program similarly.)
  260.       • Corrected a very small omission in the
  261.       logic concerning the Job manager. Not a
  262.       bug as such; just a completion. (Delete
  263.       button was not unshading when a new job
  264.       was created.)
  265.       • Wording change: "OK" replaced by "Set".
  266.       Also changed all instances of "icon-bar"
  267.       to "icon bar", and removed some captials.
  268.       All per new Style Guide, with which I tend
  269.       to agree about this kind of thing.
  270.       • Changed slab-in colour of all buttons to
  271.       grey (3) to match the new standards.
  272.       • Revised some border types to match newer
  273.       styles. Also revised layout of the Options
  274.       window a little; slightly reduced in size.
  275.       • Updated system-font £-sprites to outline
  276.       font versions and removed some superfluous
  277.       sprites. Also changed appearance of opton
  278.       button from red square to pound sign.
  279.       • Made Conversion window's arrow highlight
  280.       in yellow when clicked (RISC OS 3.1 only).
  281.       • Added a ptr_hand dragging pointer to the
  282.       red (draggable) fields in the Earnings and
  283.       Conversions windows.
  284.       • The ultimate frustrating experience!
  285.       I've just found out that the new Wimp does
  286.       translucent solid sprite drags by default.
  287.       I CLAIM HERE AND NOW: »I« WAS THE FIRST
  288.       PERSON EVER TO THINK OF THIS, AND YOU SAW
  289.       THE EFFECT FIRST IN CHARGES!!
  290.       A similar idea subsequently appeared in
  291.       Acorn User, and then Michael Rozdoba did a
  292.       really excellent implementation of the
  293.       effect in Desktop+. However, he masked the
  294.       alternate pixels to the ones I used, with
  295.       the result that if Desktop+ was running at
  296.       the same time as Charges, the translucent
  297.       drag fields in Charges disappeared. In
  298.       version 1·65 of Charges, I spent ages
  299.       redoing the sprites so that this wouldn't
  300.       happen. Now I've just seen Acorn's new
  301.       wimp, and found that it uses the same
  302.       masked pixels as I did in the first place,
  303.       so I've had to put the sprites back like
  304.       they were before!!
  305.