Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:49
    Coding-Enthusiast opened #3330
  • Dec 06 22:46
    MarchingCube review_requested #3320
  • Dec 06 21:48
    MarchingCube synchronize #3320
  • Dec 06 21:44

    Gillibald on master

    Add GlyphRun support Fix some comments and GlyphRun.… Merge pull request #3202 from G… (compare)

  • Dec 06 21:44
    Gillibald closed #3202
  • Dec 06 21:14
    Gillibald synchronize #3202
  • Dec 06 21:12
    donandren closed #3309
  • Dec 06 20:13
    Gillibald synchronize #3202
  • Dec 06 18:44
    Gillibald synchronize #3202
  • Dec 06 16:38

    Gillibald on master

    Reworked the font manager to be… Merge branch 'master' into rewo… Fix FormattedTextImpl with fall… and 6 more (compare)

  • Dec 06 16:38
    Gillibald closed #3234
  • Dec 06 16:38
    Gillibald closed #3224
  • Dec 06 16:38
    Gillibald commented #3234
  • Dec 06 16:38
    lsoft commented #3323
  • Dec 06 15:54
    Gillibald synchronize #3234
  • Dec 06 15:53
    Gillibald synchronize #3202
  • Dec 06 15:45
    grokys commented #3323
  • Dec 06 15:44
    grokys labeled #3328
  • Dec 06 15:37
    igorstefus opened #3328
  • Dec 06 15:11
    Gillibald synchronize #3234
Pieter-Jan Briers
@PJB3005
That's my project
Steven Kirk
@grokys
so it's your project that's trying to extract the zip file
at SS14.Launcher.Helpers.ExtractZipToDirectory
Pieter-Jan Briers
@PJB3005
This is that 2 line helper
public static void ExtractZipToDirectory(string directory, Stream zipStream)
{
    using var zipArchive = new ZipArchive(zipStream);
    zipArchive.ExtractToDirectory(directory);
}
yeah but the thing is, why is it getting confused with avalonia.logging.serilog
Steven Kirk
@grokys
yeah, that part is strange ;)
Jeremy Koritzinsky
@jkoritzinsky
Can you use an IL decompiler to look at the IL to see where it's saying the type is?
Pieter-Jan Briers
@PJB3005
lemme try that I guess
Jeremy Koritzinsky
@jkoritzinsky
I want to try to figure out if this is a runtime bug, compiler bug, or XamlIL bug
Pieter-Jan Briers
@PJB3005
    // method line 11
    .method public static hidebysig 
           default void ExtractZipToDirectory (string directory, class [mscorlib]System.IO.Stream zipStream)  cil managed 
    {
        // Method begins at RVA 0x2430
    // Code size 27 (0x1b)
    .maxstack 2
    .locals init (
        class [System.IO.Compression]System.IO.Compression.ZipArchive    V_0)
    IL_0000:  ldarg.1 
    IL_0001:  newobj instance void class [System.IO.Compression]System.IO.Compression.ZipArchive::'.ctor'(class [mscorlib]System.IO.Stream)
    IL_0006:  stloc.0 
    .try { // 0
      IL_0007:  ldloc.0 
      IL_0008:  ldarg.0 
      IL_0009:  call void class [System.IO.Compression.FileSystem]System.IO.Compression.ZipFileExtensions::ExtractToDirectory(class [System.IO.Compression]System.IO.Compression.ZipArchive, string)
      IL_000e:  leave.s IL_001a

    } // end .try 0
    finally  { // 0
      IL_0010:  ldloc.0 
      IL_0011:  brfalse.s IL_0019

      IL_0013:  ldloc.0 
      IL_0014:  callvirt instance void class [mscorlib]System.IDisposable::Dispose()
      IL_0019:  endfinally 
    } // end handler 0
    IL_001a:  ret 
    } // end of method Helpers::ExtractZipToDirectory
Well the first questionable thing is, why is it doing [System.IO.Compression.FileSystem]System.IO.Compression.ZipFileExtensions
apisof says ZipFileExtensions lives in System.IO.Compression.ZipFile
ok yeah what the hell, there IS an System.IO.Compression.FileSystem assembly in my publish output and it targets framework
where the hell is that coming from
Nikita Tsukanov
@kekekeks
you can figure that out from deps.json
Jeremy Koritzinsky
@jkoritzinsky
Probably another type forwarder
My guess based on the IL would be that this might be a runtime bug
Pieter-Jan Briers
@PJB3005
Ok yeah Rider is saying these target Framework 4.7.2 but I'm not sure that's right
image.png
Jeremy Koritzinsky
@jkoritzinsky
Rider might be resolving them from the GAC instead of from your output folder
Pieter-Jan Briers
@PJB3005
I was directly opening specific files with a file dialog so that seems unlikely to me
and yeah if I right click -> show in dolphin, it selects the correct file
WELP I updated the avalonia nuget package aaand it all started working
amazing
also as for deps.json, it says the file came from runtimepack.Microsoft.NETCore.App.Runtime.linux-x64/3.0.0
Pieter-Jan Briers
@PJB3005
Nevermind, I must've fucked up that test
it's still borked
Hank G
@HankG
what's the link to the vector icons repo?
I thought I started it but I can't find it
Hank G
@HankG
thanks!
@ahopper is GeometryDrawing the same syntax as the Canvas Path data or different?
ahopper
@ahopper
the same I think
Hank G
@HankG
cool
I see you have a bunch of Material icons
cool
ahopper
@ahopper
https://github.com/MahApps/MahApps.Metro.IconPacks has better documentation of the icons and sources (except the vscode and visual studio ones)
Hank G
@HankG
I actually prefer Material Design icons...should I just use that?
(that = the other app)
ahopper
@ahopper
it does not work in Avalonia
Hank G
@HankG
oh k
yeah doesn't run on Linux so that made that choice easy :)
Coding Enthusiast
@Coding-Enthusiast
Is there any way I could add a "group style" to a ListBox? Specifically speaking, I'm trying to convert this WPF of mine to Avalonia and am stuck at this part: https://github.com/Coding-Enthusiast/BitcoinTransactionTool/blob/20dfad47baf2dc68d23d5314531eeddcca7a3778/BitcoinTransactionTool/MainWindow.xaml#L108-L131
Andrey Kunchev
@donandren
@Coding-Enthusiast you might want to use DataGrid it has support for grouping
Coding Enthusiast
@Coding-Enthusiast
:point_up: December 7, 2019 12:21 PM
I can't find it in latest prerelease.
Andrey Kunchev
@donandren
@Coding-Enthusiast it's in Avalonia.DataGrid nuget package (or something similar)
Coding Enthusiast
@Coding-Enthusiast
@donandren Thanks, it was called Avalonia.Controls.DataGrid package. I'm testing it to see how it works.
Coding Enthusiast
@Coding-Enthusiast
group.jpg
That was awesome, thanks again.