The NetBSD Project

CVS log for pkgsrc/devel/hs-primitive/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / hs-primitive

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Mar 5 03:39:24 2025 UTC (12 days, 14 hours ago) by pho
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +2 -2 lines
recursive revbump after patching lang/ghc910

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun Feb 2 13:05:19 2025 UTC (6 weeks, 1 day ago) by pho
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Bump all Haskell packages after switching the default compiler.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Jan 29 17:14:31 2025 UTC (6 weeks, 5 days ago) by pho
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -1 lines
devel/hs-primitive: Fix build with GHC 9.10

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu May 9 01:32:07 2024 UTC (10 months, 1 week ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -2 lines
Recursive revbump after changing the default Haskell compiler

Revision 1.19: download - view: text, markup, annotated - select for diffs
Thu Nov 2 06:36:51 2023 UTC (16 months, 2 weeks ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1 lines
Revbump all Haskell after updating lang/ghc96

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Oct 27 06:58:36 2023 UTC (16 months, 2 weeks ago) by pho
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -3 lines
devel/hs-primitive: Update to 0.9.0.0

Changes in version 0.9.0.0
* Add withByteArrayContents, withMutableByteArrayContents,
  withPrimArrayContents, withMutablePrimArrayContents.
* Fix signature of keepAlive.
* Remove re-export of fromList and fromListN from Data.Primitive.Array.
* Use mutableByteArrayContents# in GHC 9.2+
* Add Prim instance for Complex.
* Add getSizeofSmallMutableArray that wraps getSizeofSmallMutableArray#
  from GHC.Exts.
* Add default definitions for the setByteArray# and setOffAddr# methods, so
  they don't need to be defined explicitly anymore.
* Add standalone sizeOfType/alignmentOfType (recommended over
  sizeOf/alignment) and Prim class methods sizeOfType#/alignmentOfType#
  (recommended over sizeOf#/alignment#)
* Change Show instances of PrimArray, Array, and SmallArray. These
  previously used the fromListN n [...] form, but they now used the more
  terse [...] form.
* Correct the Read instances of Array and SmallArray. These instances are
  supposed to be able to handle all three of these forms: fromList [...],
  fromListN n [...], and [...]. They had been rejected the last form, but
  this mistake was discovered by the test suite when the Show instances
  were changed.

Changes in version 0.8.0.0
* Add resizeSmallMutableArray that wraps resizeSmallMutableArray# from
  GHC.Exts.
* New module Data.Primitive.PrimVar. This is essentially PrimArray with
  element length 1. For types with Prim instances, this is a drop-in
  replacement for MutVar with fewer indirections.
* PrimArray's type argument has been given a nominal role instead of a
  phantom role. This is a breaking change.
* Add readCharArray, writeCharArray, indexCharArray for operating on 8-bit
  characters in a byte array.
* When building with base-4.17 and newer, re-export the ByteArray and
  MutableByteArray types from base instead of defining them in this
  library. This does not change the user-facing interface of
  Data.Primitive.ByteArray.
* Add keepAlive that wraps keepAlive# for GHC 9.2 and newer. It falls back
  to using touch for older GHCs.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Mon Oct 9 04:54:27 2023 UTC (17 months, 1 week ago) by pho
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Bump Haskell packages after updating lang/ghc94

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Feb 7 01:40:46 2023 UTC (2 years, 1 month ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
revbump all the Haskell packages after modifying the runtime system of lang/ghc94

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 18 18:56:35 2022 UTC (2 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -3 lines
hs-primitive: update to 0.7.4.0.

## Changes in version 0.7.4.0

  * Add Lift instances (#332)

  * Expose `copyPtrToMutablePrimArray`

  * Improve definitions for stimes (#326)

  * Support GHC 9.4. Note: GHC 9.4 is not released at the time of
    primitive-0.7.4.0's release, so this support might be reverted by
    a hackage metadata revision if things change.

  * Drop support for GHC 7.10

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Feb 26 03:58:05 2022 UTC (3 years ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Feb 12 08:50:36 2022 UTC (3 years, 1 month ago) by pho
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
revbump after changing the default Haskell compiler

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Feb 11 12:58:29 2022 UTC (3 years, 1 month ago) by pho
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -3 lines
Update to primitive-0.7.3.0

Changes in version 0.7.3.0
* Correct implementations of *> for Array and SmallArray.
* Drop support for GHC < 7.10
* Export runByteArray and runPrimArray.
* Export createArray and createSmallArray.
* Export emptyByteArray, emptyPrimArray, emptyArray and emptySmallArray.

Changes in version 0.7.2.0
* Add thawByteArray and thawPrimArray.
* Changed the Show instance of ByteArray, so that all 8-bit words are
  rendered as two digits. For example, display 0x0D instead of 0xD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Jan 18 02:48:11 2022 UTC (3 years, 1 month ago) by pho
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
Bump packages that depends on GHC

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon May 3 19:01:01 2021 UTC (3 years, 10 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -1 lines
*: Bump PKGREVISION for ghc-9.0.1

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri Apr 23 04:58:10 2021 UTC (3 years, 10 months ago) by pho
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -3 lines
Update to primitive-0.7.1.0

Changes in version 0.7.1.0
* Introduce convenience class MonadPrim and MonadPrimBase.
* Add PrimMonad and PrimBase instances for Lazy.ST (GHC >=
  8.2). thanks to Avi Dessauer (@Avi-D-coder) for this first
  contribution
* Add freezeByteArray and freezePrimArray.
* Add compareByteArrays.
* Add shrinkMutableByteArray.
* Add Eq instances for MutableByteArray and MutablePrimArray. by
  Andrew Martin
* Add functions for manipulating pinned Prim Arrays by Andrew Martin
* Add copyPtrToMutableByteArray.
* Add NFData instances for ByteArray, MutableByteArray, PrimArray and
  MutablePrimArray. by Callan McGill
* Add shrinkSmallMutableArray.
* Add clonePrimArray and cloneMutablePrimArray.
* Add cloneMutableByteArray and cloneByteArray.
* Add Prim instances for WordPtr and IntPtr.
* Add NFData instances for Array and SmallArray. by Callan McGill
* Add copyByteArrayToPtr and copyMutableByteArrayToPtr.
* Export arrayFromList and arrayFromListN.

Changes in version 0.7.0.1
* Allow building with GHC 8.12. Thanks Ryan GL Scott for this and
  every compat patch over time.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Feb 18 15:07:27 2021 UTC (4 years ago) by mef
Branches: MAIN
CVS tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +2 -2 lines
(*/hs-*) BUILDLINK_API_DEPENDS.ghc <8.10, again

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Feb 13 08:00:58 2021 UTC (4 years, 1 month ago) by mef
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -1 lines
(*/hs-*) fix build, not adapted to ghc90 version

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jan 11 08:00:14 2020 UTC (5 years, 2 months ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -3 lines
Remove dependency on devel/hs-mtl

mtl is now a part of GHC.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Dec 31 18:51:27 2019 UTC (5 years, 2 months ago) by pho
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Remove dependency on devel/hs-transformers

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Dec 31 17:25:06 2019 UTC (5 years, 2 months ago) by pho
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Update to primitive-0.6.4.0

Changes in version 0.6.4.0
* Introduce Data.Primitive.PrimArray, which offers types and function
  for dealing with a ByteArray tagged with a phantom type variable for
  tracking the element type.
* Implement isByteArrayPinned and isMutableByteArrayPinned.
* Add Eq1, Ord1, Show1, and Read1 instances for Array and SmallArray.
* Improve the test suite. This includes having property tests for
  typeclasses from base such as Eq, Ord, Functor, Applicative, Monad,
  IsList, Monoid, Foldable, and Traversable.
* Fix the broken IsList instance for ByteArray. The old definition
  would allocate a byte array of the correct size and then leave the
  memory unitialized instead of writing the list elements to it.
* Fix the broken Functor instance for Array. The old definition would
  allocate an array of the correct size with thunks for erroring
  installed at every index. It failed to replace these thunks with the
  result of the function applied to the elements of the argument
  array.
* Fix the broken Applicative instances of Array and SmallArray. The
  old implementation of <*> for Array failed to initialize some
  elements but correctly initialized others in the resulting Array. It
  is unclear what the old behavior of <*> was for SmallArray, but it
  was incorrect.
* Fix the broken Monad instances for Array and SmallArray.
* Fix the implementation of foldl1 in the Foldable instances for Array
  and SmallArray. In both cases, the old implementation simply
  returned the first element of the array and made no use of the other
  elements in the array.
* Fix the implementation of mconcat in the Monoid instance for
  SmallArray.
* Implement Data.Primitive.Ptr, implementations of Ptr functions that
  require a Prim constraint instead of a Storable constraint.
* Add PrimUnlifted instances for TVar and MVar.
* Use compareByteArrays# for the Eq and Ord instances of ByteArray
  when building with GHC 8.4 and newer.
* Add Prim instances for lots of types in Foreign.C.Types and
  System.Posix.Types.
* Reexport Data.Primitive.SmallArray and Data.Primitive.UnliftedArray
  from Data.Primitive.
* Add fold functions and map function to
  Data.Primitive.UnliftedArray. Add typeclass instances for IsList,
  Ord, and Show.
* Add defaultSetByteArray# and defaultSetOffAddr# to
  Data.Primitive.Types.
* Add Data.Primitive.MVar, a replacement for Control.Concurrent.MVar
  that can run in any PrimMonad instead of just IO. It is not a full
  replacement. Notably, it's missing masking functions and support for
  adding finalizers.

Changes in version 0.6.3.0
* Add PrimMonad instances for ContT, AccumT, and SelectT from
  transformers
* Add Eq, Ord, Show, and IsList instances for ByteArray
* Add Semigroup instances for Array and SmallArray. This allows
  primitive to build on GHC 8.4 and later.

Changes in version 0.6.2.0
* Drop support for GHCs before 7.4
* SmallArray support
* ArrayArray# based support for more efficient arrays of unlifted
  pointer types
* Make Array and the like instances of various classes for convenient
  use
* Add Prim instances for Ptr and FunPtr
* Add ioToPrim, stToPrim and unsafe counterparts for situations that
  would otherwise require type ascriptions on primToPrim
* Add evalPrim
* Add PrimBase instance for IdentityT

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sun Dec 13 14:06:53 2015 UTC (9 years, 3 months ago) by szptvlfn
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
Update to 0.6.1.0

changelog.md:
## Changes in version 0.6.1.0

 * Use more appropriate types in internal memset functions, which prevents
   overflows/segfaults on 64-bit systems.

 * Fixed a warning on GHC 7.10

 * Worked around a -dcore-lint bug in GHC 7.6/7.7

## Changes in version 0.6

 * Split PrimMonad into two classes to allow automatic lifting of primitive
   operations into monad transformers. The `internal` operation has moved to the
   `PrimBase` class.

 * Fixed the test suite on older GHCs

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Feb 14 04:10:27 2015 UTC (10 years, 1 month ago) by pho
Branches: MAIN
CVS tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
Update to 0.5.4.0

ChangeLog:

 * Changed primitive_ to work around an oddity with GHC's code
   generation on certain versions that led to side effects not
   happening when used in conjunction with certain very unsafe IO
   performers.

 * Allow primitive to build on GHC 7.9
CVS: ----------------------------------------------------------------------
CVS: CVSROOT  cvs.NetBSD.org:/cvsroot
CVS: please use "PR category/123" to have the commitmsg appended to PR 123

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun May 25 21:53:28 2014 UTC (10 years, 9 months ago) by szptvlfn
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Import primitive-0.5.3.0 as devel/hs-primitive,
packaged for wip by pho.

This package provides various primitive memory-related operations.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>