1. 18 May, 2013 4 commits
    • Guillaume Seguin's avatar
      Explicitely delete wx.App at the end of pronterface.py · faeb14f1
      Guillaume Seguin authored
      Okai, this may not make that much sense. However when removing the mainloop,
      pronterface was segfaulting when Python was freeing everything. As a
      workaround, explictely destroy the wx application, which will cleanly free
      things in order, while Python might destroy wx things in a random order.
      faeb14f1
    • Guillaume Seguin's avatar
      Merge branch 'experimental' into HEAD · e29dd70e
      Guillaume Seguin authored
      Conflicts:
      	printrun/gviz.py
      e29dd70e
    • Guillaume Seguin's avatar
      Fix #363 by correctly doing the wxFrame/wxPanel parenting · 68c13162
      Guillaume Seguin authored
      As far as I understand, a wxFrame needs a wxPanel child, but we shouldn't
      reparent this wxPanel to some other container. As a consequence, I created an
      initial wxPanel for the gwindow wxFrame and assigned it the previous sizer
      (instead of using the gviz panel as the wxFrame's panel).
      Not sure why it wasn't segfaulting on my other systems, though.
      68c13162
    • Guillaume Seguin's avatar
      Cleanup some code · 16b5f6db
      Guillaume Seguin authored
      Not sure about that dropping of the self.gwindow.Destroy try block, we'll see
      16b5f6db
  2. 17 May, 2013 7 commits
  3. 16 May, 2013 27 commits
  4. 15 May, 2013 2 commits
    • Guillaume Seguin's avatar
      Use GCoder parsed gcode in gviz · a46f7359
      Guillaume Seguin authored
      a46f7359
    • Guillaume Seguin's avatar
      Cleanup duration estimation · ea604380
      Guillaume Seguin authored
      Estimation duration now uses the already parsed GCode instead of reparsing it.
      It also computes a per layer duration estimation which can probably be used to
      produce better ETAs.
      
      The only difference is that it does not compute duration for Z layers changes,                                                                                                                        but it was probably super wrong already given how it is done (it only changes
      the estimation by than 2s over 2 hours of print and 54 layers, and the feedrate
      stuff mixes all the axes together).
      
      I also detected a few potential issues in the code, which are marked by FIXMEs.
      ea604380