repo
stringlengths
5
53
pr_number
int32
1
321k
task_type
stringclasses
2 values
issue_text
stringlengths
0
81.2k
pr_title
stringlengths
1
319
pr_body
stringlengths
0
105k
base_sha
stringlengths
40
40
head_sha
stringlengths
40
40
gold_diff
stringlengths
0
202M
changed_files
listlengths
0
100
review_threads
listlengths
0
100
test_patch
stringlengths
0
23.4M
merged
bool
1 class
LoopPerfect/buckaroo
298
issue_to_patch
* Improves TOML formatting; adds tests
8dd55ccab8e6c8bc0bd8ca8e5e27f652dbef4b91
3f7c43b981a2921e441dc9b3d5100bfec621e1f3
diff --git a/buckaroo-tests/Lock.fs b/buckaroo-tests/Lock.fs index 1f7cf77..84c5669 100644 --- a/buckaroo-tests/Lock.fs +++ b/buckaroo-tests/Lock.fs @@ -1,6 +1,7 @@ module Buckaroo.Tests.Lock open Xunit +open FSharpx open Buckaroo [<Fact>] @@ -18,6 +19,14 @@ let ``Lock.parse works correctly 1`` () = Packag...
[ "buckaroo-tests/Lock.fs", "buckaroo-tests/Manifest.fs", "buckaroo/Manifest.fs", "buckaroo/Toml.fs" ]
[]
true
LoopPerfect/buckaroo
296
issue_to_patch
* Allow trailing slash in Buck targets
9107bfbeaf9eb6ba61ab14a74577404ea305931c
6bcf57d828b39b0de52deed09e1dca5438d05383
diff --git a/buckaroo-tests/Target.fs b/buckaroo-tests/Target.fs index 635e11a..3dea15e 100644 --- a/buckaroo-tests/Target.fs +++ b/buckaroo-tests/Target.fs @@ -43,6 +43,10 @@ let ``Target.parse works correctly`` () = let expected = Result.Ok { Folders = [ "Common++" ]; Name = "Common++" } Assert.Equal(expected, ...
[ "buckaroo-tests/Target.fs", "buckaroo/Command.fs", "buckaroo/Target.fs" ]
[]
true
LoopPerfect/buckaroo
291
issue_to_patch
* Failures are now counted per branch (and only for branches)
9107bfbeaf9eb6ba61ab14a74577404ea305931c
9a5bef525ec849dcbbab172b6a2102a403b3a78d
diff --git a/buckaroo/Solver.fs b/buckaroo/Solver.fs index 225fe4b..c3922a1 100644 --- a/buckaroo/Solver.fs +++ b/buckaroo/Solver.fs @@ -43,29 +43,48 @@ module Solver = let fetchCandidatesForConstraint sourceExplorer locations package constraints = asyncSeq { let candidatesToExplore = SourceExplorer.fetchLoca...
[ "buckaroo/Solver.fs" ]
[]
true
LoopPerfect/buckaroo
295
issue_to_patch
* Makes sem-ver parser more lenient
For Patch Bot :robot: we need `boost-1.64.0` etc. to parse as sem-vers.
9107bfbeaf9eb6ba61ab14a74577404ea305931c
72818579c79f42c983b106472449135e09445096
diff --git a/buckaroo-tests/SemVer.fs b/buckaroo-tests/SemVer.fs index 85d5aae..1212f9b 100644 --- a/buckaroo-tests/SemVer.fs +++ b/buckaroo-tests/SemVer.fs @@ -6,7 +6,7 @@ open Xunit open Buckaroo let dropError<'T, 'E> (x : Result<'T, 'E>) = - match x with + match x with | Result.Ok o -> Some o | Result.E...
[ "buckaroo-tests/SemVer.fs", "buckaroo/SemVer.fs" ]
[]
true
LoopPerfect/buckaroo
290
issue_to_patch
adding code highlighter
Adding code highlighter to the range example. ###### From: <img width="913" alt="Before" src="https://user-images.githubusercontent.com/21347264/51625591-86e88f00-1f0b-11e9-8def-b81dc32b8341.png"> ###### To: <img width="895" alt="After" src="https://user-images.githubusercontent.com/21347264/51625601-94057e...
6a9c150381eb09ff8a4992ab8202ae871e81e655
ae018be6065e0c8f72c48aea2f7d7f230107a42c
diff --git a/README.md b/README.md index 9ed3873..bc30e94 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ $ buckaroo add github.com/buckaroo-pm/ericniebler-range-v3@branch=master 5. Now you can use range-v3. Update `main.cpp` to: -```c++= +```cpp= #include <iostream> #include <vector> #include <rang...
[ "README.md" ]
[]
true
LoopPerfect/buckaroo
289
issue_to_patch
* Further --orphan support
15c349e44e6e669983059f42b7b66c0ff2c09422
6f933aa6588ba2a08c486dbd8c5dd425b30b4291
diff --git a/buckaroo/GitCli.fs b/buckaroo/GitCli.fs index 3dffbae..c1ff8a5 100644 --- a/buckaroo/GitCli.fs +++ b/buckaroo/GitCli.fs @@ -119,8 +119,17 @@ type GitCli (console : ConsoleManager) = member this.CheckoutTo (gitPath : string) (revision : Revision) (installPath : string) = async { do! Files.mkdirp...
[ "buckaroo/GitCli.fs" ]
[]
true
LoopPerfect/buckaroo
287
issue_to_patch
* Enables checkout function to work with orphans
1bf805e6eb4e5a0ef701666b970ec0e86c5f7575
9e4c09468e687fd611f041e268b5cd3be0439e83
diff --git a/buckaroo/GitCli.fs b/buckaroo/GitCli.fs index 388f473..3dffbae 100644 --- a/buckaroo/GitCli.fs +++ b/buckaroo/GitCli.fs @@ -38,6 +38,27 @@ type GitCli (console : ConsoleManager) = return stdout.ToString() } + let listLocalCommits repository branch skip = async { + let command = + "git --...
[ "buckaroo/GitCli.fs", "buckaroo/GitManager.fs" ]
[]
true
LoopPerfect/buckaroo
286
issue_to_patch
* Allow '+' in Buck targets
cf46d869b20bcb71384bc12b94d718f1efbf9dff
539892ed946261eb34f99ce708813650244dec91
diff --git a/buckaroo-tests/Target.fs b/buckaroo-tests/Target.fs index 0e08423..635e11a 100644 --- a/buckaroo-tests/Target.fs +++ b/buckaroo-tests/Target.fs @@ -39,6 +39,10 @@ let ``Target.parse works correctly`` () = let expected = Result.Ok { Folders = [ "foo_bar" ]; Name = "bar_bar" } Assert.Equal(expected, Ta...
[ "buckaroo-tests/Target.fs", "buckaroo/Target.fs" ]
[]
true
LoopPerfect/buckaroo
284
issue_to_patch
feat: init now prints a warning if manifest already exists
703e37383b181beae889e885f0fdbbd094105c91
a9e508c976416d8cebfdad32a03ae2764f00b816
diff --git a/buckaroo/Command.fs b/buckaroo/Command.fs index f5c8eed..9468840 100644 --- a/buckaroo/Command.fs +++ b/buckaroo/Command.fs @@ -203,7 +203,7 @@ module Command = sw.Write(Manifest.zero |> Manifest.show) context.Console.Write("Wrote " + Constants.ManifestFileName) else - new Exception...
[ "buckaroo/Command.fs" ]
[]
true
LoopPerfect/buckaroo
280
issue_to_patch
Fix/272 make things better
e8eec6eb703ccf2338f5a5d0013ed6a0313ddd25
31b93dd8ed2077b005b9539dd3d5b9b0c5ec484b
diff --git a/buckaroo-tests/Solver.fs b/buckaroo-tests/Solver.fs index a7fec7b..f2f486e 100644 --- a/buckaroo-tests/Solver.fs +++ b/buckaroo-tests/Solver.fs @@ -58,8 +58,6 @@ let lockBookOf (entries : LockBookEntries) : LockBook = |> Seq.map (fun (l, deps) -> (packageLock l, lock deps)) |> Map.ofSeq - - type T...
[ "buckaroo-tests/Solver.fs", "buckaroo/Bash.fs", "buckaroo/Constraint.fs", "buckaroo/GitCli.fs", "buckaroo/GitLib.fs", "buckaroo/Resolution.fs", "buckaroo/ResolveCommand.fs", "buckaroo/Solver.fs", "buckaroo/SourceExplorer.fs" ]
[]
true
LoopPerfect/buckaroo
276
issue_to_patch
* Enables upgrade strategy in resolve
0d9ca8bce2285c68bf0074cddca5b4a8bf4ee8ad
c5aae6bbbca5c9cbc5ba1a8043628188068ec1eb
diff --git a/buckaroo-tests/Command.fs b/buckaroo-tests/Command.fs index b489088..60e6f2b 100644 --- a/buckaroo-tests/Command.fs +++ b/buckaroo-tests/Command.fs @@ -9,15 +9,21 @@ let private defaultLoggingLevel = LoggingLevel.Info let private verboseLoggingLevel = LoggingLevel.Trace let private abcDef = Adhoc { Own...
[ "buckaroo-tests/Command.fs", "buckaroo/Command.fs", "buckaroo/ResolveCommand.fs", "buckaroo/Toml.fs" ]
[]
true
LoopPerfect/buckaroo
278
issue_to_patch
* Allows underscores in targets
0d9ca8bce2285c68bf0074cddca5b4a8bf4ee8ad
5c3e91d92f84cd8bee0a964dc485778d3f879bdb
diff --git a/buckaroo-tests/Target.fs b/buckaroo-tests/Target.fs index 89d12cf..2b08521 100644 --- a/buckaroo-tests/Target.fs +++ b/buckaroo-tests/Target.fs @@ -33,4 +33,8 @@ let ``Target.parse works correctly`` () = let input = "foo:bar" let expected = Result.Ok { Folders = [ "foo" ]; Name = "bar" } + Assert....
[ "buckaroo-tests/Target.fs", "buckaroo/Target.fs" ]
[]
true
LoopPerfect/buckaroo
269
issue_to_patch
Fix/251 add not remove deps
ec711610c1061c773487bfe61e7b056cb09b4338
4c8d190c1343cb78a1ddf7d036a40b1cf22d3b68
diff --git a/buckaroo-tests/Manifest.fs b/buckaroo-tests/Manifest.fs index 8773fdc..7b05f49 100644 --- a/buckaroo-tests/Manifest.fs +++ b/buckaroo-tests/Manifest.fs @@ -5,6 +5,7 @@ open Xunit open Buckaroo open Buckaroo.Tests +open Buckaroo [<Fact>] let ``Manifest.parse works correctly`` () = @@ -74,3 +75,37 @@...
[ "buckaroo-tests/Manifest.fs", "buckaroo/Constraint.fs", "buckaroo/Manifest.fs", "buckaroo/SemVer.fs" ]
[]
true
LoopPerfect/buckaroo
268
issue_to_patch
improvement/install-cli-styling
* Improves the styling of the install command
bc31ae07e40a03666c833e51956006789004666d
3de4b473c6ce503a4f460810da31e8e338477208
diff --git a/buckaroo/InstallCommand.fs b/buckaroo/InstallCommand.fs index 026dbcc..24a7d66 100644 --- a/buckaroo/InstallCommand.fs +++ b/buckaroo/InstallCommand.fs @@ -7,6 +7,60 @@ open Buckaroo open Buckaroo.BuckConfig open Buckaroo.Tasks open Buckaroo.Console +open Buckaroo.RichOutput + +type Logger = + { + I...
[ "buckaroo/InstallCommand.fs" ]
[]
true
LoopPerfect/buckaroo
266
issue_to_patch
Feat/incremental fetch
c8691753b0d07c451e7b533d5214c55c4a52e78a
486e86a0acc0db043f3fe51bbfb2a061c00f5dca
diff --git a/buckaroo-tests/Solver.fs b/buckaroo-tests/Solver.fs index 16a202e..a7fec7b 100644 --- a/buckaroo-tests/Solver.fs +++ b/buckaroo-tests/Solver.fs @@ -102,7 +102,7 @@ type TestingSourceExplorer (cookBook : CookBook, lockBook : LockBook) = return x.Value } - member this.FetchManifest (lock : P...
[ "buckaroo-tests/Solver.fs", "buckaroo/DefaultSourceExplorer.fs", "buckaroo/Git.fs", "buckaroo/GitCli.fs", "buckaroo/GitLib.fs", "buckaroo/GitManager.fs", "buckaroo/InstallCommand.fs", "buckaroo/LoggingSourceExplorer.fs", "buckaroo/Solver.fs", "buckaroo/SourceExplorer.fs" ]
[ { "comment": "Can we remove the type annotations and rename `f` to something meaningful? ", "path": "buckaroo/DefaultSourceExplorer.fs", "hunk": "@@ -10,9 +10,9 @@ type DefaultSourceExplorer (console : ConsoleManager, downloadManager : Download\n let toOptional = Async.Catch >> (Async.map Choice.toOpt...
true
LoopPerfect/buckaroo
266
comment_to_fix
Feat/incremental fetch
Can we remove the type annotations and rename `f` to something meaningful?
c8691753b0d07c451e7b533d5214c55c4a52e78a
486e86a0acc0db043f3fe51bbfb2a061c00f5dca
diff --git a/buckaroo/DefaultSourceExplorer.fs b/buckaroo/DefaultSourceExplorer.fs index d4d7ed0..f7ac277 100644 --- a/buckaroo/DefaultSourceExplorer.fs +++ b/buckaroo/DefaultSourceExplorer.fs @@ -10,13 +10,13 @@ type DefaultSourceExplorer (console : ConsoleManager, downloadManager : Download let toOptional = Async....
[ "buckaroo/DefaultSourceExplorer.fs" ]
[ { "comment": "Can we remove the type annotations and rename `f` to something meaningful? ", "path": "buckaroo/DefaultSourceExplorer.fs", "hunk": "@@ -10,9 +10,9 @@ type DefaultSourceExplorer (console : ConsoleManager, downloadManager : Download\n let toOptional = Async.Catch >> (Async.map Choice.toOpt...
true
LoopPerfect/buckaroo
266
comment_to_fix
Feat/incremental fetch
Please break on multiple lines and use `(string depth)`
c8691753b0d07c451e7b533d5214c55c4a52e78a
486e86a0acc0db043f3fe51bbfb2a061c00f5dca
diff --git a/buckaroo/GitCli.fs b/buckaroo/GitCli.fs index c172f37..fe8b809 100644 --- a/buckaroo/GitCli.fs +++ b/buckaroo/GitCli.fs @@ -4,6 +4,8 @@ open System open System.Text open Buckaroo.Console open RichOutput +open FSharp.Control +open FSharpx type GitCli (console : ConsoleManager) = @@ -115,40 +117,65 @...
[ "buckaroo/GitCli.fs" ]
[ { "comment": "Please break on multiple lines and use `(string depth)`", "path": "buckaroo/GitCli.fs", "hunk": "@@ -115,40 +117,62 @@ type GitCli (console : ConsoleManager) =\n |> Async.Ignore\n }\n \n- member this.FetchBranch (repository : String) (branch : Branch) = async {\n+ member ...
true
LoopPerfect/buckaroo
266
comment_to_fix
Feat/incremental fetch
Remove
c8691753b0d07c451e7b533d5214c55c4a52e78a
486e86a0acc0db043f3fe51bbfb2a061c00f5dca
diff --git a/buckaroo/GitLib.fs b/buckaroo/GitLib.fs index e693ada..4f57f06 100644 --- a/buckaroo/GitLib.fs +++ b/buckaroo/GitLib.fs @@ -6,6 +6,7 @@ open LibGit2Sharp open LibGit2Sharp.Handlers open FSharpx open Buckaroo.Console +open FSharp.Control type GitLib (console : ConsoleManager) = @@ -93,6 +94,12 @@ ty...
[ "buckaroo/GitLib.fs" ]
[ { "comment": "Remove", "path": "buckaroo/GitLib.fs", "hunk": "@@ -210,7 +206,11 @@ type GitLib (console : ConsoleManager) =\n \n member this.RemoteRefs (url : String) = async {\n do! Async.SwitchToThreadPool()\n+ System.Console.WriteLine url", "resolving_sha": "486e86a0acc0db043f3fe51...
true
LoopPerfect/buckaroo
266
comment_to_fix
Feat/incremental fetch
Let's have `private` functions for `isTag` and `isHead` since there is code duplication here.
c8691753b0d07c451e7b533d5214c55c4a52e78a
486e86a0acc0db043f3fe51bbfb2a061c00f5dca
diff --git a/buckaroo/GitLib.fs b/buckaroo/GitLib.fs index e693ada..4f57f06 100644 --- a/buckaroo/GitLib.fs +++ b/buckaroo/GitLib.fs @@ -6,6 +6,7 @@ open LibGit2Sharp open LibGit2Sharp.Handlers open FSharpx open Buckaroo.Console +open FSharp.Control type GitLib (console : ConsoleManager) = @@ -93,6 +94,12 @@ ty...
[ "buckaroo/GitLib.fs" ]
[ { "comment": "Let's have `private` functions for `isTag` and `isHead` since there is code duplication here. ", "path": "buckaroo/GitLib.fs", "hunk": "@@ -210,7 +206,11 @@ type GitLib (console : ConsoleManager) =\n \n member this.RemoteRefs (url : String) = async {\n do! Async.SwitchToThreadPoo...
true
LoopPerfect/buckaroo
265
issue_to_patch
improvement/solver-output-text
866ae97ffc82ab8908fbb6a43a208cc0cd131cd7
fd2692fac7ebfed29418a679becd93ec9d8f4b12
diff --git a/buckaroo/Solver.fs b/buckaroo/Solver.fs index dd396b7..8cbeb71 100644 --- a/buckaroo/Solver.fs +++ b/buckaroo/Solver.fs @@ -216,7 +216,7 @@ module Solver = | x -> state.Constraints.[f.Package].Contains x then resolution else - log("trying different resolution t...
[ "buckaroo/Solver.fs" ]
[]
true
LoopPerfect/buckaroo
263
issue_to_patch
bugfix/262
cc388940518631f90c6f2d3a42005dd0af37b3fd
d8e4484e619dfe87abd8c9a33143b0fe4f468684
diff --git a/buckaroo-tests/Command.fs b/buckaroo-tests/Command.fs index 4810160..b489088 100644 --- a/buckaroo-tests/Command.fs +++ b/buckaroo-tests/Command.fs @@ -8,13 +8,33 @@ let private defaultLoggingLevel = LoggingLevel.Info let private verboseLoggingLevel = LoggingLevel.Trace +let private abcDef = Adhoc { O...
[ "buckaroo-tests/Command.fs", "buckaroo/Command.fs", "buckaroo/UpgradeCommand.fs", "buckaroo/buckaroo.fsproj" ]
[]
true
LoopPerfect/buckaroo
259
issue_to_patch
feat: set git-workdir instead of gitdir
05461ef7f33763ff3b7ad146b58780a36a09bf5e
b0995e2229462c8f21b7c66a02691f8a426a97bf
diff --git a/buckaroo/GitCli.fs b/buckaroo/GitCli.fs index a17e158..c172f37 100644 --- a/buckaroo/GitCli.fs +++ b/buckaroo/GitCli.fs @@ -36,7 +36,7 @@ type GitCli (console : ConsoleManager) = member this.LocalTags (repository : String) = async { let gitDir = repository let command = - "--no-pager --gi...
[ "buckaroo/GitCli.fs" ]
[]
true
LoopPerfect/buckaroo
255
issue_to_patch
bugfix/254
54db4f33c05369ef05f110b932fd61932d211ce7
c97816d96e5c3957be308f79b90b334c691dc3a1
diff --git a/buckaroo/InstallCommand.fs b/buckaroo/InstallCommand.fs index 749f601..34bf9c0 100644 --- a/buckaroo/InstallCommand.fs +++ b/buckaroo/InstallCommand.fs @@ -297,11 +297,20 @@ let private generateBuckConfig (sourceExplorer : ISourceExplorer) (parents : Pac |> Seq.append (privateRepositoriesCells |> Map....
[ "buckaroo/InstallCommand.fs" ]
[]
true
LoopPerfect/buckaroo
256
issue_to_patch
Feat/245 upgrade by packagelist
54db4f33c05369ef05f110b932fd61932d211ce7
8f170074b08d9663a2d0d15b9ad075163457d6ac
diff --git a/buckaroo-tests/Solver.fs b/buckaroo-tests/Solver.fs index 71549b1..16a202e 100644 --- a/buckaroo-tests/Solver.fs +++ b/buckaroo-tests/Solver.fs @@ -6,6 +6,7 @@ open FSharp.Control open Buckaroo.Console open Buckaroo.Tasks +open Buckaroo.Tests type CookBook = List<PackageIdentifier * Set<Version> * M...
[ "buckaroo-tests/Solver.fs", "buckaroo/AddCommand.fs", "buckaroo/Command.fs", "buckaroo/Lock.fs", "buckaroo/QuickstartCommand.fs", "buckaroo/RemoveCommand.fs", "buckaroo/Resolution.fs", "buckaroo/ResolveCommand.fs", "buckaroo/Solver.fs" ]
[ { "comment": "Perhaps better modelled as `List<PackageIdentifier> option`?\r\n\r\n`None` -> Upgrade everything\r\n`Some []` -> Upgrade nothing\r\n`Some xs` -> Upgrade only `xs`", "path": "buckaroo/Command.fs", "hunk": "@@ -11,8 +11,8 @@ type Command =\n | Version\n | Resolve\n | Install\n-| Upgrade\n | ...
true
LoopPerfect/buckaroo
252
issue_to_patch
feat: lowercase package identifers on a parser level
2aac2560f758a8f7e2d125bf678c1c6ab53e6166
761d6c6fc935a9134503dcfe31cbe19d067d7d89
diff --git a/buckaroo-tests/PackageIdentifier.fs b/buckaroo-tests/PackageIdentifier.fs index bbf68a8..e20cf88 100644 --- a/buckaroo-tests/PackageIdentifier.fs +++ b/buckaroo-tests/PackageIdentifier.fs @@ -5,7 +5,7 @@ open Xunit open Buckaroo [<Fact>] -let ``PackageIdentifier.parse works correctly`` () = +let ``Pac...
[ "buckaroo-tests/PackageIdentifier.fs", "buckaroo/PackageIdentifier.fs" ]
[]
true
LoopPerfect/buckaroo
248
issue_to_patch
Feat/better output
0d7b655a6ba804b004e74bb4f761eed6da1b1173
4a5f1a8a4341ebf34280997860e9dc3f0dc971be
diff --git a/buckaroo-tests/Solver.fs b/buckaroo-tests/Solver.fs index 3af7514..71549b1 100644 --- a/buckaroo-tests/Solver.fs +++ b/buckaroo-tests/Solver.fs @@ -121,11 +121,11 @@ type TestingSourceExplorer (cookBook : CookBook, lockBook : LockBook) = let solve (cookBook : CookBook) (lockBookEntries : LockBookEntries...
[ "buckaroo-tests/Solver.fs", "buckaroo/ConsoleManager.fs", "buckaroo/DefaultSourceExplorer.fs", "buckaroo/GitCli.fs", "buckaroo/GitManager.fs", "buckaroo/PackageIdentifier.fs", "buckaroo/RichOutput.fs", "buckaroo/Solver.fs", "buckaroo/Tasks.fs", "buckaroo/Version.fs" ]
[]
true
LoopPerfect/buckaroo
249
issue_to_patch
fix: explicitly sync refs with remote on fetchCommits
please test
0d7b655a6ba804b004e74bb4f761eed6da1b1173
0b13b087fecd6a43e000d50204d253f44ad8a533
diff --git a/buckaroo/Git.fs b/buckaroo/Git.fs index afae590..5750586 100644 --- a/buckaroo/Git.fs +++ b/buckaroo/Git.fs @@ -20,6 +20,7 @@ type IGit = abstract member Clone : string -> string -> Async<Unit> abstract member DefaultBranch : string -> Async<string> abstract member Unshallow : string -> Async<Unit...
[ "buckaroo/Git.fs", "buckaroo/GitCli.fs", "buckaroo/GitLib.fs", "buckaroo/GitManager.fs" ]
[]
true
LorisYounger/VPet
541
issue_to_patch
靠边检测
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Core/Display/MainDisplay.cs b/VPet-Simulator.Core/Display/MainDisplay.cs index 5177c9e91..48be2ef39 100644 --- a/VPet-Simulator.Core/Display/MainDisplay.cs +++ b/VPet-Simulator.Core/Display/MainDisplay.cs @@ -374,7 +374,7 @@ private void DisplayRaising(string name = null) ...
[ "VPet-Simulator.Core/Display/MainDisplay.cs", "VPet-Simulator.Core/Display/MainLogic.cs", "VPet-Simulator.Core/Graph/GraphHelper.cs", "VPet-Simulator.Core/Handle/IController.cs", "VPet-Simulator.Windows/Function/MWController.cs", "VPet-Simulator.Windows/Function/Setting.cs", "VPet-Simulator.Windows/Muti...
[ { "comment": "`AutoChangeWindow` uses a backing field (`autochangewindow`) but it is never initialized from persisted config in the `Setting` constructor. As a result, after restart the getter will always return the default `false` regardless of the saved `gameconfig.autochangewindow` value. Initialize `autocha...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
If no entry in `Screen.AllScreens` matches `currentScreen.DeviceName`, `GameScreenIndex` is left unchanged (only set inside the `if` + `break`). This can lead to stale/incorrect `GameScreenIndex` values. Track whether a match was found and set a deterministic fallback (e.g., 0) when not found.
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index b1db7a1e8..4855afa83 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -67,6 +67,7 @@ public winGameSet...
[ "VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs" ]
[ { "comment": "If no entry in `Screen.AllScreens` matches `currentScreen.DeviceName`, `GameScreenIndex` is left unchanged (only set inside the `if` + `break`). This can lead to stale/incorrect `GameScreenIndex` values. Track whether a match was found and set a deterministic fallback (e.g., 0) when not found.\n",...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
`IController` is a public interface intended for external implementations (“需自行实现”). Adding new members (`IfInActivateScreen`, `SetNowScreenActivate`, `AutoChangeWindow`) is a breaking API change for any downstream controller implementations. Consider introducing a new optional interface (e.g., `IControllerScreenAware`...
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Core/Handle/IController.cs b/VPet-Simulator.Core/Handle/IController.cs index 9ec7a29cd..d5af72f3a 100644 --- a/VPet-Simulator.Core/Handle/IController.cs +++ b/VPet-Simulator.Core/Handle/IController.cs @@ -28,6 +28,15 @@ public interface IController /// 获取桌宠距离下方的位置 /// </sum...
[ "VPet-Simulator.Core/Handle/IController.cs" ]
[ { "comment": "`IController` is a public interface intended for external implementations (“需自行实现”). Adding new members (`IfInActivateScreen`, `SetNowScreenActivate`, `AutoChangeWindow`) is a breaking API change for any downstream controller implementations. Consider introducing a new optional interface (e.g., `I...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
In `MoveSideHideCheck`, the condition evaluates `IfInActivateScreen()` even when `AutoChangeWindow` is disabled because it is the left operand of `&&`. This forces an unnecessary dispatcher/WinForms screen query every tick. Swap the operands to short-circuit on `AutoChangeWindow` first (and avoid the extra work when th...
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Core/Display/MainLogic.cs b/VPet-Simulator.Core/Display/MainLogic.cs index 9d71568e2..9b5b199df 100644 --- a/VPet-Simulator.Core/Display/MainLogic.cs +++ b/VPet-Simulator.Core/Display/MainLogic.cs @@ -537,6 +537,10 @@ public void EventTimer_Elapsed() /// <returns>是否成功进入侧边隐藏模式</retur...
[ "VPet-Simulator.Core/Display/MainLogic.cs" ]
[ { "comment": "In `MoveSideHideCheck`, the condition evaluates `IfInActivateScreen()` even when `AutoChangeWindow` is disabled because it is the left operand of `&&`. This forces an unnecessary dispatcher/WinForms screen query every tick. Swap the operands to short-circuit on `AutoChangeWindow` first (and avoid ...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
`AutoChangeWindow` uses a cached backing field (`autochangewindow`) but it is never initialized from `gameconfig` in the `Setting` constructor. As written, `autochangewindow` defaults to `false`, so `AutoChangeWindow` will always read as `true` until the user toggles it, and persisted values won’t be reflected on start...
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Windows/Function/Setting.cs b/VPet-Simulator.Windows/Function/Setting.cs index d89123bd7..6b0a1a04d 100644 --- a/VPet-Simulator.Windows/Function/Setting.cs +++ b/VPet-Simulator.Windows/Function/Setting.cs @@ -38,6 +38,7 @@ public Setting(MainWindow mw, string lps) : base(lps) en...
[ "VPet-Simulator.Windows/Function/Setting.cs" ]
[ { "comment": "`AutoChangeWindow` uses a cached backing field (`autochangewindow`) but it is never initialized from `gameconfig` in the `Setting` constructor. As written, `autochangewindow` defaults to `false`, so `AutoChangeWindow` will always read as `true` until the user toggles it, and persisted values won’t...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
Adding `IfInActivateScreen`, `SetNowScreenActivate`, and `AutoChangeWindow` to `IController` is a breaking change for any external `IController` implementations (“需自行实现”). Since the repo targets net8.0-windows with latest C#, consider providing default interface implementations (e.g., `IfInActivateScreen() => true`, em...
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Core/Handle/IController.cs b/VPet-Simulator.Core/Handle/IController.cs index 9ec7a29cd..d5af72f3a 100644 --- a/VPet-Simulator.Core/Handle/IController.cs +++ b/VPet-Simulator.Core/Handle/IController.cs @@ -28,6 +28,15 @@ public interface IController /// 获取桌宠距离下方的位置 /// </sum...
[ "VPet-Simulator.Core/Handle/IController.cs" ]
[ { "comment": "Adding `IfInActivateScreen`, `SetNowScreenActivate`, and `AutoChangeWindow` to `IController` is a breaking change for any external `IController` implementations (“需自行实现”). Since the repo targets net8.0-windows with latest C#, consider providing default interface implementations (e.g., `IfInActivat...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
Same as the left-side branch: the Y correction here passes unnormalized values into `MoveWindows` and multiplies by `ZoomRatio`, which will be scaled again inside `MoveWindows`. This can cause large, unintended jumps when entering right-side hide. Normalize the deltas by `ZoomRatio` (consistent with other `MoveWindows`...
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Core/Display/MainLogic.cs b/VPet-Simulator.Core/Display/MainLogic.cs index 9d71568e2..9b5b199df 100644 --- a/VPet-Simulator.Core/Display/MainLogic.cs +++ b/VPet-Simulator.Core/Display/MainLogic.cs @@ -537,6 +537,10 @@ public void EventTimer_Elapsed() /// <returns>是否成功进入侧边隐藏模式</retur...
[ "VPet-Simulator.Core/Display/MainLogic.cs" ]
[ { "comment": "Same as the left-side branch: the Y correction here passes unnormalized values into `MoveWindows` and multiplies by `ZoomRatio`, which will be scaled again inside `MoveWindows`. This can cause large, unintended jumps when entering right-side hide. Normalize the deltas by `ZoomRatio` (consistent wi...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
There are newly added `using` directives here that don’t appear to be used in this file (e.g., `Panuon.WPF.UI`, `System.Drawing.Drawing2D`). Unused imports add noise and can hide real dependency needs; please remove any that aren’t required.
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Windows/Function/MWController.cs b/VPet-Simulator.Windows/Function/MWController.cs index 1b1b4e62d..e1be4692f 100644 --- a/VPet-Simulator.Windows/Function/MWController.cs +++ b/VPet-Simulator.Windows/Function/MWController.cs @@ -1,4 +1,10 @@ -using System.Drawing; +using Panuon.WPF.UI; +us...
[ "VPet-Simulator.Windows/Function/MWController.cs" ]
[ { "comment": "There are newly added `using` directives here that don’t appear to be used in this file (e.g., `Panuon.WPF.UI`, `System.Drawing.Drawing2D`). Unused imports add noise and can hide real dependency needs; please remove any that aren’t required.\n", "path": "VPet-Simulator.Windows/Function/MWContr...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
`var window = Window.GetWindow(mw.Main);` is computed but never used. Please remove it (or use it) to avoid dead code in this hot-path check.
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Windows/Function/MWController.cs b/VPet-Simulator.Windows/Function/MWController.cs index 1b1b4e62d..e1be4692f 100644 --- a/VPet-Simulator.Windows/Function/MWController.cs +++ b/VPet-Simulator.Windows/Function/MWController.cs @@ -1,4 +1,10 @@ -using System.Drawing; +using Panuon.WPF.UI; +us...
[ "VPet-Simulator.Windows/Function/MWController.cs" ]
[ { "comment": "`var window = Window.GetWindow(mw.Main);` is computed but never used. Please remove it (or use it) to avoid dead code in this hot-path check.\n", "path": "VPet-Simulator.Windows/Function/MWController.cs", "hunk": "@@ -93,6 +100,89 @@ public void MoveWindows(double X, double Y)\n ...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
`var _rect = new Rect();` is declared but never used. Please remove it to avoid dead code and keep the screen-activation logic focused.
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Windows/Function/MWController.cs b/VPet-Simulator.Windows/Function/MWController.cs index 1b1b4e62d..e1be4692f 100644 --- a/VPet-Simulator.Windows/Function/MWController.cs +++ b/VPet-Simulator.Windows/Function/MWController.cs @@ -1,4 +1,10 @@ -using System.Drawing; +using Panuon.WPF.UI; +us...
[ "VPet-Simulator.Windows/Function/MWController.cs" ]
[ { "comment": "`var _rect = new Rect();` is declared but never used. Please remove it to avoid dead code and keep the screen-activation logic focused.\n", "path": "VPet-Simulator.Windows/Function/MWController.cs", "hunk": "@@ -93,6 +100,89 @@ public void MoveWindows(double X, double Y)\n });\...
true
LorisYounger/VPet
541
comment_to_fix
靠边检测
`using Panuon.WPF.UI;` is newly added but not referenced anywhere in this file. Please remove the unused import to keep dependencies clear.
ac77ba144ed39f61624d93542c008b38be4d85aa
ce419a1de9a8fc2503236b71d510166cf69a8d87
diff --git a/VPet-Simulator.Core/Display/MainDisplay.cs b/VPet-Simulator.Core/Display/MainDisplay.cs index 5177c9e91..48be2ef39 100644 --- a/VPet-Simulator.Core/Display/MainDisplay.cs +++ b/VPet-Simulator.Core/Display/MainDisplay.cs @@ -374,7 +374,7 @@ private void DisplayRaising(string name = null) ...
[ "VPet-Simulator.Core/Display/MainDisplay.cs" ]
[ { "comment": "`using Panuon.WPF.UI;` is newly added but not referenced anywhere in this file. Please remove the unused import to keep dependencies clear.\n", "path": "VPet-Simulator.Core/Display/MainDisplay.cs", "hunk": "@@ -1,5 +1,6 @@\n using LinePutScript.Converter;\n using LinePutScript.Localizatio...
true
LorisYounger/VPet
544
issue_to_patch
同步靠边检测
594bb48f1fa37a5d57170eb880bcd7c955bd9206
ac77ba144ed39f61624d93542c008b38be4d85aa
diff --git a/VPet-Simulator.Core/Display/Main.xaml.cs b/VPet-Simulator.Core/Display/Main.xaml.cs index 44ad4204d..41945ad4f 100644 --- a/VPet-Simulator.Core/Display/Main.xaml.cs +++ b/VPet-Simulator.Core/Display/Main.xaml.cs @@ -210,8 +210,8 @@ public Main(GameCore core) DisplayMove = DisplayToMove; ...
[ "VPet-Simulator.Core/Display/Main.xaml.cs", "VPet-Simulator.Core/Display/MainDisplay.cs", "VPet-Simulator.Core/Graph/Picture.cs", "VPet-Simulator.Windows/Function/ConsoleRedirectWriter.cs", "VPet-Simulator.Windows/MainWindow.cs", "VPet-Simulator.Windows/MainWindow.xaml.cs", "VPet-Simulator.Windows/MainW...
[ { "comment": "`clicktext` 这一条目被拆成了两行(第 172 行以 `?` 结尾,第 173 行以 `:|Feeling...` 开头),会导致 LPS/文本解析按“按行”读取时把第 173 行当成无效记录,从而丢失属性甚至触发解析错误。请把该条 `clicktext:` 记录合并为单行,确保每条记录都以 `clicktext:` 开头并在同一行内包含完整字段。", "path": "VPet-Simulator.Windows/mod/0000_core/text/ClickTextv2.lps", "hunk": "@@ -169,8 +169,9 @@ clicktext...
true
LorisYounger/VPet
539
issue_to_patch
fix:fixed Operator '.' cannot be applied to operand of type 'void'
修复编译时Picture.cs报错Operator '.' cannot be applied to operand of type 'void'的问题
fa89a1d4ca4415757ad74f42038042f49c888ac4
2643a66c83b2a5484fdd17964717d67083306215
diff --git a/VPet-Simulator.Core/Graph/Picture.cs b/VPet-Simulator.Core/Graph/Picture.cs index 0ccdeb31f..9630e8713 100644 --- a/VPet-Simulator.Core/Graph/Picture.cs +++ b/VPet-Simulator.Core/Graph/Picture.cs @@ -53,7 +53,8 @@ public static void LoadGraph(GraphCore graph, FileSystemInfo path, ILine info) i...
[ "VPet-Simulator.Core/Graph/Picture.cs" ]
[]
true
LorisYounger/VPet
511
issue_to_patch
[fix] 修复备份存档也不存在时,启动被阻塞的问题。
4cb69ebf7586288162b48752b572ca585974d7be
17713f817d115c62a12d1eb91bc75844b3c6f6ed
diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 9318442bd..e4b8082af 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -597,10 +597,10 @@ public void LoadLatestSave(string petname) //看看有没有备份,和备份...
[ "VPet-Simulator.Windows/MainWindow.xaml.cs" ]
[ { "comment": "The `First()` call will throw an `InvalidOperationException` if no matching backup files exist in the directory. Consider using `FirstOrDefault()` and checking for null, or handling the specific exception type to provide a more graceful fallback when backups are absent.", "path": "VPet-Simulat...
true
LorisYounger/VPet
511
comment_to_fix
[fix] 修复备份存档也不存在时,启动被阻塞的问题。
The `First()` call will throw an `InvalidOperationException` if no matching backup files exist in the directory. Consider using `FirstOrDefault()` and checking for null, or handling the specific exception type to provide a more graceful fallback when backups are absent.
4cb69ebf7586288162b48752b572ca585974d7be
17713f817d115c62a12d1eb91bc75844b3c6f6ed
diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 9318442bd..e4b8082af 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -597,10 +597,10 @@ public void LoadLatestSave(string petname) //看看有没有备份,和备份...
[ "VPet-Simulator.Windows/MainWindow.xaml.cs" ]
[ { "comment": "The `First()` call will throw an `InvalidOperationException` if no matching backup files exist in the directory. Consider using `FirstOrDefault()` and checking for null, or handling the specific exception type to provide a more graceful fallback when backups are absent.", "path": "VPet-Simulat...
true
LorisYounger/VPet
499
issue_to_patch
[BUG] Fix display of special char for `en`
- '&' is a special char in `MenuItem`, which needs to be escaped to display properly. --- # Before <img width="210" height="216" alt="image" src="https://github.com/user-attachments/assets/daa7314f-0055-4f45-b0dd-b1962b380970" /> # After <img width="211" height="211" alt="image" src="https://github.com/user-...
d23164ab62b6e3bff938be4d3c8e49f8cde31237
63d644d438b4fcb2771480c5db43b744f9f06dd1
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps index d0efb2388..4c7de0400 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps @@ -240,7 +240,7 @@ text#Te...
[ "VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps" ]
[]
true
LorisYounger/VPet
496
issue_to_patch
让照片图库搜寻支援 case-insensitive matching (跟进 #489)
对 #489 PR 的改进: - 使照片搜寻功能支持 **case-insensitive** 匹配。 - Refactor code formatting for readability. --- #### 示例(界面语言:`zh-Hant`) **照片原始名称**:`Steam大奖赛`\ **照片翻译名称**:`Steam大獎賽` --- #### 修改前表现 | 搜索关键词 | 搜索成功? | | ------- | ----- | | Steam大獎 | ✅ | | Steam大奖 | ✅ | | steam大獎 | ❌ | | steam大奖 ...
e23bab9c2176676c6174f12c3d9afdd857e82c9d
c0f2c5985f68c00bb5557e15d2b2b301f326b39b
diff --git a/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs index eb66cc70c..0c87d12d6 100644 --- a/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs @@ -113,26 +113,39 @@ public void RefreshList() ...
[ "VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs" ]
[]
true
LorisYounger/VPet
495
issue_to_patch
修复工作列小图示选单的「勾选状态」不一致问题
## 目前情况: 如果用「快速切换小图示」的右键,来切换「置于顶层」设定的话,工作列的选单中的「置于顶层」选中状态不会同步,会不一致。 | 「快速切換小圖示」範例 | 「工作列選單」範例 | |--------------------|----------------| | ![快速切換小圖示範例](https://github.com/user-attachments/assets/c3a20474-bff1-4c6b-a23d-b6216f61fe80) | ![工作列選單範例](https://github.com/user-attachments/assets/f0aa8a3d-fd79-4c8f-9f61-5a2f...
e23bab9c2176676c6174f12c3d9afdd857e82c9d
f115d194c9198b63dc068e9dae3a3ad8ddc7e437
diff --git a/VPet-Simulator.Windows/PetHelper.xaml.cs b/VPet-Simulator.Windows/PetHelper.xaml.cs index 8f878e2c6..fd8b8bec5 100644 --- a/VPet-Simulator.Windows/PetHelper.xaml.cs +++ b/VPet-Simulator.Windows/PetHelper.xaml.cs @@ -1,6 +1,7 @@ using LinePutScript.Localization.WPF; using Panuon.WPF.UI; using System; +u...
[ "VPet-Simulator.Windows/PetHelper.xaml.cs" ]
[]
true
LorisYounger/VPet
489
issue_to_patch
[BUG] 允许照片图库以翻译文本进行搜寻
修复现在无法用翻译语言进行搜寻的BUG。 例如zh-Hant时,要搜寻「猫猫」才可以找到「貓貓」。而直接搜寻「貓貓」则没有结果。 ### 目前情況演示: ![貓貓](https://github.com/user-attachments/assets/303b53a3-9404-462f-9727-267a23d55b1c) ![猫猫](https://github.com/user-attachments/assets/7d341a70-6e35-4e79-8813-e65dbb520446)
e668a31a8c3d217f7d5038c823eea1029828c7d2
96531785ca79b9e38efc2c5ca51d55923a75b869
diff --git a/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs index c779143ec..eb66cc70c 100644 --- a/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs @@ -118,7 +118,8 @@ public void RefreshList() ...
[ "VPet-Simulator.Windows/WinDesign/winGallery.xaml.cs" ]
[]
true
LorisYounger/VPet
481
issue_to_patch
添加「统计资讯」面板翻译
![image](https://github.com/user-attachments/assets/a7788472-1e1b-440b-9578-aa49f918aed0) ## 添加翻译: - `0_f_sd`: 心情與口渴值同時為0的次數 - `autogift`: 自動購買餐飲次數 - `bb_food`: 特殊商品總計花費 是根据代码推论参数的定义,如果有弄错请随便修正。 叫做「特殊商品」是因爲 [Food.cs](https://github.com/LorisYounger/VPet/blob/main/VPet-Simulator.Windows.Interface/Mod/Food.cs...
53e599eacc7a3a6f1d355b47d45c4268e14ab4f0
122dd783287e941710482cc35a4f67d351bcb66c
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2310.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2310.lps index 8961def20..7ac033da2 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2310.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2310.lps @@ -5,7 +5,10 @@ 购买次数#Purc...
[ "VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2310.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Prog2310.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2310.lps" ]
[]
true
LorisYounger/VPet
484
issue_to_patch
增加流式传输支持
在Talk box中可以使用 如 DisplayThinkToSayRnd(); ... update(内容); ... endGenerate(); 直接展示 生成对话 DisplayThinkToSayRnd()为函数重载 用于开始显示对话框等初始动作。 update 是定义的函数用于跟新事件。 endGenerate() 是生成完成后用于通知对话框完成的函数。
d485926e64de8d411de0322052484a153979d11b
a99b436195efe83d96c0cd02f23b6c209ed1c8a8
diff --git a/VPet-Simulator.Core/Display/MainLogic.cs b/VPet-Simulator.Core/Display/MainLogic.cs index 4664d8e82..f2d6018e6 100644 --- a/VPet-Simulator.Core/Display/MainLogic.cs +++ b/VPet-Simulator.Core/Display/MainLogic.cs @@ -3,13 +3,15 @@ using System; using System.Collections.Generic; using System.Linq; +using ...
[ "VPet-Simulator.Core/Display/MainLogic.cs", "VPet-Simulator.Core/Display/MessageBar.xaml.cs", "VPet-Simulator.Core/Handle/Function.cs", "VPet-Simulator.Core/Handle/SayInfo.cs", "VPet-Simulator.Windows.Interface/TalkBox.xaml.cs", "VPet-Simulator.Windows/MainWindow.cs", "VPet-Simulator.Windows/WinDesign/w...
[]
true
LorisYounger/VPet
472
issue_to_patch
[建议] 对话等候剩余时间bar改进
27c848e5e4fc61b8d9315cab499e539f9f8c8d09
da8cae9579a32afb3e122cf72328f1575a2eab52
diff --git a/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs b/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs index 41f0831a1..c0bba16ce 100644 --- a/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs @@ -28,6 +28,7 @@ public partial class TalkSelect :...
[ "VPet-Simulator.Windows/WinDesign/TalkSelect.xaml.cs" ]
[]
true
LorisYounger/VPet
467
issue_to_patch
修复收藏按钮显示bug
修复「从已收藏工作,切换到其他工作类型后,收藏按钮仍会保持亮起」的bug 修复前的情况: https://github.com/user-attachments/assets/533c2e0a-d8a9-4c80-9659-4caed77973f4
a26e6c9370b7484f285763766d26863806c01bc5
fd187cfa2ab69484fcaf874c21a5e2fbdf9189aa
diff --git a/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs b/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs index 59b2a1f14..7b6a08f95 100644 --- a/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs @@ -244,6 +244,7 @@ private void detailTypes_Se...
[ "VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml.cs" ]
[]
true
LorisYounger/VPet
468
issue_to_patch
修复日程开始后,无法滚动浏览日程內容问题
增加了一层Grid允许ScrollViewer卷动 修复前: https://github.com/user-attachments/assets/cf8bd8ab-afc6-41f8-8f82-dca57cbf8485 修复后: https://github.com/user-attachments/assets/1e36f497-ae69-4b05-a0bb-58a5e54ac670
fe5ac5a280f327bf0f52cebfb46e90d28bf3795a
d2a78248c49b8b15d31404b2628e23af8e40eaec
diff --git a/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml b/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml index fc97a6be6..41321681b 100644 --- a/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml +++ b/VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml @@ -369,58 +369,58 @@ ...
[ "VPet-Simulator.Windows/WinDesign/winWorkMenu.xaml" ]
[]
true
LorisYounger/VPet
460
issue_to_patch
错误修复及功能改进
修复加载MOD时,如果主线程长时间阻塞,导致加载完成后加载消息框无法消除的错误 使MOD加载异常信息显示更详细
a26e6c9370b7484f285763766d26863806c01bc5
5af57861ad1b55551f6cdbeb69a4f5439ca990f9
diff --git a/VPet-Simulator.Windows/Function/CoreMOD.cs b/VPet-Simulator.Windows/Function/CoreMOD.cs index 479f8847e..2d392d400 100644 --- a/VPet-Simulator.Windows/Function/CoreMOD.cs +++ b/VPet-Simulator.Windows/Function/CoreMOD.cs @@ -400,7 +400,7 @@ public CoreMOD(DirectoryInfo directory, MainWindow mw) ...
[ "VPet-Simulator.Windows/Function/CoreMOD.cs", "VPet-Simulator.Windows/MainWindow.cs" ]
[]
true
LorisYounger/VPet
458
issue_to_patch
修正繁體中文
好久不見 今天終於有空把之前不知道為何卡Merge的檔案刪了重用過一份 懶得備份 所以有的句子是重打的,跟之前不一樣 很多內地流行的外面的人看起來會滿臉問號(我有陸抖所以大致了解,但大部分外網的不懂) 有的改了有的沒改(沒靈感)(頭好痛)(眼好花) 之後再改 如果可以的話盡量把文句分檔(例如:更好買的商品一個檔案、對話一個檔案) 有看到部份分檔了但有的還有點亂 更細緻的話 ``` 產品1名稱 產品1敘述 產品2名稱 產品2敘述 ... ``` ``` 對話1 對話1回應 對話2 對話2回應 ... ``` 其實左邊應該要用命名空間的,而不是直接用遊戲內文字 例如目前是「猪肉脯...
02e5ed6d904186bb7c65bfacf8f84417573d52fb
85d0c12e3e36e6c389f74d2b68000dc245302104
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps index ceb501c3f..b165b528f 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps @@ -36,...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2406.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2408.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2409.lps", "VPet-Simulator.Windows/mod/0000_core/lang/z...
[]
true
LorisYounger/VPet
433
issue_to_patch
fixed issue #431
13313a7828aa441561c38324995ad1d973632284
33b684e15757cfaa39e68df57fa880ff74600369
diff --git a/VPet-Simulator.Windows.Interface/Mod/Photo.cs b/VPet-Simulator.Windows.Interface/Mod/Photo.cs index 17c406cb0..5649a9c92 100644 --- a/VPet-Simulator.Windows.Interface/Mod/Photo.cs +++ b/VPet-Simulator.Windows.Interface/Mod/Photo.cs @@ -484,7 +484,9 @@ public void LoadUserInfo(IMainWindow imw) public s...
[ "VPet-Simulator.Windows.Interface/Mod/Photo.cs" ]
[]
true
LorisYounger/VPet
434
issue_to_patch
fixed issue #426
7207e26023e5d0c6c78508def77c0bd1b0e619de
6240475a7295149934e4c3892e3572f1f60b74f1
diff --git a/VPet-Simulator.Windows/WinDesign/winGallery.xaml b/VPet-Simulator.Windows/WinDesign/winGallery.xaml index dd250afa8..22f7fcda4 100644 --- a/VPet-Simulator.Windows/WinDesign/winGallery.xaml +++ b/VPet-Simulator.Windows/WinDesign/winGallery.xaml @@ -139,8 +139,12 @@ <TextBlock x:Name="Te...
[ "VPet-Simulator.Windows/WinDesign/winGallery.xaml" ]
[]
true
LorisYounger/VPet
424
issue_to_patch
照片图库功能
0060f03bdaefcbf2901402a9c4cc2c0ec22ea952
59fbdf9d80178d1bcbd778832eb9a76ac3961332
diff --git a/.gitignore b/.gitignore index 13a925edb..4fa8eba47 100644 --- a/.gitignore +++ b/.gitignore @@ -349,7 +349,7 @@ MigrationBackup/ # Ionide (cross platform F# VS Code tools) working folder .ionide/ -*.zip + *.rar *_PDLC_* *_DLC_* diff --git a/README.md b/README.md index 318e69488..c5dcd16cd 100644 ---...
[ ".gitignore", "README.md", "README_en.md", "README_ja.md", "README_zht.md", "VPet-Simulator.Core/Display/basestyle.xaml", "VPet-Simulator.Windows.Interface/Mod/Photo.cs", "VPet-Simulator.Windows/App.xaml", "VPet-Simulator.Windows/MainWindow.cs", "VPet-Simulator.Windows/VPet-Simulator.Windows.cspro...
[]
true
LorisYounger/VPet
373
issue_to_patch
更新繁體中文
目前不太清楚「訪客表」是幹嘛的,但這個名詞在繁中應該不正確,暫時修訂為訪客清單(還沒想到好一點的叫法)
76617dc2cf04c3b896dfafe034b34116fb18d1b0
ccd4cda35d8d7710aeb8a1336d516969e4448199
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps index 0b11a321a..a4a53dc10 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps @@ -1,8...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2403.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2312.lps" ]
[]
true
LorisYounger/VPet
362
issue_to_patch
修正缩放导致选择当前屏幕范围错误
通过获取缩放解决该问题
537e0a549ca4f64da87b6ce88dffacb7178e6ee3
c80647fc17f5819e0782c652380592bd05aa700a
diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index 6246bc85c..c9ad5d5dc 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -758,7 +758,28 @@ private void B...
[ "VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs" ]
[]
true
LorisYounger/VPet
337
issue_to_patch
v1.10
5bea4c2a7494edb1258a5ac4580c6fb169e8a1e4
a5522bc6636a8db62976efe23196cbd264433189
diff --git a/.editorconfig b/.editorconfig index 5f3f6ee3c..61c8ce4a2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,3 +7,134 @@ dotnet_diagnostic.CS1573.severity = suggestion dotnet_diagnostic.CS1570.severity = suggestion # CS8632: 只能在 "#nullable" 注释上下文内的代码中使用可为 null 的引用类型的注释。 dotnet_diagnostic.CS8632.severit...
[ ".editorconfig", ".gitignore", "VPet-Simulator.Core/Display/Main.xaml", "VPet-Simulator.Core/Display/Main.xaml.cs", "VPet-Simulator.Core/Display/MainDisplay.cs", "VPet-Simulator.Core/Display/MainLogic.cs", "VPet-Simulator.Core/Display/MessageBar.xaml", "VPet-Simulator.Core/Display/MessageBar.xaml.cs",...
[]
true
LorisYounger/VPet
333
issue_to_patch
【翻译修复】我设定本扔那里去了->我设定本扔哪里去了
c9134a1d6dd79fc98da65e9573fcdb7d206d1465
b82439a6ae061cc664fbe566a211acfdf2a2a5b4
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2308.lps index afb3cad92..8412e1c22 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2308.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2308.lps @@ -63,7 +63,7 @@ chatGPT,启...
[ "VPet-Simulator.Windows/mod/0000_core/lang/en/Text2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hans/Text2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Text2308.lps", "VPet-Simulator.Windows/mod/0000_core/text/ClickText.lps" ]
[]
true
LorisYounger/VPet
321
issue_to_patch
更新繁體中文
00a920d354479a8abc288ebad6d589b7804ec0ed
6a916f1d679794711ef3ac714c11a44f82599eb2
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2401.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2401.lps index c16d5d351..417ee77bf 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2401.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2401.lps @@ -1,6...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2401.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Limit.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Solution.lps" ]
[]
true
LorisYounger/VPet
313
issue_to_patch
更新繁體中文
1b8f99ce8522e6ed7c31bf70760e0db7484be43d
daa58465a144a7430cbef1d07b2987b22bd49dd3
diff --git a/README_zht.md b/README_zht.md index dc465a0fb..bab1a734b 100644 --- a/README_zht.md +++ b/README_zht.md @@ -59,7 +59,7 @@ * 自訂桌寵工作內容 * 對話內容 * 主題 -* 代碼插件:編撰程式碼來加入新內容 +* 程式碼外掛:編撰程式碼來加入新內容 * 加入新的動畫邏輯或顯示效果(例如:l2d/spine等) * 加入新功能(鬧鐘、記事本等) * 幾乎無所不能,範例請見[VPet.Plugin.Demo](https://github.com/LorisYoung...
[ "README_zht.md", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Limit.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2312.lps" ]
[]
true
LorisYounger/VPet
309
issue_to_patch
Add zht README by DragonTaki
c85c381c07444b9eba93bfd27bd6c016152d4abd
cdf1cbd616c020eb8d515afd655641f3a0089e8f
diff --git a/README.md b/README.md index b5583caf6..e10ba5468 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # VPet-Simulator -简体中文 | [English](./README_en.md) | [日本語](./README_ja.md) +简体中文 | [繁體中文](./README_zht.md) | [English](./README_en.md) | [日本語](./README_ja.md) 虚拟桌宠模拟器 一个开源的桌宠软件, 可以内置到任何WPF应用程序 @@...
[ "README.md", "README_en.md", "README_ja.md", "README_zht.md" ]
[]
true
LorisYounger/VPet
300
issue_to_patch
新增繁中CONTRIBUTING檔案
0ebd1285aec296a672462c42e9894e61f57f67a2
7a03f563041ccf3395c6f357b28217acce318a6c
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b31d69a73..e8dcbef81 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,4 @@ -简体中文 | [English](./CONTRIBUTING_en.md) +简体中文 | [繁體中文](./CONTRIBUTING_zht.md) | [English](./CONTRIBUTING_en.md) ## 参与开发 diff --git a/CONTRIBUTING_en.md b/CONTRIBUTING_en.md i...
[ "CONTRIBUTING.md", "CONTRIBUTING_en.md", "CONTRIBUTING_zht.md", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Limit.lps" ]
[]
true
LorisYounger/VPet
292
issue_to_patch
靠近边缘时重新归位
添加了靠近边缘时重新归位。 main window 25% 出屏幕时触发。 防止卡在屏幕边缘,防止多显示屏时卡在屏幕分界线。
3eb48aefe76de0f3edd6c5846fbc7fcb26d4e7e2
dfa4d3df3e316f3997a86933d0b3a54b27810946
diff --git a/VPet-Simulator.Core/Display/MainDisplay.cs b/VPet-Simulator.Core/Display/MainDisplay.cs index 08f325178..b325e1127 100644 --- a/VPet-Simulator.Core/Display/MainDisplay.cs +++ b/VPet-Simulator.Core/Display/MainDisplay.cs @@ -28,6 +28,7 @@ public partial class Main /// </summary> public voi...
[ "VPet-Simulator.Core/Display/MainDisplay.cs", "VPet-Simulator.Core/Handle/IController.cs", "VPet-Simulator.Windows/Function/MWController.cs" ]
[]
true
LorisYounger/VPet
283
issue_to_patch
上次忘記了個檔案
Prog2310.lps的第13行跟42行重複了(以42為準)
183a1659f55d8ea2cc2c5dc7ea03d064a28bae0b
7e96c18ea5ea51d3bcd9a690ca58961fe606ed49
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2310.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2310.lps index 81b62ac1f..d33473a5d 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2310.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2310.lps @@ -22,...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2310.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2310.lps" ]
[]
true
LorisYounger/VPet
284
issue_to_patch
Add Japanese README
I created Japanese translated README.
80228c99cf7c8ca8b3fb875c983ad397fda30902
b49cd76feb2c0e9d3bfacf793fab6888858cdc80
diff --git a/README.md b/README.md index ebf35b8b4..5c14df40b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # VPet-Simulator -简体中文 | [English](./README_en.md) +简体中文 | [English](./README_en.md) | [日本語](./README_ja.md) 虚拟桌宠模拟器 一个开源的桌宠软件, 可以内置到任何WPF应用程序 diff --git a/README_en.md b/README_en.md index 3b91b...
[ "README.md", "README_en.md", "README_ja.md" ]
[]
true
LorisYounger/VPet
280
issue_to_patch
更新繁體中文
修改了幾處舊的跟翻譯新的內容 PS:蘇打水並不是指加了蘇打的水,是跟可樂一樣有二氧化碳
5622ef495c0f17c0389d6383a6e832954405cca0
59939c5a94150fec2ba5ad5fffb4152d9a89366b
diff --git a/Tutorial_zht.md b/Tutorial_zht.md index e4f5f356d..631948eaf 100644 --- a/Tutorial_zht.md +++ b/Tutorial_zht.md @@ -1,20 +1,22 @@ -# 虛擬桌寵模擬器使用教程 +# 虛擬桌寵模擬器使用教學 -**本教程僅會在第一次啟動/操作更新時自動打開** *如果你每次啟動桌寵都能看到這個檔自動打開,那就是bug,請迴響給我* +**本教學只會在首次啟動/操作更新時自動開啟** -桌寵默認會打開[數據計算](#數據計算),打開數據計算後會計算桌寵心情/食物等消耗,需要玩家進行互動....
[ "Tutorial_zht.md", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2310.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Drink_v2.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps" ]
[]
true
LorisYounger/VPet
275
issue_to_patch
修复鼠标穿透菜单导致的空引用异常
e4206e5a0ffe18728856003444377c4a7d91fc7d
87d148a41b082d4598882d0ad62f4d6f8bb765e9
diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 40aad080a..d325d66ef 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -150,17 +150,6 @@ public MainWindow() { Topmost = ...
[ "VPet-Simulator.Windows/MainWindow.xaml.cs" ]
[]
true
LorisYounger/VPet
273
issue_to_patch
English translation
finished TextClick_v2
d0fdc65a307726264d6fbcc235e9437f921143d9
5c8b46fadd4d45fdec0d7e124d275d43cd21dd08
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps index 007d245bf..aff739a79 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps @@ -31,4 +31,4 @@ 重新开始#Res...
[ "VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/en/TextClick_v2.lps" ]
[]
true
LorisYounger/VPet
267
issue_to_patch
more english translation
c1a9182cb76c9c2c0e3fecf1d4722834dcd0854e
3b7d9dc0038b5fa39242e836fd103f928e4e719f
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps index 184e50622..aacbf1d28 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps @@ -188,10 +188,10 @@ text#...
[ "VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps", "VPet-Simulator.Windows/mod/0000_core/lang/en/Base2309.lps", "VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2307.lps", "VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/en/Text2308.lps", "...
[ { "comment": "I think that this should be `Interactions`", "path": "VPet-Simulator.Windows/mod/0000_core/lang/en/Base2306.lps", "hunk": "@@ -67,7 +67,7 @@ Y轴#Y-axis:|\n 使用桌宠开发者\\r提供的免费API#Use free VPET developer\\rprovided API:|\n 需遵循相关协议法律法规并有聊天字数限制#Applicable agreements, laws and regulations apply, an...
true
LorisYounger/VPet
262
issue_to_patch
better english translation
I am new to GitHub, i will continue to work and then upload more stuff at once - this was my first try. ' Basically i did create STEAM Mod for eng translation and i will continuosly update it. When its done - i will create pull request with all of the files. Hope this is OK. Its easier for me to play/translate the ST...
dc8dd5ea25f4a926c3189b0a7a35747c84b61699
409580f4bf4743e6090a58aa3f1a861e030849a5
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2307.lps b/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2307.lps index 5957fd655..05beda0cd 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2307.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/en/Text2307.lps @@ -1,46 +1,46 @@ -零食这种东西,总...
[ "VPet-Simulator.Windows/mod/0000_core/lang/en/Text2307.lps", "VPet-Simulator.Windows/mod/0000_core/lang/en/Text2308.lps" ]
[]
true
LorisYounger/VPet
263
issue_to_patch
更新繁體中文
可以先合併 基本上都在遊戲裡面看過並確認了 可以提新增物品的要求嗎?
1a44fdff45b887d4c1aacbf08e3ee43f9d43aead
59fc167ee4579f2f68e67dd39eebc8bb72ace111
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps index 8d68a34ce..d0ec91757 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps @@ -2,9...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2309.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/z...
[]
true
LorisYounger/VPet
260
issue_to_patch
为鼠标穿透菜单项提供选中状态
![image](https://github.com/LorisYounger/VPet/assets/50934714/728da99a-5529-4863-89a6-9b0faafc6e42)
af4985878683942b3f3bf8ecd20206915d5f7db7
93cecc0dfeb55ccb935f35f1e3050a8bca90b823
diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 4dfa6d945..9afd95b7f 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -792,7 +792,12 @@ await Dispatcher.InvokeAsync(new Action(() => m_men...
[ "VPet-Simulator.Windows/MainWindow.xaml.cs" ]
[]
true
LorisYounger/VPet
259
issue_to_patch
修复首次启动存档加载问题
### 问题描述 新用户首次打开游戏时,可能会出现停在“尝试加载游戏存档”然后闪退的情况 这是由于Steam会在启动游戏时同步云存档并创建一个并没有存档的Saves文件夹 游戏在读取时默认只要有Saves文件夹就有存档,并尝试读取,然后就会崩溃 ### 解决办法 非常简单,加个存档列表是否为空的判断就可以了(
af4985878683942b3f3bf8ecd20206915d5f7db7
33a39cb09989d46e0ea3d6fa221ef12cfe0bb906
diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 4dfa6d945..6534fefd0 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -287,7 +287,6 @@ public void LoadLatestSave(string petname) ret...
[ "VPet-Simulator.Windows/MainWindow.xaml.cs" ]
[]
true
LorisYounger/VPet
253
issue_to_patch
修正部分繁體中文翻譯
b5b64e4e035aae89942d2c8cdaf9598ab818127c
8fc508693e2b4a17d3359cb3b9766c2182bbed7b
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps index 1ea62210b..8d68a34ce 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps @@ -1,2...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps" ]
[]
true
LorisYounger/VPet
252
issue_to_patch
更新繁中月餅~祝大家中秋快樂
9d3970e9591b1daccd48e6d10e5c5ca52411df3c
e6bb80ae48a01fa6d21e58fbd9a0d59c49596b44
diff --git a/VPet-Simulator.Windows/mod/0000_core/info.lps b/VPet-Simulator.Windows/mod/0000_core/info.lps index 9f6139508..92c480070 100644 --- a/VPet-Simulator.Windows/mod/0000_core/info.lps +++ b/VPet-Simulator.Windows/mod/0000_core/info.lps @@ -5,4 +5,4 @@ itemid#1:| cachedate#2023/8/30:| lang#en:|这是虚拟桌宠模拟器的核心运行文...
[ "VPet-Simulator.Windows/mod/0000_core/info.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Limit.lps" ]
[]
true
LorisYounger/VPet
245
issue_to_patch
更新繁體中文用語
3e4fd51b96e59a1c44342325604f6813586e6ccb
d396d8ac8e1afc9547d62ae604863da3ac77a14f
diff --git a/VPet-Simulator.Windows/mod/0000_core/info.lps b/VPet-Simulator.Windows/mod/0000_core/info.lps index 9f6139508..92c480070 100644 --- a/VPet-Simulator.Windows/mod/0000_core/info.lps +++ b/VPet-Simulator.Windows/mod/0000_core/info.lps @@ -5,4 +5,4 @@ itemid#1:| cachedate#2023/8/30:| lang#en:|这是虚拟桌宠模拟器的核心运行文...
[ "VPet-Simulator.Windows/mod/0000_core/info.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Text2309.l...
[]
true
LorisYounger/VPet
240
issue_to_patch
更新繁體中文用語
看看有沒有一次更新兩個檔案
f278442c71d843a9c9130a6cafb46dd46c10e61c
f9ba7620b0ccb64bb1af7b0006a4ef0435b93a3d
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps index 87f41ef52..38dc2d9ae 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps @@ -3,7...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps", "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Text2307.lps", "VPet-Simulator.Windows/mod/0000_core/lang/z...
[]
true
LorisYounger/VPet
237
issue_to_patch
Update Prog2308.lps
修正繁體中文用語
75d48e6411ddce2c94056b3e0f010c4844841462
a08d2c3351dead80369a8be5913192b83f895920
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps index 853d001ee..0b588a0d0 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps @@ -1,3...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2308.lps" ]
[]
true
LorisYounger/VPet
236
issue_to_patch
Update Prog2307.lps
修正繁體中文用語
75d48e6411ddce2c94056b3e0f010c4844841462
0ff9c05e6ea9a787af09f5116c257100acd677b6
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2307.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2307.lps index 1743aa0bf..c32119e71 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2307.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2307.lps @@ -1,6...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Prog2307.lps" ]
[]
true
LorisYounger/VPet
235
issue_to_patch
Update Gift2308.lps
修正繁體中文用語
75d48e6411ddce2c94056b3e0f010c4844841462
ec602e97fd298205e4ff2a95bd5aca2ed6ae4a0a
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps index 7631c2973..36f83889d 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps @@ -1,1...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Gift2308.lps" ]
[]
true
LorisYounger/VPet
234
issue_to_patch
Update Base2306.lps
修正繁體中文用語
75d48e6411ddce2c94056b3e0f010c4844841462
89d46e45f73af9d302c7fb29748d61155f855470
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps index de105cdab..87f41ef52 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps @@ -70,...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps" ]
[]
true
LorisYounger/VPet
233
issue_to_patch
Update Base2309.lps
修正繁體中文用語
75d48e6411ddce2c94056b3e0f010c4844841462
0dfdaf30a5882c6cfb777bc93573dfd2590fe54e
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2309.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2309.lps index 2571b0282..0bc167b69 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2309.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2309.lps @@ -1,3...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2309.lps" ]
[]
true
LorisYounger/VPet
232
issue_to_patch
构造时矩形约束 v3
经试验,最快捷&代码量最少的去除错误高度的办法是把上面注释掉的那行高度设置给补回来
75d48e6411ddce2c94056b3e0f010c4844841462
6c52c524adf8633d8ad424556199a82a764fbbe4
diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index 19f8f4934..bb8d68c58 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -99,7 +99,7 @@ public MainWindow() //this.Height = 450 * ZoomSlider.Val...
[ "VPet-Simulator.Windows/MainWindow.xaml.cs" ]
[]
true
LorisYounger/VPet
230
issue_to_patch
Update Base2308.lps
修正繁體中文用語
eef5c5af8f4742842672b9d89ad83bcf12762cae
5aa442594ff056293d1b5a7b5325be670e827298
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps index 04e4663aa..496701c1e 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps @@ -1,4...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2308.lps" ]
[]
true
LorisYounger/VPet
229
issue_to_patch
Update Base2306.lps
修正繁體中文用語
b7c03197e4b09a8a4648e956b1451a7f4a6db321
e7a80030bf5f0ae3cf1e6e90a1f9890a08e4dec6
diff --git a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps index a367b3f3f..de105cdab 100644 --- a/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps +++ b/VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps @@ -1,8...
[ "VPet-Simulator.Windows/mod/0000_core/lang/zh-Hant/Base2306.lps" ]
[]
true
LorisYounger/VPet
226
issue_to_patch
try fix #225
e7e1c4ac0db0f9b305efa4d48d102186b77066b4
366c14d44bda650ecf680ff5615dd6bebad524c1
diff --git a/VPet-Simulator.Windows/MainWindow.xaml.cs b/VPet-Simulator.Windows/MainWindow.xaml.cs index c46ad3855..989215e1f 100644 --- a/VPet-Simulator.Windows/MainWindow.xaml.cs +++ b/VPet-Simulator.Windows/MainWindow.xaml.cs @@ -116,6 +116,15 @@ public MainWindow() var point = Set.StartRecordPo...
[ "VPet-Simulator.Windows/MainWindow.xaml.cs" ]
[]
true
MahApps/MahApps.Metro
4,555
issue_to_patch
Windows not movable with .NET 10 ## Describe the bug When compiling for .NET 10 (preview) MetroWindow are not responding to drag move operations. Windows are hard stuck. Happens to top level and child windows. Non-Metro windows move as expected. Window sizing is working - only moving seems to be affected. Both manu...
Use WindowInteropHelper to get the window handle
## Describe the changes you have made to improve this project Use WindowInteropHelper to get the window handle instead using reflection. CriticalHandle got renamed to Handle. Instead of using reflection the code should better use WindowInteropHelper to get window handle. ## Closed Issues <!-- Closes #xxxx ...
e4bb7608cb108c377ea877118c3113b4565a62bc
1814d54a2d5fb382a83554639983d42c55eb3d72
diff --git a/src/MahApps.Metro/Controls/MetroWindow.cs b/src/MahApps.Metro/Controls/MetroWindow.cs index a683aa804..c7eb7e8f1 100644 --- a/src/MahApps.Metro/Controls/MetroWindow.cs +++ b/src/MahApps.Metro/Controls/MetroWindow.cs @@ -8,7 +8,6 @@ using System.ComponentModel; using System.Diagnostics.CodeAnalysis; usin...
[ "src/MahApps.Metro/Controls/MetroWindow.cs" ]
[]
true
MahApps/MahApps.Metro
4,537
issue_to_patch
fix typo
just fixing a typo :)
a80b199516979bbedfaf96d0effd341b35475a02
5c23fc995c17994572e34427468b562dddf87dc6
diff --git a/src/MahApps.Metro/Styles/Themes/Theme.Template.xaml b/src/MahApps.Metro/Styles/Themes/Theme.Template.xaml index 23101ccc6..f343958a3 100644 --- a/src/MahApps.Metro/Styles/Themes/Theme.Template.xaml +++ b/src/MahApps.Metro/Styles/Themes/Theme.Template.xaml @@ -7,7 +7,7 @@ xmlns:system="...
[ "src/MahApps.Metro/Styles/Themes/Theme.Template.xaml" ]
[]
true
MahApps/MahApps.Metro
4,520
issue_to_patch
Update cake and MahApps.Metro.IconPacks
## Describe the changes you have made to improve this project Update cake to v4.0.0 and MahApps.Metro.IconPacks to v5.0.1. <!-- Is your feature request related to a problem? Please describe. A clear and concise description of what the change is. --> ## Unit test <!-- If it's possible then make a unit tes...
721af24d62f77a466596c8963c2f5c8db3a20481
9d9193f490b25cb4c853709b664a66044abf69b6
diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 8f3a4382f..da200cdae 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "cake.tool": { - "version": "3.1.0", + "version": "4.0.0", "commands": [ "d...
[ ".config/dotnet-tools.json", "build.cake", "global.json", "src/Directory.packages.props" ]
[]
true
MahApps/MahApps.Metro
4,485
issue_to_patch
Adding BackDrop
This PR adds a BackDrop to MetroWindow and improves the demo application to use native colored context menu settings.
f7ba30586e9670f07c2f7b6553d129a9e32fc673
02479e05f77569643dda4b0e1f161609ea8d4921
diff --git a/appveyor.yml b/appveyor.yml index 9f20981bca..f3dd285dc5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,6 +6,8 @@ branches: - main environment: + # bad, but without this, gitversion doesn't work anymore + IGNORE_NORMALISATION_GIT_HEAD_MOVE: 1 azure-key-vault-url: secure: 1mKS/HfCVq+iY...
[ "appveyor.yml", "build.cake", "src/Directory.Build.Props", "src/Directory.packages.props", "src/MahApps.Metro.Samples/MahApps.Metro.Demo/App.xaml.cs", "src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/ButtonsExample.xaml", "src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/DateExamples....
[]
diff --git a/src/Mahapps.Metro.Tests/Tests/AnimatedTabControlTest.cs b/src/Mahapps.Metro.Tests/Tests/AnimatedTabControlTest.cs index ae394fb7fb..adc9e84dbd 100644 --- a/src/Mahapps.Metro.Tests/Tests/AnimatedTabControlTest.cs +++ b/src/Mahapps.Metro.Tests/Tests/AnimatedTabControlTest.cs @@ -7,118 +7,131 @@ using MahApp...
true
MahApps/MahApps.Metro
4,508
issue_to_patch
Controls Do not get distinct automation ID's When using controls such as NumericUpDown, I am unable to get a unique automationID from the control. They all show up as this: The name is being set in the Xaml. Unfortunately I cannot really give a code snippet. ![mahappsautiomationid](https://cloud.githubusercontent.com/...
#2166 automatiopeer for numericupdown
I have added automationpeer to numericupdown ui element. The automation peer will let the numericupdown button to get automationids and name given from user which will ease the automation testing Closes #2166
509c9d7e559025754854e4472db3b3adaaf9ef38
a3b594947b4ade3159a306c9e9aa8294d2bd9c25
diff --git a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml b/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml index 9bfac4b50b..c555c141ec 100644 --- a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml +++ b/src/MahApps.Metro.Samples/Mah...
[ "src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml", "src/MahApps.Metro/Automation/Peers/NumericUpdDownAutomationPeer.cs", "src/MahApps.Metro/Controls/NumericUpDown.cs" ]
[]
true
MahApps/MahApps.Metro
4,478
issue_to_patch
Make MultiSelectionComboBox DropDown respect MaxDropDownHeight value
Currently MultiSelectionComboBox drop down height is always 200 and can't be changed. It should respect MaxDropDownHeight value. Change would make behavior similar to ComboBox style
8f1d02b457d21910fb0cedfff28b750db60ee6ee
269bfc495c3c8b57b6d0f742d0f421525e600bf3
diff --git a/src/MahApps.Metro/Themes/MultiSelectionComboBox.xaml b/src/MahApps.Metro/Themes/MultiSelectionComboBox.xaml index 4a4a4d732..54b2fba4b 100644 --- a/src/MahApps.Metro/Themes/MultiSelectionComboBox.xaml +++ b/src/MahApps.Metro/Themes/MultiSelectionComboBox.xaml @@ -437,7 +437,7 @@ ...
[ "src/MahApps.Metro/Themes/MultiSelectionComboBox.xaml" ]
[]
true
MahApps/MahApps.Metro
4,471
issue_to_patch
Bindings are broken in SplitView ## Bindings are broken in SplitView I had a form that was working...and to replace a dialog, i included all the form content in the SplitView and put the dialog in the pane. All was working till we saw that all previous bindings are broken, also the {Binding ElementName= ?? ## St...
Change SplitView to ContentControl
## Describe the changes you have made to improve this project Change SplitView from Control to ContentControl to fix these binding issues. Introduce also PaneTemplate dependency property and change the Pane property type to object. <!-- Is your feature request related to a problem? Please describe. A clear and ...
d432fcc68c42025e6cffa57910bd97e2901efa2b
0a940b4f69923243955d49886cf09b39dec6f687
diff --git a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/SplitViewExamples.xaml b/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/SplitViewExamples.xaml index 47323525c0..6eed529d6d 100644 --- a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/SplitViewExamples.xaml +++ b/src/MahApps.Me...
[ "src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/SplitViewExamples.xaml", "src/MahApps.Metro/Controls/SplitView/SplitView.cs" ]
[]
true
MahApps/MahApps.Metro
4,467
issue_to_patch
Add an option to always show ErrorTemplate text
## Describe the changes you have made to improve this project Original change from #4451 added by @nekizalb Add an option to always show ErrorTemplate text, regardless of focus or mouse over. This change introduces a new attached property in ValidationHelper to enable the behavior and a new style trigger that...
7fb6f9df1a1792ba1166770e96531c5980202482
90cc711809804937f932b6f6d9f0651319b4334f
diff --git a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml b/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml index 895a996b8..9bfac4b50 100644 --- a/src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml +++ b/src/MahApps.Metro.Samples/MahAp...
[ "src/MahApps.Metro.Samples/MahApps.Metro.Demo/ExampleViews/TextExamples.xaml", "src/MahApps.Metro/Controls/CustomValidationPopup.cs", "src/MahApps.Metro/Controls/Helper/ValidationHelper.cs", "src/MahApps.Metro/Styles/Controls.ValidationError.xaml" ]
[]
true
MahApps/MahApps.Metro
4,446
issue_to_patch
MetroWindow: Application Crash on Double-Clicking Upper Left Icon ## Description **Issue**: Double-clicking the icon in the upper left corner of a `MetroWindow` causes the application to crash. This behavior is observed even in the MahApps demo application. **Expected Behavior**: Double-clicking the icon typically...
Add new property CloseOnIconDoubleClick to MetroWindow
## Describe the changes you have made to improve this project Add new property CloseOnIconDoubleClick to allow disable closing window if the user double clicks on window icon. <!-- Is your feature request related to a problem? Please describe. A clear and concise description of what the change is. --> ## Un...
28bf41397b28dc738bf4db634994a4afcec826ad
5ea6fd1ff9b4c80f3c8e5f35fad7607620d04249
diff --git a/src/MahApps.Metro/Behaviors/WindowsSettingBehavior.cs b/src/MahApps.Metro/Behaviors/WindowsSettingBehavior.cs index 2ab6ae19fa..2e3b30c1ea 100644 --- a/src/MahApps.Metro/Behaviors/WindowsSettingBehavior.cs +++ b/src/MahApps.Metro/Behaviors/WindowsSettingBehavior.cs @@ -12,6 +12,7 @@ using Windows.Win32.Gr...
[ "src/MahApps.Metro/Behaviors/WindowsSettingBehavior.cs", "src/MahApps.Metro/Controls/Dialogs/DialogManager.cs", "src/MahApps.Metro/Controls/MetroWindow.cs", "src/MahApps.Metro/Controls/WindowButtonCommands.cs", "src/MahApps.Metro/Native/PInvokeExtensions.cs", "src/MahApps.Metro/Native/WinApiHelper.cs", ...
[]
true
MahApps/MahApps.Metro
4,412
issue_to_patch
DateTimePicker no longer supports milliseconds. My project requires millisecond timing in selecting dates. Under 1.6.5, we were able to re-template to add this because SelectedTime was a separate property. Now that the only reading of time comes from GetSelectedTimeFromGUI, we cannot override that handling. I'd like...
Make GetSelectedTimeFromGUI virtual
## Describe the changes you have made to improve this project - Make GetSelectedTimeFromGUI virtual to allow overriding handling of DateTime to support milliseconds again. Based on discussion in #4274 ## Unit test I don't think they would be meaningful for this change. ## Closed Issues Closes #4274
833cf44681e102c522c7f6e1d6984f101202bc48
c6e9256f030a7592640e1fb543a485ee92c33a42
diff --git a/src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs b/src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs index de3f6e2499..3698a3e7a1 100644 --- a/src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs +++ b/src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs @@ -941,7 +941,7 @@ private stati...
[ "src/MahApps.Metro/Controls/TimePicker/TimePickerBase.cs" ]
[]
true
MahApps/MahApps.Metro
4,407
issue_to_patch
when restoring window size use the DPI scale factor
## Describe the changes you have made to improve this project I noticed that restoring the window size wasn't very consistent - and on a brand new test project it would get smaller each time it was opened and closed. Reviewing the code it looks like WindowPlacementSetting uses the DPI to adjust the scale factor when...
924425fd8dc76d05680cd179172d154b3ea0b2c2
9669216eda97851812efda451e8e7021d5165657
diff --git a/src/MahApps.Metro/Controls/WinApiHelper.cs b/src/MahApps.Metro/Controls/WinApiHelper.cs index dceb7d191..21a0347c6 100644 --- a/src/MahApps.Metro/Controls/WinApiHelper.cs +++ b/src/MahApps.Metro/Controls/WinApiHelper.cs @@ -89,10 +89,13 @@ public static unsafe void SetWindowPlacement(Window? window, WINDOW...
[ "src/MahApps.Metro/Controls/WinApiHelper.cs" ]
[]
true
MahApps/MahApps.Metro
4,443
issue_to_patch
the v3.0 should build against .net 7 and .net 8 also
Replacing .NET versions
## Describe the changes you have made to improve this project - Replacing .NET versions to .NET 8, .NET 6, .NET Framework 4.6.2 <!-- Is your feature request related to a problem? Please describe. A clear and concise description of what the change is. --> ## Unit test <!-- If it's possible then make a uni...
4b5ad8fbe56fbb330438595cbaed3c3e23ceafad
234788b391af0b88cc8ca718d1a1933f83ca132f
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 987679c6d..96ff85ae3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: | - 5.x 6.x + 8....
[ ".github/workflows/ci.yml", "appveyor.yml", "src/Directory.Build.Props", "src/Directory.Build.Targets", "src/Directory.packages.props", "src/MahApps.Metro/Directory.Build.Targets", "src/MahApps.Metro/Directory.Build.props", "src/MahApps.Metro/MahApps.Metro.csproj", "src/MahApps.Metro/MahAppsExceptio...
[]
diff --git a/src/Mahapps.Metro.Tests/Tests/MathConverterTests.cs b/src/Mahapps.Metro.Tests/Tests/MathConverterTests.cs index bea83146e..8e009fc55 100644 --- a/src/Mahapps.Metro.Tests/Tests/MathConverterTests.cs +++ b/src/Mahapps.Metro.Tests/Tests/MathConverterTests.cs @@ -2,7 +2,6 @@ // The .NET Foundation licenses th...
true