Skip to content
  1. Jan 22, 2020
  2. Jan 07, 2020
  3. Mar 01, 2019
  4. Feb 25, 2019
  5. Dec 15, 2018
  6. Mar 14, 2018
  7. Mar 12, 2018
  8. Feb 26, 2018
  9. Feb 24, 2018
  10. Jan 22, 2018
  11. Dec 20, 2017
  12. Dec 17, 2017
  13. Nov 11, 2017
  14. Nov 02, 2017
  15. Oct 18, 2017
  16. Oct 15, 2017
  17. Oct 07, 2017
  18. Oct 05, 2017
  19. Oct 02, 2017
  20. Oct 01, 2017
  21. Sep 30, 2017
  22. Sep 28, 2017
  23. Sep 12, 2017
  24. Mar 26, 2017
  25. Mar 21, 2017
    • Muflone's avatar
      Bug 749204 - Put the expression monitor in a scroller · 20e10140
      Muflone authored and Hubert Figuière's avatar Hubert Figuière committed
              * nmv-dbg-perspective.cc (DBGPerspective::Priv): Add
              expressions_monitor_scrolled_win and
              get_expressions_monitor_scrolled_win ()
              (DBGPerspective::init_body) Create the scrolled window
              (DBGPerspective::add_views_to_layout) Add the scrolled window to the layout
              (DBGPerspective::get_expressions_monitor_scrolled_win) new function
      20e10140
  26. Mar 20, 2017
  27. Dec 10, 2016
  28. Nov 22, 2016
    • Hubert Figuière's avatar
      Bug 774122 - Part 3: Fix cpp parser test registration · 563d4a3d
      Hubert Figuière authored
               * tests/test-cpp-parser.cc: Use auto registration for the tests
      563d4a3d
    • Hubert Figuière's avatar
      Bug 774122 - Part 2: Fix crash in runtestprettyprint · 8556b542
      Hubert Figuière authored
      The v_var dtor was calling the LogStream on the already destroyed singleton.
      
              * test-pretty-print.cc: create a TestObject to carry test data and move v_var
              to it to ensure its lifetime is shorter than LogStream.
              (on_variable_unfolded_with_n_children) (on_variable_v_created_empty)
              (on_variable_v_has_n_children) (on_stopped_signal): pass a TestObject.
              (test_main): create the TestObject.
      8556b542
    • Hubert Figuière's avatar
      Bug 774122 - Part 1: Make tests more robust · fe7b2e12
      Hubert Figuière authored
      Remove some failures unrelated and some hangs due to actual failure.
      
              * tests/test-utils.h: New file. Macros to setup Glib timeout.
              * tests/Makefile.am: Added test-utils.h where applicable.
              * tests/test-breakpoint.cc (test_main): Setup a test timer.
                (on_engine_died_signal): ensure to quit the loop in case of exception
                to avoid a hang.
              * tests/test_deref.cc (test_main): Setup a test timer.
              * tests/test_gdbmi.cc (test_str1) (test_str3): Wrap MESSAGE()
                into try block because Glib::locale_from_utf8() might throw.
              * tests/test-pretty-print.cc (test_main): Setup a test timer.
              * tests/test-var-walker.cc (test_main): Setup a test timer.
              * tests/test-variable-format.cc (on_var_evaluated): ensure to quit
                the loop in case of exception to avoid a hang.
                (test_main): Setup a test timer.
              * tests/test-local-vars-list.cc (test_main): Setup a test timer.
      fe7b2e12
    • Dodji Seketeli's avatar
      Refer to the 'tests" sub-directory explicitly · 476f0104
      Dodji Seketeli authored
      
      
      In the test-libtool-wrapper-detection.cc, we assume that the tests are
      run from within the "tests" sub-directory of the build directory.
      That is, the current directory should be $builddir/tests when the
      tests are run.
      
      This is wrong because invoking that test from anywhere should work by
      doing:
      
          make -C <builddir> check TESTS=runtestlibtoolwrapperdetection
      
      So to this this, I am changing the code of the tests to provide an
      absolute path to the "tests" directory.
      
      	* tests/test-libtool-wrapper-detection.cc (test0)
      	(test_filename_with_dashes): Refer to the "tests" sub-directory
      	(of either the source directory or the build directory)
      	explicitly.
      
      Signed-off-by: default avatarDodji Seketeli <dodji@seketeli.org>
      476f0104
  29. Nov 08, 2016
    • Hubert Figuière's avatar
      Remove boost/variant.hpp include where no needed · 2e431dda
      Hubert Figuière authored
              * src/confmgr/nmv-i-conf-mgr.h, src/dbgengine/nmv-gdb-engine.cc: Removed
              unused include boost/variant.hpp
      2e431dda
    • Hubert Figuière's avatar
      Fix test registration · 753121ea
      Hubert Figuière authored
              * tests/test-gdbmi.cc, tests/test-cpptrait.cc, test-unicode.cc,
              tests/test-cpp-lexer.cc, tests/test-libtool-wrapper-detection.cc:
              Auto register the tests.
      753121ea
    • Hubert Figuière's avatar
      Fix boost unit test detection · 53ca8d1a
      Hubert Figuière authored
              * configure.ac: Use BOOST_REQUIRE from boost.m4
              * m4/boost.m4: new m4 macro BOOST_REQUIRE and al.
              * m4/ax_boost_base.m4:
      	m4/ax_boost_test_exec_monitor.m4:
      	m4/ax_boost_unit_test_framework.m4: Deleted.
              * tests/Makefile.am: (AM_CPPFLAGS) added -DBOOST_TEST_MAIN
      53ca8d1a
    • Hubert Figuière's avatar
      Fix some Gtk deprecations in several UI files and source. · 6f2eb0a5
      Hubert Figuière authored
      This closes bug 72265, bug 697279, bug 741644.
      
              * src/persp/dbgperspective/ui/callfunctiondialog.ui:
              src/persp/dbgperspective/ui/chooseoverloadsdialog.ui:
              src/persp/dbgperspective/ui/exprinspectordialog.ui:
              src/persp/dbgperspective/ui/findtextdialog.ui:
              src/persp/dbgperspective/ui/globalvarsinspector.ui:
              src/persp/dbgperspective/ui/loadcoredialog.ui:
              src/persp/dbgperspective/ui/openfiledialog.ui:
              src/persp/dbgperspective/ui/preferencesdialog.ui:
              src/persp/dbgperspective/ui/proclistdialog.ui:
              src/persp/dbgperspective/ui/remotetargetdialog.ui:
              src/persp/dbgperspective/ui/runprogramdialog.ui:
              src/persp/dbgperspective/ui/savedsessionsdialog.ui:
              src/persp/dbgperspective/ui/setbreakpointdialog.ui:
              src/persp/dbgperspective/ui/setjumptodialog.ui:
              src/persp/dbgperspective/ui/watchpointdialog.ui:
              ui/locatefiledialog.ui:
              ui/workbench.ui:
              Replace Gtk[VH]Box by GtkBox, replace xalign properties
              Replace some GtkTable by horizontal GtkBox.
              * src/persp/dbgperspective/nmv-dbg-perspective-dynamic-layout.cc
              (DBGPerspectiveDynamicLayout::do_lay_out): change Gtk::HBox to Gtk::Box
              * src/persp/dbgperspective/nmv-dbg-perspective.cc
              (struct DBGPerspective::Priv) (DBGPerspective::init_toolbar)
              (DBGPerspective::append_source_editor) (DBGPerspective::get_terminal_box):
              change Gtk::HBox to Gtk::Box
              * src/persp/dbgperspective/nmv-file-list.cc (struct FileList::Priv) (Priv::Priv):
              change Gtk::VBox to Gtk::Box
              * src/persp/dbgperspective/nmv-memory-view.cc (struct MemoryView::Priv) (Priv::Priv):
              change Gtk::VBox and Gtk::HBox to Gtk::Box
              * src/persp/dbgperspective/nmv-open-file-dialog.cc
              (struct OpenFileDialog::Priv) (Priv::Priv): change Gtk::VBox to Gtk::Box
              * src/persp/dbgperspective/nmv-preferences-dialog.cc
              (struct PreferencesDialog::Priv) (Priv::Priv): change Gtk::HBox to Gtk::Box
              * src/uicommon/nmv-source-editor.h (class SourceEditor): now derive Gtk::Box.
              * src/uicommon/nmv-source-editor.cc (struct SourceEditor::Priv) (Priv::Priv)
              (SourceEditor::init): change Gtk::HBox to Gtk::Box
              * src/workbench/nmv-workbench.cc (Workbench::add_perspective_toolbars):
              change Gtk::VBox to Gtk::Box
      6f2eb0a5
  30. Nov 06, 2016