~jackweirdy/vidalia/680192

« back to all changes in this revision

Viewing changes to src/tools/wixtool/wixtool.cpp

  • Committer: Package Import Robot
  • Author(s): Ulises Vitulli, intrigeri, Ulises Vitulli
  • Date: 2012-06-22 07:18:44 UTC
  • mfrom: (1.4.8) (8.2.13 sid)
  • Revision ID: package-import@ubuntu.com-20120622071844-s278v0p646pqt949
Tags: 0.2.19-1
[ intrigeri ]
* Imported Upstream version 0.2.19
* Install AppArmor profile.
* Enable hardening flags.

[ Ulises Vitulli ]
* Added runtime dependency on apparmor.
* Updated d/NEWS and d/README.Debian to reflect new features.
* Move dirs from d/rules to d/vidalia.dir.
* Updated Standard-version to 3.9.3 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
  return true;
130
130
}
131
131
 
132
 
void 
 
132
void
133
133
splicefunc(void *cbdata,
134
134
 QDomElement e)
135
135
{
227
227
  return walkdoc(doc, &splicefunc, &cbdata, errorMessage);
228
228
}
229
229
 
230
 
void 
 
230
void
231
231
replacefunc(void *cbdata,
232
232
 QDomElement e)
233
233
{
317
317
  return walkdoc(doc, &replacefunc, &cbdata, errorMessage);
318
318
}
319
319
 
320
 
void 
 
320
void
321
321
addfunc(void *cbdata,
322
322
 QDomElement e)
323
323
{
391
391
createRegLocalComponent(QDomElement e,
392
392
 QString dirName,
393
393
 QString keyPath)
394
 
 
394
{
395
395
  QDomElement nrk = e.ownerDocument().createElement(WIX_TAG_REGKEY);
396
396
  QDomElement nrv = e.ownerDocument().createElement(WIX_TAG_REGVAL);
397
397
  nrk.setAttribute(WIX_ATTR_REG_ROOT, "HKCU");
684
684
        }
685
685
      }
686
686
      else if (!command.compare("add", Qt::CaseInsensitive)) {
687
 
        if (!docadd(&doc, commandargs[i], &errorMessage)) { 
 
687
        if (!docadd(&doc, commandargs[i], &errorMessage)) {
688
688
          error << QString("Unable to process add command '%1': %2\n")
689
689
                          .arg(commandargs[i]).arg(errorMessage);
690
690
          return 4;