commit ghc-octane for openSUSE:Factory
Hello community, here is the log from the commit of package ghc-octane for openSUSE:Factory checked in at 2017-08-31 20:57:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ghc-octane (Old) and /work/SRC/openSUSE:Factory/.ghc-octane.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ghc-octane" Thu Aug 31 20:57:35 2017 rev:2 rq:513442 version:0.20.0 Changes: -------- --- /work/SRC/openSUSE:Factory/ghc-octane/ghc-octane.changes 2017-05-09 18:15:20.853472721 +0200 +++ /work/SRC/openSUSE:Factory/.ghc-octane.new/ghc-octane.changes 2017-08-31 20:57:40.085261591 +0200 @@ -1,0 +2,5 @@ +Thu Jul 27 14:08:14 UTC 2017 - psimons@suse.com + +- Update to version 0.20.0. + +------------------------------------------------------------------- Old: ---- octane-0.18.3.tar.gz New: ---- octane-0.20.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ghc-octane.spec ++++++ --- /var/tmp/diff_new_pack.BgUsQ5/_old 2017-08-31 20:57:41.121116049 +0200 +++ /var/tmp/diff_new_pack.BgUsQ5/_new 2017-08-31 20:57:41.125115488 +0200 @@ -18,7 +18,7 @@ %global pkg_name octane Name: ghc-%{pkg_name} -Version: 0.18.3 +Version: 0.20.0 Release: 0 Summary: Parse Rocket League replays License: MIT ++++++ octane-0.18.3.tar.gz -> octane-0.20.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/README.markdown new/octane-0.20.0/README.markdown --- old/octane-0.18.3/README.markdown 2017-04-17 15:39:47.000000000 +0200 +++ new/octane-0.20.0/README.markdown 2017-07-11 16:49:36.000000000 +0200 @@ -8,7 +8,9 @@ Replays][] parses tens of thousands of replays with it. Octane parses most replays in less than 5 seconds. It outputs easy-to-read JSON. -If you also want to generate replays, consider using [Rattletrap][] instead. +That being said, Octane is not actively developed anymore. Consider using +[Rattletrap][] (which is actively developed) instead. Rattletrap can also +generate replay files from JSON, which Octane cannot do. Octane has a command-line interface. To get it, download and unpack [the latest release][] for your platform. You can run the executable one of three ways: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/library/Octane/Type/Replay.hs new/octane-0.20.0/library/Octane/Type/Replay.hs --- old/octane-0.18.3/library/Octane/Type/Replay.hs 2017-04-17 15:39:47.000000000 +0200 +++ new/octane-0.20.0/library/Octane/Type/Replay.hs 2017-07-11 16:49:36.000000000 +0200 @@ -309,6 +309,13 @@ StrictText.pack value = case Rattletrap.attributeValue attribute of + Rattletrap.AppliedDamageAttributeValue x -> + Value.ValueAppliedDamage + (Value.AppliedDamageValue + (toWord8 (Rattletrap.appliedDamageAttributeUnknown1 x)) + (toIntVector (Rattletrap.appliedDamageAttributeLocation x)) + (toInt32 (Rattletrap.appliedDamageAttributeUnknown3 x)) + (toInt32 (Rattletrap.appliedDamageAttributeUnknown4 x))) Rattletrap.BooleanAttributeValue x -> Value.ValueBoolean (Value.BooleanValue @@ -334,6 +341,15 @@ (toWord8 (Rattletrap.clubColorsAttributeBlueColor x)) (Boolean.Boolean (Rattletrap.clubColorsAttributeOrangeFlag x)) (toWord8 (Rattletrap.clubColorsAttributeOrangeColor x))) + Rattletrap.DamageStateAttributeValue x -> + Value.ValueDamageState + (Value.DamageStateValue + (toWord8 (Rattletrap.damageStateAttributeUnknown1 x)) + (Boolean.Boolean (Rattletrap.damageStateAttributeUnknown2 x)) + (toInt32 (Rattletrap.damageStateAttributeUnknown3 x)) + (toIntVector (Rattletrap.damageStateAttributeUnknown4 x)) + (Boolean.Boolean (Rattletrap.damageStateAttributeUnknown5 x)) + (Boolean.Boolean (Rattletrap.damageStateAttributeUnknown6 x))) Rattletrap.DemolishAttributeValue x -> Value.ValueDemolish (Value.DemolishValue @@ -354,6 +370,14 @@ (Boolean.Boolean False) (Just (toInt32 (Rattletrap.explosionAttributeActorId x))) (toIntVector (Rattletrap.explosionAttributeLocation x))) + Rattletrap.ExtendedExplosionAttributeValue x -> + Value.ValueExtendedExplosion + (Value.ExtendedExplosionValue + (Boolean.Boolean False) + (Just (toInt32 (Rattletrap.extendedExplosionAttributeActorId x))) + (toIntVector (Rattletrap.extendedExplosionAttributeLocation x)) + (Boolean.Boolean (Rattletrap.extendedExplosionAttributeUnknown1 x)) + (toInt32 (Rattletrap.extendedExplosionAttributeUnknown2 x))) Rattletrap.FlaggedIntAttributeValue x -> Value.ValueFlaggedInt (Value.FlaggedIntValue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/library/Octane/Type/Value/AppliedDamageValue.hs new/octane-0.20.0/library/Octane/Type/Value/AppliedDamageValue.hs --- old/octane-0.18.3/library/Octane/Type/Value/AppliedDamageValue.hs 1970-01-01 01:00:00.000000000 +0100 +++ new/octane-0.20.0/library/Octane/Type/Value/AppliedDamageValue.hs 2017-07-11 16:49:36.000000000 +0200 @@ -0,0 +1,44 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE OverloadedLabels #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeFamilies #-} + +module Octane.Type.Value.AppliedDamageValue + ( AppliedDamageValue(..) + ) where + +import Data.Aeson ((.=)) + +import qualified Data.Aeson as Aeson +import qualified Data.Default.Class as Default +import qualified Data.OverloadedRecords.TH as OverloadedRecords +import qualified Data.Text as StrictText +import qualified Octane.Type.Int32 as Int32 +import qualified Octane.Type.Vector as Vector +import qualified Octane.Type.Word8 as Word8 + +data AppliedDamageValue = AppliedDamageValue + { appliedDamageValueUnknown1 :: Word8.Word8 + , appliedDamageValueLocation :: Vector.Vector Int + , appliedDamageValueUnknown3 :: Int32.Int32 + , appliedDamageValueUnknown4 :: Int32.Int32 + } deriving (Eq, Show) + +$(OverloadedRecords.overloadedRecord Default.def ''AppliedDamageValue) + +instance Aeson.ToJSON AppliedDamageValue where + toJSON x = + Aeson.object + [ "Type" .= ("AppliedDamage" :: StrictText.Text) + , "Value" .= + Aeson.object + [ "unknown1" .= appliedDamageValueUnknown1 x + , "location" .= appliedDamageValueLocation x + , "unknown3" .= appliedDamageValueUnknown3 x + , "unknown4" .= appliedDamageValueUnknown4 x + ] + ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/library/Octane/Type/Value/DamageStateValue.hs new/octane-0.20.0/library/Octane/Type/Value/DamageStateValue.hs --- old/octane-0.18.3/library/Octane/Type/Value/DamageStateValue.hs 1970-01-01 01:00:00.000000000 +0100 +++ new/octane-0.20.0/library/Octane/Type/Value/DamageStateValue.hs 2017-07-11 16:49:36.000000000 +0200 @@ -0,0 +1,49 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE OverloadedLabels #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeFamilies #-} + +module Octane.Type.Value.DamageStateValue + ( DamageStateValue(..) + ) where + +import Data.Aeson ((.=)) + +import qualified Data.Aeson as Aeson +import qualified Data.Default.Class as Default +import qualified Data.OverloadedRecords.TH as OverloadedRecords +import qualified Data.Text as StrictText +import qualified Octane.Type.Boolean as Boolean +import qualified Octane.Type.Int32 as Int32 +import qualified Octane.Type.Vector as Vector +import qualified Octane.Type.Word8 as Word8 + +data DamageStateValue = DamageStateValue + { damageStateValueUnknown1 :: Word8.Word8 + , damageStateValueUnknown2 :: Boolean.Boolean + , damageStateValueUnknown3 :: Int32.Int32 + , damageStateValueUnknown4 :: Vector.Vector Int + , damageStateValueUnknown5 :: Boolean.Boolean + , damageStateValueUnknown6 :: Boolean.Boolean + } deriving (Eq, Show) + +$(OverloadedRecords.overloadedRecord Default.def ''DamageStateValue) + +instance Aeson.ToJSON DamageStateValue where + toJSON x = + Aeson.object + [ "Type" .= ("DamageState" :: StrictText.Text) + , "Value" .= + Aeson.object + [ "unknown1" .= damageStateValueUnknown1 x + , "unknown2" .= damageStateValueUnknown2 x + , "unknown3" .= damageStateValueUnknown3 x + , "unknown4" .= damageStateValueUnknown4 x + , "unknown5" .= damageStateValueUnknown5 x + , "unknown6" .= damageStateValueUnknown6 x + ] + ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/library/Octane/Type/Value/ExtendedExplosionValue.hs new/octane-0.20.0/library/Octane/Type/Value/ExtendedExplosionValue.hs --- old/octane-0.18.3/library/Octane/Type/Value/ExtendedExplosionValue.hs 1970-01-01 01:00:00.000000000 +0100 +++ new/octane-0.20.0/library/Octane/Type/Value/ExtendedExplosionValue.hs 2017-07-11 16:49:36.000000000 +0200 @@ -0,0 +1,45 @@ +{-# LANGUAGE DataKinds #-} +{-# LANGUAGE FlexibleContexts #-} +{-# LANGUAGE FlexibleInstances #-} +{-# LANGUAGE MultiParamTypeClasses #-} +{-# LANGUAGE OverloadedLabels #-} +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE StrictData #-} +{-# LANGUAGE TemplateHaskell #-} +{-# LANGUAGE TypeFamilies #-} + +module Octane.Type.Value.ExtendedExplosionValue + ( ExtendedExplosionValue(..) + ) where + +import Data.Aeson ((.=)) + +import qualified Data.Aeson as Aeson +import qualified Data.Default.Class as Default +import qualified Data.OverloadedRecords.TH as OverloadedRecords +import qualified Data.Text as StrictText +import qualified Octane.Type.Boolean as Boolean +import qualified Octane.Type.Int32 as Int32 +import qualified Octane.Type.Vector as Vector + +data ExtendedExplosionValue = ExtendedExplosionValue + { extendedExplosionValueActorless :: Boolean.Boolean + , extendedExplosionValueActorId :: Maybe Int32.Int32 + , extendedExplosionValuePosition :: Vector.Vector Int + , extendedExplosionValueUnknown1 :: Boolean.Boolean + , extendedExplosionValueUnknown2 :: Int32.Int32 + } deriving (Eq, Show) + +$(OverloadedRecords.overloadedRecord Default.def ''ExtendedExplosionValue) + +instance Aeson.ToJSON ExtendedExplosionValue where + toJSON x = + Aeson.object + [ "Type" .= ("ExtendedExplosion" :: StrictText.Text) + , "Value" .= + Aeson.object + [ "Actorless" .= #actorless x + , "ActorId" .= #actorId x + , "Position" .= #position x + ] + ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/library/Octane/Type/Value.hs new/octane-0.20.0/library/Octane/Type/Value.hs --- old/octane-0.18.3/library/Octane/Type/Value.hs 2017-04-17 15:39:47.000000000 +0200 +++ new/octane-0.20.0/library/Octane/Type/Value.hs 2017-07-11 16:49:36.000000000 +0200 @@ -2,13 +2,16 @@ module Octane.Type.Value ( Value(..) + , module Octane.Type.Value.AppliedDamageValue , module Octane.Type.Value.BooleanValue , module Octane.Type.Value.ByteValue , module Octane.Type.Value.CamSettingsValue , module Octane.Type.Value.ClubColorsValue + , module Octane.Type.Value.DamageStateValue , module Octane.Type.Value.DemolishValue , module Octane.Type.Value.EnumValue , module Octane.Type.Value.ExplosionValue + , module Octane.Type.Value.ExtendedExplosionValue , module Octane.Type.Value.FlaggedIntValue , module Octane.Type.Value.FloatValue , module Octane.Type.Value.GameModeValue @@ -30,13 +33,16 @@ , module Octane.Type.Value.WeldedInfoValue ) where +import Octane.Type.Value.AppliedDamageValue import Octane.Type.Value.BooleanValue import Octane.Type.Value.ByteValue import Octane.Type.Value.CamSettingsValue import Octane.Type.Value.ClubColorsValue +import Octane.Type.Value.DamageStateValue import Octane.Type.Value.DemolishValue import Octane.Type.Value.EnumValue import Octane.Type.Value.ExplosionValue +import Octane.Type.Value.ExtendedExplosionValue import Octane.Type.Value.FlaggedIntValue import Octane.Type.Value.FloatValue import Octane.Type.Value.GameModeValue @@ -61,13 +67,16 @@ -- | A replicated property's value. data Value - = ValueBoolean BooleanValue + = ValueAppliedDamage AppliedDamageValue + | ValueBoolean BooleanValue | ValueByte ByteValue | ValueCamSettings CamSettingsValue | ValueClubColors ClubColorsValue + | ValueDamageState DamageStateValue | ValueDemolish DemolishValue | ValueEnum EnumValue | ValueExplosion ExplosionValue + | ValueExtendedExplosion ExtendedExplosionValue | ValueFlaggedInt FlaggedIntValue | ValueFloat FloatValue | ValueGameMode GameModeValue @@ -92,13 +101,16 @@ instance Aeson.ToJSON Value where toJSON value = case value of + ValueAppliedDamage x -> Aeson.toJSON x ValueBoolean x -> Aeson.toJSON x ValueByte x -> Aeson.toJSON x ValueCamSettings x -> Aeson.toJSON x ValueClubColors x -> Aeson.toJSON x + ValueDamageState x -> Aeson.toJSON x ValueDemolish x -> Aeson.toJSON x ValueEnum x -> Aeson.toJSON x ValueExplosion x -> Aeson.toJSON x + ValueExtendedExplosion x -> Aeson.toJSON x ValueFlaggedInt x -> Aeson.toJSON x ValueFloat x -> Aeson.toJSON x ValueGameMode x -> Aeson.toJSON x diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/octane.cabal new/octane-0.20.0/octane.cabal --- old/octane-0.18.3/octane.cabal 2017-04-17 15:42:20.000000000 +0200 +++ new/octane-0.20.0/octane.cabal 2017-07-11 16:52:01.000000000 +0200 @@ -3,7 +3,7 @@ -- see: https://github.com/sol/hpack name: octane -version: 0.18.3 +version: 0.20.0 synopsis: Parse Rocket League replays. description: Octane parses Rocket League replays. category: Game @@ -75,13 +75,16 @@ Octane.Type.State Octane.Type.Text Octane.Type.Value + Octane.Type.Value.AppliedDamageValue Octane.Type.Value.BooleanValue Octane.Type.Value.ByteValue Octane.Type.Value.CamSettingsValue Octane.Type.Value.ClubColorsValue + Octane.Type.Value.DamageStateValue Octane.Type.Value.DemolishValue Octane.Type.Value.EnumValue Octane.Type.Value.ExplosionValue + Octane.Type.Value.ExtendedExplosionValue Octane.Type.Value.FlaggedIntValue Octane.Type.Value.FloatValue Octane.Type.Value.GameModeValue diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/package.yaml new/octane-0.20.0/package.yaml --- old/octane-0.18.3/package.yaml 2017-04-17 15:39:47.000000000 +0200 +++ new/octane-0.20.0/package.yaml 2017-07-11 16:49:36.000000000 +0200 @@ -44,4 +44,4 @@ maintainer: Taylor Fausak name: octane synopsis: Parse Rocket League replays. -version: '0.18.3' +version: '0.20.0' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/octane-0.18.3/stack.yaml new/octane-0.20.0/stack.yaml --- old/octane-0.18.3/stack.yaml 2017-04-17 15:39:47.000000000 +0200 +++ new/octane-0.20.0/stack.yaml 2017-07-11 16:49:36.000000000 +0200 @@ -1 +1,3 @@ +extra-deps: +- rattletrap-2.5.0 resolver: lts-8.0
participants (1)
-
root@hilbert.suse.de