These are chat archives for AvaloniaUI/Avalonia

31st
Mar 2016
Steven Kirk
@grokys
Mar 31 2016 12:15
wpf delay-loads resources, which means that a resource dictionary gets populated with unexpanded XAML until a resource is requested, at which point it's deserialized
which could be good in some situations i guess, but in general i'd expect it to use lots more memory than it saves
Darnell Williams
@Seeker1437
Mar 31 2016 12:16
Wow
Hoe would you do it
Steven Kirk
@grokys
Mar 31 2016 12:16
so my guess it that it's not done for saving memory, it's done to work around the problem that dan is seeing
well in Perspex there are already delayed bindings which get around this problem for controls - the delayed binding only takes affect once Intitialized is raised
so we'd need an Initialized event for styles, which only gets raised when the style is connected to a root
at which point, you can be sure that everything is available
(WPF also uses delayed bindings for the same reason, but it doesn't apply these to styles)
i started implementing it last night, but it's actually quite complex so it'll need some time
Darnell Williams
@Seeker1437
Mar 31 2016 12:22
Ah I never really thought about it that way before, I mean what is happening in the background
Nikita Tsukanov
@kekekeks
Mar 31 2016 13:16
@grokys are you switching to anotherr xaml parser>
Steven Kirk
@grokys
Mar 31 2016 13:16
i'm looking into Portable.Xaml
last time i looked, it didn't support everything we need
but it may do now, so going to give it a try
i don't know if it will be a switch, but i wanted to check it out at least, especially as it seems that @SuperJMN is too busy at work to do much on OmniXAML
Jason Jarvis
@jazzay
Mar 31 2016 16:12
Xamarin is now free and fully open source across all platforms! :)
Steven Kirk
@grokys
Mar 31 2016 16:16
yeah, just updated ;) i was hoping for that!
Darnell Williams
@Seeker1437
Mar 31 2016 17:08
Like 100% free?
Wiesław Šoltés
@wieslawsoltes
Mar 31 2016 17:09
yep
and Open Source :smile:
Darnell Williams
@Seeker1437
Mar 31 2016 17:13
Yooooo
Im restricted still
I have VS Enterprise
Wiesław Šoltés
@wieslawsoltes
Mar 31 2016 17:17
yeah I had same issue, not sure how you update to free version ;)
Darnell Williams
@Seeker1437
Mar 31 2016 17:24
It was weird because I finally decided I would give Xamarin another go. I basicallly was tried of it after having done thee first Perspex.Android implementation. I spent 4 whoe days in it without ANY sleep. I wanted to use it for one of my OS Projects and have the OSS license XD
ill have to review alll the stuff that changed
Microsoft basically bought Mono though right?
Mono == Xamarin in some respect?
Wiesław Šoltés
@wieslawsoltes
Mar 31 2016 17:29
"So we are announcing today that we have contributed the Mono Project to the .NET Foundation, including some previously-proprietary mobile-specific improvements to the Mono runtime. Mono will also be re-released under the MIT License, to enable an even broader set of uses for everyone. In addition, to help clarify users’ rights to Mono under Microsoft patents, Microsoft has issued a broad patent promise for Mono. Miguel has posted more details to the Mono Project blog."
ok https://www.xamarin.com/faq#qp1 just need to logout :smile:
José Manuel Nieto
@SuperJMN
Mar 31 2016 17:41

i don't know if it will be a switch, but i wanted to check it out at least, especially as it seems that @SuperJMN is too busy at work to do much on OmniXAML

Hey! I'm about to get back to work in OmniXAML

Darnell Williams
@Seeker1437
Mar 31 2016 17:42
My issue is mine was Dreamspark, aand therefor is withouta subscription, however the FAQ indicateds if your subscription expired, logining out will basically take you back to the level of service you had previously. Normally this means I have to go to Community, however I had Business Edition access so what does this mean for me exactlly?
I applied for and get OSS with Business Edition access basically XD