1. 12 Jan, 2015 2 commits
  2. 11 Jan, 2015 6 commits
  3. 10 Jan, 2015 2 commits
  4. 09 Jan, 2015 11 commits
  5. 08 Jan, 2015 7 commits
  6. 07 Jan, 2015 4 commits
    • Thomas Haller's avatar
      tests: check for no pending expected_messages on exit of tests · bb90127c
      Thomas Haller authored
      On the end of the test there should be no unchecked expected
      messages. Register a destructor function in nmtst to assert
      against that.
      
      Also call nmtst_free() in the destructor. That way, we always release
      the allocated data without requiring the test to do it explicitly.
      bb90127c
    • Jiří Klimeš's avatar
      tui: fix crash when editing DSL connection · cf0a87c5
      Jiří Klimeš authored
       Program received signal SIGSEGV, Segmentation fault.
       0x000000000041b3e5 in nmt_page_dsl_constructed (object=0x7fffec0228c0 [NmtPageDsl]) at nmt-page-dsl.c:109
       109		priv->ethernet_page = nmt_page_ethernet_new (conn, nmt_editor_page_device_get_device_entry (NMT_EDITOR_PAGE_DEVICE (dsl)));
       Missing separate debuginfos, use: debuginfo-install libffi-3.0.10-3.fc18.x86_64 newt-0.52.15-1.fc19.x86_64
       (gdb) bt
       #0  0x000000000041b3e5 in nmt_page_dsl_constructed (object=0x7fffec0228c0 [NmtPageDsl]) at nmt-page-dsl.c:109
       #1  0x0000003e9ac161e3 in g_object_newv (object_type=1, object_type@entry=16203872, n_parameters=n_parameters@entry=2, parameters=parameters@entry=0xf74350)
          at gobject.c:1741
       #2  0x0000003e9ac16560 in g_object_new_valist (object_type=object_type@entry=16203872, first_property_name=first_property_name@entry=0x42e524 "connection",
          var_args=var_args@entry=0x7fffffffcef8) at gobject.c:1830
       #3  0x0000003e9ac16894 in g_object_new (object_type=16203872, first_property_name=first_property_name@entry=0x42e524 "connection") at gobject.c:1545
       #4  0x000000000041b504 in nmt_page_dsl_new (conn=<optimized out>, deventry=deventry@entry=0x974690 [NmtDeviceEntry]) at nmt-page-dsl.c:47
       #5  0x000000000041808e in nmt_editor_constructed (object=<optimized out>) at nmt-editor.c:355
       #6  0x0000003e9ac161e3 in g_object_newv (object_type=1, object_type@entry=16174256, n_parameters=n_parameters@entry=4, parameters=parameters@entry=0xf6cec0)
           at gobject.c:1741
       ...
       (gdb) p priv
       $1 = (NmtPageDslPrivate *) 0x0
      cf0a87c5
    • Thomas Haller's avatar
      ifcfg: refactor utils_get_ifcfg_name() · 2ef8f6ed
      Thomas Haller authored
      No need to allocate a temporary "base" variable. Just
      search for the last '/' ourselves.
      All the special handling that g_path_get_basename() does,
      for example handling empty filenames and removing trailing
      slashes, is not needed.
      
      Thereby fix not to return empty names such as from "ifcfg-".
      2ef8f6ed
    • Jiří Klimeš's avatar
      675d545b
  7. 06 Jan, 2015 3 commits
  8. 05 Jan, 2015 5 commits