https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • u

    user

    02/03/2020, 3:23 PM
    just pulled from master now and I started getting these errors
  • u

    user

    02/03/2020, 3:23 PM
    Copy code
    /home/jsnadeau/foundsdk/haxeui-core/haxe/ui/parsers/ui/XMLParser.hx:57: characters 17-33 : Uncaught exception field access on null
    /home/jsnadeau/foundsdk/haxeui-core/haxe/ui/parsers/ui/XMLParser.hx:20: characters 9-57 : Called from here
    /home/jsnadeau/foundsdk/haxeui-core/haxe/ui/macros/ComponentMacros.hx:106: characters 31-133 : Called from here
    /home/jsnadeau/foundsdk/haxeui-core/haxe/ui/macros/ComponentMacros.hx:78: characters 9-88 : Called from here
    /home/jsnadeau/Documents/projects/editor/Sources/ManagerView.hx:21: lines 21-22 : Called from here
    /home/jsnadeau/Documents/projects/editor/Sources/ManagerView.hx:16: lines 16-118 : Defined in this class
  • u

    user

    02/03/2020, 3:24 PM
    in the parser:
    Copy code
    if (component.type == "itemrenderer") {
          component.parent.properties.set("native", "false");
     }
  • u

    user

    02/03/2020, 3:25 PM
    So if parent is null we "crash" but in my markup I only have the itemrenderer
  • u

    user

    02/03/2020, 3:25 PM
    so we "crash"
  • b

    bright-gpu-74537

    02/03/2020, 3:26 PM
    hmmm, ill check it out
  • b

    bright-gpu-74537

    02/03/2020, 3:27 PM
    oh, i see
  • u

    user

    02/03/2020, 3:27 PM
    I hadnt pulled since november and https://github.com/haxeui/haxeui-core/commit/8bfeb861c3ae4e064f81bc31821b8b7486d2a119#diff-050ec0548834b39e7550ce8feed9b36c
  • b

    bright-gpu-74537

    02/03/2020, 3:27 PM
    .parent is null... doh
  • b

    bright-gpu-74537

    02/03/2020, 3:27 PM
    yeah, i see
  • u

    user

    02/03/2020, 3:27 PM
    we should just do if component.parent != null prob
  • b

    bright-gpu-74537

    02/03/2020, 3:28 PM
    ill fix that real quick, was a dumb move on my part i guess...
  • b

    bright-gpu-74537

    02/03/2020, 3:28 PM
    yeah, exactly
  • b

    bright-gpu-74537

    02/03/2020, 3:30 PM
    OK, fixed... will create a release later
  • u

    user

    02/03/2020, 3:31 PM
    good; I can check instantly since I use the git version
  • u

    user

    02/03/2020, 3:31 PM
    works(but was expected :P)
  • b

    bright-gpu-74537

    02/03/2020, 3:31 PM
    👍
  • u

    user

    02/03/2020, 3:31 PM
    thanks
  • b

    bright-gpu-74537

    02/03/2020, 3:31 PM
    np
  • b

    bright-gpu-74537

    02/03/2020, 8:29 PM
    native context menus and shortcut texts (which is what someone was asking about in the first place, not the composite backend... whoops!)
  • t

    thousands-house-41767

    02/03/2020, 9:35 PM
    It's winforms?
  • t

    thousands-house-41767

    02/03/2020, 9:36 PM
    BTW, is there a way to show a month selector in the calendar component?
  • b

    bright-gpu-74537

    02/03/2020, 9:36 PM
    hxwidgets... there is a winforms backend too, but hxwidgets works on osx and linux also
  • t

    thousands-house-41767

    02/03/2020, 9:37 PM
    It makes sense, with limited human resources one needs to make compromises 🙂
  • b

    bright-gpu-74537

    02/03/2020, 9:37 PM
    yeah, there is a haxeui-qt also, but its not at the level of haxeui-hxwidgets yet
  • b

    bright-gpu-74537

    02/03/2020, 9:37 PM
    what calendar are you using?
  • t

    thousands-house-41767

    02/03/2020, 9:37 PM
    Mhm... Calendar ? 😄
  • t

    thousands-house-41767

    02/03/2020, 9:37 PM
    the default one
  • t

    thousands-house-41767

    02/03/2020, 9:38 PM
    (on HTML5)
  • b

    bright-gpu-74537

    02/03/2020, 9:39 PM
    http://haxeui.org/builder/?ldfdsw
1...175176177...1687Latest