Fix copyright

This commit is contained in:
Jean-Marie Verdun
2019-08-30 18:18:54 +02:00
committed by wmayer
parent 85198f08a7
commit c4b0073022
8 changed files with 9 additions and 11 deletions

View File

@@ -1268,7 +1268,7 @@ bool Document::isTransactionEmpty() const
return true;
}
void Document::emptyDocument()
void Document::clearDocument()
{
this->d->activeObject = 0;

View File

@@ -180,7 +180,7 @@ public:
//@}
void emptyDocument();
void clearDocument();
/** @name File handling of the document */
//@{

View File

@@ -329,7 +329,6 @@ void Cloud::CloudReader::DownloadFile(Cloud::CloudReader::FileEntry *entry)
// CHANGEME
sprintf(StringToSign,"GET\n\napplication/octet-stream\n%s\n/%s/%s", date_formatted, this->Bucket, entry->FileName);
printf("Reading %s\n",entry->FileName);
// We have to use HMAC encoding and SHA1
digest=HMAC(EVP_sha1(),this->SecretKey,strlen(this->SecretKey),
(const unsigned char *)&StringToSign,strlen(StringToSign),NULL,NULL);
@@ -592,7 +591,7 @@ bool Cloud::Module::cloudSave(const char *BucketName)
mywriter.setMode("BinaryBrep");
mywriter.Stream() << "<?xml version='1.0' encoding='utf-8'?>" << endl
<< "<!--" << endl
<< " FreeCAD Document, see http://www.freecadweb.org for more information..." << endl
<< " FreeCAD Document, see https://www.freecadweb.org for more information..." << endl
<< "-->" << endl;
doc->Save(mywriter);
@@ -618,7 +617,6 @@ void readFiles(Cloud::CloudReader reader, Base::XMLReader *xmlreader)
std::vector<Base::XMLReader::FileEntry>::const_iterator it = xmlreader->FileList.begin();
while ( it != xmlreader->FileList.end()) {
printf("Reading in ReadFiles %s\n",it->FileName.c_str());
if ( reader.isTouched(it->FileName.c_str()) == 0 )
{
Base::Reader localreader(reader.GetEntry(it->FileName.c_str())->FileStream,it->FileName, xmlreader->FileVersion);
@@ -642,7 +640,7 @@ bool Cloud::Module::cloudRestore (const char *BucketName)
doc->clearUndos();
doc->emptyDocument();
doc->clearDocument();
std::stringstream oss;

View File

@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (c) 2019 jmverdun3@gmail.com *
* Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com *
* *
* This file is part of the FreeCAD CAx development system. *
* *

View File

@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (c) 2019 jmverdun3@gmail.com *
* Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com *
* *
* This file is part of the FreeCAD CAx development system. *
* *

View File

@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (c) 2019 jmverdun3@gmail.com *
* Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com *
* *
* This file is part of the FreeCAD CAx development system. *
* *

View File

@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (c) 2019 jmverdun3@gmail.com *
* Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com *
* *
* This file is part of the FreeCAD CAx development system. *
* *

View File

@@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (c) 2019 jmverdun3@gmail.com *
* Copyright (c) 2019 Jean-Marie Verdun jmverdun3@gmail.com *
* *
* This file is part of the FreeCAD CAx development system. *
* *