These are chat archives for AvaloniaUI/Avalonia

25th
Sep 2017
Steven Kirk
@grokys
Sep 25 2017 00:19
Yeah I like the one you linked to. I'd be fine with using that!
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 09:21
@kekekeks Fixed my build issues by using #tool "nuget:?package=NuGet.CommandLine&version=4.3.0" in cake build script
Nikita Tsukanov
@kekekeks
Sep 25 2017 09:22
Hm....
Oh, so it was Cake failing the build
What exactly are you using for package restore?
to restore packages for solution
Nikita Tsukanov
@kekekeks
Sep 25 2017 09:24
I think, it could be changed to running msbuild.exe /t:Restore
Which will have the correct version of nuget bundled in
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 09:25
Well I want to use built-in cake commands for that
Nikita Tsukanov
@kekekeks
Sep 25 2017 09:25
At least that's what I think visual studio does internally
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 09:25
Anyway controlling nuget version is also good option
we had in past this issues with Avalonia
@kekekeks we may want to switch to stable version here
#tool "nuget:?package=NuGet.CommandLine&version=4.3.0"
Nikita Tsukanov
@kekekeks
Sep 25 2017 09:26
That might be the reason why we have to restore packages multiple times
Once for MSBuild-based build, and each time when we run tests using dotnet utility
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 14:48
@kekekeks Submited AvaloniaUI/Avalonia#1158
Nikita Tsukanov
@kekekeks
Sep 25 2017 14:51
I had to roll it back because of https://youtrack.jetbrains.com/issue/RSRP-466014
They've fixed the most common case, we could workaround the second one by changing our code
Or was it already changed? Don't quite remember
Yep, I've moved the null check
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 14:54
So we can update?
Nikita Tsukanov
@kekekeks
Sep 25 2017 14:55
Well, let's run a build on AppVeyor and check if it's working
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 14:55
ok
Nikita Tsukanov
@kekekeks
Sep 25 2017 15:22
Hm
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 15:22
I have reverted change, this probably needs separate PR
Nikita Tsukanov
@kekekeks
Sep 25 2017 15:23
Yeah, we need to fix our code
Warning in SystemDialogImpl also seems to be a valid one
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 15:23
ok
After CI finishes AvaloniaUI/Avalonia#1158 is ready for review
git reset --hard daaf2fdd79e25a3aeafe95eed88f2a9b7157a85e && git push origin Build-Script-Updates --force
All checks have passed on that revision
Wiesław Šoltés
@wieslawsoltes
Sep 25 2017 15:33
done
Nikita Tsukanov
@kekekeks
Sep 25 2017 15:35
BTW, I've managed to get our build to produce net461-targeted binaries on Linux
Mono is segfaulting when Moq tries to create proxies though
So tests don't work
Paul Johnson
@rustybox
Sep 25 2017 15:40
Hello! Is there a roadmap document anywhere? Anywhere near stable API?
Nikita Tsukanov
@kekekeks
Sep 25 2017 15:41
There is a roadmap, but it's outdated
Platform-independent API is more or less stable, but it will change
Platform-dependent API (aka platform-plugin API) probably won't ever be stable, but you shouldn't need to touch it to write your app (just stay away from everything with Impl suffix)
Another thing that is a subject to change in immediate future, is initialization code, but it's just a couple of lines in your Program.cs
You can also see some stuff planned for the next release here
Paul Johnson
@rustybox
Sep 25 2017 15:49
OK cheers. It's time to have a play I guess :)
Nikita Tsukanov
@kekekeks
Sep 25 2017 16:41
I think, I've accidentally broken comment parser in Hanselman's blog...
Jeremy Koritzinsky
@jkoritzinsky
Sep 25 2017 16:44
hahaha nice.
Gitter's whole page has had an issue like that for a while for me in Edge. I'm actually used to it by now...
Idea for a forum: host a forum on the avaloniaui.net domain, either forum.avaloniaui.net or avaloniaui.net/forum ?
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 16:59
The intro page still links to @grokys his github
Nikita Tsukanov
@kekekeks
Sep 25 2017 17:13
The main problem with the forum
is neither domain or hosting
It's moderation
Jeremy Koritzinsky
@jkoritzinsky
Sep 25 2017 17:14
Yeah I know. Moderation is most definitely an issue, especially for a small group like ours
Nikita Tsukanov
@kekekeks
Sep 25 2017 17:15
We can mitigate that by using some anti-bot technology, but still
BTW, does anyone know a good forum engine that you can host in a docker container?
I've been using phpbb last time I'd needed to set up a forum
But that was in 2010
Jeremy Koritzinsky
@jkoritzinsky
Sep 25 2017 17:25
I'll do some research over the next few weeks when I have time.
What platform are we running avaloniaui.net on?
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 17:27
Looks like bootstrap
Jeremy Koritzinsky
@jkoritzinsky
Sep 25 2017 17:28
I was more-so wondering OS image and the like so I can narrow down forum sw
MonkAlex
@MonkAlex
Sep 25 2017 17:32
forums die, i think. why u want it?
Jeremy Koritzinsky
@jkoritzinsky
Sep 25 2017 17:33
More structured discussion/questions about Avalonia. Gitter is nice but it's really hard to scroll back through.
Looks like Discourse supports docker (its only supported install method actually is via docker)
MonkAlex
@MonkAlex
Sep 25 2017 17:35
stackoverflow the best for Q\A. Forums for discussion and other big threads
Nikita Tsukanov
@kekekeks
Sep 25 2017 17:37

What platform are we running avaloniaui.net on?

It's hosted on my dedicated server running Ubuntu 14.04

It has docker installed, so I'd prefer to use containerized setup if possible

forums die, i think. why u want it?

It's needed mostly for QA and knowledge base, I think

Jeremy Koritzinsky
@jkoritzinsky
Sep 25 2017 17:41
From a cursory glance Discourse would work and can only be installed in a containerized setup.
Nikita Tsukanov
@kekekeks
Sep 25 2017 17:44
Seems to be something like a subreddit
Not a forum in a classic sense
May be a subreddit would be a better solution
Jeremy Koritzinsky
@jkoritzinsky
Sep 25 2017 17:50
I'd be fine with a subreddit. We all have a relatively reasonable reddit presence anyway and AutoModerator works pretty well from my experience.
MonoGame uses discourse so that's why it popped into my mind initially
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 17:52
Anyone has had issues with rider not adding files to the solution?
Nikita Tsukanov
@kekekeks
Sep 25 2017 17:53
With .NET Core it shouldn't
I've reserved https://www.reddit.com/r/AvaloniaUI/ for now
But I'm not sure if it's the best solution
The good thing about reddit is that you don't need to register at yet another website
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 18:01
Is there a projitems file for avalonia.controls?
As the csproj doesn't contain a list of references to the files
Nikita Tsukanov
@kekekeks
Sep 25 2017 18:05
It shouldn't
With the new project format MSBuild automatically adds <Compile Include="**\*.cs"/> item
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 18:09
Oh derp
Renamed the file but no the class
The file that I added to the win32 shared project didn't get added correctly by rider though
Nikita Tsukanov
@kekekeks
Sep 25 2017 18:10
Yeah, shared project support is broken there
We should probably get rid of them and include files directly
It's better to manually edit csproj files and not rely on the UI
Since it's broken even in visual studio
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 19:13
@kekekeks I made a new pr to fix an issue with the screen implementation, while being sick I fixed it for monomac but not for the other platforms
#1159
Nikita Tsukanov
@kekekeks
Sep 25 2017 19:19
I think it doesn't really matter, since IScreenImpl is cached from Window's constructor
But we still need that change for the sake of consistency
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 19:38
Hmm
Quick git question
I've started work on the platform specific api
However I accidentally committed the screen fix to the same branch as well
Is there an easy way I can get rid of that commit?
Nikita Tsukanov
@kekekeks
Sep 25 2017 19:41
git reset to the previous revision
MonkAlex
@MonkAlex
Sep 25 2017 19:42
git reflog to see last commits
Jurjen Biewenga
@JurjenBiewenga
Sep 25 2017 19:49
Sweet
Thanks
Soft reset + force push fixed it
That almost instant appveyor build