------------------------ AmigaOS 4 project ---------------------------

fuelgauge.gagdet 46.1 (21.02.2002)

- initial release for OS4.

----------------------- AmigaOS 3.2 project --------------------------

fuelgauge.gadget 46.2 (18.08.2019)

- fixed race condition when opening/closing.

- now runs on 68000/68010.

fuelgauge.gadget 47.1 (1.9.2019):

- recompiled with data=far and utllib to improve
  the code generation.

fuelgauge.gadget 47.2 (31.3.2020):

- ticks are no longer drawn if FUELGAUGE_TickSize is 0.

- fixed various drawing bugs.

----------------------- AmigaOS 3.2.2 project ------------------------

fuelgauge.gadget 47.3 (21.10.2022)

- OM_SET on GA_Text and FUELGAUGE_VarArgs now works a little
  differently because the previous implementation had side effects
  resulting in memory corruption.

  If you instantiate an object with GA_Text and FUELGAUGE_VarArgs,
  then the GA_Text parameter will be remembered and the label text
  will be produced by sprintf() style formatting. Subsequent
  OM_SET invocations with FUELGAUGE_VarArgs but without GA_Text
  will reuse the last GA_Text you set as the sprintf() formatting
  specs.

  If you only use GA_Text but never use it with FUELGAUGE_VarArgs
  then the label text will remain the same as what you provided
  as the GA_Text parameter. However, it will still be remembered
  in case you might use OM_SET with FUELGAUGE_VarArgs later.

- Added buffer overflow checking to the percent string formatting
  code.


fuelgauge.gadget 47.4 (22.10.2022)

- Changed how the local vsnprintf() and snprintf() work. Instead of
  counting the total number of characters, including the terminating
  NUL character, they no longer count the final NUL character as
  being part of the string. To be sure, setting up the formatted
  label text, for which the conversion specs are under the client's
  control, the length of the string produced will be used instead
  of the result of the vsnprintf() function.

----------------------- AmigaOS 3.2.3 update ------------------------

fuelgauge.gadget 47.5 (4.1.2024)

- Fixed crash when FUELGAUGE_Ticks was 1.
