Skip to content

Version 2.1.0

Choose a tag to compare

@Abduction-Lamp Abduction-Lamp released this 18 Sep 10:13
· 29 commits to master since this release

Changed

  • Both packages now leave their .dcu in .\$(Platform)\$(Config), beside the
    package itself, instead of $(BDSCOMMONDIR)\Dcp. The old directory is on the
    library path by default, which is why installing the packages used to be
    enough on its own; it is also shared by every platform and configuration, so
    Win32 and Win64, Debug and Release wrote .dcu of the same names over each
    other and the last build won. The setting came from the IDE template and was
    never a decision.

    Projects now compile the component from source under their own compiler
    settings, the way the other component libraries for Delphi work, rather than
    linking .dcu built with the package's settings.

  • The leak monitor of the test project follows DUnitX through a rename of its
    own: Florence ships DUnitX.ServiceLocator with TDUnitXServiceLocator,
    Athens ships DUnitX.IoC with TDUnitXIoC. The unit picks one by compiler
    version, so the tests build on both. Nothing outside tests/ is affected.

Upgrading from 2.0.0

Installing the packages no longer makes the unit visible on its own.

  1. Add the source directory of this release to the library path, under
    Tools | Options | Language | Delphi | Library, for every platform you
    build for. Without it projects stop finding Fluent.ToggleSwitch.
  2. Delete what the old layout left behind:
    $(BDSCOMMONDIR)\Dcp\Fluent.ToggleSwitch*.dcu. While those files are
    there the compiler keeps finding them, and the change appears to have done
    nothing.

Nothing in the component itself changed: same unit, same class, same
properties.