Lines 1-4
Link Here
|
1 |
--- src/dot.cpp.orig 2014-12-25 12:44:06 UTC |
1 |
--- src/dot.cpp.orig 2015-01-03 22:38:57 UTC |
2 |
+++ src/dot.cpp |
2 |
+++ src/dot.cpp |
3 |
@@ -39,6 +39,7 @@ |
3 |
@@ -39,6 +39,7 @@ |
4 |
#include "dirdef.h" |
4 |
#include "dirdef.h" |
Lines 8-14
Link Here
|
8 |
#include "md5.h" |
8 |
#include "md5.h" |
9 |
#include "memberlist.h" |
9 |
#include "memberlist.h" |
10 |
#include "groupdef.h" |
10 |
#include "groupdef.h" |
11 |
@@ -2297,10 +2298,8 @@ void DotGfxHierarchyTable::createGraph(D |
11 |
@@ -2296,10 +2297,8 @@ void DotGfxHierarchyTable::createGraph(D |
12 |
} |
12 |
} |
13 |
writeGraphFooter(md5stream); |
13 |
writeGraphFooter(md5stream); |
14 |
resetReNumbering(); |
14 |
resetReNumbering(); |
Lines 15-26
Link Here
|
15 |
- uchar md5_sig[16]; |
15 |
- uchar md5_sig[16]; |
16 |
QCString sigStr(33); |
16 |
QCString sigStr(33); |
17 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
17 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
18 |
- MD5SigToString(md5_sig,sigStr.data(),33); |
18 |
- MD5SigToString(md5_sig,sigStr.rawData(),33); |
19 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.data()); |
19 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.rawData()); |
20 |
bool regenerate=FALSE; |
20 |
bool regenerate=FALSE; |
21 |
if (checkAndUpdateMd5Signature(absBaseName,sigStr) || |
21 |
if (checkAndUpdateMd5Signature(absBaseName,sigStr) || |
22 |
!checkDeliverables(absImgName,absMapName)) |
22 |
!checkDeliverables(absImgName,absMapName)) |
23 |
@@ -3025,10 +3024,8 @@ QCString computeMd5Signature(DotNode *ro |
23 |
@@ -3024,10 +3023,8 @@ QCString computeMd5Signature(DotNode *ro |
24 |
} |
24 |
} |
25 |
} |
25 |
} |
26 |
writeGraphFooter(md5stream); |
26 |
writeGraphFooter(md5stream); |
Lines 27-38
Link Here
|
27 |
- uchar md5_sig[16]; |
27 |
- uchar md5_sig[16]; |
28 |
QCString sigStr(33); |
28 |
QCString sigStr(33); |
29 |
- MD5Buffer((const unsigned char *)buf.data(),buf.length(),md5_sig); |
29 |
- MD5Buffer((const unsigned char *)buf.data(),buf.length(),md5_sig); |
30 |
- MD5SigToString(md5_sig,sigStr.data(),33); |
30 |
- MD5SigToString(md5_sig,sigStr.rawData(),33); |
31 |
+ MD5Data((const unsigned char *)buf.data(),buf.length(),sigStr.data()); |
31 |
+ MD5Data((const unsigned char *)buf.data(),buf.length(),sigStr.rawData()); |
32 |
if (reNumber) |
32 |
if (reNumber) |
33 |
{ |
33 |
{ |
34 |
resetReNumbering(); |
34 |
resetReNumbering(); |
35 |
@@ -3959,10 +3956,8 @@ QCString DotDirDeps::writeGraph(FTextStr |
35 |
@@ -3954,10 +3951,8 @@ QCString DotDirDeps::writeGraph(FTextStr |
36 |
QGString theGraph; |
36 |
QGString theGraph; |
37 |
FTextStream md5stream(&theGraph); |
37 |
FTextStream md5stream(&theGraph); |
38 |
m_dir->writeDepGraph(md5stream); |
38 |
m_dir->writeDepGraph(md5stream); |
Lines 39-50
Link Here
|
39 |
- uchar md5_sig[16]; |
39 |
- uchar md5_sig[16]; |
40 |
QCString sigStr(33); |
40 |
QCString sigStr(33); |
41 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
41 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
42 |
- MD5SigToString(md5_sig,sigStr.data(),33); |
42 |
- MD5SigToString(md5_sig,sigStr.rawData(),33); |
43 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.data()); |
43 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.rawData()); |
44 |
bool regenerate=FALSE; |
44 |
bool regenerate=FALSE; |
45 |
if (checkAndUpdateMd5Signature(absBaseName,sigStr) || |
45 |
if (checkAndUpdateMd5Signature(absBaseName,sigStr) || |
46 |
!checkDeliverables(graphFormat==GOF_BITMAP ? absImgName : |
46 |
!checkDeliverables(graphFormat==GOF_BITMAP ? absImgName : |
47 |
@@ -4105,10 +4100,8 @@ void generateGraphLegend(const char *pat |
47 |
@@ -4099,10 +4094,8 @@ void generateGraphLegend(const char *pat |
48 |
md5stream << " Node18 -> Node9 [dir=\"back\",color=\"darkorchid3\",fontsize=\"" << FONTSIZE << "\",style=\"dashed\",label=\"m_usedClass\",fontname=\"" << FONTNAME << "\"];\n"; |
48 |
md5stream << " Node18 -> Node9 [dir=\"back\",color=\"darkorchid3\",fontsize=\"" << FONTSIZE << "\",style=\"dashed\",label=\"m_usedClass\",fontname=\"" << FONTNAME << "\"];\n"; |
49 |
md5stream << " Node18 [shape=\"box\",label=\"Used\",fontsize=\"" << FONTSIZE << "\",height=0.2,width=0.4,fontname=\"" << FONTNAME << "\",color=\"black\",URL=\"$classUsed" << Doxygen::htmlFileExtension << "\"];\n"; |
49 |
md5stream << " Node18 [shape=\"box\",label=\"Used\",fontsize=\"" << FONTSIZE << "\",height=0.2,width=0.4,fontname=\"" << FONTNAME << "\",color=\"black\",URL=\"$classUsed" << Doxygen::htmlFileExtension << "\"];\n"; |
50 |
writeGraphFooter(md5stream); |
50 |
writeGraphFooter(md5stream); |
Lines 51-62
Link Here
|
51 |
- uchar md5_sig[16]; |
51 |
- uchar md5_sig[16]; |
52 |
QCString sigStr(33); |
52 |
QCString sigStr(33); |
53 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
53 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
54 |
- MD5SigToString(md5_sig,sigStr.data(),33); |
54 |
- MD5SigToString(md5_sig,sigStr.rawData(),33); |
55 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.data()); |
55 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.rawData()); |
56 |
QCString absBaseName = (QCString)path+"/graph_legend"; |
56 |
QCString absBaseName = (QCString)path+"/graph_legend"; |
57 |
QCString absDotName = absBaseName+".dot"; |
57 |
QCString absDotName = absBaseName+".dot"; |
58 |
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT"); |
58 |
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT"); |
59 |
@@ -4505,10 +4498,8 @@ QCString DotGroupCollaboration::writeGra |
59 |
@@ -4499,10 +4492,8 @@ QCString DotGroupCollaboration::writeGra |
60 |
|
60 |
|
61 |
writeGraphFooter(md5stream); |
61 |
writeGraphFooter(md5stream); |
62 |
resetReNumbering(); |
62 |
resetReNumbering(); |
Lines 63-70
Link Here
|
63 |
- uchar md5_sig[16]; |
63 |
- uchar md5_sig[16]; |
64 |
QCString sigStr(33); |
64 |
QCString sigStr(33); |
65 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
65 |
- MD5Buffer((const unsigned char *)theGraph.data(),theGraph.length(),md5_sig); |
66 |
- MD5SigToString(md5_sig,sigStr.data(),33); |
66 |
- MD5SigToString(md5_sig,sigStr.rawData(),33); |
67 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.data()); |
67 |
+ MD5Data((const unsigned char *)theGraph.data(),theGraph.length(),sigStr.rawData()); |
68 |
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT"); |
68 |
QCString imgExt = Config_getEnum("DOT_IMAGE_FORMAT"); |
69 |
QCString baseName = m_diskName; |
69 |
QCString baseName = m_diskName; |
70 |
QCString imgName = baseName+"."+imgExt; |
70 |
QCString imgName = baseName+"."+imgExt; |