CHANGELOG.md 4.31 KB
Newer Older
1 2
# Qtah Changelog

3 4
## Unreleased

5 6 7 8
- Removed uses of CPP from qtah-generator, except for Setup.hs.  This bumps
  minimum version requirements to base >= 4.8.0 (GHC 8.0) and mtl >= 2.2.1, both
  of which have been available for over two years.

9 10 11 12
## (2018-09-07) qtah-0.5.1

- Fixed the build under Cabal 2.2.

13 14 15 16
## (2018-09-06) qtah-cpp-0.5.1

- Fixed the build under Cabal 2.2.

17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
## (2018-06-05) *-0.5.0

Thanks to Yuriy Syrovetskiy, Maxim Koltsov, and Paul Tsupikoff for contributions
to this release.

- New coverage of the Qt API, plus some version range fixes, totalling 10 new
  classes, 8 new enums, and 12 other classes expanded upon.

- Fixed the invocation of qtah-listener-gen under Windows/MSYS (issue #25).

- Fixed a linking issue with the use of Qtah data types via Template Haskell,
  such as in lenses (MR !13).

- Changed qtah.cabal's "extra-libaries: qtah" to be specified dynamically by
  Setup.hs, since Setup.hs is needed to be able to find this library.  This
  fixes an issue for cabal2nix (part of issue #27, MR !13).

34 35
## (2018-01-27) *-0.4.0

36 37 38 39
- [API change] Changed QAction's constructors so that "new" and "newWithText"
  don't require parent parameters, and have "WithParent" forms instead, like
  normal.

40 41 42 43 44 45 46 47 48 49 50
- [API change] `QImage::fromData*()` and `::loadFromData*()` were renamed to
  `...DataRaw*()`, because there are QByteString versions of these functions
  now.

- New classes, many of these thanks to Yuriy Syrovetskiy:
  - Core: QByteArray, QTextCodec
  - Gui: QIcon, QPixmap, QStandardItem{,Model}
  - Widgets: QSystemTrayIcon, QToolBar, QTreeView, QTreeWidget{,Item}

- Added support for Cabal 2.0 and fixed building under macOS (thanks Yuriy).

51 52 53 54
- qtah-listener-gen now checks that bash 4.1 or newer is available, as it
  requires features introduced in that version, and OS X doesn't ship a bash
  anywhere near that new (issue #19).

55 56 57 58 59
- install.sh now defaults to Qt 5 when no `QTAH_QT_FLAGS` environment variable
  is set, instead of selecting the system default (which is still Qt 4 on some
  Linux distros).  To get the old behaviour, set `QTAH_QT_FLAGS` to an empty
  value.

60
## (2017-06-10) *-0.3.0, qtah-cpp-0.3.1
61 62 63

37 new classes and 10 new enums in this release!

64 65
- Added support for the Qt graphics view framework thanks to @effectfully.

66 67 68 69
- Began adding model-view classes.

- Qtah now builds on OS X, with help from @biglambda.

70 71 72
- qtah-examples now presents a launcher, so that we can have more than one
  example program.

73 74 75 76 77 78 79
- Discovered that "ghc-options: -dynamic" can be used for executables and tests
  linking to Qtah in lieu of having to pass Cabal "--enable-executable-dynamic"
  on the command line (thanks again @effectfully).

- qtah-cpp now uses all available CPUs to build by default, as "cabal build"
  does (this requires Cabal >=1.20).

80
- Dependency bump to support directory-1.3 in GHC 8.0.2, and HUnit-1.6.
Bryan Gardiner's avatar
Bryan Gardiner committed
81

82 83
- Support for Qt <4.8 has been dropped, since even Qt 4.8 is quite old now.

84 85 86 87 88 89
## (2017-01-14) qtah-examples-0.2.1

- Add a configure warning when qtah-examples is being built without dynamic
  executable linking, since without this hint, it's not obvious at all why a
  simple "cabal install qtah-examples" fails.

90
## (2016-12-16) *-0.2.0, qtah-generator-0.2.1
91 92

- Makes use of the new class/enum/bitspace prefix customization feature in Hoppy
93
  0.3.0 to strip the repetitive class name off of enum value names, for enums
94 95 96
  contained within classes (issue #10).  This is an API change from 0.1.*.  (We
  also do this internally for class entities to simplify Qtah's generator.)

97 98 99
- Fixed the conversion from QPoint and QPointF to their H* components mistakenly
  swapping the components.

100
- Fixed build issue with Cabal 1.24 / GHC 8 (issue #14).
101

102 103 104 105
## (2016-10-01) qtah-0.1.2, qtah-examples-0.1.2

- Version bump to support binary-0.8.*.

106 107 108 109 110
## (2016-08-04) qtah-generator-0.1.2, qtah-cpp-0.1.2, qtah-0.1.1

- Fixes the custom install logic to install additional files into requested
  locations instead of the default system ones.

111
## (2016-07-30) qtah-cpp-0.1.1, qtah-examples-0.1.1
112

113 114
- Another fix for NixOS, qtah-cpp expected qtchooser to be available when a
  version preference was specified (issue #8).
115 116 117 118 119 120 121 122 123

- The notepad example is a much more usable program now.

## (2016-07-15) qtah-generator-0.1.1

- Allow `QTAH_QT=x` to work when qtchooser is not available, to fix building
  with Nixpkgs (issue #8).

## (2016-07-10) *-0.1.0
124 125

- Initial release.