packages feed

gi-ggit 1.0.14 → 1.0.15

raw patch · 4 files changed

+9/−5 lines, 4 filesdep ~haskell-gisetup-changedPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: haskell-gi

API changes (from Hackage documentation)

+ GI.Ggit.Objects.Repository: repositoryCreateCommitBuffer :: (HasCallStack, MonadIO m, IsRepository a, IsSignature b, IsSignature c, IsTree d) => a -> b -> c -> Maybe Text -> Text -> d -> [Commit] -> m (Maybe Text)
+ GI.Ggit.Objects.Repository: repositoryCreateCommitWithSignature :: (HasCallStack, MonadIO m, IsRepository a) => a -> Text -> Maybe Text -> Maybe Text -> m (Maybe OId)
- GI.Ggit.Callbacks: dynamic_DiffSimilarityMetricBufferSignatureCallback :: (HasCallStack, MonadIO m) => FunPtr C_DiffSimilarityMetricBufferSignatureCallback -> DiffFile -> Text -> Word64 -> Ptr () -> Ptr () -> m Int32
+ GI.Ggit.Callbacks: dynamic_DiffSimilarityMetricBufferSignatureCallback :: (HasCallStack, MonadIO m) => FunPtr C_DiffSimilarityMetricBufferSignatureCallback -> DiffFile -> Text -> CSize -> Ptr () -> Ptr () -> m Int32
- GI.Ggit.Callbacks: dynamic_StashCallback :: (HasCallStack, MonadIO m) => FunPtr C_StashCallback -> Word64 -> Text -> OId -> Ptr () -> m Int32
+ GI.Ggit.Callbacks: dynamic_StashCallback :: (HasCallStack, MonadIO m) => FunPtr C_StashCallback -> CSize -> Text -> OId -> Ptr () -> m Int32
- GI.Ggit.Callbacks: type C_DiffSimilarityMetricBufferSignatureCallback = Ptr DiffFile -> CString -> Word64 -> Ptr () -> Ptr () -> IO Int32
+ GI.Ggit.Callbacks: type C_DiffSimilarityMetricBufferSignatureCallback = Ptr DiffFile -> CString -> CSize -> Ptr () -> Ptr () -> IO Int32
- GI.Ggit.Callbacks: type C_StashCallback = Word64 -> CString -> Ptr OId -> Ptr () -> IO Int32
+ GI.Ggit.Callbacks: type C_StashCallback = CSize -> CString -> Ptr OId -> Ptr () -> IO Int32
- GI.Ggit.Callbacks: type DiffSimilarityMetricBufferSignatureCallback = DiffFile -> Text -> Word64 -> Ptr () -> IO Int32
+ GI.Ggit.Callbacks: type DiffSimilarityMetricBufferSignatureCallback = DiffFile -> Text -> CSize -> Ptr () -> IO Int32
- GI.Ggit.Callbacks: type DiffSimilarityMetricBufferSignatureCallback_WithClosures = DiffFile -> Text -> Word64 -> Ptr () -> Ptr () -> IO Int32
+ GI.Ggit.Callbacks: type DiffSimilarityMetricBufferSignatureCallback_WithClosures = DiffFile -> Text -> CSize -> Ptr () -> Ptr () -> IO Int32
- GI.Ggit.Callbacks: type StashCallback = -- | /@index@/: the position within the stash list. 0 points to the -- most recent stashed state. Word64 -> -- | /@message@/: the stash message. Text -> -- | /@stashOid@/: the commit oid of the stashed state. OId -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
+ GI.Ggit.Callbacks: type StashCallback = -- | /@index@/: the position within the stash list. 0 points to the -- most recent stashed state. CSize -> -- | /@message@/: the stash message. Text -> -- | /@stashOid@/: the commit oid of the stashed state. OId -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Callbacks: type StashCallback_WithClosures = -- | /@index@/: the position within the stash list. 0 points to the -- most recent stashed state. Word64 -> -- | /@message@/: the stash message. Text -> -- | /@stashOid@/: the commit oid of the stashed state. OId -> -- | /@userData@/: user-suplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
+ GI.Ggit.Callbacks: type StashCallback_WithClosures = -- | /@index@/: the position within the stash list. 0 points to the -- most recent stashed state. CSize -> -- | /@message@/: the stash message. Text -> -- | /@stashOid@/: the commit oid of the stashed state. OId -> -- | /@userData@/: user-suplied data. Ptr () -> -- | __Returns:__ 0 to go continue or a t'GI.Ggit.Enums.Error' in case there was an error. IO Int32
- GI.Ggit.Objects.Diff: diffGetDelta :: (HasCallStack, MonadIO m, IsDiff a) => a -> Word64 -> m (Maybe DiffDelta)
+ GI.Ggit.Objects.Diff: diffGetDelta :: (HasCallStack, MonadIO m, IsDiff a) => a -> CSize -> m (Maybe DiffDelta)
- GI.Ggit.Objects.Diff: diffGetNumDeltas :: (HasCallStack, MonadIO m, IsDiff a) => a -> m Word64
+ GI.Ggit.Objects.Diff: diffGetNumDeltas :: (HasCallStack, MonadIO m, IsDiff a) => a -> m CSize
- GI.Ggit.Objects.DiffFindOptions: diffFindOptionsGetRenameLimit :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m Word64
+ GI.Ggit.Objects.DiffFindOptions: diffFindOptionsGetRenameLimit :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> m CSize
- GI.Ggit.Objects.DiffFindOptions: diffFindOptionsSetRenameLimit :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> Word64 -> m ()
+ GI.Ggit.Objects.DiffFindOptions: diffFindOptionsSetRenameLimit :: (HasCallStack, MonadIO m, IsDiffFindOptions a) => a -> CSize -> m ()
- GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsGetPatchNumber :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> m Word64
+ GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsGetPatchNumber :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> m CSize
- GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsGetTotalPatches :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> m Word64
+ GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsGetTotalPatches :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> m CSize
- GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsSetPatchNumber :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> Word64 -> m ()
+ GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsSetPatchNumber :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> CSize -> m ()
- GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsSetTotalPatches :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> Word64 -> m ()
+ GI.Ggit.Objects.DiffFormatEmailOptions: diffFormatEmailOptionsSetTotalPatches :: (HasCallStack, MonadIO m, IsDiffFormatEmailOptions a) => a -> CSize -> m ()
- GI.Ggit.Objects.Mailmap: mailmapResolve :: (HasCallStack, MonadIO m, IsMailmap a) => a -> Text -> Text -> m (Text, Text)
+ GI.Ggit.Objects.Mailmap: mailmapResolve :: (HasCallStack, MonadIO m, IsMailmap a) => Maybe a -> Text -> Text -> m (Text, Text)
- GI.Ggit.Objects.Mailmap: mailmapResolveSignature :: (HasCallStack, MonadIO m, IsMailmap a, IsSignature b) => a -> b -> m (Maybe Signature)
+ GI.Ggit.Objects.Mailmap: mailmapResolveSignature :: (HasCallStack, MonadIO m, IsMailmap a, IsSignature b) => Maybe a -> b -> m (Maybe Signature)
- GI.Ggit.Objects.Rebase: rebaseGetOperationByIndex :: (HasCallStack, MonadIO m, IsRebase a) => a -> Word64 -> m (Maybe RebaseOperation)
+ GI.Ggit.Objects.Rebase: rebaseGetOperationByIndex :: (HasCallStack, MonadIO m, IsRebase a) => a -> CSize -> m (Maybe RebaseOperation)
- GI.Ggit.Objects.Rebase: rebaseGetOperationEntryCount :: (HasCallStack, MonadIO m, IsRebase a) => a -> m Word64
+ GI.Ggit.Objects.Rebase: rebaseGetOperationEntryCount :: (HasCallStack, MonadIO m, IsRebase a) => a -> m CSize
- GI.Ggit.Objects.Rebase: rebaseGetOperationIndex :: (HasCallStack, MonadIO m, IsRebase a) => a -> m Word64
+ GI.Ggit.Objects.Rebase: rebaseGetOperationIndex :: (HasCallStack, MonadIO m, IsRebase a) => a -> m CSize
- GI.Ggit.Objects.Ref: refSetSymbolicTarget :: (HasCallStack, MonadIO m, IsRef a) => a -> Text -> Text -> m (Maybe Ref)
+ GI.Ggit.Objects.Ref: refSetSymbolicTarget :: (HasCallStack, MonadIO m, IsRef a) => a -> Text -> Maybe Text -> m (Maybe Ref)
- GI.Ggit.Objects.Ref: refSetTarget :: (HasCallStack, MonadIO m, IsRef a) => a -> OId -> Text -> m (Maybe Ref)
+ GI.Ggit.Objects.Ref: refSetTarget :: (HasCallStack, MonadIO m, IsRef a) => a -> OId -> Maybe Text -> m (Maybe Ref)
- GI.Ggit.Objects.Repository: repositoryDropStash :: (HasCallStack, MonadIO m, IsRepository a) => a -> Word64 -> m ()
+ GI.Ggit.Objects.Repository: repositoryDropStash :: (HasCallStack, MonadIO m, IsRepository a) => a -> CSize -> m ()
- GI.Ggit.Objects.Repository: repositoryGetAheadBehind :: (HasCallStack, MonadIO m, IsRepository a) => a -> OId -> OId -> m (Word64, Word64)
+ GI.Ggit.Objects.Repository: repositoryGetAheadBehind :: (HasCallStack, MonadIO m, IsRepository a) => a -> OId -> OId -> m (CSize, CSize)
- GI.Ggit.Structs.DiffBinaryFile: diffBinaryFileGetData :: (HasCallStack, MonadIO m) => DiffBinaryFile -> Word64 -> m Word8
+ GI.Ggit.Structs.DiffBinaryFile: diffBinaryFileGetData :: (HasCallStack, MonadIO m) => DiffBinaryFile -> CSize -> m Word8
- GI.Ggit.Structs.DiffBinaryFile: diffBinaryFileGetInflatedSize :: (HasCallStack, MonadIO m) => DiffBinaryFile -> m Word64
+ GI.Ggit.Structs.DiffBinaryFile: diffBinaryFileGetInflatedSize :: (HasCallStack, MonadIO m) => DiffBinaryFile -> m CSize
- GI.Ggit.Structs.IndexEntries: indexEntriesGetByIndex :: (HasCallStack, MonadIO m) => IndexEntries -> Word64 -> m (Maybe IndexEntry)
+ GI.Ggit.Structs.IndexEntries: indexEntriesGetByIndex :: (HasCallStack, MonadIO m) => IndexEntries -> CSize -> m (Maybe IndexEntry)
- GI.Ggit.Structs.Patch: patchGetHunk :: (HasCallStack, MonadIO m) => Patch -> Word64 -> m (Maybe DiffHunk)
+ GI.Ggit.Structs.Patch: patchGetHunk :: (HasCallStack, MonadIO m) => Patch -> CSize -> m (Maybe DiffHunk)
- GI.Ggit.Structs.Patch: patchGetLineStats :: (HasCallStack, MonadIO m) => Patch -> m (Word64, Word64, Word64)
+ GI.Ggit.Structs.Patch: patchGetLineStats :: (HasCallStack, MonadIO m) => Patch -> m (CSize, CSize, CSize)
- GI.Ggit.Structs.Patch: patchGetNumHunks :: (HasCallStack, MonadIO m) => Patch -> m Word64
+ GI.Ggit.Structs.Patch: patchGetNumHunks :: (HasCallStack, MonadIO m) => Patch -> m CSize
- GI.Ggit.Structs.Patch: patchGetNumLinesInHunk :: (HasCallStack, MonadIO m) => Patch -> Word64 -> m Int32
+ GI.Ggit.Structs.Patch: patchGetNumLinesInHunk :: (HasCallStack, MonadIO m) => Patch -> CSize -> m Int32
- GI.Ggit.Structs.Patch: patchNewFromDiff :: (HasCallStack, MonadIO m, IsDiff a) => a -> Word64 -> m (Maybe Patch)
+ GI.Ggit.Structs.Patch: patchNewFromDiff :: (HasCallStack, MonadIO m, IsDiff a) => a -> CSize -> m (Maybe Patch)
- GI.Ggit.Structs.TransferProgress: transferProgressGetReceivedBytes :: (HasCallStack, MonadIO m) => TransferProgress -> m Word64
+ GI.Ggit.Structs.TransferProgress: transferProgressGetReceivedBytes :: (HasCallStack, MonadIO m) => TransferProgress -> m CSize

Files

ChangeLog.md view
@@ -1,3 +1,7 @@+### 1.0.15+++ Depend on haskell-gi >= 0.26.9 (see [issue 439](https://github.com/haskell-gi/haskell-gi/issues/439))+ ### 1.0.14  + Bump base lower bound
README.md view
@@ -1,6 +1,6 @@ # Documentation Autogenerated documentation for this package can be found at -[https://hackage.haskell.org/package/gi-ggit-1.0.14/docs/GI-Ggit.html](https://hackage.haskell.org/package/gi-ggit-1.0.14/docs/GI-Ggit.html)+[https://hackage.haskell.org/package/gi-ggit-1.0.15/docs/GI-Ggit.html](https://hackage.haskell.org/package/gi-ggit-1.0.15/docs/GI-Ggit.html)  For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
Setup.hs view
@@ -12,7 +12,7 @@   where name = "Ggit"         version = "1.0"         pkgName = "gi-ggit"-        pkgVersion = "1.0.14"+        pkgVersion = "1.0.15"         overridesFile = Just "Ggit.overrides"         verbose = False         outputDir = Nothing
gi-ggit.cabal view
@@ -1,5 +1,5 @@ name:                 gi-ggit-version:              1.0.14+version:              1.0.15 synopsis:             libgit2-glib bindings description:          Bindings for libgit2-glib, autogenerated by haskell-gi. homepage:             https://github.com/haskell-gi/haskell-gi@@ -16,7 +16,7 @@ custom-setup       setup-depends: base >= 4.11 && < 5,                      Cabal >= 1.24 && < 4,-                     haskell-gi >= 0.26 && < 0.27,+                     haskell-gi >= 0.26.9 && < 0.27,                      gi-gio == 2.0.*,                      gi-gobject == 2.0.*,                      gi-glib == 2.0.*@@ -30,7 +30,7 @@       pkgconfig-depends: libgit2-glib-1.0       build-depends: base >= 4.7 && <5,                      haskell-gi-base >= 0.26 && < 0.27,-                     haskell-gi >= 0.26 && < 0.27,+                     haskell-gi >= 0.26.9 && < 0.27,                      haskell-gi-overloading < 1.1,                      gi-gio == 2.0.*,                      gi-gobject == 2.0.*,