Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

lyle (at lylejohnson)'s latest activity

Wednesday, November 11 2009
29 FXMessageBox class methods are not threadsafe was updated in FXRuby
  • lyle (at lylejohnson)
    lyle (at lylejohnson) commented at 10:37 PM

    OP replied:

    This is just an example. The actual code has since been rewritten to use app.addTimeout with :repeat = true in place of the thread, and in fact I'm ...

  • lyle (at lylejohnson)
    lyle (at lylejohnson) commented at 10:37 PM

    Lyle asked the OP:

    Tim, what is it that you're trying to accomplish in this code (or in the actual code, if this is just an example)? Since all of the GUI stuff...

  • lyle (at lylejohnson)
    lyle (at lylejohnson) created the ticket at 10:36 PM

    In the following code, any of FXMessageBox.error, FXMessageBox.information, FXMessageBox.question, and FXMessageBox.warning will cause a seg-fault (WinXP, Ruby ...

28 Unusable device context for FXTableItem.drawContent was created in FXRuby
  • lyle (at lylejohnson)
    lyle (at lylejohnson) created the ticket at 10:35 PM

    Originally submitted by Tim Hunter:

    One of FXTableItem.drawContent's parameters is a device context dc. This parameter seems to be unusable - calls to dc.drawTe...

27 Segmentation faults for nil parents/owners was updated in FXRuby
  • lyle (at lylejohnson)
    • Milestone set to 1.8.0
    by lyle (at lylejohnson) at 10:33 PM

    Added checks for passing nil to FXMainWindow.new() and FXDialogBox.new() in FXRuby 1.6.15. Tim noted the problem still exists for many other classes (e.g. FXBut...

  • lyle (at lylejohnson)
    lyle (at lylejohnson) created the ticket at 10:31 PM

    FXRuby seg-faults when nil is passed as the first parameter to various constructors: e.g. FXMainWindow.new(nil, ''), FXDialogBox.new(nil, ''). These cases shoul...

26 addInput(socket, INPUT_READ) on WinXP was updated in FXRuby
  • lyle (at lylejohnson)
    lyle (at lylejohnson) commented at 10:30 PM

    User Jim Hall added:

    I'm getting the same behavior on windows even when testing using a dummy IO object directly:

    dumsocket=IO.new(0,"r")
    @application.addInput...
  • lyle (at lylejohnson)
    lyle (at lylejohnson) commented at 10:29 PM

    Lyle replied: I have the feeling this doesn't work for sockets (as you suspected). The way in which Ruby abstracts files and sockets as general-purpose I/O obje...

  • lyle (at lylejohnson)
    lyle (at lylejohnson) created the ticket at 10:29 PM

    On Windows, when creating a TCPServer socket and calling addInput, i.e.

    @srvSock = TCPServer.new("127.0.0.1", 7777)
    addInput(srvSock, INPUT_READ, method(:gotCn...
25 Bug for setting application's default cursor was updated in FXRuby
  • lyle (at lylejohnson)
    lyle (at lylejohnson) commented at 10:24 PM

    A workaround would be to set the DEF_MOVE_CURSOR back to nil in your program's exit handler. The problem is that FOX is trying to double-delete the same cursor ...