1. 18 12月, 2007 3 次提交
  2. 17 12月, 2007 2 次提交
  3. 16 12月, 2007 1 次提交
  4. 14 12月, 2007 2 次提交
  5. 13 12月, 2007 1 次提交
  6. 12 12月, 2007 4 次提交
    • J
      Always build in python/ subdir. · 0d0b0113
      Jim Meyering 提交于
      * configure.in (PYTHON_SUBDIR): Don't set.  Remove all uses.
      * Makefile.am (SUBDIRS): Hard-code "python" here.
      (tests): Test equivalent "$(pythondir)", not @PYTHON_SUBDIR@.
      0d0b0113
    • J
      Accommodate automake-1.9. · 9e188e11
      Jim Meyering 提交于
      * tests/Makefile.am (TESTS_ENVIRONMENT): Adjust PATH setting
      to work also with automake-1.9.  Can't use $(abs_top_builddir).
      
      
      Author: Jim Meyering <meyering@redhat.com>
      9e188e11
    • J
      Use a variable name as sizeof argument, not a type name. · 49230350
      Jim Meyering 提交于
      Given code like: T *var = calloc (n, sizeof (T));
      Convert to this: T *var = calloc (n, sizeof (*var));
      This first-cut change adjusts all malloc, calloc, and
      realloc statements.
      
      The only binary differences are in remote_internal.c
      (due to the bug fix) and in xmlrpc.c (due to factorization).
      
      * python/libvir.c: As above.
      * qemud/event.c: Likewise.
      * qemud/mdns.c: Likewise.
      * qemud/qemud.c: Likewise.
      * qemud/remote.c: Likewise.
      * src/bridge.c: Likewise.
      * src/buf.c: Likewise.
      * src/conf.c: Likewise.
      * src/hash.c: Likewise.
      * src/iptables.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/qemu_conf.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/test.c: Likewise.
      * src/xen_internal.c: Likewise.
      * src/xen_unified.c: Likewise.
      * src/xm_internal.c: Likewise.
      * src/xml.c: Likewise.
      * tests/qemuxml2argvtest.c: Likewise.
      * src/xmlrpc.c (xmlRpcValuePtr): Likewise, and minor factorization.
      * src/remote_internal.c (remoteAuthMakeCredentials): Use the right
      type when allocating space for an array of cred _pointers_.
      49230350
    • J
      Test libvirtd's config-processing code. · 5a190594
      Jim Meyering 提交于
      And remove a minor diagnostic inconsistency.
      * tests/daemon-conf: New test.
      * tests/Makefile.am (TESTS_ENVIRONMENT): Prepend qemud/ to PATH,
      so we can invoke libvirtd without an absolute name.
      (test_scripts): Add daemon-conf.
      * qemud/qemud.c (remoteConfigGetAuth): Use checkType,
      rather than open-coding it with a different diagnostic.
      5a190594
  7. 11 12月, 2007 1 次提交
    • J
      Add gnulib-tool unit tests. · ac6bb7e1
      Jim Meyering 提交于
      * bootstrap: Re-add --with-tests, now that gnulib-tool
      arranges to use separate libraries for lib/ and tests/.
      * configure.in (AC_OUTPUT): Add gnulib/tests/Makefile.in.
      * Makefile.am (SUBDIRS): Add gnulib/tests.
      * gnulib/tests/Makefile.am: New file.
      * gnulib/lib/.cvsignore: Sort.
      * gnulib/lib/Makefile.am, gnulib/m4/getdelim.m4, gnulib/m4/getline.m4:
      * gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4: Regenerate.
      * gnulib/tests/test-alloca-opt.c: New file, from gnulib.
      * gnulib/tests/test-arpa_inet.c: Likewise.
      * gnulib/tests/test-fseeko.c: Likewise.
      * gnulib/tests/test-fseeko.sh: Likewise.
      * gnulib/tests/test-getaddrinfo.c: Likewise.
      * gnulib/tests/test-getdelim.c: Likewise.
      * gnulib/tests/test-getline.c: Likewise.
      * gnulib/tests/test-lseek.c: Likewise.
      * gnulib/tests/test-lseek.sh: Likewise.
      * gnulib/tests/test-netinet_in.c: Likewise.
      * gnulib/tests/test-snprintf.c: Likewise.
      * gnulib/tests/test-stdbool.c: Likewise.
      * gnulib/tests/test-stdint.c: Likewise.
      * gnulib/tests/test-stdio.c: Likewise.
      * gnulib/tests/test-stdlib.c: Likewise.
      * gnulib/tests/test-string.c: Likewise.
      * gnulib/tests/test-sys_select.c: Likewise.
      * gnulib/tests/test-sys_socket.c: Likewise.
      * gnulib/tests/test-sys_stat.c: Likewise.
      * gnulib/tests/test-sys_time.c: Likewise.
      * gnulib/tests/test-unistd.c: Likewise.
      * gnulib/tests/test-vasnprintf.c: Likewise.
      * gnulib/tests/test-vasprintf.c: Likewise.
      * gnulib/tests/test-wchar.c: Likewise.
      * gnulib/tests/dummy.c: Likewise.
      * gnulib/tests/intprops.h: Likewise.
      * gnulib/tests/verify.h: Likewise.
      ac6bb7e1
  8. 09 12月, 2007 1 次提交
  9. 07 12月, 2007 14 次提交
  10. 06 12月, 2007 11 次提交
    • D
      Fix polkit macros for RHEL · bb020a9f
      Daniel P. Berrange 提交于
      bb020a9f
    • D
      * docs/*: rebuilt the docs and XML files · d5fc8b30
      Daniel Veillard 提交于
      Daniel
      d5fc8b30
    • D
      * po/*: updated the localization files · 5390cfcc
      Daniel Veillard 提交于
      Daniel
      5390cfcc
    • R
      Thu Dec 6 12:00:00 UTC 2007 Richard W.M. Jones <rjones@redhat.com> · ec38eb93
      Richard W.M. Jones 提交于
              * src/remote_internal.c: Clean up a warning if neither SASL
                nor PolKit are enabled.
      ec38eb93
    • J
      Build also on systems where -lreadline requires e.g., -lncurses · 2ec759fc
      Jim Meyering 提交于
      * configure.in: If the test for -lreadline fails, search for a
      library with termcap support.  If one is found (often -lncurses),
      rerun the test for -lreadline, linking also with the new library.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      2ec759fc
    • D
      * configure.in src/Makefile.am src/virsh.c: fix compilation problems · 7633453c
      Daniel Veillard 提交于
        when readline headers were found but not the library
      Daniel
      7633453c
    • J
      Accommodate developers using autoconf-2.59. · d51e7c9f
      Jim Meyering 提交于
      * configure.in (m4_foreach_w): Define if not defined.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      d51e7c9f
    • J
      Include "config.h". · 87396257
      Jim Meyering 提交于
      * qemud/event.c: Likewise.
      * src/buf.c: Likewise.
      * src/hash.c: Likewise.
      * src/nodeinfo.c: Likewise.
      * src/openvz_conf.c: Likewise.
      * src/proxy_internal.c: Likewise.
      * src/virterror.c: Likewise.
      * src/xmlrpc.c: Likewise.
      * src/xs_internal.c: Likewise.
      * tests/conftest.c: Likewise.
      * tests/xmlrpctest.c: Likewise.
      This fixes a mingw build failure reported by Rich Jones.
      
      Author: Jim Meyering <meyering@redhat.com>
      87396257
    • J
      Add all of the files pulled in by running ./bootstrap. · 4c6bef2a
      Jim Meyering 提交于
      Adjust .cvsignore files.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      4c6bef2a
    • J
      Use gnulib, starting with its physmem and getaddrinfo modules. · 261e7581
      Jim Meyering 提交于
      New files go into these directories:
        gnulib/lib
        gnulib/m4
        gnulib/tests
      
      * bootstrap: A wrapper around gnulib-tool.
      * configure.in: Invoke gl_EARLY and gl_INIT, being careful to put gl_EARLY
      before any macro that uses AC_COMPILE_IFELSE.
      (AC_OUTPUT): Add lib/Makefile and gl-tests/Makefile.  Remove m4/Makefile.
      * Makefile.am (SUBDIRS): Add gnulib/lib and remove m4.  Add gnulib/tests
      early enough that those tests run before any libvirt unit tests.
      * m4/Makefile.am: Remove file.  Not needed.
      * src/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS, libvirt_la_LIBADD): Add ../gnulib/lib/libgnu.la.
      * src/nodeinfo.c: Include "physmem.h".
      * qemud/qemud.c, src/remote_internal.c: Include "getaddrinfo.h".
      (MEMINFO_PATH, linuxNodeInfoMemPopulate): Remove definitions.
      (virNodeInfoPopulate): Use physmem_total, not linuxNodeInfoMemPopulate.
      * tests/Makefile.am (INCLUDES): Add -I$(top_srcdir)/gnulib/lib -I../gnulib/lib.
      (LDADDS): Add ../gnulib/lib/libgnu.la.
      * qemud/Makefile.am (libvirtd_LDADD): Add ../gnulib/lib/libgnu.la.
      * tests/nodeinfotest.c (linuxTestCompareFiles): No longer read total
      memory from a file.
      Update expected output not to include "Memory: NNNN"
      * tests/nodeinfodata/linux-nodeinfo-1.txt:
      * tests/nodeinfodata/linux-nodeinfo-2.txt:
      * tests/nodeinfodata/linux-nodeinfo-3.txt:
      * tests/nodeinfodata/linux-nodeinfo-4.txt:
      * tests/nodeinfodata/linux-nodeinfo-5.txt:
      * tests/nodeinfodata/linux-nodeinfo-6.txt:
      * src/test.c [WITH_TEST]: Remove definition of _GNU_SOURCE that
      would conflict with the one now in "config.h".
      * autogen.sh: Add -I gnulib/m4.
      * src/conf.c, src/sexpr.c: Don't define _GNU_SOURCE.
      Instead, include "config.h".
      * qemud/qemud.c: Remove definition of _GNU_SOURCE.
      * src/openvz_driver.c: Likewise.
      * src/qemu_driver.c: Likewise.
      * src/remote_internal.c: Likewise.
      
      * configure.in: Use AC_CONFIG_AUX_DIR(build-aux), so that a bunch
      of gettextize-generated files go into build-aux/, rather than in
      the top-level directory.
      * .cvsignore: Adjust.
      * build-aux/.cvsignore: New file.
      
      
      Author: Jim Meyering <meyering@redhat.com>
      261e7581
    • D
      * qemud/remote.c: rename remoteDispatchAuthPolkitInit to · 1d1cf57b
      Daniel Veillard 提交于
        remoteDispatchAuthPolkit, the no-op init call when policykit
        is not available
      Daniel
      1d1cf57b