Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 24 00:20

    cwensley on develop

    Gtk: Fix crash when setting Tre… Merge pull request #2383 from c… (compare)

  • Jan 24 00:20
    cwensley closed #2383
  • Jan 24 00:19

    cwensley on develop

    Add Control.UpdateLayout() API Merge pull request #2382 from c… (compare)

  • Jan 24 00:19
    cwensley closed #2382
  • Jan 24 00:19
    cwensley commented #2277
  • Jan 24 00:13
    cwensley closed #2360
  • Jan 24 00:13
    cwensley commented #2360
  • Jan 24 00:08
    cwensley milestoned #2383
  • Jan 24 00:08
    cwensley labeled #2383
  • Jan 24 00:08
    cwensley milestoned #2383
  • Jan 24 00:08
    cwensley opened #2383
  • Jan 24 00:06
    cwensley milestoned #2382
  • Jan 24 00:06
    cwensley labeled #2382
  • Jan 24 00:06
    cwensley milestoned #2382
  • Jan 24 00:06
    cwensley opened #2382
  • Jan 23 23:39
    metalmachine76 commented #2360
  • Jan 23 23:00
    cwensley commented #2360
  • Jan 23 22:22
    harry-cpp commented #2360
  • Jan 23 17:37
    metalmachine76 commented #2360
  • Jan 22 16:04
    cwensley milestoned #2381
Curtis Wensley
@cwensley
Cool. There was a few issues of the PR I hadn't pointed out just yet, but the major thing being the direct reference in Eto.Wpf.csproj here: https://github.com/picoe/Eto/pull/2307/files#diff-cc25fb82c32d645f8d2d6e9b355f4e64a215354cd1598459c69856d48345d02cR50
philstopford
@philstopford
Yes, I wasn't sure how that came to be or what to do to fix it.
I just threw the PR together to get things started :D
Curtis Wensley
@cwensley
No worries, I appreciate the effort! I wasn't sure if it was going to be a big deal switching over or not, so it's good to know it is pretty minimal in terms of changes there.
philstopford
@philstopford
Tweaked the commit; seems to still work without that line in there.
Curtis Wensley
@cwensley
👍
Another issue is themes and themes1 are duplicates in ButtonSpinner.xaml, which can be consolidated.
I'll have to test it with a project that uses Xceed.Wpf.toolkit themes and see if I can get it to work with the new assembly. If I can I hope to be able to merge that in. If not we'll have to get this able to compile with one or the other (which is trivial).
philstopford
@philstopford
The WPF theming stuff drives me nuts. I'll pass on that. I tried and failed to get the dark theme WPF to where I wanted to be, and found the experience mentally felt like being keelhauled.
Curtis Wensley
@cwensley
yeah no worries, that's something I'll have to test out on my end regardless.
WPF/UWP/MAUI/Avalonia xaml-based theming is really shitty imo.
philstopford
@philstopford
I really want a dark theme WPF Eto, but I'm just not capable to get that done, it seems. :D
Curtis Wensley
@cwensley
Yeah, sorry I was going to look into that a while ago but some other devs beat me to it without needing anything done in Eto directly to support it. I still hope to get that in though.
philstopford
@philstopford
which devs were those? I remember stabbing at it with an Eto fork, but not all controls were done and I couldn't find a way (for eaxmple) to make the up/down buttons in spinners take the new colors.
I think some of these issues stemmed from Xceed holding back capability for their paid-for product.
Curtis Wensley
@cwensley
My co-workers at McNeel/Rhino https://www.rhino3d.com
The next major version will be using Eto UI for almost everything.
philstopford
@philstopford
Ah, yes. Are they the ones with a node UI in Eto? I've also been hoping something like that might surface at some point. I gave thought to trying to port over a WinForms/WPF one, but it was more complex than I could wrangle.
Curtis Wensley
@cwensley
Not just node UI, but a full 3d software suite for architecture, manufacturing, and design.
Most "curved" buildings, shoes, boats, jewellery, etc is designed using this software.
philstopford
@philstopford
Yes, I'm aware of Rhino :) I was just hoping that some of the Eto related UI might trickle down in the end :)
Curtis Wensley
@cwensley
Most of what I've done with Eto in the past few years is directly related to Rhino.
There's unfortunately a big barrier to get devs to think about submitting their contributions to open source. Not that I haven't tried.
philstopford
@philstopford
So Eto.Veldrid works fine with the adjusted Eto.Wpf, in case that helps
philstopford
@philstopford
The EtoViewport tests don't run in stock code or with the change in place. Not sure what's going on there, but since OpenTK decided to make life difficult, I don't know whether anyone cares.
Miepee
@miepee:matrix.org
[m]
Heya, I'm getting some problem sometimes (and seemingly randomly) with xeto.
Out of the blue, I suddenly can't compile a xeto project due to <projectName>.__.*.xeto not being on disk
CSC : error CS1566: Failure while trying to read resource "<projectname>.__.*.xeto": "Could not find a part of the path '/path/to/project/**/*.xeto'."
This has been happening with just a simple dotnet build, but also while using jetbrains rider. Also should mention that I'm on Linux.
Miepee
@miepee:matrix.org
[m]
deleting the bin/obj folders sometimes seems to fix it for whatever reason
Curtis Wensley
@cwensley
Hm, that is weird.. Perhaps due to a new .NET SDK?
Miepee
@miepee:matrix.org
[m]
am still using .net 6
6.0.9.sdk109-1 from the Arch repos to be exact.
Curtis Wensley
@cwensley
which version of .net 6? There have been many updates, the latest sdk being 6.0.401
Miepee
@miepee:matrix.org
[m]
if the latest one is 6.0.401 and i'm using 6.0.9 then that's weird
Curtis Wensley
@cwensley
6.0.9 is the runtime. 6.0.9 comes with 6.0.401, 6.0.304, and 6.0.109 SDK's.
Miepee
@miepee:matrix.org
[m]
ah
Curtis Wensley
@cwensley
dotnet --list-sdks
Miepee
@miepee:matrix.org
[m]
6.0.109
Curtis Wensley
@cwensley
Hm, I'd try updating to 6.0.401 and see if you still get the same issues. I haven't been using the 6.0.1xx SDKs for a long while.
Miepee
@miepee:matrix.org
[m]
for reference, the package was last updated 8 days ago (14th september)
from 6.0.8.sdk108 to 6.0.9sdk109
remygrandin
@remygrandin

Hi There,

I'm trying to create a parser with Eto.Parse (1.6.0) to parse string like "abcd -eq 12" or "abcd -eq 12 -and efgh -eq 34" and so on

https://gist.github.com/remygrandin/a6229e39f7a3674130eab358160e6737

However I can't get the repeat part to work
"abcd -eq 12" parse correctly
but "abcd -eq 12 -and efgh -eq 34" fail with error 'ChildIndex=11, Line=1, Context="bcd -eq 12>>> -and efgh"'
I probably didn't declare something properly in the grammar but I don't see what.

Any pointers ?

Curtis Wensley
@cwensley
@roblthegreat it's because you are not attempting the repeat first in this line: clause | new RepeatParser(clause, 2).SeparatedBy(logicComparator);, so since the first matches (clause), it won't try the alternate (the RepeatParser). You could simply just use the RepeatParser directly and give it minimum 1 and max whatever you want.
remygrandin
@remygrandin

Yeah, I tried this at first, but I got this when trying to parse without repetition ("abcd -eq 12") :

Index=11, Line=1, Context="bcd -eq 12>>>"
Expected:
logicComparator: (Literal: ' -and ' | Literal: ' -or ')

and this on a "abcd -eq 12 -and efgh -eq 34"

Index=28, Line=1, Context="fgh -eq 34>>>"
Expected:
logicComparator: (Literal: ' -and ' | Literal: ' -or ')

The matches are filed tho, but it still report with 1 error in the GrammarMatch object

Curtis Wensley
@cwensley
@remygrandin are you checking the Match.Success of the result? If it is true, it was successful. The "ErrorMessage" will still tell you what is expected next, regardless of success or failure.
remygrandin
@remygrandin
OHHHH ohhh ooooooh.... :facepalm: I didn't see the success property, I went all in "there is an error count, so it must have failed somehow"..... Thanks a lot :-) Now I "only" have to implement parenthesis (reccursion, ugh) and the not operator.. .
PS : great lib, love the smoothness of the fluent API :-)
Curtis Wensley
@cwensley
@remygrandin: awesome! Glad you like it. It is a fun little project. Recursion should hopefully be easy enough, it was the main reasons I built the lib.
Kevin López Brante
@kddlb
I'm updating a View Model on an UITimer but it only updates once
Curtis Wensley
@cwensley
@kddlb 🤷‍♂️ got some code to look at?
Kevin López Brante
@kddlb
I lost it :| I'll try to recreate it
Miepee
@miepee:matrix.org
[m]
Does Eto support rich text for control tooltips? (I.e. make text in the middle of a message bold/italic/underlined etc.)
Or would i have to create a custom control for that?