forked from pool/happy
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/happy?expand=0&rev=116
412 lines
14 KiB
Plaintext
412 lines
14 KiB
Plaintext
-------------------------------------------------------------------
|
|
Thu Jul 17 09:15:57 UTC 2025 - Peter Simons <psimons@suse.com>
|
|
|
|
- Update happy to version 2.1.6.
|
|
## 2.1.6
|
|
|
|
* No longer emit `{-# LANGUAGE PartialTypeSignatures #-}` twice
|
|
([#339](https://github.com/haskell/happy/issues/339)).
|
|
|
|
* No longer emit `import Data.Function` twice
|
|
([#341](https://github.com/haskell/happy/issues/341)).
|
|
|
|
* Tested with GHC 8.0 - 9.12.2.
|
|
The Haskell code generated by Happy is for GHC 8.0 and up.
|
|
|
|
## 2.1.5
|
|
|
|
Add `Data.Tuple` to `Happy_Prelude` in order to fix the `--debug` build (#330).
|
|
|
|
## 2.1.4
|
|
|
|
Move `Paths_happy_lib` into `tabular` to prevent a Cabal bug concerning
|
|
--libsubdir (#328). It is likely that this release fixes
|
|
`cabal v1-install happy` as well, which was broken since happy-2.0 (#315).
|
|
|
|
## 2.1.3
|
|
|
|
Auto-resolve shift/reduce conflicts involving the catch token.
|
|
This was to support on going work in GHC to utilise the catch token.
|
|
|
|
## 2.1.2
|
|
|
|
Fix a breaking change (#325) introduced by the previous fix for #131.
|
|
Prelude is no longer used by Happy.
|
|
|
|
## 2.1.1
|
|
|
|
This release fixes two breaking changes:
|
|
|
|
* Properly qualify all uses of Prelude functions, fixing #131
|
|
* Bring back the old `%errorhandlertype` directive, the use of which is
|
|
discouraged in favour of the "Reporting expected tokens" mechanism
|
|
in Happy 2.1, accesible via `%error.expected`.
|
|
|
|
## 2.1
|
|
|
|
* Added `--numeric-version` CLI flag.
|
|
* Documented and implemented the new feature "Resumptive parsing with ``catch``"
|
|
* Documented (and reimplemented) the "Reporting expected tokens" feature
|
|
(which turned to cause a breaking change in this release: #320)
|
|
|
|
## 2.0.2
|
|
|
|
The 2.0.1 release in turn exposed two more regressions:
|
|
|
|
* Generated code uses PatternGuards without declaring it (#309)
|
|
* Use of `happy-lib:*` syntax to depend on private library components triggered
|
|
a bug in Cabal versions 3.0 and 3.2 (#311)
|
|
|
|
This release fixes both.
|
|
|
|
## 2.0.1
|
|
|
|
The 2.0 release changed the indentation character from tabs to two spaces, triggering an
|
|
unforced breaking change in GHC (#303).
|
|
This release provides the fix by using eight spaces for indentation.
|
|
|
|
## 2.0
|
|
|
|
There are two main breaking changes in this release:
|
|
|
|
1. Removed non-array, non-GHC modes, so flags `-ag` are the default now and
|
|
become no-ops.
|
|
2. Generated parsers now activate the language extension `-XNoStrictData` without
|
|
which every use of a happy parser would lead to an immediate crash (#273).
|
|
This causes us to drop support for GHC < 8.0.
|
|
|
|
Furthermore, the project structure was modularized and a library `happy-lib`
|
|
containing the implmentation of the `happy` executable was extracted.
|
|
|
|
Quite similar to the situation with GHC vs. the GHC API, we expect that `happy`
|
|
will continue to be a stable CLI tool with solid (if occasionally out of date)
|
|
documentation, while the design, documentation and implementation of `happy-lib`
|
|
is still in flux and use is only recommended to expert users.
|
|
|
|
Other, more minor changes:
|
|
|
|
* Revert the new bootstrapping system of 1.21.0 to mitigate build issues (#255, #274).
|
|
|
|
* Encode action table offsets in 32 bit instead of 16 bit (#93, #199, #266).
|
|
This increases the size of generated parsers a bit (about 250KB for GHC's
|
|
parser), but also manages to generate parsers for grammars that were
|
|
previously running into the size limit (#199).
|
|
|
|
* The documentation has been converted to ReStructuredText,
|
|
hosted at https://haskell-happy.readthedocs.io/en/latest/ (#226)
|
|
|
|
* A few internal refactorings to the structure of generated code.
|
|
|
|
## 1.21.0
|
|
|
|
The main focus of this release was revamping the build system and bootstrapping.
|
|
|
|
* The release no longer contains generated source code. Instead of simply
|
|
requiring a pre-built bootstrap version of Happy in that event, we have a
|
|
parser-combination-based implementation of enough of Happy to bootstrap the
|
|
rest. (Currently, the bootstrap version is everything but attribute grammars,
|
|
and thus sufficient for e.g. GHC, but this is subject to change.) The
|
|
bootstrap version of Happy is then sufficient to build Happy once again with
|
|
all features enabled.
|
|
|
|
Note, this means users of attribute grammars will have to modify the way
|
|
they build happy if they were previously building from Hackage relying on the
|
|
pre-generated sources.
|
|
|
|
* Rather than creating many "templates" at build time, there is a single
|
|
combined template. Different implementations are chosen using CPP, as was
|
|
already done within the templates before.
|
|
|
|
* Some imports were tightened down, which may help building with newer versions
|
|
of `base`.
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Oct 4 08:34:54 UTC 2023 - Peter Simons <psimons@suse.com>
|
|
|
|
- Drop obsolete code to remove +x permission from data files.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Mar 30 17:09:16 UTC 2023 - Peter Simons <psimons@suse.com>
|
|
|
|
- Updated spec file to conform with ghc-rpm-macros-2.5.2.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Feb 7 23:08:04 UTC 2023 - Peter Simons <psimons@suse.com>
|
|
|
|
- Update happy to version 1.20.1.1.
|
|
Upstream has not updated the file "ChangeLog.md" since the last
|
|
release.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Feb 6 22:21:29 UTC 2023 - Peter Simons <psimons@suse.com>
|
|
|
|
- Update happy to version 1.20.1 revision 1.
|
|
Upstream has renamed and modified the change log file(s) in this
|
|
release. Unfortunately, the automatic updater cannot reliable
|
|
determine relevant entries for this release.
|
|
|
|
-------------------------------------------------------------------
|
|
Sun May 8 00:28:51 UTC 2022 - Peter Simons <psimons@suse.com>
|
|
|
|
- Update happy to version 1.20.0 revision 1.
|
|
Upstream has revised the Cabal build instructions on Hackage.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Feb 10 10:24:16 PM UTC 2022 - psimons@suse.com
|
|
|
|
- Downgrade to version 1.20.0.
|
|
Upstream has retracted release 1.21.0 on Hackage.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Nov 1 08:37:25 UTC 2021 - psimons@suse.com
|
|
|
|
- Update happy to version 1.21.0.
|
|
Upstream has renamed and modified the change log file(s) in this
|
|
release. Unfortunately, the automatic updater cannot reliable
|
|
determine relevant entries for this release.
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
|
|
|
- disable %{ix86} build
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Aug 26 02:02:05 UTC 2020 - psimons@suse.com
|
|
|
|
- Update happy to version 1.20.0.
|
|
Upstream has edited the change log file since the last release in
|
|
a non-trivial way, i.e. they did more than just add a new entry
|
|
at the top. You can review the file at:
|
|
http://hackage.haskell.org/package/happy-1.20.0/src/CHANGES
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Aug 18 10:46:50 UTC 2020 - Peter Simons <psimons@suse.com>
|
|
|
|
- Replace %setup -q with the more modern %autosetup macro.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jun 16 11:14:55 UTC 2020 - Peter Simons <psimons@suse.com>
|
|
|
|
- Re-generate file with latest version of spec-cleaner.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Nov 8 16:15:19 UTC 2019 - Peter Simons <psimons@suse.com>
|
|
|
|
- Drop obsolete group attributes.
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Sep 4 02:03:27 UTC 2019 - psimons@suse.com
|
|
|
|
- Update happy to version 1.19.12.
|
|
1.19.12
|
|
|
|
* Fix for building with GHC 8.8.x
|
|
* Move custom Setup preprocessing steps into a separate
|
|
executable, like Alex
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jun 7 02:01:39 UTC 2019 - psimons@suse.com
|
|
|
|
- Update happy to version 1.19.11.
|
|
1.19.11
|
|
|
|
* Fix for building with GHC 8.6.x
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
-------------------------------------------------------------------
|
|
Fri May 10 13:28:46 UTC 2019 - psimons@suse.com
|
|
|
|
- Update happy to version 1.19.10.
|
|
1.19.10
|
|
|
|
* Fix polymorphic (rank-n) non-terminals
|
|
* Fix for GHC 8.8.1
|
|
|
|
-----------------------------------------------------------------------------
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Oct 20 11:26:41 UTC 2018 - Peter Simons <psimons@suse.com>
|
|
|
|
- Update Cabal build instructions to support ghc-8.6.1.
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jul 18 14:26:49 UTC 2018 - psimons@suse.com
|
|
|
|
- Cosmetic: replace tabs with blanks, strip trailing white space,
|
|
and update copyright headers with spec-cleaner.
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jun 13 18:35:28 UTC 2018 - ptrommler@icloud.com
|
|
|
|
- Another tweak for SLE 12
|
|
* use plain make to build documentation
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jun 12 18:09:12 UTC 2018 - ptrommler@icloud.com
|
|
|
|
- Fix build on SLE 12 SP 3
|
|
* configure in doc directory chokes on
|
|
--disable-dependency-tracking
|
|
|
|
-------------------------------------------------------------------
|
|
Wed May 16 14:19:58 UTC 2018 - psimons@suse.com
|
|
|
|
- Update to version 1.19.9.
|
|
* Fix build with GHC 8.4.1-alpha
|
|
* Fix issue #94 (some grammars don't compile due to new type
|
|
signatures introduced to allow overloading to be used)
|
|
* Fix misisng test suite files in the sdist
|
|
* Manually generate Parser.hs using Makefile before sdist,
|
|
to fix bootstrapping problems with cabal sandboxes & new-build
|
|
* Documentation fixes
|
|
* Fixed GLR support
|
|
* new option -p/--pretty prints the grammar rules (only) to a file
|
|
* Added generation of additional type signatures to enable use
|
|
of typeclasses in monadic parsers.
|
|
* Code cleanups (thanks Index Int <vlad.z.4096@gmail.com>)
|
|
* fix for GHC 7.10 (Applicative/Monad, #19, #21)
|
|
* fix for GHC 7.2 (#16)
|
|
* fixes for clang (XCode 5)
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
|
|
|
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jul 11 04:02:43 UTC 2017 - bwiedemann@suse.com
|
|
|
|
- Drop build logs from rpm to fix build-compare
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Apr 29 18:32:34 UTC 2017 - psimons@suse.com
|
|
|
|
- Update to version 1.19.5 revision 2 with cabal2obs.
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jul 10 17:23:32 UTC 2016 - psimons@suse.com
|
|
|
|
- Update to version 1.19.5 revision 1 with cabal2obs.
|
|
|
|
-------------------------------------------------------------------
|
|
Wed May 13 09:06:25 UTC 2015 - mimi.vx@gmail.com
|
|
|
|
- temporary disable tests
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Apr 9 16:46:01 UTC 2015 - mimi.vx@gmail.com
|
|
|
|
- update to 1.19.5
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Feb 2 19:11:21 UTC 2015 - peter.trommler@ohm-hochschule.de
|
|
|
|
- downgrade to 1.19.4
|
|
* strict version requirement by Haskell Platform
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Feb 2 12:02:42 UTC 2015 - mimi.vx@gmail.com
|
|
|
|
- change line endings from dos to unix in examples
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jan 18 20:18:58 UTC 2015 - mimi.vx@gmail.com
|
|
|
|
- update to 1.19.5
|
|
- remove rpmlintrc
|
|
* fixes for GHC 7.10
|
|
* Code cleanups (thanks Index Int <vlad.z.4096@gmail.com>)
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Nov 24 08:29:34 UTC 2014 - mimi.vx@gmail.com
|
|
|
|
- change licence to BSD-2-Clause
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Nov 23 19:02:58 UTC 2014 - mimi.vx@gmail.com
|
|
|
|
- typo in Summary
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Nov 23 18:20:06 UTC 2014 - mimi.vx@gmail.com
|
|
|
|
- add tests
|
|
- suppres warnings with rpmlintrc
|
|
- spec file cleanup with cabal-rpm and spec-cleaner
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Sep 12 06:55:24 UTC 2014 - peter.trommler@ohm-hochschule.de
|
|
|
|
- update to 1.19.4
|
|
* fix manual page
|
|
* fix build with ghc 7.8 and (future) 7.10
|
|
* Haskell Platform 2014.2.0.0
|
|
- drop happy-1.18.6-generate-man-page.patch
|
|
* fixed upstream
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Aug 23 00:32:47 UTC 2014 - peter.trommler@ohm-hochschule.de
|
|
|
|
- enable PowerPC builds
|
|
|
|
-------------------------------------------------------------------
|
|
Mon May 6 13:24:22 UTC 2013 - peter.trommler@ohm-hochschule.de
|
|
|
|
- spec file cleanup and reformatting by OBS service
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Dec 27 13:51:50 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- fixed license tag
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Nov 17 14:59:53 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- make service localonly for Factory submission
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Oct 1 19:14:05 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- update to 1.18.10 from upstream for Haskell Platform 2012.4.0.0
|
|
|
|
-------------------------------------------------------------------
|
|
Sun Jun 10 06:50:15 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- dropped BuildRequires xmltex (not needed)
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jun 5 13:26:11 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- update to 1.18.9 from upstream for Haskell Platform 2012.2.0.0
|
|
|
|
-------------------------------------------------------------------
|
|
Mon May 7 19:23:10 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- patch file added
|
|
|
|
-------------------------------------------------------------------
|
|
Mon May 7 19:22:17 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- added patch to enable man page generation
|
|
- build, install and package man page
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jan 23 08:03:09 UTC 2012 - peter.trommler@ohm-hochschule.de
|
|
|
|
- SPDX compliant version tag
|
|
- BR autoconf explicitly
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Dec 5 09:00:46 UTC 2011 - peter.trommler@ohm-hochschule.de
|
|
|
|
- Fixed ExclusiveArch for OBS
|
|
- Added ghc-mtl-devel BR
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Nov 24 21:30:04 UTC 2011 - peter.trommler@ohm-hochschule.de
|
|
|
|
- Initial packaging.
|