Skip to content
  • Michael Gratton's avatar
    Include a back trace in problem report technical details. · bcca75f5
    Michael Gratton authored
    This adds a dependcy on libunwind for generating the back trace.
    
    * src/CMakeLists.txt: Require libunwind-generic package and libunwind
      VAPI. Update docs and debian/control with new dependencies.
    
    * src/engine/api/geary-problem-report.vala (ProblemReport): Generate a
      stack trace in the default constructor if an error is specified.
    
    * src/client/components/main-window-info-bar.vala
      (MainWindowInfoBar::format_details): Include stack trafe from problem
      report in output if present.
    
    * ui/main-window-info-bar.ui: Add a ScrolledWindow around the TextView
      since the details could now be quite large.
    
    * bindings/vapi/libunwind.vapi: Add bindings for libunwind courtesy
      Guillaume Poirier-Morency, add Error enum.
    bcca75f5