1. 30 1月, 2009 1 次提交
    • J
      maint: sync from coreutils · 73da543e
      Jim Meyering 提交于
      * .x-sc_prohibit_have_config_h: Renamed from...
      * .x-sc_no_have_config_h: ... this.
      * .x-sc_prohibit_HAVE_MBRTOWC: New file.
      73da543e
  2. 29 1月, 2009 2 次提交
  3. 23 1月, 2009 4 次提交
    • J
      correct and tighten up .*ignore files · 48dc345f
      Jim Meyering 提交于
      * .cvsignore: Don't ignore *.orig or *.rej.  They're not build products.
      Don't ignore the entire m4 directory.
      * Makefile.maint (sync-vcs-ignore-files): Correct quoting.
      Use sed rather than a for loop.
      Search only version-controled files (for reproducibility)
      * gnulib/lib/netinet/.cvsignore: Append missing newline-at-EOF,
      so that the use of sed doesn't mistakenly concatenate lines.
      * gnulib/lib/sys/.cvsignore: Likewise.
      * m4/.cvsignore: Ignore acinclude.m4 and aclocal.m4, not *.m4.
      * .hgignore: Regenerate.
      * all .gitignore files: Regenerate.
      48dc345f
    • J
      maint: update list of error function names and adapt · 6278bb19
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Update list.
      Remove some now-unused names, add some new ones.
      * src/hash.c (virHashError): Remove unused definition.
      * src/openvz_conf.h (openvzLog): Likewise.
      * src/xen_unified.c: Mark newly-exposed diagnostics for translation.
      6278bb19
    • D
      use the gnulib random_r function · c4985e94
      Daniel P. Berrange 提交于
      c4985e94
    • J
      generate .hgignore · a7acdde4
      John Levon 提交于
      a7acdde4
  4. 21 1月, 2009 1 次提交
  5. 06 1月, 2009 1 次提交
  6. 05 1月, 2009 2 次提交
  7. 23 12月, 2008 1 次提交
  8. 18 12月, 2008 2 次提交
    • J
      Makefile.maint: use $(srcdir), not $(top_srcdir) · 6d4eb198
      Jim Meyering 提交于
      6d4eb198
    • J
      enforce the "include <config.h> first" rule · 4cea12bb
      Jim Meyering 提交于
      * qemud/Makefile.am: Ensure that the generated remote_protocol.c
      includes <config.h> first.
      * Makefile.maint (sc_require_config_h_first): New rule, so that
      "make syntax-check" enforces this.
      * .x-sc_require_config_h_first: New file.
      * Makefile.am (.x-sc_require_config_h_first): Add it.
      * qemud/remote_protocol.x: Don't include <config.h> here.
      * qemud/remote_protocol.c: Regenerate.
      4cea12bb
  9. 17 12月, 2008 1 次提交
  10. 15 12月, 2008 1 次提交
  11. 12 12月, 2008 2 次提交
  12. 11 12月, 2008 1 次提交
  13. 05 12月, 2008 1 次提交
  14. 08 11月, 2008 1 次提交
    • J
      mark a few diagnostics for translation · 0e7a5652
      Jim Meyering 提交于
      * src/lxc_conf.c (lxcLoadDriverConfig): Mark a diagnostic.
      * src/lxc_driver.c (lxcDomainStart): Likewise.
      * po/POTFILES.in: Add src/lxc_conf.c.
      * Makefile.maint (msg_gen_function): Add virReportErrorHelper
      and lxcError.
      0e7a5652
  15. 17 10月, 2008 3 次提交
    • J
      Makefile.maint (sync-vcs-ignore-files): avoid risk of abuse · 444efaa4
      Jim Meyering 提交于
      * Makefile.maint (sync-vcs-ignore-files): Rewrite rule so that
      it won't misbehave even with maliciously-named sub-directories.
      444efaa4
    • J
      generate .gitignore files from .cvsignore ones · 164fbbd6
      Jim Meyering 提交于
      * Makefile.maint (sync-vcs-ignore-files): New target.
      Prompted by a patch from James Morris.
      http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
      Add all (now-generated) .gitignore files.
      * .gitignore: New file.
      * build-aux/.gitignore: New file.
      * docs/.gitignore: New file.
      * docs/devhelp/.gitignore: New file.
      * docs/examples/.gitignore: New file.
      * docs/examples/python/.gitignore: New file.
      * gnulib/lib/.gitignore: New file.
      * gnulib/lib/arpa/.gitignore: New file.
      * gnulib/lib/netinet/.gitignore: New file.
      * gnulib/lib/sys/.gitignore: New file.
      * gnulib/tests/.gitignore: New file.
      * include/.gitignore: New file.
      * include/libvirt/.gitignore: New file.
      * po/.gitignore: New file.
      * proxy/.gitignore: New file.
      * python/.gitignore: New file.
      * python/tests/.gitignore: New file.
      * qemud/.gitignore: New file.
      * src/.gitignore: New file.
      * tests/.gitignore: New file.
      * tests/confdata/.gitignore: New file.
      * tests/sexpr2xmldata/.gitignore: New file.
      * tests/virshdata/.gitignore: New file.
      * tests/xencapsdata/.gitignore: New file.
      * tests/xmconfigdata/.gitignore: New file.
      * tests/xml2sexprdata/.gitignore: New file.
      164fbbd6
    • J
      build: when po-check fails, say why and suggest a fix · c16d74a1
      Jim Meyering 提交于
      * Makefile.maint (po-check): Before, when this check failed, it just
      spat out a diff mentioning two temporary files.  Now, it tells you
      what's wrong and suggests a fix with a patch using the name of the
      affected file (rather than temporary file names) in the diff output.
      c16d74a1
  16. 18 7月, 2008 1 次提交
  17. 10 7月, 2008 1 次提交
    • D
      cleanup OpenVZ error function · 5215d88b
      Daniel Veillard 提交于
      * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c
        Makefile.maint: patch from Evgeniy Sokolov cleaning up the
        error function used and format check based on Jim's fedback.
      Daniel
      5215d88b
  18. 25 6月, 2008 1 次提交
  19. 15 5月, 2008 1 次提交
  20. 09 5月, 2008 2 次提交
    • J
      Use gnulib's c-ctype.h, not <ctype.h>. · 25534052
      Jim Meyering 提交于
      # Convert uses of isspace to c_isspace, isdigit to c_isdigit, etc.
      re=$(man isspace|grep is.....,.is|sed 's/ -.*//' \
        |tr -s ', \n' \||sed 's/^|//;s/|$//')
      git grep -l -E "$re"|grep -Ev 'Chan|gnulib' \
        |xargs perl -pi -e 's/\b('"$re"')\b/c_$1/g'
      # Remove all uses of to_uchar
      git grep -l to_uchar|xargs perl -pi -e 's/to_uchar\((.*?)\)/$1/g'
      * src/util.h (to_uchar): Remove definition.
      (TOLOWER): Remove definition.
      (__virMacAddrCompare): Use c_tolower, not TOLOWER.
      Globally:
        Where needed, change <ctype.h> to <c-ctype.h>.
        Remove unnecessary inclusion of <ctype.h>.
      Ensure the global changes are never needed again:
      * Makefile.maint (sc_avoid_ctype_macros): Prohibit use of ctype
      macros.   Recommend c-ctype.h instead.
      (sc_prohibit_c_ctype_without_use): New rule.
      (sc_prohibit_ctype_h): New rule.  Disallow use of <ctype.h>.
      25534052
    • J
      sytnax-check: add a check for risky ctype macro use · eb046f9d
      Jim Meyering 提交于
      * Makefile.maint (sc_risky_ctype_macros): New rule.
      eb046f9d
  21. 29 4月, 2008 1 次提交
  22. 21 4月, 2008 1 次提交
  23. 11 4月, 2008 1 次提交
  24. 27 3月, 2008 7 次提交
    • J
      lxcError: mark a string and add to the list of nearly-checked functions · c5adab52
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add, but commented-out.
      * src/lxc_conf.c (lxcParseXML): Mark a diagnostic for translation.
      c5adab52
    • J
      testError: mark most string arguments for translation · 76a70984
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add testError
      * src/test.c (testDomainSave, testDomainRestore): Mark strings.
      (testDomainCoreDump): Likewise.
      76a70984
    • J
      openvzLog: mark its string arguments for translation · 7f863926
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add openvzLog.
      * src/openvz_conf.c (openvzAssignVMDef, openvzParseXML): Mark strings.
      * src/openvz_driver.c (openvzDomainShutdown, openvzDomainReboot):
      (openvzDomainDefineXML, openvzDomainCreateLinux):
      (openvzDomainCreate, openvzDomainUndefine): Likewise.
      7f863926
    • J
      error: mark most string arguments for translation · 5bb81e1d
      Jim Meyering 提交于
      Also mark some arguments to __virRaiseError.
      * Makefile.maint (msg_gen_function): Add error.
      * po/POTFILES.in: Add src/openvz_conf.c and src/openvz_driver.c.
      * src/openvz_conf.c (openvzParseXML, openvzGetVPSInfo): Mark strings.
      * src/openvz_driver.c (openvzDomainLookupByID): Likewise.
      (openvzDomainLookupByUUID, openvzDomainLookupByName): Likewise.
      (openvzDomainGetInfo, openvzDomainShutdown, openvzDomainReboot)
      (openvzDomainCreate, openvzDomainUndefine): Likewise.
      * src/remote_internal.c (check_cert_file): Likewise.
      (negotiate_gnutls_on_connection, verify_certificate): Likewise.
      (remoteAuthenticate, addrToString, remoteAuthSASL): Likewise.
      (remoteAuthPolkit, call, really_read_buf): Likewise.
      5bb81e1d
    • J
      qemudReportError: mark for translation string args to this function · b53c4e51
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add qemudReportError.
      * src/qemu_conf.c (qemudLoadDriverConfig)
      (qemudExtractVersion, qemudParseDiskXML, qemudParseInterfaceXML)
      (qemudParseInputXML, qemudParseXML, qemudNetworkIfaceConnect)
      (qemudBuildCommandLine, qemudSaveConfig, qemudParseVMDeviceDef)
      (qemudAssignVMDef, qemudSaveVMDef, qemudSaveNetworkConfig)
      (qemudParseDhcpRangesXML, qemudParseNetworkXML)
      (qemudAssignNetworkDef, qemudSaveNetworkDef, qemudGenerateXML)
      (qemudGenerateNetworkXML, qemudDeleteConfig): Mark strings.
      * src/qemu_driver.c (qemudBuildDnsmasqArgv, qemudAddIptablesRules)
      (qemudGetCapabilities, qemudDomainGetOSType)
      (qemudListDefinedDomains, qemudListNetworks)
      (qemudListDefinedNetworks, qemudNetworkGetBridgeName): Mark strings.
      b53c4e51
    • J
      ReportError: mark for translation string args to this function · 3163224b
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add ReportError.
      * src/util.c (_virExec): Mark strings.
      3163224b
    • J
      xenXMError: mark for translation string args to this function · 56a3cb80
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add xenXMError.
      * src/xm_internal.c (xenXMParseXMLToConfig, xenXMDomainDefineXML):
      (xenXMDomainAttachDevice, xenXMDomainDetachDevice): Mark strings.
      56a3cb80