-------------------- AmigaOS 3.5/3.9 project -------------------------

datatypes.library 44.8 (17.4.1999)

- Bumped to V44.

datatypes.library 44.14 (17.4.1999)

- Rebuilt with SAS/C.

- Replaced the roll-you-own case-insensitive list search
  code with the regular Stricmp() type code.

datatypes.library 44.29 (17.4.1999)

- Added a new input source type DTST_MEMORY which allows
  you to create DataTypes objects from in-memory data rather
  than from a file or the clipboard.

- datatypes.library now calls itself through the LVOs.

- In RemovedTObject() RemoveGList() is now called before
  the DTM_REMOVEDTOBJECT message is sent to the object.

- The DataTypesClass dispatcher would lose memory if an
  IFF file did not open properly. Fixed.

- DrawDTObjectA(), ObtainDTDrawInfoA() and ReleaseDTDrawInfo()
  are public functions now.

datatypes.library 44.31 (19.4.1999)

- The DTST_MEMORY file handler now knows a few more packets
  and does a bit more error checking.

datatypes.library 44.35 (20.4.1999)

- datatypes.library now properly resets the IFFHandle read
  pointer after examining an IFF stream. Previously, you
  could not use iffparse.library functions in an examine
  hook without causing all subsequent file read attempts
  to fail.

datatypes.library 44.36 (21.4.1999)

- Added 30 reserved function slots in preparation for
  a possible V45 version bump.

datatypes.library 44.37 (10.5.1999)

- Changed all __aligned attributes to a different method of
  guaranteeing long word alignment.

datatypes.library 44.39 (31.7.1999)

- When creating a new object from clipboard data (which works
  by passing the clipboard unit number as the name parameter),
  the library now passes an empty null-terminated string as
  the object name to the underlying datatypes class. This avoids
  a bunch of Enforcer hits. Funny enough, this type of error must
  have been in datatypes.library since day one and nobody ever
  noticed...

- A NULL-name parameter passed to NewDTObject() is now translated
  into an empty name string.

datatypes.library 44.47 (25.12.1999)

- The AsyncLayoutDaemon process now inherits its stack size from
  the Task/Process that creates it. If the stack size is smaller
  than 8192 bytes, however, 8192 bytes will be used instead.

- Fixed up the locale catalog string lookup code which was a bit
  overly optimistic that it might always find the string it was
  looking for. Now that's defensive programming for you.

- The DoAsyncLayout() LVO now carefully checks that the parameters
  passed to it make sense. In particular, this requires that the
  (struct gpLayout *) parameter is not NULL. I also added some
  more sanity checks to the code that sets up a local copy of
  the gpLayout message passed in. A NULL gpl_GInfo pointer
  no longer immediately throws Enforcer hits. Lateron, however,
  the classes involved may choke on the NULL pointer. Good luck.


- Updated the SFD file for datatypes.library; it now includes
  DrawDTObject() and friends as public entries.

-------------------- AmigaOS 3.1.4.(1) project -----------------------

datatypes.library 44.48 (31.5.2018)

- Adapted to the new locale build system. No functional changes.

datatypes.library 46.1 (1.6.2018)

- This is a back-port/re-integration of the Os 4.0 datatypes
  system with some minor modifications and adaptions.

- added StartDragSelect(), FindMethod(), FindTriggerMethod(),
  CopyDTMethods() and FreeDTMethods() function from the v45
  datatypes.library

- added CopyDTTriggerMethods()

- added SaveDTObjectA()

- No longer refuses to open when it cant find the DataTypesList 
  created by the AddDatatypes command in memory, it just creates the 
  list itself in this case now. This still requires testing, though.

- DupLockFromFH() was broken in filehandler.c (DTST_MEMORY).

- implemented missing v45 functions: LockDataType, DoDTDomainA,
  LaunchToolA, FindToolNodeA, GetDTTriggerMethodDataFlags, GM_DOMAIN.

- added support for DTST_RAM in ObtainDataTypeA().

- NewDTObject() supports DTA_Class and DTA_BaseName in conjunction 
  with DTST_RAM, now.

- When creating the filehandler process, it no longer asks DOS to open
  input and output streams and to DupLock() the current directory 
  while in Forbid() state.

- If DTA_GroupID (with ti_Data != 0) is passed to ObtainDataTypeA(), 
  the function will ignore all datatypes (descriptors) that don't 
  belong to the given group. This change also affects NewDTObjectA().

- Fixed DTST_MEMORY mode DupFileHandle(), DupLock() and
  DupLockFromFH() handling which could crash.

- Fixed a bug in the ACTION_COPY_DIR implementation of the memory file
  handler, which could cause crashes with datatypes calling DupLock()
  (either directly or indirectly, e.g. via NameFromLock()) on the lock
  associated to a DTST_MEMORY datatype object.

datatypes.library 46.2 (1.9.2018)

- Datatypes uses now the RVI from rexxsyslib.library V45 and no longer
  the static version from amiga.lib.

- Fixed a potential memory leak when opening core libraries failed.

- Fixed race conditions for async methods.

- Fixed race conditions in library init/close.

- Ensured that LauchTool forwards rexx scripts correctly to rx,
  following the quoting rules.

datatypes.library 46.3 (12.9.2018)

- Added a small but probably useless check whether the class
  hook has a valid entry.

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

datatypes.library 47.1 (13.4.2020)

- GetDTString() will now attempt to make sure the requested string is
  read from a version of libs.catalog which matches the language from
  the system's current locale settings. When needed, the catalog kept
  open internally by the library will be updated to stay in sync with
  user preferences.
  This especially solves the problem that datatypes strings would not
  be localized in case datatypes.library gets opened before IPrefs is
  run (bug #1205).

- Bumped the version number to 47 for the AmigaOS 3.2 release.


datatypes.library 47.2 (24.5.2020)

- Replaced the locale string lookup code with a safer version which
  does not go off the rails if asked to look up a string ID value
  which is not stored in the local CatCompBlock data lump.


datatypes.library 47.3 (26.03.2021)

- Simplified Text V Binary file identification
  Now supports international texts (as long as all chars in the 64 byte
  header are valid printable chars for AmigaOS)
  Saved some file space and reduced ram usage

  