These are chat archives for AvaloniaUI/Avalonia

23rd
Aug 2015
Steven Kirk
@grokys
Aug 23 2015 14:02
anything we could steal from it?
Steven Kirk
@grokys
Aug 23 2015 15:03
@ncarrillo - i've noticed there is now a GtkSharp package on NuGet
I would like to start using that instead of requiring that you install gtksharp before we go to alpha
do you agree?
i've tried installing it but it seems there are a few things missing
Gdk.Drawable, OnExposeEvent and GetDeskrelativeOrigin seem to be missing, i think they may have been deprecated
Steven Kirk
@grokys
Aug 23 2015 15:08
I think GetRootOrigin replaces the latter
Steven Kirk
@grokys
Aug 23 2015 15:31
also, i've changed the way that the subsystems etc are loaded, currently it's based on the Environment.OSVersion.Platform so on windows it will always use Win32/Direct2D1
we'll need to update the TestApplication-Mono to pass PlatformID.Unix to get it to use Gtk/Cairo
my thoughts are that if we can get the GtkSharp nuget packages working we can move to one solution, and pass a cmd-line arg to select Gtk/Cairo or Win32/Direct2D1
José Manuel Nieto
@SuperJMN
Aug 23 2015 19:43
sorry, I can't help with that :(
José Manuel Nieto
@SuperJMN
Aug 23 2015 21:11
Hey, I'm compiling the last version of Perspex and I'm getting some build errors
maybe it's my fault. I've just cleaned up the solution and rebuilt, but no worky
Steven Kirk
@grokys
Aug 23 2015 21:52
hmm strange - builds ok from a clean checkout here. what errors are you getting?
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:01
let me check! I was having dinner :)
just arrived back to Madrid (I was in my home town)
Steven Kirk
@grokys
Aug 23 2015 22:02
sure, no hurry!
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:06
uhh, it's really strange
it says TopLevel.cs doesn't exist
but it does exist in your repo^branch
ugh, mystery! I had it deleted as a pending change!
Steven Kirk
@grokys
Aug 23 2015 22:07
ah ok
mystery solved ;)
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:08
I don't know how was that. I'm just undoing the changes. I don't remember having deleted anything :S
haha, yes! sorry. It had 99% of possibities of being my fault
Steven Kirk
@grokys
Aug 23 2015 22:08
i've been thinking about the xaml stuff and i'm wondering if it might be easier for now to put the xaml stuff in the repository with perspex
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:08
as usual... haha
Steven Kirk
@grokys
Aug 23 2015 22:09
we can split it back out later if we decide to
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:09
I can do it if you wish
Steven Kirk
@grokys
Aug 23 2015 22:09
but while it's under development it might be a bit easier if it were all in the same repos
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:09
OK!
Steven Kirk
@grokys
Aug 23 2015 22:09
i don't know - what do you think?
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:09
well, it's 2 projects
Perspex.Xaml and Perspex.Xaml.Desktop
(the desktop part is for Win32)
Steven Kirk
@grokys
Aug 23 2015 22:10
ok
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:10
I think it's a good option for now
Steven Kirk
@grokys
Aug 23 2015 22:10
ok cool
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:11
I will be extra careful not to entangle the XAML part with Perspex
Steven Kirk
@grokys
Aug 23 2015 22:11
cool :)
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:11
in order to be pluggable
pluggable things are beautiful, just like women
sorry! I had to say it!
Steven Kirk
@grokys
Aug 23 2015 22:12
haha
that's ideal - but if to get things working we have to tangle things up temporarily that's ok with me
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:12
No women in the room. Integrity check -- OK!
Steven Kirk
@grokys
Aug 23 2015 22:12
there's plenty of knots in there
haha
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:12
hahaa
Nice then! I will work in the branch right now
do you want me to include the BingSearchApp and XamlTestApplication projects?
Steven Kirk
@grokys
Aug 23 2015 22:14
yeah we might as well for now
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:14
OK
if you want to fine-tune them later, it's up to you
Steven Kirk
@grokys
Aug 23 2015 22:14
yeah - things will change i'm sure as we go on
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:14
I'm a bit upset because the Bing search service doesn't retrieve results by now
Steven Kirk
@grokys
Aug 23 2015 22:15
oh really? how come?
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:15
I don't know why. The app is useless at the moment
Steven Kirk
@grokys
Aug 23 2015 22:15
maybe don't include it if it's not working
for the moment
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:15
I don't know.
OK
maybe it's a problem on their side. I'll have to check if previous versions work
Steven Kirk
@grokys
Aug 23 2015 22:16
i don't know if you have any thoughts on grokys/Perspex#54
i'm not sure if option 2 is doable as i'm not sure everything implements ICollection
we need an interface that denotes "a collection that is not lazily-evaluated"
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:18
Oh, I saw the issue a long time ago! sorry that I haven't written any comment
yes, it's a nasty design decision to take
how to force a collection not to be lazily-enumerable ?
I haven't faced a situation like this before
I will have to ask some colleages to see if they know a good solution
by the way, I'm working in the PR right now: since I have another test application (that uses XAML), should I create a solution folder to add the 2 test applications or just add it into the root of the solution?
Also, since XAML is a non integral part (I assume it's not) of Perspex, I can add Perspex.Xaml and Perspex.Xaml.Desktop to a solution folder name "XAML"
as you wish!
Steven Kirk
@grokys
Aug 23 2015 22:25
yeah, both those suggestions sound good
btw, you've found a job now?
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:30
I've been offered some interesting roles
I played my best cards to postpone the decision
Steven Kirk
@grokys
Aug 23 2015 22:30
;)
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:31
I plan to get into the groove in september
Steven Kirk
@grokys
Aug 23 2015 22:31
still a bit more time for omnixaml then ;)
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:31
I deliverately skipped summer because I wanted to stabilize OmniXAML
yes, it's true!
I told them I wanted to finish my side project first
Steven Kirk
@grokys
Aug 23 2015 22:32
i sometimes dream about how much i could get done on perspex if i didn't have to pay my rent ;)
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:32
and after that, I could hear what they want
why doesn't Microsoft fund this project right now!?!?
Steven Kirk
@grokys
Aug 23 2015 22:33
haha maybe i should ask ;)
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:33
such talent wasted!
Steven Kirk
@grokys
Aug 23 2015 22:33
ah i dunno, my job is really interesting
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:33
yes, definitely, this is great!
my previous job was so boring I had nightmares
it's great you have an interesting job!
Steven Kirk
@grokys
Aug 23 2015 22:34
yeah, definitely
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:35
hey, I'm testing my shit
If everything goes OK, tomorrow you will have a Pull Request from me
Steven Kirk
@grokys
Aug 23 2015 22:35
ok great!
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:35
with the XAML thingy shining bright like Rihanna
Steven Kirk
@grokys
Aug 23 2015 22:36
;) once that is in place and the mono stuff working i think we can call it an alpha
José Manuel Nieto
@SuperJMN
Aug 23 2015 22:37
oh yeah! And Miguel de Icaza will be jelous!
the GUI gods of the Olympus will be blessed
Steven Kirk
@grokys
Aug 23 2015 22:52
:bow:
José Manuel Nieto
@SuperJMN
Aug 23 2015 23:39
whoops, I have just found a bug in OmniXAML while doing the changes
I love this game :)
Steven Kirk
@grokys
Aug 23 2015 23:39
that's the way it goes ;)
José Manuel Nieto
@SuperJMN
Aug 23 2015 23:51
OK, I think I have it!
It's because I missed a little patch I did to your original code
ItemsControl.Items is IEnumerable
so it's not detected as a Collection
OmniXAML expects it to be a collection of something
(ICollection)
I will recover my changes and add them to the PR
I was about to go crazy!
(I completely forgot I did that change to your code)